| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
We no longer have to wait for the entire document to be loaded to start
loading CSS.
|
|
|
|
|
|
| |
* eagain was causing fetch to add unnecessary null bytes to input
streams
* URL is now only added to handles in debug mode
|
| |
|
|
|
|
|
| |
* enumize insertAdjacentHTML position
* un-extern attrs
|
|
|
|
| |
std enum parsing uses Nim ident matching rules, which is incorrect here.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
tagType is now a function call, but usually it's enough to just test for
the object type.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Yay!
Admittedly, it is not very useful in its current form, except maybe on
very slow networks.
The problem is that renderDocument is *slow*, so we only run it when
onload fails to consume all bytes from the network in a single pass.
Even then, we are guaranteed to get a FOUC, since CSS is only downloaded
in finishLoad(). Well, I think it's cool, anyway.
|
|
|
|
|
|
|
|
| |
* Update chame to the latest version
* Get rid of nodeType usage
* Add atoms
* Re-implement DOM attributes
* document.write
|
|
|
|
|
|
|
| |
We do not use threads at the moment, so there's no need to link to
pthreads either.
(Also, add nim.cfg to the cha target in the Makefile.)
|
|
|
|
| |
it's 0, not 1 :(
|
|
|
|
|
| |
The previous approach to add UTF-8 support to libregexp was broken. This
time, we use a separate flag (cbuf_len == 3) to indicate UTF-8 input.
|
| |
|
|
|
|
| |
Previously we were overwriting it, and that looked a little strange.
|
| |
|
| |
|
|
|
|
| |
Only ignore when prev/next chars are not alnum.
|
| |
|
| |
|
| |
|
|
|
|
| |
Useful for clearing settings with -o
|
|
|
|
|
|
| |
+ actually use the result.
Fixes default converters when no external mailcap exists.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
See https://forum.nim-lang.org/t/10807
|
| |
|
|
|
|
|
| |
When an absolute block is a descendant of an inline box, its positioned
ancestor must be set to that box.
|
|
|
|
|
| |
Move forkBuffer into forkserver (why was it in container anyway), remove
unused mainproc variable, etc.
|
|
|
|
|
| |
* pass 0 so e.g. git does not hang
* use sigtstp so e.g. cgi scripts can clean up if needed
|
| |
|
|
|
|
|
| |
* use functions like until
* do not call atEnd for every line, use boolean readLine instead
|
|
|
|
|
|
|
|
|
| |
* remove pointless exception -> bool conversions; usually they were
ignored anyway + exceptions are more convenient here
* add EPIPE handler to raisePosixIOError
* fix socketstream to use raisePosixIOError
* fix socketstream sendFileHandle error handling
* cgi: immediately return on file not found error
|
| |
|
|
|
|
|
|
|
|
|
|
| |
derived from w3mman2html.cgi, there are only a few minor differences:
* different man page opener command
* use man:, man-k:, man-l: instead of query string to specify action
* no form input (C-lC-uman:pageC-m is faster anyway)
TODO rewrite in Nim so we don't have to depend on Perl...
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* static function names can now be defined using the syntax
`Class:functionName' (or just use `Class' to take the default name
* fix URL.canParse with 1 argument only
* do not store JSFuncGenerator for constructors; just put the function
node in BoundFunctions
|
|
|
|
| |
Pointless; it just returned a default zero-initialized object.
|
| |
|
|
|
|
|
| |
* parse manpage output styled ugly backspace overstrike formatting
* fix broken charset detection for large files
|
|
|
|
| |
Turns out \? for BRE is not in POSIX. Accordingly, it fails on FreeBSD.
|