Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add 'lib/chame0/' from commit '93f31143b25349ed071c6f564ecce45a5c2b351c' | bptato | 2025-01-18 | 38 | -0/+10236 | |
|\ | | | | | | | | | | | git-subtree-dir: lib/chame0 git-subtree-mainline: cb1ec272443328c80d9e4bfb17f4853ff2745b16 git-subtree-split: 93f31143b25349ed071c6f564ecce45a5c2b351c | |||||
| * | Version 1.0.3 | bptato | 2025-01-03 | 3 | -2/+5 | |
| | | ||||||
| * | Conform strict defs | bptato | 2025-01-03 | 7 | -37/+40 | |
| | | ||||||
| * | Version 1.0.2 | bptato | 2024-11-22 | 4 | -7/+40 | |
| | | ||||||
| * | Update docs | bptato | 2024-11-22 | 3 | -28/+26 | |
| | | ||||||
| * | htmltokenizer: get rid of some redundant checks | bptato | 2024-10-21 | 2 | -166/+112 | |
| | | ||||||
| * | Update gitignore | bptato | 2024-10-21 | 1 | -2/+2 | |
| | | ||||||
| * | htmltokenizer: simplify char ref end state | bptato | 2024-10-21 | 1 | -35/+37 | |
| | | | | | | | | + some other small code quality improvements | |||||
| * | update tests | bptato | 2024-10-21 | 2 | -6/+6 | |
| | | ||||||
| * | update docs | bptato | 2024-10-21 | 2 | -17/+16 | |
| | | ||||||
| * | Update docs | bptato | 2024-10-05 | 3 | -5/+8 | |
| | | ||||||
| * | Version 1.0.1 | bptato | 2024-07-28 | 4 | -4/+8 | |
| | | ||||||
| * | htmlparser: small improvements | bptato | 2024-07-06 | 7 | -15/+13 | |
| | | | | | | | | | | | | | | * remove unnecessary stringify + function * remove test artifacts * update chagashi submodule * add test to skipDirs | |||||
| * | Update readme | bptato | 2024-06-21 | 1 | -4/+5 | |
| | | ||||||
| * | Version 1.0.0 | bptato | 2024-06-13 | 3 | -4/+10 | |
| | | ||||||
| * | Update readme | bptato | 2024-06-13 | 1 | -14/+7 | |
| | | ||||||
| * | minidom_cs: switch to chagashi | bptato | 2024-06-13 | 3 | -33/+42 | |
| | | ||||||
| * | Reorganize tests | bptato | 2024-06-13 | 20 | -6/+62 | |
| | | | | | | | | not willing to put up with nimble any longer, makefile it is. | |||||
| * | htmlparser: simplify a bit | bptato | 2024-06-13 | 1 | -13/+6 | |
| | | ||||||
| * | Update docs, todo | bptato | 2024-06-04 | 3 | -3/+16 | |
| | | ||||||
| * | Remove parse error callback | bptato | 2024-05-05 | 4 | -635/+120 | |
| | | | | | | | | It never worked properly, it's under-specified, and I don't need it. | |||||
| * | entity: reduce size somewhat | bptato | 2024-05-05 | 3 | -1060/+764 | |
| | | | | | | | | with GCC this shaves 64K off the output | |||||
| * | Version 0.14.5 | bptato | 2024-04-09 | 3 | -2/+8 | |
| | | ||||||
| * | doc: update manual | bptato | 2024-04-09 | 1 | -3/+9 | |
| | | ||||||
| * | tags: remove duplicate definitionURL | bptato | 2024-04-09 | 2 | -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' | bptato | 2024-04-09 | 3 | -2/+12 | |
| | | | | | | | | | | lower-case `z' was missing from the list of generated end indices, which broke character entities starting with `z'. | |||||
| * | Update readme | bptato | 2024-03-22 | 1 | -0/+4 | |
| | | ||||||
| * | misc refactorings | bptato | 2024-03-06 | 6 | -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.4 | bptato | 2024-03-03 | 3 | -2/+5 | |
| | | ||||||
| * | htmltokenizer: clean up tokenizeEOF | bptato | 2024-03-03 | 1 | -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.3 | bptato | 2024-02-21 | 3 | -2/+5 | |
| | | ||||||
| * | Fix another variation of the entity reference bug | bptato | 2024-02-21 | 2 | -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.2 | bptato | 2024-02-21 | 3 | -2/+7 | |
| | | ||||||
| * | htmltokenizer: fix entity reference parsing bug | bptato | 2024-02-21 | 2 | -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 docs | bptato | 2024-02-10 | 2 | -7/+7 | |
| | | ||||||
| * | Version 0.14.1 | bptato | 2024-02-08 | 2 | -2/+2 | |
| | | ||||||
| * | Update readme, news | bptato | 2024-02-08 | 2 | -2/+7 | |
| | | ||||||
| * | htmlparser: fix associateWithForm callback regression | bptato | 2024-02-08 | 1 | -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/ directory | bptato | 2024-02-07 | 4 | -57/+62 | |
| | | ||||||
| * | Version 0.14.0 | bptato | 2024-02-07 | 2 | -2/+2 | |
| | | ||||||
| * | Update docs | bptato | 2024-02-07 | 5 | -15/+371 | |
| | | ||||||
| * | htmltokenizer: reduce reconsume_in use | bptato | 2024-02-03 | 1 | -19/+49 | |
| | | ||||||
| * | htmltokenizer: get rid of an unnecessary buffer | bptato | 2024-02-03 | 1 | -13/+14 | |
| | | | | | | | | We can just use tmp instead of attrn. | |||||
| * | Update readme | bptato | 2024-02-02 | 1 | -3/+3 | |
| | | ||||||
| * | doc generation work | bptato | 2024-02-02 | 5 | -121/+217 | |
| | | ||||||
| * | Make parser re-entrant | bptato | 2024-02-01 | 10 | -407/+562 | |
| | | | | | | | | enables document.write | |||||
| * | de-iteratorize tokenizer | bptato | 2024-01-21 | 3 | -257/+287 | |
| | | ||||||
| * | Fix copy-paste error attempt 2 | bptato | 2024-01-21 | 1 | -1/+1 | |
| | | ||||||
| * | Fix copy-paste error | bptato | 2024-01-21 | 1 | -1/+1 | |
| | | | | | | | | whoops | |||||
| * | htmlparser: set script already started on <script> | bptato | 2024-01-21 | 1 | -1/+2 | |
| | | | | | | | | | | We already have the callback, so this is less confusing than having to special-case it in consumer code. |