mathematical 1.6.14 → 1.6.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -1
  3. data/Rakefile +31 -21
  4. data/ext/mathematical/extconf.rb +71 -69
  5. data/ext/mathematical/lasem/COPYING +118 -99
  6. data/ext/mathematical/lasem/{NEWS → NEWS.md} +10 -0
  7. data/ext/mathematical/lasem/README.md +65 -0
  8. data/ext/mathematical/lasem/docs/lasem-render-0.6.1 +2 -2
  9. data/ext/mathematical/lasem/docs/meson.build +3 -0
  10. data/ext/mathematical/lasem/docs/reference/lasem/building.md +32 -0
  11. data/ext/mathematical/lasem/docs/reference/lasem/lasem.toml.in +47 -0
  12. data/ext/mathematical/lasem/docs/reference/lasem/meson.build +44 -0
  13. data/ext/mathematical/lasem/docs/reference/lasem/overview.md +24 -0
  14. data/ext/mathematical/lasem/docs/reference/lasem/urlmap.js +5 -0
  15. data/ext/mathematical/lasem/itex2mml/README.itex2MML +5 -2
  16. data/ext/mathematical/lasem/itex2mml/itex2MML.h +10 -10
  17. data/ext/mathematical/lasem/itex2mml/itex2MML.l +126 -27
  18. data/ext/mathematical/lasem/itex2mml/itex2MML.y +262 -99
  19. data/ext/mathematical/lasem/itex2mml/meson.build +17 -0
  20. data/ext/mathematical/lasem/lasem.doap +7 -7
  21. data/ext/mathematical/lasem/meson.build +46 -0
  22. data/ext/mathematical/lasem/meson_options.txt +5 -0
  23. data/ext/mathematical/lasem/org.lasem.Viewer.json +41 -0
  24. data/ext/mathematical/lasem/po/LINGUAS +0 -2
  25. data/ext/mathematical/lasem/po/eu.po +30 -66
  26. data/ext/mathematical/lasem/po/meson.build +4 -0
  27. data/ext/mathematical/lasem/src/lasemrender.c +1 -6
  28. data/ext/mathematical/lasem/src/lsm.c +2 -0
  29. data/ext/mathematical/lasem/src/lsmattributes.c +2 -5
  30. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +71 -7
  31. data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +7 -5
  32. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +11 -1
  33. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +2 -1
  34. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +6 -1
  35. data/ext/mathematical/lasem/src/lsmmathmlview.c +21 -3
  36. data/ext/mathematical/lasem/src/lsmmathmlview.h +2 -2
  37. data/ext/mathematical/lasem/src/lsmmisc.c +15 -0
  38. data/ext/mathematical/lasem/src/lsmmisc.h +32 -0
  39. data/ext/mathematical/lasem/src/lsmproperties.c +2 -5
  40. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +6 -3
  41. data/ext/mathematical/lasem/src/lsmsvgtraits.c +10 -1
  42. data/ext/mathematical/lasem/src/meson.build +321 -0
  43. data/ext/mathematical/lasem/subprojects/gi-docgen.wrap +6 -0
  44. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/array.tex +3 -0
  45. data/ext/mathematical/lasem/tests/dom.c +0 -6
  46. data/ext/mathematical/lasem/tests/filter.c +8 -7
  47. data/ext/mathematical/lasem/tests/lasem.supp +185 -0
  48. data/ext/mathematical/lasem/tests/lsmtest.c +2 -9
  49. data/ext/mathematical/lasem/tests/meson.build +39 -0
  50. data/ext/mathematical/lasem/tests/str.c +0 -4
  51. data/ext/mathematical/lasem/tests/suite.c +0 -4
  52. data/ext/mathematical/lasem/viewer/meson.build +17 -0
  53. data/ext/mathematical/lasem/viewer/viewer.c +248 -0
  54. data/ext/mathematical/mtex2MML/script/tag +15 -14
  55. data/ext/mathematical/mtex2MML/src/lexer.l +4 -4
  56. data/ext/mathematical/mtex2MML/src/mtex2MML.h +7 -7
  57. data/ext/mathematical/mtex2MML/src/parser.y +5 -5
  58. data/ext/mathematical/mtex2MML/tests/clar.c +2 -2
  59. data/ext/mathematical/mtex2MML/tests/deps/trim/package.json +2 -2
  60. data/lib/mathematical/configuration.rb +8 -4
  61. data/lib/mathematical/corrections.rb +3 -1
  62. data/lib/mathematical/validator.rb +11 -8
  63. data/lib/mathematical/version.rb +3 -1
  64. data/lib/mathematical.rb +21 -19
  65. data/mathematical.gemspec +21 -22
  66. metadata +36 -336
  67. data/ext/mathematical/lasem/AUTHORS +0 -1
  68. data/ext/mathematical/lasem/ChangeLog +0 -0
  69. data/ext/mathematical/lasem/MAINTAINERS +0 -3
  70. data/ext/mathematical/lasem/Makefile.am +0 -34
  71. data/ext/mathematical/lasem/Makefile.decl +0 -57
  72. data/ext/mathematical/lasem/README +0 -28
  73. data/ext/mathematical/lasem/RELEASING +0 -85
  74. data/ext/mathematical/lasem/autogen.sh +0 -180
  75. data/ext/mathematical/lasem/configure.ac +0 -139
  76. data/ext/mathematical/lasem/docs/Makefile.am +0 -14
  77. data/ext/mathematical/lasem/docs/reference/Makefile.am +0 -3
  78. data/ext/mathematical/lasem/docs/reference/lasem/Makefile.am +0 -205
  79. data/ext/mathematical/lasem/docs/reference/lasem/lasem-docs.xml +0 -75
  80. data/ext/mathematical/lasem/docs/reference/lasem/lasem-overview.xml +0 -64
  81. data/ext/mathematical/lasem/docs/reference/lasem/lasem-sections.txt +0 -213
  82. data/ext/mathematical/lasem/docs/reference/lasem/lasem.types +0 -110
  83. data/ext/mathematical/lasem/itex2mml/Makefile.am +0 -37
  84. data/ext/mathematical/lasem/lasem.pc.in +0 -11
  85. data/ext/mathematical/lasem/m4/introspection.m4 +0 -96
  86. data/ext/mathematical/lasem/po/ChangeLog +0 -0
  87. data/ext/mathematical/lasem/po/ro.po +0 -64
  88. data/ext/mathematical/lasem/src/Makefile.am +0 -349
  89. data/ext/mathematical/lasem/src/lsmdomenumtypes.c.template +0 -39
  90. data/ext/mathematical/lasem/src/lsmdomenumtypes.h.template +0 -26
  91. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c.template +0 -39
  92. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h.template +0 -26
  93. data/ext/mathematical/lasem/src/lsmsvgenumtypes.c.template +0 -39
  94. data/ext/mathematical/lasem/src/lsmsvgenumtypes.h.template +0 -26
  95. data/ext/mathematical/lasem/tests/Makefile.am +0 -34
  96. data/ext/mathematical/lib/liblasem.dylib +0 -0
  97. data/ext/mathematical/lib/libmtex2MML.a +0 -0
  98. data/ext/mathematical/mtex2MML/build/CMakeCache.txt +0 -512
  99. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCCompiler.cmake +0 -76
  100. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCXXCompiler.cmake +0 -88
  101. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_C.bin +0 -0
  102. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
  103. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeSystem.cmake +0 -15
  104. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdC/CMakeCCompilerId.c +0 -671
  105. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -660
  106. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  107. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeError.log +0 -22
  108. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +0 -351
  109. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +0 -34
  110. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +0 -11
  111. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +0 -76
  112. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +0 -8
  113. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/progress.make +0 -1
  114. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +0 -11
  115. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +0 -76
  116. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +0 -8
  117. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/progress.make +0 -1
  118. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +0 -11
  119. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +0 -76
  120. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +0 -8
  121. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/progress.make +0 -1
  122. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +0 -11
  123. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +0 -76
  124. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +0 -8
  125. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/progress.make +0 -1
  126. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +0 -11
  127. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +0 -76
  128. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +0 -8
  129. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/progress.make +0 -1
  130. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +0 -11
  131. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +0 -76
  132. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +0 -8
  133. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/progress.make +0 -1
  134. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +0 -11
  135. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +0 -76
  136. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +0 -8
  137. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/progress.make +0 -1
  138. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +0 -11
  139. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +0 -76
  140. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +0 -8
  141. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/progress.make +0 -1
  142. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +0 -11
  143. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +0 -76
  144. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +0 -8
  145. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/progress.make +0 -1
  146. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +0 -11
  147. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +0 -76
  148. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +0 -8
  149. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/progress.make +0 -1
  150. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +0 -11
  151. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +0 -76
  152. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +0 -8
  153. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/progress.make +0 -1
  154. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +0 -11
  155. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +0 -76
  156. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +0 -8
  157. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/progress.make +0 -1
  158. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +0 -11
  159. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +0 -76
  160. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +0 -8
  161. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/progress.make +0 -1
  162. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +0 -11
  163. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +0 -76
  164. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +0 -8
  165. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/progress.make +0 -1
  166. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +0 -11
  167. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +0 -76
  168. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +0 -8
  169. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/progress.make +0 -1
  170. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +0 -11
  171. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +0 -76
  172. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +0 -8
  173. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/progress.make +0 -1
  174. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +0 -11
  175. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +0 -76
  176. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +0 -8
  177. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/progress.make +0 -1
  178. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +0 -11
  179. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +0 -76
  180. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +0 -8
  181. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/progress.make +0 -1
  182. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +0 -177
  183. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +0 -1033
  184. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +0 -11
  185. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +0 -76
  186. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +0 -8
  187. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/progress.make +0 -1
  188. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +0 -11
  189. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +0 -76
  190. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +0 -8
  191. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/progress.make +0 -1
  192. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +0 -11
  193. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +0 -76
  194. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +0 -8
  195. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/progress.make +0 -1
  196. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +0 -11
  197. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +0 -76
  198. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +0 -8
  199. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/progress.make +0 -1
  200. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +0 -11
  201. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +0 -76
  202. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +0 -8
  203. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/progress.make +0 -1
  204. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +0 -11
  205. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +0 -76
  206. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +0 -8
  207. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/progress.make +0 -1
  208. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +0 -11
  209. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +0 -76
  210. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +0 -8
  211. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/progress.make +0 -1
  212. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +0 -11
  213. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +0 -76
  214. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +0 -8
  215. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/progress.make +0 -1
  216. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +0 -11
  217. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +0 -76
  218. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +0 -8
  219. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/progress.make +0 -1
  220. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +0 -11
  221. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +0 -76
  222. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +0 -8
  223. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/progress.make +0 -1
  224. data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +0 -41
  225. data/ext/mathematical/mtex2MML/build/CMakeFiles/cmake.check_cache +0 -1
  226. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +0 -11
  227. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +0 -76
  228. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +0 -8
  229. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/progress.make +0 -1
  230. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +0 -44
  231. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +0 -206
  232. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +0 -20
  233. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/depend.make +0 -2
  234. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +0 -10
  235. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +0 -1
  236. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/progress.make +0 -11
  237. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +0 -244
  238. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +0 -42
  239. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +0 -203
  240. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +0 -19
  241. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +0 -3
  242. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +0 -49
  243. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +0 -49
  244. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +0 -10
  245. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +0 -2
  246. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/progress.make +0 -11
  247. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +0 -11
  248. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +0 -76
  249. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +0 -8
  250. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/progress.make +0 -1
  251. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +0 -43
  252. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +0 -217
  253. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +0 -20
  254. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/depend.make +0 -2
  255. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +0 -10
  256. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +0 -1
  257. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/progress.make +0 -12
  258. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +0 -59
  259. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +0 -473
  260. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +0 -37
  261. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/depend.make +0 -2
  262. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +0 -10
  263. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +0 -1
  264. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/progress.make +0 -29
  265. data/ext/mathematical/mtex2MML/build/CMakeFiles/progress.marks +0 -1
  266. data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +0 -8
  267. data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +0 -105
  268. data/ext/mathematical/mtex2MML/build/Makefile +0 -1485
  269. data/ext/mathematical/mtex2MML/build/cmake_install.cmake +0 -102
  270. data/ext/mathematical/mtex2MML/build/lexer.c +0 -8903
  271. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  272. data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +0 -10
  273. data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +0 -42
  274. data/ext/mathematical/mtex2MML/build/parser.c +0 -10334
  275. data/ext/mathematical/mtex2MML/build/parser.h +0 -625
  276. data/ext/mathematical/mtex2MML/build/parser.output +0 -120719
  277. data/test/mathematical/basic_test.rb +0 -89
  278. data/test/mathematical/corrections_test.rb +0 -16
  279. data/test/mathematical/delimiters_test.rb +0 -69
  280. data/test/mathematical/fixtures/after/backslashes.html +0 -5
  281. data/test/mathematical/fixtures/after/brackets_display.html +0 -1
  282. data/test/mathematical/fixtures/after/compliance_accents.html +0 -17
  283. data/test/mathematical/fixtures/after/compliance_arrows.html +0 -71
  284. data/test/mathematical/fixtures/after/compliance_colors.html +0 -4
  285. data/test/mathematical/fixtures/after/compliance_greek_letters.html +0 -42
  286. data/test/mathematical/fixtures/after/compliance_large_math.html +0 -19
  287. data/test/mathematical/fixtures/after/compliance_log_symbols.html +0 -34
  288. data/test/mathematical/fixtures/after/compliance_operators.html +0 -262
  289. data/test/mathematical/fixtures/after/dollar_sign_inline.html +0 -1
  290. data/test/mathematical/fixtures/after/equation_display.html +0 -1
  291. data/test/mathematical/fixtures/after/multiple_dollar_inline.html +0 -1
  292. data/test/mathematical/fixtures/after/parens_inline.html +0 -1
  293. data/test/mathematical/fixtures/before/backslashes.text +0 -17
  294. data/test/mathematical/fixtures/before/brackets_display.text +0 -1
  295. data/test/mathematical/fixtures/before/compliance_accents.text +0 -17
  296. data/test/mathematical/fixtures/before/compliance_arrows.text +0 -71
  297. data/test/mathematical/fixtures/before/compliance_colors.text +0 -4
  298. data/test/mathematical/fixtures/before/compliance_greek_letters.text +0 -42
  299. data/test/mathematical/fixtures/before/compliance_large_math.text +0 -19
  300. data/test/mathematical/fixtures/before/compliance_log_symbols.text +0 -34
  301. data/test/mathematical/fixtures/before/compliance_operators.text +0 -262
  302. data/test/mathematical/fixtures/before/dollar_sign_inline.text +0 -1
  303. data/test/mathematical/fixtures/before/equation_display.text +0 -1
  304. data/test/mathematical/fixtures/before/multiple_dollar_inline.text +0 -1
  305. data/test/mathematical/fixtures/before/parens_inline.text +0 -1
  306. data/test/mathematical/fixtures/performance/big_file.text +0 -1755
  307. data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
  308. data/test/mathematical/fixtures/png/numeric_test_2.png +0 -0
  309. data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
  310. data/test/mathematical/fixtures/png/pmatrix.png +0 -0
  311. data/test/mathematical/fixtures_test.rb +0 -51
  312. data/test/mathematical/maliciousness_test.rb +0 -152
  313. data/test/mathematical/mathjax_test.rb +0 -26
  314. data/test/mathematical/mathml_test.rb +0 -21
  315. data/test/mathematical/multiples_test.rb +0 -71
  316. data/test/mathematical/performance_test.rb +0 -15
  317. data/test/mathematical/png_test.rb +0 -30
  318. data/test/test_helper.rb +0 -72
