about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* url: do not rely on $ -> toString conversionbptato2025-01-011-2/+2
| | | | I want to remove it
* layout, dom: input rendering fixesbptato2025-01-016-3/+15
| | | | | * do not display submit/reset text with empty value * fix erroneous blank placement with white-space: pre on new line
* layout: fix regression in cd069a76ebptato2025-01-013-18/+20
|
* layout: prevent double-clear for flow rootsbptato2025-01-013-11/+49
| | | | I don't like the extra flag, but I don't see a better way.
* config: deprecate 8bit, 24bit color-mode aliasesbptato2025-01-011-0/+2
|
* dom: add cookie setter stub, HTMLSelectElement stuffbptato2025-01-011-19/+68
|
* layout: add missing StyledNode ref to parent inline boxesbptato2025-01-011-1/+2
| | | | this broke gotoAnchor in some cases
* dom: small refactoring + optimizationbptato2024-12-312-22/+22
|
* dom: expose currentScriptbptato2024-12-311-1/+1
|
* cascade: prevent blockification for non-inline absolute boxesbptato2024-12-303-4/+46
| | | | The standard says we should blockify. Alas, the standard is lying.
* layout: absolute sizing fixesbptato2024-12-305-4/+113
|
* cascade: inline presentational hint calculationbptato2024-12-301-19/+19
| | | | no need to alloc a seq for this
* format, tools: use ARCbptato2024-12-303-2/+6
| | | | | Greatly reduces binary sizes. I won't risk it for protocols yet. Neither for img, because it doesn't work with sixel at all. (y?)
* Add built-in image viewerbptato2024-12-305-3/+40
| | | | | | It works by emitting a base64 URI inside an img tag. Very inefficient, but useful if no external viewer is set up (e.g. over SSH).
* buffer: make video, audio clickablebptato2024-12-306-39/+78
| | | | | more intuitive than shoehorning it into "view image" (also makes it easier to apply the content type)
* layout: fix position: relative for right, bottombptato2024-12-303-4/+17
| | | | | | | They are relative to the box's actual position, not that of the parent: > For relatively positioned boxes, the offset is with respect to the > bottom edge of the box itself.
* dom, cssvalues: add getComputedStylebptato2024-12-305-44/+113
| | | | Only available in "app" mode.
* layout: fix an overflow bugbptato2024-12-303-1/+29
|
* pager: misc improvementsbptato2024-12-301-44/+44
| | | | ok I'll use result, whatever
* dom: add input type getter/setterbptato2024-12-301-1/+1
|
* script: improve defineConstsbptato2024-12-306-5/+21
| | | | | | Well, I guess this works for now, but something is still wrong. In Gecko, document.__proto__ === Document.__proto__, but in Chawan, it isn't.
* cssvalues: fix length shorthand parsingbptato2024-12-302-4/+3
|
* env: stub postMessagebptato2024-12-301-0/+3
|
* cssvalues: fix font-weight parsingbptato2024-12-293-3/+4
| | | | | | you can't bisearch an unsorted map... (also, turn on text styling for colored layout tests because it would have caught this)
* lcgi: add missing noreturnbptato2024-12-291-1/+1
|
* Update docsbptato2024-12-292-3/+27
|
* cookie: add persistent cookies, misc refactoring/fixesbptato2024-12-2915-293/+572
| | | | | | | | | | | | | Mostly compatible with other browsers/tools that follow the Netscape/curl format. Cookie jars are represented by prepending "jar@" to the host part, but *only* if the target jar is different than the domain. Hopefully, other software at least does not choke on this convention. (At least curl seems to simply ignore the entries.) Also, I've moved cookies.nim to config so that code for local files parsed at startup remains in one place.
* config: clean up redundant CHA_DIR, update CGI docsbptato2024-12-295-47/+23
| | | | | "No CGI dir configured" is no longer a common case, so it's OK to just return "CGI file not found".
* pager: small cleanupbptato2024-12-291-2/+1
|
* history: remove comment parsing, fix fd leakbptato2024-12-292-8/+9
|
* xhr: fix flipped exception in overrideMimeTypebptato2024-12-282-1/+3
|
* cookie: remove redundant checkbptato2024-12-281-3/+1
| | | | | | | | This only resulted in false negatives; seems like it's a remnant from the old, non-standard implementation that did not correctly check for the per-cookie domain. (also, fix a strict def)
* layout: fix various padding bugsbptato2024-12-283-32/+52
| | | | | | | | They need some peculiar conditions to manifest, but the logic errors are clear: * padding contributing to intrinsic minimum size wasn't being clamped * inline padding was being applied twice
* uri2html: escape ampersandbptato2024-12-281-1/+1
|
* env: add innerWidth, innerHeightbptato2024-12-281-0/+6
|
* env: do not copy attrs, fix screen on clientbptato2024-12-285-29/+31
| | | | Now screen.width etc. works in the pager too.
* layout: fix a flex sizing bugbptato2024-12-273-5/+18
| | | | | it has to accept percentage sizes too for intrinsic size clamping, it seems
* cookie: remove broken third-party-cookie optionbptato2024-12-274-37/+6
| | | | | | | | | Looking at it closer, this never actually did what it advertised to do. It only affected first-party cookies from subdomains, but that has been fixed; third-party cookies were never supported in the first place. (In fact, even first-party cookies are still skipped unless directly received on navigation. This should probably be fixed.)
* dom: standard querySelector/All; type erase childrenbptato2024-12-272-27/+54
|
* dom: set elIndex to -1 for AttrDummyElementbptato2024-12-271-0/+2
|
* dom: expose getPropertyValuebptato2024-12-271-1/+1
|
* term: fix in-cell offset bug on kitty image scrollbptato2024-12-271-0/+5
| | | | | If the image has an offx or offy, then it means it is partially outside the screen, so its offx2/offy2 is already accounted for.
* CHA_CONFIG_DIR -> CHA_DIRbptato2024-12-2710-16/+23
| | | | | | | It isn't really limited to config. It just happens to be in XDG_CONFIG_HOME because XDG basedirs suck. (W3M_DIR works similarly.)
* Update docsbptato2024-12-274-164/+220
| | | | | Licenses now ordered by "explicitly PD", "PD-equivalent" and "not PD-equivalent".
* dom: add focus()bptato2024-12-274-4/+16
| | | | Respects autofocus.
* Update monouchabptato2024-12-262-6/+6
|
* layout: improve intrinsic minimum size calculationbptato2024-12-2610-85/+225
| | | | | It's a fair bit more accurate now on flex-heavy pages. Image sizing remains a broken mess.
* jsencoding: fix nil deref on empty encode inputbptato2024-12-262-9/+10
|
* term: fix display-charset not being interpretedbptato2024-12-261-5/+5
| | | | Also fixes the -O option.
* Update todobptato2024-12-261-3/+5
|