about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Version 0.4.1bptato2024-02-233-2/+5
| |
| * Make validator actually workbptato2024-02-223-16/+24
| | | | | | | | | | The API made little sense; `n' was being set almost randomly to "some byte at the current position."
| * Update newsbptato2024-02-211-1/+1
| |
| * Import Chagashibptato2024-02-2159-0/+101329
|
* Add 'lib/chame0/' from commit '93f31143b25349ed071c6f564ecce45a5c2b351c'bptato2025-01-1838-0/+10236
|\ | | | | | | | | | | git-subtree-dir: lib/chame0 git-subtree-mainline: cb1ec272443328c80d9e4bfb17f4853ff2745b16 git-subtree-split: 93f31143b25349ed071c6f564ecce45a5c2b351c
| * Version 1.0.3bptato2025-01-033-2/+5
| |
| * Conform strict defsbptato2025-01-037-37/+40
| |
| * Version 1.0.2bptato2024-11-224-7/+40
| |
| * Update docsbptato2024-11-223-28/+26
| |
| * htmltokenizer: get rid of some redundant checksbptato2024-10-212-166/+112
| |
| * Update gitignorebptato2024-10-211-2/+2
| |
| * htmltokenizer: simplify char ref end statebptato2024-10-211-35/+37
| | | | | | | | + some other small code quality improvements
| * update testsbptato2024-10-212-6/+6
| |
| * update docsbptato2024-10-212-17/+16
| |
| * Update docsbptato2024-10-053-5/+8
| |
| * Version 1.0.1bptato2024-07-284-4/+8
| |
| * htmlparser: small improvementsbptato2024-07-067-15/+13
| | | | | | | | | | | | | | * remove unnecessary stringify + function * remove test artifacts * update chagashi submodule * add test to skipDirs
| * Update readmebptato2024-06-211-4/+5
| |
| * Version 1.0.0bptato2024-06-133-4/+10
| |
| * Update readmebptato2024-06-131-14/+7
| |
| * minidom_cs: switch to chagashibptato2024-06-133-33/+42
| |
| * Reorganize testsbptato2024-06-1320-6/+62
| | | | | | | | not willing to put up with nimble any longer, makefile it is.
| * htmlparser: simplify a bitbptato2024-06-131-13/+6
| |
| * Update docs, todobptato2024-06-043-3/+16
| |
| * Remove parse error callbackbptato2024-05-054-635/+120
| | | | | | | | It never worked properly, it's under-specified, and I don't need it.
| * entity: reduce size somewhatbptato2024-05-053-1060/+764
| | | | | | | | with GCC this shaves 64K off the output
| * Version 0.14.5bptato2024-04-093-2/+8
| |
| * doc: update manualbptato2024-04-091-3/+9
| |
| * tags: remove duplicate definitionURLbptato2024-04-092-8/+7
| | | | | | | | | | | | it causes problems with the naive implementation of TagType enum extension (as we do it in Chawan); better to just convert it dynamically in the very very very rare case that it's needed.
| * htmltokenizer: fix entities starting with `z'bptato2024-04-093-2/+12
| | | | | | | | | | lower-case `z' was missing from the list of generated end indices, which broke character entities starting with `z'.
| * Update readmebptato2024-03-221-0/+4
| |
| * misc refactoringsbptato2024-03-066-335/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | htmlparser: * use when declared() to avoid taskRequires for low nim versions * remove MappedAtom, use TagType instead * remove TokenResult enum (just use ParseResult) * use result of atomToTagType instead of re-doing it everywhere * simplify until() * simplify closeP() htmltokenizer: * simplify numericCharacterReferenceEndState * unify generated eatStrNoCase functions doc: * fix incorrect header tags
| * Version 0.14.4bptato2024-03-033-2/+5
| |
| * htmltokenizer: clean up tokenizeEOFbptato2024-03-031-171/+143
| | | | | | | | | | | | | | This was getting miscompiled on ARM Nim 1.6.14 + GCC into an infinite loop, so we get rid of the loop completely. (Also, remove the reconsumes where possible, and make infinite looping impossible by only doing a second pass when reconsume is absolutely necessary.)
| * Version 0.14.3bptato2024-02-213-2/+5
| |
| * Fix another variation of the entity reference bugbptato2024-02-212-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | 8de948e was an incomplete fix, and of course I only realize this after pushing out a new version :( Specifically, the inner loop of findCharRef can exit in *two* places: a) when an entry with a non-matching initial char is found b) when no more entries exist and the previous patch only fixed case a).
| * Version 0.14.2bptato2024-02-213-2/+7
| |
| * htmltokenizer: fix entity reference parsing bugbptato2024-02-212-0/+14
| | | | | | | | | | | | See the attached test case; the last consumed character in findCharRef reference was being incorrectly flushed, even when it was meant to be reconsumed as markup.
| * Update docsbptato2024-02-102-7/+7
| |
| * Version 0.14.1bptato2024-02-082-2/+2
| |
| * Update readme, newsbptato2024-02-082-2/+7
| |
| * htmlparser: fix associateWithForm callback regressionbptato2024-02-081-1/+2
| | | | | | | | | | | | Introduced in ff757ac0, by an incorrect replacement of `attrs.findAttr(parser.atomMap[ATOM_FORM]) == -1` with `parser.atomMap[ATOM_FORM] in htmlAttrs` flipping the logic.
| * remove utils/ directorybptato2024-02-074-57/+62
| |
| * Version 0.14.0bptato2024-02-072-2/+2
| |
| * Update docsbptato2024-02-075-15/+371
| |
| * htmltokenizer: reduce reconsume_in usebptato2024-02-031-19/+49
| |
| * htmltokenizer: get rid of an unnecessary bufferbptato2024-02-031-13/+14
| | | | | | | | We can just use tmp instead of attrn.
| * Update readmebptato2024-02-021-3/+3
| |
| * doc generation workbptato2024-02-025-121/+217
| |
| * Make parser re-entrantbptato2024-02-0110-407/+562
| | | | | | | | enables document.write