Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-12 | Wrap decodeURI in a try. | John MacFarlane | |
This ensures that we return original content (unnormalized) rather than raising an exception for things like [foo](<%test>) Not sure if this is the best approach. | |||
2015-01-12 | html.js, xml.js: avoid using concat. | John MacFarlane | |
2015-01-12 | Use new with Document and NodeWalker constructors. | John MacFarlane | |
2015-01-12 | js/bench.js: use capital letter for Showdown so eslint doesn't complain. | John MacFarlane | |
2015-01-12 | Improved eslint.json. | John MacFarlane | |
2015-01-12 | Updated travis script to install osx dependencies using brew. | John MacFarlane | |
2015-01-12 | Enable testing on osx with travis. | John MacFarlane | |
2015-01-12 | Use decodeURI instead of the deprecated 'unescape'. | John MacFarlane | |
<https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/unescape> | |||
2015-01-12 | Relaxed some eslint rules that don't make sense for us. | John MacFarlane | |
2015-01-12 | Fixed some linter errors. | John MacFarlane | |
2015-01-12 | Moved "use strict" to top of modules. | John MacFarlane | |
2015-01-11 | Moved common xml escaping code from xml.js, html.js to common.js. | John MacFarlane | |
2015-01-11 | Factored out normalizeURI into a single function in common.js. | John MacFarlane | |
This way we can change it without changing four separate places in the code. | |||
2015-01-11 | Factored out unescapeString into new module, js/common.js. | John MacFarlane | |
This is used in both blocks.js and inlines.js. | |||
2015-01-11 | A few changes to JS so its xml matches cmark's. | John MacFarlane | |
Always add '' as title property if title is not defined. | |||
2015-01-11 | More xml.js improvements. | John MacFarlane | |
2015-01-11 | Small improvements to xml.js. | John MacFarlane | |
2015-01-11 | js: 'ListItem' -> 'Item'. | John MacFarlane | |
2015-01-11 | xml.c: Include level attribute in header. | John MacFarlane | |
2015-01-11 | Dingus: XMLRenderer -> XmlRenderer. | John MacFarlane | |
2015-01-11 | node.js: toAST -> toObject. | John MacFarlane | |
2015-01-11 | Fixed url -> destination in xml.js. | John MacFarlane | |
2015-01-11 | node.js: Added title and destination to list of props to show in toAST. | John MacFarlane | |
2015-01-11 | xml format: use 'destination' instead of 'url', like the spec. | John MacFarlane | |
2015-01-11 | Handle more attributes with xml.js. | John MacFarlane | |
2015-01-11 | Merge pull request #281 from nwellnhof/shrink_entity_table | John MacFarlane | |
Reduce size of gperf entity table | |||
2015-01-11 | Added intended two-line hard-breaks in Examples 521, 523. | John MacFarlane | |
Thanks to textnut for pointing out the mistake. <http://talk.commonmark.org/t/example-521-523-missing-2-spaces-at-line-end/1003/1> | |||
2015-01-12 | Reduce size of gperf entity table | Nick Wellnhofer | |
Don't store length of UTF-8 string. It can be computed by NULL-terminating strings shorter than 4 bytes and using strnlen. Use gperf's string pool option. This allows to use an 'int' index into the string pool instead of a pointer and is helpful on 64-bit systems. Shaves about 75 KB off the 32-bit binaries on Linux and 128 KB off the 64-bit binaries on OS X. | |||
2015-01-11 | XML writer - implemented list attributes. | John MacFarlane | |
2015-01-11 | XMLRenderer -> XmlRenderer. | John MacFarlane | |
For consistency with HtmlRenderer. I'm not sure which is best. | |||
2015-01-11 | Updated dingus to use XML for the AST pane. | John MacFarlane | |
2015-01-11 | Removed JS library's dependency on util. | John MacFarlane | |
This reduces js/commonmark.js size by 20K. | |||
2015-01-11 | xml.js: basic structure working. | John MacFarlane | |
Need to handle attributes. | |||
2015-01-11 | Start on xml.js. | John MacFarlane | |
Just the skeleton, mostly copied from HTML renderer. Can be simplified because of the regularity of the XML format. See #280. | |||
2015-01-11 | node.js: use switch instead of if-else. | John MacFarlane | |
2015-01-11 | Use order-only dependency of cmark.3 on PROG. | John MacFarlane | |
This fixes a problem with some parallel builds. | |||
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 | |