Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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 | |
2022-07-12 | Fix a lot of list things | Titus Wormer | 1 | -23/+187 | |
* Add `ListItem`, `ListOrdered`, and `ListUnordered` tokens * Add support for multiline list items * Add support for tight lists * Fix bug where 10 digit long list item values worked * Fix skip bug when skipping over nested events | |||||
2022-07-12 | Add initial support for lists | Titus Wormer | 2 | -1/+198 | |
2022-07-11 | Add support for lazy lines | Titus Wormer | 5 | -42/+112 | |
2022-07-11 | Fix block quote bugs | Titus Wormer | 1 | -5/+0 | |
2022-07-08 | Fix closing of flow when exiting containers | Titus Wormer | 1 | -0/+1 | |
2022-07-08 | Add support for concrete constructs | Titus Wormer | 2 | -5/+39 | |