summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-16Improved README.John MacFarlane
2015-04-15Check return status of utf8proc_iterate. Closes #27.John MacFarlane
If unicode parsing gives an error condition, we just skip the rest of the string without rendering anything and proceed. I'm not sure if that's the best way to handle this, but garbage in, garbage out. Note: this bug was found using american fuzzy lop.
2015-04-14Added afl to .PHONY in Makefile.John MacFarlane
2015-04-01Bump version to 0.18.3.John MacFarlane
2015-04-01Updated changelog.John MacFarlane
2015-04-01Merge pull request #25 from nwellnhof/include_patchlevel_in_sonameJohn MacFarlane
Include patch level in soname
2015-04-01Include patch level in sonameNick Wellnhofer
Minor version is tied to spec version, so this allows to break the ABI between spec releases.
2015-03-31Merge pull request #24 from yangcha/masterJohn MacFarlane
Install compiler-provided system runtime libraries.
2015-03-31Install compiler-provided system runtime libraries.Changjiang Yang
2015-03-30Use strbuf_printf instead of snprintf.John MacFarlane
snprintf is not available on some platforms.
2015-03-30Fixed memory issue.John MacFarlane
This fixes valgrind "invalid read of size 1" on input `[link](<>)`.
2015-03-30Merge pull request #22 from yangcha/masterJohn MacFarlane
snprintf is not implemented in Visual Studio 2013 or earlier. Use _snpri...
2015-03-30snprintf is not implemented in Visual Studio 2013 or earlier. Use _snprintf ↵Changjiang Yang
instead.
2015-03-30Modified copyright message with --version.John MacFarlane
2015-03-30Updated man page.John MacFarlane
2015-03-30Updated changelog.John MacFarlane
2015-03-30Updated version to 0.18.2John MacFarlane
2015-03-29Travis: only do roundtrip test on linux.John MacFarlane
We need python3, and we're testing the OSX install without python3.
2015-03-29Fixed roundtrip.sh.John MacFarlane
2015-03-29Merge branch 'master' of github.com:jgm/cmarkJohn MacFarlane
2015-03-29commonmark - use strlen not strnlen for portability.John MacFarlane
strlen should be safe here, as we use it on strings generated by cmark_chunk_to_cstr and these should be null terminated.
2015-03-29Updated cmark path in roundtrip.sh.John MacFarlane
2015-03-29commonmark renderer - render links as autolinks when appropriate.John MacFarlane
2015-03-29Scanners: added _scan_scheme, scan_scheme.John MacFarlane
This is used in the commonmark renderer.
2015-03-29Added roundtrip_test Makefile target.John MacFarlane
Eventually this should be pythonized and put in the cmake test routine.
2015-03-29Fixed bug in cmark_strbuf_unescape (buffer.c).John MacFarlane
The old function called 'continue' when seeing a backslash, but this gave incorrect results on input like: \\* since the next backslash would be treated as escaping the `*` instead of being escaped itself.
2015-03-29Don't wrap inline HTML.John MacFarlane
2015-03-29commonmark renderer - improved tight list detection.John MacFarlane
2015-03-29commonmark writer - more tight list fixes.John MacFarlane
Avoid losing blank line *before* a tight list, by adjusting `state->in_tight_list_item` only *after* we've started the first list item.
2015-03-29commonmark - don't use indented code if first thing in list item.John MacFarlane
2015-03-29commonmark renderer - don't escape in fenced code blocks.John MacFarlane
2015-03-29commonmark - properly escape literal backticks.John MacFarlane
2015-03-29commonmark renderer - honor softbreak if width == 0.John MacFarlane
2015-03-29commonmark renderer - fixed memory access error.John MacFarlane
2015-03-29commonmark - improved tight list rendering.John MacFarlane
2015-03-29commonmark - use * for bullet list to avoid clash with setext header.John MacFarlane
E.g. with a paragraph followed immediately by a list item with no content.
2015-03-29Fixes one-off error in previous commit.John MacFarlane
2015-03-29commonmark - use space after delim if code is empty.John MacFarlane
2015-03-29commonmark - use fenced code blocks if code starts/ends with blank.John MacFarlane
2015-03-29commonmark renderer: special case EMPH(EMPH(x)).John MacFarlane
This needs to be rendered `*_x_*` rather than `**x**`.
2015-03-29commonmark renderer - better inline code.John MacFarlane
Use the minimum number of backticks as delimiter, and include a space only if needed.
2015-03-29commonmark renderer - fixed calculation of number of backticks in code.John MacFarlane
2015-03-29Removed obsolete TODO comment.John MacFarlane
2015-03-29commonmark renderer - two blank lines after list before code/list.John MacFarlane
2015-03-29commonmark renderer - escaping improvements.John MacFarlane
2015-03-28commonmark rendere: more fine-grained control over escaping.John MacFarlane
2015-03-28commonmark renderer: better escaping of `#`.John MacFarlane
2015-03-27More TODOs in commonmark renderer.John MacFarlane
2015-03-27Added TODO comment to commonmark renderer.John MacFarlane
2015-03-27Removed an unnecessary check.John MacFarlane
By the time we check for a list start, we've already checked for an HRULE, so we don't need to repeat that check here. Thanks to Robin Stocker for pointing out a similar redundancy in commonmark.js.