platform/upstream/libxslt.git
23 years agoSwitched all the processing to compiled XPath form, there is a
Daniel Veillard [Mon, 19 Mar 2001 17:52:26 +0000 (17:52 +0000)]
Switched all the processing to compiled XPath form, there is a
small problem showing up in the mediaobject.filename template of
DocBook, but the way unparsed-entity-uri() doesn't follow the spec
it seems so ...:
- xsltutils.h: cleanup some garbage added last night
- xsltInternals.h variables.c transform.c templates.[ch]
  preproc.c pattern.c keys.c: switched the whole XSLt processing
  to use XPath precompiled expressions and reusing them.
- functions.c: some cleanup, seems people don't use
  unparsed-entity-uri() the way it's supposed to be used
Daniel

23 years agoPrepared for the new XPath code, not finished, but should work at least:
Daniel Veillard [Mon, 19 Mar 2001 00:11:04 +0000 (00:11 +0000)]
Prepared for the new XPath code, not finished, but should work at least:
- libxslt/keys.c libxslt/templates.c libxslt/transform.c
  libxslt/variables.c libxslt/xsltutils.h: Changed to work
  with the new way XPath is interpreted. This doesn't yet
  take advantage of the separate parsing/evaluation phases
Daniel

23 years ago- libxslt/transform.c: robert@xsl.00008.org pointed out a
Daniel Veillard [Wed, 14 Mar 2001 14:53:54 +0000 (14:53 +0000)]
- libxslt/transform.c: robert@xsl.00008.org pointed out a
  problem in xsl:copy-of in case of attributes
- tests/docs/Makefile.am tests/docs/bug-3-.xml
  tests/general/Makefile.am tests/general/bug-3-.*:
  added the test to the general regression suite
Daniel

23 years ago- libxslt/functions.c: applied and fixed ptittom@free.fr patch
Daniel Veillard [Wed, 14 Mar 2001 13:24:34 +0000 (13:24 +0000)]
- libxslt/functions.c: applied and fixed ptittom@free.fr patch
  fixing some of the missing functionnalities in the XSLT
  functions implementations.
Daniel

23 years ago- libxslt/Makefile.am: nick@debian.org forwarded a fix
Daniel Veillard [Tue, 13 Mar 2001 13:41:42 +0000 (13:41 +0000)]
- libxslt/Makefile.am: nick@debian.org forwarded a fix
Daniel

23 years ago- README.cvs-commits: added, pointing to HACKING
Daniel Veillard [Tue, 13 Mar 2001 09:31:39 +0000 (09:31 +0000)]
- README.cvs-commits: added, pointing to HACKING
- HACKING: added defines commit rules.
Daniel

23 years ago- libxslt/extra.c libxslt/variables.c: fixing compilation
Daniel Veillard [Mon, 12 Mar 2001 13:44:27 +0000 (13:44 +0000)]
- libxslt/extra.c libxslt/variables.c: fixing compilation
  when libxml was compiled without debug support
Daniel

23 years agoPreparing libxslt-0.5.0 while libxml-2.3.4 is uploading:
Daniel Veillard [Sat, 10 Mar 2001 13:00:25 +0000 (13:00 +0000)]
Preparing libxslt-0.5.0 while libxml-2.3.4 is uploading:
- configure.in: time for 0.5.0
- tests/docs/Makefile.am tests/general/Makefile.am: make sure the
  new test files are included in the distribution
