Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update readme | bptato | 2024-07-20 | 1 | -4/+7 |
| | |||||
* | img: add webp decoder (jebp) | bptato | 2024-07-20 | 7 | -2/+4885 |
| | | | | | | | | | | It works fine AFAICT, just missing VP8 deblocking filters, so lossy WebP images don't look great. I have extended the API a bit to allow reading from stdin, not just paths. Otherwise, it's the same as matanui159/jebp. TODO: add loop filters | ||||
* | buffer: fix nil deref on click without clickable element | bptato | 2024-07-19 | 2 | -7/+5 |
| | |||||
* | Update docs | bptato | 2024-07-19 | 2 | -17/+148 |
| | |||||
* | Makefile: add distclean | bptato | 2024-07-19 | 2 | -1/+6 |
| | |||||
* | loader: async status/headers for fetch | bptato | 2024-07-19 | 3 | -30/+41 |
| | | | | | | | | The status code & headers are no longer guaranteed to be sent right after res/outputId, so read them asynchronously instead. (This is pretty much the same code as the buffer connection handler in pager. Hopefully we can merge the two at some point.) | ||||
* | html: event cleanup, XHR progress | bptato | 2024-07-18 | 12 | -198/+617 |
| | |||||
* | luwrap: use lre_is_space | bptato | 2024-07-18 | 1 | -2/+1 |
| | |||||
* | Update monoucha | bptato | 2024-07-18 | 2 | -6/+6 |
| | |||||
* | stbi: fix incompatible function pointer type | bptato | 2024-07-18 | 1 | -2/+2 |
| | | | | clang complains about this | ||||
* | dom, match, event: small cleanup | bptato | 2024-07-17 | 3 | -33/+32 |
| | |||||
* | Update monoucha | bptato | 2024-07-17 | 2 | -6/+6 |
| | |||||
* | client: remove redundant global functions | bptato | 2024-07-16 | 1 | -22/+0 |
| | | | | these are already defined on Window | ||||
* | timeout: simplify, misc fixes | bptato | 2024-07-16 | 3 | -90/+61 |
| | | | | | | Merge timeout & interval code paths. This fixes clearTimeout not clearing intervals. | ||||
* | term: image sizing fixes | bptato | 2024-07-16 | 1 | -8/+39 |
| | | | | | | * add sixel max width/height query * add cell size query (it's more accurate than dividing window size when you change xterm font size) | ||||
* | config: support smart case | bptato | 2024-07-16 | 6 | -14/+25 |
| | | | | and enable it by default. | ||||
* | io: remove readablestream | bptato | 2024-07-14 | 1 | -32/+0 |
| | | | | it was never implemented | ||||
* | encoding: simplify | bptato | 2024-07-14 | 1 | -66/+15 |
| | | | | use the new API instead of the convoluted decodercore + growbuf thing | ||||
* | 32-bit compilation fixes | bptato | 2024-07-13 | 4 | -17/+17 |
| | | | | | | | | It seems registerHandle/unregister doesn't accept cint as handles. Not sure why it even works on 64-bit targets... (maybe some converter weirdness?) Seems best to explicitly cast it away. | ||||
* | renderdocument: fix clickable images | bptato | 2024-07-12 | 1 | -0/+5 |
| | | | | | | | | Paint the background with the current color, so that it gets associated with the owner styled node. (I didn't want to do this because it's slow, but otherwise image-mode gets very annoying to use.) | ||||
* | css: clean up a bit | bptato | 2024-07-12 | 3 | -54/+18 |
| | |||||
* | fix compilation on 2.0.8 | bptato | 2024-07-10 | 6 | -9/+11 |
| | |||||
* | cascade: reduce allocations | bptato | 2024-07-10 | 1 | -57/+42 |
| | | | | | | | Just use the previous tree when possible. The child list is still reconstructed, but at least we no longer alloc every single node again at every single restyle. | ||||
* | timeout: fix jsvalue leak | bptato | 2024-07-10 | 2 | -13/+28 |
| | |||||
* | cascade: fix style caching | bptato | 2024-07-09 | 2 | -6/+8 |
| | | | | the invalid flag must be toggled after styling | ||||
* | selectorparser: fix parseNthChild `of' token check | bptato | 2024-07-07 | 1 | -1/+3 |
| | | | | tokenType had to be checked too | ||||
* | lineedit: small cleanup | bptato | 2024-07-07 | 1 | -4/+1 |
| | |||||
* | pager: fix redirection to deleted buffers | bptato | 2024-07-06 | 2 | -5/+19 |
| | | | | | | Fixes the bug where getting redirected to a buffer that the pager then deleted (e.g. image display, site no longer available, etc.) would land you in a buffer detached from the main tree. | ||||
* | main, forkserver: optimize startup | bptato | 2024-07-06 | 3 | -35/+28 |
| | | | | | Merge "load config" with "fork loader", so that the loader process gets forked one packet earlier. | ||||
* | renderdocument: clean up setText | bptato | 2024-07-06 | 1 | -100/+107 |
| | |||||
* | makefile: clean up | bptato | 2024-07-05 | 1 | -135/+56 |
| | |||||
* | main: misc improvements | bptato | 2024-07-05 | 3 | -14/+50 |
| | |||||
* | config: add buffer.autofocus | bptato | 2024-07-04 | 3 | -3/+14 |
| | | | | Same as [[siteconf]] autofocus. | ||||
* | Update docs | bptato | 2024-07-04 | 2 | -11/+19 |
| | |||||
* | git.cgi: add [drop] to stash menu | bptato | 2024-07-03 | 1 | -1/+3 |
| | |||||
* | img, makefile: remove png, update uninstall target | bptato | 2024-07-03 | 2 | -561/+5 |
| | |||||
* | layout: reduce copies | bptato | 2024-07-03 | 3 | -29/+40 |
| | | | | | Text data is no longer stored separately in InlineFragments; instead, we now include refs to StyledNodes. | ||||
* | Update docs | bptato | 2024-07-03 | 4 | -162/+186 |
| | |||||
* | css, html: fix CSS dependency invalidation | bptato | 2024-07-03 | 5 | -112/+121 |
| | |||||
* | term: fix excessive SGR output in ansi color mode | bptato | 2024-07-02 | 1 | -17/+21 |
| | |||||
* | term: query default ansi colors, etc. | bptato | 2024-07-02 | 2 | -64/+94 |
| | | | | | * query default ANSI colors with OSC 4 * disable queries overridden by config | ||||
* | layout: fix positioning bug | bptato | 2024-07-02 | 3 | -4/+9 |
| | | | | | top/left/right/bottom should only be used in renderdocument with position: absolute. | ||||
* | pager: PNGify kitty images, clear images on buffer switch | bptato | 2024-07-02 | 5 | -31/+84 |
| | | | | | | | | | | | Saves bandwidth; it's especially useful over SSH. Still not sure if this is the right solution, since it now needs two select cycles instead of one, and it does yet another copy of the image. (Unnecessarily, because stbi cannot stream its output, and stbiw cannot stream its input.) Also, to save memory, we now discard decoded images of buffers that are not being viewed. | ||||
* | git.cgi: use forms | bptato | 2024-06-30 | 1 | -4/+13 |
| | | | | it's safer this way | ||||
* | renderdocument: avoid recursion | bptato | 2024-06-30 | 1 | -9/+12 |
| | |||||
* | promise, container: fix nil derefs | bptato | 2024-06-30 | 2 | -17/+25 |
| | |||||
* | layout: flex padding/margin fixes | bptato | 2024-06-30 | 5 | -2/+27 |
| | |||||
* | cascade: support align=left, align=right on img | bptato | 2024-06-29 | 1 | -2/+14 |
| | |||||
* | term: fix sixel OOB | bptato | 2024-06-29 | 1 | -1/+1 |
| | | | | x is clamped to 0, so there is no need to offset it by offx. | ||||
* | stbi: fix broken allocation in resizing | bptato | 2024-06-29 | 1 | -1/+1 |
| | | | | ;_; |