1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-09-11 16:10:45 +03:00

25 Commits

Author SHA1 Message Date
Nick Wellnhofer
cb1e47d98b exslt: Use C99 NAN macro 2024-09-19 22:34:29 +02:00
Nick Wellnhofer
dd16508642 Don't check for standard C89 headers
Also stop including non-standard headers.
2022-03-31 01:50:51 +02:00
David Kilzer
53174e798d Fix redundant includes already in libexslt.h
Remove includes of "config.h", <libxslt/xsltconfig.h> and
<libxml/xmlversion.h> in libexslt C sources since they are
already included with "libexslt/libexslt.h".
2020-02-11 11:01:09 +01:00
Nick Wellnhofer
0beb813d64 Use _WIN32 macro instead of WIN32
_WIN32 is defined automatically by the compiler.
2017-10-25 18:22:52 +02:00
Daniel Veillard
0ca0a15ffb Big space and tabs cleanup
Remove spaces followed by tabs, and space and tabs at the end of lines
2012-09-12 14:07:24 +08:00
Martin
ce169a52f4 Allow use of EXSLT outside XSLT
* libexslt/exslt.h libexslt/date.c libexslt/math.c libexslt/sets.c
  libexslt/strings.c: provide registration function for an XPath
  context directly
2009-09-17 16:54:18 +02:00
William M. Brack
7fb814e3b4 fixed incorrect argument popping in exsltMathAtan2Function #541965
* libexslt/math.c: fixed incorrect argument popping in exsltMathAtan2Function #541965

