summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-13Use typewriter font for signatures in man pages.John MacFarlane
2014-12-13Write API docs in cmark.h using markdown.John MacFarlane
`man/make_man_page.py` now converts using cmark.
2014-12-13Added cmark_render_man (man page writer).John MacFarlane
cmark: Replaced `--man` and `--ast` with generic `--to` option.
2014-12-13Added iterator interface to API, removed cmark_walk.John MacFarlane
* Added `iterator.c`, `iterator.h`. * Removed `cmark_walk`. * Replaced `cmark_walk` with iterator in HTML renderer. * Replaced API test for `cmark_walk` with simple iterator test.
2014-12-13API improvements: cmark_event_type parameter for walk handlers.John MacFarlane
Added cmark_event_type enum, which is used as the second parameter of the handler passed to cmark_walk. See #224.
2014-12-13Remove CMARK_NODE_REFERENCE_DEF from API.John MacFarlane
Modified finalize in blocks.c to return parent of finalized block, so we can handle the case of reference definitions, when we simply remove the finalized block.
2014-12-13Makefile: Removed dependency of leakcheck on PROG.John MacFarlane
2014-12-13Removed cmark_ prefix on chunk and strbuf.John MacFarlane
This isn't needed any more since we don't expose these in the API.
2014-12-12Revert "Removed CMARK_NODE_REFERENCE_DEF from API."John MacFarlane
This reverts commit b598b52a4acdc2332be3d34e30237d1b93b7dd03. The change led to some problems, because some of the callers of 'finalize' expected the node to exist after the call. This could all be rewritten, but for now let's just revert.
2014-12-12Rudimentary documentation for cmark_walk.John MacFarlane
2014-12-12Removed CMARK_NODE_REFERENCE_DEF from API.John MacFarlane
There's no reason to store these empty nodes in the API. The references have already been resolved.
2014-12-12Updated benchmarks for new HTML renderer.John MacFarlane
2014-12-12Rewrote HTML renderer using cmark_walk.John MacFarlane
This version is shorter, more readable, and more regular. It should serve as a template for creating new writers. Performance is the same. All tests pass.
2014-12-12Added test for cmark_walk.John MacFarlane
2014-12-12Added cmark_node_handler and cmark_walk to header.John MacFarlane
2014-12-10Makefile - run js benchmark with high priority.John MacFarlane
2014-12-10Further delinting efforts.John MacFarlane
2014-12-10More js delinting.John MacFarlane
2014-12-10More js delinting.John MacFarlane
2014-12-10Run eslint on bench.jsJohn MacFarlane
2014-12-10More linter corrections to js code.John MacFarlane
2014-12-10More eslint corrections.John MacFarlane
2014-12-10linter fixes to html5-entities.js and index.js.John MacFarlane
2014-12-10Fixed linter errors in js/bin/commonmark, js/test.js.John MacFarlane
2014-12-10eslint.json - don't worry about quote style.John MacFarlane
2014-12-10Apply js linting to test.js.John MacFarlane
2014-12-10Added eslint.json and 'lint' target in Makefile.John MacFarlane
2014-12-10html5-entities.js: put object property 'in' in quotes.John MacFarlane
...this is a JS keyword, and at least IE8 gets confused by it in this context.
2014-12-10Moved changelog.spec -> changelog.spec.txt.John MacFarlane
2014-12-10Update spec version.John MacFarlane
2014-12-09Avoid using non-ascii characters in js code.John MacFarlane
It seems to confuse IE8.
2014-12-08Merge pull request #238 from nwellnhof/fix_warningsJohn MacFarlane
Fix warnings
2014-12-08Merge pull request #237 from nwellnhof/fix_last_line_blankJohn MacFarlane
Fix last_line_blank logic
2014-12-08Compile with -WextraNick Wellnhofer
2014-12-08Fix last_line_blank logicNick Wellnhofer
The broken last_line_blank logic could lead to random failures in the API tests.
2014-12-08Create html_unescape.h with extra struct initializersNick Wellnhofer
Fixes missing initializer warnings.
2014-12-05Revert "API change: Add cmark_node_set_type for completeness."John MacFarlane
This reverts commit 6c1f76a8a22f6c84231e5101f0950ce353ec8075.
2014-12-05API change: Add cmark_node_set_type for completeness.John MacFarlane
2014-12-05node.c: Make sure no functions segfault if passed null pointers.John MacFarlane
2014-12-05Changed CMARK_NODE_NONE from -1 to 0.John MacFarlane
This is more consistent with CMARK_LIST_NONE, etc.
2014-12-05Added 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-04Added "chunk.h" include to scanners.h.John MacFarlane
2014-12-04Moved source files from src/html into src.John MacFarlane
The separate directory presents problems for some simple extension building systems, like luarocks.
2014-12-04Fixed another archive problem.John MacFarlane
2014-12-04Fixed some problems in 'make archive'.John MacFarlane
2014-12-04Merge pull request #235 from coder543/patch-1John MacFarlane
Update benchmarks.md
2014-12-04Create pkg-config file as part of build procedure.John MacFarlane
Closes #234.
2014-12-04Update benchmarks.mdcoder543
Fixed a typo. Prenalized should be penalized.
2014-12-03Added note on lua wrapper.John MacFarlane
2014-12-03Revised README's instructions on tests.John MacFarlane