Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-19 | Merge pull request #259 from github/link-parsing-corner-cases | John MacFarlane | |
add link parsing corner cases to regressions | |||
2018-07-16 | add link parsing corner cases to regressions | Ashe Connor | |
2018-07-07 | Add xml:space="preserve" in XML output when appropriate | Nguyễn Thái Ngọc Duy | |
With current HTML escaping, sometimes we may produce an XML tag like <code_block> </code_block> Many XML parsers consider these spaces insignificant and strip them out but we need this. There's actually a test case like this in spec.txt (search "A code block can have all empty lines as its content:") and without proper hinting, an external xml->html converter will fail the spec. XML standard covers this case. If xml:space is "preserve", then whitespaces are significant and should be kept. Add this hint for text, code, code_block, html_inline and html_block tags. | |||
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-04-14 | Optimize S_find_first_nonspace. | John MacFarlane | |
We were needlessly redoing things we'd already done. Now we skip the work if the first nonspace is greater than the current offset. This fixes pathological slowdown with deeply nested lists (#255). For N = 3000, the time goes from over 17s to about 0.7s. Thanks to @mity for diagnosing the problem. | |||
2018-03-25 | Allow spaces in link destination delimited with pointy brackets. | John MacFarlane | |
To conform to recent spec change. | |||
2018-03-25 | Update spec. | John MacFarlane | |
2018-03-25 | Adjust max length of decimal/numeric entities. | John MacFarlane | |
See commonmark/CommonMark#487. | |||
2018-03-25 | Fix inline raw HTML parsing. | John MacFarlane | |
This fixes a recently added failing spec test case. Previously spaces were being allowed in unquoted attribute values; no we forbid them. | |||
2018-03-25 | Don't allow list markers to be indented >= 4 spaces. | John MacFarlane | |
See commonmark/CommonMark#497. | |||
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. | |||
2018-02-20 | Check for empty buffer when rendering | Phil Turnbull | |
For empty documents, `->size` is zero so `renderer.buffer->ptr[renderer.buffer->size - 1]` will cause an out-of-bounds read. Empty buffers always point to the global `cmark_strbuf__initbuf` buffer so we read `cmark_strbuf__initbuf[-1]`. | |||
2017-11-18 | README - use commonmark/cmark for appveyor badge. | John MacFarlane | |
2017-11-18 | Merge pull request #250 from nwellnhof/test-static-only-build | John MacFarlane | |
Test static-only build | |||
2017-11-18 | Add static-only build to Travis test matrix | Nick Wellnhofer | |
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-16 | Updated travis badges and issue tracker jgm -> commonmark. | John MacFarlane | |
Thanks @mohitsinghs | |||
2017-11-15 | Merge pull request #249 from nwellnhof/static-only-build | John MacFarlane | |
Generate export header for static-only build | |||
2017-11-14 | Generate export header for static-only build | Nick Wellnhofer | |
Fixes issue #247. | |||
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-11-05 | Merge pull request #230 from mity/more-pathological-tests | John MacFarlane | |
Add more pathological tests. | |||
2017-11-05 | Merge pull request #217 from github/upstream/limit-nested-parens | John MacFarlane | |
> 32 nested balanced parens in a link is bananas | |||
2017-11-05 | Merge pull request #228 from github/upstream/inline-sourcepos | John MacFarlane | |
Add sourcepos info for inlines | |||
2017-11-02 | Merge branch 'master' into upstream/inline-sourcepos | Ashe Connor | |
2017-10-21 | Updated changelog. | John MacFarlane | |
2017-10-21 | BUmp to 0.28.3 | John MacFarlane | |
2017-10-20 | Merge pull request #240 from nwellnhof/add-cmake-include | John MacFarlane | |
Include GNUInstallDirs in src/CMakeLists.txt | |||
2017-10-19 | Include GNUInstallDirs in src/CMakeLists.txt | Nick Wellnhofer | |
Fixes installation error under some CMake versions, notably kalakris' CMake backport often used with Travis. | |||
2017-10-12 | Bump to 0.28.2, update changelog. | John MacFarlane | |
2017-10-12 | Fixed regression in install dest for static library. | John MacFarlane | |
Due to a mistake, 0.28.1 installed libcmark.a into include/. Closes #238. | |||
2017-10-10 | Bump to 0.28.1, update changelog. | John MacFarlane | |
2017-10-10 | Don't use CMAKE_INSTALL_LIBDIR to create libcmark.pc. | John MacFarlane | |
For some reason this wasn't getting set in processing libcmark.pc.in, and we were getting the wrong entry in libcmark.pc. (See #236) The new approach sets an internal libdir variable to lib${LIB_SUFFIX}. This variable is used both to set the install destination and in the libcmark.pc.in template. Closes #236. However, I'd welcome comments from @juhp who originally added CMAKE_INSTALL_LIBDIR in #185. I think that the new system should work fine with Fedora, since LIB_SUFFIX will be set appropriately, but some testing is in order. | |||
2017-09-13 | Merge pull request #232 from github/upstream/refparse | John MacFarlane | |
blocks: Fix quadratic behavior in `finalize` | |||
2017-09-14 | blocks: Fix quadratic behavior in `finalize` | Vicent Marti | |
2017-08-16 | Add more pathological tests. | Martin Mitas | |
These tests target the issues #214, #218, #220. | |||
2017-08-10 | Skip sourcepos tracking if disabled | Yuki Izumi | |
2017-08-10 | Fix inlines spanning newlines, text in non-para | Yuki Izumi | |
2017-08-09 | --smart: open quote can never occur right after `]` or `)`. | John MacFarlane | |
Closes #227. | |||
2017-08-09 | Add sourcepos info for inlines | Yuki Izumi | |
2017-08-03 | Merge pull request #224 from pclouds/make-format-source-code | John MacFarlane | |
`make format` the source code | |||
2017-08-03 | Reformat source code with 'make format' | Nguyễn Thái Ngọc Duy | |