Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-22 | Merge pull request #247 from cirosantilli/run-single-test-by-number | John MacFarlane | |
Add --number option to run a single test by its id | |||
2014-12-22 | Slight improvement to #250. | John MacFarlane | |
Indicate which is expected and which is actual output. | |||
2014-12-22 | Merge pull request #250 from cirosantilli/deal-invalid-unicode | John MacFarlane | |
Don't raise exception on invalid UTF-8 output | |||
2014-12-21 | Don't raise exception on invalid UTF-8 output | Ciro Santilli | |
This could be reproduced with: ./test/spec_tests.py --program kramdown --pattern Enti with Kramdown version 1.5.0. The main problem is that it would stop future tests from being carried out. After this commit it is just counted as a failure. The error message printed is of the form: Unicode error: 'utf8' codec can't decode byte 0xfc in position 8: invalid start byte '<p># \xd3\x92 \xcf\xa0 \xef\xbf\xbd</p>\n' '<p># \xd3\x92 \xcf\xa0 \xfc\x85\xb8\xb0\xa9\xb8</p>\n' | |||
2014-12-21 | Add --number option to run a single test by its id | Ciro Santilli | |
Do not check input validity, e.g. input `>` number of tests, because other inputs don't check it either, e.g. `--pattern`. If given, the summary line will be like: 1 passed, 0 failed, 0 errored, 509 skipped | |||
2014-12-19 | Added a few more doctests for HTML normalization (#245). | John MacFarlane | |
2014-12-19 | Fixed whitespace normalization (#245). | John MacFarlane | |
2014-12-19 | Merge pull request #245 from cirosantilli/normalize-whitespace-fail | John MacFarlane | |
Expose failure to normalize whitespaces | |||
2014-12-19 | Expose failure to normalize whitespaces | Ciro Santilli | |
2014-12-18 | Merge pull request #244 from petere/patch-1 | John MacFarlane | |
Remove stray character | |||
2014-12-18 | Remove stray character | Peter Eisentraut | |
2014-12-17 | Merge pull request #243 from maxlinc/patch-1 | John MacFarlane | |
Fix links to the spec | |||
2014-12-17 | Fix links to the spec | Max Lincoln | |
All the links the spec were broken. I changed `http://jgm.github.io/CommonMark/spec.html` to `http://spec.commonmark.org/0.13/`. It'd be nice if there was a `http://spec.commonmark.org/latest/` so you don't need to change the README every time a new version (unless there's major changes so the URL fragments aren't valid anymore. The spec itself has some broken fragment links, e.g. `#image` instead of `#images`. Unfortunately I don't have a good tool that checks fragments so I don't have the full list. | |||
2014-12-17 | More Makefile adjustments. | John MacFarlane | |
2014-12-17 | Updated Makefile for changes in man page generation. | John MacFarlane | |
2014-12-17 | Create cmark.3 in cmake build process. | John MacFarlane | |
Remove it from the repository. Closes #241. | |||
2014-12-17 | Merge pull request #240 from cirosantilli/ignore-pyc | John MacFarlane | |
Ignore pyc files | |||
2014-12-17 | Ignore pyc files | Ciro Santilli | |
They may be generated when you run the tests. | |||
2014-12-16 | scanners.re: use cmark_chunk rather than chunk. | John MacFarlane | |
2014-12-16 | Added 'literal' field to 'code' struct. | John MacFarlane | |
In the last few commits we were using as.code.fenced and as.literal at the same time for NODE_CODE_BLOCK, which obviously led to problems. | |||
2014-12-16 | HTML writer: fixed bug in detection of fenced code blocks. | John MacFarlane | |
2014-12-16 | print: print fenced and fence_length for code blocks. | John MacFarlane | |
2014-12-15 | Re-added cmark_ prefix to strbuf and chunk. | John MacFarlane | |
Reverts 225d720. | |||
2014-12-14 | Clarify that unicode whitespace counts as whitespace in emph rules. | John MacFarlane | |
Added a test case with a unicode nonbreaking space. See #108, though "whitespace" should still be defined more systematically. This is a step forward. | |||
2014-12-14 | Added comment. | John MacFarlane | |
2014-12-14 | Use UTF-8 sensitive functions to check for spaces around emph markers. | John MacFarlane | |
2014-12-14 | Rename get/set_string_content -> get/set_literal. | John MacFarlane | |
2014-12-14 | Use cmark_iter to avoid stack allocation in process_inlines. | John MacFarlane | |
2014-12-14 | man writer: use chunk literal in code blocks. | John MacFarlane | |
2014-12-14 | Added GNU profiler flags to debug build. | John MacFarlane | |
2014-12-14 | Use chunk for fenced code info, instead of strbuf. | John MacFarlane | |
2014-12-14 | Use as.literal instead of string_content for HTML and code blocks. | John MacFarlane | |
This is for consistency with the other types of nodes that have literal strings as contents. | |||
2014-12-14 | Added empty clauses for DOCUMENT node to html and man writers. | John MacFarlane | |
For completeness. | |||
2014-12-14 | Rename CMARK_NODE_INLINE_CODE -> CMARK_NODE_CODE. | John MacFarlane | |
2014-12-13 | Clarified spec on indented code blocks. | John MacFarlane | |
Previously the spec said, wrongly, that a blank line was needed between a paragraph and a following code block. It is only needed between a code block and a following paragraph (due to lazy continuations). Thanks to textnut for pointing this out. | |||
2014-12-13 | Added API documentation to src/cmark.h. Closes #224. | John MacFarlane | |
2014-12-13 | Removed cmark_node_handler - it was used by cmark_walk, now deleted. | John MacFarlane | |
2014-12-13 | Makefile fixes for man page. | John MacFarlane | |
Don't build man pages until we've built libcmark, which we need. Also reverted use of typewriter font for signatures; this looks worse in the terminal pager. | |||
2014-12-13 | Makefile: add targets for html versions of man pages. | John MacFarlane | |
2014-12-13 | Use typewriter font for signatures in man pages. | John MacFarlane | |
2014-12-13 | Write API docs in cmark.h using markdown. | John MacFarlane | |
`man/make_man_page.py` now converts using cmark. | |||
2014-12-13 | Added cmark_render_man (man page writer). | John MacFarlane | |
cmark: Replaced `--man` and `--ast` with generic `--to` option. | |||
2014-12-13 | Added iterator interface to API, removed cmark_walk. | John MacFarlane | |
* Added `iterator.c`, `iterator.h`. * Removed `cmark_walk`. * Replaced `cmark_walk` with iterator in HTML renderer. * Replaced API test for `cmark_walk` with simple iterator test. | |||
2014-12-13 | API improvements: cmark_event_type parameter for walk handlers. | John MacFarlane | |
Added cmark_event_type enum, which is used as the second parameter of the handler passed to cmark_walk. See #224. | |||
2014-12-13 | Remove CMARK_NODE_REFERENCE_DEF from API. | John MacFarlane | |
Modified finalize in blocks.c to return parent of finalized block, so we can handle the case of reference definitions, when we simply remove the finalized block. | |||
2014-12-13 | Makefile: Removed dependency of leakcheck on PROG. | John MacFarlane | |
2014-12-13 | Removed cmark_ prefix on chunk and strbuf. | John MacFarlane | |
This isn't needed any more since we don't expose these in the API. | |||
2014-12-12 | Revert "Removed CMARK_NODE_REFERENCE_DEF from API." | John MacFarlane | |
This reverts commit b598b52a4acdc2332be3d34e30237d1b93b7dd03. The change led to some problems, because some of the callers of 'finalize' expected the node to exist after the call. This could all be rewritten, but for now let's just revert. | |||
2014-12-12 | Rudimentary documentation for cmark_walk. | John MacFarlane | |
2014-12-12 | Removed CMARK_NODE_REFERENCE_DEF from API. | John MacFarlane | |
There's no reason to store these empty nodes in the API. The references have already been resolved. |