| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
wrong indentation, so file:/abcd was getting stuck in file slash
state and returning an empty pathname
|
|
|
|
|
| |
`refresh' does not correlate with the need of moving the cursor X
position, `save' is a better choice.
|
|
|
|
| |
Avoid coloring parts of areas outside the screen.
|
|
|
|
| |
Makes searching on long lines work properly.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
We did were not using it as a unicode value anywhere, it was just
making our life harder.
If we ever need unicode delimiter tokens, we can re-introduce them
as a different token type.
|
| |
|
| |
|
|
|
|
|
| |
It was used by mistake in a hundred percent of the cases we were
using it.
|
| |
|
|
|
|
|
| |
then() is called even if a nil Promise is returned, so an Opt is
needed here.
|
|
|
|
|
| |
We must decrease cursori by `len`, because exactly `len` bytes have
been deleted from before the cursor.
|
|
|
|
|
|
| |
* Implement the "default button" part of the standard.
* If the submitter is the form, formmethod may be called on it. Check if
this is the case in the function, and if yes, return the form's method.
|
|
|
|
| |
yay
|
|
|
|
|
| |
* add handlers for javascript, mailto
* HTTP-like behavior for unknown protocols
|
|
|
|
|
|
|
|
|
|
|
| |
Add w3m-style local CGI support.
It is not quite as powerful as w3m's local CGI, because it lacks an
equivalent to W3m-control. Not sure if it's worth adding; we certainly
shouldn't allow passing JS in headers, but a custom language for
headers does not sound like a great idea either...
eh, idk. also, TODO add multipart
|
| |
|
| |
|
|
|
|
| |
also, use blob() for images
|
|
|
|
|
|
| |
* remove contentType member of Buffer object
* add ishtml to reduce string comparisons
* consistent spelling: contenttype -> contentType
|
| |
|
|
|
|
|
|
|
| |
If a fallback argument has been specified, treat undefined as if no
argument had been given.
This removes the need for the ?? 1 checks in the config.
|
| |
|
|
|
|
| |
pretty useful I think
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* remove unused attributes
* make line a function
|
|
|
|
|
| |
We don't use the generic feature of selectors, so just unify the
client & buffer timeout types.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of the broken attempt at making regexes zero-copy (it copied
anyway), copy once and forget about it.
(There have been way too many problems with the destructor approach,
including the latest one where the GC would happily zero out our
regexes if they were in a sequence.
Maybe we can make this work once we switched to ORC. For now, it's
not worth the trouble.)
|
| |
|
|
|
|
| |
No need for either of that now.
|
|
|
|
| |
The previous solution was ok, but it could leak an fd...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makes e.g. on-page anchor navigation near-instantaneous. Well, as
instantaneous as a fork can be. In any case, it's a lot faster
than loading the entire page anew.
This involves duplicating open resources (file descriptors, etc.),
which is not exactly trivial. For now we have a huge clone() procedure
that does an ok-ish job at it, but there remains a lot of room for
improvement.
e.g. cloning is still broken in some cases:
* As noted in the comments, TeeStream'ing the input stream for any
buffer is a horrible idea, as readout in the cloned buffer now
depends on the original buffer also reading from the stream. (So
e.g. if you clone, then kill the old buffer without waiting for
the new one to load, the new buffer gets stuck.)
* Timeouts/intervals are broken in cloned buffers. The timeout
module probably needs a redesign to fix this.
* If you clone before connect2, the cloned buffer gets stuck.
The previous solution was even worse (i.e. broken in more cases),
so this is still an improvement. For example, this fixes some issues
with mailcap handling (removes the "set the Content-Type of htmloutput
buffers to text/html" hack), does not reload all resources, does not
completely break if the buffer is cloned during loading, etc.
|
|
|
|
|
|
| |
padToWidth should be called for all input types in InputWithSize.
Also, they should be underlined by ua.css.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Bare strings are now allowed when specifying config options
through -o.
* Fix a bug where options specified with -o would be disregarded
unless a newline was included.
* (Also, add a TOML stringifier routine for debugging.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Say we have a table
<TABLE>
<TR>
<TD WIDTH=20>a</TD>
</TR>
<TR>
<TD>aklsdfjaskdfjkl</TD>
</TR>
</TABLE>
This should be 20 pixels wide, not as wide as the second row.
Also, larger specified widths now always override previous widths
specified on the column. (I think this was a regression, but the
previous solution to this problem was an ugly hack.)
|
|
|
|
|
|
|
|
|
| |
px now converts to float64 before converting back to a layout unit
when calculating percentage values.
This should reduce overflow crashes somewhat.
(The real solution would be to not crash on overflow, but that's a
little more difficult problem to solve.)
|
| |
|