1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-07 10:42:55 +03:00
Commit Graph

888 Commits

Author SHA1 Message Date
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
Darin Adler
6ab14c960e Some more generated files to ignore.
* libxslt/.cvsignore:
	* tests/XSLTMark/.cvsignore:
	* tests/extensions/.cvsignore:
	* tests/xmlspec/.cvsignore:
	Some more generated files to ignore.
2001-07-15 20:01:41 +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
fbfb6cde74 account for new source files added
* libexslt/Makefile.am: account for new source files
        * libexslt/.cvsignore: added
2001-07-15 13:25:00 +00:00
Thomas Broyer
75b80a4ecf start implementing EXSLT 2001-07-15 03:25:37 +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
Daniel Veillard
5b529aba2c trying to accept AVT for "format" in xsl:number Daniel
* libxslt/numbers.c libxslt/numbersInternals.h libxslt/preproc.c:
  trying to accept AVT for "format" in xsl:number
Daniel
2001-07-14 20:01:17 +00:00
Daniel Veillard
93faedfa8a trying to close #57460 by adding xsltProfileStylesheet Daniel
* win32/libxslt/libxslt.defs: trying to close #57460 by adding
  xsltProfileStylesheet
Daniel
2001-07-12 21:02:53 +00:00
Daniel Veillard
bc9b7c8760 provide context for error messages. Requires libxml head changes. fixed a
* libxslt/documents.c libxslt/extensions.c libxslt/extra.c
  libxslt/functions.c libxslt/imports.c libxslt/keys.c
  libxslt/namespaces.c libxslt/numbers.c libxslt/pattern.c
  libxslt/preproc.c libxslt/templates.c libxslt/transform.c
  libxslt/variables.c libxslt/xslt.c: provide context for
  error messages. Requires libxml head changes.
* libxslt/xsltutils.c libxslt/xsltutils.h: fixed a --profile
  problem
