Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | catom: at -> sat | bptato | 2024-03-21 | 1 | -1/+1 |
| | | | | just for consistency | ||||
* | catom: merge TagType with AttrType | bptato | 2024-03-04 | 1 | -1/+0 |
| | | | | | it's inefficient and pointless to treat them differently, so just derive a new enum from TagType with a macro | ||||
* | dom: enumize attribute names | bptato | 2024-02-08 | 1 | -1/+2 |
| | |||||
* | Update chame | bptato | 2024-02-07 | 1 | -5/+4 |
| | | | | | | | | * Update chame to the latest version * Get rid of nodeType usage * Add atoms * Re-implement DOM attributes * document.write | ||||
* | Use std/* imports everywhere | bptato | 2024-01-07 | 1 | -4/+4 |
| | |||||
* | css: add case-insensitive matching | bptato | 2023-12-11 | 1 | -7/+44 |
| | | | | Also case-sensitive, but for now that is the same as normal matching... | ||||
* | selectorparser: enum-ize rel | bptato | 2023-12-09 | 1 | -8/+7 |
| | |||||
* | Move HTML parsing into Chame | bptato | 2023-08-15 | 1 | -1/+2 |
| | | | | Operation "modularize Chawan somewhat" part 2 | ||||
* | Fixes & workarounds to compile on Nim 2.0.0 | bptato | 2023-08-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * Import punycode, as it has been removed from stdlib. * Fix some syntax errors * Apparently you can no longer compare distinct pointers with nil. Add explicit comparisons with typeof(nil) instead. * htmlparser: rename _ to other, as semantics of _ have changed. (Quite a shame, it looked better with _. Oh well.) * Explicitly specify mm:refc, as the browser OOMs with orc for some reason. Confirmed to compile & run on 2.0.0, 1.6.14, 1.6.12, 1.6.10 and 1.6.8. (<1.6.8 it's broken & wontfix.) | ||||
* | css: handle unknown tag names correctly | bptato | 2023-07-25 | 1 | -0/+2 |
| | | | | | | Instead of grouping all of them into TAG_UNKNOWN, match their tag names. To-do: this implementation is not very efficient. | ||||
* | css/match: fix next sibling selector (+) | bptato | 2023-02-13 | 1 | -2/+2 |
| | |||||
* | WIP selector rewrite | bptato | 2023-01-27 | 1 | -86/+69 |
| | | | | pretty slow for some reason | ||||
* | selectorparser: support :link, :visited | bptato | 2023-01-01 | 1 | -0/+4 |
| | | | | I say "support", but :visited is never matched. | ||||
* | css: fix some bugs and improve cascading a bit | bptato | 2022-12-29 | 1 | -0/+2 |
| | |||||
* | More DOM work | bptato | 2022-12-19 | 1 | -4/+4 |
| | |||||
* | Add JS support to documents | bptato | 2022-12-18 | 1 | -1/+1 |
| | |||||
* | More JS bindings | bptato | 2022-09-13 | 1 | -4/+6 |
| | |||||
* | Fix combinator bugs + reimplement querySelectorAll | bptato | 2022-09-01 | 1 | -77/+31 |
| | |||||
* | Fix :nth-last-child | bptato | 2022-08-23 | 1 | -3/+9 |
| | |||||
* | Use more accurate selector terminology | bptato | 2022-08-23 | 1 | -3/+3 |
| | |||||
* | Fix nth-child bugs, rename select to match | bptato | 2022-08-23 | 1 | -0/+257 |