Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-30 | Change types for source map offsets (#174) | Nick Wellnhofer | |
* Improve strbuf guarantees Introduce BUFSIZE_MAX macro and make sure that the strbuf implementation can handle strings up to this size. * Abort early if document size exceeds internal limit * Change types for source map offsets Switch to size_t for the public API, making the public headers C89-compatible again. Switch to bufsize_t internally, reducing memory usage and improving performance on 32-bit platforms. * Make parser return NULL on internal index overflow Make S_parser_feed set an error and ignore subsequent chunks if the total input document size exceeds an internal limit. Make cmark_parser_finish return NULL if an error was encountered. Add public API functions to retrieve error code and error message. strbuf overflow in renderers and OOM in parser or renderers still cause an abort. | |||
2016-12-20 | More sourcepos! (#169) | Mathieu Duponchelle | |
* open_new_blocks: always create child before advancing offset * Source map * Extent's typology * In-depth python bindings | |||
2016-12-01 | Allow balanced nested parens in link destinations (#166) | Yuki Izumi | |
2016-11-26 | Added pathological test for backticks. | John MacFarlane | |
Currently aborts. | |||
2016-11-18 | Update spec. | John MacFarlane | |
2016-11-04 | Fix for non-matching entities (#161) | Yuki Izumi | |
* Add test to illustrate issue * Provide some test fixes * Don't neglect CounterClockwiseContourIntegral * Fix ~10% of cases not matching strncmp returns 0 if the first 'len' bytes of cmark_entities[i].entity match s; we check equal length in the first if by checking if cmark_entities[i].entity[len] == 0, but we neglect the case where cmp == 0 && cmark_entities[i].entity[len] != 0. This should be treated as the same as cmp < 0, because strcmp("abc", "abcd") < 0. * Don't depend on py3.3 in tests | |||
2016-09-15 | Update spec. | John MacFarlane | |
2016-09-14 | Update spec. | John MacFarlane | |
2016-09-14 | Allow tabs after setext header line. | John MacFarlane | |
See jgm/commonmark.js#109 | |||
2016-09-12 | Fixed h2..h6 HTML blocks (jgm/CommonMark#430). | John MacFarlane | |
Added regression test. | |||
2016-09-12 | Update spec | John MacFarlane | |
2016-07-15 | Updated spec. | John MacFarlane | |
2016-07-13 | Updated spec. | John MacFarlane | |
2016-07-11 | Updated spec. | John MacFarlane | |
2016-07-11 | Updated spec. | John MacFarlane | |
2016-07-02 | Updated spec.txt. | John MacFarlane | |
2016-06-24 | Updated spec and pathological tests for changes in strong/emph parsing. | John MacFarlane | |
2016-06-23 | Updated spec. | John MacFarlane | |
2016-06-23 | Updated spec.txt. | John MacFarlane | |
2016-06-06 | cmake: Global handler for OOM situations | Vicent Marti | |
2016-06-06 | test: Add tests for memory exhaustion | Vicent Marti | |
2016-06-06 | Fix ctypes in Python FFI calls | Nick Wellnhofer | |
This didn't cause problems so far because - all types are 32-bit on 32-bit systems and - arguments are passed in registers on x86-64. The wrong types could cause crashes on other platforms, though. | |||
2016-06-02 | roundtrip tests: remove spurious failures. | John MacFarlane | |
In the commonmark writer we separate lists, and lists and indented code, using a dummy HTML comment rather than two blank lines (this is more portable). So in evaluating the round-trip tests, we now strip out these comments. We also normalize HTML to avoid issues having to do with line breaks. | |||
2016-06-02 | Added new roundtrip_tests.py. | John MacFarlane | |
This replaces the old use of simple shell scripts. It is much faster, and more flexible. (We will be able to do custom normalization and skip certain tests.) | |||
2016-06-02 | cmark.py: added to_commonmark (for round-trip tests). | John MacFarlane | |
2016-06-02 | spec_test.py - parameterize do_test with converter. | John MacFarlane | |
2016-06-02 | Updated spec.txt (no new or changed test cases). | John MacFarlane | |
2016-06-02 | spec_tests.py: exit code is sum of failures and errors. | John MacFarlane | |
2016-06-01 | Fixed round trip tests. | John MacFarlane | |
Previously they actually ran cmark instead of the round-trip version, since there was a bug in setting the ROUNDTRIP variable. Now round trip tests fail! This was unnoticed before. See #131. | |||
2016-05-17 | Fix tests under MinGW | Nick Wellnhofer | |
- Fix PATH for api_test, see: https://cmake.org/pipermail/cmake/2009-May/029423.html - DLL is named libcmark.dll under MinGW. | |||
2016-04-09 | Updated spec test | John MacFarlane | |
2016-03-28 | Add first regression tests | Nick Wellnhofer | |
I think it's a good idea to add tests after fixing bugs. This is really easy using the spec test infrastructure. | |||
2016-03-24 | Updated spec. | John MacFarlane | |
2016-02-06 | Updated spec. | John MacFarlane | |
2016-02-06 | Updated spec. | John MacFarlane | |
2016-02-05 | Updated spec. | John MacFarlane | |
2016-02-05 | Updated spec test. | John MacFarlane | |
2016-02-05 | Update test/spec.txt. | John MacFarlane | |
2016-01-12 | Updated spec.txt | John MacFarlane | |
2016-01-11 | Updated spec.txt. | John MacFarlane | |
Currently there is one failing case. See #97. | |||
2016-01-10 | Updated format of test/smart_punct.txt. | John MacFarlane | |
2016-01-10 | Updated spec.txt and spec_tests.py to new format. | John MacFarlane | |
2016-01-07 | Updated spec.txt. | John MacFarlane | |
2016-01-07 | Updated spec.txt. | John MacFarlane | |
2016-01-05 | updated spec.txt | John MacFarlane | |
2016-01-05 | Updated spec.txt. | John MacFarlane | |
2015-12-28 | Updated spec.txt and normalize.py. | John MacFarlane | |
2015-12-22 | Updated spec.txt. | John MacFarlane | |
2015-12-20 | Made roundtrip test part of the test suite run by cmake. | John MacFarlane | |
2015-09-22 | Set convert_charrefs=False in normalize.py. | John MacFarlane | |
This defeats the new default as of python 3.5, and allows the script to work with python 3.5. Closes #83. |