1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-31 02:43:06 +03:00
Commit Graph

888 Commits

Author SHA1 Message Date
d6deccfda5 Set-up framework for XSLT functions:
- libxslt/functions.[ch] Makefile.am: added new module functions
  with templates for the XSLT functions.
- libxslt/variables.h templates.c: added registrations of new
  functions when an XPath context is created
Daniel
2001-01-24 04:36:44 +00:00
fd72be7739 That part is not very fun:
- tests/Makefile.am: cleanup
- libxslt/pattern.c: should support most of the patterns now
  except ID/Key and maybe some namespace checks when having
  a default namespace
- TODO: updated
Daniel
2001-01-23 16:27:12 +00:00
583e780787 Preparing for a not too distant alpha release:
- Makefile.am libxslt.spec.in tests/REC1/Makefile.am
  tests/REC2/Makefile.am: updated the makefiles and spec files to
  add tests, and the FEATURES file to the RPM
Daniel
2001-01-23 14:00:42 +00:00
cad80ff875 Setup stuff: - Makefile.am libxslt.spec.in libxslt/Makefile.am
Setup stuff:
- Makefile.am libxslt.spec.in libxslt/Makefile.am tests/Makefile.am:
  prepared the Makefiles and spec files for a first release.
- COPYING.LIB: added LGPL Licence
Daniel
2001-01-22 22:41:32 +00:00
c35194efba I like receiving patches before the 0.0 release :-)
- libxslt/transform.c: applied cleanup patch from Bjorn Reese
  <breese@mail1.stofanet.dk>
Daniel
2001-01-22 22:15:34 +00:00
6db2425bdb CFirst try to make a spec file, Daniel 2001-01-22 19:25:37 +00:00
4ca88e820a New examples, new bugs:
- libxslt/xsltproc.c: avoid segfault when stylesheet is inproper
- libxslt/transform.c: add support for "*" to strip and preserve
  space.
Daniel
2001-01-22 18:39:41 +00:00
759a316932 updated added with alist of what's in and what's not fixed top level Param
Mon Jan 22 15:30:19 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* TODO: updated
	* FEATURES: added with alist of what's in and what's not
	* libxslt/xslt.c: fixed top level Param and Variable stuff

Mon Jan 22 11:46:44 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* xsltproc.c: removed bug
	* tests/REC2/html.xml: added newline after doctype
	* libxslt/variables.[ch] libxslt/xsltInternals.h: added param
	  support, result tree fragment support (requires just commited
	  extensions to libxml2 XPath !!!)
	* transform.c: added call-template, with-param support
	* libxslt/pattern.[ch]: xsltFindTemplate() needed for call-template
	* TODO: updated, added a DONE section and started migrating stuff :-)

Sun Jan 21 12:03:16 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* Makefile.am tests/Makefile.am tests/REC1/Makefile.am
	  tests/REC2/Makefile.am tests/REC2/html.xml: added tests target
	  too, added the HTML output test
	* libxmls/xsltutils.c: added HTML output
	* libxslt/xslt.c: check version on literal result used as templates
	* libxslt/transform.c: fixed an error in VERSION number
	* libxslt/templates.c: make sure generated nodes have doc and
	  parent properly set

Sat Jan 20 23:35:07 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/Makefile.am libxslt/template.[ch]: added a template
	  specific module. Added attribute value template, at least in
	  one spot.
	* tests/REC2/Makefile.am tests/REC2/svg.xml: the SVG test from
	  the spec now works too.
	* libxslt/variables.c: fixed the debug
	* libxslt/xslt.c: fixed an ugly uninitialized variable
	* libxslt/transform.c: now using attr template processing

Sat Jan 20 17:59:20 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/transform.c libxslt/variables.[ch] libxslt/xslt.c
	  libxslt/xsltInternals.h libxslt/xsltutils.h: changed a few
	  structure to add an execution stack with variables. Tree
	  valued variables still missing.
	* TODO: updated

Fri Jan 19 13:16:57 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/xslt.c: check version on stylesheets
	* libxslt/xslt.c libxslt/xsltInternals.h libxslt/variables[.ch]:
	  started adding variables interfaces and modules.

