mathematical 1.5.12 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -30
  3. data/Rakefile +1 -0
  4. data/ext/mathematical/CMakeLists.txt +4 -1
  5. data/ext/mathematical/extconf.rb +4 -1
  6. data/ext/mathematical/lasem/NEWS +17 -0
  7. data/ext/mathematical/lasem/autogen.sh +5 -2
  8. data/ext/mathematical/lasem/configure.ac +3 -3
  9. data/ext/mathematical/lasem/po/cs.po +50 -18
  10. data/ext/mathematical/lasem/po/de.po +62 -26
  11. data/ext/mathematical/lasem/po/es.po +27 -18
  12. data/ext/mathematical/lasem/po/hu.po +50 -21
  13. data/ext/mathematical/lasem/po/id.po +49 -16
  14. data/ext/mathematical/lasem/po/lt.po +47 -18
  15. data/ext/mathematical/lasem/po/pl.po +53 -24
  16. data/ext/mathematical/lasem/po/pt_BR.po +70 -29
  17. data/ext/mathematical/lasem/po/sl.po +43 -29
  18. data/ext/mathematical/lasem/po/sr.po +67 -27
  19. data/ext/mathematical/lasem/po/sr@latin.po +67 -27
  20. data/ext/mathematical/lasem/po/sv.po +51 -18
  21. data/ext/mathematical/lasem/src/lasemrender.c +107 -14
  22. data/ext/mathematical/lasem/src/lsmitex.c +1 -0
  23. data/ext/mathematical/lasem/src/lsmsvgelement.c +0 -2
  24. data/ext/mathematical/lasem/src/lsmsvglength.c +2 -2
  25. data/ext/mathematical/lasem/src/lsmsvgmatrix.c +16 -0
  26. data/ext/mathematical/lasem/src/lsmsvgmatrix.h +2 -1
  27. data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +8 -2
  28. data/ext/mathematical/lasem_overrides.c +3 -3
  29. data/ext/mathematical/lib/liblasem.dylib +0 -0
  30. data/ext/mathematical/lib/libmtex2MML.a +0 -0
  31. data/ext/mathematical/mathematical.c +1 -1
  32. data/ext/mathematical/mtex2MML/CMakeLists.txt +5 -0
  33. data/ext/mathematical/mtex2MML/README.md +3 -3
  34. data/ext/mathematical/mtex2MML/SUPPORTED.md +2 -0
  35. data/ext/mathematical/mtex2MML/appveyor.yml +15 -5
  36. data/ext/mathematical/mtex2MML/build/CMakeCache.txt +181 -116
  37. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.6.1/CMakeCCompiler.cmake +67 -0
  38. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.6.1/CMakeCXXCompiler.cmake +68 -0
  39. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1 → 3.6.1}/CMakeDetermineCompilerABI_C.bin +0 -0
  40. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1 → 3.6.1}/CMakeDetermineCompilerABI_CXX.bin +0 -0
  41. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.6.1/CMakeSystem.cmake +15 -0
  42. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1 → 3.6.1}/CompilerIdC/CMakeCCompilerId.c +223 -55
  43. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1/CompilerIdCXX → 3.6.1/CompilerIdC}/a.out +0 -0
  44. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1 → 3.6.1}/CompilerIdCXX/CMakeCXXCompilerId.cpp +202 -44
  45. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1/CompilerIdC → 3.6.1/CompilerIdCXX}/a.out +0 -0
  46. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  47. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +405 -109
  48. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +29 -29
  49. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +4 -20
  50. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +14 -7
  51. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +4 -4
  52. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +4 -20
  53. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +14 -7
  54. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +4 -4
  55. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +4 -20
  56. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +14 -7
  57. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +4 -4
  58. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +4 -20
  59. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +14 -7
  60. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +4 -4
  61. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +4 -20
  62. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +14 -7
  63. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +4 -4
  64. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +4 -20
  65. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +14 -7
  66. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +4 -4
  67. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +4 -20
  68. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +14 -7
  69. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +4 -4
  70. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +4 -20
  71. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +14 -7
  72. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +4 -4
  73. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +4 -20
  74. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +14 -7
  75. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +4 -4
  76. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +4 -20
  77. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +14 -7
  78. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +4 -4
  79. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +4 -20
  80. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +14 -7
  81. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +4 -4
  82. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +4 -20
  83. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +14 -7
  84. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +4 -4
  85. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +4 -20
  86. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +14 -7
  87. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +4 -4
  88. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +4 -20
  89. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +14 -7
  90. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +4 -4
  91. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +4 -20
  92. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +14 -7
  93. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +4 -4
  94. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +4 -20
  95. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +14 -7
  96. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +4 -4
  97. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +4 -20
  98. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +14 -7
  99. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +4 -4
  100. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +4 -20
  101. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +14 -7
  102. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +4 -4
  103. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +68 -60
  104. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +564 -522
  105. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +4 -20
  106. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +14 -7
  107. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +4 -4
  108. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +4 -20
  109. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +14 -7
  110. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +4 -4
  111. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +4 -20
  112. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +14 -7
  113. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +4 -4
  114. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +4 -20
  115. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +14 -7
  116. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +4 -4
  117. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +4 -20
  118. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +14 -7
  119. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +4 -4
  120. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +4 -20
  121. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +14 -7
  122. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +4 -4
  123. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +4 -20
  124. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +14 -7
  125. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +4 -4
  126. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +4 -20
  127. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +14 -7
  128. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +4 -4
  129. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +4 -20
  130. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +14 -7
  131. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +4 -4
  132. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +4 -20
  133. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +14 -7
  134. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +4 -4
  135. data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +28 -21
  136. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.bin +0 -0
  137. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.c +34 -0
  138. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.cxx +405 -0
  139. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +4 -20
  140. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +13 -6
  141. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +4 -4
  142. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +16 -18
  143. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +55 -42
  144. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +4 -4
  145. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +5 -3
  146. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +1 -1
  147. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/progress.make +1 -0
  148. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +115 -27
  149. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +16 -18
  150. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +54 -42
  151. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +4 -4
  152. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +1 -1
  153. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +19 -20
  154. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +18 -19
  155. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +5 -3
  156. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +2 -2
  157. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/progress.make +9 -8
  158. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +4 -20
  159. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +13 -6
  160. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +4 -4
  161. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +16 -18
  162. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +60 -47
  163. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +4 -4
  164. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +5 -3
  165. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +1 -1
  166. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/progress.make +10 -9
  167. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +17 -18
  168. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +178 -124
  169. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +5 -4
  170. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +5 -3
  171. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +1 -1
  172. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/progress.make +27 -25
  173. data/ext/mathematical/mtex2MML/build/CMakeFiles/progress.marks +1 -1
  174. data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +2 -2
  175. data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +25 -7
  176. data/ext/mathematical/mtex2MML/build/Makefile +419 -307
  177. data/ext/mathematical/mtex2MML/build/cmake_install.cmake +32 -32
  178. data/ext/mathematical/mtex2MML/build/lexer.c +4317 -4379
  179. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  180. data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +12 -5
  181. data/ext/mathematical/mtex2MML/build/parser.c +5549 -5473
  182. data/ext/mathematical/mtex2MML/build/parser.h +499 -490
  183. data/ext/mathematical/mtex2MML/build/parser.output +93361 -92735
  184. data/ext/mathematical/mtex2MML/deps/strdup/package.json +2 -2
  185. data/ext/mathematical/mtex2MML/deps/strdup/strdup.c +2 -0
  186. data/ext/mathematical/mtex2MML/deps/strdup/strdup.h +2 -0
  187. data/ext/mathematical/mtex2MML/deps/uthash/package.json +2 -1
  188. data/ext/mathematical/mtex2MML/deps/uthash/utarray.h +42 -36
  189. data/ext/mathematical/mtex2MML/deps/uthash/uthash.h +334 -218
  190. data/ext/mathematical/mtex2MML/deps/uthash/utlist.h +282 -144
  191. data/ext/mathematical/mtex2MML/deps/uthash/utringbuffer.h +108 -0
  192. data/ext/mathematical/mtex2MML/deps/uthash/utstring.h +15 -10
  193. data/ext/mathematical/mtex2MML/script/bootstrap +6 -12
  194. data/ext/mathematical/mtex2MML/script/cibuild +47 -1
  195. data/ext/mathematical/mtex2MML/script/{release → tag} +1 -1
  196. data/ext/mathematical/mtex2MML/src/environment.c +73 -13
  197. data/ext/mathematical/mtex2MML/src/environment.h +1 -1
  198. data/ext/mathematical/mtex2MML/src/lexer.l +75 -53
  199. data/ext/mathematical/mtex2MML/src/main.c +65 -36
  200. data/ext/mathematical/mtex2MML/src/mtex2MML.h +5 -1
  201. data/ext/mathematical/mtex2MML/src/parser.y +67 -16
  202. data/ext/mathematical/mtex2MML/tests/basic.c +10 -0
  203. data/ext/mathematical/mtex2MML/tests/delimiters.c +95 -0
  204. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/strut-1.html +1 -1
  205. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/cal-1.html +1 -1
  206. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/frak-1.html +1 -1
  207. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathcal-1.html +1 -1
  208. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathfrak-1.html +1 -1
  209. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathrm-1.html +1 -1
  210. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathscr-1.html +1 -1
  211. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/rm-1.html +1 -1
  212. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/scr-1.html +1 -1
  213. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textrm-1.html +1 -1
  214. data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.html +1 -1
  215. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.html +23 -0
  216. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.txt +23 -0
  217. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.html +1 -0
  218. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.txt +3 -0
  219. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.html +1 -0
  220. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.txt +4 -0
  221. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.html +1 -0
  222. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.txt +4 -0
  223. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.html +1 -0
  224. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.txt +3 -0
  225. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.html +8 -0
  226. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.txt +11 -0
  227. data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.html +6 -6
  228. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.html +1 -0
  229. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.txt +1 -0
  230. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.html +1 -0
  231. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.txt +1 -0
  232. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.html +1 -0
  233. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.txt +1 -0
  234. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.html +1 -0
  235. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.txt +1 -0
  236. data/ext/mathematical/mtex2MML/tests/symbols.c +69 -0
  237. data/lib/mathematical.rb +19 -1
  238. data/lib/mathematical/version.rb +1 -1
  239. data/mathematical.gemspec +2 -1
  240. data/test/mathematical/basic_test.rb +16 -3
  241. data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
  242. data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
  243. data/test/mathematical/fixtures/png/pmatrix.png +0 -0
  244. data/test/mathematical/maliciousness_test.rb +0 -1
  245. data/test/mathematical/multiples_test.rb +3 -0
  246. data/test/mathematical/png_test.rb +4 -1
  247. data/test/test_helper.rb +2 -0
  248. metadata +54 -18
  249. data/ext/mathematical/FindNewerRubies.cmake +0 -292
  250. data/ext/mathematical/mtex2MML/build.ps1 +0 -2
  251. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeCCompiler.cmake +0 -55
  252. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeCXXCompiler.cmake +0 -56
  253. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeSystem.cmake +0 -15
  254. data/ext/mathematical/mtex2MML/src/y.output +0 -117655
