Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-10 | Updates for new HTML block spec. | John MacFarlane | |
* Rewrote spec for HTML blocks. A few other spec examples also changed as a result. * Removed old `html_block_tag` scanner. Added new `html_block_start` and `html_block_start_7`, as well as `html_block_end_n` for n = 1-5. * Rewrote block parser for new HTML block spec. | |||
2015-07-09 | Updated test/smart_punct.txt. | John MacFarlane | |
This incorporates the changes in jgm/commonmark.js#58. Sequences of hyphens are converted to sequences of em and en dashes, with no hyphens. Currently this test fails. | |||
2015-07-09 | Fixed small bug in test runner. | John MacFarlane | |
(Error printing errors from the test program.) | |||
2015-07-08 | spec_tests.py: use stdout.out.buffer.write instead of print throughout. | John MacFarlane | |
Mixing them didn't work well; results were out of order. | |||
2015-07-07 | Updated spec_tests.py from jgm/CommonMark. | John MacFarlane | |
This forces utf-8 encoding. | |||
2015-07-03 | `spec_test.py`: changed default to `spec.txt` (not `test/spec.txt`). | John MacFarlane | |
This doesn't matter, since we specify the argument anyway. But it brings this into sync with the version in CommonMark. | |||
2015-06-17 | Added case for #59 to pathological_test.py. | John MacFarlane | |
2015-06-16 | Updated spec for new tab behavior. | John MacFarlane | |
This change will need to be ported to CommonMark if we do this. We no longer replace spaces with tabs. Rather, we treat tabs as equivalent spaces for purposes of determining structure. Tab stop is still 4. Tabs in the text remain in the text. | |||
2015-06-16 | spec_tests.py: allow → for tab in HTML examples. | John MacFarlane | |
2015-06-16 | normalize.py: don't collapse whitespace in pre contexts. | John MacFarlane | |
2015-06-15 | Updated spec.txt. | John MacFarlane | |
2015-06-13 | Updated spec.txt. | John MacFarlane | |
2015-06-13 | Updated spec.txt. | John MacFarlane | |
2015-06-11 | pathological_tests: removed timeout stuff. | John MacFarlane | |
It breaks on Windows. | |||
2015-06-11 | Added another case to pathological tests. | John MacFarlane | |
"*a_ " * 20000 See jgm/commonmark#43. | |||
2015-06-11 | Added timetouts to pathological tests. | John MacFarlane | |
This way tests fail instead of just hanging. Currently we use a 1 sec timeout. Added a failing test from jgm/commonmark#43. | |||
2015-06-10 | Added more pathological tests. | John MacFarlane | |
Many link closers with no openers. Many link openers with no closers. Many emph openers with no closers. | |||
2015-06-10 | Added pathological test case for jgm/commonmark#43. | John MacFarlane | |
Many closers with no openers. | |||
2015-06-09 | Updated spec. | John MacFarlane | |
2015-06-08 | Updated spec. | John MacFarlane | |
2015-06-06 | Updated spec. | John MacFarlane | |
2015-06-04 | Updated spec. | John MacFarlane | |
2015-06-04 | Updated spec. | John MacFarlane | |
2015-06-04 | Updated spec.txt. | John MacFarlane | |
2015-06-03 | Revert "Hacks to spec_tests.py to test CRLF support." | John MacFarlane | |
This reverts commit 6f99ff72519a34517285b070cb222de42d8acdfd. We'll add a separate test for line endings. | |||
2015-06-03 | Merge branch 'master' of https://github.com/btrask/cmark into btrask-master | John MacFarlane | |
Conflicts: src/blocks.c | |||
2015-06-03 | Updated spec. | John MacFarlane | |
2015-06-03 | Updated spec.txt. | John MacFarlane | |
2015-04-29 | Updated spec.txt. | John MacFarlane | |
2015-04-28 | Updated spec. | John MacFarlane | |
2015-04-27 | Updated spec.txt. | John MacFarlane | |
2015-04-26 | Use os.path.join in test/cmark.py. | John MacFarlane | |
For proper cross-platform paths. | |||
2015-04-18 | Added to afl_dictionary. | John MacFarlane | |
2015-04-18 | Added test/afl_dictionary. | John MacFarlane | |
2015-04-07 | Hacks to spec_tests.py to test CRLF support. | Ben Trask | |
2015-03-29 | Fixed roundtrip.sh. | John MacFarlane | |
2015-03-29 | Updated cmark path in roundtrip.sh. | John MacFarlane | |
2015-03-26 | Added shell script for round-trip spec test. | John MacFarlane | |
2015-03-21 | test/cmark.py: set default options for markdown_to_html. | John MacFarlane | |
2015-03-03 | Updated spec in test. | John MacFarlane | |
2015-02-23 | Add Makefile target to fuzz with AFL | Nick Wellnhofer | |
Also add a compact test case. As far as I understand, a good test case should exercise many code paths while being as small as possible. There's probably still room for improvement. The variable $AFL_PATH must point to the directory containing the AFL binaries. It can be set as an environment variable or passed to make on the command line. | |||
2015-02-16 | Added more --smart test cases. | John MacFarlane | |
2015-02-16 | Properly handle " with no matching close quote with --smart. | John MacFarlane | |
This occurs in fiction: when a speaker has dialogue with multiple paragraphs, a close quote is used only on the final one. Added test cases. | |||
2015-02-15 | Moved handling of --smart from renderer to parser. | John MacFarlane | |
This allows backslash escapes to disable smart quote transformations in particular cases. Closes #8. | |||
2015-02-14 | Added smart.c, smart.h with function abstracting smart punct rendering. | John MacFarlane | |
Also fixed some bugs in earlier smart handling. Now handles UTF-8. | |||
2015-02-14 | Added test for --smart option. | John MacFarlane | |
Currently one test fails. | |||
2015-02-13 | Updated test/spec.txt. | John MacFarlane | |
2015-01-31 | Updated spec.txt from CommonMark repo. | John MacFarlane | |
2015-01-24 | Moved spec.txt to test/ directory. | John MacFarlane | |
2015-01-11 | Run the spec tests only if python3 is found. | John MacFarlane | |
Otherwise skip them, running a dummy test skipping_spec_tests to signal that they are being skipped. To require the spec tests, do `cmake .. -DSPEC_TESTS=1`. Closes #278. Although I still have some qualms about tests that can appear to pass while being incomplete, I see the advantages of allowing the package to build without python3. |