summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-13Fix warnings building with MSVC on Windows (#165)Hugh Bellamy
2016-11-09Fix 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-04Fix 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-30Modified print_delimiters (commented out) so it compiles again.John MacFarlane
2016-10-11Ran 'make format' to reformat code.John MacFarlane
2016-10-11'make format': don't change order of includes.John MacFarlane
2016-10-11Changed 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-11Merge pull request #160 from kivikakk/kivikakk/fix-nul-lf-sequenceJohn MacFarlane
Fix NUL-LF sequence lex
2016-10-11Fix by not advancing past both \0 and \nYuki Izumi
2016-10-11Add test for NUL-LF sequenceYuki Izumi
2016-09-27Merge pull request #158 from kivikakk/one-more-memJohn MacFarlane
One more cmark_mem use
2016-09-27One more cmark_mem useYuki Izumi
2016-09-26Merge pull request #157 from kivikakk/list-parse-mem-leakJohn MacFarlane
Fix memory leak in list parsing
2016-09-26Merge pull request #156 from kivikakk/use-mem-to-freeJohn MacFarlane
Use cmark_mem to free where used to alloc
2016-09-26Fix memory leak in list parsingYuki Izumi
If `parse_list_marker` returns 1, but the second part of the `&&` clause is false, we leak `data` here.
2016-09-26Use cmark_mem to free where used to allocYuki Izumi
2016-09-15Allow a shortcut link before a (.John MacFarlane
See jgm/CommonMark#427
2016-09-15Update spec.John MacFarlane
2016-09-14Update spec.John MacFarlane
2016-09-14Allow tabs after setext header line.John MacFarlane
See jgm/commonmark.js#109
2016-09-13Regenerated cmark.3 man page.John MacFarlane
2016-09-13Regenerated scanners.c.John MacFarlane
2016-09-13Don't let URI schemes start with spaces.John MacFarlane
2016-09-13Merge pull request #153 from gaborcsardi/patch-1John MacFarlane
autolink scheme can contain digits
2016-09-12Fixed h2..h6 HTML blocks (jgm/CommonMark#430).John MacFarlane
Added regression test.
2016-09-12Update specJohn MacFarlane
2016-09-12autolink scheme can contain digitsGábor Csárdi
2016-08-29Merge pull request #152 from nwellnhof/function-prototypesJohn MacFarlane
Fix nullary function declarations in cmark.h
2016-08-26Fix nullary function declarations in cmark.hNick Wellnhofer
Fixes strict prototypes warnings.
2016-08-24Merge pull request #151 from petere/update-copyingJohn MacFarlane
Update COPYING
2016-08-21COPYING: Update file name and remove duplicate sectionPeter Eisentraut
2016-08-21COPYING: Remove removed filesPeter Eisentraut
2016-08-09Merge pull request #149 from PavloKapyshin/masterJohn MacFarlane
Fix typo
2016-08-09Fix typoPavlo Kapyshin
2016-07-16Update changelog.John MacFarlane
2016-07-16Bump to 0.26.1.John MacFarlane
2016-07-16Merge pull request #146 from t6/t6-patch-1John MacFarlane
Use $(MAKE) in Makefile for recursive makes
2016-07-16Removed size_t and ssize_t defs for WIN32.John MacFarlane
2016-07-16Use $(MAKE) in Makefile for recursive makesTobias Kortkamp
On some system namely OpenBSD/FreeBSD GNU Make is called gmake and calling make directly from the Makefile leads to strange results. See https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html#MAKE-Variable
2016-07-15Updated changelog.John MacFarlane
2016-07-15Bump version to 0.26.0John MacFarlane
2016-07-15Reformatted.John MacFarlane
2016-07-15Updated spec.John MacFarlane
2016-07-14Merge pull request #137 from foonathan/masterJohn MacFarlane
CMake fixes
2016-07-13Fix sourcepos for blockquotes.John MacFarlane
Fixes #142.
2016-07-13Merge pull request #143 from tst2005/patch-1John MacFarlane
link fix
2016-07-13Replaced check for `\n` with `S_is_line_end_char`.John MacFarlane
2016-07-13Empty list items cannot interrupt paragraphs (spec change).John MacFarlane
2016-07-13Updated spec.John MacFarlane
2016-07-13link fixTsT