commonmarker 0.5.0 → 0.5.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 (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -10
  3. data/ext/commonmarker/cmark/Makefile.nmake +2 -2
  4. data/ext/commonmarker/cmark/build/CMakeCache.txt +66 -23
  5. data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeCCompiler.cmake +63 -0
  6. data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeCXXCompiler.cmake +64 -0
  7. data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeDetermineCompilerABI_C.bin +0 -0
  8. data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
  9. data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeSystem.cmake +15 -0
  10. data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CompilerIdC/CMakeCCompilerId.c +508 -0
  11. data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CompilerIdC/a.out +0 -0
  12. data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +498 -0
  13. data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CompilerIdCXX/a.out +0 -0
  14. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  15. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log +453 -0
  16. data/ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake +110 -59
  17. data/ext/commonmarker/cmark/build/CMakeFiles/Makefile2 +42 -18
  18. data/ext/commonmarker/cmark/build/CMakeFiles/TargetDirectories.txt +1 -1
  19. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin +0 -0
  20. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.c +34 -0
  21. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.cxx +405 -0
  22. data/ext/commonmarker/cmark/build/CMakeFiles/progress.marks +1 -1
  23. data/ext/commonmarker/cmark/build/CTestTestfile.cmake +5 -5
  24. data/ext/commonmarker/cmark/build/Makefile +66 -53
  25. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  26. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake +17 -14
  27. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make +23 -13
  28. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake +4 -4
  29. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make +1 -1
  30. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt +1 -1
  31. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/progress.make +1 -0
  32. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/progress.marks +1 -1
  33. data/ext/commonmarker/cmark/build/api_test/Makefile +76 -53
  34. data/ext/commonmarker/cmark/build/api_test/cmake_install.cmake +20 -20
  35. data/ext/commonmarker/cmark/build/cmake_install.cmake +35 -35
  36. data/ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  37. data/ext/commonmarker/cmark/build/man/Makefile +65 -52
  38. data/ext/commonmarker/cmark/build/man/cmake_install.cmake +26 -26
  39. data/ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  40. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/DependInfo.cmake +8 -11
  41. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/build.make +134 -107
  42. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmake_clean.cmake +4 -4
  43. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/flags.make +2 -4
  44. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/progress.make +21 -20
  45. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/DependInfo.cmake +11 -14
  46. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/build.make +72 -45
  47. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmake_clean.cmake +4 -4
  48. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/flags.make +1 -1
  49. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/link.txt +1 -1
  50. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/progress.make +20 -19
  51. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/DependInfo.cmake +8 -11
  52. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/blocks.c.o +0 -0
  53. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/buffer.c.o +0 -0
  54. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/build.make +128 -102
  55. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean.cmake +4 -4
  56. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean_target.cmake +1 -1
  57. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark.c.o +0 -0
  58. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark_ctype.c.o +0 -0
  59. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/commonmark.c.o +0 -0
  60. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.internal +1 -1
  61. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.make +1 -1
  62. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/flags.make +2 -4
  63. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_href_e.c.o +0 -0
  64. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_html_e.c.o +0 -0
  65. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_html_u.c.o +0 -0
  66. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/html.c.o +0 -0
  67. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/inlines.c.o +0 -0
  68. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/iterator.c.o +0 -0
  69. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/latex.c.o +0 -0
  70. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/link.txt +1 -1
  71. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/man.c.o +0 -0
  72. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/node.c.o +0 -0
  73. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/progress.make +20 -19
  74. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/references.c.o +0 -0
  75. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/render.c.o +0 -0
  76. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/scanners.c.o +0 -0
  77. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/utf8.c.o +0 -0
  78. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/xml.c.o +0 -0
  79. data/ext/commonmarker/cmark/build/src/CMakeFiles/progress.marks +1 -1
  80. data/ext/commonmarker/cmark/build/src/Makefile +127 -51
  81. data/ext/commonmarker/cmark/build/src/cmake_install.cmake +44 -47
  82. data/ext/commonmarker/cmark/build/src/cmark_export.h +8 -2
  83. data/ext/commonmarker/cmark/build/src/libcmark.a +0 -0
  84. data/ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  85. data/ext/commonmarker/cmark/build/testdir/CTestTestfile.cmake +7 -7
  86. data/ext/commonmarker/cmark/build/testdir/Makefile +65 -52
  87. data/ext/commonmarker/cmark/build/testdir/cmake_install.cmake +20 -20
  88. data/ext/commonmarker/cmark/src/commonmark.c +1 -1
  89. data/ext/commonmarker/cmark/src/xml.c +1 -1
  90. data/lib/commonmarker.rb +14 -7
  91. data/lib/commonmarker/config.rb +27 -19
  92. data/lib/commonmarker/version.rb +1 -1
  93. data/test/test_encoding.rb +2 -1
  94. data/test/test_linebreaks.rb +0 -6
  95. data/test/test_maliciousness.rb +10 -0
  96. data/test/test_smartpunct.rb +8 -1
  97. metadata +15 -3
@@ -1,72 +1,69 @@
1
1
  # Install script for directory: /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/src
2
2
 
3
3
  # Set the install prefix
4
- IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
5
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
6
- ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
7
- STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_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
8
 
9
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_]+" ""
10
+ if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11
+ if(BUILD_TYPE)
12
+ string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13
13
  CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14
