about summary refs log tree commit diff stats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* layout: add floatsbptato2023-11-173-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.selfbptato2023-11-151-0/+6
| | | | both just return identity
* dom: fix lastElementChildbptato2023-11-131-1/+1
|
* layout: refactor flow margin propagation, sizingbptato2023-11-124-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 parsingbptato2023-11-111-2/+4
|
* layout: refactor block layoutingbptato2023-10-281-151/+165
| | | | merge positionBlocks with buildBlocks
* layout: refactorbptato2023-10-282-273/+278
| | | | | | * remove Viewport reference from BlockBox * Viewport -> LayoutState (call it what it really is) * move more stuff from box -> engine
* buffer: remove viewport referencebptato2023-10-284-22/+16
| | | | | Viewport at this point is basically just the layout state, so it makes no sense to store it in buffer.
* Add -C optionbptato2023-10-273-150/+178
|
* toml: fix dquote escapingbptato2023-10-261-1/+1
|
* renderdocument: slightly refactor, optimize addLinesbptato2023-10-263-39/+28
|
* layout/engine: refactor inline atoms etc.bptato2023-10-263-248/+256
|
* buffer: close ssock on exitbptato2023-10-261-0/+1
|
* layout/engine: reformatbptato2023-10-261-26/+45
|
* layout/engine: add table row group/caption to anon tablebptato2023-10-261-0/+2
| | | | bugfix, bugfix...
* dom: expose head, body, window (as defaultView)bptato2023-10-251-3/+3
|
* buffer: call load event on loadbptato2023-10-251-1/+13
|
* js: refine isInstanceOf check in functionsbptato2023-10-253-13/+30
| | | | Special case the global object, check for inheritance, etc.
* window: inherit from EventTargetbptato2023-10-251-2/+3
|
* dom: add some CSSStyleDeclaration functionsbptato2023-10-253-2/+52
|
* js: define global properties as CONFIGURABLE | WRITABLEbptato2023-10-252-2/+7
|
* reduce new() usagebptato2023-10-2512-102/+102
|
* dom: proper relList supportbptato2023-10-251-30/+71
|
* Add jspropnames, CSSStyleDeclaration stubbptato2023-10-256-35/+213
|
* dom: add cloneNodebptato2023-10-241-2/+89
|
* Remove trailing spacesbptato2023-10-238-91/+91
|
* dom: add outerHTML setterbptato2023-10-232-53/+146
| | | | Also, misc. refactorings
* Add innerHTML setterbptato2023-10-233-10/+67
| | | | yay
* dom: use same url in eval filename as in the console.log statementbptato2023-10-221-2/+2
|
* update chakasubptato2023-10-221-1/+1
|
* Remove runestreambptato2023-10-221-31/+0
| | | | unused
* fromjs: update FromJSAllowedTbptato2023-10-211-1/+2
|
* fromjs: remove IsNumber check from float, remove unused functionsbptato2023-10-211-21/+0
|
* fromJSInt: do not fail if not IsNumberbptato2023-10-211-2/+0
| | | | to match standard behavior (e.g. accept null as int, etc)
* base64: reduce pointless re-coding using JSStringbptato2023-10-217-39/+49
| | | | | We now expose some functions from QuickJS to interact with JavaScript strings without re-encoding them into UTF-8.
* javascript: add TextEncoder, TextDecoderbptato2023-10-2110-1/+194
|
* warn on eprint in release modebptato2023-10-213-3/+12
| | | | Maybe it's easier to avoid accidentally including like this
* loader: remove stray eprintbptato2023-10-211-1/+0
|
* loader/http: do not choke on 103 early hints, use copyMembptato2023-10-201-11/+39
|
* term: replace control chars in setTitlebptato2023-10-201-1/+5
|
* WindowAttributes: refactorbptato2023-10-1915-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 hrefbptato2023-10-181-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 -'bptato2023-10-181-3/+5
|
* socketstream: get rid of pointer arithmeticbptato2023-10-181-2/+4
|
* pager/lineedit: notify lineedit of windowChangebptato2023-10-182-0/+6
| | | | this was causing crashes
* css: fix list style type presentational hintsbptato2023-10-141-17/+20
| | | | third time's the charm
* css: support more list types, fix <ul/ol type=...bptato2023-10-142-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=...bptato2023-10-142-2/+59
|
* container: add cursorNthLink, cursorRevNthLinkbptato2023-10-143-5/+53
|
* remove outdated commentbptato2023-10-141-1/+0
|