commonmarker 0.9.2 → 0.10.0

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 (82) hide show
  1. checksums.yaml +4 -4
  2. data/ext/commonmarker/cmark/CMakeLists.txt +10 -2
  3. data/ext/commonmarker/cmark/Makefile +11 -13
  4. data/ext/commonmarker/cmark/README.md +1 -1
  5. data/ext/commonmarker/cmark/api_test/main.c +18 -14
  6. data/ext/commonmarker/cmark/build/CMakeCache.txt +8 -8
  7. data/ext/commonmarker/cmark/build/CMakeFiles/{3.5.2 → 3.6.0}/CMakeCCompiler.cmake +0 -0
  8. data/ext/commonmarker/cmark/build/CMakeFiles/{3.5.2 → 3.6.0}/CMakeCXXCompiler.cmake +0 -0
  9. data/ext/commonmarker/cmark/build/CMakeFiles/{3.5.2 → 3.6.0}/CMakeDetermineCompilerABI_C.bin +0 -0
  10. data/ext/commonmarker/cmark/build/CMakeFiles/{3.5.2 → 3.6.0}/CMakeDetermineCompilerABI_CXX.bin +0 -0
  11. data/ext/commonmarker/cmark/build/CMakeFiles/{3.5.2 → 3.6.0}/CMakeSystem.cmake +0 -0
  12. data/ext/commonmarker/cmark/build/CMakeFiles/{3.5.2 → 3.6.0}/CompilerIdC/CMakeCCompilerId.c +26 -9
  13. data/ext/commonmarker/cmark/build/CMakeFiles/{3.5.2 → 3.6.0}/CompilerIdC/a.out +0 -0
  14. data/ext/commonmarker/cmark/build/CMakeFiles/{3.5.2 → 3.6.0}/CompilerIdCXX/CMakeCXXCompilerId.cpp +3 -3
  15. data/ext/commonmarker/cmark/build/CMakeFiles/{3.5.2 → 3.6.0}/CompilerIdCXX/a.out +0 -0
  16. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
  17. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log +6 -6
  18. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log +143 -143
  19. data/ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake +108 -107
  20. data/ext/commonmarker/cmark/build/CMakeFiles/Makefile2 +3 -3
  21. data/ext/commonmarker/cmark/build/Makefile +10 -10
  22. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
  23. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make +4 -4
  24. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make +1 -1
  25. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt +1 -1
  26. data/ext/commonmarker/cmark/build/api_test/Makefile +10 -10
  27. data/ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
  28. data/ext/commonmarker/cmark/build/man/Makefile +10 -10
  29. data/ext/commonmarker/cmark/build/man/cmake_install.cmake +2 -2
  30. data/ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
  31. data/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark-release.cmake +38 -0
  32. data/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark.cmake +92 -0
  33. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/build.make +3 -3
  34. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/flags.make +1 -1
  35. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/DependInfo.cmake +1 -1
  36. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/build.make +26 -26
  37. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmake_clean.cmake +1 -1
  38. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/flags.make +1 -1
  39. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/link.txt +1 -1
  40. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/C.includecache +0 -4
  41. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/blocks.c.o +0 -0
  42. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/build.make +3 -3
  43. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark.c.o +0 -0
  44. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.internal +1 -1
  45. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.make +1 -1
  46. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/flags.make +1 -1
  47. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/inlines.c.o +0 -0
  48. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/node.c.o +0 -0
  49. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/references.c.o +0 -0
  50. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/scanners.c.o +0 -0
  51. data/ext/commonmarker/cmark/build/src/Makefile +10 -10
  52. data/ext/commonmarker/cmark/build/src/cmake_install.cmake +26 -7
  53. data/ext/commonmarker/cmark/build/src/cmark_export.h +4 -3
  54. data/ext/commonmarker/cmark/build/src/cmark_version.h +2 -2
  55. data/ext/commonmarker/cmark/build/src/config.h +0 -8
  56. data/ext/commonmarker/cmark/build/src/libcmark.a +0 -0
  57. data/ext/commonmarker/cmark/build/src/libcmark.pc +1 -1
  58. data/ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake +1 -1
  59. data/ext/commonmarker/cmark/build/testdir/Makefile +10 -10
  60. data/ext/commonmarker/cmark/changelog.txt +111 -0
  61. data/ext/commonmarker/cmark/man/man3/cmark.3 +26 -26
  62. data/ext/commonmarker/cmark/src/CMakeLists.txt +3 -0
  63. data/ext/commonmarker/cmark/src/blocks.c +50 -37
  64. data/ext/commonmarker/cmark/src/buffer.c +5 -5
  65. data/ext/commonmarker/cmark/src/buffer.h +4 -2
  66. data/ext/commonmarker/cmark/src/chunk.h +8 -5
  67. data/ext/commonmarker/cmark/src/cmark.c +5 -3
  68. data/ext/commonmarker/cmark/src/cmark.h +7 -6
  69. data/ext/commonmarker/cmark/src/commonmark.c +8 -10
  70. data/ext/commonmarker/cmark/src/config.h.in +0 -8
  71. data/ext/commonmarker/cmark/src/inlines.c +93 -45
  72. data/ext/commonmarker/cmark/src/inlines.h +2 -2
  73. data/ext/commonmarker/cmark/src/node.c +0 -3
  74. data/ext/commonmarker/cmark/src/references.c +3 -2
  75. data/ext/commonmarker/cmark/src/render.c +6 -5
  76. data/ext/commonmarker/cmark/src/scanners.c +1050 -1053
  77. data/ext/commonmarker/cmark/src/scanners.re +4 -4
  78. data/ext/commonmarker/cmark/test/pathological_tests.py +1 -1
  79. data/ext/commonmarker/cmark/test/spec.txt +179 -196
  80. data/lib/commonmarker/version.rb +1 -1
  81. data/test/test_attributes.rb +1 -1
  82. metadata +13 -11