Daniel
2001-07-12 01:32:04 +00:00
Daniel Veillard
69513fd458 initial EXSLT framework Daniel
* libexslt/Makefile.am: initial EXSLT framework
Daniel
2001-07-10 22:33:17 +00:00
Daniel Veillard
732901867d releaseing 1.0.0 added another entry point fixed a comment block updated
* configure.in libxslt/xsltwin32config.h: releaseing 1.0.0
* win32/libxslt/libxslt.def: added another entry point
* libxslt/transform.c: fixed a comment block
* doc/xslt.html doc/html/*: updated and regenerated the docs
Daniel
LIBXSLT_1_0_0
2001-07-10 16:08:10 +00:00
Daniel Veillard
f38dffaec4 added missing functions Daniel
* win32/libxslt/libxslt.def: added missing functions
Daniel
2001-07-10 15:26:46 +00:00
Daniel Veillard
178e4af9c7 added Embedding Stylesheets added the test from the REC about it tried to
* FEATURES libxslt/xsltproc.c libxslt/transform.c
  libxslt/xsltInternals.h: added Embedding Stylesheets
* tests/REC/Makefile.am tests/REC/stand-2.7-1.*: added the test
  from the REC about it
* libxslt/transform.c libxslt/extra.[ch] libxslt/preproc.c:
  tried to accomodate the various (and changing) proprietary
  ways of implementing chunking.
* tests/docbook/result/xtchunk/html: now output is generated in
  ISO-8859-1
Daniel
2001-07-10 15:14:09 +00:00
Daniel Veillard
0e6be80b91 small cleanup patch from Michal Sajdak for cdata/text handling Daniel
* libxslt/xsltproc.c: small cleanup
* libxslt/transform.c libxslt/xslt.c : patch from Michal Sajdak
  for cdata/text handling
Daniel
2001-07-09 21:25:21 +00:00
Daniel Veillard
44881d780b small fix for xsl:message by Stephane GUIBOU added a specific regression
* libxslt/xsltutils.c: small fix for xsl:message by Stephane GUIBOU
* tests/documents/Makefile.am tests/documents/message.*: added
  a specific regression test
* libxslt/transform.c: fixed an infinite loop
* configure.in doc/Makefile.am: attempt to add --with-html-dir,
  this may work
Daniel
2001-07-09 20:06:35 +00:00
Daniel Veillard
399ff26ba4 fixed exclude-result-prefixes handling and how namespaces propagate from
* libxslt/transform.c libxslt/xslt.c libxslt/xsltInternals.h:
  fixed exclude-result-prefixes handling and how namespaces
  propagate from the stylesheet to the result in general, this
  is a serious cleanup.
* tests/general/bug-3[67]-inc.xsl tests/general/bug-6-.xsl
  tests/general/itemschoose.out tests/namespaces/extra.xsl
  tests/REC/test-10-1.xsl tests/REC/test-10-2.xsl
  tests/REC/test-11.2-1.xsl tests/REC/test-11.2-2.xsl
  tests/REC/test-11.2-6.xsl tests/REC/test-15-1.xsl
  tests/REC/test-16.1-1.xsl tests/REC/test-16.1-2.xsl
  tests/REC/test-5.4-1.out tests/REC/test-5.4-2.out
  tests/REC/test-5.4-3.out tests/REC/test-5.4-4.out
  tests/REC/test-7.1.1-2.out tests/REC/test-7.1.1-2.xsl
  tests/REC/test-7.1.1-3.out tests/REC/test-7.1.1-3.xsl
  tests/REC/test-7.1.1.out tests/REC/test-7.1.3.xsl
  tests/REC/test-7.3.xsl tests/REC/test-7.4.xsl
  tests/REC/test-7.6.1-1.xsl tests/REC/test-7.6.1-2.xsl
  tests/REC/test-7.6.1-3.xsl tests/REC/test-7.6.2-1.xsl:
  fixed and rechecked all the tests where the namespace
  propagation was wrong either taht the rules were not applied
  correctly or that superfluous namespaces were declared in the
  stylesheets
Daniel
2001-07-09 13:59:13 +00:00
Daniel Veillard
451c656c3b Norm pointed out that element-available() didn't work, implemented it
* libxslt/extra.c libxslt/functions.c libxslt/transform.[ch]
  libxslt/variables.h: Norm pointed out that element-available()
  didn't work, implemented it
* tests/extensions/Makefile.am tests/extensions/list.*: added
  a test for all registered xslt element, function and default
  extensions.
Daniel
2001-07-08 20:21:05 +00:00
Daniel Veillard
ed83d63ecc added a test for URI-escaping on document() input Daniel
* tests/documents/Makefile.am 'tests/documents/doc file.xml'
  tests/documents/docfile.xml tests/documents/test.result
  tests/documents/test.xml tests/documents/test.xsl:
  added a test for URI-escaping on document() input
Daniel
2001-07-08 18:45:45 +00:00
Daniel Veillard
c2dc2ac6eb added a couple of regression tests for bugs posted on the list Daniel
* tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-49-* tests/docs/bug-49-*
  tests/general/bug-50-* tests/docs/bug-50-*: added a
  couple of regression tests for bugs posted on the list
Daniel
2001-07-08 14:35:46 +00:00
Daniel Veillard
eaf4a6610a avoid generating CDATA node in document tree when parsed, force generation
* libxslt/xsltproc.c: avoid generating CDATA node in document
  tree when parsed, force generation of text nodes instead.
Daniel
2001-07-08 13:42:21 +00:00
Daniel Veillard
47e3ce6e65 fixed a number of typo found by Dan York improved the profiling ouput,
* doc/extensions.html: fixed a number of typo found by Dan York
* libxslt/xsltutils.c: improved the profiling ouput, added the
  average value too.
Daniel
2001-07-08 12:40:43 +00:00
Daniel Veillard
efd1c03b77 tryingt to fix a problem raised by Norm Daniel
* libxslt/variables.c: tryingt to fix a problem raised by Norm
Daniel
2001-07-07 22:12:33 +00:00
Daniel Veillard
a48ce8ba9d added gettimeofday() check profiling works option --profile (or --norman
* config.h.in configure.in: added gettimeofday() check
* libxslt/transform.c libxslt/xsltInternals.h libxslt/xsltutils.[ch]:
  profiling works option --profile (or --norman ;)
Daniel
2001-07-07 21:24:06 +00:00
Daniel Veillard
6744bd096b - libxslt/templates.c libxslt/transform.c libxslt/transform.h
libxslt/variables.c: big cleanup on the way templates or
  template fragments are processed, cleanup of stack building
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-4[1-8]-* tests/docs/bug-4[1-8]-*: added a
  series of regression test for the variable/params lookups
- libxslt/transform.c libxslt/xsltutils.[ch] libxslt/xsltproc.c:
  started working on profiling code, there is just invocation counting
  yet but the framework is in place.
Daniel
2001-07-07 17:05:02 +00:00
Daniel Veillard
78e30d87ad added a specific regression test for the variable scope within templates
* tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-40-* tests/docs/bug-40-*: added a specific
  regression test for the variable scope within templates problem
Daniel
2001-07-07 09:21:53 +00:00
William M. Brack
22de9c0838 Fixed variable scope problem 2001-07-07 09:11:11 +00:00
Daniel Veillard
d237fa7915 updated the top page, Daniel 2001-07-07 00:14:50 +00:00
Daniel Veillard
ce69a281a6 Cleanup and added a entry for the shutdown function.
Daniel
2001-07-06 16:33:55 +00:00
Daniel Veillard
bdffe03d8d Writing documentation blows but is really needed <grin/>
* doc/extensions.html doc/internals.html doc/xslt.html:
  added a documentation on writing libxslt extensions, and
  added links to the main page
* libxslt/functions.c libxslt/xsltInternals.h
Daniel
2001-07-06 15:44:44 +00:00
William M. Brack
95387c3033 *** empty log message *** 2001-07-06 06:49:11 +00:00
William M. Brack
96d595ac1e Cleanup messages and comments 2001-07-06 06:36:32 +00:00
Daniel Veillard
b82c1f12e8 added 0.14.0 release Daniel
* doc/xslt.html: added 0.14.0 release
Daniel
2001-07-06 00:00:14 +00:00
Daniel Veillard
5fa04b1a52 released 0.14.0 Daniel
* configure.in libxslt/xsltwin32config.h: released 0.14.0
Daniel
2001-07-05 23:44:43 +00:00
Daniel Veillard
fbe4abe1b2 rebuilt docs before release fixed a function doc header Daniel
* doc/html/*: rebuilt docs before release
* libxslt/extensions.c: fixed a function doc header
Daniel
LIBXSLT_0_14_0
2001-07-05 23:02:43 +00:00
Daniel Veillard
5686af1088 - FEATURES: updated - libxslt/xslt.c libxslt/xsltInternals.h: added
- FEATURES: updated
- libxslt/xslt.c libxslt/xsltInternals.h: added exclude-result-prefix
  support
- tests/REC/Makefile.am tests/REC/test-7.1.1-[23]*: added a couple
  of specific tests
- tests/xmlspec/REC-xml-20001006-review.html: seems this changed
  something there, not visually perceptible
Daniel
2001-07-05 22:43:40 +00:00