Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-22 | Fix and test node_check | Nick Wellnhofer | |
2014-11-17 | Make parse_inlines add directly to parent. | John MacFarlane | |
Previously parse_inlines returned a list of parsed inlines. This had to be added to the parent, and fix_parents had to be called to manually add the 'parent' links to the children, and the 'last_child' link to the parent. Now parse_inlines takes the parent block as a parameter, and uses cmark_node_append_child to add the children, so that the pointers should be properly managed. This avoids the need for the fix_parents pass. | |||
2014-11-17 | Set prev, parent and last_child for inlines | Nick Wellnhofer | |
2014-11-17 | Rename ast.h to parser.h | Nick Wellnhofer | |
2014-11-17 | Switch cmark_node_inl over to cmark_node | Nick Wellnhofer | |
2014-11-17 | Switch cmark_node_block over to cmark_node | Nick Wellnhofer | |
2014-11-16 | Moved refmap from the top-level block node to the doc_parser. | John MacFarlane | |
2014-11-16 | Export enums for inline, block types, list and list delim types. | John MacFarlane | |
Also switched from `bullet`, `ordered`, `parens`, `period` to `CMARK_BULLET_LIST`, `CMARK_ORDERED_LIST`, `CMARK_PAREN_DELIM`, `CMARK_PERIOD_DELIM`. | |||
2014-11-16 | Removed CMARK_CODE_INDENT, CODE_INDENT from public header. | John MacFarlane | |
Now it's in blocks.c, the only module that uses it. | |||
2014-11-16 | Probe for stdbool.h | Nick Wellnhofer | |
Let cmake create a cmark_config.h file to deal with platforms missing stdbool.h. | |||
2014-11-16 | Use named enum types | Nick Wellnhofer | |
Needed for C++ compatibility. | |||
2014-11-16 | Cast void pointers explicitly | Nick Wellnhofer | |
Needed for C++ compatibility. | |||
2014-11-16 | Moved AST details from public header cmark.h to private ast.h. | John MacFarlane | |
2014-11-15 | Expose 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-14 | Added some includes of buffer.h | John MacFarlane | |
2014-11-13 | Moved the timing macros to get finer-grained information. | John MacFarlane | |
2014-11-13 | Added ast.[c,h] for AST definitions and AST-manipulating functions. | John MacFarlane | |
2014-11-12 | Mark some functions as static | Nick Wellnhofer | |
2014-11-06 | Use non-recursive algorithm for process_inlines. | John MacFarlane | |
Closes #187. | |||
2014-11-06 | Reformatted code consistently. | John MacFarlane | |
2014-11-05 | Made block-freeing slightly more efficient by using last_child. | John MacFarlane | |
2014-11-05 | Made cmark_free_nodes non-recursive. | John MacFarlane | |
See #187. | |||
2014-10-26 | Require space before closing # sequence in ATX header. | John MacFarlane | |
Closes #169. | |||
2014-10-24 | Renamed c program and library stmd -> cmark. | John MacFarlane | |
Also renamed internal library functions accordingly. | |||
2014-10-24 | Add a newline to a line that doesn't end with one. | John MacFarlane | |
Closes #115. | |||
2014-10-24 | Merge branch 'master' of https://github.com/tchetch/stmd into tchetch-master | John MacFarlane | |
Conflicts: src/inlines.c | |||
2014-10-24 | Use unsigned char, not char, throughout. | John MacFarlane | |
Closes #43. | |||
2014-10-18 | Reindented c sources. | John MacFarlane | |
2014-10-06 | - Use of calloc instead of malloc | tchetch | |
- Test for NULL after allocation | |||
2014-09-17 | Better handle trailing backslashes in ATX-style headers | Jordan Milne | |
Previously something like '# `\' would hang the parser while it waited for an extra character that wasn't there. | |||
2014-09-15 | Cleanup external APIs | Vicent Marti | |
2014-09-10 | Cleanup reference implementation | Vicent Marti | |
2014-09-09 | Abstract the Block union | Vicent Marti | |
2014-09-09 | UTF8-aware detabbing and entity handling | Vicent Marti | |
2014-09-09 | Rename block literals | Vicent Marti | |
2014-09-09 | Rename node_block | Vicent Marti | |
2014-09-09 | Rename to strbuf | Vicent Marti | |
2014-09-09 | 379/62 | Vicent Marti | |
2014-09-09 | 368/73 | Vicent Marti | |
2014-09-09 | 338/103 | Vicent Marti | |
2014-09-09 | It buiiiilds | Vicent Marti | |
2014-09-09 | ffffix | Vicent Marti | |
2014-09-09 | lol | Vicent Marti | |
2014-08-13 | Initial commit | John MacFarlane | |