| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
error codes are WIP, not final yet...
|
| |
|
|
|
|
|
| |
Much simpler & more efficient than the ugly regex parsing we used
to have.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add MAPPED_URI_* as environment variables when a request is coming
from urimethodmap
It costs us compatibility with w3m, but it seems to be a massive
improvement over smuggling in the URL as a query string and then
writing an ad-hoc parser for every single urimethodmap script.
The variables are set for every urimethodmap request, to avoid
accidental leaking of global environment variables.
* Move about: to adapters (an obvious improvement over the previous
solution)
|
|
|
|
|
| |
* start from 1
* divide by total - 1, since we are counting the rounding error between each line
|
| |
|
| |
|
| |
|
|
|
|
| |
Also case-sensitive, but for now that is the same as normal matching...
|
|
|
|
|
|
|
| |
Probably not fully correct, but it's a good start.
Includes proprietary extension -cha-half-width, which converts
full-width characters to half-width ones.
|
|
|
|
|
|
|
|
|
|
| |
Instead, position them at the end of their block's layout pass.
Without this, they could be positioned too early, as the grandparent's
position being resolved does not guarantee that the parent's position
has already been resolved as well.
(Unlike the comment suggests, flushMargins is not appropriate there.)
|
|
|
|
|
| |
* Actually calculate rounding error
* Skip a loop over lines by accumulating rounding error in finishLine
|
|
|
|
|
| |
No need to leave gemini support in the bonus folder.
Still TODO: proxy support.
|
|
|
|
|
|
| |
This is better than %u as it is backwards compatible (i.e. does not rely on
other user agents doing whatever upon encountering an unknown substitution
template.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now we use a (much simplified) gopher2html binary in libexec,
instead of converting gopher directories to HTML in loader/gopher.
This has two advantages:
* Less ugly conversion logic in the loader module; we can just
convert the file line by line. (The previous converter also had
some correctness issues, that is fixed now as well.)
* If the user desires, they can replace the gopher converter with
another binary using the mailcap mechanism.
The disadvantages are:
* For now, source display is broken. This is a problem with all
mailcap filters in general, and should be fixed in the future. (That
said, the previous version also only displayed the converted HTML
source, which was not really useful anyway.)
* The proper directory structure is required for this to work;
OTOH plenty of work has been done so that this is as frictionless as
possible, so it should not really be a problem.
|
|
|
|
|
|
| |
* Add a default urimethodmap that points finger: to cha-finger
* Install cha-finger to /usr/local/libexec/cha/cgi-bin by default
* cha-finger: use ALL_PROXY if given, die if curl is not installed
|
|
|
|
|
|
|
|
|
| |
* Paths are now parsed through an unified code path with some useful
additions like environment variable substitution.
* Fix a bug in parseConfigValue where strings would be appended to
existing arrays (and not override them).
* Fix beforeLast calling afterLast for some reason.
* Add a default CGI directory.
|
|
|
|
|
| |
It was a bad idea to enable by default, as it is mostly pointless
and is a potential security hole.
|
|
|
|
|
|
|
| |
It's not perfect still, but with newer Nim versions the browser
compiles in about 20 secs on my machine (a signficiant improvement
over what used to be like 50 secs or something). No need to keep this
entry in todo anymore.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
property"
This reverts commit 82aa85ef0458e1b97917ffe2626e5631bb444c58.
A-ha, it was just a linking error. We have to fix the Makefile instead.
|
|
|
|
|
|
|
|
| |
property"
This reverts commit 1b38f7b7a7709c3fe21f1adcf1d5de6b2e0e48f7.
Breaks tostring setter for some reason; we'll have to investigate...
|
|
|
|
| |
now fully rebased on the latest release
|
|
|
|
| |
TypeArray.prototype.findLast{index} (initial patch by bnoordhuis)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit 9ff482dd8d5b1b252e77712e9418b5b253f4bbf8.
Importing fix from upstream instead.
|
|
|
|
|
| |
Default is vi-style, but w3m-style marks work as well; see
bonus/w3m.toml.
|
| |
|
|
|
|
|
|
|
|
| |
{ & } acts like in vi (except the cursor is not moved to the line
beginning).
No reason to leave externInto undocumented, as it is even used in
the default config.
|
|
|
|
| |
It is enough to just take the len of children there.
|
| |
|
|
|
|
|
| |
Styled children must be added to their parents *before* they are
styled, because match expects this to hold.
|
| |
|
|
|
|
|
|
|
| |
* Fix a bug where rules would be sorted incorrectly if retrieved from
the cache.
* Use withValue where possible
* camelCase some variables, de-extern some functions, etc.
|
|
|
|
|
|
| |
* Break up applyRules into smaller functions
* Do not call calcRules for every child pseudo element separately;
just use parent's DeclarationListMap
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit b7367506fa05e9396e69b1db7277e011722af6b0.
Importing upstream patch instead.
|
| |
|
|
|
|
| |
We do only use BigInt, so the flag is no longer necessary.
|
| |
|