- doc/xslt.html : updated
- doc/html/*.html: regenerated the docs
Daniel

23 years ago- tests/docbook/result/html/*.html: regenerated the HTML
Daniel Veillard [Thu, 8 Mar 2001 01:36:28 +0000 (01:36 +0000)]
- tests/docbook/result/html/*.html: regenerated the HTML
  now that value-of an result tree don't include the fake root
Daniel

23 years agoI really had to recompile without any debug:
Daniel Veillard [Thu, 8 Mar 2001 01:29:13 +0000 (01:29 +0000)]
I really had to recompile without any debug:
- libxslt/transform.c libxslt/variables.c: removed a couple
  of possibly uninitialized var probs
- tests/xmlspec/Makefile.am: run the processing without verbose
  avoid raising generated id differences.
Daniel

23 years ago- libxslt/preproc.c libxslt/xsltInternals.h: fixed a stylesheet
Daniel Veillard [Wed, 7 Mar 2001 22:24:57 +0000 (22:24 +0000)]
- libxslt/preproc.c libxslt/xsltInternals.h: fixed a stylesheet
  reuse problem.
- libxslt/transform.c: fixed a bug which exaplined why no
  optimization were resulting from preproc stuff
Daniel

23 years agoBug chasing and fixing ...:
Daniel Veillard [Wed, 7 Mar 2001 20:55:31 +0000 (20:55 +0000)]
Bug chasing and fixing ...:
- libxslt/preproc.c libxslt/transform.c: a couple of nastyness
  w.r.t. value of tree result (and attributes within it) fixed.
- tests/xmlspec/Makefile.am tests/xmlspec/REC-xml-20001006.html:
  Integrated the xmlspec to the test (i.e. diffed output for
  changes).
Daniel

23 years agoI'm gonna change my nick to FlyTox at some point ...:
Daniel Veillard [Wed, 7 Mar 2001 17:05:56 +0000 (17:05 +0000)]
I'm gonna change my nick to FlyTox at some point ...:
 - imports.c transform.c xslt.c xsltInternals.h: fixed a
   strip-spaces problem
 - tests/docs/*.xml tests/general/*.[xsl,out]: added reported
   bugs to testsuite
Daniel

23 years agoWould be good to get a benchmark output now:
Daniel Veillard [Wed, 7 Mar 2001 12:36:39 +0000 (12:36 +0000)]
Would be good to get a benchmark output now:
- libxslt/transform.[ch]: finished integrating the current
  state of the preproc optimizations.
- tests/xmlspec/diffspec.xsl: switched off diff printing
Daniel

23 years agoKind of boring but should be really usefule speed wise:
Daniel Veillard [Wed, 7 Mar 2001 11:47:29 +0000 (11:47 +0000)]
Kind of boring but should be really usefule speed wise:
- libxslt/preproc.c libxslt/transform.c: started rolling in
  some of the optimizations.
Daniel

23 years agoFixed mailing-list, bugzilla, FTP and email info, Daniel
Daniel Veillard [Wed, 7 Mar 2001 09:47:26 +0000 (09:47 +0000)]
Fixed mailing-list, bugzilla, FTP and email info, Daniel

23 years ago- attributes.[ch] extra.[ch] preproc.c xsltInternals.h
Daniel Veillard [Tue, 6 Mar 2001 18:41:20 +0000 (18:41 +0000)]
- attributes.[ch] extra.[ch] preproc.c xsltInternals.h
  transform.[ch]: previous commit broke a lot of stuff, fixing
  and preparing for next step
Daniel

23 years agoStep in improving performances:
Daniel Veillard [Tue, 6 Mar 2001 18:06:04 +0000 (18:06 +0000)]
Step in improving performances:
- libxslt/preproc.[ch] Makefile.am templates.[ch] transform.[ch]
  xsltInternals.h: started working on optimizing stylesheet
  element parsing. Just builds the extra informations so far.
- xsltutils.h: added a missing XPath decl
Daniel

23 years ago- libxslt/variables.c: William M. Brack found a serious bug
Daniel Veillard [Tue, 6 Mar 2001 08:54:50 +0000 (08:54 +0000)]
- libxslt/variables.c: William M. Brack found a serious bug
  with imports and global variables ...
Daniel

23 years ago10 more minutes waiting for doctor appointment:
Daniel Veillard [Mon, 5 Mar 2001 09:53:27 +0000 (09:53 +0000)]
10 more minutes waiting for doctor appointment:
- libxslt/pattern.[ch] libxslt/transform.c: added
  xsltCleanupTemplates() to clean up state left after processing.
Daniel

23 years agoApplied the core part of a contributed patch:
Daniel Veillard [Sun, 4 Mar 2001 18:05:20 +0000 (18:05 +0000)]
Applied the core part of a contributed patch:
- libxslt/transform.c: applied patch from William M. Brack
  to support with-param in xsltApplyTemplates().
Daniel

23 years agoxsltCompileStepPattern handles nested predicates now
Bjorn Reese [Sun, 4 Mar 2001 16:53:26 +0000 (16:53 +0000)]
xsltCompileStepPattern handles nested predicates now

23 years agoNodeType test has wrongly placed
Bjorn Reese [Sun, 4 Mar 2001 12:43:14 +0000 (12:43 +0000)]
NodeType test has wrongly placed

23 years agoxsltCompileLocationPathPattern checks for XPath NodeTypes
Bjorn Reese [Sun, 4 Mar 2001 12:22:08 +0000 (12:22 +0000)]
xsltCompileLocationPathPattern checks for XPath NodeTypes

23 years ago- libxslt/transform.c: save ctxt->node after for-each
Daniel Veillard [Sat, 3 Mar 2001 19:57:55 +0000 (19:57 +0000)]
- libxslt/transform.c: save ctxt->node after for-each
Daniel

23 years agoReleased libxslt-0.4.0:
Daniel Veillard [Thu, 1 Mar 2001 17:33:19 +0000 (17:33 +0000)]
Released libxslt-0.4.0:
- configure.in libxslt.spec.in: updated to 0.4.0 and 2.3.3
- doc/xslt.html: updated
Daniel

23 years agoCode done on the plane, untested Ankh sound the ideal guinea pig:
Daniel Veillard [Wed, 28 Feb 2001 15:31:00 +0000 (15:31 +0000)]
Code done on the plane, untested Ankh sound the ideal guinea pig:
- libxslt/extra.[ch] libxslt/transform.[ch] libxslt/xsltInternals.h:
  added xsltDocumentElem implementing multiple file output,
  including 1.1 xsl:document but yet untested.
Daniel

23 years agoMore work on extension support:
Daniel Veillard [Tue, 27 Feb 2001 21:09:59 +0000 (21:09 +0000)]
More work on extension support:
- libxslt/extensions.c: fixed stoopid bug
- libxslt/Makefile.am libxslt/extra.[ch]: added a new module
  carrying extensions to the specification. Added node-set()
  for existing saxon and xt namespaces and debug() in libxslt
  namespace (http://xmlsoft.org/XSLT/namespace)
- libxslt/xsltutils.[ch] transform.c: moved xsltDebug to extra.c
  plus cleanup.
- configure.in tests/Makefile.am tests/namespaces: added some
  namespaces tests, including a test calling the extra debugging
  function in libxslt namespace, worked first time !!!
Daniel

23 years agoOops I forgot to push the images too, Daniel
Daniel Veillard [Tue, 27 Feb 2001 15:32:44 +0000 (15:32 +0000)]
Oops I forgot to push the images too, Daniel

23 years agoMore work on the extension support:
Daniel Veillard [Tue, 27 Feb 2001 13:18:39 +0000 (13:18 +0000)]
More work on the extension support:
- libxslt/xslt.c: extension prefix support for the full stylesheet
- libxslt/transform.c libxslt/extensions.[ch]: more work should
  start working
Daniel

23 years ago- doc/xslt.html : cleaned up, added a bit more description on
Daniel Veillard [Mon, 26 Feb 2001 21:00:57 +0000 (21:00 +0000)]
- doc/xslt.html : cleaned up, added a bit more description on
  the API section.
Daniel

23 years ago- libxslt/Makefile.am libxslt/extensions.[ch]: started working
Daniel Veillard [Mon, 26 Feb 2001 07:42:50 +0000 (07:42 +0000)]
- libxslt/Makefile.am libxslt/extensions.[ch]: started working
  on functions and element extensions. First on list will be
  a document element.
Daniel

23 years agoSmall change for the release, Daniel.
Daniel Veillard [Sat, 24 Feb 2001 22:42:36 +0000 (22:42 +0000)]
Small change for the release, Daniel.

23 years agoThis time it's one less file, Daniel
Daniel Veillard [Sat, 24 Feb 2001 20:45:42 +0000 (20:45 +0000)]
This time it's one less file, Daniel

23 years agohopefully the last missing, Daniel
Daniel Veillard [Sat, 24 Feb 2001 20:42:55 +0000 (20:42 +0000)]
hopefully the last missing, Daniel

23 years agoOne more, Daniel.
Daniel Veillard [Sat, 24 Feb 2001 20:39:46 +0000 (20:39 +0000)]
One more, Daniel.

23 years agoForgot one more file, Daniel
Daniel Veillard [Sat, 24 Feb 2001 20:37:23 +0000 (20:37 +0000)]
Forgot one more file, Daniel

23 years agoForgot a few files, fixed a message, Daniel
Daniel Veillard [Sat, 24 Feb 2001 20:35:20 +0000 (20:35 +0000)]
Forgot a few files, fixed a message, Daniel

23 years ago- configure.in libxslt.spec.in: releasing 0.3.0
Daniel Veillard [Sat, 24 Feb 2001 20:29:48 +0000 (20:29 +0000)]
- configure.in libxslt.spec.in: releasing 0.3.0
- doc/xslt.html: updated
Daniel

23 years ago- configure.in tests/docbook/html : oops forgot to add
Daniel Veillard [Sat, 24 Feb 2001 17:28:01 +0000 (17:28 +0000)]
- configure.in tests/docbook/html : oops forgot to add
  the stylesheets themselves :-\
Daniel

23 years agoOops seems I forgot to commit the stylesheets themselves ... Daniel
Daniel Veillard [Sat, 24 Feb 2001 17:21:58 +0000 (17:21 +0000)]
Oops seems I forgot to commit the stylesheets themselves ... Daniel

23 years ago- configure.in tests/Makefile.am tests/docbook tree:
Daniel Veillard [Sat, 24 Feb 2001 16:51:37 +0000 (16:51 +0000)]
- configure.in tests/Makefile.am tests/docbook tree:
  added docbook XSL based test suite
Daniel

23 years agoSeems that there is no more major problems with Docbook XSL !!!
Daniel Veillard [Sat, 24 Feb 2001 03:05:15 +0000 (03:05 +0000)]
Seems that there is no more major problems with Docbook XSL !!!
- libxslt/xsltutils.c: reformat of messages
- libxslt/xsltproc.c: removed memleak on --noout
- libxslt/xsltInternals.h libxslt/variables.[ch] libxslt/transform.c:
  changed again the way parameter are evaluated before a
  call-template, seems to fix a few nasty bugs, memory alloc debug too
Daniel

23 years agoThis should speed up and correct a few problems:
Daniel Veillard [Wed, 21 Feb 2001 03:12:53 +0000 (03:12 +0000)]
This should speed up and correct a few problems:
- libxslt/transform.c libxslt/variables.c libxslt/xsltInternals.h:
  fixed the param evaluation problem in apply-template
- libxslt/pattern.c: speed up seriously some context computation
- libxslt/xsltInternals.h: preparing for extension support
Daniel

23 years ago- libxslt/Makefile.am: small cleanup
Daniel Veillard [Mon, 19 Feb 2001 18:46:01 +0000 (18:46 +0000)]
- libxslt/Makefile.am: small cleanup
- libxslt/functions.c libxslt/transform.c libxslt/xsltInternals.h:
  fixed current() I hope
Daniel

23 years agoHacking on namespaces support:
Daniel Veillard [Mon, 19 Feb 2001 15:06:07 +0000 (15:06 +0000)]
Hacking on namespaces support:
- libxslt/numbers.c libxslt/numbersInternals.h libxslt/xslt.c
  libxslt/pattern.[ch] libxslt/xsltInternals.h:  more work on
  support of namespaces, both in templates and in XPath subexpressions
Daniel

23 years agoxsltSortFunction uses Shell's sort
Bjorn Reese [Sun, 18 Feb 2001 18:10:22 +0000 (18:10 +0000)]
xsltSortFunction uses Shell's sort

23 years ago- libxslt/pattern.c: when precompiled pattern is ALL, predicate
Daniel Veillard [Sun, 18 Feb 2001 16:15:03 +0000 (16:15 +0000)]
- libxslt/pattern.c: when precompiled pattern is ALL, predicate
  contextual info must be recomputed
Daniel

23 years agoMade the max depth for template dynamic, exported it, added the option
Daniel Veillard [Sun, 18 Feb 2001 15:41:57 +0000 (15:41 +0000)]
Made the max depth for template dynamic, exported it, added the option
to xsltproc:
- libxslt/xslt.h libxslt/transform.c: defined and exported xsltMaxDepth
- libxslt/xsltproc.c : added --maxdepth
Daniel

23 years agoVariable/params debugging and improved xsltproc:
Daniel Veillard [Sun, 18 Feb 2001 14:47:20 +0000 (14:47 +0000)]
Variable/params debugging and improved xsltproc:
- libxslt/xsltproc.c: added --novalid and --noout as well
  as options printing when no args
- libxslt/variables.c libxslt/transform.c: trying to get rid
  if some variable/params addressing errors.
Daniel

23 years agoMor bug chasing/fixing on DocBook XSL:
Daniel Veillard [Sat, 17 Feb 2001 13:33:31 +0000 (13:33 +0000)]
Mor bug chasing/fixing on DocBook XSL:
- FEATURES libxslt/attributes.c: fixed use-attribute-sets
- libxslt/xsltutils.c: add carriage return to xsl:message when
  needed
Daniel

23 years ago- libxslt/functions.c: fixed a bug with generate-id()
Daniel Veillard [Sat, 17 Feb 2001 01:26:38 +0000 (01:26 +0000)]
- libxslt/functions.c: fixed a bug with generate-id()
Daniel

23 years agoNow starting debugging with DocBook XSL, need better debug stuff,
Daniel Veillard [Sat, 17 Feb 2001 00:58:09 +0000 (00:58 +0000)]
Now starting debugging with DocBook XSL, need better debug stuff,
fixed how variables/params are evaluated:
- libxslt/xsltutils.c: started doing more useful stuff in
  xsltDebug
- libxslt/transform.[ch] libxslt/variables.[ch] libxslt/templates.c
  libxslt/xsltInternals.h: changed the way variables/params
  are stored
- libxslt/xsltproc.c: removed a pedantic warning
- libxslt/variables.[ch]: found an ugly evaluation bug
Daniel

23 years ago- tests/REC/Makefile.am: updated
Daniel Veillard [Thu, 15 Feb 2001 17:15:56 +0000 (17:15 +0000)]
- tests/REC/Makefile.am: updated
Daniel

23 years agoone bug fix, preparing 0.2.0 release:
Daniel Veillard [Thu, 15 Feb 2001 16:43:15 +0000 (16:43 +0000)]
one bug fix, preparing 0.2.0 release:
- libxlst/functions.c: fixed ID generation
- doc/xslt.html doc/html/*.html: updated/regenerated the doc
Daniel

23 years ago- libxslt/numbers.c: removed a couple of memleaks
Daniel Veillard [Thu, 15 Feb 2001 12:35:37 +0000 (12:35 +0000)]
- libxslt/numbers.c: removed a couple of memleaks
Daniel

23 years agoCleanup, and improving some inefficiency in the number code:
Daniel Veillard [Thu, 15 Feb 2001 11:46:16 +0000 (11:46 +0000)]
Cleanup, and improving some inefficiency in the number code:
- libxslt/pattern.[ch]: exported pattern matching interfaces
  for numbers.c and future debug module
- libxslt/numbers.c: updated to new interface, should avoid
  unnecessary recompilation of patterns.
- libxslt/xsltutils.[ch]: cleanup
- tests/REC/gmon.out: removed :-)
Daniel

23 years agoxsl:number level=any
Bjorn Reese [Wed, 14 Feb 2001 18:21:42 +0000 (18:21 +0000)]
xsl:number level=any

23 years agoimplemented level=any
Bjorn Reese [Wed, 14 Feb 2001 18:20:30 +0000 (18:20 +0000)]
implemented level=any
corrected some default values
added tests

23 years agoBug fixing: - libxslt/pattern.c: priorities were horribly broken, hope
Daniel Veillard [Wed, 14 Feb 2001 17:08:49 +0000 (17:08 +0000)]
Bug fixing: - libxslt/pattern.c: priorities were horribly broken, hope

Bug fixing:
- libxslt/pattern.c: priorities were horribly broken, hope it's fixed
Daniel

23 years agoThe XML Rec formatting test starts looking okay, also added
Daniel Veillard [Wed, 14 Feb 2001 14:45:10 +0000 (14:45 +0000)]
The XML Rec formatting test starts looking okay, also added
apply-imports support:
- FEATURES libxslt/imports.h libxslt/pattern.[ch]
  libxslt/xsltInternals.h libxslt/transform.[ch]
  libxslt/templates.c libxslt/xslt.c:
  Added apply-imports, keep a stack of running templates
- libxslt/xsltutils.c: bugfixes, gather the output informations
  down the cascade
- tests/xmlspec/Makefile.am tests/xmlspec/REC-xml-2e.xsl
  tests/xmlspec/diffspec.xsl tests/xmlspec/xmlspec.xsl: running
  the real set of transformation on XML-1.0 2e generages a near
  perfect HTML. Needs just more number fixes and implementation
  and an obscure problem in 3.3.3
Daniel

23 years agoFix for level=single
Bjorn Reese [Tue, 13 Feb 2001 20:06:30 +0000 (20:06 +0000)]
Fix for level=single

23 years agoAlmost forgot...
Bjorn Reese [Tue, 13 Feb 2001 19:55:13 +0000 (19:55 +0000)]
Almost forgot...

23 years agoadded xsltMatchPattern
Bjorn Reese [Tue, 13 Feb 2001 19:44:04 +0000 (19:44 +0000)]
added xsltMatchPattern
implemented level=multiple for xsl:number

23 years agoDebug, debug: - libxslt/transform.c libxslt/xsltproc.c: cleanup and debug
Daniel Veillard [Tue, 13 Feb 2001 17:09:27 +0000 (17:09 +0000)]
Debug, debug: - libxslt/transform.c libxslt/xsltproc.c: cleanup and debug

Debug, debug:
- libxslt/transform.c libxslt/xsltproc.c: cleanup and debug
- libxslt/xsltutils.[ch] : added a small debugging hook
Daniel

23 years agoChasing bugs in XSLT, hard ...:
Daniel Veillard [Mon, 12 Feb 2001 17:32:42 +0000 (17:32 +0000)]
Chasing bugs in XSLT, hard ...:
- libxslt/FEATURES libxslt/transform.c: added support for
  disable-output-escaping in xsl:copy-of
- xmlspec/Makefile.am libxslt/variables.c libxslt/transform.c:
  give more debugging info
Daniel

23 years agoCleanups, fixes, tests:
Daniel Veillard [Sun, 11 Feb 2001 20:12:24 +0000 (20:12 +0000)]
Cleanups, fixes, tests:
- libxslt/documents.[ch] libxslt/functions.c libxslt/imports.c
  libxslt/xslt.c libxslt/xsltInternals.h: changed teh way to store
  Includes, more document changes
- libxslt/xsltutils.c: fix the output of doctype and what is or
  is not HTML
- tests/REC/*.out tests/REC2/html.xml : changed output accordingly
- tests/Makefile.am tests/documents/* : added a new test from Stric
  exercising document() among other things
Daniel

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