Commit Graph

1613 Commits

Author SHA1 Message Date
Ariel Abreu
c7f0ce14b5
Darling build of libxslt-16.7 2020-07-02 21:51:33 -04:00
Ariel Abreu
00ae89bbb5
libxslt-16.7 2020-07-02 21:19:02 -04:00
Ariel Abreu
0f75f22b40
Remove macOS deployment target definitions
The deployment target is now set project-wide in the root Darling CMakeLists.txt
2020-06-12 21:16:39 -04:00
Ariel Abreu
2b8edfe067
Initial update to clean up include directories
"initial" because there might some additional modifications necessary later on
2020-05-14 12:57:42 -04:00
Thomas A
e8da79dab9 Remove redundant definitions 2020-03-30 15:36:08 -07:00
Andrew Hyatt
9dec5322e2
Set exslt version 2018-05-18 20:19:54 -04:00
Lubos Dolezel
ff01bb7ec3 Set dylib version to 3.0.0 (darlinghq/darling#359) 2017-11-18 18:40:28 +01:00
Lubos Dolezel
f7f1482187 Merge branch 'using-machos-experiment' 2017-03-27 10:54:26 +02:00
Lubos Dolezel
d8b82bf9f0 Fat build 2017-03-27 10:54:26 +02:00
Lubos Dolezel
2edf3094f3 Mach-O build 2017-03-27 10:54:26 +02:00
Lubos Dolezel
a70b4c7efc Fat build 2017-01-28 00:21:57 +01:00
Lubos Dolezel
4115c2e370 Mach-O build 2017-01-17 17:21:39 +01:00
Luboš Doležel
498471bb02 Merge pull request #1 from ahyattdev/master
Install manpages
2016-11-22 23:51:54 +01:00
Andrew Hyatt
3693a57afa Install manpages 2016-11-22 14:47:28 -08:00
Lubos Dolezel
972ec3db18 Updated build file 2016-02-10 22:46:25 +01:00
Lubos Dolezel
4f89be8957 Darling build 2015-11-13 17:35:16 +01:00
Christian Ceelen
aed0cca049 Use hash table to lookup named templates
For big XSLTs (>50000 templates) this results in a huge improvement of the
compilation time.

Thanks to Christian Ceelen for the original patch.

Fixes GitHub pull request #1
2015-09-14 14:20:07 +02:00
Daniel Veillard
23333e4139 Fix to reg tests post 737840 fix 2015-09-10 20:22:40 +08:00
Brice De Bruyne
74eb9194fa Error in doc/Makefile.am
I've stumbled upon an error in the doc/Makefile.am.

Building the documentation from git master fails with:

Making all in doc
/bin/sh: -c: line 2: syntax error near unexpected token `)'
/bin/sh: -c: line 2: `   /usr/bin/xsltproc --nonet ./xsltproc.xml );'

Following patch to doc/Makefile.am fixes it.
2015-08-26 22:37:44 +08:00
Daniel Veillard
5b879369af Don't fail build the man page if xsltproc is not present 2015-06-29 20:31:37 +08:00
Daniel Veillard
44558caedd Re-adding xsltproc.1
removed by error in previous commit
2015-06-29 20:27:57 +08:00
Daniel Veillard
8ad2707067 Detect attribute sets recursions in more cases
For https://bugzilla.gnome.org/show_bug.cgi?id=751633

since we are processing those with callback with no return values
the simplest is to get though through a recursion counter added to
the internal routine
2015-06-29 20:02:47 +08:00
Daniel Veillard
71691d7b99 Check name vales for attribute-set elements
For https://bugzilla.gnome.org/show_bug.cgi?id=751633

It has to be a qname and we didn't check for empty strings,
this could raise an infinite loop at compilation too
2015-06-29 18:22:36 +08:00
Shaun McCance
d20a5ab03c Fix hang with namespace-alias, fixes #700689 2015-05-07 17:09:46 -04:00
Daniel Veillard
73e08bf7c3 Visual Studio 14 CTP defines snprintf()
Related to https://bugzilla.gnome.org/show_bug.cgi?id=737937
related changes for libxslt
2014-10-13 15:17:30 +08:00
Nick Wellnhofer
ec39a33e02 Fix str:align with UTF-8 strings
The offset computation for left-aligned strings containing UTF-8 was
wrong. Fixes bug #588544:

    https://bugzilla.gnome.org/show_bug.cgi?id=588544

