summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-12Improved README.John MacFarlane
2015-01-12Cleaned up Makefile.John MacFarlane
2015-01-12Some astyle reformatting.John MacFarlane
2015-01-12Moved spec2js.js to tools/.John MacFarlane
2015-01-12Moved templates, makespec.py, and specfilter.hs -> tools/.John MacFarlane
2015-01-12Moved mkcasefold.pl to tools/.John MacFarlane
2015-01-12Moved eslint.json to js/ subdir.John MacFarlane
2015-01-12Moved python, rb, lua wrappers to wrappers subdirectory.John MacFarlane
2015-01-12Moved dingus to js directory.John MacFarlane
2015-01-12Removed Makefile.old.John MacFarlane
2015-01-12.travis.yml: don't run valgrind on osx.John MacFarlane
2015-01-12Simplified release archive.John MacFarlane
We now simply use git archive (which is also what github would use on their releases page). This is possible because we now include some generated files in the repository. The fact is that this is what people are going to use anyway, so instead of testing two different setups (our hand-crafted archive and the git repo), it's better just to use one.
2015-01-12Updated benchmarks with new multilingual progit sample.John MacFarlane
2015-01-12For benchmarks, read file rather than piping from stdin.John MacFarlane
2015-01-12Fixed ANSI color 'reset' in js/test.js.John MacFarlane
2015-01-12Use much more multilingual benchmark source.John MacFarlane
Concatenate all languages for progit book.
2015-01-12Fixed .travis.yml for osx.John MacFarlane
2015-01-12Fixed sh syntax in .travis.yml.John MacFarlane
2015-01-12Wrap decodeURI in a try.John MacFarlane
This ensures that we return original content (unnormalized) rather than raising an exception for things like [foo](<&#x25;test>) Not sure if this is the best approach.
2015-01-12html.js, xml.js: avoid using concat.John MacFarlane
2015-01-12Use new with Document and NodeWalker constructors.John MacFarlane
2015-01-12js/bench.js: use capital letter for Showdown so eslint doesn't complain.John MacFarlane
2015-01-12Improved eslint.json.John MacFarlane
2015-01-12Updated travis script to install osx dependencies using brew.John MacFarlane
2015-01-12Enable testing on osx with travis.John MacFarlane
2015-01-12Use decodeURI instead of the deprecated 'unescape'.John MacFarlane
<https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/unescape>
2015-01-12Relaxed some eslint rules that don't make sense for us.John MacFarlane
2015-01-12Fixed some linter errors.John MacFarlane
2015-01-12Moved "use strict" to top of modules.John MacFarlane
2015-01-11Moved common xml escaping code from xml.js, html.js to common.js.John MacFarlane
2015-01-11Factored 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-11Factored out unescapeString into new module, js/common.js.John MacFarlane
This is used in both blocks.js and inlines.js.
2015-01-11A few changes to JS so its xml matches cmark's.John MacFarlane
Always add '' as title property if title is not defined.
2015-01-11More xml.js improvements.John MacFarlane
2015-01-11Small improvements to xml.js.John MacFarlane
2015-01-11js: 'ListItem' -> 'Item'.John MacFarlane
2015-01-11xml.c: Include level attribute in header.John MacFarlane
2015-01-11Dingus: XMLRenderer -> XmlRenderer.John MacFarlane
2015-01-11node.js: toAST -> toObject.John MacFarlane
2015-01-11Fixed url -> destination in xml.js.John MacFarlane
2015-01-11node.js: Added title and destination to list of props to show in toAST.John MacFarlane
2015-01-11xml format: use 'destination' instead of 'url', like the spec.John MacFarlane
2015-01-11Handle more attributes with xml.js.John MacFarlane
2015-01-11Merge pull request #281 from nwellnhof/shrink_entity_tableJohn MacFarlane
Reduce size of gperf entity table
2015-01-11Added 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-12Reduce size of gperf entity tableNick 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-11XML writer - implemented list attributes.John MacFarlane
2015-01-11XMLRenderer -> XmlRenderer.John MacFarlane
For consistency with HtmlRenderer. I'm not sure which is best.
2015-01-11Updated dingus to use XML for the AST pane.John MacFarlane
2015-01-11Removed JS library's dependency on util.John MacFarlane
This reduces js/commonmark.js size by 20K.