Thu Jan 18 16:08:38 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/xslt.c: added support for disable-output-escaping
	  will need libxml version > 20211
	* libxslt/transform.c: cleanup
	* libxslt/xsltutils.[ch]: added output functions
	* libxslt/xsltproc.c: reuse the output function
	* tests/REC2/Makefile.am tests/REC2/vrml.xml: added VRML output
	  test

Wed Jan 17 21:03:01 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/transform.c libxslt/xslt.c: avoiding some problems
	  with blank node stripping when not allowed.

Wed Jan 17 20:15:40 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/transform.c: modified apply-templates processing
	  added select and sort support support.

Wed Jan 17 17:45:20 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* TODO: guess what, it's growing :-(
	* configure.in: setup hacking values when compiling in my
	  own environment.
	* libxslt/transform.c libxslt/xsltutils.[hc]: added a first
	  very rudimentary version of xsl:sort

Wed Jan 17 14:25:25 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* TODO: more stuff
	* libxslt/transform.c: context position and size in for-each
	* libxslt/xsltutils[ch] libxslt/makefile.am: added the util module
	  and put Error and Debug routines
	* libxslt/xslt.c libxslt/transform.c libxslt/pattern.c: switched
	  to use the Debug calls, cleanup
	* libxslt/xsltproc.c: added -v to enable debug printing

