| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
They only had type definitions, no need to put them in separate modules.
|
| |
|
|
|
|
|
|
|
|
| |
* css/cascade: copy stylesheet in applyMediaQuery (so that changes
are reverted on re-style)
* buffer: clear prevstyled in windowChange (to avoid using cached
results from previous cascading passes); set window.attrs
* pager: avoid windowChange if new attrs are identical to the old ones
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Fix incorrect internal definition of the fragment percent-encode set
* urlenc, urldec: these are simple utility programs mainly for use
with shell local CGI scripts. (Sadly the printf + xargs solution is
not portable.)
* Pass libexec directory as an env var to local CGI scripts
* Update trans.cgi to use urldec and add an example for combining
it with selections
|
| |
|
| |
|
|
|
|
| |
This breaks string conversions.
|
| |
|
| |
|
|
|
|
| |
No need to have a separate directory for just 3 functions.
|
|
|
|
| |
Also for reducing compilation time.
|
|
|
|
|
|
|
|
|
| |
Speeds up compilation somewhat. Included in the repository because
it's not that huge.
misc changes:
* use seq, not set for UCS-16 sets (it takes up less space)
* remove unnecessary noSideEffects casts
|
|
|
|
| |
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.
|