Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-21 | Merge pull request #290 from robinst/remove-unused-assignment-lastLineBlank | John MacFarlane | |
Dead code: Remove line assigning to Parser's _lastLineBlank property | |||
2015-01-21 | Dead code: Remove line assigning to Parser's _lastLineBlank property | Robin Stocker | |
It looks like the line is unused (the property is on Node objects). | |||
2015-01-20 | Merge pull request #289 from nwellnhof/user_data | John MacFarlane | |
Add field for user data to node | |||
2015-01-20 | Accessor for iterator's root node | Nick Wellnhofer | |
2015-01-20 | Add user data field for nodes | Nick Wellnhofer | |
2015-01-20 | Fixed escaping error in CDATA regex. | John MacFarlane | |
Caught by sjs! This also improves performance measurably. | |||
2015-01-19 | Man writer: ensure we properly escape multiline strings. | John MacFarlane | |
2015-01-18 | Bigger TODO comment in js/README.md. | John MacFarlane | |
2015-01-18 | html.js - explicitly specify second parameter of escapeXml. | John MacFarlane | |
2015-01-18 | Readjust parser->current after closing fenced block. | John MacFarlane | |
Added assertion to raise an error if finalize is called on a closed block (as was happening undetected because of the fallback behavior). | |||
2015-01-18 | Changed rule for `_` emphasis and strong emphasis. | John MacFarlane | |
To prevent intra-word emphasis, we used to check to see if the delimiter was followed/preceded by an ASCII alphanumeric. We now do something more elegant: whereas an opening `*` must be left-flanking, an opening `_` must be left-flanking *and not right-flanking*. And so on for the other cases. All the original tests passed except some tests with Russian text with internal `_`, which formerly created emphasis but no longer do with the new rule. These tests have been adjusted. A few new test cases have been added to illustrate the rule. The C and JS implementations have both been updated. | |||
2015-01-17 | Renamed DocParser -> Parser. | John MacFarlane | |
Note: library users should update their code or it will break. | |||
2015-01-17 | Fixed typo. | John MacFarlane | |
2015-01-17 | Added new fine-grained JS benchmarks. | John MacFarlane | |
And a script to run them. | |||
2015-01-17 | Reverted addition of offset property to DocParser. | John MacFarlane | |
Also reverted subtraction of offset param from addLine. | |||
2015-01-17 | Moved place where we increment line number. | John MacFarlane | |
2015-01-17 | Removed a check in addLine. | John MacFarlane | |
2015-01-17 | eslint: turned off no-constant-condition warning. | John MacFarlane | |
2015-01-17 | addLine: use this.offset; removed offset parameter. | John MacFarlane | |
2015-01-17 | Added offset property to DocParser. | John MacFarlane | |
2015-01-17 | Removed some unneeded tests (code clarity). | John MacFarlane | |
2015-01-17 | Small code clarification. | John MacFarlane | |
2015-01-17 | Put check for fence close with the other checks for end-of-block. | John MacFarlane | |
This is a more logical arrangement and follows recent changes to the JS implementation. | |||
2015-01-17 | Moved check for closing fence to close-block-check section. | John MacFarlane | |
This is a more logical arrangement. | |||
2015-01-17 | Minor code simplification. | John MacFarlane | |
2015-01-17 | Updated benchmarks. | John MacFarlane | |
2015-01-17 | Performance optimization - avoid repeating scan for nonspace. | John MacFarlane | |
2015-01-17 | Slightly adjusted performance optimization in new block starts. | John MacFarlane | |
2015-01-17 | Fixed linter errors. | John MacFarlane | |
2015-01-17 | Minor code cleanup. | John MacFarlane | |
2015-01-16 | Fixed #285 in cmark. | John MacFarlane | |
2015-01-16 | Added spec example: loose list with blank line after fenced code. | John MacFarlane | |
See #285. cmark currently fails this. | |||
2015-01-16 | Defer closing of fenced code blocks. | John MacFarlane | |
Instead of closing a fenced code block when we see the closing fence, we set fenceLength to -1, which then signals the code that checks for block enders that it is time to close the block. This allows us to process a blank line after the fenced code and set _lastLineBlank appropriately. Addresses #285 for JS implementation. | |||
2015-01-16 | Removed unnecessary setting of default tight=true in finalize. | John MacFarlane | |
We do that when the listData object is initialized. | |||
2015-01-16 | Check for blank line before checking indent in Item. | John MacFarlane | |
2015-01-16 | bin/commonmark: don't use the now-removed toObject for --ast. | John MacFarlane | |
2015-01-16 | Nonrecursive rewrite of ends_with_blank_line. | John MacFarlane | |
Closes #286. | |||
2015-01-16 | Renamed parameters cmark_node -> node. | John MacFarlane | |
Minor code reformatting: This corrects an overzealous global replace from earlier. | |||
2015-01-16 | Rename bullet_char -> bulletChar. | John MacFarlane | |
2015-01-15 | README.md: refer to js/README.md for details on JS implementation. | John MacFarlane | |
2015-01-15 | Improved js README.md. | John MacFarlane | |
Still much to do. | |||
2015-01-15 | Provide getters and setters for public properties of Node. | John MacFarlane | |
Everything else gets a name starting with an underscore and will be considered private. This will allow us to keep the API stable while changing the underlying data structure. And it will avoid exposing properties that have only an instrumental value in parsing. | |||
2015-01-15 | Fixed template path in tools/makespec.py. | John MacFarlane | |
2015-01-15 | Fixed (interact) link in template.html. | John MacFarlane | |
This broke when we switched from pandoc to cmark for the spec, because the class on code changed from 'markdown' to 'language-markdown'. | |||
2015-01-15 | Re-added tools/{makespec.py, template.html, template.tex}. | John MacFarlane | |
These were inadvertently dropped in the commit that described them as being moved to tools/. | |||
2015-01-15 | Rename sourcepos -> _sourcepos, added sourcepos() accessor. | John MacFarlane | |
2015-01-15 | Removed Node.toObject(). | John MacFarlane | |
2015-01-15 | Renamed .t to ._type to mark it as "hidden." | John MacFarlane | |
2015-01-15 | Removed setType(), replaced getType() with type(). | John MacFarlane | |
2015-01-15 | eslint fix. | John MacFarlane | |