Tue Jan 16 17:17:17 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* TODO: started filling it :-(
	* libxslt/pattern.c: should now at least compile the full
	  set of patterns authorized. Default priorities added.
	* libxslt/transform.c: a bit more work and cleanup.

Mon Jan 15 15:34:17 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* TODO: started adding in there :-(

Mon Jan 15 15:31:41 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* transform.c, xslt.c, xsltproc.c: lots of fixes, added
	  support of xslt:if and xslt:attribute, need libxml2 interfaces
	  present only in CVS.

Sat Jan 13 23:26:21 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* test/Makefile.am test/REC*/Makefile.am: added first test
	* libxslt/pattern.c libxslt/transform.c libxslt/xslt.c:
	  cleanup of nodes at reading of stylesheet, added support
	  for xsl:for-each and fixed a few recursion bugs

Fri Jan 12 22:33:07 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* pattern.c, xslt.c: removed debug
	* transform.c: added value-of, seems to handle the first
	  REC example correctly

Fri Jan 12 18:34:01 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* transform.c, xsltproc.c: small fight with spaces and formatting
	  may need a revisit later but looks pretty good right now.

Fri Jan 12 13:43:30 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* transform.c: basic processing in place
	* xsltInternals.h: exported one xslt.c function

Thu Jan 11 21:10:59 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/transform.[ch] Makefile.am: started adding the
	  transformation module
	* pattern.[ch] xslt.c: more work...

Thu Jan 11 14:02:03 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/pattern.c: started adding xsltTestCompMatch()

Wed Jan 10 20:44:30 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/pattern.c: more work on parsing selectors

Wed Jan 10 16:29:41 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/xslt*: completeted the structures
	* libxslt/pattern.[ch]: started adding code to precompile patterns
	  and do the lookup
	* libxslt/makefile.am: added the new files

Mon Jan  8 19:55:18 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/xslt.c : small cleanup
	* configure.in libxslt/xsltconfig.h.in: add memory debug and
	  mechanism for compile-time options

Sun Jan  7 22:53:12 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/xslt.[ch]: started parsing templates

Sun Jan  7 19:50:02 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/xslt.[ch]: started parsing stylesheet xsl:stylesheet

Sun Jan  7 16:11:42 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/xslt.[ch] libxslt/xsltInternals.h libxslt/xsltproc.c:
	  very early coding

Sun Jan  7 15:10:54 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* configure.in Makefile.am AUTHORS NEWS autogen.sh config.h.in
	  libxslt/Makefile.am tests/Makefile.am:
	  Created the library framework, imported it into the GNOME CVS base
	* INSTALL: added a small instruction file.

Sun Jan  7 13:51:30 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* libxslt/xslt.[ch] libxslt/xsltInternals.h libxslt/xsltproc.c:
	  first steps toward building the framework

Sun Jan  7 12:22:13 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* NOTES: added notes taken while reading the spec.

Fri Jan  5 11:34:12 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* test/REC1 test/REC2: added examples from the XSLT REC

Fri Jan  5 11:14:29 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>

	* README: basic informations
	* Changelog: created
2001-01-22 14:31:59 +00:00
b94fc73a64 Furious hacking session, making serious progresses, the hardest stuff
now seems in place !!!
* xsltproc.c: removed bug
* tests/REC2/html.xml: added newline after doctype
* libxslt/variables.[ch] libxslt/xsltInternals.h: added param
  support, result tree fragment support (requires just commited
  extensions to libxml2 XPath !!!)
* transform.c: added call-template, with-param support
* libxslt/pattern.[ch]: xsltFindTemplate() needed for call-template
* TODO: updated, added a DONE section and started migrating stuff :-)
Daniel
2001-01-22 10:52:35 +00:00
935ed1d25f More work, cleanups, HTML output:
- Makefile.am tests/Makefile.am tests/REC1/Makefile.am
  tests/REC2/Makefile.am tests/REC2/html.xml: added tests target
  too, added the HTML output test
- libxmls/xsltutils.c: added HTML output
- libxslt/xslt.c: check version on literal result used as templates
- libxslt/transform.c: fixed an error in VERSION number
- libxslt/templates.c: make sure generated nodes have doc and
  parent properly set
Daniel
2001-01-21 11:07:02 +00:00
007037dd75 - libxslt/Makefile.am libxslt/template.[ch]: added a template
specific module. Added attribute value template, at least in
  one spot.
- tests/REC2/Makefile.am tests/REC2/svg.xml: the SVG test from
  the spec now works too.
- libxslt/variables.c: fixed the debug
- libxslt/xslt.c: fixed an ugly uninitialized variable
- libxslt/transform.c: now using attr template processing
Daniel
2001-01-20 22:40:37 +00:00
6b5e9df67f Working on variables implementation:
- libxslt/transform.c libxslt/variables.[ch] libxslt/xslt.c
  libxslt/xsltInternals.h libxslt/xsltutils.h: changed a few
  structure to add an execution stack with variables. Tree
  valued variables still missing.
- TODO: updated
Daniel
2001-01-20 17:02:16 +00:00
327c8bdab6 - libxslt/xslt.c: check version on stylesheets
- libxslt/xslt.c libxslt/xsltInternals.h libxslt/variables[.ch]:
  started adding variables interfaces and modules.
Daniel
2001-01-19 12:27:23 +00:00
07bd66faa1 Hacking, mostly on the output support:
- libxslt/xslt.c: added support for disable-output-escaping
  will need libxml version > 20211
- libxslt/transform.c: cleanup
- libxslt/xsltutils.[ch]: added output functions
- libxslt/xsltproc.c: reuse the output function
- tests/REC2/Makefile.am tests/REC2/vrml.xml: added VRML output test
Daniel
2001-01-18 15:13:25 +00:00
584831ad3c - libxslt/transform.c libxslt/xslt.c: avoiding some problems
with blank node stripping when not allowed.
Daniel
2001-01-17 20:04:58 +00:00
7c481a940b That part was complex actually:
- libxslt/transform.c: modified apply-templates processing
  added select and sort support support.
Daniel
2001-01-17 19:17:12 +00:00
72698cec5a Continuous hacking ...
- TODO: guess what, it's growing :-(
- configure.in: setup hacking values when compiling in my
  own environment.
- libxslt/transform.c libxslt/xsltutils.[hc]: added a first
  very rudimentary version of xsl:sort
Daniel
2001-01-17 16:47:36 +00:00
52862c8987 Some infrastructure work, and of course some debug:
- TODO: more stuff
- libxslt/transform.c: context position and size in for-each
- libxslt/xsltutils[ch] libxslt/makefile.am: added the util module
  and put Error and Debug routines
- libxslt/xslt.c libxslt/transform.c libxslt/pattern.c: switched
  to use the Debug calls, cleanup
- libxslt/xsltproc.c: added -v to enable debug printing
Daniel
2001-01-17 13:29:19 +00:00
53ae77e055 Started filling in the blanks. Created more blanks :-(
- TODO: started filling it :-(
- libxslt/pattern.c: should now at least compile the full
  set of patterns authorized. Default priorities added.
- libxslt/transform.c: a bit more work and cleanup.
Daniel
2001-01-16 16:19:31 +00:00
4c74f53935 Guess what !!! A TODO !!!, Daniel 2001-01-15 14:35:19 +00:00
d783a44328 Hack, debug, read, hack, debug, read ....
- transform.c, xslt.c, xsltproc.c: lots of fixes, added
  support of xslt:if and xslt:attribute, need libxml2 interfaces
  present only in CVS.
Daniel
2001-01-15 14:34:02 +00:00
ed0f60dea2 More general work, added for-each:
- test/Makefile.am test/REC*/Makefile.am: added first test
- libxslt/pattern.c libxslt/transform.c libxslt/xslt.c:
  cleanup of nodes at reading of stylesheet, added support
  for xsl:for-each and fixed a few recursion bugs
Daniel
2001-01-13 22:29:51 +00:00
26897de4a7 Handle the first REC example correctly it seems:
- pattern.c, xslt.c: removed debug
- transform.c: added value-of, seems to handle the first
  REC example correctly
Daniel
2001-01-12 21:35:20 +00:00
19ed6fd90d ./xsltproc doc.xsl doc.xml start giving interesting stuff:
- transform.c, xsltproc.c: small fight with spaces and formatting
  may need a revisit later but looks pretty good right now.
Daniel
2001-01-12 17:36:18 +00:00
90e2d01488 This start being interesting...
- transform.c: basic processing in place
- xsltInternals.h: exported one xslt.c function
Daniel
2001-01-12 12:45:09 +00:00
2d430b16ee I generate a root node, I assume it's significant progress !
* libxslt/transform.[ch] Makefile.am: started adding the
  transformation module
* pattern.[ch] xslt.c: more work...
Daniel
2001-01-11 20:13:26 +00:00
9264e233eb started adding xsltTestCompMatch(), Daniel 2001-01-11 13:03:02 +00:00
ee0633da7f More work on parsing selectors, Daniel 2001-01-10 19:45:15 +00:00
e181896ae1 Still not working but makes more noise and leaks memory now:
- libxslt/xslt*: completeted the structures
- libxslt/pattern.[ch]: started adding code to precompile patterns
  and do the lookup
- libxslt/makefile.am: added the new files
Daniel
2001-01-10 15:32:17 +00:00
eaf99d5e12 Not much: - libxslt/xslt.c : small cleanup - configure.in
Not much:
- libxslt/xslt.c : small cleanup
- configure.in libxslt/xsltconfig.h.in: add memory debug and
  mechanism for compile-time options
Daniel
2001-01-08 18:57:17 +00:00
2a7128361b Bit of work on templates, Daniel 2001-01-07 21:53:42 +00:00
aa444f717f - libxslt/xslt.[ch]: started parsing stylesheet xsl:stylesheet
Daniel
2001-01-07 18:51:19 +00:00
6caca0b4ac very early steps, Daniel. 2001-01-07 15:17:08 +00:00
a7e5d2d52c Imported into GNOME CVS base
added an INSTALL short doc,
Does nothing so far this is mostly infrastructure
Daniel
2001-01-07 14:14:43 +00:00
09793e0a93 creating the project, nothing works LIBXSLT_0_0_0 2001-01-07 14:01:28 +00:00
6f5e152012 Initial revision 2001-01-07 14:01:28 +00:00
8a5bfd81e5 enhanced previous fix to bug #120684, using excellent suggestion by Daniel
* transform.c: enhanced previous fix to bug #120684, using
  excellent suggestion by Daniel
* attributes.c: fixed bug #119583, merging attribute sets
  from imported stylesheets.
* tests/docs/Makefile.am tests/docs/bug-131.xml
  tests/general/Makefile.am tests/docs/bug-131*: added tests
  to the regression suite for bug #120684.
1997-01-03 23:29:29 +00:00
c3acc46fcf Added testfiles for bug 114812 1997-01-01 03:06:04 +00:00