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
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
LIBXSLT_0_10_0
2001-05-19 16:06:21 +00:00
Daniel Veillard
73d09e2748 - configure.in: preparing 0.10.0 release
- doc/xslt.html: updated
- doc/html/* : rebuilt the docs
2001-05-19 15:39:02 +00:00
Daniel Veillard
70332d2b46 - libxslt/xslt.c libxslt/variables.c libxslt/templates.c
libxslt/keys.[ch] libxslt/functions.c: cleanups for ctxt->inst
  avoiding modifying stylesheet informations, and fixing
  document() when called from a global variable init
Daniel
2001-05-18 14:50:31 +00:00
Daniel Veillard
4f96e211a5 - libxslt/functions.c libxslt/transform.c libxslt/xsltInternals.h:
add ctxt->inst to allow stylesheet element lookup (needed
  for document() fix)
- libxslt/*.[ch]: generate docs for the structures and
  macros, general cleanup for docs
- doc/html/*.html: regenerated all docs
Daniel
2001-05-17 15:26:12 +00:00
Daniel Veillard
056ac3d111 - libxslt/functions.c libxslt/transform.c libxslt/xsltInternals.h:
add ctxt->inst to allow stylesheet element lookup (needed
  for document() fix)
- libxslt/*.h: tried to generate docs for the structures and
  macros
Daniel
2001-05-17 11:57:08 +00:00
Daniel Veillard
36fd932592 - libxslt/extra.c libxslt/transform.c libxslt/variables.[ch]
libxslt/xsltInternals.h: optimizations, cleanup of global
  variables handling
Daniel
2001-05-16 21:02:29 +00:00
Daniel Veillard
232b43a471 - libxslt/extensions.c libxslt/preproc.c libxslt/transform.c
libxslt/variables.c: force the precompilation of XPath expressions
  at stylesheet compilation time
Daniel
2001-05-16 10:30:37 +00:00
Daniel Veillard
d364f5dc2d - libxslt/keys.c libxslt/transform.c: avoid some possibilities
of crashes on debug
- tests/REC/Makefile.am: be less verbose if things really go wrong
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/docs/bug-28-.xml tests/general/bug-28-.*: added bug-28 in
  the regression tests
Daniel
2001-05-15 12:37:01 +00:00
Daniel Veillard
cc3c35fd73 - libxslt/transform.c libxslt/xsltutils.c: fixed the default
detection method to generate HTML documents
- tests/REC/test-2.5-1.out tests/REC/test-8-1.out
  tests/REC/test-9.1-2.out tests/REC2/html.xml tests/XSLTMark/game.out
  tests/XSLTMark/html.out tests/XSLTMark/products.out
  tests/XSLTMark/xslbench1.out tests/XSLTMark/xslbench2.out
  tests/XSLTMark/xslbench3.out tests/general/bug-15-.out
  tests/general/bug-5-.out: updated a number of tests output
  accordingly
Daniel
2001-05-12 10:46:15 +00:00
Daniel Veillard
0bf81559a5 use LIBXML_DOCB_ENABLED, William M. Brack Daniel
* libxslt/xsltproc.c: use LIBXML_DOCB_ENABLED, William M. Brack
Daniel
2001-05-12 07:45:23 +00:00
Daniel Veillard
a7c43a4198 - libxslt/templates.c libxslt/transform.c: fixed bug #54446
about attribute being generated twice. Fixed a number of related
  bugs on attributes handling.
- tests/REC/test-7.1.4.out: this changed an attribute generation
  order
- tests/docs/bug-27-.xml tests/general/bug-27-.*: added test
Daniel
2001-05-11 17:15:46 +00:00
Daniel Veillard
69cf756db5 - libxslt/templates.c: fixed bug #54451 on escaped curly brackets
- tests/docs/bug-26-.xml tests/general/bug-26-.*: added test
Daniel
2001-05-11 15:11:21 +00:00
Daniel Veillard
ced20f0178 - configure.in tests/XSLTMark/Makefile.am: try to handle gracefully
the cases where perl is not in the path (nor in /usr/bin)
- tests/docbook/result/html/gdp-handbook.html
  tests/docbook/result/html/kwrite.html
  tests/docbook/test/gdp-handbook.xml
  tests/docbook/test/kwrite.xml: commited a few more DocBook tests
Daniel
2001-05-11 14:23:17 +00:00
Daniel Veillard
627147d2e0 - libxslt/xsltproc.c: added --nonet and --warnnet to catch
cases where a network access is needed to load a DTD or entity
- tests/docbook/Makefile.am: added --nonet
- tests/docbook/test/classsynop.xml tests/docbook/test/docbook40.xml:
  fixed 2 tests as a result
Daniel
2001-05-09 10:32:15 +00:00
Daniel Veillard
7f46881659 - configure.in tests/docbook/Makefile.am tests/docbook/**/Makefile.am:
try to remove the unneeded docbook Makefile stuff
Daniel
2001-05-09 08:45:59 +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
c0985f8498 How to spend 6 hours finding a 3 line bug :-(
- libxslt/extra.c: add more debug to xsltDebug
- libxslt/transform.c: spent a few hours tracking down an ugly
  race like bug in xsltCopyTreeList() arghhh
- libxslt/xsltproc.c: call xmlInitMemory() explictely
Daniel
2001-05-07 20:55:45 +00:00
Daniel Veillard
805227c1c1 Added a couple of TODO and fixed a typo, Daniel 2001-05-07 10:44:00 +00:00
Daniel Veillard
17a909ee3c - doc/internals.html: more work done on the doc, mostly complete
except the section on the XSLT stack and the extensions API
  since both still need more work.
Daniel
2001-05-07 09:40:52 +00:00
Daniel Veillard
c9911d5264 - doc/internals.html doc/contexts.* doc/object.*: more work done
on the doc
Daniel
2001-05-06 13:04:58 +00:00
Daniel Veillard
c1534dde66 more work done on the doc Daniel
* doc/internals.html: more work done on the doc
Daniel
2001-05-05 22:20:30 +00:00
Bjorn Reese
fedf1f4914 Another fix for the CDATA output 2001-05-05 17:02:29 +00:00
Daniel Veillard
df54e38b08 do not escape content of CDATA nodes on output Daniel
* libxslt/xslt.c: do not escape content of CDATA nodes on output
Daniel
2001-05-05 16:16:15 +00:00
Daniel Veillard
600cddc780 Linked the white paper to the main page, Daniel 2001-05-05 15:59:09 +00:00
Daniel Veillard
e1d0209ccc We will need more hackers to understand how this works:
- doc/internals.html doc/node.fig doc/node.gif doc/processing.fig
  doc/processing.gif doc/stylesheet.fig doc/stylesheet.gif
  doc/templates.fig doc/templates.gif: started writing tye doc
  on how libxslt works.
Daniel
2001-05-05 15:56:14 +00:00
Bjorn Reese
371845ef91 *** empty log message *** 2001-05-05 15:16:58 +00:00
Bjorn Reese
112f5f9543 format-number alignment to Java implementation
Do not remove CDATA from stylesheet
2001-05-05 15:13:16 +00:00
Bjorn Reese
853b992eb1 Alignment to Java implementation 2001-05-05 15:12:20 +00:00
Bjorn Reese
497b7bbc52 Bring our format-number() in alignment with the Java implemenation 2001-05-05 15:07:44 +00:00
Bjorn Reese
936e2f26cc Do not remove CDATA from stylesheet 2001-05-05 15:06:40 +00:00
Daniel Veillard
2cefd348e0 oh my god, most of the HTML output were fucked an I never
noticed !
- tests/docbook/result/html/* tests/general/bug-11-.out
  tests/multiple/result.xml tests/XSLTMark/*.out
  libxslt/transform.c: all the PUBLIC and SYSTEM IDs
  were swapped
Daniel
2001-05-04 18:14:17 +00:00
Daniel Veillard
678ef1c0be - libxslt/xsltproc.c: add a --docbook option if your libxml2
has the SGML DocBook support compiled in.
Daniel
2001-05-04 17:11:06 +00:00
Daniel Veillard
d7f08ef976 - tests/general/bug-2[0-4].* tests/docs/bug-2[0-4].*: added more
tests especially on sorting
- test/xsltutils.c: oops multiple sorts was actually broken !!!
  this should fix it
Daniel
2001-05-04 15:08:23 +00:00
Daniel Veillard
0414c3c55a Fixed all the tests makefiles to actaully references the tests
files from $(srcdir) and use echo > .memdump instead of the less
portable touch .memdump Daniel
LIBXSLT_0_9_0
2001-05-03 17:44:25 +00:00
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