Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2014-11-19 | Add cmark_node_insert_after to cmark.h | Nick Wellnhofer | |
Fix copy/paste error. | |||
2014-11-18 | Added python version of test runner. | John MacFarlane | |
This tests the dynamic library when run without a second argument. The code makes use of an amended version of the normalization method from karlcow/markdown-testsuite. Closes #161. | |||
2014-11-18 | make test: Use cmake to run tests. So we get api tests too. | John MacFarlane | |
2014-11-18 | Add api_test directory to archive. | John MacFarlane | |
2014-11-18 | Merge branch 'api_tests' of https://github.com/nwellnhof/CommonMark into ↵ | John MacFarlane | |
nwellnhof-api_tests | |||
2014-11-18 | Removed remarkable.js benchmark. | John MacFarlane | |
2014-11-18 | Fix api_test warnings | Nick Wellnhofer | |
2014-11-18 | Set compiler flags for api_test | Nick Wellnhofer | |
2014-11-18 | Add header file to CMake api_test sources | Nick Wellnhofer | |
2014-11-18 | Try to support older CMake versions | Nick Wellnhofer | |
2014-11-18 | Boldface commonmark.js too in benchmarks. | John MacFarlane | |
2014-11-18 | Added a few more benchmarks. | John MacFarlane | |
2014-11-18 | Start with tests for the C API | Nick Wellnhofer | |
The C API tests can be run individually via build/api_test/api_test Or together with the spec tests via cmake --build build --target test | |||
2014-11-18 | Add node constructor and accessors to the public API | Nick Wellnhofer | |
The approach I'm taking is to copy inline literals internally to NULL-terminated C strings if requested by an accessor. This allows to return a 'const char *' that doesn't have to be freed by the caller. | |||
2014-11-18 | Make render_html support nodes with no children | Nick Wellnhofer | |
For empty inline nodes like EMPH, the parser always creates a child containing an empty string. Using the tree manipulation API, nodes with no children can be created. Adjust render_html to cope. | |||
2014-11-18 | Added remarkable.js benchmark. | John MacFarlane | |
2014-11-18 | Initialize all fields in node when creating inlines. | John MacFarlane | |
2014-11-18 | Fix to #205 that doesn't require raw HTML. | John MacFarlane | |
2014-11-18 | Updated benchmarks. | John MacFarlane | |