- ELSE(BUILD_TYPE)
15
- SET(CMAKE_INSTALL_CONFIG_NAME "Release")
16
- ENDIF(BUILD_TYPE)
17
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18
- ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
14
+ else()
15
+ set(CMAKE_INSTALL_CONFIG_NAME "Release")
16
+ endif()
17
+ message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18
+ endif()
19
19
 
20
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(COMPONENT)
26
- SET(CMAKE_INSTALL_COMPONENT)
27
- ENDIF(COMPONENT)
28
- ENDIF(NOT CMAKE_INSTALL_COMPONENT)
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
29
 
30
- IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
31
- FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/libcmark.pc")
32
- ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
30
+ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
31
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/libcmark.pc")
32
+ endif()
33
33
 
34
- IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
35
- FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/cmark")
36
- IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark" AND
34
+ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
35
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/cmark")
36
+ if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark" AND
37
37
  NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark")
38
- IF(CMAKE_INSTALL_DO_STRIP)
39
- EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark")
40
- ENDIF(CMAKE_INSTALL_DO_STRIP)
41
- ENDIF()
42
- ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
38
+ if(CMAKE_INSTALL_DO_STRIP)
39
+ execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark")
40
+ endif()
41
+ endif()
42
+ endif()
43
43
 
44
- IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
45
- FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
44
+ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
45
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
46
46
  "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/libcmark.0.22.0.dylib"
47
47
  "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/libcmark.dylib"
48
48
  )
49
- FOREACH(file
49
+ foreach(file
50
50
  "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libcmark.0.22.0.dylib"
51
51
  "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libcmark.dylib"
52
52
  )
53
- IF(EXISTS "${file}" AND
53
+ if(EXISTS "${file}" AND
54
54
  NOT IS_SYMLINK "${file}")
55
- EXECUTE_PROCESS(COMMAND "/usr/bin/install_name_tool"
56
- -id "libcmark.0.22.0.dylib"
57
- "${file}")
58
- IF(CMAKE_INSTALL_DO_STRIP)
59
- EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "${file}")
60
- ENDIF(CMAKE_INSTALL_DO_STRIP)
61
- ENDIF()
62
- ENDFOREACH()
63
- ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
55
+ if(CMAKE_INSTALL_DO_STRIP)
56
+ execute_process(COMMAND "/usr/bin/strip" "${file}")
57
+ endif()
58
+ endif()
59
+ endforeach()
60
+ endif()
64
61
 
65
- IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
66
- FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE FILE FILES
62
+ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
63
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE FILE FILES
67
64
  "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/src/cmark.h"
68
65
  "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/cmark_export.h"
69
66
  "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/cmark_version.h"
70
67
  )
71
- ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
68
+ endif()
72
69
 
@@ -23,8 +23,14 @@
23
23
 
24
24
  #ifndef CMARK_DEPRECATED
25
25
  # define CMARK_DEPRECATED __attribute__ ((__deprecated__))
