mathematical 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -7
- data/Rakefile +4 -1
- data/ext/mathematical/cairo_callbacks.h +5 -0
- data/ext/mathematical/extconf.rb +34 -8
- data/ext/mathematical/lasem_overrides.c +32 -3
- data/ext/mathematical/lasem_overrides.h +11 -2
- data/ext/mathematical/mathematical.c +27 -26
- data/ext/mathematical/mathematical.h +5 -1
- data/ext/mathematical/mtex2MML/deps/strdup/strdup.c +24 -0
- data/ext/mathematical/mtex2MML/deps/strdup/strdup.h +24 -0
- data/ext/mathematical/mtex2MML/deps/uthash/utarray.h +1 -0
- data/ext/mathematical/mtex2MML/src/{color_definitions.c → colors.c} +2 -3
- data/ext/mathematical/mtex2MML/src/colors.h +23 -0
- data/ext/mathematical/mtex2MML/src/em.c +99 -0
- data/ext/mathematical/mtex2MML/src/em.h +31 -0
- data/ext/mathematical/mtex2MML/src/{parse_extras.c → environment.c} +73 -157
- data/ext/mathematical/mtex2MML/src/environment.h +85 -0
- data/ext/mathematical/mtex2MML/src/{mtex2MML.l → lexer.l} +26 -15
- data/ext/mathematical/mtex2MML/src/main.c +31 -10
- data/ext/mathematical/mtex2MML/src/mtex2MML.h +19 -7
- data/ext/mathematical/mtex2MML/src/{mtex2MML.y → parser.y} +451 -446
- data/ext/mathematical/mtex2MML/src/string_extras.c +4 -3
- data/ext/mathematical/mtex2MML/src/string_extras.h +7 -7
- data/ext/mathematical/mtex2MML/tests/array.c +11 -11
- data/ext/mathematical/mtex2MML/tests/basic.c +14 -13
- data/ext/mathematical/mtex2MML/tests/clar.c +2 -0
- data/ext/mathematical/mtex2MML/tests/clar/fs.h +3 -1
- data/ext/mathematical/mtex2MML/tests/clar/sandbox.h +3 -1
- data/ext/mathematical/mtex2MML/tests/cornercases.c +3 -2
- data/ext/mathematical/mtex2MML/tests/delimiters.c +126 -0
- data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.c +2 -4
- data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.c +151 -0
- data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.h +10 -0
- data/ext/mathematical/mtex2MML/tests/deps/trim/trim.c +4 -1
- data/ext/mathematical/mtex2MML/tests/env.c +35 -34
- data/ext/mathematical/mtex2MML/tests/functions.c +3 -2
- data/ext/mathematical/mtex2MML/tests/helpers.c +6 -4
- data/ext/mathematical/mtex2MML/tests/helpers.h +2 -2
- data/ext/mathematical/mtex2MML/tests/main.c +1 -1
- data/ext/mathematical/mtex2MML/tests/maliciousness.c +35 -9
- data/ext/mathematical/mtex2MML/tests/mathjax.c +202 -202
- data/ext/mathematical/mtex2MML/tests/numbered_equations.c +6 -6
- data/ext/mathematical/mtex2MML/tests/performance.c +39 -0
- data/lib/mathematical.rb +38 -5
- data/lib/mathematical/configuration.rb +19 -0
- data/lib/mathematical/validator.rb +17 -31
- data/lib/mathematical/version.rb +1 -1
- data/mathematical.gemspec +3 -1
- data/test/mathematical/basic_test.rb +60 -7
- data/test/mathematical/corrections_test.rb +1 -1
- data/test/mathematical/delimiters_test.rb +58 -0
- data/test/mathematical/fixtures_test.rb +3 -2
- data/test/mathematical/maliciousness_test.rb +19 -27
- data/test/mathematical/mathjax_test.rb +6 -5
- data/test/mathematical/mathml_test.rb +1 -1
- data/test/mathematical/multiples_test.rb +1 -1
- data/test/mathematical/performance_test.rb +3 -1
- data/test/mathematical/png_test.rb +3 -3
- data/test/test_helper.rb +4 -1
- metadata +35 -21
- data/ext/mathematical/lasem/src/lsmdomenumtypes.c +0 -99
- data/ext/mathematical/lasem/src/lsmdomenumtypes.h +0 -26
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c +0 -737
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h +0 -93
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.c +0 -1083
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.h +0 -111
- data/ext/mathematical/mtex2MML/Makefile +0 -100
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/mtex2MML.h +0 -73
- data/ext/mathematical/mtex2MML/src/lex.yy.c +0 -8845
- data/ext/mathematical/mtex2MML/src/parse_extras.h +0 -111
- data/ext/mathematical/mtex2MML/src/y.tab.c +0 -10178
- data/ext/mathematical/mtex2MML/src/y.tab.h +0 -617
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.