Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-26 | Removed memoization code. | John MacFarlane | |
2014-09-26 | Simple fallback if we don't match emphasis. | John MacFarlane | |
The other approach led to wrong results on: *hi _there* | |||
2014-09-26 | Merge branch 'master' into cmake-build | Gulliver | |
2014-09-26 | Changing some variable names to more explicit ones to improve readability | Arthur | |
2014-09-24 | Suppress 'missing field initializer' warnings | John MacFarlane | |
from gperf generated header. | |||
2014-09-24 | Makefile: Use ?= so variables can be set on command line. | John MacFarlane | |
2014-09-24 | Fixed bug that causes hang on bare `<` inside link label. | John MacFarlane | |
2014-09-24 | Makefile: Use ?= so variables can be set on command line. | John MacFarlane | |
2014-09-24 | Merge pull request #92 from meziantou/patch-1 | John MacFarlane | |
Fix some compatibility issues | |||
2014-09-22 | using only includes from system | Gulliver | |
2014-09-19 | spec: Fixed date, version. | John MacFarlane | |
Closes #133. | |||
2014-09-18 | Merge pull request #132 from JordanMilne/fix_render_leak | John MacFarlane | |
Fix memory leak when rendering images as HTML | |||
2014-09-18 | Fix memory leak when rendering images as HTML | Jordan Milne | |
2014-09-18 | Merge pull request #130 from JordanMilne/find_special_lookup | John MacFarlane | |
Use a lookup table for subject_find_special_char | |||
2014-09-18 | Use a lookup table for subject_find_special_char | Jordan Milne | |
2014-09-17 | Merge pull request #97 from Knagis/master | John MacFarlane | |
Updated runtests.pl to support Windows | |||
2014-09-18 | Add missing header | Vicent Marti | |
2014-09-17 | Merge pull request #66 from vmg/revamp | John MacFarlane | |
Enfastenate the C Parsenator | |||
2014-09-17 | Use helper functions to simplify code. | John MacFarlane | |
2014-09-17 | Better handle trailing backslashes in ATX-style headers | Jordan Milne | |
Previously something like '# `\' would hang the parser while it waited for an extra character that wasn't there. | |||
2014-09-16 | Revert "Re-added backtracking and memoization." | John MacFarlane | |
This reverts commit ac8529c9f55da7fdc1186e3f34313cf411de6e71. | |||
2014-09-16 | Re-added backtracking and memoization. | John MacFarlane | |
Gives better results for things like **foo* | |||
2014-09-16 | Small performance tweaks. | John MacFarlane | |
2014-09-16 | Fixed bug in parsing `* **a** b*` etc. | John MacFarlane | |
2014-09-16 | New parseEmphasis algorithm. | John MacFarlane | |
- State machine for emphasis parsing. - This would require some adjustments to the spec and spec examples. - It currently blows the stack on `tricky'. - Memoization code has been commented out. - Inline parsers return arrays. | |||
2014-09-16 | Merge pull request #124 from rlidwka/patch-1 | John MacFarlane | |
typo fix | |||
2014-09-16 | typo fix | Alex Kocharin | |
2014-09-15 | Merge pull request #90 from ousia/master | John MacFarlane | |
typo replacing CommonMark corrected | |||
2014-09-15 | Cleanup external APIs | Vicent Marti | |
2014-09-12 | Add example from issue #94 about indented code block closing fences | Bengt Lüers | |
2014-09-11 | using only includes from system | Gulliver | |
2014-09-11 | urls used in packages changed to common mark.org | Gulliver | |
2014-09-11 | Fixed performance regression from eccc23dc8d. | John MacFarlane | |
2014-09-11 | Fixed typo. | John MacFarlane | |
starting | |||
2014-09-11 | jshint improvements. | John MacFarlane | |
2014-09-11 | Reindented source with js2-mode. | John MacFarlane | |
2014-09-11 | Clarified code logic for last_emphasis_closer. | John MacFarlane | |
2014-09-11 | Add check for null in last_emphasis_closer. | John MacFarlane | |
2014-09-11 | Renamed last_closer -> last_emphasis_closer. | John MacFarlane | |
2014-09-11 | Added last_closer to Inline object. | John MacFarlane | |
This helps us avoid unneeded backtracking in pathological input of the form: *a **a *a **a *a etc. If we get to position k without finding a closing delimiter, then backtrack to 1, we can assume we won't find a closing delimiter when parsing forward again. This could no doubt be polished up, e.g. by making it sensitive to the kind of delimiter. | |||
2014-09-11 | Fixed bug. | John MacFarlane | |
2014-09-11 | Updated test cases in spec to reflect last change. | John MacFarlane | |
2014-09-11 | Updated spec (but not yet examples) with new rules. | John MacFarlane | |
These reflect the current parsing algorithm. We now get a symmetry that we lacked before: **a* b* *a *b** are both emphasis within emphasis. One asymmetry remains: **a* has no emphasis, while *a** has emphasis. Further tweaking of the algorithm could regularize this. | |||
2014-09-11 | Special-case ***xx*** as strong/em. | John MacFarlane | |
2014-09-11 | Revert "spec: change nesting order of strong/emph in ***a***." | John MacFarlane | |
This reverts commit 49a03b7666e2901d1ab2813fc0bdd23968d22979. | |||
2014-09-11 | spec: change nesting order of strong/emph in ***a***. | John MacFarlane | |
2014-09-11 | Simplified parseEmphasis. | John MacFarlane | |
2014-09-11 | Handle case with 4+ delimiters in a row. | John MacFarlane | |
Spec says to skip these. | |||
2014-09-11 | Fixed reMain regex for better performance. | John MacFarlane | |
2014-09-11 | Fixed rewind on parseLabel. | John MacFarlane | |
14 test failures now, all with emphasis. IN most of all of these cases, the examples in the spec seem to be mistakes, given what the spec says. More troubling, performance is down from around 220 to 83. This needs investigation. |