Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | layout: add floats | bptato | 2023-11-17 | 3 | -222/+562 |
| | | | | | | | | | | | | | yay!!!! * Add support for float: left, float: right Also, misc stuff: * Add support for display: flow-root * Set line width to the maximum allowed width on line wrap * Various refactorings Still todo: support clear | ||||
* | env: add window.frames, window.self | bptato | 2023-11-15 | 1 | -0/+6 |
| | | | | both just return identity | ||||
* | dom: fix lastElementChild | bptato | 2023-11-13 | 1 | -1/+1 |
| | |||||
* | layout: refactor flow margin propagation, sizing | bptato | 2023-11-12 | 4 | -615/+637 |
| | | | | | | | | | * Blocks are now positioned before their text contents would be layouted * Untangle calcAvailableSpaceSizes's results from BlockBox * Move a couple of objects from box -> engine * Use Size in a few more places * Set display to block if float is not none | ||||
* | color: fix 3/6-digit hex color parsing | bptato | 2023-11-11 | 1 | -2/+4 |
| | |||||
* | layout: refactor block layouting | bptato | 2023-10-28 | 1 | -151/+165 |
| | | | | merge positionBlocks with buildBlocks | ||||
* | layout: refactor | bptato | 2023-10-28 | 2 | -273/+278 |
| | | | | | | * remove Viewport reference from BlockBox * Viewport -> LayoutState (call it what it really is) * move more stuff from box -> engine | ||||
* | buffer: remove viewport reference | bptato | 2023-10-28 | 4 | -22/+16 |
| | | | | | Viewport at this point is basically just the layout state, so it makes no sense to store it in buffer. | ||||
* | Add -C option | bptato | 2023-10-27 | 3 | -150/+178 |
| | |||||
* | toml: fix dquote escaping | bptato | 2023-10-26 | 1 | -1/+1 |
| | |||||
* | renderdocument: slightly refactor, optimize addLines | bptato | 2023-10-26 | 3 | -39/+28 |
| | |||||
* | layout/engine: refactor inline atoms etc. | bptato | 2023-10-26 | 3 | -248/+256 |
| | |||||
* | buffer: close ssock on exit | bptato | 2023-10-26 | 1 | -0/+1 |
| | |||||
* | layout/engine: reformat | bptato | 2023-10-26 | 1 | -26/+45 |
| | |||||
* | layout/engine: add table row group/caption to anon table | bptato | 2023-10-26 | 1 | -0/+2 |
| | | | | bugfix, bugfix... | ||||
* | dom: expose head, body, window (as defaultView) | bptato | 2023-10-25 | 1 | -3/+3 |
| | |||||
* | buffer: call load event on load | bptato | 2023-10-25 | 1 | -1/+13 |
| | |||||
* | js: refine isInstanceOf check in functions | bptato | 2023-10-25 | 3 | -13/+30 |
| | | | | Special case the global object, check for inheritance, etc. | ||||
* | window: inherit from EventTarget | bptato | 2023-10-25 | 1 | -2/+3 |
| | |||||
* | dom: add some CSSStyleDeclaration functions | bptato | 2023-10-25 | 3 | -2/+52 |
| | |||||
* | js: define global properties as CONFIGURABLE | WRITABLE | bptato | 2023-10-25 | 2 | -2/+7 |
| | |||||
* | reduce new() usage | bptato | 2023-10-25 | 12 | -102/+102 |
| | |||||
* | dom: proper relList support | bptato | 2023-10-25 | 1 | -30/+71 |
| | |||||
* | Add jspropnames, CSSStyleDeclaration stub | bptato | 2023-10-25 | 6 | -35/+213 |
| | |||||
* | dom: add cloneNode | bptato | 2023-10-24 | 1 | -2/+89 |
| | |||||
* | Remove trailing spaces | bptato | 2023-10-23 | 8 | -91/+91 |
| | |||||
* | dom: add outerHTML setter | bptato | 2023-10-23 | 2 | -53/+146 |
| | | | | Also, misc. refactorings | ||||
* | Add innerHTML setter | bptato | 2023-10-23 | 3 | -10/+67 |
| | | | | yay | ||||
* | dom: use same url in eval filename as in the console.log statement | bptato | 2023-10-22 | 1 | -2/+2 |
| | |||||
* | update chakasu | bptato | 2023-10-22 | 1 | -1/+1 |
| | |||||
* | Remove runestream | bptato | 2023-10-22 | 1 | -31/+0 |
| | | | | unused | ||||
* | fromjs: update FromJSAllowedT | bptato | 2023-10-21 | 1 | -1/+2 |
| | |||||
* | fromjs: remove IsNumber check from float, remove unused functions | bptato | 2023-10-21 | 1 | -21/+0 |
| | |||||
* | fromJSInt: do not fail if not IsNumber | bptato | 2023-10-21 | 1 | -2/+0 |
| | | | | to match standard behavior (e.g. accept null as int, etc) | ||||
* | base64: reduce pointless re-coding using JSString | bptato | 2023-10-21 | 7 | -39/+49 |
| | | | | | We now expose some functions from QuickJS to interact with JavaScript strings without re-encoding them into UTF-8. | ||||
* | javascript: add TextEncoder, TextDecoder | bptato | 2023-10-21 | 10 | -1/+194 |
| | |||||
* | warn on eprint in release mode | bptato | 2023-10-21 | 3 | -3/+12 |
| | | | | Maybe it's easier to avoid accidentally including like this | ||||
* | loader: remove stray eprint | bptato | 2023-10-21 | 1 | -1/+0 |
| | |||||
* | loader/http: do not choke on 103 early hints, use copyMem | bptato | 2023-10-20 | 1 | -11/+39 |
| | |||||
* | term: replace control chars in setTitle | bptato | 2023-10-20 | 1 | -1/+5 |
| | |||||
* | WindowAttributes: refactor | bptato | 2023-10-19 | 15 | -67/+75 |
| | | | | | | * rename module (window -> winattrs, to avoid conflict with env/window) * do not use result * remove unused cell_ratio | ||||
* | dirlist: quote path names in href | bptato | 2023-10-18 | 1 | -1/+1 |
| | | | | | | | so that it does not choke on files with an apos in them. (We could also htmlEscape it, but this should be enough since we percent-encode the paths already.) | ||||
* | Fix crash on `cha -' | bptato | 2023-10-18 | 1 | -3/+5 |
| | |||||
* | socketstream: get rid of pointer arithmetic | bptato | 2023-10-18 | 1 | -2/+4 |
| | |||||
* | pager/lineedit: notify lineedit of windowChange | bptato | 2023-10-18 | 2 | -0/+6 |
| | | | | this was causing crashes | ||||
* | css: fix list style type presentational hints | bptato | 2023-10-14 | 1 | -17/+20 |
| | | | | third time's the charm | ||||
* | css: support more list types, fix <ul/ol type=... | bptato | 2023-10-14 | 2 | -9/+39 |
| | | | | | | | Turns out you can't just throw the value into the CSS value parser. (Also, correction for the previous commit message: it is not LI but UL or OL.) | ||||
* | css: support alphabetic list types, support <LI TYPE=... | bptato | 2023-10-14 | 2 | -2/+59 |
| | |||||
* | container: add cursorNthLink, cursorRevNthLink | bptato | 2023-10-14 | 3 | -5/+53 |
| | |||||
* | remove outdated comment | bptato | 2023-10-14 | 1 | -1/+0 |
| |