about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Version 0.9.2bptato2023-08-153-1/+34
| |
| * Update readmebptato2023-08-151-1/+0
| |
| * Split out decoderbptato2023-08-1541-78531/+8
| |
| * Add simple testbptato2023-08-153-0/+100
| | | | | | | | Just to check if it compiles
| * htmlparser: fix IN_HEAD whitespacebptato2023-08-151-1/+1
| | | | | | | | It should be inserted, not discarded.
| * Remove srcdirbptato2023-08-1448-8/+0
| | | | | | | | Easier to import as a submodule this way.
| * Add temporary link to documentationbptato2023-08-011-2/+2
| | | | | | | | better than nothing :)
| * Fix broken importsbptato2023-08-012-6/+6
| |
| * Rename readmebptato2023-08-011-0/+0
| | | | | | | | So that sourcehut can find it
| * Import chamebptato2023-08-0150-0/+86279
|
* Remove submodulesbptato2025-01-1810-71/+17
| | | | | I got tired of submodules. This commit doesn't build; subtrees incoming...
* pager: keep reading if term has chars bufferedbptato2025-01-182-0/+7
|
* dom: optimizebptato2025-01-182-10/+16
| | | | We'll see if the borrow checker actually works :)
* dom: compare rel case insensitivelybptato2025-01-172-7/+12
|
* dom: fix input checkedness invalidationbptato2025-01-171-0/+4
|
* sheet: dedupe tag :is hashesbptato2025-01-171-1/+2
|
* render: fix formatting being lost outside boxes with bgcolorbptato2025-01-175-21/+32
| | | | | | An ancient bug, but the fix seems to be quite simple: stop confusing the last X position before the existing string on the line with the last X position that the new string occupies.
* render: simplify some pointless delete/insert callsbptato2025-01-171-8/+4
|
* pager: merge ask with askChar, remove urandombptato2025-01-172-45/+36
|
* term: rework input bufferbptato2025-01-175-17/+27
| | | | heh
* stylednode: remove obsolete templatebptato2025-01-171-4/+1
|
* container: fix crash on clicking label for empty selectbptato2025-01-161-1/+1
|
* dom: add Option constructorbptato2025-01-161-0/+13
|
* dom: set target on dispatchbptato2025-01-161-0/+1
|
* render: overprint existing text when painting backgroundsbptato2025-01-163-14/+32
| | | | | | | | Even if we don't do some z-ordering correctly, it's no excuse to paint boxes incorrectly. It's also extremely annoying when I try to use a menu and text bleeds into the drop-down window.
* term: fix non-UTF-8 visual outputbptato2025-01-161-8/+7
|
* css: reduce StyledNode usebptato2025-01-165-69/+62
| | | | | Eventually the tree should be collapsed into the DOM, and StyledNode should be created on the stack.
* cssvalues: serialize quotes, add font-size, opacitybptato2025-01-163-34/+49
| | | | | | | | | | | | font-size isn't very useful, but some scripts assume it exists. opacity: 0 for now is special cased: it inhibits rendering of further boxes. This isn't quite right, as it should just behave as a pseudo visibility: hidden... nonetheless it's quite effective at hiding garbage. (Also, remove incorrect comment - it can be nil if the branch has no variables.)
* env, dom: add crypto.getRandomValues, HTMLInputElement.filesbptato2025-01-167-19/+40
|
* config: fix default searchbptato2025-01-161-1/+13
| | | | | Google no longer allows no-JS search - it's broken on Firefox as well. For now, the old version still works...
* Update docsbptato2025-01-164-25/+33
|
* cascade: basic CSS variable supportbptato2025-01-166-164/+296
| | | | | | | | | | | and once again, there was light... Well, it barely works, but it's enough to get colors back on most sites. Nested variables aren't supported for now, and shorthand expansion only "works" for `background' (it's a hack). Props to the W3C for introducing the C preprocessor to CSS - I was starting to confuse it with JSSS after calc().
* sheet, selectorparser: fix attr hashing, hash multiple tags in :isbptato2025-01-162-17/+18
|
* quirk.css, ua.css: adjust marginsbptato2025-01-163-1/+4
|
* dom: optimize isFirstVisualNodebptato2025-01-151-8/+7
|
* cssparser: enumize CSSFunction namebptato2025-01-153-15/+30
|
* pager: improve content type handlingbptato2025-01-155-55/+50
| | | | also remove some unused fields of Container
* Update docsbptato2025-01-1513-29/+274
|
* layout: truncate inline-block margins as wellbptato2025-01-151-0/+4
|
* widthconv: fix hiragana -> half-width kana conversionbptato2025-01-153-0/+5
| | | | Unicode has no half-width hiragana :/
* Update manpagesbptato2025-01-159-9/+10
|
* ua.css: fix select multiple renderingbptato2025-01-153-5/+31
|
* buffer: add back node nil checksbptato2025-01-151-2/+2
| | | | | Actually, I'm not sure if this can be nil, especially in anonymous table boxes...
* cascade, stylednode: remove parent field from StyledNodebptato2025-01-153-143/+140
| | | | | | | | Now StyledNode has an "element" reference, which refers to the element it was derived from. This reduces the object's size, removes the need for casting around the "node" field, and also gets rid of a pointless cycle.
* cascade: fix hasValues filterbptato2025-01-141-6/+5
|
* css: refactor selector parsing & cascading, some work on variablesbptato2025-01-146-202/+258
| | | | | | | | | 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...
* ua.css: fix ol[type=1]bptato2025-01-141-1/+1
|
* More strict defsbptato2025-01-144-32/+38
|
* opt: remove value.ok, value.err overloads, use lentbptato2025-01-142-18/+6
| | | | | | largely unused lent idea from nim-results
* Update monouchabptato2025-01-133-7/+7
|