Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-08-09 | Add support for passing `ok`, `nok` as separate states to attempts | Titus Wormer | 15 | -168/+265 | |
2022-08-09 | Rewrite algorithm to not pass around boxed functions | Titus Wormer | 27 | -688/+795 | |
* Pass state names from an enum around instead of boxed functions * Refactor to simplify attempts a lot * Use a subtokenizer for the the `document` content type | |||||
2022-08-02 | Refactor to remove most closures | Titus Wormer | 21 | -990/+979 | |
2022-08-01 | Fix bug on empty heading (atx) | Titus Wormer | 1 | -29/+31 | |
2022-08-01 | Add missing docs, refactor some code | Titus Wormer | 3 | -8/+21 | |
2022-08-01 | Refactor some states | Titus Wormer | 6 | -28/+32 | |
2022-07-29 | Refactor to improve states | Titus Wormer | 23 | -907/+522 | |
* 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` | |||||
2022-07-29 | Refactor to work on bytes (`u8`) | Titus Wormer | 30 | -386/+450 | |
2022-07-28 | Refactor to use `debug_assert` | Titus Wormer | 1 | -1/+0 | |
2022-07-28 | Refactor to work on `char`s | Titus Wormer | 28 | -614/+540 | |
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. | |||||
2022-07-26 | Refactor to drastically improve perf around whitespace | Titus Wormer | 6 | -136/+195 | |
2022-07-25 | Refactor to not pass codes around | Titus Wormer | 29 | -896/+861 | |
2022-07-25 | Remove no longer needed field in `State::Ok` | Titus Wormer | 29 | -44/+44 | |
2022-07-25 | Improve performance w/ a single feed loop | Titus Wormer | 21 | -45/+41 | |
2022-07-22 | Refactor to use a single shared edit map | Titus Wormer | 7 | -52/+34 | |
2022-07-22 | Refactor to remove unneeded tuples in every states | Titus Wormer | 29 | -781/+583 | |
2022-07-22 | Refactor to pass ints instead of vecs around | Titus Wormer | 29 | -374/+328 | |
2022-07-21 | Refactor to improve performance by passing markers around | Titus Wormer | 1 | -6/+6 | |
2022-07-21 | Refactor to move `index` field to `point` | Titus Wormer | 6 | -66/+29 | |
2022-07-21 | Refactor to move some event fields to `link` | Titus Wormer | 4 | -58/+24 | |
2022-07-20 | Refactor to share edit map | Titus Wormer | 7 | -41/+41 | |
2022-07-20 | Refactor to improve allocation around strings | Titus Wormer | 1 | -6/+4 | |
2022-07-20 | Refactor to use less vecs for events | Titus Wormer | 7 | -18/+18 | |
2022-07-19 | Refactor to remove cloning in `edit_map` | Titus Wormer | 7 | -20/+15 | |
2022-07-19 | Fix performance around a lot of lists | Titus Wormer | 1 | -16/+33 | |
2022-07-18 | Add support for turning off constructs | Titus Wormer | 20 | -52/+124 | |
2022-07-18 | Refactor to organize resolvers | Titus Wormer | 4 | -175/+175 | |
2022-07-18 | Refactor examples of states | Titus Wormer | 26 | -460/+605 | |
2022-07-18 | Remove unneeded token | Titus Wormer | 1 | -3/+3 | |
2022-07-18 | Fix token that should be void | Titus Wormer | 1 | -2/+4 | |
2022-07-18 | Fix dead link in docs | Titus Wormer | 1 | -2/+2 | |
2022-07-15 | Fix interrupting of ordered items | Titus Wormer | 1 | -5/+7 | |
2022-07-15 | Fix to use single array for character references | Titus Wormer | 1 | -6/+8 | |
2022-07-15 | Fix stray `println` | Titus Wormer | 1 | -2/+0 | |
2022-07-15 | Add docs to non-lazy continuation | Titus Wormer | 1 | -5/+27 | |
2022-07-15 | Add docs and refactor list | Titus Wormer | 2 | -163/+200 | |
2022-07-15 | Add missing docs to html (flow) | Titus Wormer | 2 | -38/+46 | |
2022-07-15 | Remove unneeded field | Titus Wormer | 2 | -27/+17 | |
2022-07-15 | Add missing link | Titus Wormer | 1 | -5/+4 | |
2022-07-15 | Remove unneeded token | Titus Wormer | 1 | -3/+3 | |
2022-07-15 | Fix link | Titus Wormer | 1 | -4/+3 | |
2022-07-15 | Fix lazy first line in code (fenced) | Titus Wormer | 1 | -13/+7 | |
2022-07-14 | Fix two more list bugs | Titus Wormer | 1 | -1/+6 | |
2022-07-14 | Fix interrupting sibling list items | Titus Wormer | 1 | -3/+1 | |
2022-07-14 | Fix html (flow) whitespace again | Titus Wormer | 1 | -2/+11 | |
2022-07-14 | Add support for container state | Titus Wormer | 1 | -43/+52 | |
* Fix to parse list item continuation based on how big the initial list item prefix was * Fix list items that start with blank lines | |||||
2022-07-14 | Fix a bunch of container things | Titus Wormer | 2 | -5/+6 | |
* Fix a lot of container code * Fix to prevent code (indented) from interrupting a lazy container * Fix compiling when combining tight paragraphs, empty list items, and html * Fix list items starting w/ blank lines causing loose lists * Fix crash when looking for a previous blank line | |||||
2022-07-13 | Fix lists in lists and some other bugs | Titus Wormer | 1 | -25/+27 | |
2022-07-12 | Fix some issues around empty lists | Titus Wormer | 1 | -12/+57 | |
2022-07-12 | Fix to prefer thematic breaks over lists | Titus Wormer | 1 | -6/+18 | |