Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-06 | Removed unnecessary dependency in Makefile. | John MacFarlane | |
2014-11-06 | Quick fix to #168. | John MacFarlane | |
Ultimately we'll have a better (stack-based?) parser for links, and we can have something more elegant. This fix removes an optimization which gave wrong results for `*hi [there*]`. | |||
2014-11-06 | Use non-recursive algorithm for process_inlines. | John MacFarlane | |
Closes #187. | |||
2014-11-06 | Made blocks_to_html non-recursive (using a stack). | John MacFarlane | |
This will help avoid stack overflows with deeply nested structures. See #187. | |||
2014-11-06 | buffer: added strbuf_rtrim function. | John MacFarlane | |
2014-11-06 | Reformatted code consistently. | John MacFarlane | |
2014-11-06 | Bump version on spec to 0.10. | John MacFarlane | |
2014-11-06 | Updated js writer to render plain text for alt attributes of images. | John MacFarlane | |
2014-11-06 | HTML renderer: render alt text as plain, unformatted string. | John MacFarlane | |
2014-11-06 | Spec: use plain string content of label for alt text in images. | John MacFarlane | |
So, `foo bar` rather than `foo *bar*` or `foo <em>bar</em>` or `foo <em>bar</em>`. | |||
2014-11-06 | Use render stack for inline links. | John MacFarlane | |
2014-11-05 | Use regular strings for literal in render_stack. | John MacFarlane | |
2014-11-05 | Use stack approach for rendering strong, emph. | John MacFarlane | |
2014-11-05 | Added basic infrastructure for render_stack. | John MacFarlane | |
2014-11-05 | Give warning on unknown inline type. | John MacFarlane | |
2014-11-05 | Improved free_inlines. | John MacFarlane | |
2014-11-05 | Made block-freeing slightly more efficient by using last_child. | John MacFarlane | |
2014-11-05 | Made cmark_free_nodes non-recursive. | John MacFarlane | |
See #187. | |||
2014-11-05 | Removed stack limits in inline parsing. | John MacFarlane | |
This brings back segfaults, but we're now aiming for a better solution, revising the renderer so it doesn't use recursion, and using a stack approach for nested brackets. Removing these limits will allow us to know when we've got it right. See #166, #187. | |||
2014-11-05 | free_inlines: use non-recursive algorithm. | John MacFarlane | |
This will help avoid stack overflows in deeply nested structures. Partially addresses #187 (still need to do renderers). | |||
2014-11-05 | Removed recursive call to handle_strong_emph. | John MacFarlane | |
Closes #186 - in a somewhat different way than in the PR. This is simpler and I don't see any significant impact on performance in my tests. | |||
2014-11-04 | Improved fuzztest target. | John MacFarlane | |
2014-11-04 | Fixed typo. | John MacFarlane | |
2014-11-04 | Clarify benchmark conditions in README.md. | John MacFarlane | |
Closes #183. | |||
2014-11-04 | Added packaging for npm module 'commonmark'. | John MacFarlane | |
Published to npm. Closes #21. The 'stmd' package should be deprecated. | |||
2014-11-04 | Updated README to indicate where to get prebuilt commonmark.js. | John MacFarlane | |
2014-11-04 | Bump version on spec to 0.9. | John MacFarlane | |
2014-11-04 | Rewrote emph/strong part of spec, with more systematic examples. | John MacFarlane | |
2014-11-03 | Made make_site_index.sh more robust. | John MacFarlane | |
2014-11-03 | Update spec version. | John MacFarlane | |
2014-11-03 | Removed artificial rule for emph/strong markers. | John MacFarlane | |
Previously there was a rule that nothing in a string of more than 3 `*` or `_` characters could close or start emphasis. This was artifical and led to strange asymmetries, e.g. you could have `*a *b**` emph within emph but not `**a **b****` strong within strong. The new parsing strategy makes it easy to remove this limitation. Spec, js, and c implementations have been updated. Spec might need some further grooming. | |||
2014-11-02 | Merge pull request #178 from jmendeth/patch-1 | John MacFarlane | |
Typo in runtests.pl | |||
2014-11-02 | Merge pull request #182 from michaelsproul/cleanup | John MacFarlane | |
Update .gitignore and fix Makefile clean target. | |||
2014-11-02 | Merge pull request #181 from michaelsproul/fpic-linker | John MacFarlane | |
Add -fPIC to linker options. | |||
2014-11-02 | Update .gitignore and fix Makefile clean target. | Michael Sproul | |
2014-11-02 | Add -fPIC to linker options. | Michael Sproul | |
Fixes #179. | |||
2014-11-01 | Typo in runtests.pl | Xavier Mendez | |
2014-10-30 | js/lib/blocks: Made matchAt return -1 instead of null on no match. | John MacFarlane | |
2014-10-30 | Added OPTCFLAGS, OPTLDFLAGS | John MacFarlane | |
2014-10-28 | Disallow bracketed labels nested more than 1000 deep. | John MacFarlane | |
For performance reasons. See #166. | |||
2014-10-28 | Changed EMPHASIS_STACK_LIMIT -> STACK_LIMIT. | John MacFarlane | |
We'll also use it in parsing bracketed link labels. | |||
2014-10-28 | Rename number_of_emphasis_openers -> emphasis_nestlevel. | John MacFarlane | |
2014-10-28 | Update spec version. | John MacFarlane | |
2014-10-28 | Clarified emph/strong rules. | John MacFarlane | |
Make it clear that in `**foo **bar baz**` the shorter of the two potential strong emphasis spans (`bar baz`) is preferred. | |||
2014-10-28 | More dingus refinements. | John MacFarlane | |
changes. Lines starting | |||
2014-10-28 | Dingus refinements. | John MacFarlane | |
2014-10-27 | Added links to spec page. | John MacFarlane | |
2014-10-27 | Add date to index of versions. | John MacFarlane | |
2014-10-27 | Factored make_site_index.sh out of Makefile. | John MacFarlane | |
2014-10-27 | Make "latest version" more prominent on spec landing page. | John MacFarlane | |