Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-08-01 | Refactor to pass more `&str`s, work on more bytes | Titus Wormer | 1 | -0/+5 | |
2022-07-29 | Refactor to improve states | Titus Wormer | 5 | -76/+91 | |
* 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 | 1 | -26/+18 | |
2022-07-28 | Refactor to use `debug_assert` | Titus Wormer | 1 | -1/+1 | |
2022-07-28 | Refactor to work on `char`s | Titus Wormer | 6 | -188/+167 | |
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-22 | Refactor to use a single shared edit map | Titus Wormer | 1 | -9/+6 | |
2022-07-22 | Refactor to remove unneeded tuples in every states | Titus Wormer | 2 | -2/+2 | |
2022-07-21 | Refactor performance around links in subtokenize | Titus Wormer | 1 | -28/+35 | |
2022-07-21 | Refactor to move `index` field to `point` | Titus Wormer | 1 | -2/+2 | |
2022-07-21 | Refactor to move some event fields to `link` | Titus Wormer | 1 | -3/+5 | |
2022-07-20 | Refactor to improve allocation around strings | Titus Wormer | 4 | -82/+65 | |
2022-07-20 | Refactor to use less vecs for events | Titus Wormer | 1 | -42/+28 | |
2022-07-19 | Refactor to remove cloning in `edit_map` | Titus Wormer | 1 | -19/+25 | |
2022-07-19 | Use `edit_map` in `subtokenize` | Titus Wormer | 1 | -14/+1 | |
2022-07-19 | Remove another unneeded `HashMap` | Titus Wormer | 1 | -40/+38 | |
2022-07-18 | Fix dead link in docs | Titus Wormer | 1 | -3/+3 | |
2022-07-18 | Fix edge case in identifier normalization | Titus Wormer | 1 | -1/+9 | |
2022-07-15 | Fix to use single array for character references | Titus Wormer | 1 | -7/+4 | |
2022-07-14 | Add support for container state | Titus Wormer | 2 | -7/+15 | |
* 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-13 | Fix lists in lists and some other bugs | Titus Wormer | 1 | -6/+0 | |
2022-07-12 | Fix some issues around empty lists | Titus Wormer | 1 | -1/+4 | |
2022-07-12 | Fix a lot of list things | Titus Wormer | 1 | -7/+34 | |
* 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-11 | Add tests for matching identifiers w/ turkish `i` | Titus Wormer | 1 | -1/+0 | |
2022-07-07 | Refactor to move token types to `token` | Titus Wormer | 1 | -4/+5 | |
2022-07-07 | Refactor to use `char::REPLACEMENT_CHARACTER` | Titus Wormer | 2 | -2/+2 | |
2022-07-07 | Fix some small to dos | Titus Wormer | 1 | -3/+5 | |
2022-07-07 | Add basic support for block quotes | Titus Wormer | 3 | -0/+46 | |
2022-07-07 | Fix shifting jumps in tail of edit map | Titus Wormer | 1 | -1/+3 | |
2022-07-05 | Refactor to do some to dos | Titus Wormer | 1 | -2/+4 | |
2022-07-05 | Refactor code style | Titus Wormer | 5 | -64/+161 | |
2022-07-04 | Add support for unicode punctuation | Titus Wormer | 1 | -1/+1 | |
2022-07-04 | Update list of todos | Titus Wormer | 1 | -2/+1 | |
2022-07-04 | Fix opening/closing tag order of nested attention | Titus Wormer | 1 | -12/+29 | |
2022-07-01 | Refactor to clean and document `edit_map` | Titus Wormer | 1 | -2/+19 | |
2022-06-29 | Add support for sharing identifiers, references before definitions | Titus Wormer | 1 | -18/+1 | |
2022-06-28 | Add some more crosslinks to docs | Titus Wormer | 1 | -3/+2 | |
2022-06-28 | Fix jumps in `edit_map` | Titus Wormer | 2 | -0/+145 | |
* Use resolve more often (e.g., heading (atx, setext)) * Fix to link whole phrasing (e.g., one big chunk of text in heading (atx, setext), titles, labels) * Replace `ChunkText`, `ChunkString`, with `event.content_type: Option<ContentType>` * Refactor to externalize `edit_map` from `label` | |||||
2022-06-24 | Add link, images (resource) | Titus Wormer | 1 | -1/+1 | |
This is still some messy code that needs cleaning up, but it adds support for links and images, of the resource kind (`[a](b)`). References (`[a][b]`) are parsed and will soon be supported, but need matching. * Fix bug to pad percent-encoded bytes when normalizing urls * Fix bug with escapes counting as balancing in destination * Add `space_or_tab_one_line_ending`, to parse whitespace including up to one line ending (but not a blank line) * Add `ParserState` to share codes, definitions, etc | |||||
2022-06-22 | Add docs on normalizing identifiers, matching | Titus Wormer | 1 | -2/+33 | |
2022-06-22 | Add support for normalizing identifiers | Titus Wormer | 3 | -0/+40 | |
2022-06-21 | Add docs for `subtokenize` | Titus Wormer | 2 | -9/+0 | |
2022-06-20 | Add support for line endings in string | Titus Wormer | 2 | -0/+9 | |
2022-06-16 | Add support for hard break (trailing) | Titus Wormer | 1 | -1/+1 | |
2022-06-15 | Add docs on sanitizing urls to autolink | Titus Wormer | 1 | -2/+2 | |
2022-06-14 | Add examples to some docs | Titus Wormer | 2 | -2/+22 | |
2022-06-14 | Reorganize to split util | Titus Wormer | 5 | -0/+361 | |