Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Fix compilation on nim 1.6.10 | bptato | 2023-07-17 | 1 | -2/+3 | |
| | | | | It appears there is a compiler bug we have to work around there. | |||||
* | htmlparser: fix regression | bptato | 2023-07-17 | 1 | -2/+2 | |
| | | | | Fixed unintended variable shadowing introduced during refactoring | |||||
* | Include libunicode header in binding | bptato | 2023-07-15 | 1 | -0/+5 | |
| | ||||||
* | htmlparser: make getTemplateContent optional | bptato | 2023-07-15 | 1 | -3/+4 | |
| | ||||||
* | htmlparser: check required callbacks | bptato | 2023-07-15 | 1 | -0/+13 | |
| | ||||||
* | htmlparser: add parse error handling | bptato | 2023-07-15 | 4 | -281/+437 | |
| | ||||||
* | htmlparser: correct outdated comment | bptato | 2023-07-14 | 1 | -9/+3 | |
| | ||||||
* | decoderstream: refactoring + iso2022jp fixes | bptato | 2023-07-12 | 1 | -115/+138 | |
| | | | | | * Use openArray in decoder functions * Fix iso-2022-jp erroring out in the wrong case | |||||
* | Improve encoding support | bptato | 2023-07-12 | 7 | -161/+259 | |
| | | | | | | | | * Use the output charset in lineedit (as w3m does) * encoder: fix broken UTF-8 encoding, use openArray instead of var seq for input queue * Add RuneStream as an in-memory interface to EncoderStream * Document display-charset config option | |||||
* | decoderstream: remove unused function | bptato | 2023-07-11 | 1 | -9/+0 | |
| | ||||||
* | Buffer search fixes & improvements | bptato | 2023-07-11 | 3 | -53/+82 | |
| | | | | | * Fix race condition in updateReadLineISearch * Disable reshape during isearch | |||||
* | buffer: fix textarea regression | bptato | 2023-07-10 | 1 | -2/+6 | |
| | | | | | Fix bug of not setting focus on clicked text area elements, which would result in the input text being discarded. | |||||
* | htmlparser: fix form association regression | bptato | 2023-07-10 | 2 | -8/+13 | |
| | | | | | | | associateWithForm was checking whether the element was in the same tree as the form, however associateWithForm is called when element is has not been inserted into the tree yet. As a fix, pass the intended parent and perform the check on that. | |||||
* | term: fix cursorGoto without termcap | bptato | 2023-07-10 | 1 | -1/+1 | |
| | ||||||
* | htmlparser: remove more references to dom | bptato | 2023-07-09 | 2 | -13/+34 | |
| | ||||||
* | htmlparser: more Option wrapping, remove dom reference | bptato | 2023-07-09 | 1 | -18/+21 | |
| | ||||||
* | htmlparser: fix fragment case, fix head bug | bptato | 2023-07-09 | 1 | -8/+13 | |
| | | | | Also, wrap head in an Option | |||||
* | htmltokenizer: only yield once | bptato | 2023-07-09 | 1 | -12/+22 | |
| | | | | | Seems to reverse the +200M peakmem during compile introduced by the previous commit. | |||||
* | htmlparser: decouple from DOM | bptato | 2023-07-09 | 8 | -544/+1113 | |
| | | | | | Instead of directly appending nodes to the DOM, use a DOMBuilder interface. | |||||
* | make it compile | bptato | 2023-07-08 | 1 | -8/+7 | |
| | | | | whoops | |||||
* | layout: width-related fixes | bptato | 2023-07-08 | 1 | -34/+38 | |
| | | | | | | | | * Set contentWidthInfinite to false when specified width commands so * Unify applyWidth of block boxes. probably still incorrect, just less so (at least we no longer have two slightly different cases...) This appears to fix some infinite table cell width issues. | |||||
* | Add StyledNode stringifier for debugging | bptato | 2023-07-08 | 1 | -0/+14 | |
| | ||||||
* | Fix toHex weirdness | bptato | 2023-07-07 | 2 | -11/+11 | |
| | ||||||
* | layout: refactor table layout | bptato | 2023-07-07 | 2 | -92/+109 | |
| | | | | Split it into smaller functions. | |||||
* | layout: show [img] instead of image url | bptato | 2023-07-07 | 1 | -1/+1 | |
| | | | | urls can get pretty long | |||||
* | url: fix empty hostnames being accepted | bptato | 2023-07-07 | 1 | -1/+1 | |
| | ||||||
* | Fixes in ipv6 parser and serializer | bptato | 2023-07-07 | 2 | -14/+30 | |
| | ||||||
* | Add separate type for premultiplied color | bptato | 2023-07-07 | 1 | -10/+16 | |
| | ||||||
* | color: replace straight alpha table with bit shifting magic | bptato | 2023-07-06 | 1 | -14/+11 | |
| | | | | | | And save 64k in the process. Yay! (As it turns out, the lookup table was rounding incorrectly anyways in some cases.) | |||||
* | term: fix ANSI color approximation | bptato | 2023-07-06 | 2 | -11/+8 | |
| | | | | Fixes a bug that lead to incorrect color approximation. | |||||
* | select: simplify popCursorPos() | bptato | 2023-07-06 | 1 | -3/+1 | |
| | ||||||
* | decoderstream: fix incorrect Big5 decoding | bptato | 2023-07-06 | 1 | -4/+4 | |
| | ||||||
* | Fix regression in twidth | bptato | 2023-07-06 | 1 | -3/+3 | |
| | ||||||
* | Add popup menu for select element | bptato | 2023-07-05 | 8 | -202/+639 | |
| | | | | | | | Replaces the weird CSS implementation we have had until now with a searchable popup menu similar to that of w3m. (The previous implementation broke on websites that do not expect <select> to expand on click, had no separate search, and was ugly.) | |||||
* | js: remove unused function | bptato | 2023-07-05 | 1 | -4/+0 | |
| | ||||||
* | dom: work around bad codegen | bptato | 2023-07-04 | 1 | -4/+6 | |
| | ||||||
* | png: print zstream errors | bptato | 2023-07-04 | 1 | -1/+5 | |
| | ||||||
* | painter: fix off by one error in getCharBmp | bptato | 2023-07-04 | 1 | -2/+2 | |
| | ||||||
* | Add utf-8 support to libregexp | bptato | 2023-07-04 | 2 | -102/+24 | |
| | | | | | | | This allows us to greatly simplify exec(Regex). In particular, we no longer have to convert any line containing non-ascii characters into UTF-16 (which was a significant inefficiency in regex search until now). | |||||
* | Add libregexp header to libregexp binding | bptato | 2023-07-04 | 2 | -15/+12 | |
| | ||||||
* | dom: add NodeType consts to Node | bptato | 2023-07-04 | 2 | -1/+1 | |
| | ||||||
* | Event: add some properties, js: add defineConsts | bptato | 2023-07-04 | 2 | -3/+35 | |
| | ||||||
* | Fix bug in media-query parsing | bptato | 2023-07-04 | 4 | -32/+61 | |
| | | | | This fixes interpretation of "@media (min/max-width: 1234px)". | |||||
* | Fix table cellspacing not being counted in row width | bptato | 2023-07-04 | 1 | -0/+7 | |
| | ||||||
* | Add proxy support | bptato | 2023-07-04 | 7 | -26/+77 | |
| | ||||||
* | update todo | bptato | 2023-07-04 | 1 | -7/+1 | |
| | ||||||
* | pager: do not store jsctx | bptato | 2023-07-04 | 1 | -12/+12 | |
| |