1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-04-19 05:42:15 +03:00

103 Commits

Author SHA1 Message Date
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
Daniel Veillard
8d7c6499f7 removing the DocBook SGML support Daniel
* xsltproc/xsltproc.c doc/xsltproc.1 doc/xsltproc.xml
  libxslt/xsltutils.h: removing the DocBook SGML support
Daniel
2003-09-13 00:08:39 +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
2885c5457c minor change, avoid wasting CPU cycles Daniel
* xsltproc/xsltproc.c: minor change, avoid wasting CPU cycles
Daniel
2003-08-03 21:40:52 +00:00
Daniel Veillard
1895007219 applying a patch based on #117377 for --path option. Daniel
* xsltproc/xsltproc.c: applying a patch based on #117377
  for --path option.
Daniel
2003-07-23 21:46:39 +00:00
Daniel Veillard
636a24b3d9 Moved the man pages to section 3 applied patch from Peter Breitenlohner
* libxslt.spec.in libexslt/Makefile.am libexslt/libexslt.3
  libxslt/Makefile.am libxslt/libxslt.3: Moved the man pages
  to section 3
* libexslt/sets.c: applied patch from Peter Breitenlohner
* doc/*: rebuilt the docs
* tests/docbook/result//* tests/xmlspec/*.html: changes in
  generattion of " as " in element content.
Daniel
2003-06-13 14:58:09 +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
44d74fd937 had to comment out Igor last change since it made libxslt-1.0.27 depends
* xsltproc/xsltproc.c: had to comment out Igor last change
  since it made libxslt-1.0.27 depends on libxml2 newly
  API extension which hasn't propagated yet :-(
Daniel
2003-02-24 22:50:35 +00:00
Igor Zlatkovic
efa6575702 obsoleted xmlNormalizeWindowsPath 2003-02-19 15:04:05 +00:00
Daniel Veillard
46bb489dd4 fixed bug #99623 Daniel
* xsltproc/xsltproc.c: fixed bug #99623
Daniel
2003-02-04 23:09:40 +00:00
Daniel Veillard
4cf238e533 fixed a double free of stylesheet when applied to a standalone stylesheet
* xsltproc/xsltproc.c: fixed a double free of stylesheet
  when applied to a standalone stylesheet
Daniel
2003-01-17 16:45:00 +00:00
Daniel Veillard
921808c7b5 final touch to #102800 fix Daniel
* xsltproc/xsltproc.c: final touch to #102800 fix
Daniel
2003-01-10 09:35:13 +00:00
Daniel Veillard
12ac683775 tried to fix #102800 for good. Reenabled memory debug checking which got
* xsltproc/xsltproc.c: tried to fix #102800 for good. Reenabled
  memory debug checking which got deactivated at some point ?!?
* libexslt/date.c libxslt/attributes.c: fixing some memory leaks
* libxslt/xsltutils.c: very small change on HTML indentation handling
Daniel
2003-01-09 17:21:02 +00:00
Daniel Veillard
ccc8569012 make sure to register EXSLT for the bindings add a specific test minor
* python/libxslt.c: make sure to register EXSLT for the bindings
* python/tests/Makefile.am python/tests/exslt.py: add a specific test
* xsltproc/xsltproc.c: minor cleanup
Daniel
2002-11-16 22:26:08 +00:00
Igor Zlatkovic
6a270ae34b allowed stdarg for mingw 2002-11-14 17:49:20 +00:00
Daniel Veillard
d7627fbf78 remove the use of snprintf, and use libxml2 string API instead. try to
* xsltproc/xsltproc.c: remove the use of snprintf, and use
  libxml2 string API instead.
* configure.in libxslt/xsltconfig.h.in libxslt/xsltutils.c:
  try to cope with architecture lacking some of the string functions,
  reuse the trio ones compiled in libxml2 , should close #97113
Daniel
2002-11-04 17:04:59 +00:00
Igor Zlatkovic
63aa96c13e mapped snprintf to _snprintf for MS runtime 2002-10-20 13:24:47 +00:00
Daniel Veillard
a2c8490286 added and tested the --path option to close #79638 Daniel
* xsltproc: added and tested the --path option to close #79638
Daniel
2002-10-17 13:51:17 +00:00
Daniel Veillard
6b5af9ba4a added a --path option to provide the enhancement requested by #79638,
* xsltproc/xsltproc.c: added a --path option to provide the
  enhancement requested by #79638, first cur at it, untested yet.
Daniel
2002-10-15 11:04:51 +00:00
Daniel Veillard
14c7c9cf24 added another option --writesubtree to allow documents to be written only
* xsltproc/xsltproc.c: added another option --writesubtree to allow
  documents to be written only to  a given subtree.
Daniel
2002-10-10 16:50:17 +00:00
Daniel Veillard
159d00a5a0 new module with runtime security checks, it will also check and do
* libxslt/security.[ch] libxslt/Makefile.am: new module with
  runtime security checks, it will also check and do directory
  creation when allowed
* libxslt/documents.c libxslt/imports.c libxslt/transform.c
  libxslt/xslt.c libxslt/xsltInternals.h: plug-in the new
  security infrastructure probes at file reading or file creation
* xsltproc/xsltproc.c: plugged the security module there too,
  added the new options --nowrite and --nomkdir
* doc/*: updated the man page and regenerated.
Daniel
2002-10-10 15:26:25 +00:00
Daniel Veillard
5ebd21a46b added a example in the regression tests for a case where the XML default
* tests/docs/Makefile.am tests/docs/bug-87.xml
  tests/general/Makefile.am tests/general/bug-87.*: added a
  example in the regression tests for a case where the XML
  default namespace was missing from the namespace axis
* xsltproc/xsltproc.c: added the informations that parameter
  strings are expected to be UTF8
* libxslt/attributes.c: fixes on attribute group implementation
Daniel
2002-07-01 22:19:55 +00:00
Daniel Veillard
d2eb315a3d moved the extension dump out of the loop Daniel
* xsltproc/xsltproc.c: moved the extension dump out of the loop
Daniel
2002-05-16 17:38:09 +00:00
Daniel Veillard
0f879dd4f2 Applied Mark Vakoc patch to show registered extensions in xsltproc rebuilt
* libxslt/extensions.[ch]  xsltproc/xsltproc.c win32/libxslt.def.src:
  Applied Mark Vakoc patch to show registered extensions in xsltproc
* doc/*: rebuilt the API, docs and website
* python/libxsltclass.txt: this added an entry point
Daniel
2002-05-16 17:33:29 +00:00
Daniel Veillard
7fb3b3fc09 fixed some return code problems raised by Thomas Mauch Daniel
* xsltproc/xsltproc.c libxslt/xsltutils.c doc/xsltproc.xml:
  fixed some return code problems raised by Thomas Mauch
Daniel
2002-05-02 09:09:18 +00:00
Daniel Veillard
6ca5fcf67b removed a warning added xsltRunStylesheetUser() API needed to fix #78546
* libxslt/attributes.c: removed a warning
* libxslt/transform.c libxslt/transform.h win32/libxslt.def.src:
  added xsltRunStylesheetUser() API needed to fix #78546
* xsltproc/xsltproc.c: second part of the fix #78546
Daniel
2002-04-15 15:30:21 +00:00
Daniel Veillard
8af1c0b719 fixed bug #71488 in a similar way as #71457 Daniel
* configure.in xsltproc/xsltproc.c: fixed bug #71488 in a
  similar way as #71457
Daniel
2002-03-07 14:20:05 +00:00
Daniel Veillard
c0d41a178b similar to #72663 and #72658, don't memdump unless compiled explicitely
* xsltproc/xsltproc.c: similar to #72663 and #72658, don't memdump
  unless compiled explicitely with memory debugging switched on
* TODO: refreshed a bit
Daniel
2002-03-01 09:15:28 +00:00
Daniel Veillard
9de2bd46fc small fix cleanup avoid a problem with $(TESTS) augmented the wrappers
* xsltproc/xsltproc.c: small fix
* Makefile.am: cleanup
* python/tests/Makefile.am: avoid a problem with $(TESTS)
* python/generator.py python/libxml_wrap.h python/libxsl.py
  python/libxslt.c python/libxsltclass.txt: augmented the
  wrappers
* python/tests/pyxsltproc.py: rewrote xsltproc on top of the
  libxslt-python API to get an estimate of what is missing
Daniel
2002-02-07 17:02:34 +00:00
Daniel Veillard
6aaad01f28 added links to the Web site from usage() Daniel
* xsltproc/xsltproc.c: added links to the Web site from usage()
Daniel
2002-01-25 14:32:23 +00:00
Daniel Veillard
2590cc843a Fixed RH bug #58124 due to an off-by-one error when parsing -o arguments.
* xsltproc/xsltproc.c: Fixed RH bug #58124 due to an off-by-one
  error when parsing -o arguments.
Daniel
2002-01-20 13:34:51 +00:00
Daniel Veillard
14a94c1438 Fixed RH bug #57496, xsltproc was not returning error code on internal
* doc/xsltproc.xml libxslt/xsltutils.c xsltproc/xsltproc.c:
  Fixed RH bug #57496, xsltproc was not returning error
  code on internal runtime errors. Should return 9 now.
Daniel
2002-01-20 13:17:50 +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
18c8f88910 fixed a couple of small problems raised by Justin Fletcher Daniel
* libxslt/transform.c xsltproc/xsltproc.c: fixed a couple of
  small problems raised by Justin Fletcher
Daniel
2002-01-15 09:41:47 +00:00
Daniel Veillard
8b43203f5d added the --stringparam option applied John Fleck's patch to correct the
* xsltproc/xsltproc.c: added the --stringparam option
* xsltproc/xsltproc.c: applied John Fleck's patch to correct
  the --novalid behaviour.
Daniel
2002-01-08 16:25:24 +00:00
Daniel Veillard
16be8d51ad increased the max number of parameters Daniel
* xsltproc/xsltproc.c: increased the max number of parameters
Daniel
2002-01-04 14:51:13 +00:00
Daniel Veillard
3d62075937 return useful code signaling error conditions closing #56649 (RH) Daniel
* xsltproc/xsltproc.c: return useful code signaling error conditions
  closing #56649 (RH)
Daniel
2001-11-26 20:46:26 +00:00
Daniel Veillard
972c7783bb updating Makefiles to fix the prelinking. Daniel
* Makefile.am configure.in breakpoint/Makefile.am libexslt/Makefile.am:
  updating Makefiles to fix the prelinking.
Daniel
2001-11-26 09:29:54 +00:00
Daniel Veillard
b8e054aedf Patches from Igor for Windows try to fix the LIBXSLT_PUBLIC mess Daniel
* win32/dsp/* xsltproc/xsltproc.c libxslt/transform.c: Patches
  from Igor for Windows
* libxslt/xslt.h: try to fix the  LIBXSLT_PUBLIC mess
Daniel
2001-11-12 21:48:52 +00:00
Daniel Veillard
d03254ec53 preparing 1.0.7 cleanup similar to libxml2 one finished cleaning up
* configure.in: preparing 1.0.7
* libxslt.spec.in: cleanup similar to libxml2 one
* breakpoint/*.[hc]: finished cleaning up contributed code
* doc/*: updated and rebuilt the documentation
* xsltproc/xsltproc.c: cleanup of the timing code
* xsltproc/Makefile.am: auto* sucks
* libxslt/transform.c: added a missing include
Daniel
2001-11-10 13:35:26 +00:00
Daniel Veillard
9852da2025 cleanup, moved xsllNoNetExternalEntityLoader() to libxml and removed the
* xsltproc/xsltproc.c: cleanup, moved xsllNoNetExternalEntityLoader()
  to libxml and removed the --warnnet option
Daniel
2001-10-31 17:54:43 +00:00
Daniel Veillard
eb5f21553c fixed bug #60624 improver the error context reporting added a specific
* libxslt/xslt.c: fixed bug #60624
* libxslt/xsltutils.c: improver the error context reporting
* tests/reports/Makefile.am tests/reports/tst-2.*: added a
  specific regression test
* xsltproc/xsltproc: free the stylesheet if it contained an error.
Daniel
2001-09-18 09:56:57 +00:00
Daniel Veillard
0eddbb610f tell in usage that parameter strings need to be quoted Daniel
* xsltproc/xsltproc.c: tell in usage that parameter strings
  need to be quoted
Daniel
2001-09-11 12:49:36 +00:00
Daniel Veillard
0da1279f4c complete test of a DocBook XSLt transform with --nonet, need stat(), added
* config.h.in configure.in xsltproc/xsltproc.c: complete test
  of a DocBook XSLt transform with --nonet, need stat(), added
  checking in configure.
Daniel
2001-08-23 21:20:28 +00:00
Daniel Veillard
dc8d280599 catalog integration, cleanup with the --nonet option closing #59427
* xsltproc/xsltproc.c: catalog integration, cleanup with
  the --nonet option closing #59427
* libxslt/xslt.c: removed a small memleak when using a
  stylesheet PI
Daniel
2001-08-23 15:41:05 +00:00
Daniel Veillard
c3e6b8a663 For Norman walsh: for heriting defaulted atts from the DTD Added a few new
For Norman walsh:
* xsltproc/xsltproc.c: for heriting defaulted atts from the DTD
* tests/docs/Makefile.am tests/docs/bug-52.xml tests/docs/bug-53.xml
  tests/general/Makefile.am tests/general/bug-52.*
  tests/general/bug-53.*: Added a few new tests for recently fixed
  stuff in libxml
* tests/xmlspec/REC-xml-20001006-review.html
  tests/xmlspec/REC-xml-20001006.html: inheriting default attrs from
  DTD changed the result by adding extra attributes to the HTML output
Daniel
2001-08-07 01:14:30 +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
Daniel Veillard
06599b30b7 more cleanup of the problems introduced with EXSLT, also closes bug #58180
* libexslt/functions.c libxslt/extensions.[ch] libxslt/extensions.h
  libxslt/xslt.[hc] libxslt/xsltInternals.h xsltproc/xsltproc.c:
  more cleanup of the problems introduced with EXSLT, also closes
  bug #58180
Daniel
2001-07-28 18:38:48 +00:00
Daniel Veillard
0b3921b2ed quick cleanup of memory allocations, raise a bug in the test suite, also
* libxslt/extensions.c xsltproc/xsltproc.c: quick cleanup
  of memory allocations, raise a bug in the test suite, also
  need to be centralized as a single cleanup function.
daniel
2001-07-26 22:33:58 +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