| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Without this, media queries without a block would crash the buffer.
|
|
|
|
|
|
|
| |
We trap SIGINT with setControlCHook to avoid buffers being killed by
the process group receiving a SIGINT; trapping it to cleanup has the
opposite effect. SIGTERM should be enough, as that is what we use for
cleaning up buffers.
|
|
|
|
| |
buffer was crashing with an EOFError otherwise
|
|
|
|
| |
much better
|
|
|
|
| |
whoops
|
|
|
|
| |
(still no module support in buffer...)
|
|
|
|
|
|
|
|
| |
One is a false-positive (in dom).
The other one in pager is something I hadn't noticed before, that's
nice. For now I want to avoid making a change that may break things, so
I just removed the dead code.
|
|
|
|
|
|
| |
cint was incorrect :/
Makes me wonder if maybe we should just use futhark after all...
|
| |
|
| |
|
|
|
|
| |
Can happen e.g. if the window is resized or the user manually reshapes.
|
|
|
|
|
|
| |
* use signal handlers to avoid littering tmpdir with dead sockets
* add connection reset error (for socketstream)
* convert some imports to new style
|
| |
|
|
|
|
|
|
| |
It was originally written this way to accomodate for the broken std
file API. We no longer use that in buffer, so we can use a more correct
version now.
|
|
|
|
|
|
| |
Now it actually does what it was supposed to do.
Also, clarify what it does in config.md
|
|
|
|
| |
Turns out desc can in fact be nil.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See e.g. the sr.ht issue tracker, now forever tainted by the tickets
I accidentally submitted :P Chawan will gladly autosubmit without the
user having written anything in the textbox just by writing some text
in the title.
The problem is that graphical web browsers typically have a "submit"
keybinding (enter), and a "next field" keybinding (tab). The implicit
submission mechanism was created with graphical browsers in mind;
like w3m, Chawan only has an "ok" keybinding, which may or may not
also mean "submit".
With this solution, only forms that could not otherwise be submitted
will autosubmit.
|
|
|
|
| |
Use .compile, as that is supported by nlvm too.
|
|
|
|
|
|
| |
* actually search Combining for isCombining
* fix searchInMap
* fix cmpRange of url
|
|
|
|
|
|
| |
We need to select (first byte of first char)..(last byte of last char).
Also, in line/block mode we no longer add the final newline to
selections.
|
|
|
|
|
| |
We must first check if there is really no node to attach the comment
to...
|
| |
|
|
|
|
|
|
| |
This was documented, but not implemented until now.
Also, improve the loader module's protocol documentation.
|
|
|
|
| |
also in ftp: clean up resources before exit
|
| |
|
| |
|
|
|
|
|
| |
This way we can at least view HTML source of x-htmloutput filtered
buffers. TODO: make it render the actual source instead.
|
|
|
|
| |
so we do not have to import unicode
|
|
|
|
|
| |
reimplementing it portably in Nim seems incredibly annoying, so we
just use C
|
|
|
|
|
| |
It may fail if the buffer process could not successfully create a server
socket.
|
| |
|
|
|
|
| |
UMM resolution takes the first entry.
|
| |
|
|
|
|
|
| |
We must save fd in the constructor, because the stream type may be
changed while loading.
|
|
|
|
|
|
|
| |
* Makefile: fix parallel build, add new binaries to install target
* twtstr: split out libunicode-related stuff to luwrap
* config: quote default gopher2html URL env var for unquote
* adapter/: get rid of types/url dependency, use CURL url in all cases
|
| |
|
|
|
|
|
| |
Avoid computing e.g. charwidth data for http which does not need it
at all.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now it is (technically) no longer mandatory to link to libcurl.
Also, Chawan is at last completely protocol and network backend
agnostic :)
* Implement multipart requests in local CGI
* Implement simultaneous download of CGI data
* Add REQUEST_HEADERS env var with all headers
* cssparser: add a missing check in consumeEscape
|
|
|
|
| |
Also, move default urimethodmap config to res.
|
| |
|
| |
|
|
|
|
| |
error codes are WIP, not final yet...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|