commonmarker 0.0.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.
- checksums.yaml +7 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +22 -0
- data/README.md +119 -0
- data/Rakefile +39 -0
- data/bin/commonmarker +41 -0
- data/commonmarker.gemspec +30 -0
- data/ext/commonmarker/cmark/CMakeLists.txt +25 -0
- data/ext/commonmarker/cmark/COPYING +192 -0
- data/ext/commonmarker/cmark/FindAsan.cmake +74 -0
- data/ext/commonmarker/cmark/Makefile +170 -0
- data/ext/commonmarker/cmark/Makefile.nmake +36 -0
- data/ext/commonmarker/cmark/README.md +169 -0
- data/ext/commonmarker/cmark/api_test/CMakeLists.txt +25 -0
- data/ext/commonmarker/cmark/api_test/cplusplus.cpp +15 -0
- data/ext/commonmarker/cmark/api_test/cplusplus.h +17 -0
- data/ext/commonmarker/cmark/api_test/harness.c +102 -0
- data/ext/commonmarker/cmark/api_test/harness.h +42 -0
- data/ext/commonmarker/cmark/api_test/main.c +700 -0
- data/ext/commonmarker/cmark/appveyor.yml +15 -0
- data/ext/commonmarker/cmark/bench/statistics.py +595 -0
- data/ext/commonmarker/cmark/bench/stats.py +19 -0
- data/ext/commonmarker/cmark/benchmarks.md +33 -0
- data/ext/commonmarker/cmark/build/CMakeCache.txt +362 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeCCompiler.cmake +63 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeCXXCompiler.cmake +64 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeSystem.cmake +15 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdC/CMakeCCompilerId.c +499 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdC/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +489 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdCXX/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log +30 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log +598 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake +77 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/Makefile2 +268 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/TargetDirectories.txt +4 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/cmake.check_cache +1 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.c +34 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.cxx +405 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/progress.marks +1 -0
- data/ext/commonmarker/cmark/build/CTestTestfile.cmake +10 -0
- data/ext/commonmarker/cmark/build/Makefile +237 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/C.includecache +92 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/CXX.includecache +36 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake +29 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make +155 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake +12 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cplusplus.cpp.o +0 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.internal +25 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.make +25 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make +13 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/harness.c.o +0 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt +1 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/main.c.o +0 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/progress.make +4 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/progress.marks +1 -0
- data/ext/commonmarker/cmark/build/api_test/Makefile +277 -0
- data/ext/commonmarker/cmark/build/api_test/api_test +0 -0
- data/ext/commonmarker/cmark/build/api_test/cmake_install.cmake +29 -0
- data/ext/commonmarker/cmark/build/cmake_install.cmake +48 -0
- data/ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- data/ext/commonmarker/cmark/build/man/CMakeFiles/progress.marks +1 -0
- data/ext/commonmarker/cmark/build/man/Makefile +181 -0
- data/ext/commonmarker/cmark/build/man/cmake_install.cmake +37 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/C.includecache +422 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/DependInfo.cmake +39 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/blocks.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/buffer.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/build.make +544 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmake_clean.cmake +27 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmark_ctype.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/commonmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/depend.internal +177 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/depend.make +177 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/flags.make +8 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_href_e.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_html_e.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_html_u.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/html.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/inlines.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/iterator.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/link.txt +1 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/main.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/man.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/node.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/progress.make +19 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/references.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/scanners.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/utf8.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/xml.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/C.includecache +394 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/DependInfo.cmake +44 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/blocks.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/buffer.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/build.make +522 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmake_clean.cmake +27 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmark_ctype.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/commonmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/depend.internal +169 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/depend.make +169 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/flags.make +8 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_href_e.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_html_e.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_html_u.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/html.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/inlines.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/iterator.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/link.txt +1 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/man.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/node.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/progress.make +18 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/references.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/scanners.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/utf8.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/xml.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/C.includecache +394 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/DependInfo.cmake +38 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/blocks.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/buffer.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/build.make +519 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean.cmake +26 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean_target.cmake +3 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark_ctype.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/commonmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.internal +169 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.make +169 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/flags.make +8 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_href_e.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_html_e.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_html_u.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/html.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/inlines.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/iterator.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/link.txt +2 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/man.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/node.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/progress.make +18 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/references.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/scanners.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/utf8.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/xml.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/progress.marks +1 -0
- data/ext/commonmarker/cmark/build/src/Makefile +814 -0
- data/ext/commonmarker/cmark/build/src/cmake_install.cmake +69 -0
- data/ext/commonmarker/cmark/build/src/cmark +0 -0
- data/ext/commonmarker/cmark/build/src/cmark_export.h +41 -0
- data/ext/commonmarker/cmark/build/src/cmark_version.h +7 -0
- data/ext/commonmarker/cmark/build/src/config.h +23 -0
- data/ext/commonmarker/cmark/build/src/libcmark.0.19.0.dylib +0 -0
- data/ext/commonmarker/cmark/build/src/libcmark.a +0 -0
- data/ext/commonmarker/cmark/build/src/libcmark.dylib +0 -0
- data/ext/commonmarker/cmark/build/src/libcmark.pc +10 -0
- data/ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- data/ext/commonmarker/cmark/build/testdir/CMakeFiles/progress.marks +1 -0
- data/ext/commonmarker/cmark/build/testdir/CTestTestfile.cmake +12 -0
- data/ext/commonmarker/cmark/build/testdir/Makefile +181 -0
- data/ext/commonmarker/cmark/build/testdir/cmake_install.cmake +29 -0
- data/ext/commonmarker/cmark/changelog.txt +153 -0
- data/ext/commonmarker/cmark/data/CaseFolding-3.2.0.txt +912 -0
- data/ext/commonmarker/cmark/man/CMakeLists.txt +8 -0
- data/ext/commonmarker/cmark/man/make_man_page.py +131 -0
- data/ext/commonmarker/cmark/man/man1/cmark.1 +54 -0
- data/ext/commonmarker/cmark/man/man3/cmark.3 +583 -0
- data/ext/commonmarker/cmark/nmake.bat +1 -0
- data/ext/commonmarker/cmark/src/CMakeLists.txt +166 -0
- data/ext/commonmarker/cmark/src/bench.h +27 -0
- data/ext/commonmarker/cmark/src/blocks.c +887 -0
- data/ext/commonmarker/cmark/src/buffer.c +381 -0
- data/ext/commonmarker/cmark/src/buffer.h +113 -0
- data/ext/commonmarker/cmark/src/case_fold_switch.inc +2637 -0
- data/ext/commonmarker/cmark/src/chunk.h +110 -0
- data/ext/commonmarker/cmark/src/cmark.c +24 -0
- data/ext/commonmarker/cmark/src/cmark.h +565 -0
- data/ext/commonmarker/cmark/src/cmark_ctype.c +53 -0
- data/ext/commonmarker/cmark/src/cmark_ctype.h +24 -0
- data/ext/commonmarker/cmark/src/cmark_version.h.in +7 -0
- data/ext/commonmarker/cmark/src/commonmark.c +607 -0
- data/ext/commonmarker/cmark/src/config.h.in +23 -0
- data/ext/commonmarker/cmark/src/debug.h +36 -0
- data/ext/commonmarker/cmark/src/houdini.h +52 -0
- data/ext/commonmarker/cmark/src/houdini_href_e.c +107 -0
- data/ext/commonmarker/cmark/src/houdini_html_e.c +81 -0
- data/ext/commonmarker/cmark/src/houdini_html_u.c +116 -0
- data/ext/commonmarker/cmark/src/html.c +322 -0
- data/ext/commonmarker/cmark/src/html_unescape.gperf +2130 -0
- data/ext/commonmarker/cmark/src/html_unescape.h +13375 -0
- data/ext/commonmarker/cmark/src/inlines.c +1147 -0
- data/ext/commonmarker/cmark/src/inlines.h +19 -0
- data/ext/commonmarker/cmark/src/iterator.c +148 -0
- data/ext/commonmarker/cmark/src/iterator.h +25 -0
- data/ext/commonmarker/cmark/src/libcmark.pc.in +10 -0
- data/ext/commonmarker/cmark/src/main.c +191 -0
- data/ext/commonmarker/cmark/src/man.c +287 -0
- data/ext/commonmarker/cmark/src/node.c +873 -0
- data/ext/commonmarker/cmark/src/node.h +82 -0
- data/ext/commonmarker/cmark/src/parser.h +29 -0
- data/ext/commonmarker/cmark/src/references.c +154 -0
- data/ext/commonmarker/cmark/src/references.h +37 -0
- data/ext/commonmarker/cmark/src/scanners.c +15291 -0
- data/ext/commonmarker/cmark/src/scanners.h +41 -0
- data/ext/commonmarker/cmark/src/scanners.re +247 -0
- data/ext/commonmarker/cmark/src/utf8.c +452 -0
- data/ext/commonmarker/cmark/src/utf8.h +22 -0
- data/ext/commonmarker/cmark/src/xml.c +170 -0
- data/ext/commonmarker/cmark/test/CMakeLists.txt +53 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/asterisk +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/attr_generic +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/attr_href +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/attr_xml_lang +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/attr_xmlns +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/backslash +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/backtick +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/colon +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/dashes +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/double_quote +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/entity_builtin +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/entity_decimal +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/entity_external +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/entity_hex +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/equals +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/exclamation +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/greater_than +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/hash +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/hyphen +0 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/indent +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/left_bracket +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/left_paren +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/less_than +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/plus +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/right_bracket +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/right_paren +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/single_quote +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/string_any +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/string_brackets +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/string_cdata +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/string_dashes +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/string_empty_dblquotes +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/string_empty_quotes +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/string_idrefs +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/string_parentheses +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/string_pcdata +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_cdata +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_close +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_doctype +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_element +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_entity +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_notation +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_open +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_open_close +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_open_exclamation +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_open_q +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_sq2_close +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/tag_xml_q +1 -0
- data/ext/commonmarker/cmark/test/afl_dictionary/underscore +1 -0
- data/ext/commonmarker/cmark/test/afl_test_cases/test.md +36 -0
- data/ext/commonmarker/cmark/test/cmark.py +40 -0
- data/ext/commonmarker/cmark/test/normalize.py +179 -0
- data/ext/commonmarker/cmark/test/pathological_tests.py +63 -0
- data/ext/commonmarker/cmark/test/roundtrip.sh +2 -0
- data/ext/commonmarker/cmark/test/smart_punct.txt +96 -0
- data/ext/commonmarker/cmark/test/spec.txt +7505 -0
- data/ext/commonmarker/cmark/test/spec_tests.py +139 -0
- data/ext/commonmarker/cmark/toolchain-mingw32.cmake +17 -0
- data/ext/commonmarker/cmark/tools/mkcasefold.pl +22 -0
- data/ext/commonmarker/cmark/wrappers/wrapper.lua +239 -0
- data/ext/commonmarker/cmark/wrappers/wrapper.py +37 -0
- data/ext/commonmarker/cmark/wrappers/wrapper.rb +15 -0
- data/ext/commonmarker/cmark/wrappers/wrapper.rkt +190 -0
- data/ext/commonmarker/commonmarker.c +165 -0
- data/ext/commonmarker/commonmarker.h +11 -0
- data/ext/commonmarker/extconf.rb +18 -0
- data/lib/commonmarker/config.rb +20 -0
- data/lib/commonmarker/version.rb +3 -0
- data/lib/commonmarker.rb +588 -0
- data/test/benchmark.rb +30 -0
- data/test/spec_tests.json +4074 -0
- data/test/test_basics.rb +44 -0
- data/test/test_helper.rb +5 -0
- data/test/test_maliciousness.rb +9 -0
- data/test/test_pathological_inputs.rb +52 -0
- data/test/test_spec.rb +20 -0
- metadata +399 -0
@@ -0,0 +1,405 @@
|
|
1
|
+
|
2
|
+
const char features[] = {""
|
3
|
+
"CXX_FEATURE:"
|
4
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_aggregate_nsdmi)
|
5
|
+
"1"
|
6
|
+
#else
|
7
|
+
"0"
|
8
|
+
#endif
|
9
|
+
"cxx_aggregate_default_initializers\n"
|
10
|
+
"CXX_FEATURE:"
|
11
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_alias_templates)
|
12
|
+
"1"
|
13
|
+
#else
|
14
|
+
"0"
|
15
|
+
#endif
|
16
|
+
"cxx_alias_templates\n"
|
17
|
+
"CXX_FEATURE:"
|
18
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_alignas)
|
19
|
+
"1"
|
20
|
+
#else
|
21
|
+
"0"
|
22
|
+
#endif
|
23
|
+
"cxx_alignas\n"
|
24
|
+
"CXX_FEATURE:"
|
25
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_alignas)
|
26
|
+
"1"
|
27
|
+
#else
|
28
|
+
"0"
|
29
|
+
#endif
|
30
|
+
"cxx_alignof\n"
|
31
|
+
"CXX_FEATURE:"
|
32
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_attributes)
|
33
|
+
"1"
|
34
|
+
#else
|
35
|
+
"0"
|
36
|
+
#endif
|
37
|
+
"cxx_attributes\n"
|
38
|
+
"CXX_FEATURE:"
|
39
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L
|
40
|
+
"1"
|
41
|
+
#else
|
42
|
+
"0"
|
43
|
+
#endif
|
44
|
+
"cxx_attribute_deprecated\n"
|
45
|
+
"CXX_FEATURE:"
|
46
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_auto_type)
|
47
|
+
"1"
|
48
|
+
#else
|
49
|
+
"0"
|
50
|
+
#endif
|
51
|
+
"cxx_auto_type\n"
|
52
|
+
"CXX_FEATURE:"
|
53
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_binary_literals)
|
54
|
+
"1"
|
55
|
+
#else
|
56
|
+
"0"
|
57
|
+
#endif
|
58
|
+
"cxx_binary_literals\n"
|
59
|
+
"CXX_FEATURE:"
|
60
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_constexpr)
|
61
|
+
"1"
|
62
|
+
#else
|
63
|
+
"0"
|
64
|
+
#endif
|
65
|
+
"cxx_constexpr\n"
|
66
|
+
"CXX_FEATURE:"
|
67
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_contextual_conversions)
|
68
|
+
"1"
|
69
|
+
#else
|
70
|
+
"0"
|
71
|
+
#endif
|
72
|
+
"cxx_contextual_conversions\n"
|
73
|
+
"CXX_FEATURE:"
|
74
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_decltype)
|
75
|
+
"1"
|
76
|
+
#else
|
77
|
+
"0"
|
78
|
+
#endif
|
79
|
+
"cxx_decltype\n"
|
80
|
+
"CXX_FEATURE:"
|
81
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L
|
82
|
+
"1"
|
83
|
+
#else
|
84
|
+
"0"
|
85
|
+
#endif
|
86
|
+
"cxx_decltype_auto\n"
|
87
|
+
"CXX_FEATURE:"
|
88
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_decltype_incomplete_return_types)
|
89
|
+
"1"
|
90
|
+
#else
|
91
|
+
"0"
|
92
|
+
#endif
|
93
|
+
"cxx_decltype_incomplete_return_types\n"
|
94
|
+
"CXX_FEATURE:"
|
95
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_default_function_template_args)
|
96
|
+
"1"
|
97
|
+
#else
|
98
|
+
"0"
|
99
|
+
#endif
|
100
|
+
"cxx_default_function_template_args\n"
|
101
|
+
"CXX_FEATURE:"
|
102
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_defaulted_functions)
|
103
|
+
"1"
|
104
|
+
#else
|
105
|
+
"0"
|
106
|
+
#endif
|
107
|
+
"cxx_defaulted_functions\n"
|
108
|
+
"CXX_FEATURE:"
|
109
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_defaulted_functions)
|
110
|
+
"1"
|
111
|
+
#else
|
112
|
+
"0"
|
113
|
+
#endif
|
114
|
+
"cxx_defaulted_move_initializers\n"
|
115
|
+
"CXX_FEATURE:"
|
116
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_delegating_constructors)
|
117
|
+
"1"
|
118
|
+
#else
|
119
|
+
"0"
|
120
|
+
#endif
|
121
|
+
"cxx_delegating_constructors\n"
|
122
|
+
"CXX_FEATURE:"
|
123
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_deleted_functions)
|
124
|
+
"1"
|
125
|
+
#else
|
126
|
+
"0"
|
127
|
+
#endif
|
128
|
+
"cxx_deleted_functions\n"
|
129
|
+
"CXX_FEATURE:"
|
130
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L
|
131
|
+
"1"
|
132
|
+
#else
|
133
|
+
"0"
|
134
|
+
#endif
|
135
|
+
"cxx_digit_separators\n"
|
136
|
+
"CXX_FEATURE:"
|
137
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
|
138
|
+
"1"
|
139
|
+
#else
|
140
|
+
"0"
|
141
|
+
#endif
|
142
|
+
"cxx_enum_forward_declarations\n"
|
143
|
+
"CXX_FEATURE:"
|
144
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_explicit_conversions)
|
145
|
+
"1"
|
146
|
+
#else
|
147
|
+
"0"
|
148
|
+
#endif
|
149
|
+
"cxx_explicit_conversions\n"
|
150
|
+
"CXX_FEATURE:"
|
151
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
|
152
|
+
"1"
|
153
|
+
#else
|
154
|
+
"0"
|
155
|
+
#endif
|
156
|
+
"cxx_extended_friend_declarations\n"
|
157
|
+
"CXX_FEATURE:"
|
158
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
|
159
|
+
"1"
|
160
|
+
#else
|
161
|
+
"0"
|
162
|
+
#endif
|
163
|
+
"cxx_extern_templates\n"
|
164
|
+
"CXX_FEATURE:"
|
165
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_override_control)
|
166
|
+
"1"
|
167
|
+
#else
|
168
|
+
"0"
|
169
|
+
#endif
|
170
|
+
"cxx_final\n"
|
171
|
+
"CXX_FEATURE:"
|
172
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
|
173
|
+
"1"
|
174
|
+
#else
|
175
|
+
"0"
|
176
|
+
#endif
|
177
|
+
"cxx_func_identifier\n"
|
178
|
+
"CXX_FEATURE:"
|
179
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_generalized_initializers)
|
180
|
+
"1"
|
181
|
+
#else
|
182
|
+
"0"
|
183
|
+
#endif
|
184
|
+
"cxx_generalized_initializers\n"
|
185
|
+
"CXX_FEATURE:"
|
186
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L
|
187
|
+
"1"
|
188
|
+
#else
|
189
|
+
"0"
|
190
|
+
#endif
|
191
|
+
"cxx_generic_lambdas\n"
|
192
|
+
"CXX_FEATURE:"
|
193
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_inheriting_constructors)
|
194
|
+
"1"
|
195
|
+
#else
|
196
|
+
"0"
|
197
|
+
#endif
|
198
|
+
"cxx_inheriting_constructors\n"
|
199
|
+
"CXX_FEATURE:"
|
200
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
|
201
|
+
"1"
|
202
|
+
#else
|
203
|
+
"0"
|
204
|
+
#endif
|
205
|
+
"cxx_inline_namespaces\n"
|
206
|
+
"CXX_FEATURE:"
|
207
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_lambdas)
|
208
|
+
"1"
|
209
|
+
#else
|
210
|
+
"0"
|
211
|
+
#endif
|
212
|
+
"cxx_lambdas\n"
|
213
|
+
"CXX_FEATURE:"
|
214
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_init_captures)
|
215
|
+
"1"
|
216
|
+
#else
|
217
|
+
"0"
|
218
|
+
#endif
|
219
|
+
"cxx_lambda_init_captures\n"
|
220
|
+
"CXX_FEATURE:"
|
221
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_local_type_template_args)
|
222
|
+
"1"
|
223
|
+
#else
|
224
|
+
"0"
|
225
|
+
#endif
|
226
|
+
"cxx_local_type_template_args\n"
|
227
|
+
"CXX_FEATURE:"
|
228
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
|
229
|
+
"1"
|
230
|
+
#else
|
231
|
+
"0"
|
232
|
+
#endif
|
233
|
+
"cxx_long_long_type\n"
|
234
|
+
"CXX_FEATURE:"
|
235
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_noexcept)
|
236
|
+
"1"
|
237
|
+
#else
|
238
|
+
"0"
|
239
|
+
#endif
|
240
|
+
"cxx_noexcept\n"
|
241
|
+
"CXX_FEATURE:"
|
242
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_nonstatic_member_init)
|
243
|
+
"1"
|
244
|
+
#else
|
245
|
+
"0"
|
246
|
+
#endif
|
247
|
+
"cxx_nonstatic_member_init\n"
|
248
|
+
"CXX_FEATURE:"
|
249
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_nullptr)
|
250
|
+
"1"
|
251
|
+
#else
|
252
|
+
"0"
|
253
|
+
#endif
|
254
|
+
"cxx_nullptr\n"
|
255
|
+
"CXX_FEATURE:"
|
256
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_override_control)
|
257
|
+
"1"
|
258
|
+
#else
|
259
|
+
"0"
|
260
|
+
#endif
|
261
|
+
"cxx_override\n"
|
262
|
+
"CXX_FEATURE:"
|
263
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_range_for)
|
264
|
+
"1"
|
265
|
+
#else
|
266
|
+
"0"
|
267
|
+
#endif
|
268
|
+
"cxx_range_for\n"
|
269
|
+
"CXX_FEATURE:"
|
270
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_raw_string_literals)
|
271
|
+
"1"
|
272
|
+
#else
|
273
|
+
"0"
|
274
|
+
#endif
|
275
|
+
"cxx_raw_string_literals\n"
|
276
|
+
"CXX_FEATURE:"
|
277
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_reference_qualified_functions)
|
278
|
+
"1"
|
279
|
+
#else
|
280
|
+
"0"
|
281
|
+
#endif
|
282
|
+
"cxx_reference_qualified_functions\n"
|
283
|
+
"CXX_FEATURE:"
|
284
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_relaxed_constexpr)
|
285
|
+
"1"
|
286
|
+
#else
|
287
|
+
"0"
|
288
|
+
#endif
|
289
|
+
"cxx_relaxed_constexpr\n"
|
290
|
+
"CXX_FEATURE:"
|
291
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_return_type_deduction)
|
292
|
+
"1"
|
293
|
+
#else
|
294
|
+
"0"
|
295
|
+
#endif
|
296
|
+
"cxx_return_type_deduction\n"
|
297
|
+
"CXX_FEATURE:"
|
298
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
|
299
|
+
"1"
|
300
|
+
#else
|
301
|
+
"0"
|
302
|
+
#endif
|
303
|
+
"cxx_right_angle_brackets\n"
|
304
|
+
"CXX_FEATURE:"
|
305
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_rvalue_references)
|
306
|
+
"1"
|
307
|
+
#else
|
308
|
+
"0"
|
309
|
+
#endif
|
310
|
+
"cxx_rvalue_references\n"
|
311
|
+
"CXX_FEATURE:"
|
312
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
|
313
|
+
"1"
|
314
|
+
#else
|
315
|
+
"0"
|
316
|
+
#endif
|
317
|
+
"cxx_sizeof_member\n"
|
318
|
+
"CXX_FEATURE:"
|
319
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_static_assert)
|
320
|
+
"1"
|
321
|
+
#else
|
322
|
+
"0"
|
323
|
+
#endif
|
324
|
+
"cxx_static_assert\n"
|
325
|
+
"CXX_FEATURE:"
|
326
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_strong_enums)
|
327
|
+
"1"
|
328
|
+
#else
|
329
|
+
"0"
|
330
|
+
#endif
|
331
|
+
"cxx_strong_enums\n"
|
332
|
+
"CXX_FEATURE:"
|
333
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 199711L
|
334
|
+
"1"
|
335
|
+
#else
|
336
|
+
"0"
|
337
|
+
#endif
|
338
|
+
"cxx_template_template_parameters\n"
|
339
|
+
"CXX_FEATURE:"
|
340
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_thread_local)
|
341
|
+
"1"
|
342
|
+
#else
|
343
|
+
"0"
|
344
|
+
#endif
|
345
|
+
"cxx_thread_local\n"
|
346
|
+
"CXX_FEATURE:"
|
347
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_trailing_return)
|
348
|
+
"1"
|
349
|
+
#else
|
350
|
+
"0"
|
351
|
+
#endif
|
352
|
+
"cxx_trailing_return_types\n"
|
353
|
+
"CXX_FEATURE:"
|
354
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_unicode_literals)
|
355
|
+
"1"
|
356
|
+
#else
|
357
|
+
"0"
|
358
|
+
#endif
|
359
|
+
"cxx_unicode_literals\n"
|
360
|
+
"CXX_FEATURE:"
|
361
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_generalized_initializers)
|
362
|
+
"1"
|
363
|
+
#else
|
364
|
+
"0"
|
365
|
+
#endif
|
366
|
+
"cxx_uniform_initialization\n"
|
367
|
+
"CXX_FEATURE:"
|
368
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_unrestricted_unions)
|
369
|
+
"1"
|
370
|
+
#else
|
371
|
+
"0"
|
372
|
+
#endif
|
373
|
+
"cxx_unrestricted_unions\n"
|
374
|
+
"CXX_FEATURE:"
|
375
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_user_literals)
|
376
|
+
"1"
|
377
|
+
#else
|
378
|
+
"0"
|
379
|
+
#endif
|
380
|
+
"cxx_user_literals\n"
|
381
|
+
"CXX_FEATURE:"
|
382
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_variable_templates)
|
383
|
+
"1"
|
384
|
+
#else
|
385
|
+
"0"
|
386
|
+
#endif
|
387
|
+
"cxx_variable_templates\n"
|
388
|
+
"CXX_FEATURE:"
|
389
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
|
390
|
+
"1"
|
391
|
+
#else
|
392
|
+
"0"
|
393
|
+
#endif
|
394
|
+
"cxx_variadic_macros\n"
|
395
|
+
"CXX_FEATURE:"
|
396
|
+
#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_variadic_templates)
|
397
|
+
"1"
|
398
|
+
#else
|
399
|
+
"0"
|
400
|
+
#endif
|
401
|
+
"cxx_variadic_templates\n"
|
402
|
+
|
403
|
+
};
|
404
|
+
|
405
|
+
int main(int argc, char** argv) { (void)argv; return features[argc]; }
|
@@ -0,0 +1 @@
|
|
1
|
+
55
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# CMake generated Testfile for
|
2
|
+
# Source directory: /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark
|
3
|
+
# Build directory: /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build
|
4
|
+
#
|
5
|
+
# This file includes the relevant testing commands required for
|
6
|
+
# testing this directory and lists subdirectories to be tested as well.
|
7
|
+
subdirs(src)
|
8
|
+
subdirs(api_test)
|
9
|
+
subdirs(man)
|
10
|
+
subdirs(testdir)
|
@@ -0,0 +1,237 @@
|
|
1
|
+
# CMAKE generated file: DO NOT EDIT!
|
2
|
+
# Generated by "Unix Makefiles" Generator, CMake Version 3.2
|
3
|
+
|
4
|
+
# Default target executed when no arguments are given to make.
|
5
|
+
default_target: all
|
6
|
+
.PHONY : default_target
|
7
|
+
|
8
|
+
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
9
|
+
.NOTPARALLEL:
|
10
|
+
|
11
|
+
#=============================================================================
|
12
|
+
# Special targets provided by cmake.
|
13
|
+
|
14
|
+
# Disable implicit rules so canonical targets will work.
|
15
|
+
.SUFFIXES:
|
16
|
+
|
17
|
+
# Remove some rules from gmake that .SUFFIXES does not remove.
|
18
|
+
SUFFIXES =
|
19
|
+
|
20
|
+
.SUFFIXES: .hpux_make_needs_suffix_list
|
21
|
+
|
22
|
+
# Suppress display of executed commands.
|
23
|
+
$(VERBOSE).SILENT:
|
24
|
+
|
25
|
+
# A target that is always out of date.
|
26
|
+
cmake_force:
|
27
|
+
.PHONY : cmake_force
|
28
|
+
|
29
|
+
#=============================================================================
|
30
|
+
# Set environment variables for the build.
|
31
|
+
|
32
|
+
# The shell in which to execute make rules.
|
33
|
+
SHELL = /bin/sh
|
34
|
+
|
35
|
+
# The CMake executable.
|
36
|
+
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.2.2/bin/cmake
|
37
|
+
|
38
|
+
# The command to remove a file.
|
39
|
+
RM = /usr/local/Cellar/cmake/3.2.2/bin/cmake -E remove -f
|
40
|
+
|
41
|
+
# Escaping for special characters.
|
42
|
+
EQUALS = =
|
43
|
+
|
44
|
+
# The top-level source directory on which CMake was run.
|
45
|
+
CMAKE_SOURCE_DIR = /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark
|
46
|
+
|
47
|
+
# The top-level build directory on which CMake was run.
|
48
|
+
CMAKE_BINARY_DIR = /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build
|
49
|
+
|
50
|
+
#=============================================================================
|
51
|
+
# Targets provided globally by CMake.
|
52
|
+
|
53
|
+
# Special rule for the target install/strip
|
54
|
+
install/strip: preinstall
|
55
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
56
|
+
/usr/local/Cellar/cmake/3.2.2/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
57
|
+
.PHONY : install/strip
|
58
|
+
|
59
|
+
# Special rule for the target install/strip
|
60
|
+
install/strip/fast: install/strip
|
61
|
+
.PHONY : install/strip/fast
|
62
|
+
|
63
|
+
# Special rule for the target edit_cache
|
64
|
+
edit_cache:
|
65
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
66
|
+
/usr/local/Cellar/cmake/3.2.2/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
67
|
+
.PHONY : edit_cache
|
68
|
+
|
69
|
+
# Special rule for the target edit_cache
|
70
|
+
edit_cache/fast: edit_cache
|
71
|
+
.PHONY : edit_cache/fast
|
72
|
+
|
73
|
+
# Special rule for the target rebuild_cache
|
74
|
+
rebuild_cache:
|
75
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
76
|
+
/usr/local/Cellar/cmake/3.2.2/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
77
|
+
.PHONY : rebuild_cache
|
78
|
+
|
79
|
+
# Special rule for the target rebuild_cache
|
80
|
+
rebuild_cache/fast: rebuild_cache
|
81
|
+
.PHONY : rebuild_cache/fast
|
82
|
+
|
83
|
+
# Special rule for the target install
|
84
|
+
install: preinstall
|
85
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
86
|
+
/usr/local/Cellar/cmake/3.2.2/bin/cmake -P cmake_install.cmake
|
87
|
+
.PHONY : install
|
88
|
+
|
89
|
+
# Special rule for the target install
|
90
|
+
install/fast: preinstall/fast
|
91
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
92
|
+
/usr/local/Cellar/cmake/3.2.2/bin/cmake -P cmake_install.cmake
|
93
|
+
.PHONY : install/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
|
+
|
104
|
+
# Special rule for the target test
|
105
|
+
test:
|
106
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
|
107
|
+
/usr/local/Cellar/cmake/3.2.2/bin/ctest --force-new-ctest-process $(ARGS)
|
108
|
+
.PHONY : test
|
109
|
+
|
110
|
+
# Special rule for the target test
|
111
|
+
test/fast: test
|
112
|
+
.PHONY : test/fast
|
113
|
+
|
114
|
+
# Special rule for the target install/local
|
115
|
+
install/local: preinstall
|
116
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
117
|
+
/usr/local/Cellar/cmake/3.2.2/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
118
|
+
.PHONY : install/local
|
119
|
+
|
120
|
+
# Special rule for the target install/local
|
121
|
+
install/local/fast: install/local
|
122
|
+
.PHONY : install/local/fast
|
123
|
+
|
124
|
+
# The main all target
|
125
|
+
all: cmake_check_build_system
|
126
|
+
$(CMAKE_COMMAND) -E cmake_progress_start /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/CMakeFiles /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/CMakeFiles/progress.marks
|
127
|
+
$(MAKE) -f CMakeFiles/Makefile2 all
|
128
|
+
$(CMAKE_COMMAND) -E cmake_progress_start /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build/CMakeFiles 0
|
129
|
+
.PHONY : all
|
130
|
+
|
131
|
+
# The main clean target
|
132
|
+
clean:
|
133
|
+
$(MAKE) -f CMakeFiles/Makefile2 clean
|
134
|
+
.PHONY : clean
|
135
|
+
|
136
|
+
# The main clean target
|
137
|
+
clean/fast: clean
|
138
|
+
.PHONY : clean/fast
|
139
|
+
|
140
|
+
# Prepare targets for installation.
|
141
|
+
preinstall: all
|
142
|
+
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
143
|
+
.PHONY : preinstall
|
144
|
+
|
145
|
+
# Prepare targets for installation.
|
146
|
+
preinstall/fast:
|
147
|
+
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
148
|
+
.PHONY : preinstall/fast
|
149
|
+
|
150
|
+
# clear depends
|
151
|
+
depend:
|
152
|
+
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
153
|
+
.PHONY : depend
|
154
|
+
|
155
|
+
#=============================================================================
|
156
|
+
# Target rules for targets named cmark
|
157
|
+
|
158
|
+
# Build rule for target.
|
159
|
+
cmark: cmake_check_build_system
|
160
|
+
$(MAKE) -f CMakeFiles/Makefile2 cmark
|
161
|
+
.PHONY : cmark
|
162
|
+
|
163
|
+
# fast build rule for target.
|
164
|
+
cmark/fast:
|
165
|
+
$(MAKE) -f src/CMakeFiles/cmark.dir/build.make src/CMakeFiles/cmark.dir/build
|
166
|
+
.PHONY : cmark/fast
|
167
|
+
|
168
|
+
#=============================================================================
|
169
|
+
# Target rules for targets named libcmark
|
170
|
+
|
171
|
+
# Build rule for target.
|
172
|
+
libcmark: cmake_check_build_system
|
173
|
+
$(MAKE) -f CMakeFiles/Makefile2 libcmark
|
174
|
+
.PHONY : libcmark
|
175
|
+
|
176
|
+
# fast build rule for target.
|
177
|
+
libcmark/fast:
|
178
|
+
$(MAKE) -f src/CMakeFiles/libcmark.dir/build.make src/CMakeFiles/libcmark.dir/build
|
179
|
+
.PHONY : libcmark/fast
|
180
|
+
|
181
|
+
#=============================================================================
|
182
|
+
# Target rules for targets named libcmark_static
|
183
|
+
|
184
|
+
# Build rule for target.
|
185
|
+
libcmark_static: cmake_check_build_system
|
186
|
+
$(MAKE) -f CMakeFiles/Makefile2 libcmark_static
|
187
|
+
.PHONY : libcmark_static
|
188
|
+
|
189
|
+
# fast build rule for target.
|
190
|
+
libcmark_static/fast:
|
191
|
+
$(MAKE) -f src/CMakeFiles/libcmark_static.dir/build.make src/CMakeFiles/libcmark_static.dir/build
|
192
|
+
.PHONY : libcmark_static/fast
|
193
|
+
|
194
|
+
#=============================================================================
|
195
|
+
# Target rules for targets named api_test
|
196
|
+
|
197
|
+
# Build rule for target.
|
198
|
+
api_test: cmake_check_build_system
|
199
|
+
$(MAKE) -f CMakeFiles/Makefile2 api_test
|
200
|
+
.PHONY : api_test
|
201
|
+
|
202
|
+
# fast build rule for target.
|
203
|
+
api_test/fast:
|
204
|
+
$(MAKE) -f api_test/CMakeFiles/api_test.dir/build.make api_test/CMakeFiles/api_test.dir/build
|
205
|
+
.PHONY : api_test/fast
|
206
|
+
|
207
|
+
# Help Target
|
208
|
+
help:
|
209
|
+
@echo "The following are some of the valid targets for this Makefile:"
|
210
|
+
@echo "... all (the default if no target is provided)"
|
211
|
+
@echo "... clean"
|
212
|
+
@echo "... depend"
|
213
|
+
@echo "... install/strip"
|
214
|
+
@echo "... edit_cache"
|
215
|
+
@echo "... rebuild_cache"
|
216
|
+
@echo "... install"
|
217
|
+
@echo "... list_install_components"
|
218
|
+
@echo "... test"
|
219
|
+
@echo "... install/local"
|
220
|
+
@echo "... libcmark_static"
|
221
|
+
@echo "... cmark"
|
222
|
+
@echo "... libcmark"
|
223
|
+
@echo "... api_test"
|
224
|
+
.PHONY : help
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
#=============================================================================
|
229
|
+
# Special targets to cleanup operation of make.
|
230
|
+
|
231
|
+
# Special rule to run CMake to check the build system integrity.
|
232
|
+
# No rule that depends on this can have commands that come from listfiles
|
233
|
+
# because they might be regenerated.
|
234
|
+
cmake_check_build_system:
|
235
|
+
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
236
|
+
.PHONY : cmake_check_build_system
|
237
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# CMAKE generated file: DO NOT EDIT!
|
2
|
+
# Generated by "Unix Makefiles" Generator, CMake Version 3.2
|
3
|
+
|
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")
|
7
|
+
|
8
|
+
# Force unix paths in dependencies.
|
9
|
+
set(CMAKE_FORCE_UNIX_PATHS 1)
|
10
|
+
|
11
|
+
|
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})
|