1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-31 02:43:06 +03:00

104 Commits

Author SHA1 Message Date
c65a7c05f9 build: Remove mem-debug option
This is an ancient, internal debugging option which only works if
libxml2 is built with mem-debug as well. Remove the option to avoid
crashes.

Fixes #105.
2024-01-30 13:02:45 +01:00
a24687ea52 win32: Remove broken libxslt.def.src 2023-05-06 16:33:11 +02:00
e85d9dc54f build: Add a distutils-based build system for the Python bits
This is a streamlined version of the libxml2 setup.py.in that is
adapted for libxslt so that one can build the Python bindings and build
wheels easily, especially for Windows builds.

This will bundle the libxslt and libexslt DLLs, which matters more for
Python 3.8.x and later on Windows, where the dependent DLLs need to be
found at where the .pyd files are located unless one uses
os.add_dll_directory(); the libxml2 (and its dependent DLLs) should be
located with the libxml2-python package.
2022-11-21 16:14:31 +08:00
e1dbb99493 Fix typos in win32/Readme.txt
* allready → already
* ýou → you
2022-09-07 17:45:39 +00:00
5b45971622 Fix classic Windows configuration for libexslt
As is, the `LIBEXSLT_DOTTED_VERSION` would be `@LIBEXSLT_VERSION@` when
using the classic Windows configuration (win32/configure.js).  This has
apparently been overlooked when exsltconfig.h.in has been changed a
while ago[1].

[1] <4045ed4b05>
2022-09-07 18:52:24 +02:00
ed51fe6921 Remove ChangeLog
The ChangeLog is from pre-Git times.
2022-02-16 20:10:17 +01:00
23734923db Fix some misleading indentation
Found by Coverity.

https://bugzilla.redhat.com/show_bug.cgi?id=1938808
2022-02-12 20:42:36 +00:00
356246a928 win32: allow passing *FLAGS on command line 2020-05-04 15:07:28 +02:00
7357f29c3a Minor fixes to configure.js
- Declare local variables
- Semicolon coding style
- Remove duplicated option check

Found by lgtm.com
2020-01-10 18:36:23 +01:00
e2584eed1c win32: Add configuration for profiler
Without this the generated xsltconfig.h will not be complete as there
will be a configuration variable that is left in the header, breaking
builds.

This will allow one to enable or disable profiler support in Windows
builds, and the default is to enable this.
2019-11-15 11:50:32 +01:00
2ddea582ad Rebuild docs 2019-10-18 11:44:38 +02:00
1ffe17a071 Build without winsock
Fixes bug #481434:

https://bugzilla.gnome.org/show_bug.cgi?id=481434
2019-02-12 12:31:20 +01:00
23b8c31e43 Also run Windows tests with --maxdepth 200
Fixes segfault in recursion tests.
2017-10-31 15:47:19 +01:00
917da89598 Disable some MSVC warnings
Disable "possible loss of data" warnings when casting 64-bit to smaller
types.
2017-10-31 15:46:40 +01:00
0beb813d64 Use _WIN32 macro instead of WIN32
_WIN32 is defined automatically by the compiler.
2017-10-25 18:22:52 +02:00
8b4babb8f7 Rework locale feature tests
Support glibc 2.26 which removes xlocale.h. Fixes bug 788264. Thanks to
Quentin Minster for the report.

Drop support for ancient glibc 2.2.x. This allows to replace the test
program in configure.ac with a simple check for strxfrm_l.

Always use WinAPI locales on Windows.

Define macros in xsltlocale.h and rename XSLT_LOCALE_XLOCALE to
XSLT_LOCALE_POSIX.
2017-10-08 15:36:21 +02:00
43b6edbfaf Rebuild win32/libxslt.def.src 2017-10-08 14:29:10 +02:00
cfca980951 Fix win32/configure.js
Adjust for recent config changes.
2017-10-03 23:11:55 +02:00
e49797c84e Fix cmd.exe invocations in Makefile.mingw
The /C parameter should be quoted.

Fixes bug #774089:

https://bugzilla.gnome.org/show_bug.cgi?id=774089
2017-01-03 16:45:59 +01:00
6ae7de3ac3 Change default SOPREFIX on Windows to "bin"
Under MinGW, the convention is to install DLLs under bin.