Also add some test cases.
2014-10-04 12:19:30 +02:00
Nick Wellnhofer
de1fca613e Fix for compiled XPath helpers
The helper functions added in commit c618db4 didn't restore context size
and position. Unfortunately, xmlXPathCompiledEval changes these values
in some rare cases.
2014-10-03 18:12:54 +02:00
Nick Wellnhofer
daab56af4d Add warning message to expected test output
Because of libxml2 bug #737840, general test #110 produces a spurious
warning message. Add it to the expected test output until the issue is
resolved.
2014-10-03 14:44:06 +02:00
Michał Górny
8df3ccba4f Use AC_PATH_TOOL to find libgcrypt-config and xml2-config
Using AC_PATH_TOOL prefers ${CHOST}-prefixed tools over 'bare' ones,
therefore improving support for cross-compilation and multilib. This
is useful for environment where libgcrypt-config and xml2-config
correspond to the build host environment, while
${CHOST}-libgcrypt-config and ${CHOST}-xml2-config are installed for
each supported build targets.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=725635
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=518728
2014-09-28 15:57:59 +02:00
Nick Wellnhofer
fd675976f7 Check return value of exsltFuncNewFunctionData
Fixes bug #735957.

https://bugzilla.gnome.org/show_bug.cgi?id=735957

Thanks to Prabhat Kanth for the report.
2014-09-28 13:21:43 +02:00
larryhaja
35caed042e Use $libdir for LIBXSLT_DEFAULT_PLUGINS_PATH
Fixes bug #736204.

https://bugzilla.gnome.org/show_bug.cgi?id=736204
2014-09-28 13:13:08 +02:00
Lars Kanis
ab5810bf27 Use mkdir macro also in case if mingw32.
This fixes bug 676511.
2014-07-21 19:27:28 +08:00
Nick Wellnhofer
a9eee8707b Fix time type in xsltSaveProfiling 2014-02-25 15:25:35 +01:00
Nick Wellnhofer
5de3f28ef6 Remove unused parameters 2014-02-25 15:20:01 +01:00
Nick Wellnhofer
4a732360d1 Suppress unused variable warning. 2014-02-25 15:13:45 +01:00
Nick Wellnhofer
5da60eb44c Remove unused variable in xsltGenerateIdFunction
doc isn't used as of commit "Fix generate-id() to avoid generating the
same ID".
2014-02-25 15:08:16 +01:00
Nick Wellnhofer
9af8ca0e0e Fix return value of xsltRegisterExtModuleElement
xsltRegisterExtModuleElement returned success if xsltNewExtElement
failed. Detected by -Wunused-but-set-variable.
2014-02-25 15:05:20 +01:00
Nick Wellnhofer
e4837cf662 Add math library to executable link flags
Should fix bug #706882:

https://bugzilla.gnome.org/show_bug.cgi?id=706882
2014-02-25 15:02:28 +01:00
Nick Wellnhofer
7cb08dacad Call xmlNodeGetSpacePreserve with element node
Since libxml2 version 2.9.0, xmlNodeGetSpacePreserve checks that the
argument is an element node:

https://git.gnome.org/browse/libxml2/commit/?id=3e62adbe39f2083c9c2cd3330c320227818fd361
2014-02-14 17:18:53 +01:00
Nick Wellnhofer
683cbc82de Add test case for XPath function args in error case
Add the test case from Jan Pokorný to the test suite. This test is known
to fail with libxml2 2.9.1 and below but fixed in libxml2 Git.
2013-12-20 17:54:14 +01:00
Nick Wellnhofer
c026a0bb35 Add comment about known-to-fail test
tests/general/bug-182.xsl requires a recent version of libxml2.
2013-12-20 17:54:14 +01:00
Nick Wellnhofer
22eed95c77 Adjust expected test output
Adjust expected test output for recent changes in libxml2.
2013-12-20 17:33:43 +01:00
Nick Wellnhofer
0efc716c0c Set namespaces before evaluating xsl:number
Fixes bug #712173.
2013-12-15 14:34:03 +01:00
Nick Wellnhofer
c618db4b74 Helper functions to evaluate compiled XPath expressions
Reduces code size in libxslt/transform.c and makes the code more
readable.
2013-12-15 14:22:06 +01:00
Per Hedeland
5af7ad7453 Make --maxvars option work 2013-12-13 14:45:29 +01:00
Nick Wellnhofer
ce5a0dd6a7 Set correct context node when initializing xsl:keys
This makes the current() function in "use" expressions work properly.
Fixes bugs #530871, #607893, and #676335.
2013-12-13 14:28:42 +01:00
Imran Azeezullah
02b30799fe Fix for bug 436589
https://bugzilla.gnome.org/show_bug.cgi?id=436589

Need to check availablility of argument before scanning it
2013-09-30 10:18:03 +08:00
Nick Wellnhofer
a976434b62 Memory leak in xsltCompileIdKeyPattern error path
Fix from bug #691548 by Vladimir Marek.
2013-08-05 13:08:44 +02:00
Nick Wellnhofer
5179455c54 Add tests for crypto:rc4 2013-08-05 11:00:50 +02:00
Nick Wellnhofer
9819dc0d52 Add first test case for EXSLT crypto module
Add test case from bug #692866 by Feoktistov Alexander.
2013-08-05 11:00:50 +02:00