Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-09 | Correctly initialize chunk in S_process_line (#170) | Nick Wellnhofer | |
The `alloc` member wasn't initialized. This also allows to add an assertion in `chunk_rtrim` which doesn't work for alloced chunks. | |||
2016-12-06 | Added 'make newbench'. | John MacFarlane | |
2016-12-05 | scanners.c generated with re2c 0.16 (68K smaller!). | John MacFarlane | |
2016-12-05 | scanners.re - fixed warnings; use * for fallback. | John MacFarlane | |
2016-12-05 | Makefile: use warnings with re2c. | John MacFarlane | |
2016-12-05 | Fixed some warnings in scanners.re. | John MacFarlane | |
2016-12-03 | Update CaseFolding to latest (#168) | Kevin Wojniak | |
1. Downloaded CaseFolding.txt from http://unicode.org/Public/UCD/latest/ucd/CaseFolding.txt 2. Deleted src/case_fold_switch.inc 3. Ran `make src/case_fold_switch.inc` | |||
2016-12-01 | Allow balanced nested parens in link destinations (#166) | Yuki Izumi | |
2016-11-26 | Allocate enough bytes for backticks array. | John MacFarlane | |
2016-11-26 | Added pathological test for backticks. | John MacFarlane | |
Currently aborts. | |||
2016-11-26 | Inlines: Ensure that the delimiter stack is freed in subject. | John MacFarlane | |
2016-11-26 | Fixed pathological cases with backtick code spans: | John MacFarlane | |
- Removed recursion in scan_to_closing_backticks - Added an array of pointers to potential backtick closers to subject - This array is used to avoid traversing the subject again when we've already seen all the potential backtick closers. - Added a max bound of 1000 for backtick code span delimiters. - This helps with pathological cases like: x x ` x `` x ``` x ```` ... Thanks to Martin Mitáš for identifying the problem and for discussion of solutions. | |||
2016-11-24 | Remove redundant cmake_minimum_required. | John MacFarlane | |
Closes #163, thanks to @kainjow. | |||
2016-11-19 | Bump version to 0.27.1, update changelog. | John MacFarlane | |
2016-11-19 | Use VERSION_GREATER to clean up cmake version test. | John MacFarlane | |
2016-11-19 | Put set_policy under cmake version test. | John MacFarlane | |
Otherwise we get errors in older versions of cmake. | |||
2016-11-18 | Improve afl target. Use afl-clang by default. Set default for path. | John MacFarlane | |
2016-11-18 | Set policy for CMP0063 to avoid a warning. | John MacFarlane | |
See #162. | |||
2016-11-18 | Update changelog. | John MacFarlane | |
2016-11-18 | Bump to 0.27.0. | John MacFarlane | |
2016-11-18 | Update man 3 page. | John MacFarlane | |
2016-11-18 | Update spec. | John MacFarlane | |
2016-11-13 | Fix warnings building with MSVC on Windows (#165) | Hugh Bellamy | |
2016-11-09 | Fix CMAKE_C_VISIBILITY_PRESET for cmake versions greater than 1.8 (e.g. ↵ | Hugh Bellamy | |
3.6.2) (#162) This lets us build swift-cmark on Windows, using clang-cl This was an oversight: CMAKE_C_VISIBILITY_PRESET is only available on CMAKE 1.8 or greater. However, the current check doesn't work for a version such as CMAKE 3.6.2, for example ```bash mkdir "C:/Users/hughb/Documents/GitHub/my-swift/build/Ninja-DebugAssert/cmark-windows-amd64" pushd "C:/Users/hughb/Documents/GitHub/my-swift/build/Ninja-DebugAssert/cmark-windows-amd64" cmake -G Ninja -DCMAKE_C_COMPILER="C:/Program Files/LLVM/msbuild-bin/cl.exe" -DCMAKE_CXX_COMPILER="C:/Program Files/LLVM/msbuild-bin/cl.exe" -DCMAKE_CXX_FLAGS="-Xclang -std=c++14" "C:/Users/hughb/Documents/GitHub/my-swift/cmark" popd cmake --build "C:/Users/hughb/Documents/GitHub/my-swift/build/Ninja-DebugAssert/cmark-windows-amd64/" -- -j6 all ``` | |||
2016-11-04 | Fix for non-matching entities (#161) | Yuki Izumi | |
* Add test to illustrate issue * Provide some test fixes * Don't neglect CounterClockwiseContourIntegral * Fix ~10% of cases not matching strncmp returns 0 if the first 'len' bytes of cmark_entities[i].entity match s; we check equal length in the first if by checking if cmark_entities[i].entity[len] == 0, but we neglect the case where cmp == 0 && cmark_entities[i].entity[len] != 0. This should be treated as the same as cmp < 0, because strcmp("abc", "abcd") < 0. * Don't depend on py3.3 in tests | |||
2016-10-30 | Modified print_delimiters (commented out) so it compiles again. | John MacFarlane | |
2016-10-11 | Ran 'make format' to reformat code. | John MacFarlane | |
2016-10-11 | 'make format': don't change order of includes. | John MacFarlane | |
2016-10-11 | Changed logic for null/eol checks. | John MacFarlane | |
- only check once for "not at end of line" - check for null before we check for newline characters (the previous patch would fail for NULL + CR) See #160. | |||
2016-10-11 | Merge pull request #160 from kivikakk/kivikakk/fix-nul-lf-sequence | John MacFarlane | |
Fix NUL-LF sequence lex | |||
2016-10-11 | Fix by not advancing past both \0 and \n | Yuki Izumi | |
2016-10-11 | Add test for NUL-LF sequence | Yuki Izumi | |
2016-09-27 | Merge pull request #158 from kivikakk/one-more-mem | John MacFarlane | |
One more cmark_mem use | |||
2016-09-27 | One more cmark_mem use | Yuki Izumi | |
2016-09-26 | Merge pull request #157 from kivikakk/list-parse-mem-leak | John MacFarlane | |
Fix memory leak in list parsing | |||
2016-09-26 | Merge pull request #156 from kivikakk/use-mem-to-free | John MacFarlane | |
Use cmark_mem to free where used to alloc | |||
2016-09-26 | Fix memory leak in list parsing | Yuki Izumi | |
If `parse_list_marker` returns 1, but the second part of the `&&` clause is false, we leak `data` here. | |||
2016-09-26 | Use cmark_mem to free where used to alloc | Yuki Izumi | |
2016-09-15 | Allow a shortcut link before a (. | John MacFarlane | |
See jgm/CommonMark#427 | |||
2016-09-15 | Update spec. | John MacFarlane | |
2016-09-14 | Update spec. | John MacFarlane | |
2016-09-14 | Allow tabs after setext header line. | John MacFarlane | |
See jgm/commonmark.js#109 | |||
2016-09-13 | Regenerated cmark.3 man page. | John MacFarlane | |
2016-09-13 | Regenerated scanners.c. | John MacFarlane | |
2016-09-13 | Don't let URI schemes start with spaces. | John MacFarlane | |
2016-09-13 | Merge pull request #153 from gaborcsardi/patch-1 | John MacFarlane | |
autolink scheme can contain digits | |||
2016-09-12 | Fixed h2..h6 HTML blocks (jgm/CommonMark#430). | John MacFarlane | |
Added regression test. | |||
2016-09-12 | Update spec | John MacFarlane | |
2016-09-12 | autolink scheme can contain digits | Gábor Csárdi | |
2016-08-29 | Merge pull request #152 from nwellnhof/function-prototypes | John MacFarlane | |
Fix nullary function declarations in cmark.h |