summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-04Improved spec.pdf production.John MacFarlane
Boldface definitions.
2015-01-04spec2md.py -> makespec.py.John MacFarlane
Moved HTML generation out of Makefile.
2015-01-04Linkify "info string" in spec.John MacFarlane
2015-01-04Use shortcut reference links when possible in spec.txt.John MacFarlane
This relies on the new spec2md.py behavior of creating reference links for all internal anchors.
2015-01-04xml writer - fixed issues with empty images.John MacFarlane
2015-01-04Improved DTD readability with entities.John MacFarlane
2015-01-03spec2md.py: Add reference link definitions for internal anchors.John MacFarlane
We can use this to simplify spec.txt, using `[whitespace]` instead of `[whitespace](#whitespace)`, for example.
2015-01-03Rewrote spec2md in python.John MacFarlane
Better to only require python, not python and perl.
2015-01-03Fixed CDATA regex in js.John MacFarlane
Closes #267.
2015-01-03Moved non-comment examples (1e789d0f) to inline tag section.John MacFarlane
That's where they properly belong, since we deal with comments differently in blocks.
2015-01-03Improved js regex for html comments.John MacFarlane
Closes #263. Note, this only affects inline comments. With block comments we parse differently, and don't guarantee that only valid HTML5 comments will pass. This all needs to be made more explicit in the spec. However, this fix addresses the cpu problem.
2015-01-03scanners.re: More accurate regex for HTML comments.John MacFarlane
Note: this only affects inline parsing. Block parsing is handled differently.
2015-01-03spec: Added examples of non-comments.John MacFarlane
See #264.
2015-01-03spec: use HTML5 spec's rule for HTML comments.John MacFarlane
2015-01-03Make clear that any sequence of characters is a valid document.John MacFarlane
Closes #266 in a slightly different way than @anko's PR.
2015-01-03Spec: "is preferred" -> "takes precedence".John MacFarlane
2015-01-02Minor reformatting.John MacFarlane
Ensure that labels for anchors don't break lines.
2015-01-02Regularized "non-space character" spelling and added links.John MacFarlane
Closes #260.
2015-01-02Use 4 spaces rather than 5 to show "four spaces is too much."John MacFarlane
Closes #261.
2014-12-31Updated package.json.John MacFarlane
2014-12-31Updated changelog.John MacFarlane
2014-12-31Spec to 0.15.John MacFarlane
2014-12-31Fixed some left-flanking/right-flanking reversals in spec for emphasis.John MacFarlane
Closes #257.
2014-12-31Updated dingus - incorporated changes made in CommonMark-site.John MacFarlane
2014-12-31Updated spec changelog.John MacFarlane
2014-12-31Omit footer on template.John MacFarlane
2014-12-31Bump spec version to 0.14.John MacFarlane
2014-12-31Added CC-BY-SA license to documentation.John MacFarlane
Closes #55.
2014-12-31Merge pull request #256 from nwellnhof/windows_fixesJohn MacFarlane
Windows fixes
2014-12-31Recreate scanners.c only on demandNick Wellnhofer
2014-12-31Write to stdout in binary mode on WindowsNick Wellnhofer
This fixes the output of newlines.
2014-12-31Fix spec tests on WindowsNick Wellnhofer
2014-12-31Fix C++ API testNick Wellnhofer
2014-12-31Fix API test on WindowsNick Wellnhofer
set_tests_properties must not be called before adding the test.
2014-12-31Rename test builddir to 'build/testdir'Nick Wellnhofer
The directory 'build/test' clashed with the 'test' Makefile target. Since nmake doesn't support phony targets, the tests wouldn't be run on Windows.
2014-12-31Remove useless void* castNick Wellnhofer
2014-12-31Include guards and C linkage for cmark_ctype.hNick Wellnhofer
2014-12-31Feature test for va_copyNick Wellnhofer
MSVC doesn't support va_copy.
2014-12-31Add missing va_endNick Wellnhofer
2014-12-30Revert "Remove unneeded va_copy"John MacFarlane
This reverts commit 485ef21b95e257e9d9cbcaa804c3c164f1f49a80. Apparently the va_copy IS needed, because without this code we get segfaults in some cases. Closes #253. @nwellnhof, can you have a look at this issue and comment? I understand that this code was removed for portability reasons. Is there an alternative solution?
2014-12-30Revert "man: use a variable to store the char * from node_get_url."John MacFarlane
This reverts commit 46b67b710788be7924b5a412ab68eea3cac0cd96. I was mistaken that this helped. Which is good, because I would not have understood why it helped.
2014-12-30man: use a variable to store the char * from node_get_url.John MacFarlane
We get segfaults on some platforms when we do cmark_strbuf_printf(man, " (%s)", cmark_node_get_url(node)); but they go away with: url = cmark_node_get_url(node); cmark_strbuf_printf(man, " (%s)", url); I don't understand why. Closes #253.
2014-12-30Require cmake >= 2.8.9, use a ppa for travis.John MacFarlane
`package_find(PythonInterp)` doesn't find python 3.2 with the cmake travis provides.
2014-12-29Attempted optimization of cmark_ctype.John MacFarlane
Use a single lookup table for all character types. I'm not sure this actually helps so much.
2014-12-29Renamed a couple variables.John MacFarlane
2014-12-29.travis.yml: install python3 for build.John MacFarlane
2014-12-29Added cmark_ prefix to functions in cmark_ctype.John MacFarlane
2014-12-29Fixed leakcheck for python3.John MacFarlane
2014-12-29Use python3 for bench in Makefile.John MacFarlane
2014-12-29Added cmark_ctype.h with locale-independent isspace, ispunct, etc.John MacFarlane
Otherwise cmark's behavior varies unpredictably with the locale. `is_punctuation` in utf8.h has also been adjusted so that everything that counts all ASCII symbol characters count as punctuation, even though some are not in P* character classes.