@@ -1,5 +1,5 @@
1
1
  # CMAKE generated file: DO NOT EDIT!
2
- # Generated by "Unix Makefiles" Generator, CMake Version 3.5
2
+ # Generated by "Unix Makefiles" Generator, CMake Version 3.6
3
3
 
4
4
  # Default target executed when no arguments are given to make.
5
5
  default_target: all
@@ -39,10 +39,10 @@ cmake_force:
39
39
  SHELL = /bin/sh
40
40
 
41
41
  # The CMake executable.
42
- CMAKE_COMMAND = /usr/local/Cellar/cmake/3.5.2/bin/cmake
42
+ CMAKE_COMMAND = /usr/local/Cellar/cmake/3.6.0_1/bin/cmake
43
43
 
44
44
  # The command to remove a file.
45
- RM = /usr/local/Cellar/cmake/3.5.2/bin/cmake -E remove -f
45
+ RM = /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -E remove -f
46
46
 
47
47
  # Escaping for special characters.
48
48
  EQUALS = =
@@ -59,7 +59,7 @@ CMAKE_BINARY_DIR = /Users/gjtorikian/Development/commonmarker/ext/commonmarker/c
59
59
  # Special rule for the target test
60
60
  test:
61
61
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
62
- /usr/local/Cellar/cmake/3.5.2/bin/ctest --force-new-ctest-process $(ARGS)
62
+ /usr/local/Cellar/cmake/3.6.0_1/bin/ctest --force-new-ctest-process $(ARGS)
63
63
  .PHONY : test
64
64
 
65
65
  # Special rule for the target test
@@ -70,7 +70,7 @@ test/fast: test
70
70
  # Special rule for the target install/local
71
71
  install/local: preinstall
72
72
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
73
- /usr/local/Cellar/cmake/3.5.2/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
73
+ /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
74
74
  .PHONY : install/local
75
75
 
76
76
  # Special rule for the target install/local
@@ -91,19 +91,19 @@ list_install_components/fast: list_install_components
91
91
  # Special rule for the target install
92
92
  install: preinstall
93
93
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
94
- /usr/local/Cellar/cmake/3.5.2/bin/cmake -P cmake_install.cmake
94
+ /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -P cmake_install.cmake
95
95
  .PHONY : install
