aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to improve statesLibravatar Titus Wormer2022-07-2936-1230/+941
| | | | | | | | | | | | * Remove custom kind wrappers, use plain bytes instead * Remove `Into`s, use the explicit expected types instead * Refactor to use `slice.as_str` in most places * Remove unneeded unique check before adding a definition * Use a shared CDATA prefix in constants * Inline byte checks into matches * Pass bytes back from parser instead of whole parse state * Refactor to work more often on bytes * Rename custom `size` to `len`
* Refactor to work on bytes (`u8`)Libravatar Titus Wormer2022-07-2939-528/+576
|
* Refactor to use `debug_assert`Libravatar Titus Wormer2022-07-285-20/+19
|
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-2845-1042/+1087
| | | | | | | | | | | | | | | Previously, a custom char implementation was used. This was easier to work with, as sometimes “virtual” characters are injected, or characters are ignored. This replaces that with working on actual `char`s. In the hope of in the future working on `u8`s, even. This simplifies the state machine somewhat, as only `\n` is fed, regardless of whether it was a CRLF, CR, or LF. It also feeds `' '` instead of virtual spaces. The BOM, if present, is now available as a `ByteOrderMark` event.
* Fix misclassified dependencyLibravatar Titus Wormer2022-07-261-1/+1
|
* Refactor to drastically improve perf around whitespaceLibravatar Titus Wormer2022-07-2613-244/+263
|
* Refactor to simplify tokenizerLibravatar Titus Wormer2022-07-263-132/+83
|
* Remove unneeded parameterLibravatar Titus Wormer2022-07-261-20/+16
|
* Refactor to not pass codes aroundLibravatar Titus Wormer2022-07-2534-993/+938
|
* Refactor to store less dataLibravatar Titus Wormer2022-07-251-47/+43
|
* Remove no longer needed field in `State::Ok`Libravatar Titus Wormer2022-07-2534-63/+61
|
* Refactor to remove need for cloning codesLibravatar Titus Wormer2022-07-253-44/+26
|
* Improve performance w/ a single feed loopLibravatar Titus Wormer2022-07-2524-145/+138
|
* Refactor to remove unneeded `Option`Libravatar Titus Wormer2022-07-221-14/+18
|
* Refactor to use a single shared edit mapLibravatar Titus Wormer2022-07-2210-82/+50
|
* Refactor to reserve some more vecsLibravatar Titus Wormer2022-07-221-5/+9
|
* Refactor to pass more references aroundLibravatar Titus Wormer2022-07-221-26/+39
|
* Refactor to remove unneeded tuples in every statesLibravatar Titus Wormer2022-07-2240-922/+687
|
* Refactor to pass ints instead of vecs aroundLibravatar Titus Wormer2022-07-2235-464/+393
|
* Refactor performance around links in subtokenizeLibravatar Titus Wormer2022-07-212-29/+42
|
* Refactor to improve performance by passing markers aroundLibravatar Titus Wormer2022-07-213-75/+37
|
* Refactor to move `index` field to `point`Libravatar Titus Wormer2022-07-2111-102/+49
|
* Refactor to move some event fields to `link`Libravatar Titus Wormer2022-07-218-110/+90
|
* Refactor to share edit mapLibravatar Titus Wormer2022-07-209-46/+61
|
* Refactor to improve cloning in `document`Libravatar Titus Wormer2022-07-202-55/+50
|
* Refactor to improve allocation around stringsLibravatar Titus Wormer2022-07-206-182/+149
|
* Refactor to use less vecs for eventsLibravatar Titus Wormer2022-07-2011-76/+63
|
* Remove a couple of clonesLibravatar Titus Wormer2022-07-192-7/+6
|
* Refactor to remove cloning in `edit_map`Libravatar Titus Wormer2022-07-1911-45/+47
|
* Use `edit_map` in `subtokenize`Libravatar Titus Wormer2022-07-194-86/+45
|
* Remove another unneeded `HashMap`Libravatar Titus Wormer2022-07-192-177/+158
|
* Remove an unneeded `HashMap`Libravatar Titus Wormer2022-07-193-18/+46
|
* Replace use of `HashSet` with `vec`Libravatar Titus Wormer2022-07-193-8/+10
|
* Remove unneeded `rust` language flagsLibravatar Titus Wormer2022-07-191-6/+6
|
* Fix performance around a lot of listsLibravatar Titus Wormer2022-07-191-16/+33
|
* Add a benchmarkLibravatar Titus Wormer2022-07-182-0/+35
|
* Refactor to improve performance when constructs are turned offLibravatar Titus Wormer2022-07-182-49/+73
|
* Change to improve `default_line_ending` apiLibravatar Titus Wormer2022-07-183-9/+7
|
* Add support for turning off constructsLibravatar Titus Wormer2022-07-1852-1929/+4345
|
* Refactor to move options to `lib/`Libravatar Titus Wormer2022-07-182-161/+160
|
* Refactor to organize resolversLibravatar Titus Wormer2022-07-184-175/+175
|
* Refactor examples of statesLibravatar Titus Wormer2022-07-1826-460/+605
|
* Remove unneeded tokenLibravatar Titus Wormer2022-07-183-35/+13
|
* Fix token that should be voidLibravatar Titus Wormer2022-07-183-3/+58
|
* Fix dead link in docsLibravatar Titus Wormer2022-07-182-5/+5
|
* Change to enable build script for commonmark tests againLibravatar Titus Wormer2022-07-182-661/+658
|
* Fix edge case in identifier normalizationLibravatar Titus Wormer2022-07-182-11/+18
|
* Fix final bug with lazinessLibravatar Titus Wormer2022-07-182-160/+143
|
* Fix interrupting of ordered itemsLibravatar Titus Wormer2022-07-152-16/+17
|
* Fix some final eol bugsLibravatar Titus Wormer2022-07-152-54/+58
|