about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* dom: add outerHTML setterbptato2023-10-232-53/+146
| | | | Also, misc. refactorings
* Add innerHTML setterbptato2023-10-234-10/+67
| | | | yay
* about:chawan: fix markupbptato2023-10-231-8/+8
|
* dom: use same url in eval filename as in the console.log statementbptato2023-10-221-2/+2
|
* update chakasubptato2023-10-222-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-212-3/+0
| | | | to match standard behavior (e.g. accept null as int, etc)
* Update todobptato2023-10-211-1/+0
|
* base64: reduce pointless re-coding using JSStringbptato2023-10-219-40/+84
| | | | | We now expose some functions from QuickJS to interact with JavaScript strings without re-encoding them into UTF-8.
* javascript: add TextEncoder, TextDecoderbptato2023-10-2111-1/+194
|
* Update readmebptato2023-10-211-3/+8
|
* 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-145-20/+66
|
* remove outdated commentbptato2023-10-141-1/+0
|
* XHR progressbptato2023-10-143-9/+112
| | | | still non-functional
* layout: move Strut from box -> enginebptato2023-10-142-13/+14
|
* Update readmebptato2023-10-141-0/+2
|
* Makefile: create manpage directories, fix wrong file modesbptato2023-10-141-6/+8
| | | | | | | * mkdir manpage directories too (not just prefix/bin) * use 0644 file mode instead of the nonsensical 0655 See https://todo.sr.ht/~bptato/chawan/1
* layout: remove unused InlineAtom membersbptato2023-10-141-2/+0
|
* layout: add LineBoxStatebptato2023-10-142-64/+82
| | | | Makes LineBox objects a bit smaller.
* layout: get rid of baseline, firstBaseline functionsbptato2023-10-142-25/+22
|
* fix commentbptato2023-10-131-1/+1
|
* layout: refactor InlineContextbptato2023-10-132-162/+187
| | | | | Most InlineContext members may be discarded after layout, and thus belong in InlineState.
* slightly refactor md to man preprocessing, update manpagebptato2023-10-133-9/+9
|
* Refactor Consolebptato2023-10-137-118/+172
| | | | | * merge dom.console & client.Console * move client-specific stuff out of Console (into callbacks when necessary)
* add_eval_variables: do not close over `this' twicebptato2023-10-131-1/+2
| | | | | See https://github.com/bellard/quickjs/issues/192. (Thanks to @dchest for the proposed fix.)
* trans.cgi: minor fixbptato2023-10-091-1/+1
|
* update w3m.tomlbptato2023-10-091-26/+39
|
* config: fix `include` namingbptato2023-10-091-4/+4
| | | | use what is documented
* improve trans.cgibptato2023-10-091-5/+23
| | | | document, simplify, ...
* gmifetch: get rid of globalsbptato2023-10-091-39/+43
| | | | it was horrible code style... (gmifetch still kind of is :/)
* gmifetch: -O3bptato2023-10-091-1/+1
|
* gmifetch: fix buffer overflowbptato2023-10-081-1/+1
| | | | ew
* move workaround from previous commitbptato2023-10-052-2/+4
| | | | agh... it didn't work with GCC
* Workaround for clang 16bptato2023-10-051-0/+2
| | | | | | | Needed to get Chawan to compile on FreeBSD... (clang 16 makes passing incompatible pointer types an error, but that breaks our C bindings.)
* chawan.html: add missing linebreakbptato2023-10-051-2/+2
| | | | needed to avoid the logo overwriting text
* twtstr: optimize widthbptato2023-10-011-34/+17
|