Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor to improve states | Titus Wormer | 2022-07-29 | 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` | ||||
* | Refactor to work on bytes (`u8`) | Titus Wormer | 2022-07-29 | 30 | -386/+450 |
| | |||||
* | Refactor to use `debug_assert` | Titus Wormer | 2022-07-28 | 1 | -1/+0 |
| | |||||
* | Refactor to work on `char`s | Titus Wormer | 2022-07-28 | 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. | ||||
* | Refactor to drastically improve perf around whitespace | Titus Wormer | 2022-07-26 | 6 | -136/+195 |
| | |||||
* | Refactor to not pass codes around | Titus Wormer | 2022-07-25 | 29 | -896/+861 |
| | |||||
* | Remove no longer needed field in `State::Ok` | Titus Wormer | 2022-07-25 | 29 | -44/+44 |
| | |||||
* | Improve performance w/ a single feed loop | Titus Wormer | 2022-07-25 | 21 | -45/+41 |
| | |||||
* | Refactor to use a single shared edit map | Titus Wormer | 2022-07-22 | 7 | -52/+34 |
| | |||||
* | Refactor to remove unneeded tuples in every states | Titus Wormer | 2022-07-22 | 29 | -781/+583 |
| | |||||
* | Refactor to pass ints instead of vecs around | Titus Wormer | 2022-07-22 | 29 | -374/+328 |
| | |||||
* | Refactor to improve performance by passing markers around | Titus Wormer | 2022-07-21 | 1 | -6/+6 |
| | |||||
* | Refactor to move `index` field to `point` | Titus Wormer | 2022-07-21 | 6 | -66/+29 |
| | |||||
* | Refactor to move some event fields to `link` | Titus Wormer | 2022-07-21 | 4 | -58/+24 |
| | |||||
* | Refactor to share edit map | Titus Wormer | 2022-07-20 | 7 | -41/+41 |
| | |||||
* | Refactor to improve allocation around strings | Titus Wormer | 2022-07-20 | 1 | -6/+4 |
| | |||||
* | Refactor to use less vecs for events | Titus Wormer | 2022-07-20 | 7 | -18/+18 |
| | |||||
* | Refactor to remove cloning in `edit_map` | Titus Wormer | 2022-07-19 | 7 | -20/+15 |
| | |||||
* | Fix performance around a lot of lists | Titus Wormer | 2022-07-19 | 1 | -16/+33 |
| | |||||
* | Add support for turning off constructs | Titus Wormer | 2022-07-18 | 20 | -52/+124 |
| | |||||
* | Refactor to organize resolvers | Titus Wormer | 2022-07-18 | 4 | -175/+175 |
| | |||||
* | Refactor examples of states | Titus Wormer | 2022-07-18 | 26 | -460/+605 |
| | |||||
* | Remove unneeded token | Titus Wormer | 2022-07-18 | 1 | -3/+3 |
| | |||||
* | Fix token that should be void | Titus Wormer | 2022-07-18 | 1 | -2/+4 |
| | |||||
* | Fix dead link in docs | Titus Wormer | 2022-07-18 | 1 | -2/+2 |
| | |||||
* | Fix interrupting of ordered items | Titus Wormer | 2022-07-15 | 1 | -5/+7 |
| | |||||
* | Fix to use single array for character references | Titus Wormer | 2022-07-15 | 1 | -6/+8 |
| | |||||
* | Fix stray `println` | Titus Wormer | 2022-07-15 | 1 | -2/+0 |
| | |||||
* | Add docs to non-lazy continuation | Titus Wormer | 2022-07-15 | 1 | -5/+27 |
| | |||||
* | Add docs and refactor list | Titus Wormer | 2022-07-15 | 2 | -163/+200 |
| | |||||
* | Add missing docs to html (flow) | Titus Wormer | 2022-07-15 | 2 | -38/+46 |
| | |||||
* | Remove unneeded field | Titus Wormer | 2022-07-15 | 2 | -27/+17 |
| | |||||
* | Add missing link | Titus Wormer | 2022-07-15 | 1 | -5/+4 |
| | |||||
* | Remove unneeded token | Titus Wormer | 2022-07-15 | 1 | -3/+3 |
| | |||||
* | Fix link | Titus Wormer | 2022-07-15 | 1 | -4/+3 |
| | |||||
* | Fix lazy first line in code (fenced) | Titus Wormer | 2022-07-15 | 1 | -13/+7 |
| | |||||
* | Fix two more list bugs | Titus Wormer | 2022-07-14 | 1 | -1/+6 |
| | |||||
* | Fix interrupting sibling list items | Titus Wormer | 2022-07-14 | 1 | -3/+1 |
| | |||||
* | Fix html (flow) whitespace again | Titus Wormer | 2022-07-14 | 1 | -2/+11 |
| | |||||
* | Add support for container state | Titus Wormer | 2022-07-14 | 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 | ||||
* | Fix a bunch of container things | Titus Wormer | 2022-07-14 | 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 | ||||
* | Fix lists in lists and some other bugs | Titus Wormer | 2022-07-13 | 1 | -25/+27 |
| | |||||
* | Fix some issues around empty lists | Titus Wormer | 2022-07-12 | 1 | -12/+57 |
| | |||||
* | Fix to prefer thematic breaks over lists | Titus Wormer | 2022-07-12 | 1 | -6/+18 |
| | |||||
* | Fix a lot of list things | Titus Wormer | 2022-07-12 | 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 | ||||
* | Add initial support for lists | Titus Wormer | 2022-07-12 | 2 | -1/+198 |
| | |||||
* | Add support for lazy lines | Titus Wormer | 2022-07-11 | 5 | -42/+112 |
| | |||||
* | Fix block quote bugs | Titus Wormer | 2022-07-11 | 1 | -5/+0 |
| | |||||
* | Fix closing of flow when exiting containers | Titus Wormer | 2022-07-08 | 1 | -0/+1 |
| | |||||
* | Add support for concrete constructs | Titus Wormer | 2022-07-08 | 2 | -5/+39 |
| |