Commit Graph

74 Commits

Author SHA1 Message Date
Alexandre Mutel
305901e9ff Add struct StringLine to allow to pass line information to inlines 2016-02-28 20:47:55 +09:00
Alexandre Mutel
265000111d Remove usage of ResetToPosition and replace by ResetToColumn 2016-02-27 22:13:11 +09:00
Alexandre Mutel
5c845b6e78 Rename CodeBlock to IndentedCodeBlock. Fix issue with tabs and spacing. 647 passed!!! \o/ 2016-02-27 21:47:18 +09:00
Alexandre Mutel
418776479d Fix handling nested image links 2016-02-27 01:38:08 +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
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
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
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
8998b1fae5 Try to improve performance (test with prototype for Task//) 2016-02-24 20:53:36 +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
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
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
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
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
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