summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-24Revised spec for new emph/strong rules.John MacFarlane
These rules go with the new stack-based parser for emph/strong.
2014-10-24js: Removed memoization.John MacFarlane
It is no longer needed with the new stack-based emphasis parsing.
2014-10-24Improved leakcheck so that all syntax features are tested.John MacFarlane
2014-10-24js: Use linked list instead of array for emphasis_openers stack.John MacFarlane
2014-10-24js: renamed emph_stack -> emphasis_openers.John MacFarlane
2014-10-24Fixed a memory allocation error.John MacFarlane
2014-10-24Fixed memory leak by freeing all unused emphasis openers.John MacFarlane
2014-10-24Renamed subj->last_emphasis to subj->emphasis_openers.John MacFarlane
2014-10-23inlines.js: Implemented stack-based emph parsing.John MacFarlane
2014-10-19Removed now-undeeded 'first' parameter in parse_inline.John MacFarlane
2014-10-19Whitespace changes.John MacFarlane
2014-10-18parse_inline: Correctly move to last inline.John MacFarlane
2014-10-18Fixed performance regression.John MacFarlane
See discussion under #157.
2014-10-18Don't emit empty str elements in handle_strong_emph.John MacFarlane
2014-10-18Reindented c sources.John MacFarlane
2014-10-18Added renderAST to js, added AST render tab to dingus.John MacFarlane
Modified processInlines so it creates new objects instead of modifying in place. This way we can remove the extraneous fields only needed for parsing.
2014-10-18Added 'make jshint'.John MacFarlane
2014-10-18Add unescapeString as method of InlineParser.John MacFarlane
2014-10-18Factored out blocks.js from index.js.John MacFarlane
2014-10-18Factored out inlines.js from index.js.John MacFarlane
2014-10-18Change from-code-point.js so it doesn't alter String prototype.John MacFarlane
2014-10-18Use browserify to make js code more modular.John MacFarlane
* Moved js library code to `js/lib`. * `js/stmd.js` is now generated from these files using browserify. * Factored out `html5-entities.js` and `from-code-point.js` from main js parsing code (which is now `index.js`). * Moved `js/markdown` to `js/bin`.
2014-10-18Merge branch 'master' of https://github.com/Knagis/stmd into emphstackJohn MacFarlane
2014-10-09After inline parsing free any remaining InlineStack instances.user
2014-10-09Modified inline parsing to keep track of two pointers - the head of the list ↵user
and the tail.
2014-10-09Revert "Modified inline parsing to keep track of two pointers - the head of ↵Knagis
the list and the tail." This reverts commit bc78ad0a182bd322552fd081e30e552c18a87455.
2014-10-09Modified inline parsing to keep track of two pointers - the head of the list ↵Knagis
and the tail.
2014-10-08Merge branch 'master' of github.com:jgm/stmdJohn MacFarlane
2014-10-08Merge pull request #155 from wbond/masterJohn MacFarlane
Remove duplicate `footer`
2014-10-08Remove duplicate `footer`Will Bond
2014-10-08Implemented stack-based algorithm for matching emphasisKnagis
2014-10-08Merge pull request #1 from jgm/masterKārlis Gaņģis
merge
2014-10-07Changed bench.js so it no longer requires oldtests.John MacFarlane
2014-10-07Correct capitalization of JavaScriptBengt Lüers
2014-10-07Added link to commonmark.org on web page.John MacFarlane
Closes #23.
2014-10-07Added cases from #51 to spec.John MacFarlane
Closes #51.
2014-10-07Added test case from issue #147.John MacFarlane
2014-10-07Removed uthash license. We no longer use this library.John MacFarlane
2014-10-07Removed bstrlib license. We no longer use this library.John MacFarlane
2014-10-07Removed oldtests.John MacFarlane
2014-10-07Merge branch 'master' into newemphasisJohn MacFarlane
Conflicts: spec.txt
2014-10-07Cleaned up entity section of spec.John MacFarlane
We convert entities to unicode characters, not UTF-8 sequences. (Though they might ultimately be output that way.)
2014-10-07Adjusted tests for new js parser.John MacFarlane
2014-10-07stmd.js: Fixed entityToChar, adding fromCodePoint polyfill.John MacFarlane
Closes #151.
2014-10-07Reset label_nest_level before parsing reference.John MacFarlane
This fixes a bug with text like: [[some unrelated text [link] [link]: destination See #146.
2014-10-07Removed spurious 'and', reflowed.John MacFarlane
2014-10-07Removed spurious 'and', reflowed.John MacFarlane
2014-10-06Merge pull request #143 from aJanuary/patch-1John MacFarlane
Changes append to prepend
2014-10-06Merge pull request #144 from aJanuary/masterJohn MacFarlane
Changes urls to use example.com
2014-10-04Further emph fallback optimizations.John MacFarlane