96
96
 
97
97
  # Special rule for the target install
98
98
  install/fast: preinstall/fast
99
99
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
100
- /usr/local/Cellar/cmake/3.5.2/bin/cmake -P cmake_install.cmake
100
+ /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -P cmake_install.cmake
101
101
  .PHONY : install/fast
102
102
 
103
103
  # Special rule for the target install/strip
104
104
  install/strip: preinstall
105
105
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
106
- /usr/local/Cellar/cmake/3.5.2/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
106
+ /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
107
107
  .PHONY : install/strip
108
108
 
109
109
  # Special rule for the target install/strip
@@ -114,7 +114,7 @@ install/strip/fast: install/strip
114
114
  # Special rule for the target rebuild_cache
115
115
  rebuild_cache:
116
116
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
117
- /usr/local/Cellar/cmake/3.5.2/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
117
+ /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
118
118
  .PHONY : rebuild_cache
119
119
 
120
120
  # Special rule for the target rebuild_cache
@@ -125,7 +125,7 @@ rebuild_cache/fast: rebuild_cache
125
125
  # Special rule for the target edit_cache
126
126
  edit_cache:
127
127
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
128
- /usr/local/Cellar/cmake/3.5.2/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
128
+ /usr/local/Cellar/cmake/3.6.0_1/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
129
129
  .PHONY : edit_cache
130
130
 
131
131
  # Special rule for the target edit_cache
@@ -27,11 +27,11 @@ if(NOT CMAKE_INSTALL_COMPONENT)
27
27
  endif()
28
28
  endif()
29
29
 
30
- if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
30
+ if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
31
31
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/libcmark.pc")
32
32
  endif()
33
33
 
34
- if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
34
+ if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
35
35
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/cmark")
36
36
  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark" AND
37
37
  NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark")
@@ -41,13 +41,13 @@ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspeci
41
41
  endif()
42
42
  endif()
43
43
 
44
- if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
44
+ if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
45
45
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
46
- "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/libcmark.0.25.2.dylib"
46
+ "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/libcmark.0.26.1.dylib"
47
47
  "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/libcmark.dylib"
48
48
  )
49
49
  foreach(file
50
- "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libcmark.0.25.2.dylib"
50
+ "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libcmark.0.26.1.dylib"
51
51
  "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libcmark.dylib"
52
52
  )
53
53
  if(EXISTS "${file}" AND
@@ -59,7 +59,7 @@ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspeci
59
59
  endforeach()
60
60
  endif()
61
61
 
62
- if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
62
+ if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
63
63
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/libcmark.a")
64
64
  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libcmark.a" AND
65
65
  NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libcmark.a")
@@ -67,7 +67,7 @@ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspeci
67
67
  endif()
68
68
  endif()
69
69
 
70
- if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
70
+ if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
71
71
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE FILE FILES
72
72
  "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/src/cmark.h"
73
73
  "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/cmark_export.h"
@@ -75,3 +75,22 @@ if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspeci
75
75
  )
76
76
  endif()
77
77
 
78
+ if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
79
+ if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/cmark.cmake")
80
+ file(DIFFERENT EXPORT_FILE_CHANGED FILES
81
+ "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/cmark.cmake"
82
+ "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark.cmake")
83
+ if(EXPORT_FILE_CHANGED)
84
+ file(GLOB OLD_CONFIG_FILES "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/cmark-*.cmake")
85
+ if(OLD_CONFIG_FILES)
86
+ message(STATUS "Old export file \"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/cmark.cmake\" will be replaced. Removing files [${OLD_CONFIG_FILES}].")
87
+ file(REMOVE ${OLD_CONFIG_FILES})
88
+ endif()
89
+ endif()
90
+ endif()
91
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake" TYPE FILE FILES "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark.cmake")
92
+ if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$")
93
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake" TYPE FILE FILES "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark-release.cmake")
94
+ endif()
95
+ endif()
96
+
@@ -33,9 +33,10 @@
33
33
  # define CMARK_DEPRECATED_NO_EXPORT CMARK_NO_EXPORT CMARK_DEPRECATED
