Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `State::Retry` | Titus Wormer | 2022-08-10 | 1 | -6/+6 |
| | |||||
* | Rename `State::Fn` to `State::Next` | Titus Wormer | 2022-08-10 | 1 | -20/+20 |
| | |||||
* | Add support for passing `ok`, `nok` as separate states to attempts | Titus Wormer | 2022-08-09 | 1 | -32/+28 |
| | |||||
* | Rewrite algorithm to not pass around boxed functions | Titus Wormer | 2022-08-09 | 1 | -52/+67 |
| | | | | | | * 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 | ||||
* | Refactor to remove most closures | Titus Wormer | 2022-08-02 | 1 | -20/+22 |
| | |||||
* | Refactor to improve states | Titus Wormer | 2022-07-29 | 1 | -91/+44 |
| | | | | | | | | | | | | * 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 | 1 | -24/+21 |
| | |||||
* | Refactor to work on `char`s | Titus Wormer | 2022-07-28 | 1 | -29/+28 |
| | | | | | | | | | | | | | | | 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 not pass codes around | Titus Wormer | 2022-07-25 | 1 | -38/+41 |
| | |||||
* | Remove no longer needed field in `State::Ok` | Titus Wormer | 2022-07-25 | 1 | -3/+3 |
| | |||||
* | Improve performance w/ a single feed loop | Titus Wormer | 2022-07-25 | 1 | -5/+5 |
| | |||||
* | Refactor to use a single shared edit map | Titus Wormer | 2022-07-22 | 1 | -7/+3 |
| | |||||
* | Refactor to remove unneeded tuples in every states | Titus Wormer | 2022-07-22 | 1 | -32/+32 |
| | |||||
* | Refactor to pass ints instead of vecs around | Titus Wormer | 2022-07-22 | 1 | -17/+14 |
| | |||||
* | Refactor to move `index` field to `point` | Titus Wormer | 2022-07-21 | 1 | -1/+2 |
| | |||||
* | Refactor to share edit map | Titus Wormer | 2022-07-20 | 1 | -5/+5 |
| | |||||
* | Refactor to use less vecs for events | Titus Wormer | 2022-07-20 | 1 | -3/+3 |
| | |||||
* | Refactor to remove cloning in `edit_map` | Titus Wormer | 2022-07-19 | 1 | -5/+3 |
| | |||||
* | 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 | 1 | -3/+12 |
| | |||||
* | Refactor to organize resolvers | Titus Wormer | 2022-07-18 | 1 | -2/+2 |
| | |||||
* | Fix interrupting of ordered items | Titus Wormer | 2022-07-15 | 1 | -5/+7 |
| | |||||
* | Fix stray `println` | Titus Wormer | 2022-07-15 | 1 | -2/+0 |
| | |||||
* | Add docs and refactor list | Titus Wormer | 2022-07-15 | 1 | -158/+200 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -2/+2 |
| | | | | | | | | * 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 | 1 | -0/+195 |