Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-26 | Update spec.txt. | John MacFarlane | |
2019-03-26 | Update regression tests in light of recent spec changes... | John MacFarlane | |
affecting link destinations. | |||
2019-03-25 | Add regression test for #517. | John MacFarlane | |
2019-03-25 | Update test/spec.txt | John MacFarlane | |
2019-03-23 | Update spec; allow internal delimiter runs to match if... | John MacFarlane | |
both have lengths that are multiples of 3. See commonmark/commonmark#528. | |||
2019-03-19 | Update spec. Fix `[link](<foo\>)`. | John MacFarlane | |
2019-03-17 | Make rendering safe by default. | John MacFarlane | |
Removes CMARK_OPT_SAFE from options. Adds CMARK_OPT_UNSAFE, with the opposite meaning. The new default behavior is to suppress raw HTML and potentially dangerous links. The CMARK_OPT_UNSAFE option has to be set explicitly to prevent this. -------------------------------------------------------- NOTE: This change will require modifications in bindings for cmark and in most libraries and programs that use cmark. -------------------------------------------------------- Closes #239, #273. Borrows heavily from @kivikakk's patch in github/cmark-gfm#123. | |||
2019-03-17 | Merge pull request #254 from github/empty-input | John MacFarlane | |
Check for empty buffer when rendering | |||
2019-03-17 | Add pathological test for #285. | John MacFarlane | |
2019-03-17 | Add regression test for commonmark#526. | John MacFarlane | |
2019-03-17 | Update test/spec.txt | John MacFarlane | |
2018-10-04 | Update spec.txt. | John MacFarlane | |
2018-09-09 | Update spec.txt. | John MacFarlane | |
2018-09-09 | Update spec.txt. | John MacFarlane | |
2018-08-26 | Updated spec.txt. | John MacFarlane | |
2018-08-25 | Update spec.txt. | John MacFarlane | |
2018-08-25 | entity_tests.py - omit noisy success output. | John MacFarlane | |
2018-07-16 | add link parsing corner cases to regressions | Ashe Connor | |
2018-06-11 | Fix spaces on regression test. | John MacFarlane | |
2018-06-11 | Removed meta from list of block tags. | John MacFarlane | |
Added regression test. See commonmark/CommonMark#527. | |||
2018-04-15 | pathological_tests.py: make tests run faster. | John MacFarlane | |
- commented out the (already ignored) "many references" test, which times out - reduced the iterations for a couple other tests | |||
2018-04-15 | pathological_tests.py: added test for deeply nested lists. | John MacFarlane | |
2018-03-25 | Update spec. | John MacFarlane | |
2018-03-25 | Update spec.txt from repository. | John MacFarlane | |
2018-02-20 | Fuzz width parameter too | Phil Turnbull | |
Allow the `width` parameter to be generated too so we get better fuzz-coverage. | |||
2018-02-20 | Don't discard empty fuzz test-cases | Phil Turnbull | |
We currently discard fuzz test-cases that are empty but empty inputs are valid markdown. This improves the fuzzing coverage slightly. | |||
2017-11-18 | Also run API tests with CMARK_SHARED=OFF | Nick Wellnhofer | |
2017-11-18 | Rename roundtrip and entity tests | Nick Wellnhofer | |
Rename the tests to reflect that they use the library, not the executable. | |||
2017-11-05 | Fixed exit code for pathological tests. | John MacFarlane | |
2017-11-05 | Add allowed failures to pathological_tests.py. | John MacFarlane | |
This allows us to include tests that we don't yet know how to pass. | |||
2017-11-05 | Add timeout to pathological_tests.py. | John MacFarlane | |
Tests must complete in 8 seconds or are errors. | |||
2017-11-05 | Refactored pathological_tests.py | John MacFarlane | |
2017-08-16 | Add more pathological tests. | Martin Mitas | |
These tests target the issues #214, #218, #220. | |||
2017-08-09 | --smart: open quote can never occur right after `]` or `)`. | John MacFarlane | |
Closes #227. | |||
2017-08-01 | Update spec. | John MacFarlane | |
2017-08-01 | Update spec. | John MacFarlane | |
2017-07-13 | Reverted mistaken fix to #193. | John MacFarlane | |
Commit 14ea489f5dd6e3d07e23f104d6c9ce441d05751b | |||
2017-06-29 | Updated spec.txt. | John MacFarlane | |
2017-06-27 | Add Makefile target and harness to fuzz with libFuzzer | Phil Turnbull | |
This can be run locally with `make libFuzzer` but the harness will be integrated into oss-fuzz for large-scale fuzzing. | |||
2017-06-27 | Move fuzzing dictionary into single file | Phil Turnbull | |
This allows AFL and libFuzzer to use the same dictionary | |||
2017-06-23 | Add hyphen to dictionary | Phil Turnbull | |
2017-06-02 | Properly handle backslashes in link destinations. | John MacFarlane | |
Only ascii punctuation characters are escapable, per the spec. Closes #192. | |||
2017-06-02 | Fixed bug with unescaped left angle bracket in link destination. | John MacFarlane | |
Closes #193. | |||
2017-01-08 | Update spec. | John MacFarlane | |
2017-01-06 | Make shared and static libraries optional | Azamat H. Hackimov | |
Now you can enable/disable compilation and installation targets for shared and static libraries via -DCMARK_SHARED=ON/OFF and -DCMARK_STATIC=ON/OFF | |||
2017-01-03 | Added pathological test for #178 (quadratic). | John MacFarlane | |
The new "multiple of 3" rule defeats one of our optimizations. | |||
2017-01-03 | Added regression test for #177. | John MacFarlane | |
2017-01-03 | Revert "More sourcepos! (#169)" | John MacFarlane | |
This reverts commit 9e643720ec903f3b448bd2589a0c02c2514805ae. | |||
2017-01-03 | Revert "Change types for source map offsets (#174)" | John MacFarlane | |
This reverts commit 4fbe344df43ed7f60a3d3a53981088334cb709fc. | |||
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. |