1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-05 12:10:38 +03:00
Commit Graph

31 Commits

Author SHA1 Message Date
Daniel Veillard
f6f08bd890 added "make valgrind" targets to run the test suite under the debugger
* Makefile.am tests/Makefile.am tests/*/Makefile.am
  tests/*/*/Makefile.am : added "make valgrind" targets
  to run the test suite under the debugger control
* transform.c: valgrind spotted 2 bugs, one related to
  the ordering of the deallocation of the data associated to
  a transofrmation, the second in xsltCopyTree when the new
  node may have been coalesced with an adjacent text node.
  The regression tests now pass cleanly under testgrind.
Daniel
2002-03-19 18:52:17 +00:00
Daniel Veillard
a7bee24993 some HTML meta encoding fixups resulting from fix in libxml2 Daniel
* tests/xmlspec/REC-xml-20001006*.html tests/XSLTMark/xslbench1.out:
  some HTML meta encoding fixups resulting from fix in libxml2
Daniel
2002-03-07 08:43:34 +00:00
Daniel Veillard
ac6924c939 refactored make tests, make all now don't run the test suite added tests
* Makefile.am configure.in tests/Makefile.am tests/*/Makefile.am
  tests/*/*/Makefile.am: refactored make tests, make all now don't
  run the test suite
* python/Makefile.am: added tests
* python/tests/basic.py python/tests/Makefile.am: added the first
  basic test, memory debug included
Daniel
2002-02-06 10:35:19 +00:00
Daniel Veillard
186f05ec24 handle indent=no when using an HTML output this modified the output of
* libxslt/xsltutils.c: handle indent=no when using an HTML
  output
* tests/docbook/result/* tests/xmlspec/REC-xml-*.html: this
  modified the output of those test suites
Daniel
2001-11-01 14:20:57 +00:00
Daniel Veillard
ae7c300b67 fixed bug #61070, number ANY formatting should be faster too. updated the
* libxslt/numbers.c: fixed bug #61070, number ANY formatting
  should be faster too.
* tests/docbook/result/xtchunk/html/* tests/xmlspec/REC-xml-20001006*.html:
  updated the result of the tests. A subtle bug unnnoticed yet
  in the XML Rec formatting got fixed.
Daniel
2001-10-07 11:19:37 +00:00
Daniel Veillard
45f2619024 fixed an error I propagated to nearly all Makefiles.am on Saturday Daniel
* //Makefile.am : fixed an error I propagated to nearly all
  Makefiles.am on Saturday
Daniel
2001-08-21 11:18:24 +00:00
Daniel Veillard
d025723434 use xmlXPathIsNaN() and xmlXPathIsInf() tag a potential threading problem.
* libexslt/math.c libxslt/numbers.c: use xmlXPathIsNaN() and
  xmlXPathIsInf()
* libxslt/pattern.c: tag a potential threading problem.
Daniel
2001-08-21 11:11:21 +00:00
Daniel Veillard
c3e6b8a663 For Norman walsh: for heriting defaulted atts from the DTD Added a few new
For Norman walsh:
* xsltproc/xsltproc.c: for heriting defaulted atts from the DTD
* tests/docs/Makefile.am tests/docs/bug-52.xml tests/docs/bug-53.xml
  tests/general/Makefile.am tests/general/bug-52.*
  tests/general/bug-53.*: Added a few new tests for recently fixed
  stuff in libxml
* tests/xmlspec/REC-xml-20001006-review.html
  tests/xmlspec/REC-xml-20001006.html: inheriting default attrs from
  DTD changed the result by adding extra attributes to the HTML output
Daniel
2001-08-07 01:14:30 +00:00
Daniel Veillard
7b60042845 fixed a serious proble is node-set was called on a nodeset fixed the rule
* libxslt/extra.c: fixed a serious proble is node-set was called
  on a nodeset
* tests//*/Makefile.am: fixed the rule to rebuild xsltproc
Daniel
2001-07-30 13:47:26 +00:00
Darin Adler
6ab14c960e Some more generated files to ignore.
* libxslt/.cvsignore:
	* tests/XSLTMark/.cvsignore:
	* tests/extensions/.cvsignore:
	* tests/xmlspec/.cvsignore:
	Some more generated files to ignore.
2001-07-15 20:01:41 +00:00
Daniel Veillard
a476e34b2e Integrating EXSLT and cleanup:
* Makefile.am configure.in libexslt/Makefile.am:
  Integration of libexslt in the build system
* libxslt/Makefile.am libxslt/xsltproc.c libxslt/xsltutils.c
  xsltproc/Makefile.am xsltproc/xsltproc.c:
  Moved xsltproc to a separate directory, linked it to libexslt,
  and added exslt version reports to -V
