1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-01 14:06:55 +03:00
Commit Graph

888 Commits

Author SHA1 Message Date
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
bbbedd466f Fix for level=single 2001-02-13 20:06:30 +00:00
276ea02826 Almost forgot... 2001-02-13 19:55:13 +00:00
a0c192c5d3 added xsltMatchPattern
implemented level=multiple for xsl:number
2001-02-13 19:44:04 +00:00
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
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
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
08d6d40a94 Partial support for xsl:number/@level 2001-02-11 16:25:41 +00:00
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
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
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
2681e1ebd7 Forgot so extra stuff, Daniel 2001-02-08 11:24:19 +00:00
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
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
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
186755e100 - libxslt/transform.c libxslt/xslt.c: chased some reported
unitinitialized variables.
Daniel
2001-02-06 09:57:40 +00:00
27b74c0513 - tests/numbers/Makefile.am: fixed the EXTRA stuff
daniel
2001-02-06 09:56:08 +00:00
15750d4bbb - 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
2001-02-05 21:04:31 +00:00
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
ff49d8caa6 *** empty log message *** 2001-02-05 17:44:41 +00:00
002b574439 Fixed decimal-point error 2001-02-04 18:39:39 +00:00
16bad89954 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
2001-02-04 16:47:37 +00:00
2eaf99b197 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
2001-02-03 20:51:46 +00:00
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
0726423c0f 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
2001-02-02 10:20:16 +00:00
22fc899b2d 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
2001-02-01 20:01:42 +00:00
31a0ef65c6 - libxslt/xsltInternals.h libxslt/xslt.h: started implementing
xsl:include and xsl:import, untested
Daniel
2001-02-01 17:28:26 +00:00
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
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
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
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
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
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
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
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
dfeeb7bf75 Added support for copy-of:
- FEATURES: updated
- libxslt/transform.c: added copy-of support
- libxslt/xsltutils.[ch]: added xsltDocumentSortFunction()
Daniel
2001-01-28 23:55:20 +00:00
4987216433 Boring stuff for a Sunday evening:
- FEATURES TODO: updates
- libxslt/xsltutils.[ch] libxslt/xsltInternals.h libxslt/xsltutils.h:
  added xsl:message
Daniel
2001-01-28 20:47:06 +00:00
fe557f63a6 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
2001-01-28 16:27:44 +00:00
31de2205b1 - configure.in libxslt.spec.in: changes needed for libxml2-devel
changes
Daniel
2001-01-28 07:42:17 +00:00
f68ebaac6d Fixed small dep prob on the spec, Daniel 2001-01-27 10:12:00 +00:00
477ac53c2a - libxslt.spec.in doc/xslt.html: updating doc and trying to add
it to the RPM.
Daniel
2001-01-27 10:01:50 +00:00
358f828370 *** empty log message *** 2001-01-27 10:00:01 +00:00
1509d3b156 on-line update, Daniel 2001-01-26 23:44:58 +00:00
8306beddd6 on-line update, Daniel 2001-01-26 22:49:15 +00:00
d9af8cd264 Fixed images, Daniel 2001-01-26 21:40:36 +00:00
ed85c17b6a 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
2001-01-26 21:32:59 +00:00
6256442995 xsltGenerateIdFunction() small patch Daniel
* libxslt/functions.c: xsltGenerateIdFunction() small patch
Daniel
2001-01-26 20:49:34 +00:00
6232ed7d6e 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
2001-01-25 18:51:41 +00:00
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
b6f493448e 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
2001-01-24 16:05:44 +00:00