summaryrefslogtreecommitdiff
path: root/src/blocks.c
AgeCommit message (Collapse)Author
2014-11-16Use named enum typesNick Wellnhofer
Needed for C++ compatibility.
2014-11-16Cast void pointers explicitlyNick Wellnhofer
Needed for C++ compatibility.
2014-11-16Moved AST details from public header cmark.h to private ast.h.John MacFarlane
2014-11-15Expose lower-level parsing API.John MacFarlane
The new functions cmark_new_doc_parser, cmark_free_doc_parser, cmark_process_line, and cmark_finish allow you to feed lines one by one (possibly from several files) to the parser and call finish when you're done. This is now used in main for mulitple files.
2014-11-14Added some includes of buffer.hJohn MacFarlane
2014-11-13Moved the timing macros to get finer-grained information.John MacFarlane
2014-11-13Added ast.[c,h] for AST definitions and AST-manipulating functions.John MacFarlane
2014-11-12Mark some functions as staticNick Wellnhofer
2014-11-06Use non-recursive algorithm for process_inlines.John MacFarlane
Closes #187.
2014-11-06Reformatted code consistently.John MacFarlane
2014-11-05Made block-freeing slightly more efficient by using last_child.John MacFarlane
2014-11-05Made cmark_free_nodes non-recursive.John MacFarlane
See #187.
2014-10-26Require space before closing # sequence in ATX header.John MacFarlane
Closes #169.
2014-10-24Renamed c program and library stmd -> cmark.John MacFarlane
Also renamed internal library functions accordingly.
2014-10-24Add a newline to a line that doesn't end with one.John MacFarlane
Closes #115.
2014-10-24Merge branch 'master' of https://github.com/tchetch/stmd into tchetch-masterJohn MacFarlane
Conflicts: src/inlines.c
2014-10-24Use unsigned char, not char, throughout.John MacFarlane
Closes #43.
2014-10-18Reindented c sources.John MacFarlane
2014-10-06- Use of calloc instead of malloctchetch
- Test for NULL after allocation
2014-09-17Better handle trailing backslashes in ATX-style headersJordan Milne
Previously something like '# `\' would hang the parser while it waited for an extra character that wasn't there.
2014-09-15Cleanup external APIsVicent Marti
2014-09-10Cleanup reference implementationVicent Marti
2014-09-09Abstract the Block unionVicent Marti
2014-09-09UTF8-aware detabbing and entity handlingVicent Marti
2014-09-09Rename block literalsVicent Marti
2014-09-09Rename node_blockVicent Marti
2014-09-09Rename to strbufVicent Marti
2014-09-09379/62Vicent Marti
2014-09-09368/73Vicent Marti
2014-09-09338/103Vicent Marti
2014-09-09It buiiiildsVicent Marti
2014-09-09ffffixVicent Marti
2014-09-09lolVicent Marti
2014-08-13Initial commitJohn MacFarlane