Commit Graph

776 Commits

Author SHA1 Message Date
Alexandre Mutel
735edb99fa Avoid acecssing too much LastBlock consecutively 2016-02-24 07:31:10 +09:00
Alexandre Mutel
9fdd1cc98a Test with using a better HardlineBreakInline parser to speed up processing 2016-02-24 06:59:08 +09:00
Alexandre Mutel
78d973e688 cosmetic changes 2016-02-24 06:28:10 +09:00
Alexandre Mutel
edf4e91fc3 Improve performance of StringBuilderCache.Local() 2016-02-24 06:13:11 +09:00
Alexandre Mutel
5091b023ed Improve performance by using directly StringReader.ReadLine 2016-02-24 05:45:30 +09:00
Alexandre Mutel
45f3b20c12 Improve performance 2016-02-24 08:35:56 +09:00
Alexandre Mutel
5b58385f77 Add LineReader 2016-02-24 07:49:39 +09:00
Alexandre Mutel
b31f264c21 Add some small performance enhancements 2016-02-24 07:33:05 +09:00
Alexandre Mutel
74d2cf6e39 Start to work on performance 2016-02-24 01:01:40 +09:00
Alexandre Mutel
7b290f3f71 Fix parser with latest changes (629 passed) 2016-02-23 23:24:57 +09:00
Alexandre Mutel
e6ef6ca7ef Simplify code to use Block as BlockState 2016-02-23 20:09:37 +09:00
Alexandre Mutel
e3a5142235 Refactor BlockParser, Rename MatchLineState into blockParserState, and MatchInlineState into InlineParserState (606 tests passing) 2016-02-23 20:27:43 +09:00
Alexandre Mutel
da47c75ce1 Try to switch to new model using Pending and NewBlocks instead 2016-02-23 20:26:45 +09:00
Alexandre Mutel
94fd0db56f Fix some cases with loose list 2016-02-23 07:50:13 +09:00
Alexandre Mutel
876853c13e Fix issues with list items 2016-02-23 00:01:43 +09:00
Alexandre Mutel
a68b1b37bc Fix parsing of definition with link definition with an invalid title 2016-02-22 21:25:46 +09:00
Alexandre Mutel
2dde197698 Fix parsing of HTML comment, instruction. Fix issue with \0 character 2016-02-22 21:16:15 +09:00
Alexandre Mutel
19681f2e7d Fix inline codespans 2016-02-22 21:15:06 +09:00
Alexandre Mutel
2a0b6834e2 Fix backslash for code inline 2016-02-22 20:57:14 +09:00
Alexandre Mutel
1c4ba18ea8 Add support for HTML block type 7 2016-02-22 20:40:34 +09:00
Alexandre Mutel
4f2c2aaa2c Add support for inline html (tests passed: 560) 2016-02-22 20:15:19 +09:00
Alexandre Mutel
07b9f022ca Add support for hardline breaks 2016-02-22 01:33:21 +09:00
Alexandre Mutel
7ccbb96a74 Fix fenced code blocks, code blocks and code inline 2016-02-22 01:20:34 +09:00
Alexandre Mutel
de81d68850 Fix issues with setext headings 2016-02-22 00:46:53 +09:00
Alexandre Mutel
d6c695d22e Fix backslahes 2016-02-22 00:13:09 +09:00
Alexandre Mutel
4c767dde4e Add various Escape and Unescape 2016-02-21 23:56:43 +09:00
Alexandre Mutel
33cc657df8 Fix emphasis for nested strong/em 2016-02-21 23:56:26 +09:00
Alexandre Mutel
6fdd07fb32 Fix Escape to use Literal instead 2016-02-21 23:55:51 +09:00
Alexandre Mutel
e432949f2a Fix issue with shortcut inlines and collapsed 2016-02-21 22:58:14 +09:00
Alexandre Mutel
d1f4faf6f3 Allow Empty for LinkHelper.TryParseLabel 2016-02-21 22:36:01 +09:00
Alexandre Mutel
d550fb664c Fix escape for label 2016-02-21 22:20:03 +09:00
Alexandre Mutel
7dd3fb6fa0 Fix many cases for inlines 2016-02-21 22:16:05 +09:00
Alexandre Mutel
91a40d9d6d Add support for Autolinks. Improve support for links (tests 440) 2016-02-21 21:38:57 +09:00
Alexandre Mutel
eec3826938 Improve inlines 2016-02-21 07:26:04 +09:00
Alexandre Mutel
0cfc9fa425 Fix issue with containers 2016-02-21 07:05:36 +09:00
Alexandre Mutel
de35805311 Rename specs tests 2016-02-21 06:46:55 +09:00
Alexandre Mutel
6b44652e01 Fix several issues. First support for em and strong 2016-02-20 21:33:07 +09:00
Alexandre Mutel
34be5fa4a5 Continue working on link and emphasis 2016-02-20 01:18:40 +09:00
Alexandre Mutel
07f585c068 Fix issue with ContainerBlock 2016-02-19 20:47:33 +09:00
Alexandre Mutel
0197bf5a04 Add comment for FencedCodeBlock 2016-02-19 20:40:43 +09:00
Alexandre Mutel
ad8a5499de Add parsing for LinkReferenceDefinition 2016-02-19 20:29:11 +09:00
Alexandre Mutel
8b9f7373c5 Improve parsing of LinkHelper 2016-02-19 20:25:58 +09:00
Alexandre Mutel
2993442603 Migrate all methods related to links to LinkHelper. Add parsing for link label 2016-02-19 07:22:54 +09:00
Alexandre Mutel
9061c68164 Generalize usage of StringBuilderCache.Local() instead of ThreadStatic 2016-02-19 06:58:00 +09:00
Alexandre Mutel
68edb6f833 Add StringBuilderCache and reuse it in all places 2016-02-19 06:07:15 +09:00
Alexandre Mutel
2fe75c6af2 Move helper classes to Helpers namespace. Regroup methods in helpers 2016-02-19 05:53:48 +09:00
Alexandre Mutel
96de9ec7cc Make MatchLineState a class instead of a struct 2016-02-19 05:39:15 +09:00
Alexandre Mutel
5da833ec0f Add support for escaping html and urls 2016-02-18 23:49:40 +09:00
Alexandre Mutel
748bb6adc6 Add tests for StringLine and StringLineGroup. Fix issues with StringLine and StringLineGroup. Restore tests passed (253) 2016-02-18 22:32:45 +09:00
Alexandre Mutel
8b54d0d833 Rename StringLineList to StringLineGroup. Start to work on parsing links 2016-02-18 20:47:23 +09:00