Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2014-11-25 | Use strbuf in print.c. | John MacFarlane | |
This is preliminary to having it return a string. | |||
2014-11-25 | Replaced print_blocks and print_inlines with print_nodes. | John MacFarlane | |
2014-11-25 | `print.c` - make `document` node implicit. | John MacFarlane | |
It doesn't add information and just increases the indent level of everything else. | |||
2014-11-25 | Rename NODE_STRING -> NODE_TEXT. | John MacFarlane | |
In JS, use 'Text' instead of 'Str'. In spec, use "plain textual content" instead of "strings." | |||
2014-11-24 | Merge pull request #218 from nwellnhof/windows_fixes | John MacFarlane | |
Windows fixes | |||
2014-11-24 | Fix MSVC options | Nick Wellnhofer | |
Also disable some warnings. | |||
2014-11-24 | Cast void* for MSVC compatibility | Nick Wellnhofer | |
2014-11-24 | Validate UTF-8 input | Nick Wellnhofer | |
Invalid UTF-8 byte sequences are replaced with the Unicode replacement character U+FFFD. Fixes #213. | |||
2014-11-24 | Off-by-one error in utf8proc_detab | Nick Wellnhofer | |
2014-11-23 | Added 'fenced' flag to cmark_code struct, renamed from cmark_fenced_code. | John MacFarlane | |
Technically we could do without this, since we can check for cmark_fence_length > 0. But it makes the code clearer and doesn't really increase the size of the node struct (because the size of the union is set by the data for lists). |