Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-09 | JS linter improvements. | John MacFarlane | |
(Note: this is helping performance. We have regained everything we lost with the last major change, and more.) | |||
2015-01-09 | Rename js/lib/html-renderer.js -> js/lib/html.js. | John MacFarlane | |
2015-01-09 | JS linter cleanups. | John MacFarlane | |
2015-01-09 | Minor code reformatting. | John MacFarlane | |
2015-01-09 | Use linked list instead of arrays for AST. | John MacFarlane | |
Use the same doubly linked node structure that cmark uses. The primary advantages of this change are (a) simplified code, especially in the renderers, and (b) elimination of the need for recursion, so we can render deeply-nested structures without a stack overflow. A node walker has also been added, for easy AST traversal. * Added js/lib/node.js for nodes. Includes a node walker. * All modules updated to use node structures. * Regularized position information into pos property. * Performance is slightly worse than before, but only marginally, and no doubt there are more optimizations that can be done. | |||
2015-01-09 | js/bench.js: use npm, added markdown-it. | John MacFarlane | |
2015-01-09 | xml writer: add list attributes. | John MacFarlane | |
2015-01-08 | Added `cmark_iter_reset` and a note about handling destructive updates. | John MacFarlane | |
2015-01-07 | js: Use children instead of inline_content for Paragraph. | John MacFarlane | |
2015-01-07 | js: Use children rather than 'c' for Emph and Strong contents. | John MacFarlane | |
Now we use 'children' uniformly, in both inlines and blocks, for child nodes. | |||
2015-01-07 | js: Changed 'label' in Link, Image to 'children'. | John MacFarlane | |
This matches the C impl. Also removed an unused property. | |||
2015-01-07 | Fixed 'make alltest.md'. | John MacFarlane | |
2015-01-07 | cmark: Add function & option to normalize text nodes. | John MacFarlane | |
So, instead of <text>Hi</text> <text>&</text> <text>lo</text> we get <text>Hi&lo</text> * Added exported `cmark_consolidate_text_nodes` function. * Added `CMARK_OPT_NORMALIZE` to options. * Added optional normalization in XML writer. * Added `--normalize` option to command-line program. * Updated man page. | |||
2015-01-07 | Merge pull request #273 from zmwangx/master | John MacFarlane | |
Fix typo in README.md | |||
2015-01-06 | Fixed typo in README.md | Zhiming Wang | |
2015-01-06 | Merge pull request #269 from jgm/license | Vicent Marti | |
Updated LICENSE, renamed to COPYING. | |||
2015-01-06 | COPYING: record that utf8.* derived from utf8proc. | John MacFarlane | |
2015-01-06 | Updated COPYING to include copyright for utf8proc. | John MacFarlane | |
2015-01-05 | Clarify that brackets in general don't take precedence over emph. | John MacFarlane | |
Closes #258. | |||
2015-01-05 | Clarify that final newline is removed from paragraph content. | John MacFarlane | |
Closes #176. | |||
2015-01-05 | Talk of "info string" rather than "attributes" for code blocks. | John MacFarlane | |
Closes #262. | |||
2015-01-05 | Clarified precedence of code spans, HTML tags, autolinks. | John MacFarlane | |
Closes #259. | |||
2015-01-05 | Reformatted code consistently with astyle. | John MacFarlane | |
2015-01-05 | Added 'make astyle' to reformat code consistently. | John MacFarlane | |
2015-01-05 | Updated LICENSE, renamed to COPYING. | John MacFarlane | |
This update clarifies the provenance and license of buffer.h, buffer.c, chunk.h, utf8.h, utf8.c. @vmg certifies by merging this PR that the license and copyright information are accurate. | |||
2015-01-05 | Fixed a number of links in spec. | John MacFarlane | |
2015-01-05 | makespec.py: put pluralizing s inside link for better visuals. | John MacFarlane | |
2015-01-05 | makespec.py: put ids on headers, not separate anchor. | John MacFarlane | |
2015-01-04 | Removed pandoc from travis build deps. | John MacFarlane | |
2015-01-04 | Strip {-} off unnumbered sections in HTML version of spec. | John MacFarlane | |
2015-01-04 | Moved spec.html error checks into makespec.py. | John MacFarlane | |
2015-01-04 | Fixed spec.pdf target. | John MacFarlane | |
2015-01-04 | Fixed some duplicate references. | John MacFarlane | |
2015-01-04 | Removed second parameter of makespec.py. | John MacFarlane | |
2015-01-04 | Use cmark itself to build spec.html. | John MacFarlane | |
Removes build dependency on pandoc. Closes #256. Note: we have lost "smart punctuation," but we can either (a) add an option to do this in the cmark renderer, or (b) insert unicode punctuation in the spec as needed. Not an urgent issue in any case. | |||
2015-01-04 | makespec.py: create toc without relying on pandoc. | John MacFarlane | |
We're still using pandoc, but this is one step closer to using cmark to build spec.html. | |||
2015-01-04 | Improved spec.pdf production. | John MacFarlane | |
Boldface definitions. | |||
2015-01-04 | spec2md.py -> makespec.py. | John MacFarlane | |
Moved HTML generation out of Makefile. | |||
2015-01-04 | Linkify "info string" in spec. | John MacFarlane | |
2015-01-04 | Use 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-04 | xml writer - fixed issues with empty images. | John MacFarlane | |
2015-01-04 | Improved DTD readability with entities. | John MacFarlane | |
2015-01-03 | spec2md.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-03 | Rewrote spec2md in python. | John MacFarlane | |
Better to only require python, not python and perl. | |||
2015-01-03 | Fixed CDATA regex in js. | John MacFarlane | |
Closes #267. | |||
2015-01-03 | Moved 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-03 | Improved 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-03 | scanners.re: More accurate regex for HTML comments. | John MacFarlane | |
Note: this only affects inline parsing. Block parsing is handled differently. | |||
2015-01-03 | spec: Added examples of non-comments. | John MacFarlane | |
See #264. | |||
2015-01-03 | spec: use HTML5 spec's rule for HTML comments. | John MacFarlane | |