1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-04-23 14:45:32 +03:00

88 Commits

Author SHA1 Message Date
William M. Brack
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
William M. Brack
c2d91bc1cb applied patch supplied by Kjartan Maraas (bug #388567).
* python/libxslt.c: applied patch supplied by Kjartan Maraas
  (bug #388567).
2006-12-22 17:12:57 +00:00
Daniel Veillard
50605fed22 applied patch from Nic James Ferrier to make stylesheets comparable and to
* configure python/generator.py python/libxsl.py
  python/libxslt-python-api.xml python/libxslt.c
  python/tests/2stage.py python/tests/loader.py: applied patch from
  Nic James Ferrier to make stylesheets comparable and to add
  transformContext handling
Daniel
2006-12-11 11:11:06 +00:00
Daniel Veillard
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
Daniel Veillard
f32d5c181d applied fix for accessor functions of a stylesheet returning pointers to
* python/libxslt-python-api.xml: applied fix for accessor functions
  of a stylesheet returning pointers to immutable strings, patch
  from #320540
* xsltproc/xsltproc.c: fix the xinclude on stylehseet problem
  by adding a new parameter to xsltproc names --xincludestyle
Daniel
2006-10-11 21:19:49 +00:00
Daniel Veillard
7f5d411685 a missing DESTDIR fix reference to build paths in python module fix the
* libxslt/Makefile.am: a missing DESTDIR
* python/Makefile.am: fix reference to build paths in python module
* libexslt/exsltconfig.h.in libxslt/xsltconfig.h.in: fix the header
  comments on version values, the 3 are patches from Peter
  Breitenlohner   and should fix #340995
Daniel
2006-10-11 19:36:45 +00:00
Daniel Veillard
96f2cda8a7 applied patch from Daniel Leidert to fix some typo applied another patch
* doc/xslt.html python/tests/pyxsltproc.py xsltproc/xsltproc.c:
  applied patch from Daniel Leidert to fix some typo
* xsltproc.xml xsltproc.1: applied another patch from Daniel Leidert
  and regenerated
Daniel
2006-08-21 08:46:05 +00:00
Daniel Veillard
1564b7c617 *** empty log message *** 2006-08-04 13:01:17 +00:00
Daniel Veillard
d3eaa2f845 fix float and boolean XPath conversions try to fix Stephane Bidoul attempt
* python/types.c: fix float and boolean XPath conversions
* libxslt/xsltutils.c: try to fix Stephane Bidoul attempt
  at setting XInclude support.
Daniel
2006-07-19 19:04:52 +00:00
Kasimier T. Buchcik
63b4680f80 Fixed regression tests wrt usage of the attributes
* tests/general/bug-36-inc.xsl tests/general/bug-37-inc.xsl
  tests/general/bug-65-inc.xsl tests/general/bug-100.xsl
  tests/REC/test-15-1.xsl tests/REC/test-7.1.1-3.xsl
  tests/namespaces/extra2.xsl tests/extensions/module.xsl
  tests/plugins/plugin.xsl python/tests/extelem.py
  python/tests/extfunc.py: Fixed regression tests wrt
  usage of the attributes "exclude-result-prefixes"
  and "extension-element-prefixes". test-7.1.1-3.xsl fails
  now, since the code still does not exclude ns-decls
  correctly.
2006-03-30 15:31:11 +00:00
Daniel Veillard
1255ae2e9a Nic Ferrier found debug statement left in the XPath conversion code Daniel
* python/types.c: Nic Ferrier found debug statement left in the
  XPath conversion code
Daniel
2006-02-22 15:11:07 +00:00
William M. Brack
36006fefbe fixed type for doctypeSystem and doctypePublic (problem reported on the
* python/libxslt-python-api.xml: fixed type for doctypeSystem
  and doctypePublic (problem reported on the list by Sitsofe
  Wheeler)
* doc/libxslt-api.xml: updated database.
2004-07-12 00:29:20 +00:00
Daniel Veillard
23fd193621 fixes Python on 64bits box problem. Daniel
* python/libxsl.py: fixes Python on 64bits box problem.
Daniel
2004-07-09 09:52:33 +00:00
Daniel Veillard
a3a4c25d47 convenience change try to avoid calling libxml2 cleanup function directly
* configure.in: convenience change
* python/libxsl.py python/libxslt-python-api.xml python/libxslt.c:
  try to avoid calling libxml2 cleanup function directly but go
  though the python wrapper of libxml2 for memory debug accounting.
Daniel
2004-07-02 13:53:31 +00:00
Daniel Veillard
95439b2714 release of libxslt-1.1.7 Daniel
* configure.in: release of libxslt-1.1.7
Daniel
2004-05-17 04:14:57 +00:00
Johan Dahlin
acfb1b9dd3 Add generated files, to make cvs silent.
* python/.cvsignore: Add generated files, to make cvs silent.

	* .cvsignore: Add missing libexslt.pc and stamp-h1
2004-04-01 14:18:32 +00:00
Daniel Veillard
675732396c updated and rebuilt the documentation preparing release of 1.1.3 cleanup
* configure.in, doc/*: updated and rebuilt the documentation
  preparing release of 1.1.3
* libxslt/attrvt.c libxslt/xsltInternals.h: cleanup
Daniel
2004-02-16 15:07:47 +00:00
Daniel Veillard
8b83712f68 applied patch from Stefan Kost to fix behaviour on unknown element from
* libxslt/xslt.c: applied patch from Stefan Kost to fix
  behaviour on unknown element from the XSLT namespace.
* python/generator.py: applied patch from Stephane bidoul
  to export enums in the bindings.
Daniel
2004-01-22 17:40:16 +00:00
Daniel Veillard
3cb6adfeb2 applied shared lib loading patch for OS X from Gianni Ceccarelli Daniel
* python/libxsl.py: applied shared lib loading patch for OS X from
  Gianni Ceccarelli
Daniel
2004-01-14 15:47:32 +00:00
Daniel Veillard
6d8811b0de fixed #129327 make sure parser flags get transmitted to the transformation
* xsltproc.c: fixed #129327 make sure parser flags get transmitted to
  the transformation context
* libxslt/documents.c libxslt/transform.c libxslt/xsltInternals.h
  libxslt/xsltutils.c libxslt/xsltutils.h: add a new call
  xsltSetCtxtParseOptions() to update parsing options in document()
Daniel
2003-12-21 12:21:17 +00:00
Daniel Veillard
91980f4ffc updated the metadata informations in the headers regenerated the docs.
* libxslt/*.h *.h.in: updated the metadata informations in the headers
* doc/* doc/html/*: regenerated the docs.
Daniel
2003-12-01 15:43:38 +00:00
William M. Brack
fad19c9b8a Changed to detect recursion in xslt:import (bug #127687). regenerated to
* libxslt/xslt.c, libxslt/imports.c, libxslt/parserInternals.h:
  Changed to detect recursion in xslt:import (bug #127687).
* doc/libxslt-api.xml, python/libxsltclass.txt: regenerated to
  include change to xsltParseStylesheetImportedDoc parameters for
  above.
2003-11-23 23:37:19 +00:00
William M. Brack
9d9bdf0b0a Minor enhancements to eliminate compile/test warnings
* libxslt/xsltconfig.h.in, libexstl/exsltconfig.h.in:
  changed macro ATTRIBUTE_UNUSED for gcc so that, if undefined,
  it's defined as __attribute__((unused))
* python/libxslt.c: fixed ATTRIBUTE_UNUSED to appear after
  variable declaration
* libxslt/preproc.c: minor change to get rid of unused var/code
2003-11-05 03:16:46 +00:00
Daniel Veillard
db3d2b48e8 applied patch from Roumen Petrov for bug #124539 when building outside the
* configure.in python/Makefile.am python/tests/Makefile.am: applied
  patch from Roumen Petrov for bug #124539 when building outside the
  source directory
* libxslt/xsltutils.c: fixed the way to grab the line number from
  the document, use the predefiend libxml2 API which mate it work
  with both 2.5.x and 2.6.x
Daniel
2003-10-28 14:33:17 +00:00
Daniel Veillard
1521b2c80d applied patch from Kasimier Buchcik for xsltGetDebuggerStatus and
* libxslt/xsltutils.[ch]: applied patch from Kasimier Buchcik
  for xsltGetDebuggerStatus and xsltSetDebuggerStatus
* doc/libxslt-api.xml: regenerated the API
Daniel
2003-10-22 11:09:56 +00:00
Daniel Veillard
eb955f5fe1 bump the libxml2 require to 2.6.0 which should ship for good real soon...
* configure.in: bump the libxml2 require to 2.6.0 which
  should ship for good real soon...
* doc/Makefile.am: fix installation of HTML pages
* doc/libxslt-api.xml: rebuilt
* libxslt/xsltexports.h: cleanup
* python/generator.py: ATTRIBUTE_UNUSED is after the parameter
* xsltproc/xsltproc.c: applied Crutcher Dunnavant --load-trace patch 2
Daniel
2003-10-19 21:35:47 +00:00
William M. Brack
1133731a3e minor cleanup for various compilation warnings (AIX as well as gcc)
* libxslt/numbers.c, libxslt/extensions.c, libexslt/date.c,
  python/libxslt.c, xsltproc/xsltproc.c: minor cleanup for
  various compilation warnings (AIX as well as gcc)
2003-09-28 01:45:49 +00:00
Daniel Veillard
95c248b603 don't output errors to stdout by default use stderr instead. Daniel
* python/libxslt.c: don't output errors to stdout by default
  use stderr instead.
Daniel
2003-09-18 09:33:13 +00:00
Daniel Veillard
1f23440f79 small fixes w.r.t. IS_XSLT_REAL_NODE change some makefile "distclean"
* libxslt/functions.c libxslt/numbers.c: small fixes w.r.t.
  IS_XSLT_REAL_NODE change
* python/Makefile.am Makefile.am: some makefile "distclean"
  target improvement from Graham Wilson
* xsltproc/xsltproc.c: small fix from Alexey Efimov for options
  display.
Daniel
2003-09-18 09:31:46 +00:00
William M. Brack
5814e8cf8b removed ref to libxslt.la Minor cleanup of warning errors
* breakpoint/Makefile.am: removed ref to libxslt.la
* numbers.c transform.c python/libxml_wrap.h python/types.c
  xlstproc/xsltproc.c: Minor cleanup of warning errors
2003-08-07 13:03:02 +00:00
Daniel Veillard
9332a25a91 patch from Sean Treadway, adding Python bindings for extension element and
* python/generator.py python/libxslt-python-api.xml python/libxslt.c
  python/libxslt_wrap.h python/libxsltclass.txt: patch from
  Sean Treadway, adding Python bindings for extension element and
  some bindings cleanups.
* python/tests/Makefile.am python/tests/extelem.py: also add an
  example/test.
Daniel
2003-07-09 10:22:14 +00:00
Daniel Veillard
0232312dde applied patch from #116943 which should fix the xsltSaveResultToFile
* python/libxml_wrap.h: applied patch from #116943 which should
  fix the xsltSaveResultToFile python binding.
Daniel
2003-07-08 10:21:31 +00:00
Daniel Veillard
ada71b3bb5 fixing portability bug #113002 on HP-UX cleanup of --with-python like for
* xsltproc/xsltproc.c: fixing portability bug #113002 on HP-UX
* configure.in libxslt.spec.in python/Makefile.am: cleanup
  of --with-python like for libxml2
Daniel
2003-05-15 20:28:53 +00:00
Daniel Veillard
3ef907d093 preparing release 1.0.30 backported a patch from libxml2 updated and
* NEWS configure.in : preparing release 1.0.30
* doc/apibuild.py: backported a patch from libxml2
* doc/*: updated and rebuilt the docs
Daniel
2003-05-04 15:44:04 +00:00
Daniel Veillard
b973e4a094 fixed a problem in the generator where the way functions are remapped as
* python/generator.py: fixed a problem in the generator where
  the way functions are remapped as methods on classes was
  not symetric and dependant on python internal hash order,
  as reported by Stphane Bidoul
* libexslt/strings.c: attempt at fixing an object type pbm
* libxslt/triodef.h: update for OpenVMS from libxml2
Daniel
2003-04-26 12:06:36 +00:00
Daniel Veillard
bb5c8d8a8b fix bug #109395 as pointed out by Ben Phillips and avoid some warnings
* python/libxsl.py: fix bug #109395 as pointed out by Ben Phillips
  and avoid some warnings when loading the python modules on non
  Linux platforms.
* libxslt/transform.c: fix a bug introduced in the document lookup
  and exhibited by the keys test.
Daniel
2003-03-28 11:23:00 +00:00
Daniel Veillard
eb168d9dc3 portability fixes from Albert Chin avoid RTLD_GLOBAL detection warning too
* configure.in python/Makefile.am python/libxslt.c libxslt/xsltutils.c
  libxslt/trio.h libxslt/triodef.h: portability fixes from Albert Chin
* python/libxslt.py: avoid RTLD_GLOBAL detection warning too
Daniel
2003-03-26 20:47:47 +00:00
Daniel Veillard
6139969721 fixed a couple of return error #104150 reported by Peter O'Shea Daniel
* python/libxslt.c: fixed a couple of return error #104150
  reported by Peter O'Shea
Daniel
2003-01-22 15:47:10 +00:00
Daniel Veillard
aaf8d3ad67 preparing release 2.0.24 small update updated the news, rebuilt the APIs
* configure.in: preparing release 2.0.24
* libxslt.spec.in: small update
* doc/*: updated the news, rebuilt the APIs descriptions
Daniel
2003-01-14 15:28:23 +00:00
Daniel Veillard
cb20183b44 Fixed a debug log, switched it off now, Daniel 2003-01-13 22:33:20 +00:00
Daniel Veillard
d932aafe73 fixing bug #101602 for extension modules init and shutdown callbacks,
* libxslt/extensions.c libxslt/transform.c: fixing bug #101602
  for extension modules init and shutdown callbacks, check that
  they are now called when needed.
* python/libxsl.py python/libxslt-python-api.xml python/libxslt.c:
  started adding the extension module support at the Python level.
  Still a strange bug to hunt down left.
Daniel
2003-01-13 22:28:34 +00:00
Jose Maria Celorio
8cbcc01276 add missing .cvsignore entries 2002-12-28 04:55:08 +00:00
Daniel Veillard
24abc7719a patch from Stphane Bidoul for Python 2.1 Daniel
* python/libxslt.c: patch from Stphane Bidoul for Python 2.1
Daniel
2002-12-23 14:44:48 +00:00
Daniel Veillard
ddf2a537c0 updated the apibuilder script, regenerated the APIs Daniel
* doc/apibuild.py doc/libexslt-api.xml doc/libxslt-api.xml: updated
  the apibuilder script, regenerated the APIs
Daniel
2002-12-13 13:51:18 +00:00
Daniel Veillard
162c34f414 copied over the apibuild.py from libxml2, adapted a bit and regenerated
* doc/Makefile.am doc/apibuild.py doc/libxslt-api.xml:
  copied over the apibuild.py from libxml2, adapted a bit and
  regenerated the API description in XML. Todo: libexslt-api.xml
* libxslt/attributes.c libxslt/documents.c libxslt/extensions.c
  libxslt/imports.c libxslt/numbers.c libxslt/numbersInternals.h
  libxslt/pattern.c libxslt/preproc.c libxslt/security.c
  libxslt/templates.c libxslt/transform.c libxslt/transform.h
  libxslt/variables.c libxslt/xslt.c libxslt/xsltInternals.h
  libxslt/xsltutils.c libxslt/xsltutils.h: cleanup based on the
  report from the scripts.
* libxslt.spec.in: make sure libxslt-api.xml ends up in the devel
  package
Daniel
2002-12-11 17:53:37 +00:00
Daniel Veillard
433a51586a fixed the API generation scripts. regenerated updated too updated too
* doc/Makefile.am doc/parsedecl.py: fixed the API generation
  scripts.
* doc/libxslt-api.xml doc/libxslt-refs.xml: regenerated
* doc/html/*.html: updated too
* python/libxsltclass.txt: updated too
Daniel
2002-11-26 15:05:17 +00:00
Daniel Veillard
0a04c030c7 enable libxml2 memory debug before loading libxslt since libxslt
* python/tests/*.py: enable libxml2 memory debug before
  loading libxslt since libxslt initialization now includes
  EXSLT registration which initialize the libxml2 library and
  allocate memory
Daniel
2002-11-24 14:51:51 +00:00
Daniel Veillard
0e453d81ed updated with new version from Stphane Bidoul Daniel
* python/libxsl.py: updated with new version from Stphane Bidoul
Daniel
2002-11-24 13:01:24 +00:00
Daniel Veillard
645c2e421a patch from Charles Bozeman fixing a memory leak in
* libexslt/date.c: patch from Charles Bozeman fixing a memory
  leak in exsltDateDurationFunction pointed out by Bernard Brinkhus
* python/tests/exslt.py: trouble with mem debug in that specific
  test...
Daniel
2002-11-23 13:48:38 +00:00
Daniel Veillard
b827b9b065 fixes for compiling without config.h Daniel
* python/generator.py python/libxslt.c: fixes for compiling
  without config.h
Daniel
2002-11-23 11:25:00 +00:00