summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-24Add a newline to a line that doesn't end with one.John MacFarlane
Closes #115.
2014-10-24Spec: Added rule clarifying setext header content.John MacFarlane
Also several test cases. Closes #13.
2014-10-24Spec: altered processing instruction test.John MacFarlane
This catches the edge case described in #117.
2014-10-24Fixed regex for processing instruction.John MacFarlane
We now handle properly `<?php echo '>'; ?>`. Closes #117.
2014-10-24Merge branch 'tchetch-master'John MacFarlane
2014-10-24Merge branch 'master' of https://github.com/tchetch/stmd into tchetch-masterJohn MacFarlane
Conflicts: src/inlines.c
2014-10-24Use unsigned char, not char, throughout.John MacFarlane
Closes #43.
2014-10-24Added test case with heading in list item.John MacFarlane
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.