Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-02-12 | Muse reader: refactor to avoid reparsing | Alexander Krotov | 1 | -78/+195 | |
Lists are parsed in linear instead of exponential time now. Contents of block tags, such as <quote>, is parsed directly, without storing it in a string and parsing with parseFromString. Fixed a bug: headers did not terminate lists. | |||||
2018-02-12 | Muse reader: move indentation parsing from definitionListItem to definitionList | Alexander Krotov | 1 | -6/+6 | |
2018-02-12 | Muse reader: paragraph indentation does not indicate nested quote | Alexander Krotov | 1 | -35/+10 | |
Muse allows indentation to indicate quotation or alignment, but only on the top level, not within a <quote> or list. This patch also simplifies the code by removing museInQuote and museInList fields from the state structure. Headers and indented paragraphs are attempted to be parsed only at the topmost level, instead of aborting parsing with guards. | |||||
2018-02-12 | Muse reader: replace optionMaybe with optional | Alexander Krotov | 1 | -5/+5 | |
2018-02-11 | Muse reader: move para definition into blockElements | Alexander Krotov | 1 | -4/+1 | |
2018-02-11 | Muse reader: move end-of-line parsing to paraUntil | Alexander Krotov | 1 | -3/+3 | |
2018-02-06 | Muse reader: rename "literal" to "literalTag" | Alexander Krotov | 1 | -3/+3 | |
2018-02-06 | Muse reader: avoid reparsing at the top level | Alexander Krotov | 1 | -2/+14 | |
Blocks following paragraphs are parsed only once at the top level. Lists still take exponential time to parse, but this time is not doubled anymore when this list terminates paragraph. | |||||
2018-02-06 | Muse reader: implement paraUntil | Alexander Krotov | 1 | -8/+36 | |
paraUntil does not discard the result of the following block parsing. This change is a part of Muse reader refactoring to avoid reparsing. | |||||
2018-02-05 | Muse reader: avoid parsing newline after paragraph twice | Alexander Krotov | 1 | -5/+3 | |
Removed lookAhead from blankline, so it is consumed. | |||||
2018-02-05 | Muse reader: make block parsers responsible for parsing newline | Alexander Krotov | 1 | -3/+5 | |
Block parsers must always stop after newline or at the end of file. | |||||
2018-02-04 | Muse reader: simplify listItemContents' with sepBy1 | Alexander Krotov | 1 | -4/+2 | |
2018-01-31 | Muse reader: replace ParserState with MuseState | Alexander Krotov | 1 | -29/+104 | |
2018-01-29 | Muse reader: simplify block tag parsing code | Alexander Krotov | 1 | -21/+12 | |
2018-01-29 | Muse reader: parse inline <literal> without parseFromString | Alexander Krotov | 1 | -2/+1 | |
2018-01-29 | Muse reader: parse <comment> and <verbatim> without parseFromString | Alexander Krotov | 1 | -4/+2 | |
2018-01-28 | Muse reader: parse verse tag contents without parseFromString | Alexander Krotov | 1 | -4/+3 | |
2018-01-28 | Muse reader: make verseLine return Inlines, not String | Alexander Krotov | 1 | -4/+4 | |
2018-01-28 | Muse reader: parse directives without parseFromString | Alexander Krotov | 1 | -7/+5 | |
2018-01-28 | Muse reader: fix parsing of trailing whitespace | Alexander Krotov | 1 | -8/+1 | |
Newline after whitespace now results in softbreak instead of space. | |||||
2018-01-28 | Muse reader: simplify paragraph parsing | Alexander Krotov | 1 | -3/+2 | |
Blank lines are already handled by blockElements. | |||||
2018-01-24 | Muse reader: fix matching of closing inline tags | Alexander Krotov | 1 | -2/+3 | |
2018-01-24 | Muse reader: remove `block` function | Alexander Krotov | 1 | -7/+4 | |
2018-01-21 | Muse reader: embed parseBlocks into parseMuse | Alexander Krotov | 1 | -8/+2 | |
2018-01-21 | Muse reader: make listItem generic | Alexander Krotov | 1 | -3/+3 | |
2018-01-21 | Muse reader: simplify paragraph parsing | Alexander Krotov | 1 | -2/+1 | |
Blanklines are already consumed during block parsing, there is no need to check for them specifically. | |||||
2018-01-19 | hlint code improvements. | John MacFarlane | 1 | -1/+1 | |
2018-01-20 | Muse reader: fix parsing of nested definition lists | Alexander Krotov | 1 | -11/+10 | |
2018-01-19 | Muse reader: remove duplicate variable in definitionListItem | Alexander Krotov | 1 | -2/+1 | |
2018-01-19 | Muse reader: require only one space for nested definition list indentation | Alexander Krotov | 1 | -1/+2 | |
2018-01-19 | Muse reader: parse verse without parseFromString | Alexander Krotov | 1 | -10/+12 | |
2018-01-19 | Muse reader: remove commented out code | Alexander Krotov | 1 | -1/+0 | |
2018-01-19 | Muse reader: parse Emacs Muse directives without parseFromString | Alexander Krotov | 1 | -4/+2 | |
Also require space (not newline) after directive name. | |||||
2018-01-19 | Muse reader: parse link text without parseFromString | Alexander Krotov | 1 | -2/+1 | |
2018-01-19 | Muse reader: simplify tableParseCaption | Alexander Krotov | 1 | -3/+1 | |
2018-01-19 | Muse reader: parse definition list terms without parseFromString | Alexander Krotov | 1 | -17/+13 | |
2018-01-19 | Muse reader: do not remove trailing whitespace from <code> | Alexander Krotov | 1 | -1/+1 | |
2018-01-18 | Muse reader: fix parsing of code at the beginning of paragraph | Alexander Krotov | 1 | -6/+2 | |
2018-01-18 | Muse reader: refactor definition list parsing | Alexander Krotov | 1 | -17/+15 | |
Test with wrong indentation is removed, because now it is parsed as nested lists. Emacs Muse and Text::Amuse don't have the same behavior anyway. | |||||
2018-01-18 | Muse reader: parse "~~" as non-breaking space in Text::Amuse mode | Alexander Krotov | 1 | -2/+1 | |
Latest Text::Amuse supports "~~" | |||||
2018-01-18 | Muse reader: refactor list parsing | Alexander Krotov | 1 | -75/+65 | |
Now list item contents is parsed as blocks, without resorting to parseFromString. Only the first line of paragraph has to be indented now, just like in Emacs Muse and Text::Amuse. Definition lists are not refactored yet. See also: issue #3865. | |||||
2018-01-18 | Muse reader: code cleanup | Alexander Krotov | 1 | -2/+2 | |
2018-01-05 | Update copyright notices to include 2018 | Albert Krewinkel | 1 | -2/+2 | |
2017-12-31 | Muse reader: automatically translate #cover into #cover-image | Alexander Krotov | 1 | -1/+3 | |
Amusewiki uses #cover directive to specify cover image. | |||||
2017-12-21 | Muse reader: parse anchors immediately after headings as IDs | Alexander Krotov | 1 | -5/+9 | |
2017-12-20 | Muse reader: require that note references does not start with 0 | Alexander Krotov | 1 | -1/+3 | |
2017-12-19 | Muse reader: parse empty comments correctly | Alexander Krotov | 1 | -2/+1 | |
2017-12-06 | hlint Muse reader and tests | Alexander Krotov | 1 | -4/+4 | |
2017-12-06 | Muse reader: don't allow emphasis to be preceded by letter | Alexander Krotov | 1 | -2/+12 | |
2017-12-05 | Muse reader: support multiline directives in Amusewiki mode | Alexander Krotov | 1 | -4/+24 | |