Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-14 | Use chunk for fenced code info, instead of strbuf. | John MacFarlane | |
2014-12-14 | Use as.literal instead of string_content for HTML and code blocks. | John MacFarlane | |
This is for consistency with the other types of nodes that have literal strings as contents. | |||
2014-12-14 | Added empty clauses for DOCUMENT node to html and man writers. | John MacFarlane | |
For completeness. | |||
2014-12-14 | Rename CMARK_NODE_INLINE_CODE -> CMARK_NODE_CODE. | John MacFarlane | |
2014-12-13 | Clarified spec on indented code blocks. | John MacFarlane | |
Previously the spec said, wrongly, that a blank line was needed between a paragraph and a following code block. It is only needed between a code block and a following paragraph (due to lazy continuations). Thanks to textnut for pointing this out. | |||
2014-12-13 | Added API documentation to src/cmark.h. Closes #224. | John MacFarlane | |
2014-12-13 | Removed cmark_node_handler - it was used by cmark_walk, now deleted. | John MacFarlane | |
2014-12-13 | Makefile fixes for man page. | John MacFarlane | |
Don't build man pages until we've built libcmark, which we need. Also reverted use of typewriter font for signatures; this looks worse in the terminal pager. | |||
2014-12-13 | Makefile: add targets for html versions of man pages. | John MacFarlane | |
2014-12-13 | Use typewriter font for signatures in man pages. | John MacFarlane | |
2014-12-13 | Write API docs in cmark.h using markdown. | John MacFarlane | |
`man/make_man_page.py` now converts using cmark. | |||
2014-12-13 | Added cmark_render_man (man page writer). | John MacFarlane | |
cmark: Replaced `--man` and `--ast` with generic `--to` option. | |||
2014-12-13 | Added 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-13 | API 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-13 | Remove 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-13 | Makefile: Removed dependency of leakcheck on PROG. | John MacFarlane | |
2014-12-13 | Removed 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-12 | Revert "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-12 | Rudimentary documentation for cmark_walk. | John MacFarlane | |
2014-12-12 | Removed 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-12 | Updated benchmarks for new HTML renderer. | John MacFarlane | |
2014-12-12 | Rewrote 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-12 | Added test for cmark_walk. | John MacFarlane | |
2014-12-12 | Added cmark_node_handler and cmark_walk to header. | John MacFarlane | |
2014-12-10 | Makefile - run js benchmark with high priority. | John MacFarlane | |
2014-12-10 | Further delinting efforts. | John MacFarlane | |
2014-12-10 | More js delinting. | John MacFarlane | |
2014-12-10 | More js delinting. | John MacFarlane | |
2014-12-10 | Run eslint on bench.js | John MacFarlane | |
2014-12-10 | More linter corrections to js code. | John MacFarlane | |
2014-12-10 | More eslint corrections. | John MacFarlane | |
2014-12-10 | linter fixes to html5-entities.js and index.js. | John MacFarlane | |
2014-12-10 | Fixed linter errors in js/bin/commonmark, js/test.js. | John MacFarlane | |
2014-12-10 | eslint.json - don't worry about quote style. | John MacFarlane | |
2014-12-10 | Apply js linting to test.js. | John MacFarlane | |
2014-12-10 | Added eslint.json and 'lint' target in Makefile. | John MacFarlane | |
2014-12-10 | html5-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-10 | Moved changelog.spec -> changelog.spec.txt. | John MacFarlane | |
2014-12-10 | Update spec version. | John MacFarlane | |
2014-12-09 | Avoid using non-ascii characters in js code. | John MacFarlane | |
It seems to confuse IE8. | |||
2014-12-08 | Merge pull request #238 from nwellnhof/fix_warnings | John MacFarlane | |
Fix warnings | |||
2014-12-08 | Merge pull request #237 from nwellnhof/fix_last_line_blank | John MacFarlane | |
Fix last_line_blank logic | |||
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. |