@@ -1,660 +0,0 @@
1
- /* This source file must have a .cpp extension so that all C++ compilers
2
- recognize the extension without flags. Borland does not know .cxx for
3
- example. */
4
- #ifndef __cplusplus
5
- # error "A C compiler has been selected for C++."
6
- #endif
7
-
8
-
9
- /* Version number components: V=Version, R=Revision, P=Patch
10
- Version date components: YYYY=Year, MM=Month, DD=Day */
11
-
12
- #if defined(__COMO__)
13
- # define COMPILER_ID "Comeau"
14
- /* __COMO_VERSION__ = VRR */
15
- # define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
16
- # define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
17
-
18
- #elif defined(__INTEL_COMPILER) || defined(__ICC)
19
- # define COMPILER_ID "Intel"
20
- # if defined(_MSC_VER)
21
- # define SIMULATE_ID "MSVC"
22
- # endif
23
- # if defined(__GNUC__)
24
- # define SIMULATE_ID "GNU"
25
- # endif
26
- /* __INTEL_COMPILER = VRP */
27
- # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
28
- # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
29
- # if defined(__INTEL_COMPILER_UPDATE)
30
- # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
31
- # else
32
- # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
33
- # endif
34
- # if defined(__INTEL_COMPILER_BUILD_DATE)
35
- /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
36
- # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
37
- # endif
38
- # if defined(_MSC_VER)
39
- /* _MSC_VER = VVRR */
40
- # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
41
- # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
42
- # endif
43
- # if defined(__GNUC__)
44
- # define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
45
- # elif defined(__GNUG__)
46
- # define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
47
- # endif
48
- # if defined(__GNUC_MINOR__)
49
- # define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
50
- # endif
51
- # if defined(__GNUC_PATCHLEVEL__)
52
- # define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
53
- # endif
54
-
55
- #elif defined(__PATHCC__)
56
- # define COMPILER_ID "PathScale"
57
- # define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
58
- # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
59
- # if defined(__PATHCC_PATCHLEVEL__)
60
- # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
61
- # endif
62
-
63
- #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
64
- # define COMPILER_ID "Embarcadero"
65
- # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
66
- # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
67
- # define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
68
-
69
- #elif defined(__BORLANDC__)
70
- # define COMPILER_ID "Borland"
71
- /* __BORLANDC__ = 0xVRR */
72
- # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
73
- # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
74
-
75
- #elif defined(__WATCOMC__) && __WATCOMC__ < 1200
76
- # define COMPILER_ID "Watcom"
77
- /* __WATCOMC__ = VVRR */
78
- # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
79
- # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
80
- # if (__WATCOMC__ % 10) > 0
81
- # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
82
- # endif
83
-
84
- #elif defined(__WATCOMC__)
85
- # define COMPILER_ID "OpenWatcom"
86
- /* __WATCOMC__ = VVRP + 1100 */
87
- # define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
88
- # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
89
- # if (__WATCOMC__ % 10) > 0
90
- # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
91
- # endif
92
-
93
- #elif defined(__SUNPRO_CC)
94
- # define COMPILER_ID "SunPro"
95
- # if __SUNPRO_CC >= 0x5100
96
- /* __SUNPRO_CC = 0xVRRP */
97
- # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
98
- # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
99
- # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
100
- # else
101
- /* __SUNPRO_CC = 0xVRP */
102
- # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
103
- # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
104
- # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
105
- # endif
106
-
107
- #elif defined(__HP_aCC)
108
- # define COMPILER_ID "HP"
109
- /* __HP_aCC = VVRRPP */
110
- # define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
111
- # define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
112
- # define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
113
-
114
- #elif defined(__DECCXX)
115
- # define COMPILER_ID "Compaq"
116
- /* __DECCXX_VER = VVRRTPPPP */
117
- # define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
118
- # define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
119
- # define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
120
-
121
- #elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
122
- # define COMPILER_ID "zOS"
123
- /* __IBMCPP__ = VRP */
124
- # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
125
- # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
126
- # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
127
-
128
- #elif defined(__ibmxl__) && defined(__clang__)
129
- # define COMPILER_ID "XLClang"
130
- # define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
131
- # define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
132
- # define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
133
- # define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
134
-
135
-
136
- #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
137
- # define COMPILER_ID "XL"
138
- /* __IBMCPP__ = VRP */
139
- # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
140
- # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
141
- # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
142
-
143
- #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
144
- # define COMPILER_ID "VisualAge"
145
- /* __IBMCPP__ = VRP */
146
- # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
147
- # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
148
- # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
149
-
150
- #elif defined(__PGI)
151
- # define COMPILER_ID "PGI"
152
- # define COMPILER_VERSION_MAJOR DEC(__PGIC__)
153
- # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
154
- # if defined(__PGIC_PATCHLEVEL__)
155
- # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
156
- # endif
157
-
158
- #elif defined(_CRAYC)
159
- # define COMPILER_ID "Cray"
160
- # define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
161
- # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
162
-
163
- #elif defined(__TI_COMPILER_VERSION__)
164
- # define COMPILER_ID "TI"
165
- /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
166
- # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
167
- # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
168
- # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
169
-
170
- #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
171
- # define COMPILER_ID "Fujitsu"
172
-
173
- #elif defined(__ghs__)
174
- # define COMPILER_ID "GHS"
175
- /* __GHS_VERSION_NUMBER = VVVVRP */
176
- # ifdef __GHS_VERSION_NUMBER
177
- # define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
178
- # define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
179
- # define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
180
- # endif
181
-
182
- #elif defined(__SCO_VERSION__)
183
- # define COMPILER_ID "SCO"
184
-
185
- #elif defined(__ARMCC_VERSION) && !defined(__clang__)
186
- # define COMPILER_ID "ARMCC"
187
- #if __ARMCC_VERSION >= 1000000
188
- /* __ARMCC_VERSION = VRRPPPP */
189
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
190
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
191
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
192
- #else
193
- /* __ARMCC_VERSION = VRPPPP */
194
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
195
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
196
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
197
- #endif
198
-
199
-
200
- #elif defined(__clang__) && defined(__apple_build_version__)
201
- # define COMPILER_ID "AppleClang"
202
- # if defined(_MSC_VER)
203
- # define SIMULATE_ID "MSVC"
204
- # endif
205
- # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
206
- # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
207
- # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
208
- # if defined(_MSC_VER)
209
- /* _MSC_VER = VVRR */
210
- # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
211
- # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
212
- # endif
213
- # define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
214
-
215
- #elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
216
- # define COMPILER_ID "ARMClang"
217
- # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
218
- # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
219
- # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
220
- # define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
221
-
222
- #elif defined(__clang__)
223
- # define COMPILER_ID "Clang"
224
- # if defined(_MSC_VER)
225
- # define SIMULATE_ID "MSVC"
226
- # endif
227
- # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
228
- # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
229
- # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
230
- # if defined(_MSC_VER)
231
- /* _MSC_VER = VVRR */
232
- # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
233
- # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
234
- # endif
235
-
236
- #elif defined(__GNUC__) || defined(__GNUG__)
237
- # define COMPILER_ID "GNU"
238
- # if defined(__GNUC__)
239
- # define COMPILER_VERSION_MAJOR DEC(__GNUC__)
240
- # else
241
- # define COMPILER_VERSION_MAJOR DEC(__GNUG__)
242
- # endif
243
- # if defined(__GNUC_MINOR__)
244
- # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
245
- # endif
246
- # if defined(__GNUC_PATCHLEVEL__)
247
- # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
248
- # endif
249
-
250
- #elif defined(_MSC_VER)
251
- # define COMPILER_ID "MSVC"
252
- /* _MSC_VER = VVRR */
253
- # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
254
- # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
255
- # if defined(_MSC_FULL_VER)
256
- # if _MSC_VER >= 1400
257
- /* _MSC_FULL_VER = VVRRPPPPP */
258
- # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
259
- # else
260
- /* _MSC_FULL_VER = VVRRPPPP */
261
- # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
262
- # endif
263
- # endif
264
- # if defined(_MSC_BUILD)
265
- # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
266
- # endif
267
-
268
- #elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
269
- # define COMPILER_ID "ADSP"
270
- #if defined(__VISUALDSPVERSION__)
271
- /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
272
- # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
273
- # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
274
- # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
275
- #endif
276
-
277
- #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
278
- # define COMPILER_ID "IAR"
279
- # if defined(__VER__) && defined(__ICCARM__)
280
- # define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
281
- # define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
282
- # define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
283
- # define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
284
- # elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__))
285
- # define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
286
- # define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
287
- # define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
288
- # define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
289
- # endif
290
-
291
-
292
- /* These compilers are either not known or too old to define an
293
- identification macro. Try to identify the platform and guess that
294
- it is the native compiler. */
295
- #elif defined(__hpux) || defined(__hpua)
296
- # define COMPILER_ID "HP"
297
-
298
- #else /* unknown compiler */
299
- # define COMPILER_ID ""
300
- #endif
301
-
302
- /* Construct the string literal in pieces to prevent the source from
303
- getting matched. Store it in a pointer rather than an array
304
- because some compilers will just produce instructions to fill the
305
- array rather than assigning a pointer to a static array. */
306
- char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
307
- #ifdef SIMULATE_ID
308
- char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
309
- #endif
310
-
311
- #ifdef __QNXNTO__
312
- char const* qnxnto = "INFO" ":" "qnxnto[]";
313
- #endif
314
-
315
- #if defined(__CRAYXE) || defined(__CRAYXC)
316
- char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
317
- #endif
318
-
319
- #define STRINGIFY_HELPER(X) #X
320
- #define STRINGIFY(X) STRINGIFY_HELPER(X)
321
-
322
- /* Identify known platforms by name. */
323
- #if defined(__linux) || defined(__linux__) || defined(linux)
324
- # define PLATFORM_ID "Linux"
325
-
326
- #elif defined(__CYGWIN__)
327
- # define PLATFORM_ID "Cygwin"
328
-
329
- #elif defined(__MINGW32__)
330
- # define PLATFORM_ID "MinGW"
331
-
332
- #elif defined(__APPLE__)
333
- # define PLATFORM_ID "Darwin"
334
-
335
- #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
336
- # define PLATFORM_ID "Windows"
337
-
338
- #elif defined(__FreeBSD__) || defined(__FreeBSD)
339
- # define PLATFORM_ID "FreeBSD"
340
-
341
- #elif defined(__NetBSD__) || defined(__NetBSD)
342
- # define PLATFORM_ID "NetBSD"
343
-
344
- #elif defined(__OpenBSD__) || defined(__OPENBSD)
345
- # define PLATFORM_ID "OpenBSD"
346
-
347
- #elif defined(__sun) || defined(sun)
348
- # define PLATFORM_ID "SunOS"
349
-
350
- #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
351
- # define PLATFORM_ID "AIX"
352
-
353
- #elif defined(__hpux) || defined(__hpux__)
354
- # define PLATFORM_ID "HP-UX"
355
-
356
- #elif defined(__HAIKU__)
357
- # define PLATFORM_ID "Haiku"
358
-
359
- #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
360
- # define PLATFORM_ID "BeOS"
361
-
362
- #elif defined(__QNX__) || defined(__QNXNTO__)
363
- # define PLATFORM_ID "QNX"
364
-
365
- #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
366
- # define PLATFORM_ID "Tru64"
367
-
368
- #elif defined(__riscos) || defined(__riscos__)
369
- # define PLATFORM_ID "RISCos"
370
-
371
- #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
372
- # define PLATFORM_ID "SINIX"
373
-
374
- #elif defined(__UNIX_SV__)
375
- # define PLATFORM_ID "UNIX_SV"
376
-
377
- #elif defined(__bsdos__)
378
- # define PLATFORM_ID "BSDOS"
379
-
380
- #elif defined(_MPRAS) || defined(MPRAS)
381
- # define PLATFORM_ID "MP-RAS"
382
-
383
- #elif defined(__osf) || defined(__osf__)
384
- # define PLATFORM_ID "OSF1"
385
-
386
- #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
387
- # define PLATFORM_ID "SCO_SV"
388
-
389
- #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
390
- # define PLATFORM_ID "ULTRIX"
391
-
392
- #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
393
- # define PLATFORM_ID "Xenix"
394
-
395
- #elif defined(__WATCOMC__)
396
- # if defined(__LINUX__)
397
- # define PLATFORM_ID "Linux"
398
-
399
- # elif defined(__DOS__)
400
- # define PLATFORM_ID "DOS"
401
-
402
- # elif defined(__OS2__)
403
- # define PLATFORM_ID "OS2"
404
-
405
- # elif defined(__WINDOWS__)
406
- # define PLATFORM_ID "Windows3x"
407
-
408
- # else /* unknown platform */
409
- # define PLATFORM_ID
410
- # endif
411
-
412
- #elif defined(__INTEGRITY)
413
- # if defined(INT_178B)
414
- # define PLATFORM_ID "Integrity178"
415
-
416
- # else /* regular Integrity */
417
- # define PLATFORM_ID "Integrity"
418
- # endif
419
-
420
- #else /* unknown platform */
421
- # define PLATFORM_ID
422
-
423
- #endif
424
-
425
- /* For windows compilers MSVC and Intel we can determine
426
- the architecture of the compiler being used. This is because
427
- the compilers do not have flags that can change the architecture,
428
- but rather depend on which compiler is being used
429
- */
430
- #if defined(_WIN32) && defined(_MSC_VER)
431
- # if defined(_M_IA64)
432
- # define ARCHITECTURE_ID "IA64"
433
-
434
- # elif defined(_M_X64) || defined(_M_AMD64)
435
- # define ARCHITECTURE_ID "x64"
436
-
437
- # elif defined(_M_IX86)
438
- # define ARCHITECTURE_ID "X86"
439
-
440
- # elif defined(_M_ARM64)
441
- # define ARCHITECTURE_ID "ARM64"
442
-
443
- # elif defined(_M_ARM)
444
- # if _M_ARM == 4
445
- # define ARCHITECTURE_ID "ARMV4I"
446
- # elif _M_ARM == 5
447
- # define ARCHITECTURE_ID "ARMV5I"
448
- # else
449
- # define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
450
- # endif
451
-
452
- # elif defined(_M_MIPS)
453
- # define ARCHITECTURE_ID "MIPS"
454
-
455
- # elif defined(_M_SH)
456
- # define ARCHITECTURE_ID "SHx"
457
-
458
- # else /* unknown architecture */
459
- # define ARCHITECTURE_ID ""
460
- # endif
461
-
462
- #elif defined(__WATCOMC__)
463
- # if defined(_M_I86)
464
- # define ARCHITECTURE_ID "I86"
465
-
466
- # elif defined(_M_IX86)
467
- # define ARCHITECTURE_ID "X86"
468
-
469
- # else /* unknown architecture */
470
- # define ARCHITECTURE_ID ""
471
- # endif
472
-
473
- #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
474
- # if defined(__ICCARM__)
475
- # define ARCHITECTURE_ID "ARM"
476
-
477
- # elif defined(__ICCRX__)
478
- # define ARCHITECTURE_ID "RX"
479
-
480
- # elif defined(__ICCRH850__)
481
- # define ARCHITECTURE_ID "RH850"
482
-
483
- # elif defined(__ICCRL78__)
484
- # define ARCHITECTURE_ID "RL78"
485
-
486
- # elif defined(__ICCRISCV__)
487
- # define ARCHITECTURE_ID "RISCV"
488
-
489
- # elif defined(__ICCAVR__)
490
- # define ARCHITECTURE_ID "AVR"
491
-
492
- # elif defined(__ICC430__)
493
- # define ARCHITECTURE_ID "MSP430"
494
-
495
- # elif defined(__ICCV850__)
496
- # define ARCHITECTURE_ID "V850"
497
-
498
- # elif defined(__ICC8051__)
499
- # define ARCHITECTURE_ID "8051"
500
-
501
- # else /* unknown architecture */
502
- # define ARCHITECTURE_ID ""
503
- # endif
504
-
505
- #elif defined(__ghs__)
506
- # if defined(__PPC64__)
507
- # define ARCHITECTURE_ID "PPC64"
508
-
509
- # elif defined(__ppc__)
510
- # define ARCHITECTURE_ID "PPC"
511
-
512
- # elif defined(__ARM__)
513
- # define ARCHITECTURE_ID "ARM"
514
-
515
- # elif defined(__x86_64__)
516
- # define ARCHITECTURE_ID "x64"
517
-
518
- # elif defined(__i386__)
519
- # define ARCHITECTURE_ID "X86"
520
-
521
- # else /* unknown architecture */
522
- # define ARCHITECTURE_ID ""
523
- # endif
524
- #else
525
- # define ARCHITECTURE_ID
526
- #endif
527
-
528
- /* Convert integer to decimal digit literals. */
529
- #define DEC(n) \
530
- ('0' + (((n) / 10000000)%10)), \
531
- ('0' + (((n) / 1000000)%10)), \
532
- ('0' + (((n) / 100000)%10)), \
533
- ('0' + (((n) / 10000)%10)), \
534
- ('0' + (((n) / 1000)%10)), \
535
- ('0' + (((n) / 100)%10)), \
536
- ('0' + (((n) / 10)%10)), \
537
- ('0' + ((n) % 10))
538
-
539
- /* Convert integer to hex digit literals. */
540
- #define HEX(n) \
541
- ('0' + ((n)>>28 & 0xF)), \
542
- ('0' + ((n)>>24 & 0xF)), \
543
- ('0' + ((n)>>20 & 0xF)), \
544
- ('0' + ((n)>>16 & 0xF)), \
545
- ('0' + ((n)>>12 & 0xF)), \
546
- ('0' + ((n)>>8 & 0xF)), \
547
- ('0' + ((n)>>4 & 0xF)), \
548
- ('0' + ((n) & 0xF))
549
-
550
- /* Construct a string literal encoding the version number components. */
551
- #ifdef COMPILER_VERSION_MAJOR
552
- char const info_version[] = {
553
- 'I', 'N', 'F', 'O', ':',
554
- 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
555
- COMPILER_VERSION_MAJOR,
556
- # ifdef COMPILER_VERSION_MINOR
557
- '.', COMPILER_VERSION_MINOR,
558
- # ifdef COMPILER_VERSION_PATCH
559
- '.', COMPILER_VERSION_PATCH,
560
- # ifdef COMPILER_VERSION_TWEAK
561
- '.', COMPILER_VERSION_TWEAK,
562
- # endif
563
- # endif
564
- # endif
565
- ']','\0'};
566
- #endif
567
-
568
- /* Construct a string literal encoding the internal version number. */
569
- #ifdef COMPILER_VERSION_INTERNAL
570
- char const info_version_internal[] = {
571
- 'I', 'N', 'F', 'O', ':',
572
- 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
573
- 'i','n','t','e','r','n','a','l','[',
574
- COMPILER_VERSION_INTERNAL,']','\0'};
575
- #endif
576
-
577
- /* Construct a string literal encoding the version number components. */
578
- #ifdef SIMULATE_VERSION_MAJOR
579
- char const info_simulate_version[] = {
580
- 'I', 'N', 'F', 'O', ':',
581
- 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
582
- SIMULATE_VERSION_MAJOR,
583
- # ifdef SIMULATE_VERSION_MINOR
584
- '.', SIMULATE_VERSION_MINOR,
585
- # ifdef SIMULATE_VERSION_PATCH
586
- '.', SIMULATE_VERSION_PATCH,
587
- # ifdef SIMULATE_VERSION_TWEAK
588
- '.', SIMULATE_VERSION_TWEAK,
589
- # endif
590
- # endif
591
- # endif
592
- ']','\0'};
593
- #endif
594
-
595
- /* Construct the string literal in pieces to prevent the source from
596
- getting matched. Store it in a pointer rather than an array
597
- because some compilers will just produce instructions to fill the
598
- array rather than assigning a pointer to a static array. */
599
- char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
600
- char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
601
-
602
-
603
-
604
-
605
- #if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
606
- # if defined(__INTEL_CXX11_MODE__)
607
- # if defined(__cpp_aggregate_nsdmi)
608
- # define CXX_STD 201402L
609
- # else
610
- # define CXX_STD 201103L
611
- # endif
612
- # else
613
- # define CXX_STD 199711L
614
- # endif
615
- #elif defined(_MSC_VER) && defined(_MSVC_LANG)
616
- # define CXX_STD _MSVC_LANG
617
- #else
618
- # define CXX_STD __cplusplus
619
- #endif
620
-
621
- const char* info_language_dialect_default = "INFO" ":" "dialect_default["
622
- #if CXX_STD > 201703L
623
- "20"
624
- #elif CXX_STD >= 201703L
625
- "17"
626
- #elif CXX_STD >= 201402L
627
- "14"
628
- #elif CXX_STD >= 201103L
629
- "11"
630
- #else
631
- "98"
632
- #endif
633
- "]";
634
-
635
- /*--------------------------------------------------------------------------*/
636
-
637
- int main(int argc, char* argv[])
638
- {
639
- int require = 0;
640
- require += info_compiler[argc];
641
- require += info_platform[argc];
642
- #ifdef COMPILER_VERSION_MAJOR
643
- require += info_version[argc];
644
- #endif
645
- #ifdef COMPILER_VERSION_INTERNAL
646
- require += info_version_internal[argc];
647
- #endif
648
- #ifdef SIMULATE_ID
649
- require += info_simulate[argc];
650
- #endif
651
- #ifdef SIMULATE_VERSION_MAJOR
652
- require += info_simulate_version[argc];
653
- #endif
654
- #if defined(__CRAYXE) || defined(__CRAYXC)
655
- require += info_cray[argc];
656
- #endif
657
- require += info_language_dialect_default[argc];
658
- (void)argv;
659
- return require;
660
- }
@@ -1,16 +0,0 @@
1
- # CMAKE generated file: DO NOT EDIT!
2
- # Generated by "Unix Makefiles" Generator, CMake Version 3.16
3
-
4
- # Relative path conversion top directories.
5
- set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML")
6
- set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/gjtorikian/Development/mathematical/ext/mathematical/mtex2MML/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})
@@ -1,22 +0,0 @@
1
- Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
2
- Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
3
- Build flags:
4
- Id flags:
5
-
6
- The output was:
7
- 1
8
- ld: library not found for -lSystem
9
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
10
-
11
-
12
- Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
13
- Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
14
- Build flags:
15
- Id flags:
16
-
17
- The output was:
18
- 1
19
- ld: library not found for -lc++
20
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
21
-
22
-