34
34
  #endif
35
35
 
36
- #define DEFINE_NO_DEPRECATED 0
37
- #if DEFINE_NO_DEPRECATED
38
- # define CMARK_NO_DEPRECATED
36
+ #if 0 /* DEFINE_NO_DEPRECATED */
37
+ # ifndef CMARK_NO_DEPRECATED
38
+ # define CMARK_NO_DEPRECATED
39
+ # endif
39
40
  #endif
40
41
 
41
42
  #endif
@@ -1,7 +1,7 @@
1
1
  #ifndef CMARK_VERSION_H
2
2
  #define CMARK_VERSION_H
3
3
 
4
- #define CMARK_VERSION ((0 << 16) | (25 << 8) | 2)
5
- #define CMARK_VERSION_STRING "0.25.2"
4
+ #define CMARK_VERSION ((0 << 16) | (26 << 8) | 1)
5
+ #define CMARK_VERSION_STRING "0.26.1"
6
6
 
7
7
  #endif
@@ -69,14 +69,6 @@ CMARK_INLINE int c99_snprintf(char *outBuf, size_t size, const char *format, ...
69
69
 
70
70
  #endif
71
71
 
72
- #ifdef _WIN32
73
- # include <BaseTsd.h>
74
- typedef SSIZE_T ssize_t;
75
- typedef SIZE_T size_t;
76
- #else
77
- # include <sys/types.h>
78
- #endif
79
-
80
72
  #ifdef __cplusplus
81
73
  }
82
74
  #endif
@@ -5,6 +5,6 @@ includedir=/usr/local/include
5
5
 
6
6
  Name: libcmark
7
7
  Description: CommonMark parsing, rendering, and manipulation
8
- Version: 0.25.2
8
+ Version: 0.26.1
9
9
  Libs: -L${libdir} -lcmark
10
10
  Cflags: -I${includedir}
@@ -1,5 +1,5 @@
1
1
  # CMAKE generated file: DO NOT EDIT!
2
- # Generated by "Unix Makefiles" Generator, CMake Version 3.5
2
+ # Generated by "Unix Makefiles" Generator, CMake Version 3.6
3
3
 
4
4
  # Relative path conversion top directories.
5
5
  set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark")
@@ -1,5 +1,5 @@
1
1
  # CMAKE generated file: DO NOT EDIT!
2
- # Generated by "Unix Makefiles" Generator, CMake Version 3.5
2
+ # Generated by "Unix Makefiles" Generator, CMake Version 3.6
3
3
 
4
4
  # Default target executed when no arguments are given to make.
5
5
  default_target: all
@@ -39,10 +39,10 @@ cmake_force:
39
39
  SHELL = /bin/sh
40
40
 
41
41
  # The CMake executable.
42
- CMAKE_COMMAND = /usr/local/Cellar/cmake/3.5.2/bin/cmake
42
+ CMAKE_COMMAND = /usr/local/Cellar/cmake/3.6.0_1/bin/cmake
43
43
 
44
44
  # The command to remove a file.
45
- RM = /usr/local/Cellar/cmake/3.5.2/bin/cmake -E remove -f
45
+ RM = /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -E remove -f
46
46
 
47
47
  # Escaping for special characters.
48
48
  EQUALS = =
@@ -59,7 +59,7 @@ CMAKE_BINARY_DIR = /Users/gjtorikian/Development/commonmarker/ext/commonmarker/c
59
59
  # Special rule for the target test
60
60
  test:
61
61
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
62
- /usr/local/Cellar/cmake/3.5.2/bin/ctest --force-new-ctest-process $(ARGS)
62
+ /usr/local/Cellar/cmake/3.6.0_1/bin/ctest --force-new-ctest-process $(ARGS)
63
63
  .PHONY : test
64
64
 
65
65
  # Special rule for the target test
@@ -70,7 +70,7 @@ test/fast: test
70
70
  # Special rule for the target install/local
71
71
  install/local: preinstall
72
72
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
73
- /usr/local/Cellar/cmake/3.5.2/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
73
+ /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
74
74
  .PHONY : install/local
