Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-22 | Make parser accept a char* | Nick Wellnhofer | |
2014-11-22 | Make render_html return a char* | Nick Wellnhofer | |
2014-11-22 | Fix hierarchy test | Nick Wellnhofer | |
2014-11-22 | Stackless HTML rendering | Nick 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-22 | Fix debug flags | Nick Wellnhofer | |
2014-11-22 | Fix and test node_check | Nick Wellnhofer | |
2014-11-22 | Tests for node_previous, node_parent, node_unlink | Nick Wellnhofer | |
2014-11-22 | Rearrange get_type tests | Nick Wellnhofer | |
2014-11-22 | Set defaults for new headers and lists | Nick Wellnhofer | |
2014-11-22 | More tree hierarchy checks and tests | Nick Wellnhofer | |
2014-11-21 | commonmark.rb: omit title if empty. | John MacFarlane | |
2014-11-21 | Added a needed parameter in runtests.py. | John MacFarlane | |
2014-11-21 | commonmark.rb - support remaining elements in HTML renderer. | John MacFarlane | |
Halt on finding unsupported method. | |||
2014-11-21 | More commonmark.rb improvements. | John MacFarlane | |
2014-11-21 | commonmark.rb - more elegant out, blocksep. | John MacFarlane | |
2014-11-21 | Further improvements to commonmark.rb. | John MacFarlane | |
2014-11-21 | commonmark.rb - implemented headers. | John MacFarlane | |
2014-11-21 | commonmark.rb: separated Renderer class. | John MacFarlane | |
2014-11-21 | html: 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-20 | commonmark.rb: more progress. | John MacFarlane | |
2014-11-20 | commonmark.rb improvements. | John MacFarlane | |
2014-11-20 | Added commonmark.rb, steps towards a nice ruby wrapper of the parser. | John MacFarlane | |
2014-11-20 | Removed variance from stats.py. | John MacFarlane | |
2014-11-20 | Added utf8proc_is_space. | John MacFarlane | |
2014-11-20 | Added utf8proc_is_punctuation. | John MacFarlane | |
We'll probably need this when the spec for emph/strong gets revised. | |||
2014-11-20 | Removed leakchek from travis script. | John MacFarlane | |
2014-11-20 | Travis: run valgrind after finishing. | John MacFarlane | |
2014-11-20 | Use --no-normalize in tests. | John MacFarlane | |
2014-11-20 | Reformatted some spec examples to match output of cmark. | John MacFarlane | |
This way cmark passes tests with `--no-normalize`. See #161. | |||
2014-11-20 | runtests.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-20 | runtests.py: catch HTMLParser errors in normalizer. | John MacFarlane | |
2014-11-19 | leakcheck: Have valgrind return error code on errors. | John MacFarlane | |
This should perhaps be integrated into the cmake tests? | |||
2014-11-19 | Merge pull request #208 from nwellnhof/more_accessors_and_tests | John MacFarlane | |
More accessors and tests | |||
2014-11-19 | cmark: Add space before '/' in img tag. | John MacFarlane | |
2014-11-19 | runtests.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-19 | Renamed --test-normalization to --debug-normalization | John MacFarlane | |
2014-11-19 | Further 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-19 | Improved normalization in runtests.py. | John MacFarlane | |
Closes #161. | |||
2014-11-19 | Input validation for setters | Nick Wellnhofer | |
2014-11-19 | Accessor tests | Nick Wellnhofer | |
2014-11-19 | Fix api_test summary | Nick Wellnhofer | |
2014-11-19 | Fix {get|set}_string_content | Nick Wellnhofer | |
2014-11-19 | Accessors for start_line, start_column, end_line | Nick Wellnhofer | |
These are read-only as they're only metadata returned by the parser. | |||
2014-11-19 | Accessors for link titles | Nick Wellnhofer | |
2014-11-19 | Accessors for fence info | Nick Wellnhofer | |
Only fence info should be relevant for rendering. Accessors for other fenced code data could be added for completeness but they don't seem very useful. | |||
2014-11-19 | Accessors for list data | Nick Wellnhofer | |
Only 'list_type', 'start', and 'tight' should be relevant for rendering. Accessors for other list data could be added for completeness but they don't seem very useful. | |||
2014-11-19 | Accessors for header level | Nick Wellnhofer | |
2014-11-19 | Accessors for string content of code and HTML blocks | Nick Wellnhofer | |
2014-11-19 | Rename {get|set}_content to {get|set}_string_content | Nick Wellnhofer | |
2014-11-19 | Add tests for insert_{before|after} functions | Nick Wellnhofer | |