Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | buffer, event: add input events, set isTrusted | bptato | 2025-02-07 | 3 | -1/+40 | |
| | ||||||
* | catom: convert JS_ATOM_NULL to CAtomNull | bptato | 2025-02-06 | 1 | -3/+6 | |
| | | | | unsure about the utility of this, but why not | |||||
* | jsintl: support units | bptato | 2025-02-06 | 1 | -20/+194 | |
| | ||||||
* | dom: various collection fixes | bptato | 2025-02-05 | 1 | -8/+28 | |
| | | | | | | | | | | * fix iterator assertion failing if finalizer del's after incl * fix strange mismatch in id * fix missing HTMLOptionsCollection finalizer * optimize refreshCollection * fix root liveCollections not being updated by the finalizer Now it shouldn't crash pages anymore. | |||||
* | formdata: fix FormData constructor, append filename handling | bptato | 2025-02-05 | 1 | -19/+22 | |
| | | | | + some strict defs | |||||
* | 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 | 2 | -0/+6 | |
| | ||||||
* | dom: reflect iframe src, name | bptato | 2025-02-03 | 1 | -2/+2 | |
| | ||||||
* | 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... | |||||
* | 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 | 1 | -7/+10 | |
| | ||||||
* | dom, layout: fix empty canvas cache ids | bptato | 2025-02-01 | 1 | -0/+2 | |
| | | | | ok now I understand why I made shareCachedItem crash... | |||||
* | dom: add title setter, unify newText use | bptato | 2025-02-01 | 2 | -5/+19 | |
| | | | | createTextNode is redundant... | |||||
* | dom: basic module support | bptato | 2025-02-01 | 3 | -9/+84 | |
| | | | | probably breaks with TLA | |||||
* | buffer: drop pipe, pipe2, passFd privileges | bptato | 2025-01-30 | 1 | -20/+4 | |
| | | | | | All uses of these could be delegated to other processes with more privileges. | |||||
* | event: fix some refcounting bugs | bptato | 2025-01-28 | 2 | -5/+6 | |
| | ||||||
* | cascade: reuse input value when possible | bptato | 2025-01-27 | 1 | -17/+35 | |
| | ||||||
* | chadombuilder: perform microtask checkpoint on script insertion | bptato | 2025-01-23 | 3 | -14/+26 | |
| | ||||||
* | dom: fix img tag insertion steps | bptato | 2025-01-23 | 1 | -1/+1 | |
| | | | | | TAG_IMAGE does not really exist; it's auto-converted to TAG_IMG by the parser. | |||||
* | Add annotations for move semantics | bptato | 2025-01-22 | 3 | -24/+25 | |
| | | | | | | | | | Supposedly they aren't broken in refc after 2.0.0, so we can do this now that 1.6.14 is dropped. I've confirmed lent to work as advertised; it indeed reduces copies. sink doesn't seem to help much, but I guess it will be useful once we switch to ORC. | |||||
* | javascript: add .jsrget, .jsrfget | bptato | 2025-01-22 | 1 | -16/+13 | |
| | | | | Implements the [Replaceable] WebIDL property. | |||||
* | dom: add some missing nil checks | bptato | 2025-01-22 | 1 | -6/+14 | |
| | ||||||
* | cssvalues: fix rgba() function parsing | bptato | 2025-01-20 | 1 | -1/+1 | |
| | ||||||
* | cascade: collapse StyledNode tree into DOM | bptato | 2025-01-20 | 2 | -106/+168 | |
| | | | | | We now compute styles on-demand, which is both more efficient and simpler than the convoluted tree diffing logic we previously used. | |||||
* | dom: simplify a bit | bptato | 2025-01-19 | 1 | -1/+1 | |
| | ||||||
* | dom: CSSStyleDeclaration improvements | bptato | 2025-01-19 | 2 | -17/+26 | |
| | | | | Now getComputedStyle works with pseudo-elements too. | |||||
* | dom, stylednode: move more fields, handle pseudo-element getComputedStyle | bptato | 2025-01-18 | 2 | -27/+91 | |
| | ||||||
* | dom: optimize | bptato | 2025-01-18 | 2 | -10/+16 | |
| | | | | We'll see if the borrow checker actually works :) | |||||
* | dom: compare rel case insensitively | bptato | 2025-01-17 | 2 | -7/+12 | |
| | ||||||
* | dom: fix input checkedness invalidation | bptato | 2025-01-17 | 1 | -0/+4 | |
| | ||||||
* | dom: add Option constructor | bptato | 2025-01-16 | 1 | -0/+13 | |
| | ||||||
* | dom: set target on dispatch | bptato | 2025-01-16 | 1 | -0/+1 | |
| | ||||||
* | env, dom: add crypto.getRandomValues, HTMLInputElement.files | bptato | 2025-01-16 | 3 | -9/+29 | |
| | ||||||
* | dom: optimize isFirstVisualNode | bptato | 2025-01-15 | 1 | -8/+7 | |
| | ||||||
* | pager: improve content type handling | bptato | 2025-01-15 | 1 | -1/+1 | |
| | | | | also remove some unused fields of Container | |||||
* | css: refactor selector parsing & cascading, some work on variables | bptato | 2025-01-14 | 1 | -4/+6 | |
| | | | | | | | | | Untangled some nested arrays to reduce the number of intermediary seqs in cascade, and collapsed the two rule def sorts into just one (per pseudo element). This should make cascading somewhat faster. Also, we now parse variables, but they aren't resolved yet. Probably a seq won't cut it for var lookup... | |||||
* | dom: mark insertBefore "before" as Option | bptato | 2025-01-13 | 2 | -12/+14 | |
| | ||||||
* | dom: fix leak, HTMLOptionsCollection length getter | bptato | 2025-01-13 | 1 | -0/+4 | |
| | | | | Fixes acid3 test 57 | |||||
* | dom: HTMLTemplateElement content getter | bptato | 2025-01-13 | 1 | -1/+1 | |
| | ||||||
* | config: switch to camel case | bptato | 2025-01-13 | 1 | -11/+1 | |
| | | | | | | We already need a camel -> kebab converter anyway. Unfortunately this also changes JS binding names, so it's a breaking change. Oh well. | |||||
* | cssvalues: reduce CSSValues size | bptato | 2025-01-12 | 1 | -7/+3 | |
| | | | | | | | | | | | | | | | | * switch from float64 -> float32; other browsers use 32-bit floats too * specify integer size as 32-bit * use NetworkBitmap for background-image value (currently just an invalid dummy value) * remove "none" property & value types CSSValue's payload is always one word (plus another for the type tag). CSSValues keeps its size, but no longer has to heap-alloc + refcount word-sized CSSValues. (On 32-bit systems, CSSValues might actually be larger than before, but I expect it's still a net benefit with the removal of refcounting and the switch to 32-bit floats.) | |||||
* | dom: reflect title | bptato | 2025-01-10 | 1 | -1/+2 | |
| | ||||||
* | dom: add createDocument | bptato | 2025-01-10 | 2 | -19/+55 | |
| | ||||||
* | dom: more select interfaces | bptato | 2025-01-10 | 4 | -12/+71 | |
| | | | | this should be all of them | |||||
* | buffer, ua.css, dom: more select adjustments | bptato | 2025-01-10 | 1 | -15/+40 | |
| | | | | | | | ok, now it works like in w3m. (mostly, barring CSS limitations...) we'll see how this works out Also adds/fixes some select and option DOM APIs. |