75
75
 
76
76
  # Special rule for the target install/local
@@ -81,7 +81,7 @@ install/local/fast: install/local
81
81
  # Special rule for the target edit_cache
82
82
  edit_cache:
83
83
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
84
- /usr/local/Cellar/cmake/3.5.2/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
84
+ /usr/local/Cellar/cmake/3.6.0_1/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
85
85
  .PHONY : edit_cache
86
86
 
87
87
  # Special rule for the target edit_cache
@@ -92,7 +92,7 @@ edit_cache/fast: edit_cache
92
92
  # Special rule for the target rebuild_cache
93
93
  rebuild_cache:
94
94
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
95
- /usr/local/Cellar/cmake/3.5.2/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
95
+ /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
96
96
  .PHONY : rebuild_cache
97
97
 
98
98
  # Special rule for the target rebuild_cache
@@ -113,19 +113,19 @@ list_install_components/fast: list_install_components
113
113
  # Special rule for the target install
114
114
  install: preinstall
115
115
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
116
- /usr/local/Cellar/cmake/3.5.2/bin/cmake -P cmake_install.cmake
116
+ /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -P cmake_install.cmake
117
117
  .PHONY : install
118
118
 
119
119
  # Special rule for the target install
120
120
  install/fast: preinstall/fast
121
121
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
122
- /usr/local/Cellar/cmake/3.5.2/bin/cmake -P cmake_install.cmake
122
+ /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -P cmake_install.cmake
123
123
  .PHONY : install/fast
124
124
 
125
125
  # Special rule for the target install/strip
126
126
  install/strip: preinstall
127
127
  @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
128
- /usr/local/Cellar/cmake/3.5.2/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
128
+ /usr/local/Cellar/cmake/3.6.0_1/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
129
129
  .PHONY : install/strip
130
130
 
131
131
  # Special rule for the target install/strip
