Commit Graph

95 Commits

Author SHA1 Message Date
Alexandre Mutel
72ca3f038b Small fix for FencedCodeBlockParser 2016-02-27 02:01:56 +09:00
Alexandre Mutel
418776479d Fix handling nested image links 2016-02-27 01:38:08 +09:00
Alexandre Mutel
37e3b8d8ca Fix List and ListItem (632 tests passed) 2016-02-27 00:59:51 +09:00
Alexandre Mutel
340f47d0b4 Fix rendering of img alt 2016-02-27 00:43:17 +09:00
Alexandre Mutel
4b685229f1 Improve performance by using StringSlice instead of making Substrings 2016-02-27 00:33:22 +09:00
Alexandre Mutel
5da5bd9fa8 Fix many issues related to parsing 2016-02-27 00:13:01 +09:00
Alexandre Mutel
9a67143f39 Fix thematic breaker with list 2016-02-26 22:06:59 +09:00
Alexandre Mutel
56f45eb3e0 Fix LiteralInlineParser to make it non instantiable 2016-02-26 21:19:44 +09:00
Alexandre Mutel
fff950e459 Improve performance by modifying StringSliceList and always creating a Literalinline instead of a StringBuilder + LiteralInline 2016-02-26 21:11:54 +09:00
Alexandre Mutel
059feda460 Fix regression 2016-02-26 21:07:44 +09:00
Alexandre Mutel
aa5bae2d5d Improve performance and regressions 2016-02-26 20:42:28 +09:00
Alexandre Mutel
3da2ea0903 Fix many regressions 2016-02-26 07:35:49 +09:00
Alexandre Mutel
f06ad15842 Remove usage of EscapeInsecure 2016-02-26 07:08:05 +09:00
Alexandre Mutel
3f7d7927ee Change tests for inlines 2016-02-26 00:44:59 +09:00
Alexandre Mutel
cffbf06682 Fix various issues with new system 2016-02-26 00:39:07 +09:00
Alexandre Mutel
daa09f6cd2 Rewrite BlockParser, simplfy code. 2016-02-25 22:10:52 +09:00
Alexandre Mutel
0976c03dcf Temp work 2016-02-25 20:30:37 +09:00
Alexandre Mutel
4e9aad9fa9 Add prototype for new parser 2016-02-25 05:04:22 +09:00
Alexandre Mutel
8998b1fae5 Try to improve performance (test with prototype for Task//) 2016-02-24 20:53:36 +09:00
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