summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-28Renamed identifiers in public API:John MacFarlane
cmark_doc_parser => cmark_parser cmark_new_doc_parser => cmark_parser_new cmark_free_doc_parser => cmark_parser_free cmark_finish => cmark_parser_finish cmark_process_line => cmark_parser_process_line cmark_node_destroy => cmark_node_free Closes #223.
2014-11-28Clarified logic in remove_delimiter.John MacFarlane
Motivated by warnings from clang static analyzer.
2014-11-28Avoid potential memory leak.John MacFarlane
Previously, if malloc failed to allocate 'newstack', the function would return without freeing 'stack'. Pointed out by clang static analyzer.
2014-11-28Removed unnecessary assignment.John MacFarlane
Clang static analyzer pointed out that the value assigned to 'pos' is never read.
2014-11-28Merge pull request #222 from nwellnhof/short_name_cleanupJohn MacFarlane
Short name cleanup
2014-11-28Merge pull request #221 from nwellnhof/cplusplus_testJohn MacFarlane
Test that libcmark can be used by C++ code
2014-11-28Remove outdated public short name macrosNick Wellnhofer
2014-11-28Always define short name macros for private symbolsNick Wellnhofer
Since chunk.h and buffer.h are private now, there's no need to optionally disable the short name macros.
2014-11-28Use prefixed names for symbols from references.hNick Wellnhofer
2014-11-28Use prefixed names for symbols from inlines.hNick Wellnhofer
2014-11-28Test that libcmark can be used by C++ codeNick Wellnhofer
2014-11-27spec_tests.py: Replace → with tab when dumping json.John MacFarlane
2014-11-27spec_tests.py: return success status on --dump-tests.John MacFarlane
2014-11-27Add pathological_tests.py to archive.John MacFarlane
2014-11-27Changed more runtests -> spec_tests.John MacFarlane
2014-11-27Renamed runtests.py -> spec_tests.py.John MacFarlane
2014-11-27Added pathological_tests.py to test suite.John MacFarlane
2014-11-27runtests.py: renamed a regex.John MacFarlane
2014-11-27runtests.py: split argument of '--program' so that options can be given.John MacFarlane
e.g. --program 'myprog --simple --foo=bar'
2014-11-26Merge pull request #220 from nwellnhof/node_insert_fixJohn MacFarlane
Don't allow insert_{before|after} root node
2014-11-26Don't allow insert_{before|after} root nodeNick Wellnhofer
This can be changed if support for node lists is added to the public API.
2014-11-25Added wrapper.rb.John MacFarlane
2014-11-25make bench: take input from stdin.John MacFarlane
2014-11-25Removed html2ast.py.John MacFarlane
2014-11-25Added 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-25Replaced cmark_debug_print with cmark_render_ast.John MacFarlane
This returns a string.
2014-11-25print.c: use nonrecursive algorithm.John MacFarlane
2014-11-25Use strbuf in print.c.John MacFarlane
This is preliminary to having it return a string.
2014-11-25Replaced 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-25Rename NODE_STRING -> NODE_TEXT.John MacFarlane
In JS, use 'Text' instead of 'Str'. In spec, use "plain textual content" instead of "strings."
2014-11-25Moved commonmark.rb to its own repo (jgm/commonmarker).John MacFarlane
2014-11-25Don't open shared library if --dump-tests or --debug-normalization.John MacFarlane
2014-11-25Removed leakcheck.md; regenerate alltests.md with Makefile target.John MacFarlane
2014-11-25Run leakcheck in travis build.John MacFarlane
2014-11-24commonmark.rb - removed outf.John MacFarlane
2014-11-24Merge pull request #218 from nwellnhof/windows_fixesJohn MacFarlane
Windows fixes
2014-11-24Merge pull request #219 from nwellnhof/editorconfigJohn MacFarlane
Fix .editorconfig
2014-11-24Merge pull request #217 from nwellnhof/utf8_validationJohn MacFarlane
UTF-8 validation
2014-11-24Fix .editorconfigNick Wellnhofer
It seems that the vim plugin doesn't support globs in braces.
2014-11-24Add test for input containing null characterNick Wellnhofer
2014-11-24Add option to select cmake generatorNick 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-24Build instructions for MSVC/NMAKENick Wellnhofer
2014-11-24Fix MSVC optionsNick Wellnhofer
Also disable some warnings.
2014-11-24Run nmake test with /nologoNick Wellnhofer
2014-11-24Set test environment on WindowsNick Wellnhofer
Add directory containing cmark.dll to PATH on Windows.
2014-11-24Cast void* for MSVC compatibilityNick Wellnhofer
2014-11-24Validate UTF-8 inputNick Wellnhofer
Invalid UTF-8 byte sequences are replaced with the Unicode replacement character U+FFFD. Fixes #213.
2014-11-24Off-by-one error in utf8proc_detabNick Wellnhofer
2014-11-24Add sentence about U+0000 to specNick Wellnhofer
Fixes #212.