mathematical 1.6.9 → 1.6.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -1
- data/ext/mathematical/CMakeLists.txt +48 -6
- data/ext/mathematical/extconf.rb +31 -16
- data/ext/mathematical/lasem/COPYING +2 -1
- data/ext/mathematical/lasem/NEWS +4 -2
- data/ext/mathematical/lasem/configure.ac +1 -1
- data/ext/mathematical/lasem/lasem.doap +2 -2
- data/ext/mathematical/lasem/po/LINGUAS +5 -0
- data/ext/mathematical/lasem/po/da.po +99 -0
- data/ext/mathematical/lasem/po/es.po +38 -18
- data/ext/mathematical/lasem/po/eu.po +66 -30
- data/ext/mathematical/lasem/po/fur.po +101 -0
- data/ext/mathematical/lasem/po/it.po +68 -28
- data/ext/mathematical/lasem/po/lv.po +72 -29
- data/ext/mathematical/lasem/po/nl.po +102 -0
- data/ext/mathematical/lasem/po/ro.po +64 -0
- data/ext/mathematical/lasem/po/sl.po +53 -18
- data/ext/mathematical/lasem/po/tr.po +68 -28
- data/ext/mathematical/lasem/po/zh_CN.po +71 -34
- data/ext/mathematical/lasem/src/lasemrender.c +4 -4
- data/ext/mathematical/lasem/src/lsm.c +2 -2
- data/ext/mathematical/lasem/src/lsm.h +2 -2
- data/ext/mathematical/lasem/src/lsmattributes.c +2 -2
- data/ext/mathematical/lasem/src/lsmattributes.h +2 -2
- data/ext/mathematical/lasem/src/lsmcairo.c +3 -3
- data/ext/mathematical/lasem/src/lsmcairo.h +2 -2
- data/ext/mathematical/lasem/src/lsmdebug.c +2 -2
- data/ext/mathematical/lasem/src/lsmdebug.h +2 -2
- data/ext/mathematical/lasem/src/lsmdom.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomcharacterdata.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomcharacterdata.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomdocument.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomdocument.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomdocumentfragment.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomdocumentfragment.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomentities.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomentities.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomimplementation.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomimplementation.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomnamednodemap.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomnamednodemap.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomnode.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomnode.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomnodelist.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomnodelist.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomparser.c +9 -9
- data/ext/mathematical/lasem/src/lsmdomparser.h +5 -5
- data/ext/mathematical/lasem/src/lsmdomtext.c +2 -2
- data/ext/mathematical/lasem/src/lsmdomtext.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomtypes.h +2 -2
- data/ext/mathematical/lasem/src/lsmdomview.c +8 -8
- data/ext/mathematical/lasem/src/lsmdomview.h +2 -2
- data/ext/mathematical/lasem/src/lsmitex.c +2 -2
- data/ext/mathematical/lasem/src/lsmitex.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathml.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlactionelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlactionelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlattributes.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlattributes.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmldocument.c +3 -3
- data/ext/mathematical/lasem/src/lsmmathmldocument.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlencloseelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlencloseelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlenums.c +6 -2
- data/ext/mathematical/lasem/src/lsmmathmlenums.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlerrorelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlerrorelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlfencedelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlfencedelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlfractionelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlfractionelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmllayoututils.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmllayoututils.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlmathelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlphantomelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlphantomelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlradicalelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlradicalelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlrowelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlrowelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlscriptelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlscriptelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstringelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstringelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstyle.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstyle.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltablecellelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltablecellelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltableelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltableelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltablerowelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltraits.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltraits.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmltypes.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlutils.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlutils.h +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlview.c +2 -2
- data/ext/mathematical/lasem/src/lsmmathmlview.h +2 -2
- data/ext/mathematical/lasem/src/lsmproperties.c +2 -2
- data/ext/mathematical/lasem/src/lsmproperties.h +2 -2
- data/ext/mathematical/lasem/src/lsmstr.c +2 -2
- data/ext/mathematical/lasem/src/lsmstr.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvg.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgaelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgaelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgattributes.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgcircleelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgcircleelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgclippathelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgclippathelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgcolors.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgcolors.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgdefselement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgdefselement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgdocument.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgdocument.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgelement.h +2 -3
- data/ext/mathematical/lasem/src/lsmsvgellipseelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgellipseelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgenums.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgenums.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterblend.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterblend.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterflood.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterflood.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +6 -4
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermerge.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermerge.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilteroffset.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilteroffset.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltertile.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltertile.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvggelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvggelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvggradientelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvggradientelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgimageelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgimageelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvglength.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvglength.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvglineargradientelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvglineargradientelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvglineelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvglineelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmarkerelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmarkerelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmaskelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmaskelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmatrix.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgmatrix.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpathelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpathelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpatternelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpatternelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpolygonelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpolygonelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpolylineelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgpolylineelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgrectelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgrectelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgstopelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgstopelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgstyle.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgstyle.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgsvgelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgswitchelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgswitchelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgsymbolelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgsymbolelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtextelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtextelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtraits.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtraits.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtransformable.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtransformable.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtspanelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtspanelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgtypes.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvguseelement.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvguseelement.h +2 -2
- data/ext/mathematical/lasem/src/lsmsvgview.c +2 -2
- data/ext/mathematical/lasem/src/lsmsvgview.h +2 -2
- data/ext/mathematical/lasem/src/lsmtraits.c +2 -2
- data/ext/mathematical/lasem/src/lsmtraits.h +2 -2
- data/ext/mathematical/lasem/src/lsmtypes.h +2 -2
- data/ext/mathematical/lasem/src/lsmutils.c +2 -2
- data/ext/mathematical/lasem/src/lsmutils.h +2 -2
- data/ext/mathematical/lasem/tests/lsmtest.c +1 -3
- data/ext/mathematical/lasem/tests/suite.c +1 -2
- data/ext/mathematical/lasem_overrides.c +3 -0
- data/ext/mathematical/lib/liblasem.dylib +0 -0
- data/ext/mathematical/lib/libmtex2MML.a +0 -0
- data/ext/mathematical/mathematical.h +1 -0
- data/ext/mathematical/mtex2MML/CMakeLists.txt +6 -1
- data/ext/mathematical/mtex2MML/README.md +1 -1
- data/ext/mathematical/mtex2MML/build/CMakeCache.txt +102 -82
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.16.2}/CMakeCCompiler.cmake +15 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.16.2}/CMakeCXXCompiler.cmake +27 -9
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.16.2}/CMakeSystem.cmake +4 -4
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.16.2}/CompilerIdC/CMakeCCompilerId.c +141 -37
- data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.16.2}/CompilerIdCXX/CMakeCXXCompilerId.cpp +159 -38
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +3 -3
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeError.log +22 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +258 -943
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +33 -33
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +113 -109
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +162 -308
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +41 -41
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +11 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +39 -126
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +6 -6
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +5 -5
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +1 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +42 -42
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +9 -9
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +39 -126
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +6 -6
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +25 -25
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +1 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +5 -5
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +2 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +6 -6
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +10 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +43 -142
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +7 -7
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +5 -5
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +1 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +26 -26
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +113 -404
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +11 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +5 -5
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +1 -1
- data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +3 -2
- data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +12 -19
- data/ext/mathematical/mtex2MML/build/Makefile +18 -18
- data/ext/mathematical/mtex2MML/build/cmake_install.cmake +63 -4
- data/ext/mathematical/mtex2MML/build/lexer.c +4104 -4048
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +1 -1
- data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +1 -1
- data/ext/mathematical/mtex2MML/build/parser.c +3137 -3123
- data/ext/mathematical/mtex2MML/build/parser.h +32 -32
- data/ext/mathematical/mtex2MML/build/parser.output +13641 -12859
- data/ext/mathematical/mtex2MML/script/bootstrap +21 -6
- data/ext/mathematical/mtex2MML/script/cibuild +4 -3
- data/ext/mathematical/mtex2MML/src/lexer.l +6 -3
- data/ext/mathematical/mtex2MML/src/libmtex2MML.pc.in +1 -1
- data/ext/mathematical/mtex2MML/src/parser.y +13 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/not-1.html +1 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/relations-1.html +1 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.html +1 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.html +1 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.html +4 -4
- data/ext/mathematical/mtex2MML/tests/functions.c +9 -0
- data/ext/mathematical/mtex2MML/tests/mathjax.c +592 -592
- data/ext/mathematical/mtex2MML/tests/mathjax_generate.py +1 -1
- data/lib/mathematical/version.rb +1 -1
- data/mathematical.gemspec +3 -4
- data/test/mathematical/multiples_test.rb +1 -1
- data/test/mathematical/png_test.rb +3 -1
- data/test/test_helper.rb +5 -2
- metadata +58 -81
- data/ext/mathematical/FindPackageHandleStandardArgs.cmake +0 -58
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCCompiler.cmake +0 -68
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCXXCompiler.cmake +0 -69
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c +0 -561
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdC/a.out +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -533
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdCXX/a.out +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeSystem.cmake +0 -15
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdC/a.out +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdCXX/a.out +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.c +0 -34
- data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.cxx +0 -405
@@ -13,8 +13,8 @@
|
|
13
13
|
*
|
14
14
|
* You should have received a copy of the GNU Lesser General
|
15
15
|
* Public License along with this library; if not, write to the
|
16
|
-
* Free Software Foundation, Inc.,
|
17
|
-
* Boston, MA
|
16
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
17
|
+
* Boston, MA 02110-1335, USA.
|
18
18
|
*
|
19
19
|
* Author:
|
20
20
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -269,13 +269,13 @@ main(int argc, char **argv)
|
|
269
269
|
|
270
270
|
if (document != NULL) {
|
271
271
|
if (lsm_debug_check (&lsm_debug_category_dom, LSM_DEBUG_LEVEL_LOG)) {
|
272
|
-
|
272
|
+
char *buffer;
|
273
273
|
gsize size;
|
274
274
|
|
275
275
|
lsm_dom_document_save_to_memory (document, &buffer, &size, NULL);
|
276
276
|
|
277
277
|
if (buffer != NULL) {
|
278
|
-
printf ("%*s\n", (int) size,
|
278
|
+
printf ("%*s\n", (int) size, buffer);
|
279
279
|
g_free (buffer);
|
280
280
|
}
|
281
281
|
}
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -15,8 +15,8 @@
|
|
15
15
|
*
|
16
16
|
* You should have received a copy of the GNU Lesser General
|
17
17
|
* Public License along with this library; if not, write to the
|
18
|
-
* Free Software Foundation, Inc.,
|
19
|
-
* Boston, MA
|
18
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
19
|
+
* Boston, MA 02110-1335, USA.
|
20
20
|
*
|
21
21
|
* Authors:
|
22
22
|
* Caleb Moore <c.moore@student.unsw.edu.au>
|
@@ -528,7 +528,7 @@ lsm_cairo_set_source_pixbuf (cairo_t *cairo,
|
|
528
528
|
format = CAIRO_FORMAT_ARGB32;
|
529
529
|
|
530
530
|
cairo_stride = cairo_format_stride_for_width (format, width);
|
531
|
-
cairo_pixels =
|
531
|
+
cairo_pixels = g_malloc_n (height, cairo_stride);
|
532
532
|
surface = cairo_image_surface_create_for_data ((unsigned char *)cairo_pixels,
|
533
533
|
format,
|
534
534
|
width, height, cairo_stride);
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -259,7 +259,7 @@ typedef enum {
|
|
259
259
|
|
260
260
|
static LsmDomDocument *
|
261
261
|
_parse_memory (LsmDomDocument *document, LsmDomNode *node,
|
262
|
-
const
|
262
|
+
const char *buffer, gssize size, GError **error)
|
263
263
|
{
|
264
264
|
static LsmDomSaxParserState state;
|
265
265
|
|
@@ -304,7 +304,7 @@ _parse_memory (LsmDomDocument *document, LsmDomNode *node,
|
|
304
304
|
|
305
305
|
void
|
306
306
|
lsm_dom_document_append_from_memory (LsmDomDocument *document, LsmDomNode *node,
|
307
|
-
const
|
307
|
+
const char *buffer, gssize size, GError **error)
|
308
308
|
{
|
309
309
|
g_return_if_fail (LSM_IS_DOM_DOCUMENT (document));
|
310
310
|
g_return_if_fail (LSM_IS_DOM_NODE (node) || node == NULL);
|
@@ -323,11 +323,11 @@ lsm_dom_document_append_from_memory (LsmDomDocument *document, LsmDomNode *node,
|
|
323
323
|
*/
|
324
324
|
|
325
325
|
LsmDomDocument *
|
326
|
-
lsm_dom_document_new_from_memory (const
|
326
|
+
lsm_dom_document_new_from_memory (const char *buffer, gssize size, GError **error)
|
327
327
|
{
|
328
328
|
g_return_val_if_fail (buffer != NULL, NULL);
|
329
329
|
|
330
|
-
return _parse_memory (NULL, NULL, buffer, size, error);
|
330
|
+
return _parse_memory (NULL, NULL, buffer, size, error);
|
331
331
|
}
|
332
332
|
|
333
333
|
/**
|
@@ -432,15 +432,15 @@ lsm_dom_document_save_to_stream (LsmDomDocument *document, GOutputStream *stream
|
|
432
432
|
/**
|
433
433
|
* lsm_dom_document_save_to_memory:
|
434
434
|
* @document: a #LsmDomDocument
|
435
|
-
* @buffer: placeholder for a pointer to the resulting data buffer
|
436
|
-
* @size: placeholder for the data size
|
435
|
+
* @buffer: (out callee-allocates): placeholder for a pointer to the resulting data buffer
|
436
|
+
* @size: (out) (optional): placeholder for the data size
|
437
437
|
* @error: placeholder for a #GError
|
438
438
|
*
|
439
439
|
* Save @document as an xml representation into @buffer.
|
440
440
|
*/
|
441
441
|
|
442
442
|
void
|
443
|
-
lsm_dom_document_save_to_memory (LsmDomDocument *document,
|
443
|
+
lsm_dom_document_save_to_memory (LsmDomDocument *document, char **buffer, gsize *size, GError **error)
|
444
444
|
{
|
445
445
|
GOutputStream *stream;
|
446
446
|
|
@@ -14,8 +14,8 @@
|
|
14
14
|
*
|
15
15
|
* You should have received a copy of the GNU Lesser General
|
16
16
|
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc.,
|
18
|
-
* Boston, MA
|
17
|
+
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
+
* Boston, MA 02110-1335, USA.
|
19
19
|
*
|
20
20
|
* Author:
|
21
21
|
* Emmanuel Pacaud <emmanuel@gnome.org>
|
@@ -30,8 +30,8 @@
|
|
30
30
|
G_BEGIN_DECLS
|
31
31
|
|
32
32
|
void lsm_dom_document_append_from_memory (LsmDomDocument *document, LsmDomNode *node,
|
33
|
-
const
|
34
|
-
LsmDomDocument * lsm_dom_document_new_from_memory (const
|
33
|
+
const char *buffer, gssize size, GError **error);
|
34
|
+
LsmDomDocument * lsm_dom_document_new_from_memory (const char *buffer, gssize size, GError **error);
|
35
35
|
LsmDomDocument * lsm_dom_document_new_from_path (const char *path, GError **error);
|
36
36
|
LsmDomDocument * lsm_dom_document_new_from_url (const char *url, GError **error);
|
37
37
|
|
@@ -39,7 +39,7 @@ void lsm_dom_document_save_to_stream (LsmDomDocument *document,
|
|
39
39
|
GOutputStream *stream,
|
40
40
|
GError **error);
|
41
41
|
void lsm_dom_document_save_to_memory (LsmDomDocument *document,
|
42
|
-
|
42
|
+
char **buffer,
|
43
43
|
gsize *size,
|
44
44
|
GError **error);
|
45
45
|
void lsm_dom_document_save_to_path (LsmDomDocument *document,
|