Fixes bug #774090:

https://bugzilla.gnome.org/show_bug.cgi?id=774090
2017-01-03 16:45:59 +01:00
52e26315b5 Fix MingW build
Fixes bug #324857:

https://bugzilla.gnome.org/show_bug.cgi?id=324857
2016-04-30 21:00:41 +02:00
ef7429bb4f Fix error handling in Saxon extension functions
The old code could lead to a NULL pointer dereference.

- Set XPath error if saxon:expression can't compile an expression.
- Check return value in saxon:eval.

Add first tests for Saxon extension functions.

Found with afl-fuzz and ASan.
2016-04-28 20:31:14 +02:00
ea5a2b30c9 Add Python script to run some tests on Windows 2016-02-25 14:43:20 +01:00
f600feacea Remove /OPT:NOWIN98 option
This option was remove in Visual Studio 2010.
2016-02-24 17:58:57 +01:00
195f644cf7 Release of libxslt 1.1.28
* configure.in: updated
* doc/libxslt-api.xml doc/libxslt-refs.xml libxslt/libxslt.syms
  libxslt/xsltwin32config.h win32/libxslt.def.src doc/*.html:
  regenerated
2012-11-21 15:22:59 +08:00
a27de70018 Release of libxslt-1.1.27
* configure.in doc/symbols.xml doc/xslt.html: updated for the release
* NEWS config.h.in doc/* */*.syms : regenerated
2012-09-12 14:37:09 +08:00
39b0c27af8 Remove .cvsignore files which are not needed anymore 2012-09-04 14:28:28 +08:00
adff7c36bd Allow per-context override of xsltMaxDepth, introduce xsltMaxVars
We also add a maxTemplateVars parameter
2012-03-20 21:18:59 +08:00
2818aec361 Release of libxslt-1.1.26
* NEWS configure.in doc/xslt.html: update for 1.1.26
* doc//*: regenerate
2009-09-24 16:39:52 +02:00
79ab294f6f big patch from Roumen Petrov finishing xsl:sort lang support with many
* libxslt/xsltconfig.h.in libxslt/xslt.c libxslt/extensions.c
  libxslt/xsltlocale.c libxslt/preproc.c libxslt/xsltutils.c
  libxslt/xsltlocale.h libxslt/win32config.h configure.in
  config.h.in win32/configure.js: big patch from Roumen Petrov
  finishing xsl:sort lang support with many portability issues
  fixed and feedback from Nick Wellnhofer and Rob Richards
Daniel

svn path=/trunk/; revision=1488
2008-08-01 08:27:18 +00:00
8035319027 patch from Nick Wellnhofer and Roumen Petrov to fix some portability
* libxslt/xsltconfig.h.in libxslt/xsltlocale.h configure.in
  config.h.in win32/configure.js: patch from Nick Wellnhofer and
  Roumen Petrov to fix some portability problems on the previous
  xsl:sort locale patch
Daniel

svn path=/trunk/; revision=1478
2008-06-12 09:43:28 +00:00
1a8e9f9ec0 patch from Nick Wellnhofer adding xsl:sort lang support using the locale
* configure.in libxslt/extra.c libxslt/Makefile.am libxslt/preproc.c
  libxslt/xsltInternals.h libxslt/xsltlocale.c libxslt/xsltlocale.h
  libxslt/xsltutils.c win32/Makefile.mingw win32/Makefile.msvc: patch
  from Nick Wellnhofer adding xsl:sort lang support using the locale
  support from the C library.
Daniel