26
- # define CMARK_DEPRECATED_EXPORT CMARK_EXPORT __attribute__ ((__deprecated__))
27
- # define CMARK_DEPRECATED_NO_EXPORT CMARK_NO_EXPORT __attribute__ ((__deprecated__))
26
+ #endif
27
+
28
+ #ifndef CMARK_DEPRECATED_EXPORT
29
+ # define CMARK_DEPRECATED_EXPORT CMARK_EXPORT CMARK_DEPRECATED
30
+ #endif
31
+
32
+ #ifndef CMARK_DEPRECATED_NO_EXPORT
33
+ # define CMARK_DEPRECATED_NO_EXPORT CMARK_NO_EXPORT CMARK_DEPRECATED
28
34
  #endif
29
35
 
30
36
  #define DEFINE_NO_DEPRECATED 0
@@ -1,16 +1,16 @@
1
1
  # CMAKE generated file: DO NOT EDIT!
2
- # Generated by "Unix Makefiles" Generator, CMake Version 2.8
2
+ # Generated by "Unix Makefiles" Generator, CMake Version 3.3
3
3
 
4
4
  # Relative path conversion top directories.
5
- SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark")
6
- SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build")
5
+ set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark")
6
+ set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build")
7
7
 
8
8
  # Force unix paths in dependencies.
9
- SET(CMAKE_FORCE_UNIX_PATHS 1)
9
+ set(CMAKE_FORCE_UNIX_PATHS 1)
10
10
 
11
11
 
12
12
  # The C and CXX include file regular expressions for this directory.
13
- SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
14
- SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
15
- SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
16
- SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
13
+ set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
14
+ set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
15
+ set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
16
+ set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
@@ -2,11 +2,11 @@
2
2
  # Source directory: /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test
3
3
  # Build directory: /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/testdir
4
4
  #
5
- # This file includes the relevent testing commands required for
5
+ # This file includes the relevant testing commands required for
6
6
  # testing this directory and lists subdirectories to be tested as well.
