1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-08 11:02:18 +03:00
Commit Graph

422 Commits

Author SHA1 Message Date
Daniel Veillard
b272d8dc22 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
2001-02-28 15:31:00 +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
d3e683697c Oops I forgot to push the images too, Daniel 2001-02-27 15:32:44 +00:00
Daniel Veillard
6cbd328d13 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
2001-02-27 13:18:39 +00:00
Daniel Veillard
5c633b4384 - doc/xslt.html : cleaned up, added a bit more description on
the API section.
Daniel
2001-02-26 21:00:57 +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
866f02736a Small change for the release, Daniel. LIBXSLT_0_3_0 2001-02-24 22:42:36 +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
b22276294f - configure.in libxslt.spec.in: releasing 0.3.0
- doc/xslt.html: updated
Daniel
2001-02-24 20:29:48 +00:00
Daniel Veillard
5e3ec1cafc - configure.in tests/docbook/html : oops forgot to add
the stylesheets themselves :-\
Daniel
2001-02-24 17:28:01 +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
7bba163d4d 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
2001-02-24 03:05:15 +00:00
Daniel Veillard
4b1d154e7b 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
2001-02-21 03:12:53 +00:00
Daniel Veillard
e0dfbada8a - libxslt/Makefile.am: small cleanup
- libxslt/functions.c libxslt/transform.c libxslt/xsltInternals.h:
  fixed current() I hope
Daniel
2001-02-19 18:46:01 +00:00
Daniel Veillard
15914df012 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
2001-02-19 15:06:07 +00:00
Bjorn Reese
08187d5d11 xsltSortFunction uses Shell's sort 2001-02-18 18:10:22 +00:00
Daniel Veillard
3d87b3aaa9 - libxslt/pattern.c: when precompiled pattern is ALL, predicate
contextual info must be recomputed
Daniel
2001-02-18 16:15:03 +00:00
Daniel Veillard
cea6e6575e 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
2001-02-18 15:41:57 +00:00
Daniel Veillard
ba19af4746 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
2001-02-18 14:47:20 +00:00
Daniel Veillard
4909ae3d5f 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
2001-02-17 13:33:31 +00:00
Daniel Veillard
1ad1ac261f - libxslt/functions.c: fixed a bug with generate-id()
Daniel
2001-02-17 01:26:38 +00:00
Daniel Veillard
d1f38fd6dd 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
2001-02-17 00:58:09 +00:00
Daniel Veillard
02a9dd8b44 - tests/REC/Makefile.am: updated
Daniel
2001-02-15 17:15:56 +00:00
Daniel Veillard
3ea65e43f4 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
2001-02-15 16:43:15 +00:00
Daniel Veillard
d1906f7c3a - libxslt/numbers.c: removed a couple of memleaks
Daniel
2001-02-15 12:35:37 +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
b827b26f9b xsl:number level=any 2001-02-14 18:21:42 +00:00
Bjorn Reese
5922af82da implemented level=any
corrected some default values
added tests
2001-02-14 18:20:30 +00:00
Daniel Veillard
1d41cf2138 Bug fixing: - libxslt/pattern.c: priorities were horribly broken, hope
Bug fixing:
- libxslt/pattern.c: priorities were horribly broken, hope it's fixed
Daniel
2001-02-14 17:08:49 +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
Bjorn Reese
bbbedd466f Fix for level=single 2001-02-13 20:06:30 +00:00
Bjorn Reese
276ea02826 Almost forgot... 2001-02-13 19:55:13 +00:00
Bjorn Reese
a0c192c5d3 added xsltMatchPattern
implemented level=multiple for xsl:number
2001-02-13 19:44:04 +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
Bjorn Reese
08d6d40a94 Partial support for xsl:number/@level 2001-02-11 16:25:41 +00:00
Daniel Veillard
9700cf32b2 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
2001-02-09 14:52:32 +00:00
Daniel Veillard
cb8dce6e56 updated and rebuilt the doc list Daniel
* doc/libxslt.sgml doc/html/*.html: updated and rebuilt the doc list
Daniel
LIBXSLT_0_1_0
2001-02-08 11:51:55 +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
0b406df925 - 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
2001-02-07 18:51:50 +00:00
Daniel Veillard
186755e100 - libxslt/transform.c libxslt/xslt.c: chased some reported
unitinitialized variables.
Daniel
2001-02-06 09:57:40 +00:00