Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-03 | Make 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-03 | Spec: "is preferred" -> "takes precedence". | John MacFarlane | |
2015-01-02 | Minor reformatting. | John MacFarlane | |
Ensure that labels for anchors don't break lines. | |||
2015-01-02 | Regularized "non-space character" spelling and added links. | John MacFarlane | |
Closes #260. | |||
2015-01-02 | Use 4 spaces rather than 5 to show "four spaces is too much." | John MacFarlane | |
Closes #261. | |||
2014-12-31 | Updated package.json. | John MacFarlane | |
2014-12-31 | Updated changelog. | John MacFarlane | |
2014-12-31 | Spec to 0.15. | John MacFarlane | |
2014-12-31 | Fixed some left-flanking/right-flanking reversals in spec for emphasis. | John MacFarlane | |
Closes #257. | |||
2014-12-31 | Updated dingus - incorporated changes made in CommonMark-site. | John MacFarlane | |
2014-12-31 | Updated spec changelog. | John MacFarlane | |
2014-12-31 | Omit footer on template. | John MacFarlane | |
2014-12-31 | Bump spec version to 0.14. | John MacFarlane | |
2014-12-31 | Added CC-BY-SA license to documentation. | John MacFarlane | |
Closes #55. | |||
2014-12-31 | Merge pull request #256 from nwellnhof/windows_fixes | John MacFarlane | |
Windows fixes | |||
2014-12-31 | Recreate scanners.c only on demand | Nick Wellnhofer | |
2014-12-31 | Write to stdout in binary mode on Windows | Nick Wellnhofer | |
This fixes the output of newlines. | |||
2014-12-31 | Fix spec tests on Windows | Nick Wellnhofer | |
2014-12-31 | Fix C++ API test | Nick Wellnhofer | |
2014-12-31 | Fix API test on Windows | Nick Wellnhofer | |
set_tests_properties must not be called before adding the test. | |||
2014-12-31 | Rename 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-31 | Remove useless void* cast | Nick Wellnhofer | |
2014-12-31 | Include guards and C linkage for cmark_ctype.h | Nick Wellnhofer | |
2014-12-31 | Feature test for va_copy | Nick Wellnhofer | |
MSVC doesn't support va_copy. | |||
2014-12-31 | Add missing va_end | Nick Wellnhofer | |
2014-12-30 | Revert "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-30 | Revert "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-30 | man: 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-30 | Require 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-29 | Attempted 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-29 | Renamed a couple variables. | John MacFarlane | |
2014-12-29 | .travis.yml: install python3 for build. | John MacFarlane | |
2014-12-29 | Added cmark_ prefix to functions in cmark_ctype. | John MacFarlane | |
2014-12-29 | Fixed leakcheck for python3. | John MacFarlane | |
2014-12-29 | Use python3 for bench in Makefile. | John MacFarlane | |
2014-12-29 | Added 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. | |||
2014-12-29 | spec: Define ascii punctuation character separately. | John MacFarlane | |
That's because some ascii punctuation characters (like `<`) are not in a "P" character class (they are mathematical symbols). They need to be escapable so we'll treat them as "punctuation" here. | |||
2014-12-29 | Added wrapper3.py (python3 sample wrapper). | John MacFarlane | |
2014-12-29 | Updated tests to use python3. | John MacFarlane | |
2014-12-29 | Fixed md2man for python3. | John MacFarlane | |
Partially addresses #254. This change makes make_man_page.py work with either python3 or python2. The test suite is still dependent on python2, and this should be changed, but for now this at least makes a build possible. | |||
2014-12-29 | Avoid warning about unused options parameter in man writer. | John MacFarlane | |
2014-12-29 | Make `--sourcepos` affect xml writer too. | John MacFarlane | |
2014-12-29 | Added options parameter to renderers. | John MacFarlane | |
To keep the API simple and avoid API changes when new options are added, this is just a long integer. Set it by disjoining options that are defined as powers of 2: e.g. `CMARK_HTML_SOURCEPOS | CMARK_HTML_HARDREAKS`. Test options using `&`: `if (options & CMARK_HTML_SOURCEPOS)`. Added `--hardbreaks` and `--sourcepos` command-line options. | |||
2014-12-28 | Added cmark_node_set_list_delim, cmark_node_get_list_delim. | John MacFarlane | |
Even though this doesn't make a difference in default HTML output, it's worth keeping track; some output formats may allow you to distinguish lists with `1)` and with `1.` delimiters. | |||
2014-12-28 | Added CMARK_NO_DELIM to cmark_delim_type | John MacFarlane | |
2014-12-28 | Removed old 'ast' format, now that we have 'xml'. | John MacFarlane | |
The xml representation of the AST is not quite as pretty, but it contains the same information and is not in an ad hoc format. See #53. | |||
2014-12-28 | Adjust benchmarks for cmark. | John MacFarlane | |
2014-12-28 | Improved end column/end line calculations in finalize. | John MacFarlane | |
2014-12-28 | Added end_column to cmark_node struct. | John MacFarlane | |
API exports cmark_node_get_column. XML writer indicates start and end line and column for block-level nodes. | |||
2014-12-28 | blocks.c - removed unneeded start_line parameter from make_block. | John MacFarlane | |