Commit Graph

  • 265000111d Remove usage of ResetToPosition and replace by ResetToColumn Alexandre Mutel 2016-02-27 22:13:11 +09:00
  • 5c845b6e78 Rename CodeBlock to IndentedCodeBlock. Fix issue with tabs and spacing. 647 passed!!! \o/ Alexandre Mutel 2016-02-27 21:47:18 +09:00
  • 72ca3f038b Small fix for FencedCodeBlockParser Alexandre Mutel 2016-02-27 02:01:56 +09:00
  • 418776479d Fix handling nested image links Alexandre Mutel 2016-02-27 01:38:08 +09:00
  • 37e3b8d8ca Fix List and ListItem (632 tests passed) Alexandre Mutel 2016-02-27 00:59:51 +09:00
  • 340f47d0b4 Fix rendering of img alt Alexandre Mutel 2016-02-27 00:43:17 +09:00
  • 4b685229f1 Improve performance by using StringSlice instead of making Substrings Alexandre Mutel 2016-02-27 00:33:22 +09:00
  • 5da5bd9fa8 Fix many issues related to parsing Alexandre Mutel 2016-02-27 00:13:01 +09:00
  • 9a67143f39 Fix thematic breaker with list Alexandre Mutel 2016-02-26 22:06:59 +09:00
  • 56f45eb3e0 Fix LiteralInlineParser to make it non instantiable Alexandre Mutel 2016-02-26 21:19:44 +09:00
  • fff950e459 Improve performance by modifying StringSliceList and always creating a Literalinline instead of a StringBuilder + LiteralInline Alexandre Mutel 2016-02-26 21:11:54 +09:00
  • 059feda460 Fix regression Alexandre Mutel 2016-02-26 21:07:44 +09:00
  • aa5bae2d5d Improve performance and regressions Alexandre Mutel 2016-02-26 20:42:28 +09:00
  • 3da2ea0903 Fix many regressions Alexandre Mutel 2016-02-26 07:35:49 +09:00
  • f06ad15842 Remove usage of EscapeInsecure Alexandre Mutel 2016-02-26 07:08:05 +09:00
  • 3f7d7927ee Change tests for inlines Alexandre Mutel 2016-02-26 00:44:59 +09:00
  • cffbf06682 Fix various issues with new system Alexandre Mutel 2016-02-26 00:39:07 +09:00
  • daa09f6cd2 Rewrite BlockParser, simplfy code. Alexandre Mutel 2016-02-25 22:10:52 +09:00
  • 0976c03dcf Temp work Alexandre Mutel 2016-02-25 20:30:37 +09:00
  • 4e9aad9fa9 Add prototype for new parser Alexandre Mutel 2016-02-25 05:04:22 +09:00
  • 8998b1fae5 Try to improve performance (test with prototype for Task//) Alexandre Mutel 2016-02-24 20:53:36 +09:00
  • 735edb99fa Avoid acecssing too much LastBlock consecutively Alexandre Mutel 2016-02-24 07:31:10 +09:00
  • 9fdd1cc98a Test with using a better HardlineBreakInline parser to speed up processing Alexandre Mutel 2016-02-24 06:59:08 +09:00
  • 78d973e688 cosmetic changes Alexandre Mutel 2016-02-24 06:28:10 +09:00
  • edf4e91fc3 Improve performance of StringBuilderCache.Local() Alexandre Mutel 2016-02-24 06:13:11 +09:00
  • 5091b023ed Improve performance by using directly StringReader.ReadLine Alexandre Mutel 2016-02-24 05:45:30 +09:00
  • 45f3b20c12 Improve performance Alexandre Mutel 2016-02-24 08:35:56 +09:00
  • 5b58385f77 Add LineReader Alexandre Mutel 2016-02-24 07:49:39 +09:00
  • b31f264c21 Add some small performance enhancements Alexandre Mutel 2016-02-24 07:33:05 +09:00
  • 74d2cf6e39 Start to work on performance Alexandre Mutel 2016-02-24 01:01:40 +09:00
  • 7b290f3f71 Fix parser with latest changes (629 passed) Alexandre Mutel 2016-02-23 23:24:57 +09:00
  • e6ef6ca7ef Simplify code to use Block as BlockState Alexandre Mutel 2016-02-23 20:09:37 +09:00
  • e3a5142235 Refactor BlockParser, Rename MatchLineState into blockParserState, and MatchInlineState into InlineParserState (606 tests passing) Alexandre Mutel 2016-02-23 20:27:43 +09:00
  • da47c75ce1 Try to switch to new model using Pending and NewBlocks instead Alexandre Mutel 2016-02-23 20:26:45 +09:00
  • 94fd0db56f Fix some cases with loose list Alexandre Mutel 2016-02-23 07:50:13 +09:00
  • 876853c13e Fix issues with list items Alexandre Mutel 2016-02-23 00:01:43 +09:00
  • a68b1b37bc Fix parsing of definition with link definition with an invalid title Alexandre Mutel 2016-02-22 21:25:46 +09:00
  • 2dde197698 Fix parsing of HTML comment, instruction. Fix issue with \0 character Alexandre Mutel 2016-02-22 21:16:15 +09:00
  • 19681f2e7d Fix inline codespans Alexandre Mutel 2016-02-22 21:15:06 +09:00
  • 2a0b6834e2 Fix backslash for code inline Alexandre Mutel 2016-02-22 20:57:14 +09:00
  • 1c4ba18ea8 Add support for HTML block type 7 Alexandre Mutel 2016-02-22 20:40:34 +09:00
  • 4f2c2aaa2c Add support for inline html (tests passed: 560) Alexandre Mutel 2016-02-22 20:15:19 +09:00
  • 07b9f022ca Add support for hardline breaks Alexandre Mutel 2016-02-22 01:33:21 +09:00
  • 7ccbb96a74 Fix fenced code blocks, code blocks and code inline Alexandre Mutel 2016-02-22 01:20:34 +09:00
  • de81d68850 Fix issues with setext headings Alexandre Mutel 2016-02-22 00:46:53 +09:00
  • d6c695d22e Fix backslahes Alexandre Mutel 2016-02-22 00:13:09 +09:00
  • 4c767dde4e Add various Escape and Unescape Alexandre Mutel 2016-02-21 23:56:43 +09:00
  • 33cc657df8 Fix emphasis for nested strong/em Alexandre Mutel 2016-02-21 23:56:26 +09:00
  • 6fdd07fb32 Fix Escape to use Literal instead Alexandre Mutel 2016-02-21 23:55:51 +09:00
  • e432949f2a Fix issue with shortcut inlines and collapsed Alexandre Mutel 2016-02-21 22:58:14 +09:00
  • d1f4faf6f3 Allow Empty for LinkHelper.TryParseLabel Alexandre Mutel 2016-02-21 22:36:01 +09:00
  • d550fb664c Fix escape for label Alexandre Mutel 2016-02-21 22:20:03 +09:00
  • 7dd3fb6fa0 Fix many cases for inlines Alexandre Mutel 2016-02-21 22:16:05 +09:00
  • 91a40d9d6d Add support for Autolinks. Improve support for links (tests 440) Alexandre Mutel 2016-02-21 21:38:57 +09:00
  • eec3826938 Improve inlines Alexandre Mutel 2016-02-21 07:26:04 +09:00
  • 0cfc9fa425 Fix issue with containers Alexandre Mutel 2016-02-21 07:05:36 +09:00
  • de35805311 Rename specs tests Alexandre Mutel 2016-02-21 06:46:55 +09:00
  • 6b44652e01 Fix several issues. First support for em and strong Alexandre Mutel 2016-02-20 21:33:07 +09:00
  • 34be5fa4a5 Continue working on link and emphasis Alexandre Mutel 2016-02-20 01:18:40 +09:00
  • 07f585c068 Fix issue with ContainerBlock Alexandre Mutel 2016-02-19 20:47:33 +09:00
  • 0197bf5a04 Add comment for FencedCodeBlock Alexandre Mutel 2016-02-19 20:40:43 +09:00
  • ad8a5499de Add parsing for LinkReferenceDefinition Alexandre Mutel 2016-02-19 20:29:11 +09:00
  • 8b9f7373c5 Improve parsing of LinkHelper Alexandre Mutel 2016-02-19 20:25:58 +09:00
  • 2993442603 Migrate all methods related to links to LinkHelper. Add parsing for link label Alexandre Mutel 2016-02-19 07:22:54 +09:00
  • 9061c68164 Generalize usage of StringBuilderCache.Local() instead of ThreadStatic Alexandre Mutel 2016-02-19 06:58:00 +09:00
  • 68edb6f833 Add StringBuilderCache and reuse it in all places Alexandre Mutel 2016-02-19 06:07:15 +09:00
  • 2fe75c6af2 Move helper classes to Helpers namespace. Regroup methods in helpers Alexandre Mutel 2016-02-19 05:53:48 +09:00
  • 96de9ec7cc Make MatchLineState a class instead of a struct Alexandre Mutel 2016-02-19 05:39:15 +09:00
  • 5da833ec0f Add support for escaping html and urls Alexandre Mutel 2016-02-18 23:49:40 +09:00
  • 748bb6adc6 Add tests for StringLine and StringLineGroup. Fix issues with StringLine and StringLineGroup. Restore tests passed (253) Alexandre Mutel 2016-02-18 22:32:45 +09:00
  • 8b54d0d833 Rename StringLineList to StringLineGroup. Start to work on parsing links Alexandre Mutel 2016-02-18 20:47:23 +09:00
  • 4ad37b7178 Improve code for ImageLink Alexandre Mutel 2016-02-18 02:00:51 +09:00
  • 1626c67d4e Add work on iline Alexandre Mutel 2016-02-18 01:21:03 +09:00
  • 53cd5796ee Start to work on emphasis Alexandre Mutel 2016-02-18 00:34:26 +09:00
  • 0ac98b829c Continue working on inlines Alexandre Mutel 2016-02-17 20:45:04 +09:00
  • d9aa7d9f4f Start to work on inlines Alexandre Mutel 2016-02-17 20:34:26 +09:00
  • 9d221e368f Add StringLine.ToSlice method Alexandre Mutel 2016-02-17 01:20:42 +09:00
  • 08802a10fb Switch to string instead of StringBuilder for StringLine Alexandre Mutel 2016-02-17 01:05:13 +09:00
  • 96aa99f6bb Rename StringLiner to StringLine Alexandre Mutel 2016-02-17 01:00:26 +09:00
  • 93759efaaf Improve matching (using compact) and display (replace space by a special char) Alexandre Mutel 2016-02-17 00:39:18 +09:00
  • d0c31f6373 Continue with html blocks. Use temporary code from CommonMark.NET for html output Alexandre Mutel 2016-02-17 00:10:37 +09:00
  • 0b1fe9dd26 Start to add support for html block Alexandre Mutel 2016-02-16 22:42:40 +09:00
  • 692b7a1625 Fix fenced code block and heading Alexandre Mutel 2016-02-16 21:03:44 +09:00
  • f72e0296fd Fix some issues in parsing (185 tests passes). Add calback on Close() block Alexandre Mutel 2016-02-16 20:35:42 +09:00
  • 8d2f37da67 Implement basic html Formatter to boostrap tests Alexandre Mutel 2016-02-15 23:56:45 +09:00
  • bc1cf3045d Add preliminary support for ListBlock and ListItemBlock Alexandre Mutel 2016-02-15 20:58:12 +09:00
  • dfdebd36de Rename block classes to have a consistent naming Alexandre Mutel 2016-02-15 06:54:14 +09:00
  • 7a4a5d14f7 Fix liner Alexandre Mutel 2016-02-15 05:55:56 +09:00
  • 0d98de1a73 Handle block parsers that can't interrupt a paragraph Alexandre Mutel 2016-02-15 08:17:11 +09:00
  • 4028fcaef4 Rename TerminateBlocksNotOpened to CloseBlocks Alexandre Mutel 2016-02-15 07:48:02 +09:00
  • 281412eba9 Use a MatchLineState for BlockParser.Match method. Try to handle SetTextHeading. Alexandre Mutel 2016-02-15 07:28:15 +09:00
  • 7cda47b824 Rename BlockBuilder to BlockParser. Handle correctly Blanklines Alexandre Mutel 2016-02-15 06:58:16 +09:00
  • 6272ce676f Simplify implementation. Parse basic block structure for now Alexandre Mutel 2016-02-15 00:34:21 +09:00
  • 0e65d00ff8 Start to implement the parser Alexandre Mutel 2016-02-10 20:30:38 +09:00
  • 840200c0e7 Add non-blankline test for CodeBlock Alexandre Mutel 2016-02-10 01:34:37 +09:00
  • 855db50dcc Start to try to code several blocks Alexandre Mutel 2016-02-10 00:54:08 +09:00
  • e0f8de5360 init Alexandre Mutel 2016-02-10 00:12:40 +09:00