1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-08 11:02:18 +03:00
Commit Graph

422 Commits

Author SHA1 Message Date
Bjorn Reese
c6604a959b Re-worked NaN and Inf support 2001-08-21 09:25:42 +00:00
Daniel Veillard
f89de317a2 fixed a number of small problems with Makefiles spotted by Albert Chin
* //Makefile.am : fixed a number of small problems with
  Makefiles spotted by Albert Chin
Daniel
2001-08-18 14:00:41 +00:00
Daniel Veillard
1a43e5c802 Fixed a couple of links, Daniel 2001-08-17 12:01:40 +00:00
Daniel Veillard
8be4fdf142 minimal changes to compile 1.0.2 on Windows/MSC Daniel
* win32/dsp/libxslt.def: minimal changes to compile 1.0.2 on
  Windows/MSC
Daniel
2001-08-16 12:38:44 +00:00
Daniel Veillard
b6e339c509 what about commiting the modified file and not just the Changelog ?
Daniel
2001-08-16 12:13:45 +00:00
Daniel Veillard
e7afabad39 fixed a permutation of args to xsltPrintErrorContext() Daniel
* libxslt/extensions.c: fixed a permutation of args to
  xsltPrintErrorContext()
Daniel
2001-08-16 12:08:02 +00:00
Daniel Veillard
9cdf16b2ea Updated to include 1.0.1 and 1.0.2 releases, Daniel 2001-08-15 13:32:03 +00:00
Daniel Veillard
307550093f release of 1.0.2 cleaning of Makefiles pointed out by make distcheck
* Makefile.am config.h.in configure.in libxslt/xsltwin32config.h:
  release of 1.0.2
* tests/docs/Makefile.am libexslt/Makefile.am
  tests/documents/Makefile.am tests/general/Makefile.am
  xsltproc/Makefile.am: cleaning of Makefiles pointed out
  by make distcheck
Daniel
LIBXSLT_1_0_2
2001-08-15 13:21:46 +00:00
Daniel Veillard
6a4dc180f2 a bit of cleanup Daniel
* libxslt/functions.h libxslt/transform.c: a bit of cleanup
Daniel
2001-08-15 11:55:20 +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
MDT 2001 John Fleck
76c6f0321c doc/xslt.html updated xsltproc description with the many new command line
Tue Aug 14 20:51:09 MDT 2001 John Fleck <jfleck@inkstain.net>

	* doc/xslt.html updated xsltproc description with the many new
	  command line options Daniel has added, cleaned up some spelling
2001-08-15 02:54:38 +00:00
Daniel Veillard
085dc3cb0c serious changes on Result Value Trees and NodeSets w.r.t. deallocation and
* libxslt/extra.c libxslt/keys.c libxslt/templates.c
  libxslt/transform.c libxslt/variables.c libxslt/xsltutils.c:
  serious changes on Result Value Trees and NodeSets
  w.r.t. deallocation and collect operations. Probably not
  100% clean (merge of allocated trees smells like a problem).
  Seems sufficient to close #58943 . Also check if XPath evaluations
  failed, and in this case stops the processing and avoid
  going further, goal is to not segfault on broken XSLT.
Daniel
2001-08-14 16:46:18 +00:00
Daniel Veillard
6ee8beb052 trying to kill bug #58878, some associated serious cleanup in the pattern
* libxslt/pattern.c libxslt/transform.c: trying to kill bug #58878,
  some associated serious cleanup in the pattern code.
