platform/upstream/libxslt.git
23 years agoPartial support for xsl:number/@level
Bjorn Reese [Sun, 11 Feb 2001 16:25:41 +0000 (16:25 +0000)]
Partial support for xsl:number/@level

23 years agoMessing with document related structures, keys, etc ...:
Daniel Veillard [Fri, 9 Feb 2001 14:52:32 +0000 (14:52 +0000)]
Messing with document related structures, keys, etc ...:
- libxslt/Makefile.am libxslt/documents.[ch]: added a new module
  to deal with documents
- libxslt/functions.c: fixed document() to return the same set
  for teh same URL
- libxslt/keys.[ch] libxslt/templates.c libxslt/transform.c
  libxslt/variables.c libxslt/xsltInternals.h: keys are really
  associated to loaded documents, not to the transformation
  context, made the change, this impacted a number of modules
Daniel

23 years agoupdated and rebuilt the doc list Daniel
Daniel Veillard [Thu, 8 Feb 2001 11:51:55 +0000 (11:51 +0000)]
updated and rebuilt the doc list Daniel

* doc/libxslt.sgml doc/html/*.html: updated and rebuilt the doc list
Daniel

23 years agoGetting ready for first 0.1.0 beta release:
Daniel Veillard [Thu, 8 Feb 2001 11:39:15 +0000 (11:39 +0000)]
Getting ready for first 0.1.0 beta release:
- README configure.in libxslt.spec.in: bumped to 0.1.0, getting
  ready for the release
- libxslt/keys.c libxslt/xslt.c: cleanup of uninitialized vars
- tests/REC1/Makefile.am tests/REC/Makefile.am: the EXTRA list
  was not up to date
Daniel

23 years agoForgot so extra stuff, Daniel
Daniel Veillard [Thu, 8 Feb 2001 11:24:19 +0000 (11:24 +0000)]
Forgot so extra stuff, Daniel

23 years agoAdded more support for keys, nearly complete:
Daniel Veillard [Thu, 8 Feb 2001 11:16:41 +0000 (11:16 +0000)]
Added more support for keys, nearly complete:
- FEATURES libxslt/xsltInternals.h libxslt/pattern.c libxslt/keys.c:
  added support for keys in patterns
- tests/REC/test-12.2-2.*: added a specific testcase
Daniel

23 years agoMore work on Key support:
Daniel Veillard [Wed, 7 Feb 2001 21:34:20 +0000 (21:34 +0000)]
More work on Key support:
- libxslt/functions.c FEATURES: started adding support for key()
- tests/REC/test-12.2-1.*: first key test
Daniel

23 years ago- FEATURES: updated - libxslt/Makefile.am libxslt/keys.[ch] libxslt/xslt.c
Daniel Veillard [Wed, 7 Feb 2001 18:51:50 +0000 (18:51 +0000)]
- FEATURES: updated - libxslt/Makefile.am libxslt/keys.[ch] libxslt/xslt.c

- FEATURES: updated
- libxslt/Makefile.am libxslt/keys.[ch] libxslt/xslt.c
  libxslt/transform.c libxslt/xsltInternals.h: started adding key
  support
- libxslt/xsltutils.c: warning cleanup
- libxslt/pattern.h: fixed soopid cut'n paste prob
Daniel

23 years ago- libxslt/transform.c libxslt/xslt.c: chased some reported
Daniel Veillard [Tue, 6 Feb 2001 09:57:40 +0000 (09:57 +0000)]
- libxslt/transform.c libxslt/xslt.c: chased some reported
  unitinitialized variables.
Daniel

23 years ago- tests/numbers/Makefile.am: fixed the EXTRA stuff
Daniel Veillard [Tue, 6 Feb 2001 09:56:08 +0000 (09:56 +0000)]
- tests/numbers/Makefile.am: fixed the EXTRA stuff
daniel

23 years ago- Copyright IPR Makefile.am: added some wording and a rewrite
Daniel Veillard [Mon, 5 Feb 2001 21:04:31 +0000 (21:04 +0000)]
- Copyright IPR Makefile.am: added some wording and a rewrite
  of the W3C IPR but without giving Copyright rights to W3C,
  should suit everybody
Daniel

23 years agoStarting doing some bulk testing and transformations:
Daniel Veillard [Mon, 5 Feb 2001 18:29:06 +0000 (18:29 +0000)]
Starting doing some bulk testing and transformations:
- FEATURES: updated, added mode support for templates
- pattern.[ch] transform.c xslt.c xsltInternals.h: added mode
  support for templates
- templates.c variables.c: simple fixes
- xslt.c: added a separate DEBUG_BLANKS debug class disabled
- xsltproc.c: added option -timing
- xsltutils.c: seem I forgot to add encoding support in output...
- configure.in tests/Makefile.am tests/xmlspec/*: added a test
  consisting of reformatting the XML REC with the xmlspec XSLT,
  heavy !
Daniel

23 years ago*** empty log message ***
Bjorn Reese [Mon, 5 Feb 2001 17:44:41 +0000 (17:44 +0000)]
*** empty log message ***

23 years agoFixed decimal-point error
Bjorn Reese [Sun, 4 Feb 2001 18:39:39 +0000 (18:39 +0000)]
Fixed decimal-point error

23 years agoNumber formatting - FEATURES: updated - numbers.c: handles actual number
Bjorn Reese [Sun, 4 Feb 2001 16:47:37 +0000 (16:47 +0000)]
Number formatting - FEATURES: updated - numbers.c: handles actual number

Number formatting
- FEATURES: updated
- numbers.c: handles actual number formatting for both xsl:number and
  the format-number extension function.
- function.c: formatting moved to numbers.c
- transform.c: added xsl:number
- xslt.c: minor memory leak removed
- Makefile.am: added numbers.c and numbersInternals.h
Bjorn

23 years agoA bit of debug, regenerated the docs:
Daniel Veillard [Sat, 3 Feb 2001 20:51:46 +0000 (20:51 +0000)]
A bit of debug, regenerated the docs:
- TODO: updated
- doc/html/*.html updated
- doc/libxslt.sgml: added new modules
- libxslt/pattern.c: fix loop on hash clashes.
Daniel

23 years agoLots of tests/testing and pattern support should be decent now:
Daniel Veillard [Sat, 3 Feb 2001 15:27:12 +0000 (15:27 +0000)]
Lots of tests/testing and pattern support should be decent now:
- FEATURES: updated
- imports.c: bugfix
- pattern.c: lots of changes to make most patterns work
- templates.[ch]: added xsltEvalXPathPredicate() for predicate testing
- transform.c: cleanup and attribute patterns testing
- xslt.c: added xsltFreeStylesheetList() and now cleanup
  the imports
- tests/REC/test-2.3* tests/REC/test-2.6.2*: more tests
- tests/REC/test-5.2-*: 18 pattern tests from the spec, all should
  work now.
Daniel

23 years agoAnd most of this is simply untested, yet...:
Daniel Veillard [Fri, 2 Feb 2001 10:20:16 +0000 (10:20 +0000)]
And most of this is simply untested, yet...:
- FEATURES: updated
- transform.c: added xsl:element support
- namespaces.[ch]: added xsltGetSpecialNamespace()
- attributes.c: added xsl:attribute namespace support.
Daniel

23 years agoWork on implementing import support:
Daniel Veillard [Thu, 1 Feb 2001 20:01:42 +0000 (20:01 +0000)]
Work on implementing import support:
- libxslt/Makefile.am libxslt/imports.[ch]: new module to
  implement import cascade lookups and traversal
- libxslt/attributes.c libxslt/namespaces.c libxslt/pattern.[ch]
  libxslt/transform.c libxslt/xslt.c libxslt/xsltInternals.h:
  started coding the import cascade lookup in the places needed,
  probably incomplete.
Daniel

23 years ago- libxslt/xsltInternals.h libxslt/xslt.h: started implementing
Daniel Veillard [Thu, 1 Feb 2001 17:28:26 +0000 (17:28 +0000)]
- libxslt/xsltInternals.h libxslt/xslt.h: started implementing
  xsl:include and xsl:import, untested
Daniel

23 years agoAdded more test stuff and tested xsl:choose:
Daniel Veillard [Thu, 1 Feb 2001 13:57:07 +0000 (13:57 +0000)]
Added more test stuff and tested xsl:choose:
- FEATURES: updated choose/when/otherwise added
- libxslt/transform.c: plugged choose in
- configure.in tests/Makefile.am tests/REC/Makefile.am
  tests/docs/Makefile.am tests/docs/items.xml tests/general/Makefile.am
  tests/general/itemschoose.*: started adding a more generic
  infrastructure for testing.
Daniel

23 years agoNo sleep :-(, still stuck in (test/debug/patch) loop:
Daniel Veillard [Thu, 1 Feb 2001 04:38:30 +0000 (04:38 +0000)]
No sleep :-(, still stuck in (test/debug/patch) loop:
- tests/REC/test-11*: added more tests
- libxslt/transform.c libxslt/variables.c: fixing bugs raised by
  said tests
Daniel

23 years agoTest/debug/patch cycle:
Daniel Veillard [Wed, 31 Jan 2001 20:45:01 +0000 (20:45 +0000)]
Test/debug/patch  cycle:
- tests/REC/test-[9-10]*: added more tests
- tests/REC2/html.xml libxslt/xsltutils.c libxslt/transform.c:
  fixed sorting
Daniel

23 years agoStill stuck in the (more tests/more debug/more) fixes loop:
Daniel Veillard [Wed, 31 Jan 2001 18:28:14 +0000 (18:28 +0000)]
Still stuck in the (more tests/more debug/more) fixes loop:
- tests/REC/test-[7-9]*: added more tests
- libxslt/templates.c libxslt/transform.c libxslt/variables.c:
  fixing bugs raised by said tests, cleaned up the way ctxt->xpathctxt
  is allocated, overall cleanup.
Daniel

23 years agoThe add test/debug loop ges on:
Daniel Veillard [Wed, 31 Jan 2001 13:27:40 +0000 (13:27 +0000)]
The add test/debug loop ges on:
- tests/REC/test-7.*: added more tests
- libxslt/pattern.c libxslt/templates.c libxslt/transform.c:
  fixing bugs raised by said tests
Daniel

23 years agoTesting/debugging: - tests/REC/test-7.*: added more tests -
Daniel Veillard [Tue, 30 Jan 2001 18:00:24 +0000 (18:00 +0000)]
Testing/debugging: - tests/REC/test-7.*: added more tests -

Testing/debugging:
- tests/REC/test-7.*: added more tests
- libxslt/namespaces.[ch] libxslt/pattern.c libxslt/attributes.c
  libxslt/templates.c libxslt/transform.c libxslt/xslt.c: fixing bugs
  raised by said tests
Daniel

23 years agoBoring task of starting doing basic testsuite:
Daniel Veillard [Tue, 30 Jan 2001 14:19:41 +0000 (14:19 +0000)]
Boring task of starting doing basic testsuite:
- TODO: updated
- configure.in tests/Makefile.am tests/REC/*: started adding
  some regression tests based from fragments of spec examples
- libxslt/transform.c: fixed a problem on namespace generation
Daniel

23 years agoOne more day of hacking:
Daniel Veillard [Mon, 29 Jan 2001 17:44:52 +0000 (17:44 +0000)]
One more day of hacking:
- FEATURES: updated
- tests/numbers/Makefile.am tests/numbers/format-number.*
  tests/Makefile.am configure.in: added number formattting
  test from Bjorn
- libxslt/attributes.[ch]: separated attribute support, started
  add support for attribute-sets
- libxslt/functions.[ch]: update for number and formatting
  from Bjorn
- libxslt/transform.c libxslt/xslt.c libxslt/xsltInternals.h:
  cleanups updates, etc ...
Daniel

23 years agoAdded support for copy-of:
Daniel Veillard [Sun, 28 Jan 2001 23:55:20 +0000 (23:55 +0000)]
Added support for copy-of:
- FEATURES: updated
- libxslt/transform.c: added copy-of support
- libxslt/xsltutils.[ch]: added xsltDocumentSortFunction()
Daniel

23 years agoBoring stuff for a Sunday evening:
Daniel Veillard [Sun, 28 Jan 2001 20:47:06 +0000 (20:47 +0000)]
Boring stuff for a Sunday evening:
- FEATURES TODO: updates
- libxslt/xsltutils.[ch] libxslt/xsltInternals.h libxslt/xsltutils.h:
  added xsl:message
Daniel

23 years agoWork done on namespace support:
Daniel Veillard [Sun, 28 Jan 2001 16:27:44 +0000 (16:27 +0000)]
Work done on namespace support:
- FEATURES TODO: updates
- libxslt/namespaces.[ch] libxslt/templates.c libxslt/transform.c
  libxslt/xslt.c libxslt/xsltInternals.h: added support for
  namespace aliases and cleaned up the overall namespace related
  code. This materialize as a new module.
Daniel

23 years ago- configure.in libxslt.spec.in: changes needed for libxml2-devel
Daniel Veillard [Sun, 28 Jan 2001 07:42:17 +0000 (07:42 +0000)]
- configure.in libxslt.spec.in: changes needed for libxml2-devel
  changes
Daniel

23 years agoFixed small dep prob on the spec, Daniel
Daniel Veillard [Sat, 27 Jan 2001 10:12:00 +0000 (10:12 +0000)]
Fixed small dep prob on the spec, Daniel

23 years ago- libxslt.spec.in doc/xslt.html: updating doc and trying to add
Daniel Veillard [Sat, 27 Jan 2001 10:01:50 +0000 (10:01 +0000)]
- libxslt.spec.in doc/xslt.html: updating doc and trying to add
  it to the RPM.
Daniel

23 years ago*** empty log message ***
Daniel Veillard [Sat, 27 Jan 2001 10:00:01 +0000 (10:00 +0000)]
*** empty log message ***

23 years agoon-line update, Daniel
Daniel Veillard [Fri, 26 Jan 2001 23:44:58 +0000 (23:44 +0000)]
on-line update, Daniel

23 years agoon-line update, Daniel
Daniel Veillard [Fri, 26 Jan 2001 22:49:15 +0000 (22:49 +0000)]
on-line update, Daniel

23 years agoFixed images, Daniel
Daniel Veillard [Fri, 26 Jan 2001 21:40:36 +0000 (21:40 +0000)]
Fixed images, Daniel

23 years agoToo tired to do some code, prepared documentation:
Daniel Veillard [Fri, 26 Jan 2001 21:32:59 +0000 (21:32 +0000)]
Too tired to do some code, prepared documentation:
- Makefile.am configure.in doc/Makefile.am: added a doc subdir
  and the rules to generates the makefiles.
- doc/libxslt.sgml doc/xslt.html: very first version of the manual
- doc/html/*.html : autogenerated documentation
- libxslt/xsltInternals.h: fixed a typedef wich was breaking gtk-doc
Daniel

23 years agoxsltGenerateIdFunction() small patch Daniel
Daniel Veillard [Fri, 26 Jan 2001 20:49:34 +0000 (20:49 +0000)]
xsltGenerateIdFunction() small patch Daniel

* libxslt/functions.c: xsltGenerateIdFunction() small patch
Daniel

23 years agoHack, hack, hack ... Mostly adding functions:
Daniel Veillard [Thu, 25 Jan 2001 18:51:41 +0000 (18:51 +0000)]
Hack, hack, hack ... Mostly adding functions:
- FEATURES TODO README INSTALL: updated
- libxslt/xslt.h: added URL and version/vendor :-)
- libxslt/transform.c: fixed a problem in xsl:attribute, removed
  attempt to support older libxml2 version.
- libxslt/variables.h libxslt/xsltInternals.h: update to structures
  and macros to add/register new document created by document()
- libxslt/functions.c: implemented current(), unparsed-entity-uri()
  system-property(), element-available() and function-available().
  A crippled version of document() has been added too.
Daniel

23 years ago- functions.[ch]: Bjorn Reese <breese@mail1.stofanet.dk> provided
Daniel Veillard [Thu, 25 Jan 2001 11:16:26 +0000 (11:16 +0000)]
- functions.[ch]: Bjorn Reese <breese@mail1.stofanet.dk> provided
  number formatting !!!
- acconfig.h config.h.in configure.in libxslt/Makefile.am
  tests/Makefile.am; added testing for mathematical functions,
  fixed make test(s)
- FEATURES: updated
Daniel

23 years agoLotsa improvement and fixes:
Daniel Veillard [Wed, 24 Jan 2001 16:05:44 +0000 (16:05 +0000)]
Lotsa improvement and fixes:
- libxslt/xsltInternals.h libxslt/pattern.c: fixed problems
  with non-named rules (*, ...) added accelerators
- libxslt/templates.[ch]: added xsltEvalTemplateString()
  and xsltEvalAttrValueTemplate() high level functions
- libxslt/transform.c: fixed the part where attributes
  had to be looked at as templates, added comment and
  PI generation
- TODO FEATURES: updated to reflect the new state
Daniel

23 years agoSet-up framework for XSLT functions:
Daniel Veillard [Wed, 24 Jan 2001 04:36:44 +0000 (04:36 +0000)]
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

23 years agoThat part is not very fun:
Daniel Veillard [Tue, 23 Jan 2001 16:27:12 +0000 (16:27 +0000)]
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

23 years agoPreparing for a not too distant alpha release:
Daniel Veillard [Tue, 23 Jan 2001 14:00:42 +0000 (14:00 +0000)]
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

23 years agoSetup stuff: - Makefile.am libxslt.spec.in libxslt/Makefile.am
Daniel Veillard [Mon, 22 Jan 2001 22:41:32 +0000 (22:41 +0000)]
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

23 years agoI like receiving patches before the 0.0 release :-)
Daniel Veillard [Mon, 22 Jan 2001 22:15:34 +0000 (22:15 +0000)]
I like receiving patches before the 0.0 release :-)
- libxslt/transform.c: applied cleanup patch from Bjorn Reese
  <breese@mail1.stofanet.dk>
Daniel

23 years agoCFirst try to make a spec file, Daniel
Daniel Veillard [Mon, 22 Jan 2001 19:25:37 +0000 (19:25 +0000)]
CFirst try to make a spec file, Daniel

23 years agoNew examples, new bugs:
Daniel Veillard [Mon, 22 Jan 2001 18:39:41 +0000 (18:39 +0000)]
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

23 years agoupdated added with alist of what's in and what's not fixed top level Param
CET 2001 Daniel Veillard [Mon, 22 Jan 2001 14:31:59 +0000 (14:31 +0000)]
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

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