Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | formdata: fix FormData constructor, append filename handling | bptato | 2025-02-05 | 2 | -21/+23 | |
| | | | | + some strict defs | |||||
* | buffer: remove rfd, fd | bptato | 2025-02-05 | 2 | -58/+55 | |
| | | | | | | maybe InputData should just be a Response (really it should be a ReadableStream - if we had that...) | |||||
* | cssparser: fix an infinite loop | bptato | 2025-02-05 | 1 | -23/+9 | |
| | | | | | | | startsWithNumber was a poorly copied version of the standard algorithm, which, as it turns out, is largely redundant. So I removed most of it and inlined the rest. | |||||
* | layout: round out small list-item margins and padding | bptato | 2025-02-04 | 1 | -8/+16 | |
| | | | | | They can be especially distracting when the rounding error fluctuates between items. | |||||
* | cssparser: fix parsing of consequitive comments | bptato | 2025-02-04 | 1 | -1/+1 | |
| | ||||||
* | cascade, ua.css: use ansi red, replace option with anonymous StyledNodes | bptato | 2025-02-04 | 2 | -41/+74 | |
| | | | | Now select[multiple] options have the same coloring as w3m. | |||||
* | layout: merge addOuterBlock with layoutBlock, refactor | bptato | 2025-02-04 | 1 | -478/+571 | |
| | | | | | | | | | | | Having to initLine after every block hurts... I've added a mechanism to at least eliminate cleared floats, but I wish we just didn't init the line :/ (I tried making it lazy, but I couldn't get it to work elegantly.) I've also added some comments about flow, and moved around code so that related layouts are mostly in the same place. | |||||
* | promise: fix leak | bptato | 2025-02-04 | 1 | -0/+2 | |
| | ||||||
* | dom: fix @import processing order | bptato | 2025-02-03 | 1 | -14/+31 | |
| | | | | Not only was it wrong until now, it was also non-deterministic... | |||||
* | dom, event: stub UIEvent, MouseEvent; accept customevent in createEvent | bptato | 2025-02-03 | 3 | -5/+23 | |
| | ||||||
* | dom: expose activeElement | bptato | 2025-02-03 | 1 | -1/+1 | |
| | ||||||
* | buffer: fire change event on selection etc | bptato | 2025-02-03 | 3 | -0/+20 | |
| | ||||||
* | buffer: fix evalJSURL angle bracket placement | bptato | 2025-02-03 | 1 | -2/+2 | |
| | ||||||
* | dom: reflect iframe src, name | bptato | 2025-02-03 | 1 | -2/+2 | |
| | ||||||
* | lunit: fix negative rounding | bptato | 2025-02-03 | 1 | -0/+2 | |
| | ||||||
* | layout: eliminate InlineAtom | bptato | 2025-02-03 | 3 | -225/+230 | |
| | | | | | | | | | * For boxes, we now use the box in InlineBox. * For images, wrap bmp in an InlineImage type that stores offset + size. * For text, wrap strings into TextRun objects (an offset + a string). (Ideally, TextRuns shouldn't copy at all, but that's a problem for another time.) | |||||
* | layout: inline background fixes & simplification | bptato | 2025-02-03 | 1 | -132/+67 | |
| | | | | | Eliminates two superfluous line box alignment passes, and fixes some vertical-align bugs. | |||||
* | layout: fix list item layout | bptato | 2025-02-03 | 1 | -14/+6 | |
| | | | | The content should clear. | |||||
* | dom: fire load event on image load | bptato | 2025-02-03 | 1 | -0/+3 | |
| | ||||||
* | dom: add blur() | bptato | 2025-02-02 | 1 | -0/+6 | |
| | ||||||
* | javascript: derive ctor functions from parent ctor functions | bptato | 2025-02-02 | 1 | -3/+2 | |
| | | | | no idea why JS_NewCFunction3 is not public... | |||||
* | term: simplify/optimize | bptato | 2025-02-02 | 1 | -38/+34 | |
| | | | | by storing capabilities as strings instead of cstrings. | |||||
* | dom: load inline module scripts too | bptato | 2025-02-01 | 2 | -6/+22 | |
| | ||||||
* | dom: stub scrollIntoView | bptato | 2025-02-01 | 1 | -0/+3 | |
| | ||||||
* | dom: handle exceptions in module script | bptato | 2025-02-01 | 2 | -27/+80 | |
| | ||||||
* | dom, layout: fix empty canvas cache ids | bptato | 2025-02-01 | 6 | -9/+20 | |
| | | | | ok now I understand why I made shareCachedItem crash... | |||||
* | dom: add title setter, unify newText use | bptato | 2025-02-01 | 3 | -6/+20 | |
| | | | | createTextNode is redundant... | |||||
* | response: stub constructor | bptato | 2025-02-01 | 2 | -3/+16 | |
| | ||||||
* | dom: basic module support | bptato | 2025-02-01 | 4 | -48/+97 | |
| | | | | probably breaks with TLA | |||||
* | loader: do not crash on invalid shareCachedItem | bptato | 2025-01-31 | 1 | -3/+4 | |
| | | | | | | | It could be legitimate. (Although I found it in a case where it likely isn't legitimate. But that's another question...) | |||||
* | eprint: add fprintf wrapper | bptato | 2025-01-31 | 1 | -0/+3 | |
| | | | | useful in situations where allocations change program behavior | |||||
* | sheet: fix a hashing bug | bptato | 2025-01-30 | 1 | -1/+1 | |
| | ||||||
* | layout: fix absolute sizing order with floats | bptato | 2025-01-30 | 1 | -3/+9 | |
| | | | | | Also removed the redundant pushPositioned/popPositioned calls in popPositioned. | |||||
* | buffer: drop pipe, pipe2, passFd privileges | bptato | 2025-01-30 | 5 | -42/+85 | |
| | | | | | All uses of these could be delegated to other processes with more privileges. | |||||
* | about: move to loader | bptato | 2025-01-30 | 2 | -6/+14 | |
| | | | | | This means we can now use about:downloads for downloads. Plus it shaves off some ks from the distribution. | |||||
* | mediaquery: fix some parser bugs | bptato | 2025-01-30 | 1 | -9/+8 | |
| | | | | | | <media-condition-without-or> works correctly once again. ref. https://todo.sr.ht/~bptato/chawan/46 | |||||
* | render: fix OOB panic with scroll container outside the canvas | bptato | 2025-01-29 | 1 | -1/+1 | |
| | | | | | clipBox must not be allowed to start outside the canvas, or paintBackground will happily try to setTextStr in a negative position. | |||||
* | pager: fix gotoAnchor on buffers that were redirected | bptato | 2025-01-29 | 1 | -3/+4 | |
| | | | | | Redirection no longer preserves the previous cursor position, so gotoAnchor is now allowed to override it. | |||||
* | lineedit: add missing nil check to nextHist, prevent empty entries in submit | bptato | 2025-01-29 | 1 | -12/+9 | |
| | | | | | | | | | And clean up the function, while we're at it. ref. https://todo.sr.ht/~bptato/chawan/45 (The submit bug is unrelated, just something I discovered while testing nextHist & prevHist.) | |||||
* | container: fix getSelectionText with no parameters | bptato | 2025-01-29 | 1 | -7/+3 | |
| | ||||||
* | event: fix some refcounting bugs | bptato | 2025-01-28 | 2 | -5/+6 | |
| | ||||||
* | sandbox: fix compilation without sandboxing | bptato | 2025-01-28 | 1 | -1/+1 | |
| | ||||||
* | layout: fix flow roots in inline boxes not respecting floats | bptato | 2025-01-28 | 1 | -104/+92 | |
| | | | | Also, some more work on the unification of inline & block layouts. | |||||
* | layout: fix some float margin resolution bugs | bptato | 2025-01-28 | 1 | -34/+21 | |
| | ||||||
* | loader: fix missing newline in downloads | bptato | 2025-01-28 | 1 | -3/+3 | |
| | ||||||
* | cascade: fix variable inheritance | bptato | 2025-01-28 | 1 | -11/+16 | |
| | ||||||
* | layout: unify InlineContext with FlowState | bptato | 2025-01-27 | 1 | -547/+538 | |
| | ||||||
* | cascade: reuse input value when possible | bptato | 2025-01-27 | 3 | -27/+39 | |
| | ||||||
* | layout: remove obsolete comment, improve struct packing | bptato | 2025-01-26 | 1 | -12/+8 | |
| | ||||||
* | main: add version check | bptato | 2025-01-26 | 1 | -0/+4 | |
| | | | | ref. https://todo.sr.ht/~bptato/chawan/44 |