@@ -1,3 +1,114 @@
1
+ [0.26.1]
2
+
3
+ * Removed unnecessary typedef that caused build failure on
4
+ some platforms.
5
+ * Use `$(MAKE)` in Makefile instead of hardcoded `make` (#146,
6
+ Tobias Kortkamp).
7
+
8
+ [0.26.0]
9
+
10
+ * Implement spec changes for list items:
11
+ - Empty list items cannot interrupt paragraphs.
12
+ - Ordered lists cannot interrupt paragraphs unless
13
+ they start with 1.
14
+ - Removed "two blank lines break out of a list" feature.
15
+ * Fix sourcepos for blockquotes (#142).
16
+ * Fix sourcepos for atx headers (#141).
17
+ * Fix ATX headers and thematic breaks to allow tabs as well as spaces.
18
+ * Fix `chunk_set_cstr` with suffix of current string (#139,
19
+ Nick Wellnhofer). It's possible that `cmark_chunk_set_cstr` is called
20
+ with a substring (suffix) of the current string. Delay freeing of the
21
+ chunk content to handle this case correctly.
22
+ * Export targets on installation (Jonathan Müller).
23
+ This allows using them in other cmake projects.
24
+ * Fix cmake warning about CMP0048 (Jonathan Müller).
25
+ * commonmark renderer: Ensure we don't have a blank line
26
+ before a code block when it's the first thing in a list
27
+ item.
28
+ * Change parsing of strong/emph in response to spec changes.
29
+ `process_emphasis` now gets better results in corner cases.
30
+ The change is this: when considering matches between an interior
31
+ delimiter run (one that can open and can close) and another delimiter
32
+ run, we require that the sum of the lengths of the two delimiter
33
+ runs mod 3 is not 0.
34
+ * Ported Robin Stocker's changes to link parsing in jgm/commonmark#101.
35
+ This uses a separate stack for brackets, instead of putting them on the
36
+ delimiter stack. This avoids the need for looking through the delimiter
37
+ stack for the next bracket.
38
+ * `cmark_reference_lookup`: Return NULL if reference is null string.
39
+ * Fix character type detection in `commonmark.c` (Nick Wellnhofer).
40
+ Fixes test failures on Windows and undefined behavior.
41
+ - Implement `cmark_isalpha`.
42
+ - Check for ASCII character before implicit cast to char.
43
+ - Use internal ctype functions in `commonmark.c`.
44
+ * Better documentation of memory-freeing responsibilities.
45
+ in `cmark.h` and its man page (#124).
46
+ * Use library functions to insert nodes in emphasis/link processing.
47
+ Previously we did this manually, which introduces many
48
+ places where errors can creep in.
49
+ * Correctly handle list marker followed only by spaces.
50
+ Previously when a list marker was followed only by spaces,
51
+ cmark expected the following content to be indented by
52
+ the same number of spaces. But in this case we should
53
+ treat the line just like a blank line and set list padding
54
+ accordingly.
55
+ * Fixed a number of issues relating to line wrapping.
56
+ - Extend `CMARK_OPT_NOBREAKS` to all renderers and add `--nobreaks`.
57
+ - Do not autowrap, regardless of width parameter, if
58
+ `CMARK_OPT_NOBREAKS` is set.
59
+ - Fixed `CMARK_OPT_HARDBREAKS` for LaTeX and man renderers.
60
+ - Ensure that no auto-wrapping occurs if
61
+ `CMARK_OPT_NOBREAKS` is enabled, or if output is CommonMark and
62
+ `CMARK_OPT_HARDBREAKS` is enabled.
63
+ * Set stdin to binary mode on Windows (Nick Wellnhofer, #113).
64
+ This fixes EOLs when reading from stdin.
65
+ * Add library option to render softbreaks as spaces (Pavlo
66
+ Kapyshin). Note that the `NOBREAKS` option is HTML-only
67
+ * renderer: `no_linebreaks` instead of `no_wrap`.
68
+ We generally want this option to prohibit any breaking
69
+ in things like headers (not just wraps, but softbreaks).
70
+ * Coerce `realurllen` to `int`. This is an alternate solution for pull
71
+ request #132, which introduced a new warning on the comparison
72
+ (Benedict Cohen).
73
+ * Remove unused variable `link_text` (Mathiew Duponchelle).
74
+ * Improved safety checks in buffer (Vicent Marti).
75
+ * Add new interface allowing specification of custom memory allocator
76
+ for nodes (Vicent Marti). Added `cmark_node_new_with_mem`,
77
+ `cmark_parser_new_with_mem`, `cmark_mem` to API.
78
+ * Reduce storage size for nodes by using bit flags instead of
79
+ separate booleans (Vicent Marti).
80
+ * config: Add `SSIZE_T` compat for Win32 (Vicent Marti).
81
+ * cmake: Global handler for OOM situations (Vicent Marti).
82
+ * Add tests for memory exhaustion (Vicent Marti).
83
+ * Document in man page and public header that one should use the same
84
+ memory allocator for every node in a tree.
85
+ * Fix ctypes in Python FFI calls (Nick Wellnhofer). This didn't cause
86
+ problems so far because all types are 32-bit on 32-bit systems and
87
+ arguments are passed in registers on x86-64. The wrong types could cause
88
+ crashes on other platforms, though.
89
+ * Remove spurious failures in roundtrip tests. In the commonmark writer we
90
+ separate lists, and lists and indented code, using a dummy HTML comment.
91
+ So in evaluating the round-trip tests, we now strip out
92
+ these comments. We also normalize HTML to avoid issues
93
+ having to do with line breaks.
94
+ * Add 2016 to copyright (Kevin Burke).
95
+ * Added `to_commonmark` in `test/cmark.py` (for round-trip tests).
96
+ * `spec_test.py` - parameterize `do_test` with converter.
97
+ * `spec_tests.py`: exit code is now sum of failures and errors.
98
+ This ensures that a failing exit code will be given when
99
+ there are errors, not just with failures.
100
+ * Fixed round trip tests. Previously they actually ran
101
+ `cmark` instead of the round-trip version, since there was a bug in
102
+ setting the ROUNDTRIP variable (#131).
103
+ * Added new `roundtrip_tests.py`. This replaces the old use of simple shell
104
+ scripts. It is much faster, and more flexible. (We will be able
105
+ to do custom normalization and skip certain tests.)
106
+ * Fix tests under MinGW (Nick Wellnhofer).
107
+ * Fix leak in `api_test` (Mathieu Duponchelle).
108
+ * Makefile: have leakcheck stop on first error instead of going through
109
+ all the formats and options and probably getting the same output.
110
+ * Add regression tests (Nick Wellnhofer).
111
+
1
112
  [0.25.2]
2
113
 
3
114
  * Open files in binary mode (#113, Nick Wellnhofer). Now that cmark
@@ -1,4 +1,4 @@
1
- .TH cmark 3 "June 06, 2016" "LOCAL" "Library Functions Manual"
1
+ .TH cmark 3 "June 23, 2016" "LOCAL" "Library Functions Manual"
2
2
  .SH
3
3
  NAME
4
4
  .PP
@@ -15,7 +15,7 @@ Simple Interface
15
15
  .PP
16
16
  Convert \f[I]text\f[] (assumed to be a UTF\-8 encoded string with length
17
17
  \f[I]len\f[]) from CommonMark Markdown to HTML, returning a
18
- null\-terminated, UTF\-8\-encoded string. It is the caller\[cq]s
18
+ null\-terminated, UTF\-8\-encoded string. It is the caller's
19
19
  responsibility to free the returned buffer.
20
20
 
21
21
  .SS
@@ -123,15 +123,16 @@ Creating and Destroying Nodes
123
123
 
124
124
  .PP
125
125
  Creates a new node of type \f[I]type\f[]. Note that the node may have
126
- other required properties, which it is the caller\[cq]s responsibility
127
- to assign.
126
+ other required properties, which it is the caller's responsibility to
127
+ assign.
128
128
 
129
129
  .PP
130
130
  \fIcmark_node *\f[] \fBcmark_node_new_with_mem\f[](\fIcmark_node_type type\f[], \fIcmark_mem *mem\f[])
131
131
 
132
132
  .PP
133
133
  Same as \f[C]cmark_node_new\f[], but explicitly listing the memory
134
- allocator used to allocate the node
134
+ allocator used to allocate the node. Note: be sure to use the same
135
+ allocator for every node in a tree, or bad things can happen.
135
136
 
136
137
  .PP
137
138
  \fIvoid\f[] \fBcmark_node_free\f[](\fIcmark_node *node\f[])
@@ -405,8 +406,7 @@ Returns 1 if \f[I]node\f[] is a tight list, 0 otherwise.
405
406
  \fIint\f[] \fBcmark_node_set_list_tight\f[](\fIcmark_node *node\f[], \fIint tight\f[])
406
407
 
407
408
  .PP
408
- Sets the \[lq]tightness\[rq] of a list. Returns 1 on success, 0 on
409
- failure.
409
+ Sets the "tightness" of a list. Returns 1 on success, 0 on failure.
410
410
 
411
411
  .PP
412
412
  \fIconst char *\f[] \fBcmark_node_get_fence_info\f[](\fIcmark_node *node\f[])
@@ -453,31 +453,31 @@ on failure.
453
453
  \fIconst char *\f[] \fBcmark_node_get_on_enter\f[](\fIcmark_node *node\f[])
454
454
 
455
455
  .PP
456
- Returns the literal \[lq]on enter\[rq] text for a custom \f[I]node\f[],
457
- or an empty string if no on_enter is set.
456
+ Returns the literal "on enter" text for a custom \f[I]node\f[], or an
457
+ empty string if no on_enter is set.
458
458
 
459
459
  .PP
460
460
  \fIint\f[] \fBcmark_node_set_on_enter\f[](\fIcmark_node *node\f[], \fIconst char *on_enter\f[])
461
461
 
462
462
  .PP
463
- Sets the literal text to render \[lq]on enter\[rq] for a custom
464
- \f[I]node\f[]. Any children of the node will be rendered after this
465
- text. Returns 1 on success 0 on failure.
463
+ Sets the literal text to render "on enter" for a custom \f[I]node\f[].
464
+ Any children of the node will be rendered after this text. Returns 1 on
465
+ success 0 on failure.
466
466
 
467
467
  .PP
468
468
  \fIconst char *\f[] \fBcmark_node_get_on_exit\f[](\fIcmark_node *node\f[])
469
469
 
470
470
  .PP
471
- Returns the literal \[lq]on exit\[rq] text for a custom \f[I]node\f[],
472
- or an empty string if no on_exit is set.
471
+ Returns the literal "on exit" text for a custom \f[I]node\f[], or an
472
+ empty string if no on_exit is set.
473
473
 
474
474
  .PP
475
475
  \fIint\f[] \fBcmark_node_set_on_exit\f[](\fIcmark_node *node\f[], \fIconst char *on_exit\f[])
476
476
 
477
477
  .PP
478
- Sets the literal text to render \[lq]on exit\[rq] for a custom
479
- \f[I]node\f[]. Any children of the node will be rendered before this
480
- text. Returns 1 on success 0 on failure.
478
+ Sets the literal text to render "on exit" for a custom \f[I]node\f[].
479
+ Any children of the node will be rendered before this text. Returns 1 on
480
+ success 0 on failure.
481
481
 
482
482
  .PP
483
483
  \fIint\f[] \fBcmark_node_get_start_line\f[](\fIcmark_node *node\f[])
@@ -638,36 +638,36 @@ Rendering
638
638
  \fIchar *\f[] \fBcmark_render_xml\f[](\fIcmark_node *root\f[], \fIint options\f[])
639
639
 
640
640
  .PP
641
- Render a \f[I]node\f[] tree as XML. It is the caller\[cq]s
642
- responsibility to free the returned buffer.
641
+ Render a \f[I]node\f[] tree as XML. It is the caller's responsibility to
642
+ free the returned buffer.
643
643
 
644
644
  .PP
645
645
  \fIchar *\f[] \fBcmark_render_html\f[](\fIcmark_node *root\f[], \fIint options\f[])
646
646
 
647
647
  .PP
648
648
  Render a \f[I]node\f[] tree as an HTML fragment. It is up to the user to
649
- add an appropriate header and footer. It is the caller\[cq]s
650
- responsibility to free the returned buffer.
649
+ add an appropriate header and footer. It is the caller's responsibility
650
+ to free the returned buffer.
651
651
 
652
652
  .PP
653
653
  \fIchar *\f[] \fBcmark_render_man\f[](\fIcmark_node *root\f[], \fIint options\f[], \fIint width\f[])
654
654
 
655
655
  .PP
656
656
  Render a \f[I]node\f[] tree as a groff man page, without the header. It
657
- is the caller\[cq]s responsibility to free the returned buffer.
657
+ is the caller's responsibility to free the returned buffer.
658
658
 
659
659
  .PP
660
660
  \fIchar *\f[] \fBcmark_render_commonmark\f[](\fIcmark_node *root\f[], \fIint options\f[], \fIint width\f[])
661
661
 
662
662
  .PP
663
- Render a \f[I]node\f[] tree as a commonmark document. It is the
664
- caller\[cq]s responsibility to free the returned buffer.
663
+ Render a \f[I]node\f[] tree as a commonmark document. It is the caller's
664
+ responsibility to free the returned buffer.
665
665
 
666
666
  .PP
667
667
  \fIchar *\f[] \fBcmark_render_latex\f[](\fIcmark_node *root\f[], \fIint options\f[], \fIint width\f[])
668
668
 
669
669
  .PP
670
- Render a \f[I]node\f[] tree as a LaTeX document. It is the caller\[cq]s
670
+ Render a \f[I]node\f[] tree as a LaTeX document. It is the caller's
671
671
  responsibility to free the returned buffer.
672
672
 
673
673
  .SS
@@ -778,7 +778,7 @@ with the replacement character U+FFFD.
778
778
  .fi
779
779
 
780
780
  .PP
781
- Convert straight quotes to curly, \[em] to em dashes, \[en] to en
781
+ Convert straight quotes to curly, \-\-\- to em dashes, \-\- to en
782
782
  dashes.
783
783
 
784
784
  .SS