aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-29Added make_man_page.py script.John MacFarlane
2014-11-29Factored out cmark.py from test programs.John MacFarlane
2014-11-29Annotated cmark.h with some markdown headers etc. for man page.John MacFarlane
2014-11-29Added very basic cmark.3 man page, added to install process.John MacFarlane
This currently just contains a list of functions. It needs some accompanying text, commentary, examples. See #224.
2014-11-29Keep cmark.1 in repository, so pandoc isn't required to build.John MacFarlane
See #224.
2014-11-29Changed name of man target to 'manpages'.John MacFarlane
2014-11-29Merge pull request #227 from nwellnhof/process_emphJohn MacFarlane
Optimize and clarify process_emph
2014-11-29Check for `[` character in `link_label`.John MacFarlane
Closes #226.
2014-11-29Clarify code in insert_emphNick Wellnhofer
2014-11-29Add local variable for closer inlineNick Wellnhofer
2014-11-29Optimize emph insertionNick Wellnhofer
Avoid unnecessary malloc/free if opener is removed.
2014-11-29Remove redundant codeNick Wellnhofer
next/prev pointers are handled by cmark_node_free.
2014-11-29Split process_emphasis into two functionsNick Wellnhofer
Makes the code more readable.
2014-11-29Fix prev pointer of emph->first_childNick Wellnhofer
2014-11-29Fixed ALLTESTS target for new spec_tests.py location.John MacFarlane
2014-11-29Updated benchmarks.John MacFarlane
We gained a bit of speed with #225!
2014-11-29Merge pull request #225 from nwellnhof/push_parserJohn MacFarlane
Push parser interface
2014-11-29Updated Makefile for changes to test/ and man/.John MacFarlane
2014-11-29Moved testing programs to test/.John MacFarlane
Added test/CMakeLists.txt.
2014-11-29Removed man/Doxyfile.in.John MacFarlane
2014-11-29Moved man page generation to man/CMakeLists.txt.John MacFarlane
Removed doxygen stuff for now. It seems too complex for what we need. We'll find another way to create cmark.3.
2014-11-29Push parser interfaceNick Wellnhofer
Replace cmark_parser_process_line with cmark_parser_push that takes arbitrary chunks of data. Also fixes #211.
2014-11-28Updated travis script to get doxygen.John MacFarlane
2014-11-28Include man3 in archive.John MacFarlane
2014-11-28Framework for using doxygen to generate API docs.John MacFarlane
Added Makefile target for doxygen-generated man page. Added Doxyfile. Added man/man3/cmark.3 (generated by doxygen) to install targets.
2014-11-28Minor reformatting.John MacFarlane
2014-11-28Removed cmark_free_nodes from public API.John MacFarlane
Replace it with static S_free_nodes.
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