summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 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-18Add unescapeString as method of InlineParser.John MacFarlane
2014-10-18Factored out blocks.js from index.js.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-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-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-13Add missing MIN directiveAbdülhamit Yilmaz
It's needed in strbuf_cmp().
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-09Merge branch 'master' into cmake-buildGulliver
* master: (75 commits) Remove duplicate `footer` Correct capitalization of JavaScript Added link to commonmark.org on web page. Added cases from #51 to spec. Added test case from issue #147. Removed uthash license. We no longer use this library. Removed bstrlib license. We no longer use this library. Removed oldtests. Cleaned up entity section of spec. Adjusted tests for new js parser. stmd.js: Fixed entityToChar, adding fromCodePoint polyfill. Reset label_nest_level before parsing reference. Removed spurious 'and', reflowed. Removed spurious 'and', reflowed. Further emph fallback optimizations. Some jshint fixes. Use simpler algorithm. Revert "Use integers instead of strings for tags." Revert "Use numerical constants." Use numerical constants. ...
2014-10-09Merge branch 'master' into cmake-buildGulliver
* master: Adds missing newlines Changes urls to use example.com Changes append to prepend Suppress 'missing field initializer' warnings Makefile: Use ?= so variables can be set on command line. Fix some compatibility issues
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