commonmarker 0.17.7 → 0.17.7.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of commonmarker might be problematic. Click here for more details.

Files changed (337) hide show
  1. checksums.yaml +4 -4
  2. data/commonmarker.gemspec +1 -1
  3. data/lib/commonmarker/version.rb +1 -1
  4. metadata +2 -335
  5. data/ext/commonmarker/cmark-upstream/CMakeLists.txt +0 -44
  6. data/ext/commonmarker/cmark-upstream/COPYING +0 -170
  7. data/ext/commonmarker/cmark-upstream/FindAsan.cmake +0 -74
  8. data/ext/commonmarker/cmark-upstream/Makefile +0 -226
  9. data/ext/commonmarker/cmark-upstream/Makefile.nmake +0 -36
  10. data/ext/commonmarker/cmark-upstream/README.md +0 -206
  11. data/ext/commonmarker/cmark-upstream/api_test/CMakeLists.txt +0 -26
  12. data/ext/commonmarker/cmark-upstream/api_test/cplusplus.cpp +0 -15
  13. data/ext/commonmarker/cmark-upstream/api_test/cplusplus.h +0 -16
  14. data/ext/commonmarker/cmark-upstream/api_test/harness.c +0 -110
  15. data/ext/commonmarker/cmark-upstream/api_test/harness.h +0 -35
  16. data/ext/commonmarker/cmark-upstream/api_test/main.c +0 -1116
  17. data/ext/commonmarker/cmark-upstream/appveyor.yml +0 -17
  18. data/ext/commonmarker/cmark-upstream/bench/samples/block-bq-flat.md +0 -16
  19. data/ext/commonmarker/cmark-upstream/bench/samples/block-bq-nested.md +0 -13
  20. data/ext/commonmarker/cmark-upstream/bench/samples/block-code.md +0 -11
  21. data/ext/commonmarker/cmark-upstream/bench/samples/block-fences.md +0 -14
  22. data/ext/commonmarker/cmark-upstream/bench/samples/block-heading.md +0 -9
  23. data/ext/commonmarker/cmark-upstream/bench/samples/block-hr.md +0 -10
  24. data/ext/commonmarker/cmark-upstream/bench/samples/block-html.md +0 -32
  25. data/ext/commonmarker/cmark-upstream/bench/samples/block-lheading.md +0 -8
  26. data/ext/commonmarker/cmark-upstream/bench/samples/block-list-flat.md +0 -67
  27. data/ext/commonmarker/cmark-upstream/bench/samples/block-list-nested.md +0 -36
  28. data/ext/commonmarker/cmark-upstream/bench/samples/block-ref-flat.md +0 -15
  29. data/ext/commonmarker/cmark-upstream/bench/samples/block-ref-nested.md +0 -17
  30. data/ext/commonmarker/cmark-upstream/bench/samples/inline-autolink.md +0 -14
  31. data/ext/commonmarker/cmark-upstream/bench/samples/inline-backticks.md +0 -3
  32. data/ext/commonmarker/cmark-upstream/bench/samples/inline-em-flat.md +0 -5
  33. data/ext/commonmarker/cmark-upstream/bench/samples/inline-em-nested.md +0 -5
  34. data/ext/commonmarker/cmark-upstream/bench/samples/inline-em-worst.md +0 -5
  35. data/ext/commonmarker/cmark-upstream/bench/samples/inline-entity.md +0 -11
  36. data/ext/commonmarker/cmark-upstream/bench/samples/inline-escape.md +0 -15
  37. data/ext/commonmarker/cmark-upstream/bench/samples/inline-html.md +0 -44
  38. data/ext/commonmarker/cmark-upstream/bench/samples/inline-links-flat.md +0 -23
  39. data/ext/commonmarker/cmark-upstream/bench/samples/inline-links-nested.md +0 -13
  40. data/ext/commonmarker/cmark-upstream/bench/samples/inline-newlines.md +0 -24
  41. data/ext/commonmarker/cmark-upstream/bench/samples/lorem1.md +0 -13
  42. data/ext/commonmarker/cmark-upstream/bench/samples/rawtabs.md +0 -18
  43. data/ext/commonmarker/cmark-upstream/bench/statistics.py +0 -595
  44. data/ext/commonmarker/cmark-upstream/bench/stats.py +0 -19
  45. data/ext/commonmarker/cmark-upstream/benchmarks.md +0 -33
  46. data/ext/commonmarker/cmark-upstream/build/CMakeCache.txt +0 -478
  47. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CMakeCCompiler.cmake +0 -71
  48. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CMakeCXXCompiler.cmake +0 -73
  49. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CMakeDetermineCompilerABI_C.bin +0 -0
  50. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CMakeDetermineCompilerABI_CXX.bin +0 -0
  51. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CMakeSystem.cmake +0 -15
  52. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CompilerIdC/CMakeCCompilerId.c +0 -567
  53. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CompilerIdC/a.out +0 -0
  54. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -539
  55. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CompilerIdCXX/a.out +0 -0
  56. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  57. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/CMakeError.log +0 -18
  58. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/CMakeOutput.log +0 -709
  59. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/Makefile.cmake +0 -157
  60. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/Makefile2 +0 -391
  61. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/TargetDirectories.txt +0 -48
  62. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/cmake.check_cache +0 -1
  63. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/feature_tests.bin +0 -0
  64. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/feature_tests.c +0 -34
  65. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/feature_tests.cxx +0 -405
  66. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/progress.marks +0 -1
  67. data/ext/commonmarker/cmark-upstream/build/CTestTestfile.cmake +0 -11
  68. data/ext/commonmarker/cmark-upstream/build/Makefile +0 -280
  69. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  70. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/C.includecache +0 -134
  71. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/CXX.includecache +0 -38
  72. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake +0 -38
  73. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/build.make +0 -169
  74. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake +0 -12
  75. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/cplusplus.cpp.o +0 -0
  76. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/depend.internal +0 -28
  77. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/depend.make +0 -28
  78. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/flags.make +0 -17
  79. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/harness.c.o +0 -0
  80. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/link.txt +0 -1
  81. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/main.c.o +0 -0
  82. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/progress.make +0 -5
  83. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/progress.marks +0 -1
  84. data/ext/commonmarker/cmark-upstream/build/api_test/Makefile +0 -302
  85. data/ext/commonmarker/cmark-upstream/build/api_test/api_test +0 -0
  86. data/ext/commonmarker/cmark-upstream/build/api_test/cmake_install.cmake +0 -29
  87. data/ext/commonmarker/cmark-upstream/build/cmake_install.cmake +0 -49
  88. data/ext/commonmarker/cmark-upstream/build/compile_commands.json +0 -352
  89. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  90. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/Export/lib/cmake-gfmextensions/cmark-gfmextensions-release.cmake +0 -30
  91. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/Export/lib/cmake-gfmextensions/cmark-gfmextensions.cmake +0 -108
  92. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/C.includecache +0 -246
  93. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/DependInfo.cmake +0 -36
  94. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/autolink.c.o +0 -0
  95. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/build.make +0 -253
  96. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/cmake_clean.cmake +0 -16
  97. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/core-extensions.c.o +0 -0
  98. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/depend.internal +0 -96
  99. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/depend.make +0 -96
  100. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/ext_scanners.c.o +0 -0
  101. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/flags.make +0 -10
  102. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/link.txt +0 -1
  103. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/progress.make +0 -8
  104. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/strikethrough.c.o +0 -0
  105. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/table.c.o +0 -0
  106. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/tagfilter.c.o +0 -0
  107. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/C.includecache +0 -246
  108. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/DependInfo.cmake +0 -29
  109. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/autolink.c.o +0 -0
  110. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/build.make +0 -249
  111. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/cmake_clean.cmake +0 -15
  112. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/cmake_clean_target.cmake +0 -3
  113. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/core-extensions.c.o +0 -0
  114. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/depend.internal +0 -96
  115. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/depend.make +0 -96
  116. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/ext_scanners.c.o +0 -0
  117. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/flags.make +0 -10
  118. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/link.txt +0 -2
  119. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/progress.make +0 -8
  120. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/strikethrough.c.o +0 -0
  121. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/table.c.o +0 -0
  122. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/tagfilter.c.o +0 -0
  123. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/progress.marks +0 -1
  124. data/ext/commonmarker/cmark-upstream/build/extensions/Makefile +0 -426
  125. data/ext/commonmarker/cmark-upstream/build/extensions/cmake_install.cmake +0 -84
  126. data/ext/commonmarker/cmark-upstream/build/extensions/cmarkextensions_export.h +0 -42
  127. data/ext/commonmarker/cmark-upstream/build/extensions/libcmark-gfmextensions.0.28.3.gfm.11.dylib +0 -0
  128. data/ext/commonmarker/cmark-upstream/build/extensions/libcmark-gfmextensions.a +0 -0
  129. data/ext/commonmarker/cmark-upstream/build/extensions/libcmark-gfmextensions.dylib +0 -1
  130. data/ext/commonmarker/cmark-upstream/build/man/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  131. data/ext/commonmarker/cmark-upstream/build/man/CMakeFiles/progress.marks +0 -1
  132. data/ext/commonmarker/cmark-upstream/build/man/Makefile +0 -196
  133. data/ext/commonmarker/cmark-upstream/build/man/cmake_install.cmake +0 -37
  134. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  135. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/Export/lib/cmake/cmark-gfm-release.cmake +0 -38
  136. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/Export/lib/cmake/cmark-gfm.cmake +0 -95
  137. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/C.includecache +0 -156
  138. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/DependInfo.cmake +0 -30
  139. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/build.make +0 -115
  140. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/cmake_clean.cmake +0 -10
  141. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/depend.internal +0 -20
  142. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/depend.make +0 -20
  143. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/flags.make +0 -10
  144. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/link.txt +0 -1
  145. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/main.c.o +0 -0
  146. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/progress.make +0 -3
  147. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/C.includecache +0 -612
  148. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/DependInfo.cmake +0 -60
  149. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/arena.c.o +0 -0
  150. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/blocks.c.o +0 -0
  151. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/buffer.c.o +0 -0
  152. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/build.make +0 -819
  153. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/cmake_clean.cmake +0 -37
  154. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/cmark.c.o +0 -0
  155. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/cmark_ctype.c.o +0 -0
  156. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/commonmark.c.o +0 -0
  157. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/depend.internal +0 -319
  158. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/depend.make +0 -319
  159. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/flags.make +0 -10
  160. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/footnotes.c.o +0 -0
  161. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/houdini_href_e.c.o +0 -0
  162. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/houdini_html_e.c.o +0 -0
  163. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/houdini_html_u.c.o +0 -0
  164. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/html.c.o +0 -0
  165. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/inlines.c.o +0 -0
  166. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/iterator.c.o +0 -0
  167. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/latex.c.o +0 -0
  168. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/link.txt +0 -1
  169. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/linked_list.c.o +0 -0
  170. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/man.c.o +0 -0
  171. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/map.c.o +0 -0
  172. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/node.c.o +0 -0
  173. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/plaintext.c.o +0 -0
  174. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/plugin.c.o +0 -0
  175. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/progress.make +0 -29
  176. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/references.c.o +0 -0
  177. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/registry.c.o +0 -0
  178. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/render.c.o +0 -0
  179. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/scanners.c.o +0 -0
  180. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/syntax_extension.c.o +0 -0
  181. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/utf8.c.o +0 -0
  182. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/xml.c.o +0 -0
  183. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/C.includecache +0 -612
  184. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/DependInfo.cmake +0 -54
  185. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/arena.c.o +0 -0
  186. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/blocks.c.o +0 -0
  187. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/buffer.c.o +0 -0
  188. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/build.make +0 -816
  189. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/cmake_clean.cmake +0 -36
  190. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/cmake_clean_target.cmake +0 -3
  191. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/cmark.c.o +0 -0
  192. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/cmark_ctype.c.o +0 -0
  193. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/commonmark.c.o +0 -0
  194. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/depend.internal +0 -319
  195. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/depend.make +0 -319
  196. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/flags.make +0 -10
  197. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/footnotes.c.o +0 -0
  198. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_href_e.c.o +0 -0
  199. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_html_e.c.o +0 -0
  200. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_html_u.c.o +0 -0
  201. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/html.c.o +0 -0
  202. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/inlines.c.o +0 -0
  203. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/iterator.c.o +0 -0
  204. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/latex.c.o +0 -0
  205. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/link.txt +0 -2
  206. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/linked_list.c.o +0 -0
  207. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/man.c.o +0 -0
  208. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/map.c.o +0 -0
  209. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/node.c.o +0 -0
  210. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/plaintext.c.o +0 -0
  211. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/plugin.c.o +0 -0
  212. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/progress.make +0 -29
  213. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/references.c.o +0 -0
  214. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/registry.c.o +0 -0
  215. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/render.c.o +0 -0
  216. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/scanners.c.o +0 -0
  217. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/syntax_extension.c.o +0 -0
  218. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/utf8.c.o +0 -0
  219. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/xml.c.o +0 -0
  220. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/progress.marks +0 -1
  221. data/ext/commonmarker/cmark-upstream/build/src/Makefile +0 -1165
  222. data/ext/commonmarker/cmark-upstream/build/src/cmake_install.cmake +0 -97
  223. data/ext/commonmarker/cmark-upstream/build/src/cmark-gfm +0 -0
  224. data/ext/commonmarker/cmark-upstream/build/src/cmark_export.h +0 -42
  225. data/ext/commonmarker/cmark-upstream/build/src/cmark_version.h +0 -8
  226. data/ext/commonmarker/cmark-upstream/build/src/config.h +0 -76
  227. data/ext/commonmarker/cmark-upstream/build/src/libcmark-gfm.0.28.3.gfm.11.dylib +0 -0
  228. data/ext/commonmarker/cmark-upstream/build/src/libcmark-gfm.a +0 -0
  229. data/ext/commonmarker/cmark-upstream/build/src/libcmark-gfm.dylib +0 -1
  230. data/ext/commonmarker/cmark-upstream/build/src/libcmark-gfm.pc +0 -10
  231. data/ext/commonmarker/cmark-upstream/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  232. data/ext/commonmarker/cmark-upstream/build/testdir/CMakeFiles/progress.marks +0 -1
  233. data/ext/commonmarker/cmark-upstream/build/testdir/CTestTestfile.cmake +0 -17
  234. data/ext/commonmarker/cmark-upstream/build/testdir/Makefile +0 -196
  235. data/ext/commonmarker/cmark-upstream/build/testdir/cmake_install.cmake +0 -29
  236. data/ext/commonmarker/cmark-upstream/changelog.txt +0 -964
  237. data/ext/commonmarker/cmark-upstream/data/CaseFolding.txt +0 -1495
  238. data/ext/commonmarker/cmark-upstream/extensions/CMakeLists.txt +0 -124
  239. data/ext/commonmarker/cmark-upstream/extensions/autolink.c +0 -421
  240. data/ext/commonmarker/cmark-upstream/extensions/autolink.h +0 -8
  241. data/ext/commonmarker/cmark-upstream/extensions/core-extensions.c +0 -25
  242. data/ext/commonmarker/cmark-upstream/extensions/core-extensions.h +0 -25
  243. data/ext/commonmarker/cmark-upstream/extensions/ext_scanners.c +0 -941
  244. data/ext/commonmarker/cmark-upstream/extensions/ext_scanners.h +0 -22
  245. data/ext/commonmarker/cmark-upstream/extensions/ext_scanners.re +0 -74
  246. data/ext/commonmarker/cmark-upstream/extensions/strikethrough.c +0 -157
  247. data/ext/commonmarker/cmark-upstream/extensions/strikethrough.h +0 -9
  248. data/ext/commonmarker/cmark-upstream/extensions/table.c +0 -683
  249. data/ext/commonmarker/cmark-upstream/extensions/table.h +0 -8
  250. data/ext/commonmarker/cmark-upstream/extensions/tagfilter.c +0 -60
  251. data/ext/commonmarker/cmark-upstream/extensions/tagfilter.h +0 -8
  252. data/ext/commonmarker/cmark-upstream/man/CMakeLists.txt +0 -10
  253. data/ext/commonmarker/cmark-upstream/man/make_man_page.py +0 -133
  254. data/ext/commonmarker/cmark-upstream/man/man1/cmark-gfm.1 +0 -78
  255. data/ext/commonmarker/cmark-upstream/man/man3/cmark-gfm.3 +0 -989
  256. data/ext/commonmarker/cmark-upstream/nmake.bat +0 -1
  257. data/ext/commonmarker/cmark-upstream/src/CMakeLists.txt +0 -224
  258. data/ext/commonmarker/cmark-upstream/src/arena.c +0 -103
  259. data/ext/commonmarker/cmark-upstream/src/blocks.c +0 -1519
  260. data/ext/commonmarker/cmark-upstream/src/buffer.c +0 -279
  261. data/ext/commonmarker/cmark-upstream/src/buffer.h +0 -116
  262. data/ext/commonmarker/cmark-upstream/src/case_fold_switch.inc +0 -4327
  263. data/ext/commonmarker/cmark-upstream/src/chunk.h +0 -136
  264. data/ext/commonmarker/cmark-upstream/src/cmark.c +0 -55
  265. data/ext/commonmarker/cmark-upstream/src/cmark.h +0 -789
  266. data/ext/commonmarker/cmark-upstream/src/cmark_ctype.c +0 -44
  267. data/ext/commonmarker/cmark-upstream/src/cmark_ctype.h +0 -33
  268. data/ext/commonmarker/cmark-upstream/src/cmark_extension_api.h +0 -719
  269. data/ext/commonmarker/cmark-upstream/src/cmark_version.h.in +0 -8
  270. data/ext/commonmarker/cmark-upstream/src/commonmark.c +0 -508
  271. data/ext/commonmarker/cmark-upstream/src/config.h.in +0 -76
  272. data/ext/commonmarker/cmark-upstream/src/entities.inc +0 -2138
  273. data/ext/commonmarker/cmark-upstream/src/footnotes.c +0 -40
  274. data/ext/commonmarker/cmark-upstream/src/footnotes.h +0 -25
  275. data/ext/commonmarker/cmark-upstream/src/houdini.h +0 -57
  276. data/ext/commonmarker/cmark-upstream/src/houdini_href_e.c +0 -100
  277. data/ext/commonmarker/cmark-upstream/src/houdini_html_e.c +0 -66
  278. data/ext/commonmarker/cmark-upstream/src/houdini_html_u.c +0 -149
  279. data/ext/commonmarker/cmark-upstream/src/html.c +0 -457
  280. data/ext/commonmarker/cmark-upstream/src/html.h +0 -27
  281. data/ext/commonmarker/cmark-upstream/src/inlines.c +0 -1594
  282. data/ext/commonmarker/cmark-upstream/src/inlines.h +0 -29
  283. data/ext/commonmarker/cmark-upstream/src/iterator.c +0 -159
  284. data/ext/commonmarker/cmark-upstream/src/iterator.h +0 -27
  285. data/ext/commonmarker/cmark-upstream/src/latex.c +0 -466
  286. data/ext/commonmarker/cmark-upstream/src/libcmark-gfm.pc.in +0 -10
  287. data/ext/commonmarker/cmark-upstream/src/linked_list.c +0 -37
  288. data/ext/commonmarker/cmark-upstream/src/main.c +0 -276
  289. data/ext/commonmarker/cmark-upstream/src/man.c +0 -278
  290. data/ext/commonmarker/cmark-upstream/src/map.c +0 -122
  291. data/ext/commonmarker/cmark-upstream/src/map.h +0 -42
  292. data/ext/commonmarker/cmark-upstream/src/node.c +0 -965
  293. data/ext/commonmarker/cmark-upstream/src/node.h +0 -116
  294. data/ext/commonmarker/cmark-upstream/src/parser.h +0 -57
  295. data/ext/commonmarker/cmark-upstream/src/plaintext.c +0 -213
  296. data/ext/commonmarker/cmark-upstream/src/plugin.c +0 -36
  297. data/ext/commonmarker/cmark-upstream/src/plugin.h +0 -34
  298. data/ext/commonmarker/cmark-upstream/src/references.c +0 -42
  299. data/ext/commonmarker/cmark-upstream/src/references.h +0 -26
  300. data/ext/commonmarker/cmark-upstream/src/registry.c +0 -63
  301. data/ext/commonmarker/cmark-upstream/src/registry.h +0 -24
  302. data/ext/commonmarker/cmark-upstream/src/render.c +0 -202
  303. data/ext/commonmarker/cmark-upstream/src/render.h +0 -63
  304. data/ext/commonmarker/cmark-upstream/src/scanners.c +0 -18195
  305. data/ext/commonmarker/cmark-upstream/src/scanners.h +0 -64
  306. data/ext/commonmarker/cmark-upstream/src/scanners.re +0 -341
  307. data/ext/commonmarker/cmark-upstream/src/syntax_extension.c +0 -139
  308. data/ext/commonmarker/cmark-upstream/src/syntax_extension.h +0 -32
  309. data/ext/commonmarker/cmark-upstream/src/utf8.c +0 -317
  310. data/ext/commonmarker/cmark-upstream/src/utf8.h +0 -35
  311. data/ext/commonmarker/cmark-upstream/src/xml.c +0 -174
  312. data/ext/commonmarker/cmark-upstream/suppressions +0 -10
  313. data/ext/commonmarker/cmark-upstream/test/CMakeLists.txt +0 -98
  314. data/ext/commonmarker/cmark-upstream/test/afl_test_cases/test.md +0 -49
  315. data/ext/commonmarker/cmark-upstream/test/cmark-fuzz.c +0 -28
  316. data/ext/commonmarker/cmark-upstream/test/cmark.py +0 -103
  317. data/ext/commonmarker/cmark-upstream/test/entity_tests.py +0 -67
  318. data/ext/commonmarker/cmark-upstream/test/extensions.txt +0 -674
  319. data/ext/commonmarker/cmark-upstream/test/fuzzing_dictionary +0 -49
  320. data/ext/commonmarker/cmark-upstream/test/normalize.py +0 -194
  321. data/ext/commonmarker/cmark-upstream/test/pathological_tests.py +0 -145
  322. data/ext/commonmarker/cmark-upstream/test/regression.txt +0 -128
  323. data/ext/commonmarker/cmark-upstream/test/roundtrip_tests.py +0 -50
  324. data/ext/commonmarker/cmark-upstream/test/run-cmark-fuzz +0 -4
  325. data/ext/commonmarker/cmark-upstream/test/smart_punct.txt +0 -177
  326. data/ext/commonmarker/cmark-upstream/test/spec.txt +0 -9919
  327. data/ext/commonmarker/cmark-upstream/test/spec_tests.py +0 -152
  328. data/ext/commonmarker/cmark-upstream/toolchain-mingw32.cmake +0 -17
  329. data/ext/commonmarker/cmark-upstream/tools/Dockerfile +0 -41
  330. data/ext/commonmarker/cmark-upstream/tools/appveyor-build.bat +0 -13
  331. data/ext/commonmarker/cmark-upstream/tools/make_entities_inc.py +0 -32
  332. data/ext/commonmarker/cmark-upstream/tools/mkcasefold.pl +0 -22
  333. data/ext/commonmarker/cmark-upstream/why-cmark-and-not-x.md +0 -104
  334. data/ext/commonmarker/cmark-upstream/wrappers/wrapper.js +0 -6
  335. data/ext/commonmarker/cmark-upstream/wrappers/wrapper.py +0 -37
  336. data/ext/commonmarker/cmark-upstream/wrappers/wrapper.rb +0 -15
  337. data/ext/commonmarker/cmark-upstream/wrappers/wrapper.rkt +0 -190
