summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-30Create man 3 page without markdown intermediary.John MacFarlane
Use proper man style, marking function types, arguments, etc. See #224.
2014-11-30Updated make_man_page.py to use C89 comments.John MacFarlane
See #224. TODO: change this to create the man page directly (not via markdown intermediary) and parse signatures into .Ft, .Fo, .Fa, .Fc, .Fd.
2014-11-30Added blank line in comment.John MacFarlane
2014-11-30cmark.h: Use C89 comments.John MacFarlane
2014-11-30Renamed cmark_parser_push -> cmark_parser_feed.John MacFarlane
2014-11-30Merge pull request #228 from nwellnhof/delimitersJohn MacFarlane
Rename delimiter identifiers
2014-11-30Rename member first_inline to inl_text in struct delimiterNick Wellnhofer
2014-11-30Eliminate delim_count in struct delimiterNick Wellnhofer
Use literal length instead.
2014-11-30Simplify remove_delimiterNick Wellnhofer
2014-11-30Simplify push_delimiterNick Wellnhofer
Always modify the subject when pushing a delimiter.
2014-11-30Rename delimiter_stack to delimiterNick Wellnhofer
The struct actually describes a delimiter. I also find it conceptually much clearer to think of a doubly linked list of delimiters than a stack.
2014-11-29More code cleanup in spec_tests.py.John MacFarlane
2014-11-29Reorganized code in spec_tests.py.John MacFarlane
2014-11-29test: Factored out normalization code into normalize.py.John MacFarlane
2014-11-29spec_tests.py: if dump_args, don't try to load dynamic library.John MacFarlane
2014-11-29Updated path for spec_test.py.John MacFarlane
2014-11-29Use make_man_page.py + pandoc to create cmark.3 man page from cmark.h.John MacFarlane
See #224.
2014-11-29make_man_page.py improved.John MacFarlane
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