Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-28 | Test that libcmark can be used by C++ code | Nick Wellnhofer | |
2014-11-26 | Don't allow insert_{before|after} root node | Nick Wellnhofer | |
This can be changed if support for node lists is added to the public API. | |||
2014-11-25 | Rename NODE_STRING -> NODE_TEXT. | John MacFarlane | |
In JS, use 'Text' instead of 'Str'. In spec, use "plain textual content" instead of "strings." | |||
2014-11-24 | Add test for input containing null character | Nick Wellnhofer | |
2014-11-24 | Validate UTF-8 input | Nick Wellnhofer | |
Invalid UTF-8 byte sequences are replaced with the Unicode replacement character U+FFFD. Fixes #213. | |||
2014-11-23 | Do not distinguish btw fenced and indented code in AST. | John MacFarlane | |
Use a single CMARK_NODE_CODE_BLOCK tag for both. Distinguish them when needed for parsing by looking at the fence_length attribute, which is 0 for indented blocks. | |||
2014-11-23 | Revert "Revert "Remove distinction btw atx and setext header in AST."" | John MacFarlane | |
This reverts commit 4570eb2bff2e1b71fa5b6408abbc69c98ff5ff24. | |||
2014-11-23 | Fix segfault on docs without trailing newline | Nick Wellnhofer | |
2014-11-22 | Revert "Remove distinction btw atx and setext header in AST." | John MacFarlane | |
This reverts commit a71423f6ee1b77d9f79d42599ea00b4ca99f5da0. Not quite sure about this change, so reverting for now. Note that we still have a distinction between fenced and indented code blocks in the AST. These two distinctions seem to stand or fall together. | |||
2014-11-22 | Remove distinction btw atx and setext header in AST. | John MacFarlane | |
Now we just have 'header' -- Setext and ATX are just two ways of forming these; it's not a semantic difference that should remain in the AST. | |||
2014-11-22 | Renamed NODE_BQUOTE -> NODE_BLOCK_QUOTE. | John MacFarlane | |
2014-11-22 | Make parser accept a char* | Nick Wellnhofer | |
2014-11-22 | Make render_html return a char* | Nick Wellnhofer | |
2014-11-22 | Fix hierarchy test | Nick Wellnhofer | |
2014-11-22 | Stackless HTML rendering | Nick Wellnhofer | |
Now that every node has a parent pointer, it's possible to implement the HTML rendering functions without render stacks and any dynamic memory allocations. This commit also adds some minor optimizations that eliminate some strbuf_put* calls for the common case and avoid printf for headers. | |||
2014-11-22 | Fix and test node_check | Nick Wellnhofer | |
2014-11-22 | Tests for node_previous, node_parent, node_unlink | Nick Wellnhofer | |
2014-11-22 | Rearrange get_type tests | Nick Wellnhofer | |
2014-11-22 | Set defaults for new headers and lists | Nick Wellnhofer | |
2014-11-22 | More tree hierarchy checks and tests | Nick Wellnhofer | |
2014-11-19 | Input validation for setters | Nick Wellnhofer | |
2014-11-19 | Accessor tests | Nick Wellnhofer | |
2014-11-19 | Rename {get|set}_content to {get|set}_string_content | Nick Wellnhofer | |
2014-11-19 | Add tests for insert_{before|after} functions | Nick Wellnhofer | |
2014-11-18 | Fix api_test warnings | Nick Wellnhofer | |
2014-11-18 | Start with tests for the C API | Nick Wellnhofer | |
The C API tests can be run individually via build/api_test/api_test Or together with the spec tests via cmake --build build --target test |