Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | layout: remove obsolete todo | bptato | 2025-05-17 | 1 | -1/+0 |
| | |||||
* | config: fix prepend-https parsing | bptato | 2025-05-13 | 1 | -0/+1 |
| | |||||
* | config: print warning for prepend-https | bptato | 2025-05-13 | 2 | -2/+15 |
| | | | | Use prepend-scheme = '' instead. | ||||
* | config: remove excessive dot from warning message | bptato | 2025-05-13 | 1 | -3/+2 |
| | |||||
* | Eliminate some superfluous copies | bptato | 2025-05-11 | 17 | -48/+53 |
| | |||||
* | twtstr: re-validate UTF-8 in nextUTF8 | bptato | 2025-05-11 | 1 | -36/+40 |
| | | | | | it isn't used on invalid UTF-8, but the validation logic is separate so it seems better to double-check | ||||
* | config: warn on unused values | bptato | 2025-05-11 | 2 | -35/+31 |
| | |||||
* | fromjs: switch back res to `var' from `out' | bptato | 2025-05-10 | 5 | -13/+10 |
| | | | | | | | | The original goal was to comply the Uninit warning, but this is now a futile effort as Uninit is no longer planned to be the default in Nim. Setting `res' to its type's default value is therefore just a waste of cycles when it's already zero-initialized. | ||||
* | Enable ProveInit warning | bptato | 2025-05-10 | 12 | -17/+56 |
| | | | | It has caught some minor bugs. | ||||
* | config: add external.show-download-panel | bptato | 2025-05-09 | 2 | -3/+4 |
| | |||||
* | config: remove sockdir | bptato | 2025-05-08 | 1 | -1/+0 |
| | |||||
* | pager: remove pointless clamp | bptato | 2025-05-08 | 1 | -2/+1 |
| | |||||
* | buffer: remove gpstream & SIGTERM handler | bptato | 2025-05-08 | 2 | -13/+1 |
| | | | | | SIGTERM will kill us anyway, and then the control stream gets automatically closed. Fin. | ||||
* | term: remove sixelMaxWidth, sixelMaxHeight | bptato | 2025-05-07 | 2 | -50/+7 |
| | | | | | | We weren't compensating for it at all, so it's kind of pointless. (AFAIK it only ever differs from the window size on XTerm, where you can just set maxGraphicSize anyway.) | ||||
* | event: optimize dispatch | bptato | 2025-05-07 | 1 | -40/+63 |
| | |||||
* | event: fix another stopPropagation bug | bptato | 2025-05-05 | 1 | -8/+9 |
| | |||||
* | event: fix stopPropagation in capturing phase | bptato | 2025-05-05 | 1 | -9/+11 |
| | |||||
* | event: implement capturing phase, misc improvements | bptato | 2025-05-05 | 4 | -40/+86 |
| | | | | Fixes acid3 tests 31, 32 | ||||
* | layout, csstree: build stacking contexts together with tree | bptato | 2025-05-03 | 5 | -69/+133 |
| | | | | | | | | We often redo sub-layouts in layout, and this makes stacking contexts very hard to build reliably there. This fixes a bug where positioned descendants of flex items would sometimes mysteriously disappear. | ||||
* | dom, event: add UIEvent to createEvent, initUIEvent | bptato | 2025-05-03 | 3 | -7/+41 |
| | | | | Fixes acid3 test 30 | ||||
* | term: do not accept BEL in query responses | bptato | 2025-05-03 | 1 | -5/+5 |
| | | | | We no longer send it, so terminals shouldn't send it either. | ||||
* | url: add schemeType, fix port bug on protocol assignment | bptato | 2025-05-03 | 8 | -120/+152 |
| | | | | Allows branching on the scheme without string comparisons. | ||||
* | url: simplify tuple origin | bptato | 2025-05-03 | 1 | -33/+8 |
| | |||||
* | pager: do not forget downloads buffer on replace | bptato | 2025-05-02 | 1 | -0/+2 |
| | |||||
* | cookie: do not match port in Domain | bptato | 2025-05-02 | 1 | -7/+7 |
| | | | | That's how cookies *should have* worked, not how they actually work. | ||||
* | container: optimize object size | bptato | 2025-05-02 | 2 | -19/+17 |
| | |||||
* | container: support Refresh header | bptato | 2025-05-02 | 3 | -47/+63 |
| | |||||
* | url, twtstr: misc cleanup, fix overflow check in parseUInt8 | bptato | 2025-05-01 | 2 | -112/+86 |
| | |||||
* | myaddr: fix newSeqUninit polyfill | bptato | 2025-05-01 | 1 | -1/+1 |
| | | | | | | Sometimes it's called with an unsigned len. ref. https://todo.sr.ht/~bptato/chawan/59 | ||||
* | history: simplify a bit | bptato | 2025-04-30 | 2 | -22/+13 |
| | |||||
* | myaddr: backport & switch to newSeqUninit | bptato | 2025-04-30 | 7 | -17/+22 |
| | |||||
* | config: misc optimization | bptato | 2025-04-29 | 1 | -4/+4 |
| | |||||
* | config: fix arrays not being cleared on reassignment | bptato | 2025-04-29 | 1 | -0/+1 |
| | |||||
* | term: support vt52 | bptato | 2025-04-28 | 1 | -6/+13 |
| | |||||
* | term: reduce Termdesc size | bptato | 2025-04-27 | 1 | -43/+42 |
| | | | | now it fits into 1 byte | ||||
* | term: misc fixes, support rxvt | bptato | 2025-04-25 | 1 | -42/+49 |
| | |||||
* | term: misc fixes, support adm3a | bptato | 2025-04-24 | 1 | -55/+93 |
| | |||||
* | term: replace termcap with a built-in terminal database | bptato | 2025-04-23 | 3 | -186/+161 |
| | | | | | | | | | | | | | I considered using terminfo, but it works *worse* on several terminals I've tried than whatever this is. So out with ncurses, I say. In this new scheme, if the terminal is unrecognized, it is assumed to be XTerm-compatible. This does mean that an unrecognized terminal that doesn't do XTGETTCAP or COLORTERM will not get true colors. Another drawback is that non-VT-compatible terminals now have zero chance of working. This is unfortunate, but realistically they probably didn't work until now either. | ||||
* | layout: simplify resolveBounds | bptato | 2025-04-23 | 1 | -31/+19 |
| | | | | | Not entirely sure what the px check for the mi[dtHorizontal].send assingment was for; tests still pass after removing it. | ||||
* | cssparser: optimize CSSToken size | bptato | 2025-04-18 | 1 | -2/+2 |
| | | | | 4 -> 3 words | ||||
* | selectorparser: check type flag of hash tokens | bptato | 2025-04-18 | 2 | -10/+6 |
| | |||||
* | toml: fix underscores in integer literals | bptato | 2025-04-17 | 1 | -9/+8 |
| | | | | while at it, prefer seek to discarding consume | ||||
* | config: remove bindPagerKey, bindLineKey | bptato | 2025-04-17 | 1 | -6/+0 |
| | | | | undocumented and likely unused. | ||||
* | loader: remove obsolete comment | bptato | 2025-04-17 | 1 | -1/+0 |
| | |||||
* | pager: remove obsolete acceptBuffers | bptato | 2025-04-17 | 1 | -28/+14 |
| | | | | Hopefully this didn't break anything... | ||||
* | loader: use pipes in network streams | bptato | 2025-04-17 | 2 | -13/+11 |
| | | | | | | | | | | | Turns out we don't actually have a reliable mechanism to detect broken streams - if a pipe is broken, well, it's broken, but that's about all we know. It seems UNIX sockets didn't trigger the code path, but pipes do now, and it was causing issues (reporting some correctly ended streams as broken). This is not fixable with the current protocol, so for now, I've just made onError do the same as onRead at EOF. | ||||
* | main: ensure that we own tmpdir | bptato | 2025-04-17 | 1 | -9/+14 |
| | | | | | | | | Otherwise a malicious user on the same machine could get access to the directory. (This isn't problematic in theory, since such users still wouldn't have access to the temp files. Still, better safe than sorry.) | ||||
* | pager: remove unused field | bptato | 2025-04-17 | 1 | -7/+6 |
| | |||||
* | loaderiface: return PosixStream for startRequest | bptato | 2025-04-15 | 4 | -11/+10 |
| | |||||
* | toml: remove broken special case, update docs | bptato | 2025-04-15 | 1 | -10/+2 |
| | | | | | | Turns out the cure was worse than the disease. Let's just make it a backwards incompatible change, so that at least the error message is no longer nonsensical. |