Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-27 | runtests.py: split argument of '--program' so that options can be given. | John MacFarlane | |
e.g. --program 'myprog --simple --foo=bar' | |||
2014-11-26 | Merge pull request #220 from nwellnhof/node_insert_fix | John MacFarlane | |
Don't allow insert_{before|after} root node | |||
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 | Added wrapper.rb. | John MacFarlane | |
2014-11-25 | make bench: take input from stdin. | John MacFarlane | |
2014-11-25 | Removed html2ast.py. | John MacFarlane | |
2014-11-25 | Added skeleton of html2ast.py. | John MacFarlane | |
This is to test code for converting HTML into the representation of the AST returned by cmark_render_ast. Eventually this will be used instead of HTML in the tests. | |||
2014-11-25 | Replaced cmark_debug_print with cmark_render_ast. | John MacFarlane | |
This returns a string. | |||
2014-11-25 | print.c: use nonrecursive algorithm. | John MacFarlane | |
2014-11-25 | Use strbuf in print.c. | John MacFarlane | |
This is preliminary to having it return a string. | |||
2014-11-25 | Replaced print_blocks and print_inlines with print_nodes. | John MacFarlane | |
2014-11-25 | `print.c` - make `document` node implicit. | John MacFarlane | |
It doesn't add information and just increases the indent level of everything else. | |||
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-25 | Moved commonmark.rb to its own repo (jgm/commonmarker). | John MacFarlane | |
2014-11-25 | Don't open shared library if --dump-tests or --debug-normalization. | John MacFarlane | |
2014-11-25 | Removed leakcheck.md; regenerate alltests.md with Makefile target. | John MacFarlane | |
2014-11-25 | Run leakcheck in travis build. | John MacFarlane | |
2014-11-24 | commonmark.rb - removed outf. | John MacFarlane | |
2014-11-24 | Merge pull request #218 from nwellnhof/windows_fixes | John MacFarlane | |
Windows fixes | |||
2014-11-24 | Merge pull request #219 from nwellnhof/editorconfig | John MacFarlane | |
Fix .editorconfig | |||
2014-11-24 | Merge pull request #217 from nwellnhof/utf8_validation | John MacFarlane | |
UTF-8 validation | |||
2014-11-24 | Fix .editorconfig | Nick Wellnhofer | |
It seems that the vim plugin doesn't support globs in braces. | |||
2014-11-24 | Add test for input containing null character | Nick Wellnhofer | |
2014-11-24 | Add option to select cmake generator | Nick Wellnhofer | |
This allows to build under MSYS. The MSYS generator can be selected with make GENERATOR="MSYS Makefiles" But the default "UNIX Makefiles" generator also seems to work. | |||
2014-11-24 | Build instructions for MSVC/NMAKE | Nick Wellnhofer | |
2014-11-24 | Fix MSVC options | Nick Wellnhofer | |
Also disable some warnings. | |||
2014-11-24 | Run nmake test with /nologo | Nick Wellnhofer | |
2014-11-24 | Set test environment on Windows | Nick Wellnhofer | |
Add directory containing cmark.dll to PATH on Windows. | |||
2014-11-24 | Cast void* for MSVC compatibility | 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-24 | Off-by-one error in utf8proc_detab | Nick Wellnhofer | |
2014-11-24 | Add sentence about U+0000 to spec | Nick Wellnhofer | |
Fixes #212. | |||
2014-11-23 | README: Added note about --dump-tests. | John MacFarlane | |
2014-11-23 | runtests.py: Added --dump-tests option to dump tests as JSON. | John MacFarlane | |
2014-11-23 | js: use 'CodeBlock' in AST for all code blocks. | John MacFarlane | |
Don't distinguish fenced, indented. | |||
2014-11-23 | Added 'fenced' flag to cmark_code struct, renamed from cmark_fenced_code. | John MacFarlane | |
Technically we could do without this, since we can check for cmark_fence_length > 0. But it makes the code clearer and doesn't really increase the size of the node struct (because the size of the union is set by the data for lists). | |||
2014-11-23 | Added internal flag to distinguish setext from atx headers. | John MacFarlane | |
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 | Merge pull request #215 from nwellnhof/no_trailing_newline | John MacFarlane | |
Fix segfault on docs without trailing newline | |||
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 | Fixed #192. | John MacFarlane | |
The C and JS implementations were not registering blank lines after atx headers for purposes of tight/loose list calculation. Exmaple: * item * # block1 ## block2 | |||
2014-11-22 | Updated JS and C implementations for #209. | John MacFarlane | |
A setext header was being treated a if it were a blank line for purposes of tight/loose list determination. Closes #209. | |||
2014-11-22 | Changed Example 196 in spec to reflect the spec's rules. | John MacFarlane | |
This has no blank lines and so should not be a loose list. See #209. | |||
2014-11-22 | js html renderer: formatting changes to align with changes in spec. | John MacFarlane | |
2014-11-22 | C html renderer: ensure newline before hr or raw html block. | John MacFarlane | |
2014-11-22 | Adjusted formatting of test - CR btw `<li>` and `<hr />`. | John MacFarlane | |
This is consistent with treatment of other block elements in list items. |