svn path=/trunk/; revision=1476
2008-06-03 16:40:54 +00:00
ec5c63b43a release of 1.1.24 syntactic cleanup (Martin) Daniel
* configure.in doc/*: release of 1.1.24
* python/generator.py: syntactic cleanup (Martin)
Daniel

svn path=/trunk/; revision=1473
2008-05-13 15:52:56 +00:00
2f0db738b4 apply patch from Rob Richards to improve build with VS2005 Daniel
* win32/Makefile.msvc win32/configure.js: apply patch from
  Rob Richards to improve build with VS2005
Daniel

svn path=/trunk/; revision=1435
2007-08-03 13:46:43 +00:00
40e7c29b35 added new function replace from Joel Reed. added new test case for above.
* libexslt/strings.c: added new function replace from Joel
          Reed.
        * tests/exslt/Makefile.am, replace.1.xml, replace.1.xsl,
          replace.1.out: added new test case for above.
        * libxslt.spec.in: trivial change from Gnome to GNOME
        * configure.in: trivial change for flags on my compilations
        * libxslt/documents.c, libxslt/documents.h, libxslt/keys.c,
          libxslt/keys.h, libxslt/variables.c, libxslt/templates.c,
          libxslt/transform.c, libxslt/variables.c, libxslt/xslt.c,
          libxslt/xsltutils.c: fixed some documentation/comments and
          compilation warnings - no change to logic.
        * re-generated the documentation.

svn path=/trunk/; revision=1413
2007-01-11 03:13:13 +00:00
951beb01d4 preparing release of libxslt-1.1.18, this bumps libxml2 requirement to
* NEWS configure.in doc//*: preparing release of libxslt-1.1.18,
  this bumps libxml2 requirement to 1.6.27
* libexslt/date.c libxslt/namespaces.h libxslt/xslt.c
  libxslt/xsltInternals.h: cosmetic cleanups to restore the
  API extraction
Daniel
2006-10-26 13:32:42 +00:00
666d122f40 ignored the bindist directory 2005-05-03 19:02:04 +00:00
ebd8ee8e59 ignored the bindist directory 2005-05-03 19:00:58 +00:00
5879878436 make install cleanup 2005-04-06 22:01:57 +00:00
e11b6529e6 removed obsolete copy operations 2005-04-06 22:01:43 +00:00
e8ed43e8f6 preparing release of 1.1.14, updated docs and rebuilt. Daniel
* configure.in NEWS doc/*: preparing release of 1.1.14, updated docs
  and rebuilt.
Daniel
2005-04-02 11:43:03 +00:00
e04fbb1e27 applied plugin patch for Windows by Joel Reed Daniel
* tests/plugins/testplugin.c win32/Makefile.msvc win32/configure.js:
  applied plugin patch for Windows by Joel Reed
Daniel
2005-01-30 19:02:09 +00:00
cea555bf1e Makefile fixes for Widows from Joel Reed Daniel
* win32/configure.js: Makefile fixes for Widows from Joel Reed
Daniel
2005-01-28 00:01:31 +00:00
08579bd1d3 integrated the module patch from Joel Reed with just a couple of changes
* configure.in win32/configure.js libxslt/extensions.c
  libxslt/xsltconfig.h.in libxslt/xsltwin32config.h.in:
  integrated the module patch from Joel Reed with just a couple
  of changes and cleanup.
Daniel
2005-01-09 15:43:24 +00:00
0aec602842 added support for version extra 2004-08-24 14:43:44 +00:00
ab4758c18d preparing release of 1.1.9 Daniel
* configure.in NEWS doc/*: preparing release of 1.1.9
Daniel
2004-08-22 15:19:27 +00:00
091028da9d apply patch from Rob Richards to add a normal --with-crypto configure
* configure.in libexslt/crypto.c libexslt/exslt.[ch]
  libexslt/exsltconfig.h.in win32/configure.js: apply patch from
  Rob Richards to add a normal --with-crypto configure option.
Daniel
2004-07-16 10:17:29 +00:00
ec9c2bdb04 releasing 1.1.8 Daniel
* configure.in doc/*: releasing 1.1.8
Daniel
2004-07-05 19:55:11 +00:00
1bc6a1a495 applied patch from Joel Reed to get EXSLT crypto extensions based on
* win32/Makefile.msvc win32/Makefile.mingw libexslt/Makefile.am
  libexslt/exslt.c libexslt/exslt.h config.h.in configure.in
  libexslt/crypto.c: applied patch from Joel Reed to get EXSLT
  crypto extensions based on libgcrypt if found at configure time.
* tests/namespaces/Makefile.am: fixed a small breakage
Daniel
2004-06-30 16:43:53 +00:00
641af352ff minor changes for the windows binary package 2004-06-09 14:33:54 +00:00