commonmarker 0.17.5 → 0.17.6

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 (199) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/ext/commonmarker/cmark/CMakeLists.txt +1 -1
  4. data/ext/commonmarker/cmark/README.md +3 -2
  5. data/ext/commonmarker/cmark/api_test/CMakeLists.txt +1 -1
  6. data/ext/commonmarker/cmark/api_test/main.c +91 -0
  7. data/ext/commonmarker/cmark/changelog.txt +24 -1
  8. data/ext/commonmarker/cmark/extensions/core-extensions.c +1 -0
  9. data/ext/commonmarker/cmark/extensions/core-extensions.h +1 -0
  10. data/ext/commonmarker/cmark/extensions/strikethrough.c +2 -1
  11. data/ext/commonmarker/cmark/extensions/table.c +1 -0
  12. data/ext/commonmarker/cmark/man/man3/cmark-gfm.3 +41 -1
  13. data/ext/commonmarker/cmark/src/CMakeLists.txt +12 -4
  14. data/ext/commonmarker/cmark/src/blocks.c +115 -3
  15. data/ext/commonmarker/cmark/src/buffer.h +0 -2
  16. data/ext/commonmarker/cmark/src/chunk.h +1 -1
  17. data/ext/commonmarker/cmark/src/cmark.c +2 -2
  18. data/ext/commonmarker/cmark/src/cmark.h +9 -0
  19. data/ext/commonmarker/cmark/src/cmark_extension_api.h +9 -7
  20. data/ext/commonmarker/cmark/src/commonmark.c +23 -0
  21. data/ext/commonmarker/cmark/src/footnotes.c +40 -0
  22. data/ext/commonmarker/cmark/src/footnotes.h +25 -0
  23. data/ext/commonmarker/cmark/src/html.c +56 -1
  24. data/ext/commonmarker/cmark/src/inlines.c +46 -25
  25. data/ext/commonmarker/cmark/src/inlines.h +2 -2
  26. data/ext/commonmarker/cmark/src/latex.c +5 -0
  27. data/ext/commonmarker/cmark/src/libcmark-gfm.pc.in +1 -1
  28. data/ext/commonmarker/cmark/src/main.c +3 -0
  29. data/ext/commonmarker/cmark/src/man.c +5 -0
  30. data/ext/commonmarker/cmark/src/map.c +122 -0
  31. data/ext/commonmarker/cmark/src/map.h +42 -0
  32. data/ext/commonmarker/cmark/src/node.c +5 -0
  33. data/ext/commonmarker/cmark/src/parser.h +1 -1
  34. data/ext/commonmarker/cmark/src/plaintext.c +1 -0
  35. data/ext/commonmarker/cmark/src/references.c +11 -125
  36. data/ext/commonmarker/cmark/src/references.h +5 -20
  37. data/ext/commonmarker/cmark/src/render.c +2 -1
  38. data/ext/commonmarker/cmark/src/render.h +3 -0
  39. data/ext/commonmarker/cmark/src/scanners.c +168 -32
  40. data/ext/commonmarker/cmark/src/scanners.h +2 -0
  41. data/ext/commonmarker/cmark/src/scanners.re +10 -0
  42. data/ext/commonmarker/cmark/src/syntax_extension.c +3 -2
  43. data/ext/commonmarker/cmark/src/syntax_extension.h +1 -0
  44. data/ext/commonmarker/cmark/test/CMakeLists.txt +7 -2
  45. data/ext/commonmarker/cmark/test/extensions.txt +59 -0
  46. data/ext/commonmarker/cmark/test/pathological_tests.py +21 -3
  47. data/ext/commonmarker/cmark/wrappers/wrapper.js +6 -0
  48. data/ext/commonmarker/commonmarker.c +14 -0
  49. data/lib/commonmarker/config.rb +1 -0
  50. data/lib/commonmarker/renderer/html_renderer.rb +41 -0
  51. data/lib/commonmarker/version.rb +1 -1
  52. data/test/test_footnotes.rb +25 -0
  53. metadata +9 -148
  54. data/ext/commonmarker/cmark/build/CMakeCache.txt +0 -481
  55. data/ext/commonmarker/cmark/build/CMakeFiles/3.8.2/CMakeCCompiler.cmake +0 -68
  56. data/ext/commonmarker/cmark/build/CMakeFiles/3.8.2/CMakeCXXCompiler.cmake +0 -70
  57. data/ext/commonmarker/cmark/build/CMakeFiles/3.8.2/CMakeDetermineCompilerABI_C.bin +0 -0
  58. data/ext/commonmarker/cmark/build/CMakeFiles/3.8.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
  59. data/ext/commonmarker/cmark/build/CMakeFiles/3.8.2/CMakeSystem.cmake +0 -15
  60. data/ext/commonmarker/cmark/build/CMakeFiles/3.8.2/CompilerIdC/CMakeCCompilerId.c +0 -567
  61. data/ext/commonmarker/cmark/build/CMakeFiles/3.8.2/CompilerIdC/a.out +0 -0
  62. data/ext/commonmarker/cmark/build/CMakeFiles/3.8.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -539
  63. data/ext/commonmarker/cmark/build/CMakeFiles/3.8.2/CompilerIdCXX/a.out +0 -0
  64. data/ext/commonmarker/cmark/build/CMakeFiles/3.9.4/CMakeCCompiler.cmake +0 -71
  65. data/ext/commonmarker/cmark/build/CMakeFiles/3.9.4/CMakeCXXCompiler.cmake +0 -73
  66. data/ext/commonmarker/cmark/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_C.bin +0 -0
  67. data/ext/commonmarker/cmark/build/CMakeFiles/3.9.4/CMakeDetermineCompilerABI_CXX.bin +0 -0
  68. data/ext/commonmarker/cmark/build/CMakeFiles/3.9.4/CMakeSystem.cmake +0 -15
  69. data/ext/commonmarker/cmark/build/CMakeFiles/3.9.4/CompilerIdC/CMakeCCompilerId.c +0 -567
  70. data/ext/commonmarker/cmark/build/CMakeFiles/3.9.4/CompilerIdC/a.out +0 -0
  71. data/ext/commonmarker/cmark/build/CMakeFiles/3.9.4/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -539
  72. data/ext/commonmarker/cmark/build/CMakeFiles/3.9.4/CompilerIdCXX/a.out +0 -0
  73. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  74. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log +0 -14
  75. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log +0 -1169
  76. data/ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake +0 -155
  77. data/ext/commonmarker/cmark/build/CMakeFiles/Makefile2 +0 -391
  78. data/ext/commonmarker/cmark/build/CMakeFiles/TargetDirectories.txt +0 -48
  79. data/ext/commonmarker/cmark/build/CMakeFiles/cmake.check_cache +0 -1
  80. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin +0 -0
  81. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.c +0 -34
  82. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.cxx +0 -405
  83. data/ext/commonmarker/cmark/build/CMakeFiles/progress.marks +0 -1
  84. data/ext/commonmarker/cmark/build/CTestTestfile.cmake +0 -11
  85. data/ext/commonmarker/cmark/build/Makefile +0 -280
  86. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  87. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake +0 -38
  88. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make +0 -169
  89. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake +0 -12
  90. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.make +0 -2
  91. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make +0 -17
  92. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt +0 -1
  93. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/progress.make +0 -5
  94. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/progress.marks +0 -1
  95. data/ext/commonmarker/cmark/build/api_test/Makefile +0 -302
  96. data/ext/commonmarker/cmark/build/api_test/cmake_install.cmake +0 -29
  97. data/ext/commonmarker/cmark/build/cmake_install.cmake +0 -49
  98. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  99. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/Export/lib/cmake-gfmextensions/cmark-gfmextensions-release.cmake +0 -30
  100. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/Export/lib/cmake-gfmextensions/cmark-gfmextensions.cmake +0 -108
  101. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/DependInfo.cmake +0 -36
  102. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/build.make +0 -253
  103. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/cmake_clean.cmake +0 -16
  104. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/depend.make +0 -2
  105. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/flags.make +0 -10
  106. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/link.txt +0 -1
  107. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/progress.make +0 -8
  108. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/C.includecache +0 -236
  109. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/DependInfo.cmake +0 -29
  110. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/autolink.c.o +0 -0
  111. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/build.make +0 -249
  112. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/cmake_clean.cmake +0 -15
  113. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/cmake_clean_target.cmake +0 -3
  114. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/core-extensions.c.o +0 -0
  115. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/depend.internal +0 -102
  116. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/depend.make +0 -102
  117. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/ext_scanners.c.o +0 -0
  118. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/flags.make +0 -10
  119. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/link.txt +0 -2
  120. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/progress.make +0 -8
  121. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/strikethrough.c.o +0 -0
  122. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/table.c.o +0 -0
  123. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/tagfilter.c.o +0 -0
  124. data/ext/commonmarker/cmark/build/extensions/CMakeFiles/progress.marks +0 -1
  125. data/ext/commonmarker/cmark/build/extensions/Makefile +0 -426
  126. data/ext/commonmarker/cmark/build/extensions/cmake_install.cmake +0 -84
  127. data/ext/commonmarker/cmark/build/extensions/cmarkextensions_export.h +0 -42
  128. data/ext/commonmarker/cmark/build/extensions/libcmark-gfmextensions.a +0 -0
  129. data/ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  130. data/ext/commonmarker/cmark/build/man/CMakeFiles/progress.marks +0 -1
  131. data/ext/commonmarker/cmark/build/man/Makefile +0 -196
  132. data/ext/commonmarker/cmark/build/man/cmake_install.cmake +0 -37
  133. data/ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  134. data/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake-gfm/cmark-gfm-release.cmake +0 -38
  135. data/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake-gfm/cmark-gfm.cmake +0 -95
  136. data/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark-release.cmake +0 -38
  137. data/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark.cmake +0 -95
  138. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/DependInfo.cmake +0 -30
  139. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/build.make +0 -115
  140. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/cmake_clean.cmake +0 -10
  141. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/depend.make +0 -2
  142. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/flags.make +0 -10
  143. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/link.txt +0 -1
  144. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/progress.make +0 -3
  145. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/DependInfo.cmake +0 -58
  146. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/build.make +0 -765
  147. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/cmake_clean.cmake +0 -35
  148. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/depend.make +0 -2
  149. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/flags.make +0 -10
  150. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/link.txt +0 -1
  151. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/progress.make +0 -27
  152. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/C.includecache +0 -624
  153. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/DependInfo.cmake +0 -52
  154. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/arena.c.o +0 -0
  155. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/blocks.c.o +0 -0
  156. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/buffer.c.o +0 -0
  157. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/build.make +0 -762
  158. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmake_clean.cmake +0 -34
  159. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmake_clean_target.cmake +0 -3
  160. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmark.c.o +0 -0
  161. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmark_ctype.c.o +0 -0
  162. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/commonmark.c.o +0 -0
  163. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/depend.internal +0 -310
  164. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/depend.make +0 -310
  165. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/flags.make +0 -10
  166. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_href_e.c.o +0 -0
  167. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_html_e.c.o +0 -0
  168. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_html_u.c.o +0 -0
  169. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/html.c.o +0 -0
  170. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/inlines.c.o +0 -0
  171. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/iterator.c.o +0 -0
  172. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/latex.c.o +0 -0
  173. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/link.txt +0 -2
  174. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/linked_list.c.o +0 -0
  175. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/man.c.o +0 -0
  176. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/node.c.o +0 -0
  177. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/plaintext.c.o +0 -0
  178. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/plugin.c.o +0 -0
  179. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/progress.make +0 -27
  180. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/references.c.o +0 -0
  181. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/registry.c.o +0 -0
  182. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/render.c.o +0 -0
  183. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/scanners.c.o +0 -0
  184. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/syntax_extension.c.o +0 -0
  185. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/utf8.c.o +0 -0
  186. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/xml.c.o +0 -0
  187. data/ext/commonmarker/cmark/build/src/CMakeFiles/progress.marks +0 -1
  188. data/ext/commonmarker/cmark/build/src/Makefile +0 -1099
  189. data/ext/commonmarker/cmark/build/src/cmake_install.cmake +0 -97
  190. data/ext/commonmarker/cmark/build/src/cmark_export.h +0 -42
  191. data/ext/commonmarker/cmark/build/src/cmark_version.h +0 -8
  192. data/ext/commonmarker/cmark/build/src/config.h +0 -76
  193. data/ext/commonmarker/cmark/build/src/libcmark-gfm.a +0 -0
  194. data/ext/commonmarker/cmark/build/src/libcmark-gfm.pc +0 -10
  195. data/ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  196. data/ext/commonmarker/cmark/build/testdir/CMakeFiles/progress.marks +0 -1
  197. data/ext/commonmarker/cmark/build/testdir/CTestTestfile.cmake +0 -17
  198. data/ext/commonmarker/cmark/build/testdir/Makefile +0 -196
  199. data/ext/commonmarker/cmark/build/testdir/cmake_install.cmake +0 -29
@@ -1,29 +0,0 @@
1
- # Install script for directory: /Users/gjtorikian/Developer/commonmarker/ext/commonmarker/cmark/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
-