summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-22Fixed #214 C and JS implementations.John MacFarlane
They were gobbling whitespace after shortcut reference links, e.g. [foo] bar [foo]: url Closes #214.
2014-11-22Added example to spec of shortcut link with following space.John MacFarlane
See #214.
2014-11-22Added an Authors section to README.John MacFarlane
2014-11-22commonmark.rb: Added 'transform' and demos.John MacFarlane
2014-11-22Fixed typo.John MacFarlane
starting
2014-11-22Revised benchmark procedure.John MacFarlane
Now we take the difference of the time to process the input and the time to run with no input. This compensates for slow startup time in dynamic languages. See comments on 2dcef8a
2014-11-22Merge pull request #210 from nwellnhof/nwellnhof_141122John MacFarlane
C API fixes, additional tests, stackless rendering
2014-11-22Added examples of using walk.John MacFarlane
2014-11-22Make parser accept a char*Nick Wellnhofer
2014-11-22commonmark.rb - added walk, an iterator that walks the AST.John MacFarlane
2014-11-22Make render_html return a char*Nick Wellnhofer
2014-11-22Fix hierarchy testNick Wellnhofer
2014-11-22Stackless HTML renderingNick Wellnhofer
Now that every node has a parent pointer, it's possible to implement the HTML rendering functions without render stacks and any dynamic memory allocations. This commit also adds some minor optimizations that eliminate some strbuf_put* calls for the common case and avoid printf for headers.
2014-11-22Fix debug flagsNick Wellnhofer
2014-11-22Fix and test node_checkNick Wellnhofer
2014-11-22Tests for node_previous, node_parent, node_unlinkNick Wellnhofer
2014-11-22Rearrange get_type testsNick Wellnhofer
2014-11-22Set defaults for new headers and listsNick Wellnhofer
2014-11-22More tree hierarchy checks and testsNick Wellnhofer
2014-11-21commonmark.rb: omit title if empty.John MacFarlane
2014-11-21Added a needed parameter in runtests.py.John MacFarlane
2014-11-21commonmark.rb - support remaining elements in HTML renderer.John MacFarlane
Halt on finding unsupported method.
2014-11-21More commonmark.rb improvements.John MacFarlane
2014-11-21commonmark.rb - more elegant out, blocksep.John MacFarlane
2014-11-21Further improvements to commonmark.rb.John MacFarlane
2014-11-21commonmark.rb - implemented headers.John MacFarlane
2014-11-21commonmark.rb: separated Renderer class.John MacFarlane
2014-11-21html: Simplified render_stack code.John MacFarlane
Now that we have just one node type, it is not necessary to have two separate 'push' functions.
2014-11-20commonmark.rb: more progress.John MacFarlane
2014-11-20commonmark.rb improvements.John MacFarlane
2014-11-20Added commonmark.rb, steps towards a nice ruby wrapper of the parser.John MacFarlane
2014-11-20Removed variance from stats.py.John MacFarlane
2014-11-20Added utf8proc_is_space.John MacFarlane
2014-11-20Added utf8proc_is_punctuation.John MacFarlane
We'll probably need this when the spec for emph/strong gets revised.
2014-11-20Removed leakchek from travis script.John MacFarlane
2014-11-20Travis: run valgrind after finishing.John MacFarlane
2014-11-20Use --no-normalize in tests.John MacFarlane
2014-11-20Reformatted some spec examples to match output of cmark.John MacFarlane
This way cmark passes tests with `--no-normalize`. See #161.
2014-11-20runtests.py: Fixed normalization of declarations and CDATA.John MacFarlane
If the input contains CDATA, we break it out and pass it through verbatim, without sending it through HTMLParser, which breaks on CDATA. Improves on #161.
2014-11-20runtests.py: catch HTMLParser errors in normalizer.John MacFarlane
2014-11-19leakcheck: Have valgrind return error code on errors.John MacFarlane
This should perhaps be integrated into the cmake tests?
2014-11-19Merge pull request #208 from nwellnhof/more_accessors_and_testsJohn MacFarlane
More accessors and tests
2014-11-19cmark: Add space before '/' in img tag.John MacFarlane
2014-11-19runtests.py: Added --no-normalize option.John MacFarlane
This disables all normalization. Note that the spec tests don't currently pass w/o normalization!
2014-11-19Renamed --test-normalization to --debug-normalizationJohn MacFarlane
2014-11-19Further runtests.py improvements.John MacFarlane
Better handling of br. Distinguish between a case where there's space on the next line and one where there isn't. Added --test-normalization flag to test normalization feature.
2014-11-19Improved normalization in runtests.py.John MacFarlane
Closes #161.
2014-11-19Input validation for settersNick Wellnhofer
2014-11-19Accessor testsNick Wellnhofer
2014-11-19Fix api_test summaryNick Wellnhofer