Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-08 | Compile with -Wextra | Nick Wellnhofer | |
2014-12-08 | Fix last_line_blank logic | Nick Wellnhofer | |
The broken last_line_blank logic could lead to random failures in the API tests. | |||
2014-12-08 | Create html_unescape.h with extra struct initializers | Nick Wellnhofer | |
Fixes missing initializer warnings. | |||
2014-12-05 | Revert "API change: Add cmark_node_set_type for completeness." | John MacFarlane | |
This reverts commit 6c1f76a8a22f6c84231e5101f0950ce353ec8075. | |||
2014-12-05 | API change: Add cmark_node_set_type for completeness. | John MacFarlane | |
2014-12-05 | node.c: Make sure no functions segfault if passed null pointers. | John MacFarlane | |
2014-12-05 | Changed CMARK_NODE_NONE from -1 to 0. | John MacFarlane | |
This is more consistent with CMARK_LIST_NONE, etc. | |||
2014-12-05 | Added CMARK_NODE_TYPE_NONE. | John MacFarlane | |
This is the return value of cmark_get_node_type when the argument is a null pointer. Avoids segfault. | |||
2014-12-04 | Added "chunk.h" include to scanners.h. | John MacFarlane | |
2014-12-04 | Moved source files from src/html into src. | John MacFarlane | |
The separate directory presents problems for some simple extension building systems, like luarocks. | |||
2014-12-04 | Create pkg-config file as part of build procedure. | John MacFarlane | |
Closes #234. | |||
2014-12-02 | Fix EOF detection | Nick Wellnhofer | |
Fixes issue with Ctrl-D having to be pressed twice when reading from terminal. | |||
2014-12-01 | Added src/scanners.c to repository. | John MacFarlane | |
This reduces build dependencies and should help avoid issues like | |||
2014-12-01 | Use `--no-generation-date` with `re2c`. | John MacFarlane | |
2014-12-01 | Changed build procedure so that an empty scanners.c is not created | John MacFarlane | |
if `re2c` is missing. Closes #231. | |||
2014-11-30 | More man page improvements. | John MacFarlane | |
2014-11-30 | Make the man pages standard groff man rather than mdoc. | John MacFarlane | |
2014-11-30 | Fixed bug in splitting arguments in make_man_page.py. | John MacFarlane | |
2014-11-30 | Create man 3 page without markdown intermediary. | John MacFarlane | |
Use proper man style, marking function types, arguments, etc. See #224. | |||
2014-11-30 | Added blank line in comment. | John MacFarlane | |
2014-11-30 | cmark.h: Use C89 comments. | John MacFarlane | |
2014-11-30 | Renamed cmark_parser_push -> cmark_parser_feed. | John MacFarlane | |
2014-11-30 | Rename member first_inline to inl_text in struct delimiter | Nick Wellnhofer | |
2014-11-30 | Eliminate delim_count in struct delimiter | Nick Wellnhofer | |
Use literal length instead. | |||
2014-11-30 | Simplify remove_delimiter | Nick Wellnhofer | |
2014-11-30 | Simplify push_delimiter | Nick Wellnhofer | |
Always modify the subject when pushing a delimiter. | |||
2014-11-30 | Rename delimiter_stack to delimiter | Nick 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-29 | Annotated cmark.h with some markdown headers etc. for man page. | John MacFarlane | |
2014-11-29 | Merge pull request #227 from nwellnhof/process_emph | John MacFarlane | |
Optimize and clarify process_emph | |||
2014-11-29 | Check for `[` character in `link_label`. | John MacFarlane | |
Closes #226. | |||
2014-11-29 | Clarify code in insert_emph | Nick Wellnhofer | |
2014-11-29 | Add local variable for closer inline | Nick Wellnhofer | |
2014-11-29 | Optimize emph insertion | Nick Wellnhofer | |
Avoid unnecessary malloc/free if opener is removed. | |||
2014-11-29 | Remove redundant code | Nick Wellnhofer | |
next/prev pointers are handled by cmark_node_free. | |||
2014-11-29 | Split process_emphasis into two functions | Nick Wellnhofer | |
Makes the code more readable. | |||
2014-11-29 | Fix prev pointer of emph->first_child | Nick Wellnhofer | |
2014-11-29 | Push parser interface | Nick Wellnhofer | |
Replace cmark_parser_process_line with cmark_parser_push that takes arbitrary chunks of data. Also fixes #211. | |||
2014-11-28 | Framework 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-28 | Removed cmark_free_nodes from public API. | John MacFarlane | |
Replace it with static S_free_nodes. | |||
2014-11-28 | Renamed 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-28 | Clarified logic in remove_delimiter. | John MacFarlane | |
Motivated by warnings from clang static analyzer. | |||
2014-11-28 | Avoid 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-28 | Removed unnecessary assignment. | John MacFarlane | |
Clang static analyzer pointed out that the value assigned to 'pos' is never read. | |||
2014-11-28 | Remove outdated public short name macros | Nick Wellnhofer | |
2014-11-28 | Always define short name macros for private symbols | Nick Wellnhofer | |
Since chunk.h and buffer.h are private now, there's no need to optionally disable the short name macros. | |||
2014-11-28 | Use prefixed names for symbols from references.h | Nick Wellnhofer | |
2014-11-28 | Use prefixed names for symbols from inlines.h | Nick Wellnhofer | |
2014-11-26 | Don't allow insert_{before|after} root node | Nick Wellnhofer | |
This can be changed if support for node lists is added to the public API. | |||
2014-11-25 | Replaced cmark_debug_print with cmark_render_ast. | John MacFarlane | |
This returns a string. | |||
2014-11-25 | print.c: use nonrecursive algorithm. | John MacFarlane | |