@@ -1,27 +1,11 @@
1
1
  # The set of languages for which implicit dependencies are needed:
2
- SET(CMAKE_DEPENDS_LANGUAGES
2
+ set(CMAKE_DEPENDS_LANGUAGES
3
3
  )
4
4
  # The set of files for implicit dependencies of each language:
5
5
 
6
- # Preprocessor definitions for this target.
7
- SET(CMAKE_TARGET_DEFINITIONS
8
- "CLAR_FIXTURE_PATH=\"/Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/tests/fixtures/\""
9
- "CLAR_TMPDIR=\"libmtex2MML_tests\""
10
- "CLAR_FIXTURE_PATH=\"/Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/tests/fixtures/\""
11
- "CLAR_TMPDIR=\"libmtex2MML_tests\""
12
- )
13
-
14
6
  # Targets to which this target links.
15
- SET(CMAKE_TARGET_LINKED_INFO_FILES
7
+ set(CMAKE_TARGET_LINKED_INFO_FILES
16
8
  )
17
9
 
18
- # The include file search paths:
19
- SET(CMAKE_C_TARGET_INCLUDE_PATH
20
- "../src"
21
- "../deps"
22
- "."
23
- "../tests"
24
- )
25
- SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
26
- SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
27
- SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
10
+ # Fortran module output directory.
11
+ set(CMAKE_Fortran_TARGET_MODULE_DIR "")
@@ -1,5 +1,9 @@
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.6
3
+
4
+ # Delete rule output on recipe failure.
5
+ .DELETE_ON_ERROR:
6
+
3
7
 
4
8
  #=============================================================================
5
9
  # Special targets provided by cmake.
@@ -7,16 +11,20 @@
7
11
  # Disable implicit rules so canonical targets will work.
8
12
  .SUFFIXES:
9
13
 
14
+
10
15
  # Remove some rules from gmake that .SUFFIXES does not remove.
11
16
  SUFFIXES =
12
17
 
13
18
  .SUFFIXES: .hpux_make_needs_suffix_list
14
19
 
20
+
15
21
  # Suppress display of executed commands.
16
22
  $(VERBOSE).SILENT:
17
23
 
24
+
18
25
  # A target that is always out of date.
19
26
  cmake_force:
27
+
20
28
  .PHONY : cmake_force
21
29
 
22
30
  #=============================================================================
@@ -26,17 +34,14 @@ cmake_force:
26
34
  SHELL = /bin/sh
27
35
 
28
36
  # The CMake executable.
29
- CMAKE_COMMAND = /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake
37
+ CMAKE_COMMAND = /usr/local/Cellar/cmake/3.6.1/bin/cmake
30
38
 
31
39
  # The command to remove a file.
32
- RM = /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake -E remove -f
40
+ RM = /usr/local/Cellar/cmake/3.6.1/bin/cmake -E remove -f
33
41
 
34
42
  # Escaping for special characters.
35
43
  EQUALS = =
36
44
 
37
- # The program to use to edit the cache.
38
- CMAKE_EDIT_COMMAND = /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/ccmake
39
-
40
45
  # The top-level source directory on which CMake was run.
41
46
  CMAKE_SOURCE_DIR = /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML
42
47
 
@@ -49,14 +54,16 @@ CMAKE_BINARY_DIR = /Users/gjtorikian/Development/mathematical/ext/mathematical/m
49
54
  include CMakeFiles/NightlyTest.dir/progress.make
50
55
 
51
56
  CMakeFiles/NightlyTest:
52
- /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/ctest -D NightlyTest
57
+ /usr/local/Cellar/cmake/3.6.1/bin/ctest -D NightlyTest
53
58
 
54
59
  NightlyTest: CMakeFiles/NightlyTest
55
60
  NightlyTest: CMakeFiles/NightlyTest.dir/build.make
61
+
56
62
  .PHONY : NightlyTest
57
63
 
58
64
  # Rule to build all files generated by this target.
59
65
  CMakeFiles/NightlyTest.dir/build: NightlyTest
66
+
60
67
  .PHONY : CMakeFiles/NightlyTest.dir/build
61
68
 
62
69
  CMakeFiles/NightlyTest.dir/clean:
@@ -1,8 +1,8 @@
1
- FILE(REMOVE_RECURSE
1
+ file(REMOVE_RECURSE
2
2
  "CMakeFiles/NightlyTest"
3
3
  )
4
4
 
5
5
  # Per-language clean rules from dependency scanning.
6
- FOREACH(lang)
7
- INCLUDE(CMakeFiles/NightlyTest.dir/cmake_clean_${lang}.cmake OPTIONAL)
8
- ENDFOREACH(lang)
6
+ foreach(lang )
7
+ include(CMakeFiles/NightlyTest.dir/cmake_clean_${lang}.cmake OPTIONAL)
8
+ endforeach()
@@ -1,27 +1,11 @@
1
1
  # The set of languages for which implicit dependencies are needed:
2
- SET(CMAKE_DEPENDS_LANGUAGES
2
+ set(CMAKE_DEPENDS_LANGUAGES
3
3
  )
4
4
  # The set of files for implicit dependencies of each language:
5
5
 
6
- # Preprocessor definitions for this target.
7
- SET(CMAKE_TARGET_DEFINITIONS
8
- "CLAR_FIXTURE_PATH=\"/Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/tests/fixtures/\""
9
- "CLAR_TMPDIR=\"libmtex2MML_tests\""
10
- "CLAR_FIXTURE_PATH=\"/Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/tests/fixtures/\""
11
- "CLAR_TMPDIR=\"libmtex2MML_tests\""
12
- )
13
-
14
6
  # Targets to which this target links.
15
- SET(CMAKE_TARGET_LINKED_INFO_FILES
7
+ set(CMAKE_TARGET_LINKED_INFO_FILES
16
8
  )
17
9
 
18
- # The include file search paths:
19
- SET(CMAKE_C_TARGET_INCLUDE_PATH
20
- "../src"
21
- "../deps"
22
- "."
23
- "../tests"
24
- )
25
- SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
26
- SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
27
- SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
10
+ # Fortran module output directory.
11
+ set(CMAKE_Fortran_TARGET_MODULE_DIR "")
@@ -1,5 +1,9 @@
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.6
3
+
4
+ # Delete rule output on recipe failure.
5
+ .DELETE_ON_ERROR:
6
+
3
7
 
4
8
  #=============================================================================
5
9
  # Special targets provided by cmake.
@@ -7,16 +11,20 @@
7
11
  # Disable implicit rules so canonical targets will work.
8
12
  .SUFFIXES:
9
13
 
14
+
10
15
  # Remove some rules from gmake that .SUFFIXES does not remove.
11
16
  SUFFIXES =
12
17
 
13
18
  .SUFFIXES: .hpux_make_needs_suffix_list
14
19
 
20
+
15
21
  # Suppress display of executed commands.
16
22
  $(VERBOSE).SILENT:
17
23
 
24
+
18
25
  # A target that is always out of date.
19
26
  cmake_force:
27
+
20
28
  .PHONY : cmake_force
21
29
 
22
30
  #=============================================================================
@@ -26,17 +34,14 @@ cmake_force:
26
34
  SHELL = /bin/sh
27
35
 
28
36
  # The CMake executable.
29
- CMAKE_COMMAND = /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake
37
+ CMAKE_COMMAND = /usr/local/Cellar/cmake/3.6.1/bin/cmake
30
38
 
31
39
  # The command to remove a file.
32
- RM = /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/cmake -E remove -f
40
+ RM = /usr/local/Cellar/cmake/3.6.1/bin/cmake -E remove -f
33
41
 
34
42
  # Escaping for special characters.
35
43
  EQUALS = =
36
44
 
37
- # The program to use to edit the cache.
38
- CMAKE_EDIT_COMMAND = /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/ccmake
39
-
40
45
  # The top-level source directory on which CMake was run.
41
46
  CMAKE_SOURCE_DIR = /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML
42
47
 
@@ -49,14 +54,16 @@ CMAKE_BINARY_DIR = /Users/gjtorikian/Development/mathematical/ext/mathematical/m
49
54
  include CMakeFiles/NightlyUpdate.dir/progress.make
50
55
 
51
56
  CMakeFiles/NightlyUpdate:
52
- /usr/local/Cellar/cmake/2.8.10.1-boxen1/bin/ctest -D NightlyUpdate
57
+ /usr/local/Cellar/cmake/3.6.1/bin/ctest -D NightlyUpdate
53
58
 
54
59
  NightlyUpdate: CMakeFiles/NightlyUpdate
55
60
  NightlyUpdate: CMakeFiles/NightlyUpdate.dir/build.make
61
+
56
62
  .PHONY : NightlyUpdate
57
63
 
58
64
  # Rule to build all files generated by this target.
59
65
  CMakeFiles/NightlyUpdate.dir/build: NightlyUpdate
66
+
60
67
  .PHONY : CMakeFiles/NightlyUpdate.dir/build
61
68
 
62
69
  CMakeFiles/NightlyUpdate.dir/clean:
@@ -1,8 +1,8 @@
1
- FILE(REMOVE_RECURSE
1
+ file(REMOVE_RECURSE
2
2
  "CMakeFiles/NightlyUpdate"
3
3
  )
4
4
 
5
5
  # Per-language clean rules from dependency scanning.
6
- FOREACH(lang)
7
- INCLUDE(CMakeFiles/NightlyUpdate.dir/cmake_clean_${lang}.cmake OPTIONAL)
8
- ENDFOREACH(lang)
6
+ foreach(lang )
7
+ include(CMakeFiles/NightlyUpdate.dir/cmake_clean_${lang}.cmake OPTIONAL)
8
+ endforeach()
@@ -1,34 +1,41 @@
1
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir
2
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir
3
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir
1
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/install/local.dir
2
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/rebuild_cache.dir
3
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/list_install_components.dir
4
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/install/strip.dir
5
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir
4
6
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir
5
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir
6
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir
7
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir
8
7
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir
8
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir
9
9
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir
10
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir
10
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir
11
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir
11
12
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir
12
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir
13
13
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir
14
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir
15
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir
16
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir
17
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir
18
14
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir
19
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir
20
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir
21
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir
22
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir
15
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir
16
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir
17
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir
23
18
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir
19
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir
20
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir
21
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir
22
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir
23
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/edit_cache.dir
24
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir
24
25
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir
26
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir
25
27
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir
26
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir
27
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir
28
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir
29
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir
30
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir
28
31
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir
32
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir
33
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir
29
34
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir
35
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/install.dir
36
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir
30
37
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir
31
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir
32
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir
38
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/test.dir
39
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir
40
+ /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir
33
41
  /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir
34
- /Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir
@@ -0,0 +1,34 @@
1
+
2
+ const char features[] = {"\n"
3
+ "C_FEATURE:"
4
+ #if ((__clang_major__ * 100) + __clang_minor__) >= 400
5
+ "1"
6
+ #else
7
+ "0"
8
+ #endif
9
+ "c_function_prototypes\n"
10
+ "C_FEATURE:"
11
+ #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
12
+ "1"
13
+ #else
14
+ "0"
15
+ #endif
16
+ "c_restrict\n"
17
+ "C_FEATURE:"
18
+ #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
19
+ "1"
20
+ #else
21
+ "0"
22
+ #endif
23
+ "c_static_assert\n"
24
+ "C_FEATURE:"
25
+ #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
26
+ "1"
27
+ #else
28
+ "0"
29
+ #endif
30
+ "c_variadic_macros\n"
31
+
32
+ };
33
+
34
+ int main(int argc, char** argv) { (void)argv; return features[argc]; }
@@ -0,0 +1,405 @@
1
+
2
+ const char features[] = {"\n"
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]; }