platform/upstream/libxslt.git
23 years agoFurious hacking session, making serious progresses, the hardest stuff
Daniel Veillard [Mon, 22 Jan 2001 10:52:35 +0000 (10:52 +0000)]
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

23 years agoMore work, cleanups, HTML output:
Daniel Veillard [Sun, 21 Jan 2001 11:07:02 +0000 (11:07 +0000)]
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

23 years ago- libxslt/Makefile.am libxslt/template.[ch]: added a template
Daniel Veillard [Sat, 20 Jan 2001 22:40:37 +0000 (22:40 +0000)]
- 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

23 years agoWorking on variables implementation:
Daniel Veillard [Sat, 20 Jan 2001 17:02:16 +0000 (17:02 +0000)]
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

23 years ago- libxslt/xslt.c: check version on stylesheets
Daniel Veillard [Fri, 19 Jan 2001 12:27:23 +0000 (12:27 +0000)]
- libxslt/xslt.c: check version on stylesheets
- libxslt/xslt.c libxslt/xsltInternals.h libxslt/variables[.ch]:
  started adding variables interfaces and modules.
Daniel

23 years agoHacking, mostly on the output support:
Daniel Veillard [Thu, 18 Jan 2001 15:13:25 +0000 (15:13 +0000)]
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

23 years ago- libxslt/transform.c libxslt/xslt.c: avoiding some problems
Daniel Veillard [Wed, 17 Jan 2001 20:04:58 +0000 (20:04 +0000)]
- libxslt/transform.c libxslt/xslt.c: avoiding some problems
  with blank node stripping when not allowed.
Daniel

23 years agoThat part was complex actually:
Daniel Veillard [Wed, 17 Jan 2001 19:17:12 +0000 (19:17 +0000)]
That part was complex actually:
- libxslt/transform.c: modified apply-templates processing
  added select and sort support support.
Daniel

23 years agoContinuous hacking ...
Daniel Veillard [Wed, 17 Jan 2001 16:47:36 +0000 (16:47 +0000)]
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

23 years agoSome infrastructure work, and of course some debug:
Daniel Veillard [Wed, 17 Jan 2001 13:29:19 +0000 (13:29 +0000)]
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

23 years agoStarted filling in the blanks. Created more blanks :-(
Daniel Veillard [Tue, 16 Jan 2001 16:19:31 +0000 (16:19 +0000)]
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

23 years agoGuess what !!! A TODO !!!, Daniel
Daniel Veillard [Mon, 15 Jan 2001 14:35:19 +0000 (14:35 +0000)]
Guess what !!! A TODO !!!, Daniel

23 years agoHack, debug, read, hack, debug, read ....
Daniel Veillard [Mon, 15 Jan 2001 14:34:02 +0000 (14:34 +0000)]
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

23 years agoMore general work, added for-each:
Daniel Veillard [Sat, 13 Jan 2001 22:29:51 +0000 (22:29 +0000)]
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

23 years agoHandle the first REC example correctly it seems:
Daniel Veillard [Fri, 12 Jan 2001 21:35:20 +0000 (21:35 +0000)]
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

23 years ago./xsltproc doc.xsl doc.xml start giving interesting stuff:
Daniel Veillard [Fri, 12 Jan 2001 17:36:18 +0000 (17:36 +0000)]
./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

23 years agoThis start being interesting...
Daniel Veillard [Fri, 12 Jan 2001 12:45:09 +0000 (12:45 +0000)]
This start being interesting...
- transform.c: basic processing in place
- xsltInternals.h: exported one xslt.c function
Daniel

23 years agoI generate a root node, I assume it's significant progress !
Daniel Veillard [Thu, 11 Jan 2001 20:13:26 +0000 (20:13 +0000)]
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

23 years agostarted adding xsltTestCompMatch(), Daniel
Daniel Veillard [Thu, 11 Jan 2001 13:03:02 +0000 (13:03 +0000)]
started adding xsltTestCompMatch(), Daniel

23 years agoMore work on parsing selectors, Daniel
Daniel Veillard [Wed, 10 Jan 2001 19:45:15 +0000 (19:45 +0000)]
More work on parsing selectors, Daniel

23 years agoStill not working but makes more noise and leaks memory now:
Daniel Veillard [Wed, 10 Jan 2001 15:32:17 +0000 (15:32 +0000)]
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

23 years agoNot much: - libxslt/xslt.c : small cleanup - configure.in
Daniel Veillard [Mon, 8 Jan 2001 18:57:17 +0000 (18:57 +0000)]
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

23 years agoBit of work on templates, Daniel
Daniel Veillard [Sun, 7 Jan 2001 21:53:42 +0000 (21:53 +0000)]
Bit of work on templates, Daniel

23 years ago- libxslt/xslt.[ch]: started parsing stylesheet xsl:stylesheet
Daniel Veillard [Sun, 7 Jan 2001 18:51:19 +0000 (18:51 +0000)]
- libxslt/xslt.[ch]: started parsing stylesheet xsl:stylesheet
Daniel

23 years agovery early steps, Daniel.
Daniel Veillard [Sun, 7 Jan 2001 15:17:08 +0000 (15:17 +0000)]
very early steps, Daniel.

23 years agoImported into GNOME CVS base
Daniel Veillard [Sun, 7 Jan 2001 14:14:43 +0000 (14:14 +0000)]
Imported into GNOME CVS base
added an INSTALL short doc,
Does nothing so far this is mostly infrastructure
Daniel

23 years agocreating the project, nothing works
Daniel Veillard [Sun, 7 Jan 2001 14:01:28 +0000 (14:01 +0000)]
creating the project, nothing works

23 years agoInitial revision
Daniel Veillard [Sun, 7 Jan 2001 14:01:28 +0000 (14:01 +0000)]
Initial revision

27 years agoenhanced previous fix to bug #120684, using excellent suggestion by Daniel
William M. Brack [Fri, 3 Jan 1997 23:29:29 +0000 (23:29 +0000)]
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.

27 years agoAdded testfiles for bug 114812
William M. Brack [Wed, 1 Jan 1997 03:06:04 +0000 (03:06 +0000)]
Added testfiles for bug 114812