* tests/docbook/result/*: regenerated all the results for the
  docbook testsuite. Seems killing #58878 also changes the
  fo results seriously.
* tests/docs/Makefile.am tests/docs/bug-5[56].xml
  tests/general/Makefile.am tests/general/bug-5[56].*: added
  2 more tests
Daniel
2001-08-14 13:35:41 +00:00
Thomas Broyer
ccddc73b6a fixed compilation warnings due to recent changes to the extension
* libxslt/xslt.c libxslt/xsltInternals.h libxslt/transform.c
	  libxslt/extra.[ch] libxslt/extensions.c libxslt/preproc.[ch]:
	  fixed compilation warnings due to recent changes to the extension
	  framework.
	* libxslt/preproc.[ch] libexslt/common.c
	  fixed the precomputation of *:document elements
	* libxslt/functions.h: fixed a compilation warning
2001-08-14 03:09:52 +00:00
Daniel Veillard
36c741c0ba applied fix suggested by Tom Moog for xsltTimeStamp() in bug report #58012
* libxslt/xsltutils.c: applied fix suggested by Tom Moog
  for xsltTimeStamp() in bug report #58012
Daniel
2001-08-13 09:42:27 +00:00
Daniel Veillard
a02a4e36b3 Added a few pointers to XSLT list, archive, FAQ and Michael Kay's book, Daniel 2001-08-13 08:16:20 +00:00
Daniel Veillard
d4956ec17b cleaned up the code w.r.t. handling of 'non-standard' libxml element like
* libxslt/functions.c libxslt/keys.c libxslt/transform.c
  libxslt/xsltutils.h: cleaned up the code w.r.t. handling
  of 'non-standard' libxml element like namespace nodes.
* tests/docs/Makefile.am tests/docs/bug-54.xml
  tests/general/Makefile.am tests/general/bug-54.*: added a
  specific example in the regression tests
Daniel
2001-08-12 19:55:12 +00:00
Daniel Veillard
13d0776948 Small URL fix by Heiko Rupp, Daniel 2001-08-09 13:21:44 +00:00
Daniel Veillard
365d008fac added John Fleck right to commit in the doc subdir Daniel
* HACKING: added John Fleck right to commit in the doc subdir
Daniel
2001-08-08 20:59:23 +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
Peter Williams
664d555115 Fixes for compiling when srcdir != builddir.
2001-08-06  Peter Williams  <peterw@ximian.com>

	* libexslt/Makefile.am, xsltproc/Makefile.am: Fixes for compiling
	when srcdir != builddir.
2001-08-06 17:47:23 +00:00
Thomas Broyer
5583b7bc3c modified extension framework to easify extension element precomputation.
* libxslt/extensions.[ch] libxslt/preproc.[ch] libxslt/transform.c
	  libxslt/xslt.c libxslt/xsltInternals.h: modified extension framework
	  to easify extension element precomputation.
	* libexslt/functions.c: uses the new framework and precomputes
	  func:result elements.
2001-08-05 07:37:44 +00:00
Daniel Veillard
bc7aff0434 bug fix on output="text" from Nicolas Marsgui Daniel
* libxslt/transform.c: bug fix on output="text" from Nicolas Marsgui
Daniel
2001-08-04 18:43:43 +00:00
Daniel Veillard
5666c6f6cd fixed the link to go to stable subdir on gnome.org, Daniel 2001-08-03 20:27:52 +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
a5b9bae515 well one need one \n after DOCTYPE the output of some tests changed, looks
* libxslt/xsltutils.c: well one need one \n after DOCTYPE
* test//*/*.out: the output of some tests changed, looks better
  actually
Daniel
2001-08-01 12:00:00 +00:00
Daniel Veillard
5b48424415 avoid extra \n when serializing top text nodes. daniel
* libxslt/xsltutils.c: avoid extra \n when serializing top text nodes.
daniel
2001-08-01 11:22:35 +00:00
Daniel Veillard
78acdfa4cd one more revision on Norm's localTime() function Daniel
* libxslt/extra.c: one more revision on Norm's localTime() function
Daniel
2001-08-01 08:39:03 +00:00
Thomas Broyer
cbb27d0555 fixed bugs in exsltTrailingFunction and exsltLeadingFunction when passing
* libexslt/sets.c: fixed bugs in exsltTrailingFunction and
	  exsltLeadingFunction when passing an empty node-set as the
	  second argument
	* libxslt/functions.[ch]: gave priority to context-level functions
	  over extension module functions. This allows a function declared
	  with a func:function element to override an extension module
	  function for example. This is a bit hackish...
	* tests/exslt/sets/{lead,trail}ing.1.out: fixed errors. The result
	  values didn't conform to the expected values. This is a bug in
	  the EXSLT official use cases.
