Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move charsets into chakasu | bptato | 2023-08-14 | 25 | -1878/+85 |
| | | | | Operation "modularize Chawan somewhat" part 1 | ||||
* | mediaquery: fix logic error | bptato | 2023-08-14 | 1 | -1/+1 |
| | | | | Not isAscii means we cannot convert to char. Oops. | ||||
* | mimetypes: small optimization | bptato | 2023-08-13 | 1 | -2/+1 |
| | |||||
* | Simplify mailcap entry matching | bptato | 2023-08-13 | 1 | -25/+14 |
| | |||||
* | Do not replace existing mime types | bptato | 2023-08-13 | 1 | -1/+2 |
| | | | | | Make mime.types behavior consistent with mailcap: that is, the *first* match counts. | ||||
* | mailcap: fix typo | bptato | 2023-08-13 | 1 | -1/+1 |
| | | | | It's not quite the same thing :P | ||||
* | Link to todo file | bptato | 2023-08-13 | 1 | -1/+1 |
| | |||||
* | Update todo file | bptato | 2023-08-13 | 1 | -5/+3 |
| | |||||
* | Update docs | bptato | 2023-08-13 | 4 | -6/+41 |
| | |||||
* | makefile: fix qjsobj not being created | bptato | 2023-08-13 | 1 | -1/+2 |
| | |||||
* | Revert "Makefile: add ./ to rm -rf" | bptato | 2023-08-13 | 1 | -1/+1 |
| | | | | | | On a second thought, this makes no sense. This reverts commit 3c8d95fefb678155d0c923aac8240b575ce79d5f. | ||||
* | Add mailcap, mime.types & misc refactorings | bptato | 2023-08-13 | 30 | -378/+1431 |
| | | | | | | | | * add mailcap: works with copiousoutput, needsterminal, etc. * add mime.types (only works with mailcap) * refactor pipeBuffer * remove "dispatcher" * fix bug in directory display where baseurl would not be used | ||||
* | ua.css: add parens to rt before and after | bptato | 2023-08-10 | 1 | -0/+8 |
| | | | | | Forgot to add any replacement for rp after setting it to display: none, so parentheses around ruby text were not being displayed. | ||||
* | Makefile: add ./ to rm -rf | bptato | 2023-08-10 | 1 | -1/+1 |
| | | | | just to be sure | ||||
* | css: implement case insensitivity | bptato | 2023-08-10 | 3 | -135/+142 |
| | | | | For some reason I forgot about this. | ||||
* | Makefile: fix conflicts with directories | bptato | 2023-08-10 | 1 | -8/+8 |
| | |||||
* | serialize: add missing prepareMutation | bptato | 2023-08-01 | 1 | -0/+1 |
| | |||||
* | Update version information in README | bptato | 2023-08-01 | 1 | -2/+2 |
| | |||||
* | Fixes & workarounds to compile on Nim 2.0.0 | bptato | 2023-08-01 | 13 | -36/+257 |
| | | | | | | | | | | | | | | * Import punycode, as it has been removed from stdlib. * Fix some syntax errors * Apparently you can no longer compare distinct pointers with nil. Add explicit comparisons with typeof(nil) instead. * htmlparser: rename _ to other, as semantics of _ have changed. (Quite a shame, it looked better with _. Oh well.) * Explicitly specify mm:refc, as the browser OOMs with orc for some reason. Confirmed to compile & run on 2.0.0, 1.6.14, 1.6.12, 1.6.10 and 1.6.8. (<1.6.8 it's broken & wontfix.) | ||||
* | Fix double line bug in dump mode | bptato | 2023-07-29 | 2 | -3/+4 |
| | |||||
* | Add default background/foreground color override | bptato | 2023-07-29 | 6 | -39/+82 |
| | |||||
* | css: very minor optimizations | bptato | 2023-07-28 | 2 | -19/+15 |
| | | | | probably insignificant overall | ||||
* | Update makefile | bptato | 2023-07-28 | 1 | -4/+8 |
| | | | | small re-organization | ||||
* | mediaquery: fix some missing has checks in parser | bptato | 2023-07-28 | 1 | -0/+2 |
| | |||||
* | layout: count spacing before inline padding too | bptato | 2023-07-28 | 1 | -2/+10 |
| | |||||
* | Fix twtstr.cmp | bptato | 2023-07-28 | 1 | -2/+2 |
| | | | | We were comparing the wrong sides of ranges here. | ||||
* | htmlparser: replace stray insert call | bptato | 2023-07-27 | 1 | -1/+1 |
| | |||||
* | dom: fix hasChild | bptato | 2023-07-27 | 1 | -1/+1 |
| | | | | Return true instead of false when a node with nodeType was found. | ||||
* | layout: remove incorrect comment | bptato | 2023-07-27 | 1 | -2/+0 |
| | |||||
* | htmlparser: fix <th> not closing table cells | bptato | 2023-07-27 | 1 | -1/+1 |
| | | | | | <th> should close table cells, but was missing from the table cell closing list for some reason. | ||||
* | layout: distinguish padding from spacing | bptato | 2023-07-27 | 2 | -5/+23 |
| | | | | | Re-consideration of 1e0506adb: we do need to explicitly specify padding after all, so the rendering engine knows of it too. | ||||
* | layout: fix incorrect parentheses | bptato | 2023-07-27 | 1 | -1/+1 |
| | | | | | | In the tab width case, only whitespacenum was being divided instead of charwidth + whitespacenum, which resulted in an exponential growth of both charwidth and whitespacenum. | ||||
* | layout: do not treat inline padding as spacing | bptato | 2023-07-27 | 1 | -5/+6 |
| | | | | | So e.g. padding: 1px does not inhibit automatic addition of spaces for inline blocks. | ||||
* | htmlparser: remove stray nil comparison | bptato | 2023-07-27 | 1 | -4/+3 |
| | |||||
* | layout: remove unused variables | bptato | 2023-07-27 | 1 | -3/+0 |
| | |||||
* | htmlparser: remove nil comparisons for Handle | bptato | 2023-07-27 | 2 | -41/+52 |
| | | | | This makes it possible to use non-reference types as Handle. | ||||
* | layout: refactor absolute positioning width calc | bptato | 2023-07-27 | 1 | -13/+84 |
| | | | | Still not perfect, but at least not completely broken. | ||||
* | doc: add missing end tag | bptato | 2023-07-26 | 1 | -1/+1 |
| | |||||
* | Add suspend() function (bound to C-z) | bptato | 2023-07-26 | 3 | -2/+26 |
| | |||||
* | layout: fix superfluous inline whitespace | bptato | 2023-07-25 | 1 | -1/+3 |
| | | | | | | | | | | | | | | computeShift now checks if the last inline atom is spacing, and if yes, it does not add more spacing. This fixes rendering of the following document: <span> a </span> <span> b </span> | ||||
* | layout: use nowrap function | bptato | 2023-07-25 | 1 | -1/+1 |
| | |||||
* | css: handle unknown tag names correctly | bptato | 2023-07-25 | 3 | -5/+16 |
| | | | | | | Instead of grouping all of them into TAG_UNKNOWN, match their tag names. To-do: this implementation is not very efficient. | ||||
* | html: include SEARCH tag in parser | bptato | 2023-07-25 | 2 | -5/+7 |
| | |||||
* | html: add SEARCH tag | bptato | 2023-07-25 | 1 | -17/+17 |
| | |||||
* | layout: fix position: relative sizes | bptato | 2023-07-25 | 1 | -2/+2 |
| | | | | | Only inherit width from the last positioned element if position: absolute is set. | ||||
* | Add compileMatchRegex | bptato | 2023-07-25 | 3 | -12/+73 |
| | | | | | | | This makes it so that host = 'example\.org' mandates an exact match, but host = '^example' matches example.org, example.com, etc. (Previously, 'example\.org' would have matched exampleexample.org as well, which was quite counter-intuitive.) | ||||
* | ua.css: add more block elements | bptato | 2023-07-25 | 1 | -2/+4 |
| | | | | Additions sourced from the HTML standard. | ||||
* | layout: refactor sizing | bptato | 2023-07-25 | 2 | -281/+425 |
| | | | | | | Factor out the "shrink" variable and the (broken) isWidthSpecified into a SizeConstraint type. This should make box sizing easier to reason about. | ||||
* | mediaquery: better debugging functions | bptato | 2023-07-23 | 1 | -3/+35 |
| | |||||
* | css: fix percentage min/max-width values | bptato | 2023-07-23 | 1 | -1/+1 |
| |