Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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 | 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-28 | Removed cmark_free_nodes from public API. | John MacFarlane | |
Replace it with static S_free_nodes. | |||
2014-11-28 | Clarified logic in remove_delimiter. | John MacFarlane | |
Motivated by warnings from clang static analyzer. | |||
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-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-22 | Fixed #214 C and JS implementations. | John MacFarlane | |
They were gobbling whitespace after shortcut reference links, e.g. [foo] bar [foo]: url Closes #214. | |||
2014-11-18 | Initialize all fields in node when creating inlines. | John MacFarlane | |
2014-11-17 | Make sure the emph inline added in process_emphasis has a parent. | John MacFarlane | |
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 last_child and parent in make_link | Nick Wellnhofer | |
2014-11-17 | Store link labels as children in tree structure | Nick Wellnhofer | |
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 | Move inline-related stuff to inlines.c | Nick Wellnhofer | |
2014-11-17 | Switch cmark_node_inl over to cmark_node | Nick Wellnhofer | |
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 | Rename variables named 'new' | 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 | Don't expose append_inlines. | John MacFarlane | |
2014-11-13 | Removed ast modules, moved these defs back to cmark.h. | John MacFarlane | |
2014-11-13 | Moved ast-manipulating functions from inlines to ast. | John MacFarlane | |
2014-11-13 | inline static -> static inline for consistency. | John MacFarlane | |
2014-11-13 | Moved cmark_free_inlines from inlines to ast. | John MacFarlane | |
2014-11-12 | Merge pull request #195 from nwellnhof/fix_namespace_pollution | John MacFarlane | |
Fix namespace pollution | |||
2014-11-12 | Mark some functions as static | Nick Wellnhofer | |
2014-11-12 | Removed some no-longer-used code in C impl. | John MacFarlane | |
2014-11-11 | Don't include debug.h in any production code. | John MacFarlane | |
It uses some GNU-specific things. | |||
2014-11-10 | Fixed memory allocation bug. | John MacFarlane | |
2014-11-10 | Allow images to contain images. | John MacFarlane | |
2014-11-10 | Variable renaming in inlines.c. | John MacFarlane | |
2014-11-09 | Fixed bug. | John MacFarlane | |
Need to remove open delimiters from the stack when they don't match for a link. | |||
2014-11-09 | Restored priority of links over emphasis grouping. | John MacFarlane | |
Now when we encounter (possibly) closing `*` or `_` delimiters, we simply add them to the delimiters stack. This gets processed by `process_emphasis` either (a) when a link is created (in which case only the inlines created by the link are processed) or at the end of processing a run of inlines. | |||
2014-11-09 | Added MAX_LINK_LABEL_LENGTH to cmark.h. | John MacFarlane | |
Use in link label parsing and reference lookup. | |||
2014-11-09 | Removed some unused code. | John MacFarlane | |
2014-11-09 | Disallow links inside links and images inside images. | John MacFarlane | |