@@ -1,29 +0,0 @@
1
- # Install script for directory: /Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark-upstream/test
2
-
3
- # Set the install prefix
4
- if(NOT DEFINED CMAKE_INSTALL_PREFIX)
5
- set(CMAKE_INSTALL_PREFIX "/usr/local")
6
- endif()
7
- string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
8
-
9
- # Set the install configuration name.
10
- if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11
- if(BUILD_TYPE)
12
- string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14
- else()
15
- set(CMAKE_INSTALL_CONFIG_NAME "Release")
16
- endif()
17
- message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18
- endif()
19
-
20
- # Set the component getting installed.
21
- if(NOT CMAKE_INSTALL_COMPONENT)
22
- if(COMPONENT)
23
- message(STATUS "Install component: \"${COMPONENT}\"")
24
- set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
25
- else()
26
- set(CMAKE_INSTALL_COMPONENT)
27
- endif()
28
- endif()
29
-
@@ -1,964 +0,0 @@
1
- [0.28.3]
2
-
3
- * Include GNUInstallDirs in src/CMakeLists.txt (Nick Wellnhofer, #240).
4
- This fixes build problems on some cmake versions (#241).
5
-
6
- [0.28.2]
7
-
8
- * Fixed regression in install dest for static library (#238).
9
- Due to a mistake, 0.28.1 installed libcmark.a into include/.
10
-
11
- [0.28.1]
12
-
13
- * `--smart`: open quote can never occur right after `]` or `)` (#227).
14
- * Fix quadratic behavior in `finalize` (Vicent Marti).
15
- * Don't use `CMAKE_INSTALL_LIBDIR` to create `libcmark.pc` (#236).
16
- This wasn't getting set in processing `libcmark.pc.in`, and we
17
- were getting the wrong entry in `libcmark.pc`.
18
- The new approach sets an internal `libdir` variable to
19
- `lib${LIB_SUFFIX}`. This variable is used both to set the
20
- install destination and in the libcmark.pc.in template.
21
- * Update README.md, replace `make astyle` with `make format`
22
- (Nguyễn Thái Ngọc Duy).
23
-
24
- [0.28.0.gfm.11]
25
-
26
- * Do not output empty `<tbody>` in table extension.
27
-
28
- [0.28.0.gfm.10]
29
-
30
- * Fix denial of service parsing references.
31
-
32
- [0.28.0.gfm.9]
33
-
34
- * Fix denial of service parsing nested links (#49).
35
-
36
- [0.28.0.gfm.8]
37
-
38
- * Fix bug where autolink would cause `:` to be skipped in emphasis
39
- processing.
40
-
41
- [0.28.0.gfm.7]
42
-
43
- * Strikethrough characters do not disturb regular emphasis processing.
44
-
45
- [0.28.0.gfm.6]
46
-
47
- * Fix inline sourcepos info when inlines span multiple lines, and in
48
- ATX headings.
49
-
50
- [0.28.0.gfm.5]
51
-
52
- * Latest spec.
53
- * Fix a typo in the spec (John Gardner).
54
- * Fix quadratic behavior in reference lookups.
55
- * Add `core_extensions_ensure_registered`.
56
- * Add sourcepos information for inlines.
57
-
58
- [0.28.0]
59
-
60
- * Update spec.
61
- * Use unsigned integer when shifting (Phil Turnbull).
62
- Avoids a UBSAN warning which can be triggered when handling a
63
- long sequence of backticks.
64
- * Avoid memcpy'ing NULL pointers (Phil Turnbull).
65
- Avoids a UBSAN warning when link title is empty string.
66
- The length of the memcpy is zero so the NULL pointer is not
67
- dereferenced but it is still undefined behaviour.
68
- * DeMorgan simplification of some tests in emphasis parser.
69
- This also brings the code into closer alignment with the wording
70
- of the spec (see jgm/CommonMark#467).
71
- * Fixed undefined shift in commonmark writer (#211).
72
- Found by google/oss-fuzz:
73
- <https://oss-fuzz.com/v2/testcase-detail/4686992824598528>.
74
- * latex writer: fix memory overflow (#210).
75
- We got an array overflow in enumerated lists nested more than
76
- 10 deep with start number =/= 1.
77
- This commit also ensures that we don't try to set `enum_` counters
78
- that aren't defined by LaTeX (generally up to enumv).
79
- Found by google/oss-fuzz:
80
- <https://oss-fuzz.com/v2/testcase-detail/5546760854306816>.
81
- * Check for NULL pointer in get_link_type (Phil Turnbull).
82
- `echo '[](xx:)' | ./build/src/cmark -t latex` gave a
83
- segfault.
84
- * Move fuzzing dictionary into single file (Phil Turnbull).
85
- This allows AFL and libFuzzer to use the same dictionary
86
- * Reset bytes after UTF8 proc (Yuki Izumi, #206).
87
- * Don't scan past an EOL (Yuki Izumi).
88
- The existing negated character classes (`[^…]`) are careful to
89
- always include` \x00` in the characters excluded, but these `.`
90
- catch-alls can scan right past the terminating NUL placed
91
- at the end of the buffer by `_scan_at`. As such, buffer
92
- overruns can occur. Also, don't scan past a newline in HTML
93
- block end scanners.
94
- * Document cases where `get_` functions return `NULL` (#155).
95
- E.g. `cmark_node_get_url` on a non-link or image.
96
- * Properly handle backslashes in link destinations (#192).
97
- Only ascii punctuation characters are escapable, per the spec.
98
- * Fixed `cmark_node_get_list_start` to return 0 for bullet lists,
99
- as documented (#202).
100
- * Use `CMARK_NO_DELIM` for bullet lists (#201).
101
- * Fixed code for freeing delimiter stack (#189).
102
- * Removed abort outside of conditional (typo).
103
- * Removed coercion in error message when aborting from buffer.
104
- * Print message to stderr when we abort due to memory demands (#188).
105
- * `libcmark.pc`: use `CMAKE_INSTALL_LIBDIR` (#185, Jens Petersen).
106
- Needed for multilib distros like Fedora.
107
- * Fixed buffer overflow error in `S_parser_feed` (#184).
108
- The overflow could occur in the following condition:
109
- the buffer ends with `\r` and the next memory address
110
- contains `\n`.
111
- * Update emphasis parsing for spec change.
112
- Strong now goes inside Emph rather than the reverse,
113
- when both scopes are possible. The code is much simpler.
114
- This also avoids a spec inconsistency that cmark had previously:
115
- `***hi***` became Strong (Emph "hi")) but
116
- `***hi****` became Emph (Strong "hi")) "*"
117
- * Fixes for the LaTeX renderer (#182, Doeme)
118
- + Don't double-output the link in latex-rendering.
119
- + Prevent ligatures in dashes sensibly when rendering latex.
120
- `\-` is a hyphenation, so it doesn't get displayed at all.
121
- * Added a test for NULL when freeing `subj->last_delim`.
122
- * Cleaned up setting of lower bounds for openers.
123
- We now use a much smaller array.
124
- * Fix #178, quadratic parsing bug. Add pathological test.
125
- * Slight improvement of clarity of logic in emph matching.
126
- * Fix "multiple of 3" determination in emph/strong parsing.
127
- We need to store the length of the original delimiter run,
128
- instead of using the length of the remaining delimiters
129
- after some have been subtracted. Test case:
130
- `a***b* c*`. Thanks to Raph Levin for reporting.
131
- * Correctly initialize chunk in S_process_line (Nick Wellnhofer, #170).
132
- The `alloc` member wasn't initialized. This also allows to add an
133
- assertion in `chunk_rtrim` which doesn't work for alloced chunks.
134
- * Added 'make newbench'.
135
- * `scanners.c` generated with re2c 0.16 (68K smaller!).
136
- * `scanners.re` - fixed warnings; use `*` for fallback.
137
- * Fixed some warnings in `scanners.re`.
138
- * Update CaseFolding to latest (Kevin Wojniak, #168).
139
- * Allow balanced nested parens in link destinations (Yuki Izumi, #166)
140
- * Allocate enough bytes for backticks array.
141
- * Inlines: Ensure that the delimiter stack is freed in subject.
142
- * Fixed pathological cases with backtick code spans:
143
-
144
- - Removed recursion in scan_to_closing_backticks
145
- - Added an array of pointers to potential backtick closers
146
- to subject
147
- - This array is used to avoid traversing the subject again
148
- when we've already seen all the potential backtick closers.
149
- - Added a max bound of 1000 for backtick code span delimiters.
150
- - This helps with pathological cases like:
151
-
152
- x
153
- x `
154
- x ``
155
- x ```
156
- x ````
157
- ...
158
-
159
- - Added pathological test case.
160
-
161
- Thanks to Martin Mitáš for identifying the problem and for
162
- discussion of solutions.
163
- * Remove redundant cmake_minimum_required (#163, @kainjow).
164
- * Make shared and static libraries optional (Azamat H. Hackimov).
165
- Now you can enable/disable compilation and installation targets for
166
- shared and static libraries via `-DCMARK_SHARED=ON/OFF` and
167
- `-DCMARK_STATIC=ON/OFF`.
168
- * Added support for built-in `${LIB_SUFFIX}` feature (Azamat H.
169
- Hackimov). Replaced `${LIB_INSTALL_DIR}` option with built-in
170
- `${LIB_SUFFIX}` for installing for 32/64-bit systems. Normally,
171
- CMake will set `${LIB_SUFFIX}` automatically for required enviroment.
172
- If you have any issues with it, you can override this option with
173
- `-DLIB_SUFFIX=64` or `-DLIB_SUFFIX=""` during configuration.
174
- * Add Makefile target and harness to fuzz with libFuzzer (Phil Turnbull).
175
- This can be run locally with `make libFuzzer` but the harness will be
176
- integrated into oss-fuzz for large-scale fuzzing.
177
- * Advertise `--validate-utf8` in usage information
178
- (Nguyễn Thái Ngọc Duy).
179
- * Makefile: use warnings with re2c.
180
- * README: Add link to Python wrapper, prettify languages list
181
- (Pavlo Kapyshin).
182
- * README: Add link to cmark-scala (Tim Nieradzik, #196)
183
-
184
- [0.27.1.gfm.4]
185
-
186
- * Fix regression with nested parentheses in link targets (#48).
187
-
188
- [0.27.1.gfm.3]
189
-
190
- * Various undefined behavior issues fixed (#38, #39, #40).
191
- * Tag filter is case-insensitive (#43).
192
-
193
- [0.27.1.gfm.2]
194
-
195
- * Fix a number of bugs (reading past end of buffer, undefined behavior.
196
- * Add `cmark_syntax_extension_get_private()`. (Jonathan Müller)
197
-
198
- [0.27.1.gfm.1]
199
-
200
- * Add plaintext renderer.
201
- * Remove normalize option; we now always normalize the AST.
202
- * Add getters for table alignment.
203
- * `make install` also installs the extensions static/shared library.
204
-
205
- [0.27.1.gfm.0]
206
-
207
- * Add extensions: tagfilter, strikethrough, table, autolink.
208
- * Add arena memory implementation.
209
- * Add CMARK_OPT_GITHUB_PRE_LANG for fenced code blocks.
210
- * Skip UTF-8 BOM on input.
211
-
212
- [0.27.1]
213
-
214
- * Set policy for CMP0063 to avoid a warning (#162).
215
- Put set_policy under cmake version test.
216
- Otherwise we get errors in older versions of cmake.
217
- * Use VERSION_GREATER to clean up cmake version test.
218
- * Improve afl target. Use afl-clang by default. Set default for path.
219
-
220
- [0.27.0]
221
-
222
- * Update spec to 0.27.
223
- * Fix warnings building with MSVC on Windows (#165, Hugh Bellamy).
224
- * Fix `CMAKE_C_VISIBILITY_PRESET` for cmake versions greater than 1.8
225
- (e.g. 3.6.2) (#162, Hugh Bellamy). This lets us build swift-cmark
226
- on Windows, using clang-cl.
227
- * Fix for non-matching entities (#161, Yuki Izumi).
228
- * Modified `print_delimiters` (commented out) so it compiles again.
229
- * `make format`: don't change order of includes.
230
- * Changed logic for null/eol checks (#160).
231
- + only check once for "not at end of line"
232
- + check for null before we check for newline characters (the
233
- previous patch would fail for NULL + CR)
234
- * Fix by not advancing past both `\0` and `\n` (Yuki Izumi).
235
- * Add test for NUL-LF sequence (Yuki Izumi).
236
- * Fix memory leak in list parsing (Yuki Izumi).
237
- * Use `cmark_mem` to free where used to alloc (Yuki Izumi).
238
- * Allow a shortcut link before a `(` (jgm/CommonMark#427).
239
- * Allow tabs after setext header line (jgm/commonmark.js#109).
240
- * Don't let URI schemes start with spaces.
241
- * Fixed h2..h6 HTML blocks (jgm/CommonMark#430). Added regression test.
242
- * Autolink scheme can contain digits (Gábor Csárdi).
243
- * Fix nullary function declarations in cmark.h (Nick Wellnhofer).
244
- Fixes strict prototypes warnings.
245
- * COPYING: Update file name and remove duplicate section and
246
- (Peter Eisentraut).
247
- * Fix typo (Pavlo Kapyshin).
248
-
249
- [0.26.1]
250
-
251
- * Removed unnecessary typedef that caused build failure on
252
- some platforms.
253
- * Use `$(MAKE)` in Makefile instead of hardcoded `make` (#146,
254
- Tobias Kortkamp).
255
-
256
- [0.26.0]
257
-
258
- * Implement spec changes for list items:
259
- - Empty list items cannot interrupt paragraphs.
260
- - Ordered lists cannot interrupt paragraphs unless
261
- they start with 1.
262
- - Removed "two blank lines break out of a list" feature.
263
- * Fix sourcepos for blockquotes (#142).
264
- * Fix sourcepos for atx headers (#141).
265
- * Fix ATX headers and thematic breaks to allow tabs as well as spaces.
266
- * Fix `chunk_set_cstr` with suffix of current string (#139,
267
- Nick Wellnhofer). It's possible that `cmark_chunk_set_cstr` is called
268
- with a substring (suffix) of the current string. Delay freeing of the
269
- chunk content to handle this case correctly.
270
- * Export targets on installation (Jonathan Müller).
271
- This allows using them in other cmake projects.
272
- * Fix cmake warning about CMP0048 (Jonathan Müller).
273
- * commonmark renderer: Ensure we don't have a blank line
274
- before a code block when it's the first thing in a list
275
- item.
276
- * Change parsing of strong/emph in response to spec changes.
277
- `process_emphasis` now gets better results in corner cases.
278
- The change is this: when considering matches between an interior
279
- delimiter run (one that can open and can close) and another delimiter
280
- run, we require that the sum of the lengths of the two delimiter
281
- runs mod 3 is not 0.
282
- * Ported Robin Stocker's changes to link parsing in jgm/commonmark#101.
283
- This uses a separate stack for brackets, instead of putting them on the
284
- delimiter stack. This avoids the need for looking through the delimiter
285
- stack for the next bracket.
286
- * `cmark_reference_lookup`: Return NULL if reference is null string.
287
- * Fix character type detection in `commonmark.c` (Nick Wellnhofer).
288
- Fixes test failures on Windows and undefined behavior.
289
- - Implement `cmark_isalpha`.
290
- - Check for ASCII character before implicit cast to char.
291
- - Use internal ctype functions in `commonmark.c`.
292
- * Better documentation of memory-freeing responsibilities.
293
- in `cmark.h` and its man page (#124).
294
- * Use library functions to insert nodes in emphasis/link processing.
295
- Previously we did this manually, which introduces many
296
- places where errors can creep in.
297
- * Correctly handle list marker followed only by spaces.
298
- Previously when a list marker was followed only by spaces,
299
- cmark expected the following content to be indented by
300
- the same number of spaces. But in this case we should
301
- treat the line just like a blank line and set list padding
302
- accordingly.
303
- * Fixed a number of issues relating to line wrapping.
304
- - Extend `CMARK_OPT_NOBREAKS` to all renderers and add `--nobreaks`.
305
- - Do not autowrap, regardless of width parameter, if
306
- `CMARK_OPT_NOBREAKS` is set.
307
- - Fixed `CMARK_OPT_HARDBREAKS` for LaTeX and man renderers.
308
- - Ensure that no auto-wrapping occurs if
309
- `CMARK_OPT_NOBREAKS` is enabled, or if output is CommonMark and
310
- `CMARK_OPT_HARDBREAKS` is enabled.
311
- * Set stdin to binary mode on Windows (Nick Wellnhofer, #113).
312
- This fixes EOLs when reading from stdin.
313
- * Add library option to render softbreaks as spaces (Pavlo
314
- Kapyshin). Note that the `NOBREAKS` option is HTML-only
315
- * renderer: `no_linebreaks` instead of `no_wrap`.
316
- We generally want this option to prohibit any breaking
317
- in things like headers (not just wraps, but softbreaks).
318
- * Coerce `realurllen` to `int`. This is an alternate solution for pull
319
- request #132, which introduced a new warning on the comparison
320
- (Benedict Cohen).
321
- * Remove unused variable `link_text` (Mathiew Duponchelle).
322
- * Improved safety checks in buffer (Vicent Marti).
323
- * Add new interface allowing specification of custom memory allocator
324
- for nodes (Vicent Marti). Added `cmark_node_new_with_mem`,
325
- `cmark_parser_new_with_mem`, `cmark_mem` to API.
326
- * Reduce storage size for nodes by using bit flags instead of
327
- separate booleans (Vicent Marti).
328
- * config: Add `SSIZE_T` compat for Win32 (Vicent Marti).
329
- * cmake: Global handler for OOM situations (Vicent Marti).
330
- * Add tests for memory exhaustion (Vicent Marti).
331
- * Document in man page and public header that one should use the same
332
- memory allocator for every node in a tree.
333
- * Fix ctypes in Python FFI calls (Nick Wellnhofer). This didn't cause
334
- problems so far because all types are 32-bit on 32-bit systems and
335
- arguments are passed in registers on x86-64. The wrong types could cause
336
- crashes on other platforms, though.
337
- * Remove spurious failures in roundtrip tests. In the commonmark writer we
338
- separate lists, and lists and indented code, using a dummy HTML comment.
339
- So in evaluating the round-trip tests, we now strip out
340
- these comments. We also normalize HTML to avoid issues
341
- having to do with line breaks.
342
- * Add 2016 to copyright (Kevin Burke).
343
- * Added `to_commonmark` in `test/cmark.py` (for round-trip tests).
344
- * `spec_test.py` - parameterize `do_test` with converter.
345
- * `spec_tests.py`: exit code is now sum of failures and errors.
346
- This ensures that a failing exit code will be given when
347
- there are errors, not just with failures.
348
- * Fixed round trip tests. Previously they actually ran
349
- `cmark` instead of the round-trip version, since there was a bug in
350
- setting the ROUNDTRIP variable (#131).
351
- * Added new `roundtrip_tests.py`. This replaces the old use of simple shell
352
- scripts. It is much faster, and more flexible. (We will be able
353
- to do custom normalization and skip certain tests.)
354
- * Fix tests under MinGW (Nick Wellnhofer).
355
- * Fix leak in `api_test` (Mathieu Duponchelle).
356
- * Makefile: have leakcheck stop on first error instead of going through
357
- all the formats and options and probably getting the same output.
358
- * Add regression tests (Nick Wellnhofer).
359
-
360
- [0.25.2]
361
-
362
- * Open files in binary mode (#113, Nick Wellnhofer). Now that cmark
363
- supports different line endings, files must be openend in binary mode
364
- on Windows.
365
- * Reset `partially_consumed_tab` on every new line (#114, Nick Wellnhofer).
366
- * Handle buffer split across a CRLF line ending (#117). Adds an internal
367
- field to the parser struct to keep track of `last_buffer_ended_with_cr`.
368
- Added test.
369
-
370
- [0.25.1]
371
-
372
- * Release with no code changes. cmark version was mistakenly set to
373
- 0.25.1 in the 0.25.0 release (#112), so this release just
374
- ensures that this will cause no confusion later.
375
-
376
- [0.25.0]
377
-
378
- * Fixed tabs in indentation (#101). This patch fixes S_advance_offset
379
- so that it doesn't gobble a tab character when advancing less than the
380
- width of a tab.
381
- * Added partially_consumed_tab to parser. This keeps track of when we
382
- have gotten partway through a tab when consuming initial indentation.
383
- * Simplified add_line (only need parser parameter).
384
- * Properly handle partially consumed tab. E.g. in
385
-
386
- - foo
387
-
388
- <TAB><TAB>bar
389
-
390
- we should consume two spaces from the second tab, including two spaces
391
- in the code block.
392
- * Properly handle tabs with blockquotes and fenced blocks.
393
- * Fixed handling of tabs in lists.
394
- * Clarified logic in S_advance_offset.
395
- * Use an assertion to check for in-range html_block_type.
396
- It's a programming error if the type is out of range.
397
- * Refactored S_processLines to make the logic easier to
398
- understand, and added documentation (Mathieu Duponchelle).
399
- * Removed unnecessary check for empty string_content.
400
- * Factored out contains_inlines.
401
- * Moved the cmake minimum version to top line of CMakeLists.txt
402
- (tinysun212).
403
- * Fix ctype(3) usage on NetBSD (Kamil Rytarowski). We need to cast value
404
- passed to isspace(3) to unsigned char to explicitly prevent possibly
405
- undefined behavior.
406
- * Compile in plain C mode with MSVC 12.0 or newer (Nick Wellnhofer).
407
- Under MSVC, we used to compile in C++ mode to get some C99 features
408
- like mixing declarations and code. With newer MSVC versions, it's
409
- possible to build in plain C mode.
410
- * Switched from "inline" to "CMARK_INLINE" (Nick Wellnhofer).
411
- Newer MSVC versions support enough of C99 to be able to compile cmark
412
- in plain C mode. Only the "inline" keyword is still unsupported.
413
- We have to use "__inline" instead.
414
- * Added include guards to config.h
415
- * config.h.in - added compatibility snprintf, vsnprintf for MSVC.
416
- * Replaced sprintf with snprintf (Marco Benelli).
417
- * config.h: include stdio.h for _vscprintf etc.
418
- * Include starg.h when needed in config.h.
419
- * Removed an unnecessary C99-ism in buffer.c. This helps compiling on
420
- systems like luarocks that don't have all the cmake configuration
421
- goodness (thanks to carlmartus).
422
- * Don't use variable length arrays (Nick Wellnhofer).
423
- They're not supported by MSVC.
424
- * Test with multiple MSVC versions under Appveyor (Nick Wellnhofer).
425
- * Fix installation dir of man-pages on NetBSD (Kamil Rytarowski).
426
- * Fixed typo in cmark.h comments (Chris Eidhof).
427
- * Clarify in man page that cmark_node_free frees a node's children too.
428
- * Fixed documentation of --width in man page.
429
- * Require re2c >= 1.14.2 (#102).
430
- * Generated scanners.c with more recent re2c.
431
-
432
- [0.24.1]
433
-
434
- * Commonmark renderer:
435
- + Use HTML comment, not two blank lines, to separate a list
436
- item from a following code block or list. This makes the
437
- output more portable, since the "two blank lines" rule is
438
- unique to CommonMark. Also, it allows us to break out of
439
- a sublist without breaking out of all levels of nesting.
440
- + `is_autolink` - handle case where link has no children,
441
- which previously caused a segfault.
442
- + Use 4-space indent for bullet lists, for increased portability.
443
- + Use 2-space + newline for line break for increased portability (#90).
444
- + Improved punctuation escaping. Previously all `)` and
445
- `.` characters after digits were escaped; now they are
446
- only escaped if they are genuinely in a position where
447
- they'd cause a list item. This is achieved by changes in
448
- `render.c`: (a) `renderer->begin_content` is only set to
449
- false after a string of digits at the beginning of the
450
- line, and (b) we never break a line before a digit.
451
- Also, `begin_content` is properly initialized to true.
452
- * Handle NULL root in `consolidate_text_nodes`.
453
-
454
- [0.24.0]
455
-
456
- * [API change] Added `cmark_node_replace(oldnode, newnode)`.
457
- * Updated spec.txt to 0.24.
458
- * Fixed edge case with escaped parens in link destination (#97).
459
- This was also checked against the #82 case with asan.
460
- * Removed unnecessary check for `fenced` in `cmark_render_html`.
461
- It's sufficient to check that the info string is empty.
462
- Indeed, those who use the API may well create a code block
463
- with an info string without explicitly setting `fenced`.
464
- * Updated format of `test/smart_punct.txt`.
465
- * Updated `test/spec.txt`, `test/smart_punct.txt`, and
466
- `spec_tests.py` to new format.
467
- * Fixed `get_containing_block` logic in `src/commonmark.c`.
468
- This did not allow for the possibility that a node might have no
469
- containing block, causing the commonmark renderer to segfault if
470
- passed an inline node with no block parent.
471
- * Fixed string representations of `CUSTOM_BLOCK`,
472
- `CUSTOM_INLINE`. The old versions `raw_inline` and
473
- `raw_block` were being used, and this led to incorrect xml output.
474
- * Use default opts in python sample wrapper.
475
- * Allow multiline setext header content, as per spec.
476
- * Don't allow spaces in link destinations, even with pointy brackets.
477
- Conforms to latest change in spec.
478
- * Updated `scheme` scanner according to spec change. We no longer use
479
- a whitelist of valid schemes.
480
- * Allow any kind of nodes as children of `CUSTOM_BLOCK` (#96).
481
- * `cmark.h`: moved typedefs for iterator into iterator section.
482
- This just moves some code around so it makes more sense
483
- to read, and in the man page.
484
- * Fixed `make_man_page.py` so it includes typedefs again.
485
-
486
- [0.23.0]
487
-
488
- * [API change] Added `CUSTOM_BLOCK` and `CUSTOM_INLINE` node types.
489
- They are never generated by the parser, and do not correspond
490
- to CommonMark elements. They are designed to be inserted by
491
- filters that postprocess the AST. For example, a filter might
492
- convert specially marked code blocks to svg diagrams in HTML
493
- and tikz diagrams in LaTeX, passing these through to the renderer
494
- as a `CUSTOM_BLOCK`. These nodes can have children, but they
495
- also have literal text to be printed by the renderer "on enter"
496
- and "on exit." Added `cmark_node_get_on_enter`,
497
- `cmark_node_set_on_enter`, `cmark_node_get_on_exit`,
498
- `cmark_node_set_on_exit` to API.
499
- * [API change] Rename `NODE_HTML` -> `NODE_HTML_BLOCK`,
500
- `NODE_INLINE_HTML` -> `NODE_HTML_INLINE`. Define aliases
501
- so the old names still work, for backwards compatibility.
502
- * [API change] Rename `CMARK_NODE_HEADER` -> `CMARK_NODE_HEADING`.
503
- Note that for backwards compatibility, we have defined aliases:
504
- `CMARK_NODE_HEADER` = `CMARK_NODE_HEADING`,
505
- `cmark_node_get_header_level` = `cmark_node_get_heading_level`, and
506
- `cmark_node_set_header_level` = `cmark_node_set_heading_level`.
507
- * [API change] Rename `CMARK_NODE_HRULE` -> `CMARK_NODE_THEMATIC_BREAK`.
508
- Defined the former as the latter for backwards compatibility.
509
- * Don't allow space between link text and link label in a reference link
510
- (spec change).
511
- * Separate parsing and rendering opts in `cmark.h` (#88).
512
- This change also changes some of these constants' numerical values,
513
- but nothing should change in the API if you use the constants
514
- themselves. It should now be clear in the man page which
515
- options affect parsing and which affect rendering.
516
- * xml renderer - Added xmlns attribute to document node (jgm/CommonMark#87).
517
- * Commonmark renderer: ensure html blocks surrounded by blanks.
518
- Otherwise we get failures of roundtrip tests.
519
- * Commonmark renderer: ensure that literal characters get escaped
520
- when they're at the beginning of a block, e.g. `> \- foo`.
521
- * LaTeX renderer - better handling of internal links.
522
- Now we render `[foo](#bar)` as `\protect\hyperlink{bar}{foo}`.
523
- * Check for NULL pointer in _scan_at (#81).
524
- * `Makefile.nmake`: be more robust when cmake is missing. Previously,
525
- when cmake was missing, the build dir would be created anyway, and
526
- subsequent attempts (even with cmake) would fail, because cmake would
527
- not be run. Depending on `build/CMakeFiles` is more robust -- this won't
528
- be created unless cmake is run. Partially addresses #85.
529
- * Fixed DOCTYPE in xml output.
530
- * commonmark.c: fix `size_t` to `int`. This fixes an MSVC warning
531
- "conversion from 'size_t' to 'int', possible loss of data" (Kevin Wojniak).
532
- * Correct string length in `cmark_parse_document` example (Lee Jeffery).
533
- * Fix non-ASCII end-of-line character check (andyuhnak).
534
- * Fix "declaration shadows a local variable" (Kevin Wojniak).
535
- * Install static library (jgm/CommonMark#381).
536
- * Fix warnings about dropping const qualifier (Kevin Wojniak).
537
- * Use full (unabbreviated) versions of constants (`CMARK_...`).
538
- * Removed outdated targets from Makefile.
539
- * Removed need for sudo in `make bench`.
540
- * Improved benchmark. Use longer test, since `time` has limited resolution.
541
- * Removed `bench.h` and timing calls in `main.c`.
542
- * Updated API docs; getters return empty strings if not set
543
- rather than NULL, as previously documented.
544
- * Added api_tests for custom nodes.
545
- * Made roundtrip test part of the test suite run by cmake.
546
- * Regenerate `scanners.c` using re2c 0.15.3.
547
- * Adjusted scanner for link url. This fixes a heap buffer overflow (#82).
548
- * Added version number (1.0) to XML namespace. We don't guarantee
549
- stability in this until 1.0 is actually released, however.
550
- * Removed obsolete `TIMER` macro.
551
- * Make `LIB_INSTALL_DIR` configurable (Mathieu Bridon, #79).
552
- * Removed out-of-date luajit wrapper.
553
- * Use `input`, not `parser->curline` to determine last line length.
554
- * Small optimizations in `_scan_at`.
555
- * Replaced hard-coded 4 with `TAB_STOP`.
556
- * Have `make format` reformat api tests as well.
557
- * Added api tests for man, latex, commonmark, and xml renderers (#51).
558
- * render.c: added `begin_content` field. This is like `begin_line` except
559
- that it doesn't trigger production of the prefix. So it can be set
560
- after an initial prefix (say `> `) is printed by the renderer, and
561
- consulted in determining whether to escape content that has a special
562
- meaning at the beginning of a line. Used in the commonmark renderer.
563
- * Python 3.5 compatibility: don't require HTMLParseError (Zhiming Wang).
564
- HTMLParseError was removed in Python 3.5. Since it could never be thrown
565
- in Python 3.5+, we simply define a placeholder when HTMLParseError
566
- cannot be imported.
567
- * Set `convert_charrefs=False` in `normalize.py` (#83). This defeats the
568
- new default as of python 3.5, and allows the script to work with python
569
- 3.5.
570
-
571
- [0.22.0]
572
-
573
- * Removed `pre` from blocktags scanner. `pre` is handled separately
574
- in rule 1 and needn't be handled in rule 6.
575
- * Added `iframe` to list of blocktags, as per spec change.
576
- * Fixed bug with `HRULE` after blank line. This previously caused cmark
577
- to break out of a list, thinking it had two consecutive blanks.
578
- * Check for empty string before trying to look at line ending.
579
- * Make sure every line fed to `S_process_line` ends with `\n` (#72).
580
- So `S_process_line` sees only unix style line endings. Ultimately we
581
- probably want a better solution, allowing the line ending style of
582
- the input file to be preserved. This solution forces output with newlines.
583
- * Improved `cmark_strbuf_normalize_whitespace` (#73). Now all characters
584
- that satisfy `cmark_isspace` are recognized as whitespace. Previously
585
- `\r` and `\t` (and others) weren't included.
586
- * Treat line ending with EOF as ending with newline (#71).
587
- * Fixed `--hardbreaks` with `\r\n` line breaks (#68).
588
- * Disallow list item starting with multiple blank lines (jgm/CommonMark#332).
589
- * Allow tabs before closing `#`s in ATX header
590
- * Removed `cmark_strbuf_printf` and `cmark_strbuf_vprintf`.
591
- These are no longer needed, and cause complications for MSVC.
592
- Also removed `HAVE_VA_COPY` and `HAVE_C99_SNPRINTF` feature tests.
593
- * Added option to disable tests (Kevin Wojniak).
594
- * Added `CMARK_INLINE` macro.
595
- * Removed need to disable MSVC warnings 4267, 4244, 4800
596
- (Kevin Wojniak).
597
- * Fixed MSVC inline errors when cmark is included in sources that
598
- don't have the same set of disabled warnings (Kevin Wojniak).
599
- * Fix `FileNotFoundError` errors on tests when cmark is built from
600
- another project via `add_subdirectory()` (Kevin Wojniak).
601
- * Prefix `utf8proc` functions to avoid conflict with existing library
602
- (Kevin Wojniak).
603
- * Avoid name clash between Windows `.pdb` files (Nick Wellnhofer).
604
- * Improved `smart_punct.txt` (see jgm/commonmark.js#61).
605
- * Set `POSITION_INDEPENDENT_CODE` `ON` for static library (see #39).
606
- * `make bench`: allow overriding `BENCHFILE`. Previously if you did
607
- this, it would clopper `BENCHFILE` with the default bench file.
608
- * `make bench`: Use -10 priority with renice.
609
- * Improved `make_autolink`. Ensures that title is chunk with empty
610
- string rather than NULL, as with other links.
611
- * Added `clang-check` target.
612
- * Travis: split `roundtrip_test` and `leakcheck` (OGINO Masanori).
613
- * Use clang-format, llvm style, for formatting. Reformatted all source files.
614
- Added `format` target to Makefile. Removed `astyle` target.
615
- Updated `.editorconfig`.
616
-
617
- [0.21.0]
618
-
619
- * Updated to version 0.21 of spec.
620
- * Added latex renderer (#31). New exported function in API:
621
- `cmark_render_latex`. New source file: `src/latex.hs`.
622
- * Updates for new HTML block spec. Removed old `html_block_tag` scanner.
623
- Added new `html_block_start` and `html_block_start_7`, as well
624
- as `html_block_end_n` for n = 1-5. Rewrote block parser for new HTML
625
- block spec.
626
- * We no longer preprocess tabs to spaces before parsing.
627
- Instead, we keep track of both the byte offset and
628
- the (virtual) column as we parse block starts.
629
- This allows us to handle tabs without converting
630
- to spaces first. Tabs are left as tabs in the output, as
631
- per the revised spec.
632
- * Removed utf8 validation by default. We now replace null characters
633
- in the line splitting code.
634
- * Added `CMARK_OPT_VALIDATE_UTF8` option and command-line option
635
- `--validate-utf8`. This option causes cmark to check for valid
636
- UTF-8, replacing invalid sequences with the replacement
637
- character, U+FFFD. Previously this was done by default in
638
- connection with tab expansion, but we no longer do it by
639
- default with the new tab treatment. (Many applications will
640
- know that the input is valid UTF-8, so validation will not
641
- be necessary.)
642
- * Added `CMARK_OPT_SAFE` option and `--safe` command-line flag.
643
- + Added `CMARK_OPT_SAFE`. This option disables rendering of raw HTML
644
- and potentially dangerous links.
645
- + Added `--safe` option in command-line program.
646
- + Updated `cmark.3` man page.
647
- + Added `scan_dangerous_url` to scanners.
648
- + In HTML, suppress rendering of raw HTML and potentially dangerous
649
- links if `CMARK_OPT_SAFE`. Dangerous URLs are those that begin
650
- with `javascript:`, `vbscript:`, `file:`, or `data:` (except for
651
- `image/png`, `image/gif`, `image/jpeg`, or `image/webp` mime types).
652
- + Added `api_test` for `OPT_CMARK_SAFE`.
653
- + Rewrote `README.md` on security.
654
- * Limit ordered list start to 9 digits, per spec.
655
- * Added width parameter to `render_man` (API change).
656
- * Extracted common renderer code from latex, man, and commonmark
657
- renderers into a separate module, `renderer.[ch]` (#63). To write a
658
- renderer now, you only need to write a character escaping function
659
- and a node rendering function. You pass these to `cmark_render`
660
- and it handles all the plumbing (including line wrapping) for you.
661
- So far this is an internal module, but we might consider adding
662
- it to the API in the future.
663
- * commonmark writer: correctly handle email autolinks.
664
- * commonmark writer: escape `!`.
665
- * Fixed soft breaks in commonmark renderer.
666
- * Fixed scanner for link url. re2c returns the longest match, so we
667
- were getting bad results with `[link](foo\(and\(bar\)\))`
668
- which it would parse as containing a bare `\` followed by
669
- an in-parens chunk ending with the final paren.
670
- * Allow non-initial hyphens in html tag names. This allows for
671
- custom tags, see jgm/CommonMark#239.
672
- * Updated `test/smart_punct.txt`.
673
- * Implemented new treatment of hyphens with `--smart`, converting
674
- sequences of hyphens to sequences of em and en dashes that contain no
675
- hyphens.
676
- * HTML renderer: properly split info on first space char (see
677
- jgm/commonmark.js#54).
678
- * Changed version variables to functions (#60, Andrius Bentkus).
679
- This is easier to access using ffi, since some languages, like C#
680
- like to use only function interfaces for accessing library
681
- functionality.
682
- * `process_emphasis`: Fixed setting lower bound to potential openers.
683
- Renamed `potential_openers` -> `openers_bottom`.
684
- Renamed `start_delim` -> `stack_bottom`.
685
- * Added case for #59 to `pathological_test.py`.
686
- * Fixed emphasis/link parsing bug (#59).
687
- * Fixed off-by-one error in line splitting routine.
688
- This caused certain NULLs not to be replaced.
689
- * Don't rtrim in `subject_from_buffer`. This gives bad results in
690
- parsing reference links, where we might have trailing blanks
691
- (`finalize` removes the bytes parsed as a reference definition;
692
- before this change, some blank bytes might remain on the line).
693
- + Added `column` and `first_nonspace_column` fields to `parser`.
694
- + Added utility function to advance the offset, computing
695
- the virtual column too. Note that we don't need to deal with
696
- UTF-8 here at all. Only ASCII occurs in block starts.
697
- + Significant performance improvement due to the fact that
698
- we're not doing UTF-8 validation.
699
- * Fixed entity lookup table. The old one had many errors.
700
- The new one is derived from the list in the npm entities package.
701
- Since the sequences can now be longer (multi-code-point), we
702
- have bumped the length limit from 4 to 8, which also affects
703
- `houdini_html_u.c`. An example of the kind of error that was fixed:
704
- `&ngE;` should be rendered as "≧̸" (U+02267 U+00338), but it was
705
- being rendered as "≧" (which is the same as `&gE;`).
706
- * Replace gperf-based entity lookup with binary tree lookup.
707
- The primary advantage is a big reduction in the size of
708
- the compiled library and executable (> 100K).
709
- There should be no measurable performance difference in
710
- normal documents. I detected only a slight performance
711
- hit in a file containing 1,000,000 entities.
712
- + Removed `src/html_unescape.gperf` and `src/html_unescape.h`.
713
- + Added `src/entities.h` (generated by `tools/make_entities_h.py`).
714
- + Added binary tree lookup functions to `houdini_html_u.c`, and
715
- use the data in `src/entities.h`.
716
- * Renamed `entities.h` -> `entities.inc`, and
717
- `tools/make_entities_h.py` -> `tools/make_entitis_inc.py`.
718
- * Fixed cases like
719
- ```
720
- [ref]: url
721
- "title" ok
722
- ```
723
- Here we should parse the first line as a reference.
724
- * `inlines.c`: Added utility functions to skip spaces and line endings.
725
- * Fixed backslashes in link destinations that are not part of escapes
726
- (jgm/commonmark#45).
727
- * `process_line`: Removed "add newline if line doesn't have one."
728
- This isn't actually needed.
729
- * Small logic fixes and a simplification in `process_emphasis`.
730
- * Added more pathological tests:
731
- + Many link closers with no openers.
732
- + Many link openers with no closers.
733
- + Many emph openers with no closers.
734
- + Many closers with no openers.
735
- + `"*a_ " * 20000`.
736
- * Fixed `process_emphasis` to handle new pathological cases.
737
- Now we have an array of pointers (`potential_openers`),
738
- keyed to the delim char. When we've failed to match a potential opener
739
- prior to point X in the delimiter stack, we reset `potential_openers`
740
- for that opener type to X, and thus avoid having to look again through
741
- all the openers we've already rejected.
742
- * `process_inlines`: remove closers from delim stack when possible.
743
- When they have no matching openers and cannot be openers themselves,
744
- we can safely remove them. This helps with a performance case:
745
- `"a_ " * 20000` (jgm/commonmark.js#43).
746
- * Roll utf8proc_charlen into utf8proc_valid (Nick Wellnhofer).
747
- Speeds up "make bench" by another percent.
748
- * `spec_tests.py`: allow `→` for tab in HTML examples.
749
- * `normalize.py`: don't collapse whitespace in pre contexts.
750
- * Use utf-8 aware re2c.
751
- * Makefile afl target: removed `-m none`, added `CMARK_OPTS`.
752
- * README: added `make afl` instructions.
753
- * Limit generated generated `cmark.3` to 72 character line width.
754
- * Travis: switched to containerized build system.
755
- * Removed `debug.h`. (It uses GNU extensions, and we don't need it anyway.)
756
- * Removed sundown from benchmarks, because the reading was anomalous.
757
- sundown had an arbitrary 16MB limit on buffers, and the benchmark
758
- input exceeded that. So who knows what we were actually testing?
759
- Added hoedown, sundown's successor, which is a better comparison.
760
-
761
- [0.20.0]
762
-
763
- * Fixed bug in list item parsing when items indented >= 4 spaces (#52).
764
- * Don't allow link labels with no non-whitespace characters
765
- (jgm/CommonMark#322).
766
- * Fixed multiple issues with numeric entities (#33, Nick Wellnhofer).
767
- * Support CR and CRLF line endings (Ben Trask).
768
- * Added test for different line endings to `api_test`.
769
- * Allow NULL value in string setters (Nick Wellnhofer). (NULL
770
- produces a 0-length string value.) Internally, URL and
771
- title are now stored as `cmark_chunk` rather than `char *`.
772
- * Fixed memory leak in `cmark_consolidate_text_nodes` (#32).
773
- * Fixed `is_autolink` in the CommonMark renderer (#50). Previously *any*
774
- link with an absolute URL was treated as an autolink.
775
- * Cope with broken `snprintf` on Windows (Nick Wellnhofer). On Windows,
776
- `snprintf` returns -1 if the output was truncated. Fall back to
777
- Windows-specific `_scprintf`.
778
- * Switched length parameter on `cmark_markdown_to_html`,
779
- `cmark_parser_feed`, and `cmark_parse_document` from `int`
780
- to `size_t` (#53, Nick Wellnhofer).
781
- * Use a custom type `bufsize_t` for all string sizes and indices.
782
- This allows to switch to 64-bit string buffers by changing a single
783
- typedef and a macro definition (Nick Wellnhofer).
784
- * Hardened the `strbuf` code, checking for integer overflows and
785
- adding range checks (Nick Wellnhofer).
786
- * Removed unused function `cmark_strbuf_attach` (Nick Wellnhofer).
787
- * Fixed all implicit 64-bit to 32-bit conversions that
788
- `-Wshorten-64-to-32` warns about (Nick Wellnhofer).
789
- * Added helper function `cmark_strbuf_safe_strlen` that converts
790
- from `size_t` to `bufsize_t` and throws an error in case of
791
- an overflow (Nick Wellnhofer).
792
- * Abort on `strbuf` out of memory errors (Nick Wellnhofer).
793
- Previously such errors were not being trapped. This involves
794
- some internal changes to the `buffer` library that do not affect
795
- the API.
796
- * Factored out `S_find_first_nonspace` in `S_proces_line`.
797
- Added fields `offset`, `first_nonspace`, `indent`, and `blank`
798
- to `cmark_parser` struct. This just removes some repetition.
799
- * Added Racket Racket (5.3+) wrapper (Eli Barzilay).
800
- * Removed `-pg` from Debug build flags (#47).
801
- * Added Ubsan build target, to check for undefined behavior.
802
- * Improved `make leakcheck`. We now return an error status if anything
803
- in the loop fails. We now check `--smart` and `--normalize` options.
804
- * Removed `wrapper3.py`, made `wrapper.py` work with python 2 and 3.
805
- Also improved the wrapper to work with Windows, and to use smart
806
- punctuation (as an example).
807
- * In `wrapper.rb`, added argument for options.
808
- * Revised luajit wrapper.
809
- * Added build status badges to README.md.
810
- * Added links to go, perl, ruby, R, and Haskell bindings to README.md.
811
-
812
- [0.19.0]
813
-
814
- * Fixed `_` emphasis parsing to conform to spec (jgm/CommonMark#317).
815
- * Updated `spec.txt`.
816
- * Compile static library with `-DCMARK_STATIC_DEFINE` (Nick Wellnhofer).
817
- * Suppress warnings about Windows runtime library files (Nick Wellnhofer).
818
- Visual Studio Express editions do not include the redistributable files.
819
- Set `CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS` to suppress warnings.
820
- * Added appyeyor: Windows continuous integration (`appveyor.yml`).
821
- * Use `os.path.join` in `test/cmark.py` for proper cross-platform paths.
822
- * Fixed `Makefile.nmake`.
823
- * Improved `make afl`: added `test/afl_dictionary`, increased timeout
824
- for hangs.
825
- * Improved README with a description of the library's strengths.
826
- * Pass-through Unicode non-characters (Nick Wellnhofer).
827
- Despite their name, Unicode non-characters are valid code points. They
828
- should be passed through by a library like libcmark.
829
- * Check return status of `utf8proc_iterate` (#27).
830
-
831
- [0.18.3]
832
-
833
- * Include patch level in soname (Nick Wellnhofer). Minor version is
834
- tied to spec version, so this allows breaking the ABI between spec
835
- releases.
836
- * Install compiler-provided system runtime libraries (Changjiang Yang).
837
- * Use `strbuf_printf` instead of `snprintf`. `snprintf` is not
838
- available on some platforms (Visual Studio 2013 and earlier).
839
- * Fixed memory access bug: "invalid read of size 1" on input `[link](<>)`.
840
-
841
- [0.18.2]
842
-
843
- * Added commonmark renderer: `cmark_render_commonmark`. In addition
844
- to options, this takes a `width` parameter. A value of 0 disables
845
- wrapping; a positive value wraps the document to the specified
846
- width. Note that width is automatically set to 0 if the
847
- `CMARK_OPT_HARDBREAKS` option is set.
848
- * The `cmark` executable now allows `-t commonmark` for output as
849
- CommonMark. A `--width` option has been added to specify wrapping
850
- width.
851
- * Added `roundtrip_test` Makefile target. This runs all the spec
852
- through the commonmark renderer, and then through the commonmark
853
- parser, and compares normalized HTML to the test. All tests pass
854
- with the current parser and renderer, giving us some confidence that
855
- the commonmark renderer is sufficiently robust. Eventually this
856
- should be pythonized and put in the cmake test routine.
857
- * Removed an unnecessary check in `blocks.c`. By the time we check
858
- for a list start, we've already checked for a horizontal rule, so
859
- we don't need to repeat that check here. Thanks to Robin Stocker for
860
- pointing out a similar redundancy in commonmark.js.
861
- * Fixed bug in `cmark_strbuf_unescape` (`buffer.c`). The old function
862
- gave incorrect results on input like `\\*`, since the next backslash
863
- would be treated as escaping the `*` instead of being escaped itself.
864
- * `scanners.re`: added `_scan_scheme`, `scan_scheme`, used in the
865
- commonmark renderer.
866
- * Check for `CMAKE_C_COMPILER` (not `CC_COMPILER`) when setting C flags.
867
- * Update code examples in documentation, adding new parser option
868
- argument, and using `CMARK_OPT_DEFAULT` (Nick Wellnhofer).
869
- * Added options parameter to `cmark_markdown_to_html`.
870
- * Removed obsolete reference to `CMARK_NODE_LINK_LABEL`.
871
- * `make leakcheck` now checks all output formats.
872
- * `test/cmark.py`: set default options for `markdown_to_html`.
873
- * Warn about buggy re2c versions (Nick Wellnhofer).
874
-
875
- [0.18.1]
876
-
877
- * Build static version of library in default build (#11).
878
- * `cmark.h`: Add missing argument to `cmark_parser_new` (#12).
879
-
880
- [0.18]
881
-
882
- * Switch to 2-clause BSD license, with agreement of contributors.
883
- * Added Profile build type, `make prof` target.
884
- * Fixed autolink scanner to conform to the spec. Backslash escapes
885
- not allowed in autolinks.
886
- * Don't rely on strnlen being available (Nick Wellnhofer).
887
- * Updated scanners for new whitespace definition.
888
- * Added `CMARK_OPT_SMART` and `--smart` option, `smart.c`, `smart.h`.
889
- * Added test for `--smart` option.
890
- * Fixed segfault with --normalize (closes #7).
891
- * Moved normalization step from XML renderer to `cmark_parser_finish`.
892
- * Added options parameter to `cmark_parse_document`, `cmark_parse_file`.
893
- * Fixed man renderer's escaping for unicode characters.
894
- * Don't require python3 to make `cmark.3` man page.
895
- * Use ASCII escapes for punctuation characters for portability.
896
- * Made `options` an int rather than a long, for consistency.
897
- * Packed `cmark_node` struct to fit into 128 bytes.
898
- This gives a small performance boost and lowers memory usage.
899
- * Repacked `delimiter` struct to avoid hole.
900
- * Fixed use-after-free bug, which arose when a paragraph containing
901
- only reference links and blank space was finalized (#9).
902
- Avoid using `parser->current` in the loop that creates new
903
- blocks, since `finalize` in `add_child` may have removed
904
- the current parser (if it contains only reference definitions).
905
- This isn't a great solution; in the long run we need to rewrite
906
- to make the logic clearer and to make it harder to make
907
- mistakes like this one.
908
- * Added 'Asan' build type. `make asan` will link against ASan; the
909
- resulting executable will do checks for memory access issues.
910
- Thanks @JordanMilne for the suggestion.
911
- * Add Makefile target to fuzz with AFL (Nick Wellnhofer)
912
- The variable `$AFL_PATH` must point to the directory containing the AFL
913
- binaries. It can be set as an environment variable or passed to make on
914
- the command line.
915
-
916
- [0.17]
917
-
918
- * Stripped out all JavaScript related code and documentation, moving
919
- it to a separate repository (<https://github.com/jgm/commonmark.js>).
920
- * Improved Makefile targets, so that `cmake` is run again only when
921
- necessary (Nick Wellnhofer).
922
- * Added `INSTALL_PREFIX` to the Makefile, allowing installation to a
923
- location other than `/usr/local` without invoking `cmake`
924
- manually (Nick Wellnhofer).
925
- * `make test` now guarantees that the project will
926
- be rebuilt before tests are run (Nick Wellnhofer).
927
- * Prohibited overriding of some Makefile variables (Nick Wellnhofer).
928
- * Provide version number and string, both as macros
929
- (`CMARK_VERSION`, `CMARK_VERSION_STRING`) and as symbols
930
- (`cmark_version`, `cmark_version_string`) (Nick Wellnhofer). All of
931
- these come from `cmark_version.h`, which is constructed from a
932
- template `cmark_version.h.in` and data in `CMakeLists.txt`.
933
- * Avoid calling `free` on null pointer.
934
- * Added an accessor for an iterator's root node (`cmark_iter_get_root`).
935
- * Added user data field for nodes (Nick Wellnhofer). This is
936
- intended mainly for use in bindings for dynamic languages, where
937
- it could store a pointer to a target language object (#287). But
938
- it can be used for anything.
939
- * Man renderer: properly escape multiline strings.
940
- * Added assertion to raise error if finalize is called on a closed block.
941
- * Implemented the new spec rule for emphasis and strong emphasis with `_`.
942
- * Moved the check for fence-close with the other checks for end-of-block.
943
- * Fixed a bug with loose list detection with items containings
944
- fenced code blocks (#285).
945
- * Removed recursive algorithm in `ends_with_blank_line` (#286).
946
- * Minor code reformatting: renamed parameters.
947
-
948
- [0.16]
949
-
950
- * Added xml renderer (XML representation of the CommonMark AST,
951
- which is described in `CommonMark.dtd`).
952
- * Reduced size of gperf entity table (Nick Wellnhofer).
953
- * Reworked iterators to allow deletion of nodes during iteration
954
- (Nick Wellnhofer).
955
- * Optimized `S_is_leaf`.
956
- * Added `cmark_iter_reset` to iterator API.
957
- * Added `cmark_consolidate_text_nodes` to API to combine adjacent
958
- text nodes.
959
- * Added `CMARK_OPT_NORMALIZE` to options (this combines adjacent
960
- text nodes).
961
- * Added `--normalize` option to command-line program.
962
- * Improved regex for HTML comments in inline parsing.
963
- * Python is no longer required for a basic build from the
964
- repository.