summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-24README: Added note on protecting vs XSS attacks.John MacFarlane
Closes #61.
2014-10-24README: Fixed some javascript instructions.John MacFarlane
2014-10-24Tweaked CSS in spec template so inline code has background color.John MacFarlane
2014-10-24Update version and date on spec.John MacFarlane
Switch to an 0.x version number to indicate more clearly that this is provisional.
2014-10-24More tweaks on emph/strong spec and tests.John MacFarlane
2014-10-24Removed test case with only opening emph markers.John MacFarlane
It's not big enough to reveal stack problems.
2014-10-24Merge branch 'emphstack'John MacFarlane
Conflicts: Makefile js/lib/inlines.js
2014-10-24Added tricky recursive case for emph/strong.John MacFarlane
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 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-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.