2001-07-31 23:38:57 +00:00
Daniel Veillard
35d2ba83df tried to integrate Norm's implemntation of localTime() Daniel
* config.h.in configure.in libxslt/extra.c: tried to integrate
  Norm's implemntation of localTime()
Daniel
2001-07-31 21:55:02 +00:00
Daniel Veillard
7b60042845 fixed a serious proble is node-set was called on a nodeset fixed the rule
* libxslt/extra.c: fixed a serious proble is node-set was called
  on a nodeset
* tests//*/Makefile.am: fixed the rule to rebuild xsltproc
Daniel
2001-07-30 13:47:26 +00:00
Thomas Broyer
23c11bbc87 fixed memory leaks
* libexslt/functions.c: fixed memory leaks
2001-07-30 03:43:07 +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
MDT 2001 John Fleck
36c8640ac5 doc/internals.html - general cleanup
Sat Jul 28 08:25:05 MDT 2001 John Fleck <jfleck@inkstain.net>

	* doc/internals.html - general cleanup
2001-07-28 14:26:59 +00:00
Daniel Veillard
38b5990026 Added link to Python bindings, Daniel 2001-07-27 19:00:30 +00:00
Thomas Broyer
c560f6469c added some tests to check EXSLT conformance fixed a typo when registering
* configure.in tests/Makefile.am tests/exslt/*: added some tests
	  to check EXSLT conformance
	* libexslt/sets.c: fixed a typo when registering has-same-node
2001-07-27 02:15:58 +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
Daniel Veillard
cca684b247 applied changes from Tom Moog #58002 Some cleanup, there is still a memory
* libxslt/transform.[ch]: applied changes from Tom Moog #58002
* libexslt/functions.c libxslt/documents.c libxslt/extensions.c:
  Some cleanup, there is still a memory leak left and some warnings
  in libexslt.
Daniel
2001-07-26 21:30:29 +00:00
Daniel Veillard
ef9ed9d048 Added pointers to Igor's page for the windows binaries, Daniel 2001-07-26 18:31: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
93a9ef80f2 fixed an ugly problem with namespaces in templates compilation added a
* libxslt/pattern.c: fixed an ugly problem with namespaces
  in templates compilation
* tests/namespaces/tst4.*: added a specific testcase
* libxslt/transform.c: reenabled debug
Daniel
2001-07-25 20:20:57 +00:00
Daniel Veillard
f6ab7e3e29 releasing 1.0.1 updated the docs. activate line numbering unfortunately
* configure.in libxslt.spec.in libxslt/xsltwin32config.h:
  releasing 1.0.1
* doc/html/*.html: updated the docs.
* xsltproc/xsltproc.c: activate line numbering unfortunately
  this works only with CVS, libxml2-2.4.1 is broken in this respect
Daniel
2001-07-23 21:47:41 +00:00
William M. Brack
630ca9f1cb Fixed xsltFindDocument to cater for Stylesheet as document 2001-07-23 15:40:00 +00:00
MDT 2001 John Fleck
c43b7da657 updating libxslt tutorial to include param support
Mon Jul 23 09:32:27 MDT 2001 John Fleck <jfleck@inkstain.net>

	* updating libxslt tutorial to include param support
2001-07-23 15:34:28 +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
Darin Adler
b6af24726a Add HTML_DIR definition. Ignore some generated files.
* configure.in: Add HTML_DIR definition.
	* xsltproc/.cvsignore: Ignore some generated files.
2001-07-19 20:23:20 +00:00
Peter Williams
1d61348d3a Fix compiling when srcdir != builddir.
2001-07-18  Peter Williams  <peterw@ximian.com>

	* xsltproc/Makefile.am (INCLUDES): Fix compiling when
	srcdir != builddir.
2001-07-18 17:42:10 +00:00
Thomas Broyer
97010dc389 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 12:50:06 +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