svn path=/trunk/; revision=1483
2008-07-12 23:37:05 +00:00
William M. Brack
9df6677d52 fixed two memory leaks, one in exsltMathConstant and one in
* libexslt/math.c: fixed two memory leaks, one in exsltMathConstant
  and one in exsltMathConstantFunction (bug #436324)

svn path=/trunk/; revision=1427
2007-05-06 15:43:22 +00:00
William M. Brack
62742bd4fe fixed problem, reported on the list by Markus Bayerlein, concerning math
* libexslt/math.c, libexslt/common.c: fixed problem,
  reported on the list by Markus Bayerlein, concerning
  math functions on nodesets generated with
  exslt:node-set
* tests/exslt/math/max.3.xsl, tests/exslt/math/max.3.xml,
  tests/exslt/math/max.3.out, tests/exslt/math/Makefile.am:
  added test case for above.
2004-01-14 06:34:43 +00:00
Daniel Veillard
1d9e27ecab applied patch from Mikhail Grushinskiy for compilation with MingW compiler
* xsltproc/Makefile.am libxslt/libxslt.h libxslt/numbersInternals.h
  libexslt/*.c configure.in: applied patch from Mikhail Grushinskiy
  for compilation with MingW compiler on Windows.
Daniel
2003-08-18 22:41:26 +00:00
Daniel Veillard
027f8843fc applied patch from Charles Bozeman fixing the math power function where
* libexslt/math.c: applied patch from Charles Bozeman fixing
  the math power function where args were inverted #110996
* tests/exslt/math/Makefile.am tests/exslt/math/power.1.*:
  added the test to the regraession for #110996
* libexslt/sets.c: avoid a problem with nodesets.
Daniel
2003-04-21 10:56:16 +00:00
Daniel Veillard
79d36ecd29 preparing 1.0.14 updated rebuilt implemented the IN_LIBXSLT and
* configure.in: preparing 1.0.14
* doc/*: updated rebuilt
* libxslt/*.c libexslt/*.c libxslt/libxslt.h libexslt/libexslt.h:
  implemented the IN_LIBXSLT and IN_LIBEXSLT mechanism discussed
  with the Windows maintainers
Daniel
2002-03-18 19:53:55 +00:00
Daniel Veillard
7053577098 Charlie Bozeman provided the implementation for the EXSLT math other
* libexslt/math.c: Charlie Bozeman provided the implementation
  for the EXSLT math other functions
Daniel
2002-01-18 08:46:17 +00:00
Daniel Veillard
fde4cdef0a applied Robert Collins patch for Cygwin support Daniel
* Makefile.am libexslt/common.c libexslt/date.c libexslt/exslt.c
  libexslt/exslt.h libexslt/exsltconfig.h.in libexslt/functions.c
  libexslt/libexslt.h libexslt/math.c libexslt/saxon.c
  libexslt/sets.c libexslt/strings.c libxslt/libxslt.h
  libxslt/xslt.h libxslt/xsltconfig.h.in libxslt/xsltutils.c
  xsltproc/xsltproc.c: applied Robert Collins patch for
  Cygwin support
Daniel
2002-01-17 09:43:36 +00:00
Daniel Veillard
ae93ba0741 moved the config.h include out of exsltconfig.h since this header is
* libexslt/*.c libexslt/exsltconfig.h.in: moved the
  config.h include out of exsltconfig.h since this header is
  exported and config.h is not.
Daniel
2001-10-19 14:47:24 +00:00
Daniel Veillard
d025723434 use xmlXPathIsNaN() and xmlXPathIsInf() tag a potential threading problem.
* libexslt/math.c libxslt/numbers.c: use xmlXPathIsNaN() and
  xmlXPathIsInf()
* libxslt/pattern.c: tag a potential threading problem.
Daniel
2001-08-21 11:11:21 +00:00
Bjorn Reese
c6604a959b Re-worked NaN and Inf support 2001-08-21 09:25:42 +00:00
Daniel Veillard
de660685f1 cleanup of includes export xsltconfig.h at make install stage Daniel
* libexslt/common.c libexslt/math.c libxslt/Makefile.am
  libxslt/libxslt.h libxslt/xsltconfig.h.in: cleanup of includes
  export xsltconfig.h at make install stage
Daniel
2001-08-15 10:07:56 +00:00
Daniel Veillard
82dd326edc this got fixed by libxml patches Applied Igor Zlatkovic Win32 Facelift
* tests/general/bug-21-.out tests/general/bug-31-.out:
  this got fixed by libxml patches
* win32/readme.msvc win32/dsp/* xsltproc/xsltproc.c
  Makefile.am libexslt/exslt.[ch] libexslt/exsltconfig.h.in
  libexslt/functions.c libexslt/math.c libxslt/win32config.h
  libxslt/xsltconfig.h.in libxslt/xsltutils.h
  libxslt/xsltwin32config.h libxslt/xsltwin32config.h.in:
  Applied Igor  Zlatkovic Win32 Facelift No.2 patch, and fixed
  a few things related to those changes.
Daniel
2001-08-03 12:26:17 +00:00
Thomas Broyer
3a16b45ef1 new extension framework. Added stylesheet module data, top-level and
* libxslt/extensions.[ch] libxslt/functions.[ch] libxslt/preproc.c
	  libxslt/transform.[ch] libxslt/variables.c libxslt/xslt.c
	  libxslt/xsltInternals.h: new extension framework.
	  Added stylesheet module data, top-level and extension elements
	  precomputing, global registration of top-level elements and
	  extension elements and functions.
	  Extensions are no longer initialized from extension-element-prefixes
	  declarations but when modules need the data.
	  init/shutdown functions registered with xsltRegisterExtModule{,Full}
	  only allocate and free module data, they shouldn't register the
	  elements and functions any more.
	* libxslt/xsltutils.c: fixed a bug in xsltPrintErrorContext when
	  @node wasn't NULL.
	* libxslt/xslt.c: fixed xsltPrecomputeStylesheetTop which allowed
	  non-XSLT top-level elements before any xsl:import element.
	* libexslt/common.c libexslt/functions.c libexslt/math.c
	  libexslt/sets.c: adapted to use the new extension framework.
	* libxslt/functions.c libxslt/extensions[ch] xsltproc/xsltproc.c:
	  moved the test module from functions.c to extensions.[ch],
	  modified it to use the new extension framework. Updated xsltproc
	  to register the test module.
2001-07-26 17:27:38 +00:00
Daniel Veillard
ca2e262335 small cleanup patch to document('') from Matt Sergeant profiler on Windows
* libexslt/math.c: small cleanup
* libxslt/functions.c: patch to document('') from Matt Sergeant
* libxslt/xsltInternals.h libxslt/xsltutils.[ch]: profiler on Windows
  c.f. bug #57464 from Tom Moog
Daniel
2001-07-23 00:55:43 +00:00
Thomas Broyer
6280ee5898 removed utils.[ch] as their content is integrated in libxml uses the new
* libexslt/.cvsignore libexslt/Makefile.am libexslt/utils.[ch]
	  libexslt/common.c libexslt/functions.c libexslt/math.c
	  libexslt/sets.c: removed utils.[ch] as their content is
	  integrated in libxml
	* libexslt/sets.c: uses the new libxml functions
	* libxslt/extra.[ch]: removed exsl:document
	* AUTHORS: added /me
2001-07-16 04:58:29 +00:00
Thomas Broyer
e98a65f34d some more generated files to ignore utils.h not installed anymore changed
* libexslt/.cvsignore: some more generated files to ignore
        * libexslt/Makefile.am: utils.h not installed anymore
        * libexslt/common.c libexslt/exslt.[ch] libexslt/functions.c
          libexslt/math.c libexslt/sets.c:
          changed function prefix from exsl* to exslt*
          {common.c,exslt.c} moved exsltLib{rary,exslt,xslt,xml}Version
          from common.c to exslt.c
          {common.c} removed exslNodeSetFunction, uses xsltFunctionNodeSet
          instead
        * libxslt/extra.c: fixed xsltFunctionNodeSet to accept
          XPATH_NODESET arguments in addition to XPATH_XSLT_TREE
        * xsltproc/xsltproc.c: updated to use the new function prefix
2001-07-15 23:24:13 +00:00
Daniel Veillard
a476e34b2e Integrating EXSLT and cleanup:
* Makefile.am configure.in libexslt/Makefile.am:
  Integration of libexslt in the build system
* libxslt/Makefile.am libxslt/xsltproc.c libxslt/xsltutils.c
  xsltproc/Makefile.am xsltproc/xsltproc.c:
  Moved xsltproc to a separate directory, linked it to libexslt,
  and added exslt version reports to -V
* tests/*/Makefile.am: updated the path to xsltproc
* libexslt/common.c libexslt/exslt.h libexslt/exsltconfig.h.in
  libexslt/functions.c libexslt/math.c libexslt/sets.c: added
  versionning informations, some cleanup, and added documentation
  to a couple of exported functions
Daniel
2001-07-15 18:30:53 +00:00
Thomas Broyer
00c7060529 start implementing EXSLT
* libexslt/exslt.[hc] libexslt/common.[hc] libexslt/functions.[hc]
          libexslt/math.[hc] libexslt/sets.[hc] libexslt/utils.[hc]
          configure.in libexslt/Makefile.am:
          start implementing EXSLT
2001-07-15 03:24:40 +00:00