Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | render: actually fix the "extra unnecessary line" bug | bptato | 2025-01-21 | 32 | -38/+4 |
| | | | | Plus remove addLines, it's no longer very useful. | ||||
* | render: blend in paintBackground | bptato | 2025-01-21 | 7 | -43/+68 |
| | | | | | | | It's an improvement, but the painting order still isn't quite right... Also fixes a bug where paintBackground would unnecessarily append an extra line to the document's end. | ||||
* | cssvalues: support percentage rgb colors, hsl & hsla | bptato | 2025-01-21 | 5 | -44/+154 |
| | | | | hsl is quite popular these days. | ||||
* | cssvalues: add newer length units | bptato | 2025-01-21 | 1 | -18/+36 |
| | | | | I'm not convinced that anybody even knows these exist, but whatever. | ||||
* | layout: fix division by 0 | bptato | 2025-01-21 | 1 | -2/+2 |
| | |||||
* | cssvalues: fix rgba() function parsing | bptato | 2025-01-20 | 4 | -5/+10 |
| | |||||
* | cascade: support nested variables | bptato | 2025-01-20 | 4 | -79/+91 |
| | | | | ...and refactor applyValue in the process. | ||||
* | cascade: collapse StyledNode tree into DOM | bptato | 2025-01-20 | 9 | -534/+317 |
| | | | | | We now compute styles on-demand, which is both more efficient and simpler than the convoluted tree diffing logic we previously used. | ||||
* | pager: do not alert on failed history write if config dir doesn't exist | bptato | 2025-01-20 | 1 | -1/+4 |
| | | | | ref. https://todo.sr.ht/~bptato/chawan/41 | ||||
* | Makefile: fix uninstall for old section-5 pages | bptato | 2025-01-20 | 1 | -1/+1 |
| | |||||
* | container, config.toml: add | command | bptato | 2025-01-19 | 4 | -0/+26 |
| | | | | | | Particularly useful when debugging minified JS. vi always wraps; the centering behavior is from vim. | ||||
* | dom: simplify a bit | bptato | 2025-01-19 | 1 | -1/+1 |
| | |||||
* | config: expandTilde -> expandPath | bptato | 2025-01-19 | 1 | -2/+2 |
| | |||||
* | dom: CSSStyleDeclaration improvements | bptato | 2025-01-19 | 8 | -22/+72 |
| | | | | Now getComputedStyle works with pseudo-elements too. | ||||
* | Makefile: fix submodule target | bptato | 2025-01-19 | 1 | -1/+1 |
| | | | | I didn't intend it to error out :( | ||||
* | cascade: simplify RuleListMap | bptato | 2025-01-18 | 1 | -42/+31 |
| | | | | it can be a value type again | ||||
* | dom, stylednode: move more fields, handle pseudo-element getComputedStyle | bptato | 2025-01-18 | 7 | -106/+133 |
| | |||||
* | Add 'lib/monoucha0/' from commit '33efaee783c2adb20df019a8bc924411c4a97e7f' | bptato | 2025-01-18 | 50 | -0/+85771 |
|\ | | | | | | | | | | | git-subtree-dir: lib/monoucha0 git-subtree-mainline: b56abad0883c0b4179f9c329a7169bb544fac4a5 git-subtree-split: 33efaee783c2adb20df019a8bc924411c4a97e7f | ||||
| * | Version 0.9.1 | bptato | 2025-01-16 | 3 | -2/+6 |
| | | |||||
| * | fromjs: add type information to JSArrayBufferView + some bindings | bptato | 2025-01-16 | 3 | -1/+21 |
| | | |||||
| * | test: update results | bptato | 2025-01-16 | 1 | -125/+472 |
| | | |||||
| * | test: update opt | bptato | 2025-01-14 | 1 | -21/+7 |
| | | |||||
| * | Version 0.9.0 | bptato | 2025-01-13 | 3 | -2/+24 |
| | | |||||
| * | javascript: do not override jsfunc/jsctor error message | bptato | 2025-01-13 | 1 | -2/+2 |
| | | |||||
| * | fromjs: do not accept nil for ref object | bptato | 2025-01-13 | 2 | -3/+5 |
| | | | | | | | | | | | | | | This means that nullable WebIDL interfaces now must be wrapped in an Option when converted *from* JS. On the toJS side, nothing changes. | ||||
| * | javascript: type erase dfin | bptato | 2025-01-13 | 3 | -70/+68 |
| | | | | | | | | | | | | | | | | | | It works in refc. It won't work in ARC/ORC, but that's a problem for another time. (FWIW, I think ARC/ORC could be made work by simply adding pointers to the destructors. But it's fully incompatible with refc, and I won't maintain this so long as not even ARC works with Chawan.) | ||||
| * | javascript: replace old jsgetprop with new one | bptato | 2025-01-13 | 2 | -39/+2 |
| | | |||||
| * | javascript: take cstring in getClass, hasClass | bptato | 2025-01-13 | 1 | -3/+3 |
| | | |||||
| * | Conform to strict defs | bptato | 2025-01-13 | 9 | -88/+130 |
| | | | | | | | | Breaks compatibility with 1.6.14. | ||||
| * | optshim: remove valType, opt | bptato | 2025-01-13 | 2 | -4/+1 |
| | | |||||
| * | javascript: remove $ -> toString conversion | bptato | 2025-01-10 | 1 | -5/+1 |
| | | | | | | | | Undocumented and fairly surprising behavior. Just do it manually. | ||||
| * | javascript: drop union types and non-JSValue varargs | bptato | 2025-01-10 | 2 | -249/+60 |
| | | | | | | | | Untested and unused since forever. | ||||
| * | javascript: remove undocumented & broken defineConsts | bptato | 2025-01-01 | 1 | -19/+0 |
| | | | | | | | | | | | | | | I have a mostly working version in Chawan (in src/html/script.nim), but it still has to work around the fact that we define prototypes differently than mainstream browsers. So I won't try to fix it here if I'll have to change what it does *yet again* in the future. | ||||
| * | Make it work with abiCheck | bptato | 2024-12-29 | 1 | -4/+4 |
| | | | | | | | | | | Nim doesn't distinguish between function pointers and functions, but C does. | ||||
| * | Fix casing | bptato | 2024-12-29 | 2 | -2/+2 |
| | | |||||
| * | Version 0.8.0 | bptato | 2024-12-26 | 3 | -3/+6 |
| | | |||||
| * | Update to QuickJS-NG 0.8.0 | bptato | 2024-12-26 | 6 | -418/+461 |
| | | |||||
| * | Version 0.7.2 | bptato | 2024-11-25 | 3 | -2/+7 |
| | | |||||
| * | javascript: fix refc deinitialization bugs | bptato | 2024-11-25 | 8 | -24/+89 |
| | | | | | | | | | | | | | | | | | | We advertise refc support only, and yet we were testing for orc. Whoops. I'm not 100% sure why the GC_fullCollect is needed in free, but it probably makes sense. Also, I haven't seen any actual bugs related to pointers being collected into seqs, but in theory they are possible. Better safe than sorry. | ||||
| * | Version 0.7.1 | bptato | 2024-11-22 | 3 | -2/+6 |
| | | |||||
| * | jspropenumlist: fix wrong allocation size | bptato | 2024-11-22 | 3 | -2/+4 |
| | | |||||
| * | Version 0.7.0 | bptato | 2024-11-18 | 3 | -2/+6 |
| | | |||||
| * | javascript: complete exotic pragmas | bptato | 2024-11-18 | 4 | -63/+151 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | .jsgetprop is now deprecated. Its replacement, .jsgetownprop, provides the same functionality and more, so that it's now equivalent in power to the QJS API: * instead of JS_NULL, it's JS_UNINITIALIZED that signals "not found" * it allows you to set the property descriptor (for returning get/set functions) Also, .jsgetrealprop was added to wrap get_property. This will be renamed to .jsgetprop in the future. | ||||
| * | Version 0.6.0 | bptato | 2024-11-16 | 3 | -3/+7 |
| | | |||||
| * | javascript, jsopaque: get rid of some useless tables | bptato | 2024-11-16 | 4 | -21/+35 |
| | | | | | | | | these work better as seqs; I was just being lazy... | ||||
| * | Update to quickjs-ng 0.7.0 | bptato | 2024-11-16 | 10 | -2257/+4224 |
| | | | | | | | | | | Includes a patch to adjust the JS_SetOpaque API to continue supporting opaques on the global object. | ||||
| * | fromjs: remove leftover debugging code | bptato | 2024-11-16 | 1 | -2/+0 |
| | | |||||
| * | Version 0.5.5 | bptato | 2024-11-09 | 3 | -2/+6 |
| | | |||||
| * | fromjs, quickjs: fix and use JS_FreePropertyEnum API | bptato | 2024-11-09 | 2 | -4/+2 |
| | | |||||
| * | fromjs: fix crash on fromJS with seq | bptato | 2024-11-09 | 3 | -2/+13 |
| | |