7
- ADD_TEST(api_test "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/api_test/api_test")
8
- ADD_TEST(html_normalization "/usr/local/bin/python3" "-m" "doctest" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/normalize.py")
9
- ADD_TEST(spectest_library "/usr/local/bin/python3" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/spec.txt" "--library-dir" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/testdir/../src")
10
- ADD_TEST(pathological_tests_library "/usr/local/bin/python3" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/pathological_tests.py" "--library-dir" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/testdir/../src")
11
- ADD_TEST(spectest_executable "/usr/local/bin/python3" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/spec.txt" "--program" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/testdir/../src/cmark")
12
- ADD_TEST(smartpuncttest_executable "/usr/local/bin/python3" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/smart_punct.txt" "--program" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/testdir/../src/cmark --smart")
7
+ add_test(api_test "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/api_test/api_test")
8
+ add_test(html_normalization "/usr/local/bin/python3" "-m" "doctest" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/normalize.py")
9
+ add_test(spectest_library "/usr/local/bin/python3" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/spec.txt" "--library-dir" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/testdir/../src")
10
+ add_test(pathological_tests_library "/usr/local/bin/python3" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/pathological_tests.py" "--library-dir" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/testdir/../src")
11
+ add_test(spectest_executable "/usr/local/bin/python3" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/spec.txt" "--program" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/testdir/../src/cmark")
12
+ add_test(smartpuncttest_executable "/usr/local/bin/python3" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test/smart_punct.txt" "--program" "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/testdir/../src/cmark --smart")
@@ -1,26 +1,35 @@
1
1
  # CMAKE generated file: DO NOT EDIT!
2
- # Generated by "Unix Makefiles" Generator, CMake Version 2.8
2
+ # Generated by "Unix Makefiles" Generator, CMake Version 3.3
3
3
 
4
4
  # Default target executed when no arguments are given to make.
5
5
  default_target: all
6
+
6
7
  .PHONY : default_target
7
8
 
9
+ # Allow only one "make -f Makefile2" at a time, but pass parallelism.
10
+ .NOTPARALLEL:
11
+
12
+
8
13
  #=============================================================================
9
14
  # Special targets provided by cmake.
10
15
 
11
16
  # Disable implicit rules so canonical targets will work.
12
17
  .SUFFIXES:
13
18
 
19
+
14
20
  # Remove some rules from gmake that .SUFFIXES does not remove.
15
21
  SUFFIXES =
16
22
 
17
23
  .SUFFIXES: .hpux_make_needs_suffix_list
18
24
 
25
+
19
26
  # Suppress display of executed commands.
20
27
  $(VERBOSE).SILENT:
21
28
 
29
+
22
30
  # A target that is always out of date.
23
31
  cmake_force:
32
+
24
33
  .PHONY : cmake_force
25
34
 
26
35
  #=============================================================================
@@ -30,17 +39,14 @@ cmake_force:
30
39
  SHELL = /bin/sh
31
40
 
32
41
  # The CMake executable.
33
- CMAKE_COMMAND = /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake
42
+ CMAKE_COMMAND = /usr/local/Cellar/cmake/3.3.2/bin/cmake
34
43
 
35
44
  # The command to remove a file.
36
- RM = /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake -E remove -f
45
+ RM = /usr/local/Cellar/cmake/3.3.2/bin/cmake -E remove -f
37
46
 
38
47
  # Escaping for special characters.
39
48
  EQUALS = =
40
49
 
41
- # The program to use to edit the cache.
42
- CMAKE_EDIT_COMMAND = /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/ccmake
43
-
44
50
  # The top-level source directory on which CMake was run.
45
51
  CMAKE_SOURCE_DIR = /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark
46
52
 
@@ -50,6 +56,28 @@ CMAKE_BINARY_DIR = /Users/gjtorikian/Development/commonmarker/ext/commonmarker/c
50
56
  #=============================================================================
51
57
  # Targets provided globally by CMake.
52
58
 
59
+ # Special rule for the target test
60
+ test:
61
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
62
+ /usr/local/Cellar/cmake/3.3.2/bin/ctest --force-new-ctest-process $(ARGS)
63
+ .PHONY : test
64
+
65
+ # Special rule for the target test
66
+ test/fast: test
67
+
68
+ .PHONY : test/fast
69
+
70
+ # Special rule for the target install/local
71
+ install/local: preinstall
72
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
73
+ /usr/local/Cellar/cmake/3.3.2/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
74
+ .PHONY : install/local
75
+
76
+ # Special rule for the target install/local
77
+ install/local/fast: install/local
78
+
79
+ .PHONY : install/local/fast
80
+
53
81
  # Special rule for the target edit_cache
54
82
  edit_cache:
55
83
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
@@ -58,68 +86,52 @@ edit_cache:
58
86
 
59
87
  # Special rule for the target edit_cache
60
88
  edit_cache/fast: edit_cache
89
+
61
90
  .PHONY : edit_cache/fast
62
91
 
92
+ # Special rule for the target rebuild_cache
93
+ rebuild_cache:
94
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
95
+ /usr/local/Cellar/cmake/3.3.2/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
96
+ .PHONY : rebuild_cache
97
+
98
+ # Special rule for the target rebuild_cache
99
+ rebuild_cache/fast: rebuild_cache
100
+
101
+ .PHONY : rebuild_cache/fast
102
+
103
+ # Special rule for the target list_install_components
104
+ list_install_components:
105
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
106
+ .PHONY : list_install_components
107
+
108
+ # Special rule for the target list_install_components
109
+ list_install_components/fast: list_install_components
110
+
111
+ .PHONY : list_install_components/fast
112
+
63
113
  # Special rule for the target install
64
114
  install: preinstall
65
115
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
66
- /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake -P cmake_install.cmake
116
+ /usr/local/Cellar/cmake/3.3.2/bin/cmake -P cmake_install.cmake
67
117
  .PHONY : install
68
118
 
69
119
  # Special rule for the target install
70
120
  install/fast: preinstall/fast
71
121
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
72
- /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake -P cmake_install.cmake
122
+ /usr/local/Cellar/cmake/3.3.2/bin/cmake -P cmake_install.cmake
73
123
  .PHONY : install/fast
74
124
 
75
- # Special rule for the target install/local
76
- install/local: preinstall
77
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
78
- /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
79
- .PHONY : install/local
80
-
81
- # Special rule for the target install/local
82
- install/local/fast: install/local
83
- .PHONY : install/local/fast
84
-
85
125
  # Special rule for the target install/strip
86
126
  install/strip: preinstall
87
127
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
88
- /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
128
+ /usr/local/Cellar/cmake/3.3.2/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
89
129
  .PHONY : install/strip
90
130
 
91
131
  # Special rule for the target install/strip
92
132
  install/strip/fast: install/strip
93
- .PHONY : install/strip/fast
94
-
95
- # Special rule for the target list_install_components
96
- list_install_components:
97
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
98
- .PHONY : list_install_components
99
-
100
- # Special rule for the target list_install_components
101
- list_install_components/fast: list_install_components
102
- .PHONY : list_install_components/fast
103
133
 
104
- # Special rule for the target rebuild_cache
105
- rebuild_cache:
106
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
107
- /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
108
- .PHONY : rebuild_cache
109
-
110
- # Special rule for the target rebuild_cache
111
- rebuild_cache/fast: rebuild_cache
112
- .PHONY : rebuild_cache/fast
113
-
114
- # Special rule for the target test
115
- test:
116
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
117
- /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/ctest --force-new-ctest-process $(ARGS)
118
- .PHONY : test
119
-
120
- # Special rule for the target test
121
- test/fast: test
122
- .PHONY : test/fast
134
+ .PHONY : install/strip/fast
123
135
 
124
136
  # The main all target
125
137
  all: cmake_check_build_system
@@ -135,6 +147,7 @@ clean:
135
147
 
136
148
  # The main clean target
137
149
  clean/fast: clean
150
+
138
151
  .PHONY : clean/fast
139
152
 
140
153
  # Prepare targets for installation.
@@ -158,13 +171,13 @@ help:
158
171
  @echo "... all (the default if no target is provided)"
159
172
  @echo "... clean"
160
173
  @echo "... depend"
174
+ @echo "... test"
175
+ @echo "... install/local"
161
176
  @echo "... edit_cache"
177
+ @echo "... rebuild_cache"
178
+ @echo "... list_install_components"
162
179
  @echo "... install"
163
- @echo "... install/local"
164
180
  @echo "... install/strip"
165
- @echo "... list_install_components"
166
- @echo "... rebuild_cache"
167
- @echo "... test"
168
181
  .PHONY : help
169
182
 
170
183
 
@@ -1,29 +1,29 @@
1
1
  # Install script for directory: /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/test
2
2
 
3
3
  # Set the install prefix
4
- IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
5
- SET(CMAKE_INSTALL_PREFIX "/usr/local")
6
- ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
7
- STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_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
8
 
9
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_]+" ""
10
+ if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11
+ if(BUILD_TYPE)
12
+ string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13
13
  CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14
- ELSE(BUILD_TYPE)
15
- SET(CMAKE_INSTALL_CONFIG_NAME "Release")
16
- ENDIF(BUILD_TYPE)
17
- MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18
- ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
14
+ else()
15
+ set(CMAKE_INSTALL_CONFIG_NAME "Release")
16
+ endif()
17
+ message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18
+ endif()
19
19
 
20
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(COMPONENT)
26
- SET(CMAKE_INSTALL_COMPONENT)
27
- ENDIF(COMPONENT)
28
- ENDIF(NOT CMAKE_INSTALL_COMPONENT)
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
29
 
@@ -95,7 +95,7 @@ static int shortest_unused_backtick_sequence(const char *code) {
95
95
  used = used >> 1;
96
96
  i++;
97
97
  }
98
- return i;
98
+ return (int)i;
99
99
  }
100
100
 
101
101
  static bool is_autolink(cmark_node *node) {
@@ -140,7 +140,7 @@ char *cmark_render_xml(cmark_node *root, int options) {
140
140
 
141
141
  cmark_strbuf_puts(state.xml, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
142
142
  cmark_strbuf_puts(state.xml,
143
- "<!DOCTYPE CommonMark SYSTEM \"CommonMark.dtd\">\n");
143
+ "<!DOCTYPE document SYSTEM \"CommonMark.dtd\">\n");
144
144
  while ((ev_type = cmark_iter_next(iter)) != CMARK_EVENT_DONE) {
145
145
  cur = cmark_iter_get_node(iter);
146
146
  S_render_node(cur, ev_type, &state, options);