summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-24Spec: Made background color for code spans work more consistently.John MacFarlane
Closes #162.
2014-10-24Fixed typo. Closes #110.John MacFarlane
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-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