1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-07 10:42:55 +03:00
Commit Graph

888 Commits

Author SHA1 Message Date
Daniel Veillard
f546bafbd5 - TODO configure.in libxslt.spec.in: getting ready for 0.9.0
release
- doc/html/* doc/xslt.html: updated and regenerated the docs
Daniel
2001-05-03 17:03:52 +00:00
Daniel Veillard
b41da1738f - xsltutils.[ch] transform.c: implemented multiple levels of
sorting
- test/REC/test-10-2.*: added a really small test for it
Daniel
2001-05-03 16:01:22 +00:00
Daniel Veillard
a99c85235d - libxslt/transform.c libxslt/xslt.c: fixed xsl:text processing
there can be multiple text and CDATA child
Daniel
2001-05-02 12:05:43 +00:00
Daniel Veillard
3b126325ee Fixed a couple of reported packaging bugs:
- tests/multiple/makefile.am: fixing #54015
- tests/XSLTMark/makefile.am tests/docbook/makefile.am: fixing #54014
  and a similar problem for the docbook tests
Daniel
2001-05-02 09:15:02 +00:00
Daniel Veillard
50f6648ff3 - tests/general/bug-8-.out: fixed in libxml xpath
- libxslt/templates.[ch] libxslt/pattern.c: fixed an namespace
  problem in predicates within a pattern. Spotted another
  potential namespace problem
Daniel
2001-04-30 20:34:11 +00:00
Daniel Veillard
1693b99201 - libxslt/preproc.c libxslt/xslt.c libxslt/xsltInternals.h
libxslt/xsltproc.c: counting errors and warnings at compilation
  time. Stop processing in case of error.
- tests/docs/bug-1[89]* tests/general/-1[89]* tests/general/inner.xsl:
  added more namespace related bug checks
Daniel
2001-04-30 17:33:47 +00:00
Daniel Veillard
d4d6100b91 - libxslt/preproc.c libxslt/variables.c: found the source of a
memory leak with DocBook introduced this w.e.. bit of cleanup.
- tests/docbook/result/html/*.html : regenerated the DocBook tests
  results.
Daniel
2001-04-30 11:49:35 +00:00
Daniel Veillard
4e399c1775 - libxslt/variables.c: fixing bug #53769
- tests/general tests/docs: added new examples from the
  bug reports to the regression tests, updated the Makefiles
Daniel
2001-04-29 16:59:23 +00:00
Daniel Veillard
eef9a85837 Big changes (but planned for a long time) small mem leak in docbook
still to fix:
- preproc.[ch] templates.[ch] variables.[ch] xslt.c xsltInternals.h
  attributes.c extensions.[ch]: moved all stylesheet precomputation
  at stylesheet loading time (stylesheet transform should be thread
  safe now), improved params and variables evaluations (but optim
  is not complete yet).
- TODO: updated
Daniel
2001-04-29 09:52:50 +00:00
Daniel Veillard
765abf021e You bet, I profiling and speeding it up again !
- libxslt/xsltproc.c : changed the way --repeat works when
  used twice
Daniel
2001-04-28 14:32:43 +00:00
Bjorn Reese
6ab048ca63 Fixed default formatting 2001-04-28 14:25:30 +00:00
Daniel Veillard
620a86531f - libxslt/preproc.c : fixed <xsl:sort/> bug reported by Ankh
- libxslt/xsltproc.c : added an option to process HTML input
Daniel
2001-04-28 12:22:22 +00:00
Daniel Veillard
011bdcdc01 - libxslt/transform.c: Tony Gorski found a bug pointed by
a compiler on Tandem
- tests/documents/result.xhtml: this results in a small
  change in the output of this test
Daniel
2001-04-26 19:15:38 +00:00
Daniel Veillard
8113c33fb1 - test/general/bug-14*.* test/docs/bug-14*.xml: added testcase from
bug #53689
Daniel
2001-04-26 14:35:32 +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
921bd952ae - libxslt/xsltproc.c : Renaud Chaillat provided a fix for #53535
Daniel
2001-04-25 10:43:49 +00:00
Daniel Veillard
2b131c51e3 Updated, libxslt is also released under a W3C IPR derivative, Daniel 2001-04-24 11:48:24 +00:00
Daniel Veillard
ff93d48d31 Finally about to release 0.8.0:
- configure.in: updated to 0.8.0
Daniel
LIBXSLT_0_8_0
2001-04-22 20:58:30 +00:00
Daniel Veillard
a60da58873 - transform.c: fixed a bug introduced on handling #53401
Daniel
2001-04-22 20:47:02 +00:00
Daniel Veillard
6f01c32a40 - transform.c: fixed #53401
- configure.in libxslt/*.c: allowed to suppress debug reporting
  functionalities but it brings not noticeable improvements
- doc/xslt.html doc/html/*: updated and regenerated docs
Daniel
2001-04-22 20:31:17 +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
42e81556a0 - libxslt/functions.c: applied TOM's patch to key()
- tests/XSLTMark/chart.out tests/XSLTMark/dbonerow.out
  tests/XSLTMark/prettyprint.out tests/multiple/out/*.html:
  small HTML output change
Daniel
2001-04-18 10:27:05 +00:00
Daniel Veillard
71f66ad1e9 - libxslt/functions.c libxslt/transform.c libxslt/xsltInternals.h:
fixed current()
Daniel
2001-04-16 14:15:05 +00:00
Daniel Veillard
bdcd6346ff - libxslt/keys.c libxslt/preproc.c libxslt/templates.c
libxslt/transform.c libxslt/variables.c libxslt/xsltInternals.h:
  fixed for the most part the namespace handling problem in XPath
  expression computations.
- test/doc/ tests/general: added bug 5 and 6
Daniel
2001-04-16 14:10:45 +00:00
Daniel Veillard
c17245fdb0 - libxslt/xslt.c: applied William M. Brack patch fixing the
template lack of support for priority
- test/XSLTMark/*.out : this fixed anumber of problems in the
  XSLTMark output
Daniel
2001-04-12 12:47:52 +00:00
Daniel Veillard
7cef41d0ea - libxslt/functions.c: removed warning in unparsed-entity-uri()
fixed a bug in generate-id()
- libxslt/transform.c: fixed null list result errors
- libxslt/transform.c libxslt/xsltutils.c: applied William M. Brack
  fixes for sorting semantic
Daniel
2001-04-12 12:33:23 +00:00
Daniel Veillard
23da0b2940 - config.h.in configure.in libxslt/xsltconfig.h.in: added
ansidecl.h test
- libxslt/xsltproc.c : added --xinclude option
- tests/XSLTMark/union.out : fixed the output
Daniel
2001-04-11 12:30:25 +00:00
Fatih Demir
2abbe76db0 Ignores 2001-04-10 18:12:48 +00:00
Daniel Veillard
df1a13486b - configure.in: released 0.7.0
- tests/XSLTMark/Makefile.am: trying to solve some make distcheck
  problems
Daniel
LIBXSLT_0_7_0
2001-04-10 10:11:06 +00:00
Daniel Veillard
7e20780477 - libxslt/functions.c libxslt/keys.c libxslt/transform.c:
some checking against NULL pointers
daniel
2001-04-07 15:42:23 +00:00
Daniel Veillard
42099361e9 Updated the new result of the brutal test, daniel 2001-04-03 18:23:53 +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
8bbd8700b8 Dohh amaya forgot to add the DOCTYPE, Daniel 2001-03-30 13:15:17 +00:00
Daniel Veillard
d684910fc7 fixed error reported by Gerald Richter, Daniel 2001-03-29 08:51:50 +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
5b2e937458 Huge cleanup, I switched to compile with
-Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit
-Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat
-Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
- libxslt/attributes.c libxslt/extensions.c libxslt/extra.c
  libxslt/functions.c libxslt/keys.c libxslt/numbers.c
  libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
  libxslt/transform.c libxslt/variables.c libxslt/xslt.c
  libxslt/xsltutils.c: basically made static unexported functions
  avoided name clashes and flagged unused parameters.
Daniel
2001-03-24 18:41:26 +00:00
Daniel Veillard
dee7f6243f - configure.in: 0.6.0 yet another release
- doc/xslt.html doc/html/*: updated the docs
Daniel
LIBXSLT_0_6_0
2001-03-22 21:58:29 +00:00
Daniel Veillard
c7b5c4bee0 For Ankh, fixed document(), and API cleanup:
- libxslt/xsltInternals.h libxslt/xslt.c libxslt/transform.c
  libxslt/templates.[ch] libxslt/preproc.c libxslt/extensions.[ch]
  extended xsltEvalStaticAttrValueTemplate and
  xsltEvalAttrValueTemplate to support foreign namespaces,
  and fixed document()
Daniel
2001-03-21 22:22:32 +00:00
Daniel Veillard
7f6e74674b 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
2001-03-19 17:52:26 +00:00
Daniel Veillard
79699ad7da 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
2001-03-19 00:11:04 +00:00
Daniel Veillard
642b5a5b1a - 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
2001-03-14 14:53:54 +00:00
Daniel Veillard
7e40c4b464 - libxslt/functions.c: applied and fixed ptittom@free.fr patch
fixing some of the missing functionnalities in the XSLT
  functions implementations.
Daniel
2001-03-14 13:24:34 +00:00
Daniel Veillard
e9dec4feb9 - libxslt/Makefile.am: nick@debian.org forwarded a fix
Daniel
2001-03-13 13:41:42 +00:00
Daniel Veillard
76b8fca1a6 - README.cvs-commits: added, pointing to HACKING
- HACKING: added defines commit rules.
Daniel
2001-03-13 09:31:39 +00:00
Daniel Veillard
f07fb25818 - libxslt/extra.c libxslt/variables.c: fixing compilation
when libxml was compiled without debug support
Daniel
2001-03-12 13:44:27 +00:00
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
LIXSLT_0_5_0
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