1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-06 23:49:25 +03:00
Commit Graph

199 Commits

Author SHA1 Message Date
Daniel Veillard
47172c2a04 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
2001-03-10 13:00:25 +00:00
Daniel Veillard
aa7b9388b8 - tests/docbook/result/html/*.html: regenerated the HTML
now that value-of an result tree don't include the fake root
Daniel
2001-03-08 01:36:28 +00:00
Daniel Veillard
a323afdac2 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
2001-03-08 01:29:13 +00:00
Daniel Veillard
3b9c294964 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
2001-03-07 20:55:31 +00:00
Daniel Veillard
9599ea7b74 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
2001-03-07 17:05:56 +00:00
Daniel Veillard
ad8730630c 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
2001-03-07 12:36:39 +00:00
Daniel Veillard
2c4c0a928e 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
2001-02-27 21:09:59 +00:00
Daniel Veillard
2428189145 - libxslt/Makefile.am libxslt/extensions.[ch]: started working
on functions and element extensions. First on list will be
  a document element.
Daniel
2001-02-26 07:42:50 +00:00
Daniel Veillard
511e317db6 This time it's one less file, Daniel 2001-02-24 20:45:42 +00:00
Daniel Veillard
a234b2e8f7 hopefully the last missing, Daniel 2001-02-24 20:42:55 +00:00
Daniel Veillard
d85774b229 One more, Daniel. 2001-02-24 20:39:46 +00:00
Daniel Veillard
118d901cf3 Forgot one more file, Daniel 2001-02-24 20:37:23 +00:00
Daniel Veillard
0174916320 Forgot a few files, fixed a message, Daniel 2001-02-24 20:35:20 +00:00
Daniel Veillard
2dd3ac6cc5 Oops seems I forgot to commit the stylesheets themselves ... Daniel 2001-02-24 17:21:58 +00:00
Daniel Veillard
294ccb6850 - configure.in tests/Makefile.am tests/docbook tree:
added docbook XSL based test suite
Daniel
2001-02-24 16:51:37 +00:00
Daniel Veillard
02a9dd8b44 - tests/REC/Makefile.am: updated
Daniel
2001-02-15 17:15:56 +00:00
Daniel Veillard
493051a1b2 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
2001-02-15 11:46:16 +00:00
Bjorn Reese
5922af82da implemented level=any
corrected some default values
added tests
2001-02-14 18:20:30 +00:00
Daniel Veillard
1a3df8fbed 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
2001-02-14 14:45:10 +00:00
Daniel Veillard
2fab05f311 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
2001-02-13 17:09:27 +00:00
Daniel Veillard
f2f9b96935 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
2001-02-12 17:32:42 +00:00
Daniel Veillard
a9087e93b9 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
2001-02-11 20:12:24 +00:00
Daniel Veillard
e651408e5d 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
2001-02-08 11:39:15 +00:00
Daniel Veillard
2681e1ebd7 Forgot so extra stuff, Daniel 2001-02-08 11:24:19 +00:00
Daniel Veillard
443496a5d7 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
2001-02-08 11:16:41 +00:00
Daniel Veillard
8b47e572e3 More work on Key support:
- libxslt/functions.c FEATURES: started adding support for key()
- tests/REC/test-12.2-1.*: first key test
Daniel
2001-02-07 21:34:20 +00:00
Daniel Veillard
27b74c0513 - tests/numbers/Makefile.am: fixed the EXTRA stuff
daniel
2001-02-06 09:56:08 +00:00
Daniel Veillard
d3faa0e17a 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
2001-02-05 18:29:06 +00:00
Daniel Veillard
aedfad9ba4 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
2001-02-03 15:27:12 +00:00
Daniel Veillard
1e99c95969 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
2001-02-01 13:57:07 +00:00
Daniel Veillard
96364c3698 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
2001-02-01 04:38:30 +00:00
Daniel Veillard
b2e216a7f2 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
2001-01-31 20:45:01 +00:00
Daniel Veillard
92326d3c7d 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
2001-01-31 18:28:14 +00:00
Daniel Veillard
48705af02b 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
2001-01-31 13:27:40 +00:00
Daniel Veillard
598bfacb27 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
2001-01-30 18:00:24 +00:00
Daniel Veillard
48a443da0a 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
2001-01-30 14:19:41 +00:00
Daniel Veillard
dfcbad530f 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
2001-01-29 17:44:52 +00:00
Daniel Veillard
a7da804741 - 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
2001-01-25 11:16:26 +00:00
Daniel Veillard
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
Daniel Veillard
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
Daniel Veillard
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
Daniel Veillard
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
Daniel Veillard
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
Daniel Veillard
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
Daniel Veillard
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
Daniel Veillard
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
Daniel Veillard
6f5e152012 Initial revision 2001-01-07 14:01:28 +00:00
William M. Brack
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
William M. Brack
c3acc46fcf Added testfiles for bug 114812 1997-01-01 03:06:04 +00:00