Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-11 | Makefile tweaks. | John MacFarlane | |
* Use -j2, esp. for testarchive, so we can test parallel builds. * Improved dependencies for cmark.3. | |||
2015-01-11 | Non-verbose output on 'make testarchive', unless error occurs. | John MacFarlane | |
2015-01-11 | Removed circular build dependency, improved testarchive. | John MacFarlane | |
2015-01-11 | Makefile: require PROG for making man3 page. | John MacFarlane | |
2015-01-11 | Run the spec tests only if python3 is found. | John MacFarlane | |
Otherwise skip them, running a dummy test skipping_spec_tests to signal that they are being skipped. To require the spec tests, do `cmake .. -DSPEC_TESTS=1`. Closes #278. Although I still have some qualms about tests that can appear to pass while being incomplete, I see the advantages of allowing the package to build without python3. | |||
2015-01-11 | 'make test' - don't use verbose output. | John MacFarlane | |
Instead, print the test log if any tests fail. | |||
2015-01-11 | Added cmark.3 man page to repository and archive. | John MacFarlane | |
It simplifies the build if python and the cmark library aren't needed to build the man page. The top level Makefile has a rule to regenerate this when src/cmark.h changes. Updated Makefile.nmake for recent changes. Added case folding data file to archive, since otherwise make fails. | |||
2015-01-11 | Small reorganization of man/CMakeLists.txt. | John MacFarlane | |
Don't add install targets if on Windows. | |||
2015-01-11 | Make sure library is built before man page. | John MacFarlane | |
Closes #279. | |||
2015-01-10 | 'make leakcheck': check xml and man renderers as well. | John MacFarlane | |
2015-01-10 | Merge pull request #277 from nwellnhof/iterator | John MacFarlane | |
Rework iterators | |||
2015-01-10 | Added python markdown, parsedown to benchmark comparisons. | John MacFarlane | |
2015-01-10 | Updated benchmarks. | John MacFarlane | |
2015-01-10 | More efficient detab. | John MacFarlane | |
2015-01-10 | Timings: added 'preparing input'. | John MacFarlane | |
2015-01-10 | Added options to DocParser. | John MacFarlane | |
So far only 'time' is supported. 'time' now gives a breakdown of block parsing, inline parsing, and rendering. Currently the ratio is block parsing: 725ms inline parsing: 332ms rendering: 213ms so perhaps block.js is the best place to look for further optimizations. | |||
2015-01-10 | Removed a redundant clause from switch statement. | John MacFarlane | |
Lines starting | |||
2015-01-10 | Added --time option to js/bin/commonmark. | John MacFarlane | |
2015-01-10 | Include a mini ansi implementation in test.js. | John MacFarlane | |
This way we don't need to depend on the ansi module at all. | |||
2015-01-10 | Removed ansi from js source tree. | John MacFarlane | |
Test suite will now use ansi if the package is installed, otherwise skip it. | |||
2015-01-10 | Made 'options' a parameter of the renderer constructors... | John MacFarlane | |
as opposed to the 'render' function. Added a 'colors' parameter for the ast renderer. | |||
2015-01-10 | Removed an unnecessary variable from cloneUnmatchedBlocks. | John MacFarlane | |
2015-01-10 | html.js: removed blocksep and innersep, no longer used. | John MacFarlane | |
2015-01-10 | HTML renderer: throw error on unknown tag type. | John MacFarlane | |
This indicates a programming error. | |||
2015-01-10 | Put another regex in a variable. | John MacFarlane | |
2015-01-10 | Another "test before replace" optimization. | John MacFarlane | |
2015-01-10 | Small performance optimization in dealing with final newline. | John MacFarlane | |
2015-01-10 | Updated benchmarks. | John MacFarlane | |
2015-01-10 | HTML renderer: Test for characters that need escaping before substituting. | John MacFarlane | |
2015-01-10 | Updated benchmarks. | John MacFarlane | |
2015-01-10 | More HTML rendering efficiency improvements. | John MacFarlane | |
2015-01-10 | Don't use array buffer in HTML rendering. | John MacFarlane | |
Use straight string `+=` instead. This is supposedly faster in browsers other than IE 7. | |||
2015-01-10 | Reordered some definitions, so regex is defined before being used. | John MacFarlane | |
2015-01-10 | Removed unused import. | John MacFarlane | |
2015-01-10 | Made Node a local variable. | John MacFarlane | |
2015-01-10 | Made NodeWalker a regular function returning an object. | John MacFarlane | |
2015-01-10 | Removed unnec. comment. | John MacFarlane | |
2015-01-10 | Regex optimizations in inlines.js. | John MacFarlane | |
2015-01-10 | Update iterator documentation | Nick Wellnhofer | |
2015-01-10 | Rework iterators | Nick Wellnhofer | |
* Advance to the next node when calling 'cmark_iter_next', not when calling 'cmark_iter_get_node'. * Add 'cmark_iter_get_event_type' accessor. * Allow deletion of nodes after an 'EXIT' event, or an 'ENTER' event for leaf nodes. | |||
2015-01-10 | Regex optimizations in blocks.js. | John MacFarlane | |
2015-01-10 | Optimize S_is_leaf | Nick Wellnhofer | |
2015-01-09 | Moved more regexes into variables. | John MacFarlane | |
2015-01-09 | Put backtick regexes in variables. | John MacFarlane | |
2015-01-09 | Removed redundant condition. | John MacFarlane | |
2015-01-09 | Removed a redundant condition. | John MacFarlane | |
2015-01-09 | Use a switch instead of if-then-else. | John MacFarlane | |
2015-01-09 | Small optimization. | John MacFarlane | |
2015-01-09 | Updated benchmarks. | John MacFarlane | |
2015-01-09 | JS linter improvements. | John MacFarlane | |