* tests/*/Makefile.am: updated the path to xsltproc
* libexslt/common.c libexslt/exslt.h libexslt/exsltconfig.h.in
  libexslt/functions.c libexslt/math.c libexslt/sets.c: added
  versionning informations, some cleanup, and added documentation
  to a couple of exported functions
Daniel
2001-07-15 18:30:53 +00:00
Daniel Veillard
5686af1088 - FEATURES: updated - libxslt/xslt.c libxslt/xsltInternals.h: added
- FEATURES: updated
- libxslt/xslt.c libxslt/xsltInternals.h: added exclude-result-prefix
  support
- tests/REC/Makefile.am tests/REC/test-7.1.1-[23]*: added a couple
  of specific tests
- tests/xmlspec/REC-xml-20001006-review.html: seems this changed
  something there, not visually perceptible
Daniel
2001-07-05 22:43:40 +00:00
Daniel Veillard
15ea351154 updated do not dump document for which there have been no generated
* FEATURES: updated
* libxslt/xsltutils.c: do not dump document for which there have
  been no generated content
* tests/multiple/result.xml tests/namespaces/extra2.out: fixed
  test output accordingly
* libxslt/transform.c libxslt/preproc.c: added xsl:fallback support
* tests/REC/Makefile.am tests/REC/test-15-1.*: xsl:fallback test
* tests/xmlspec/Makefile.am tests/docbook/Makefile.am: cleanups
Daniel
2001-07-05 08:59:37 +00:00
ÉRDI Gergo
b58357db78 Adding generated files to .cvsignore -- Hope you don't mind, Daniel 2001-06-18 21:02:58 +00:00
Daniel Veillard
bb3b8786f9 - tests/docbook/result/html/*.html tests/XSLTMark/xslbench[12].out
tests/xmlspec/REC-xml-20001006*.html: the changes to the HTML
  serializer of libxml impacted the result of some tests. Checked
  that the XML REC renders identically.
Daniel
2001-06-13 21:15:25 +00:00
Daniel Veillard
d4ab0d4a43 - tests/documents/Makefile.am tests/general/Makefile.am
tests/multiple/Makefile.am tests/namespaces/Makefile.am
  tests/numbers/Makefile.am tests/xmlspec/Makefile.am
  tests/REC/Makefile.am tests/REC1/Makefile.am tests/REC2/Makefile.am
  tests/XSLTMark/Makefile.am tests/docbook/Makefile.am
  configure.in: Makefiles cleanup from Joe Orton
Daniel
2001-05-20 18:57:32 +00:00
Daniel Veillard
0643448255 - tests/documents/Makefile.am tests/general/Makefile.am
tests/multiple/Makefile.am tests/namespaces/Makefile.am
  tests/numbers/Makefile.am tests/xmlspec/Makefile.am:
  Seems some of the changes I made for 0.9.0 Makefiles were
  not commited ...
Daniel
2001-05-19 16:06:21 +00:00
Daniel Veillard
2e8ebaef0d - doc/xslt.html: fixed a link error
- libxslt/transform.c libxslt/xsltutils.c: fixed DOCTYPE generation
- libxslt/xsltproc.c: cleaned up the --repeat loop
- tests/documents/result.xhtml tests/xmlspec/REC-xml-20001006*.html:
  fixed the DOCTYPE in tests output
- tests/docs/bug-25-.xml tests/doc/Makefile.am
  tests/general/bug-25-.* tests/general/Makefile.am : added a new
  test case and fixed the EXTRA_DIST
Daniel
2001-05-08 14:24:04 +00:00
Daniel Veillard
ed555ce08b Cleanup: - transform.c: fixed text and cdata handling in xsl:copy - xslt.c
Cleanup:
- transform.c: fixed text and cdata handling in xsl:copy
- xslt.c : avoid crashing on invalid xslt input
- test/general/bug-*.* test/docs/bug-*.xml : added a number of
  bugs submitted to the regression tests
Daniel
2001-04-25 15:05:54 +00:00
Daniel Veillard
3d65ba4ae6 - tests/general/bug-5-.out tests/multiple/out/*.orig
tests/xmlspec/REC-xml-20001006*.html: fixed the test output
  following the libxml changes
Daniel
2001-04-18 13:26:25 +00:00
Daniel Veillard
fb0a57cf03 Jumbo patch, extended regression tests and fixed regression results:
- configure.in tests/Makefile.am tests/XSLTMark/* tests/multiple:
  added the XSLTMark in the regression tests as well as multiple
  output test from Ankh
- libxslt/functions.c libxslt/keys.c libxslt/transform.c
  libxslt/variables.c libxslt/xsltutils.c: applied William M. Brack
  patches and fixed a memory leak
- tests/docbook/result/html/*.html : updated the results after
  William's patch
- tests/xmlspec/REC-xml-20001006-review.html
  tests/xmlspec/REC-xml-20001006.html: libxml now don't invent
  an HTML doctype when serializing HTML result, but adds the
  encoding in ALT
Daniel
2001-04-02 15:13:28 +00:00
Daniel Veillard
039f7e40c3 Applied small but significant fix:
- libxslt/transform.c: applied fix to xsltApplyTemplates from
  William M. Brack
- test/docbook/result/html/*.html: this change the output
- tests/xmlspec/REC-xml-20001006-review.html
  tests/xmlspec/REC-xml-20001006.html: this also fixed some of
  the reference anchors generated for the XML spec
Daniel
2001-03-29 08:28:31 +00:00
Daniel Veillard
30adf85c57 - libxslt/attributes.c libxslt/extra.c libxslt/keys.c libxslt/numbers.c
libxslt/templates.c libxslt/transform.c libxslt/xsltconfig.h.in
  libxslt/xsltutils.c: of course the way I defined
  UNUSED breaks on old gcc version. Try to be smart and
  also define it directly in xsltconfig.h
- tests/xmlspec/Makefile.am: fixed the timing arg test
Daniel
2001-03-26 17:00:23 +00:00
Daniel Veillard
07ae864175 Implementation of stylesheet parameter passing:
- libxslt/transform.[ch] libxslt/variables.[ch] libxslt/xsltproc.c:
  implemented command line parameter passing
- tests/xmlspec/Makefile.am tests/xmlspec/REC-xml-20001006-review.html:
  tested it by passing show.diff.markup=1 to build the review version too
Daniel
2001-03-25 20:10:09 +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
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
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
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