Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-02 | Revert "Use integers instead of strings for tags." | John MacFarlane | |
This reverts commit ac611d51c9de9aa719b42b9463e6f28d6e7d74a4. | |||
2014-10-02 | Revert "Use numerical constants." | John MacFarlane | |
This reverts commit db25de09f5dc931c0e2b31ce0ccdb58052f3105f. | |||
2014-10-02 | Use numerical constants. | John MacFarlane | |
Performance optimization, but at cost of code clarity. | |||
2014-10-02 | Use integers instead of strings for tags. | John MacFarlane | |
Use === whenever possible to compare them. | |||
2014-10-02 | Changed inline parsers to be monomorphic and modify inlines param. | John MacFarlane | |
They all return true or false now, instead of the inlines parsed. Performance optimization. | |||
2014-10-02 | Fixed rendering bug for blockquotes. | John MacFarlane | |
2014-10-02 | Char code optimizations in block parsers. | John MacFarlane | |
2014-10-02 | Eliminated unnecessary variable. | John MacFarlane | |
2014-10-02 | Changed peek() to return char code. | John MacFarlane | |
Test char codes instead of strings. Small optimization (about 1% speed boost). | |||
2014-09-30 | Unescape entities as well as backslashes in titles, URLs. | John MacFarlane | |
This way URLs with entities will be properly percent encoded as in the C implementation. | |||
2014-09-30 | unescape URI before escaping. | John MacFarlane | |
If we already have %-encoded characters in the URI, we want to preserve them. | |||
2014-09-30 | Added entity decoding. | John MacFarlane | |
AST now contains parses entities as Str objects with unicode characters, not as 'Entity'. (Like the new C parser.) | |||
2014-09-29 | Rename unescape -> unescapeBS to avoid confusion with built-in. | John MacFarlane | |
2014-09-29 | Escape URIs. | John MacFarlane | |
2014-09-29 | Merge branch 'master' into newemphasis | John MacFarlane | |
Conflicts: Makefile js/stmd.js | |||
2014-09-29 | Use charAt for browser compatibility. | John MacFarlane | |
2014-09-26 | Only memoize during inline parsing. | John MacFarlane | |
This cuts the performance hit. With memoization, we get roughly constant behavior in the fuzztest. Without it, not. | |||
2014-09-26 | Restored memoization code. | John MacFarlane | |
2014-09-26 | Used last_emphasis_closer to avoid unneeded scans for closer. | John MacFarlane | |
This doesn't seem to help much. | |||
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-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-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-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 | |