1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-28 14:55:25 +03:00
Commit Graph

513 Commits

Author SHA1 Message Date
Daniel Veillard
0b6b55b076 Someone found a bug hiding in a corner, caught it !
- parser.c: fixing bug 52299 strange condition leading
  to a parser crash due to a buffer overflow
- result/noent/attrib.xml result/attrib.xml test/attrib.xml:
  added the specific test case
Daniel
2001-03-20 11:27:34 +00:00
Daniel Veillard
fbf8a2d0c8 More cleanups, XSLT induced, start looking okay:
- xpath.[ch]: still a lot of cleanup based on XSLT, added
  xmlXPathConvert{String,Number,Boolean} to be able to make
  type casts without a context stack, fixed some implementation
  problems related to the absence of context at parse-time,
  added xmlXPathEvalPredicate() and xmlXPathFreeCompExpr()
  in the public API too
- xpointer.c xpathInternals.h: we need to know at parse time
  whether we are compiling an XPointer
Daniel
2001-03-19 15:58:54 +00:00
Daniel Veillard
afcbe1cb12 Did the boring cleanup job now that stuff works okay again:
- xpath.[ch] xpointer.c: restaured the Binary and API compatibility
  cleaned up the parser internals, refactored XPath code, added
  new compilation based APIs and cleanly separated public and
  private APIs.
Daniel
2001-03-19 10:57:13 +00:00
Daniel Veillard
d007d6c53e Ooops: - xpath.h: the comp field must be added at the end to avoid killing
Ooops:
- xpath.h: the comp field must be added at the end to avoid
  killing binary compat.
Daniel
2001-03-19 00:01:07 +00:00
Daniel Veillard
9e7160d45a Completely changed the way the XPath evaluation is done, likely to break
stuff like libxslt right now:
- Makefile.am: detect XPath memleaks in regreson tests
- error.c: fixed and error w.r.t. error reporting still using
  stderr
- hash.c: added new line at end of file
- tree.h: minor cleanup
- xpath.[ch] xpointer.[ch]: Major changes ! Separated XPath
  expression parsing from evaluation, resulted in a number of
  changes internally, and in XPointer. Likely to break stuff
  using xpathInternals.h but should remain binary compatible,
  new interfaces will be added.
Daniel
2001-03-18 23:17:47 +00:00
Daniel Veillard
480363bdf5 Updated instruction for libxml2 and libxml coexistence, Daniel 2001-03-16 22:04:15 +00:00
Daniel Veillard
d574f78fd0 - configure.in: fixed a couple of problems reported by
okiddle@yahoo.co.uk and allanc@chickenandporn.com when compiling
  without gcc on non linux platforms.
Daniel
2001-03-14 19:40:17 +00:00
Daniel Veillard
0a6c358bf3 - doc/Makefile.am configure.in: yearke@eng.buffalo.edu suggested
a fix for --with-html-dir= configure support. I hope it won't
  break rpm generation
Daniel
2001-03-14 19:15:37 +00:00
Daniel Veillard
a022fe03fd First patch from SCO :-)
- xmlIO.c: one function comment cleanup.
Daniel
2001-03-14 16:30:00 +00:00
Daniel Veillard
25239c1c22 - SAX.c: external subset notations were improperly registered
in the internal subset.
Daniel
2001-03-14 13:56:48 +00:00
Daniel Veillard
3f3b4f372e Bob Wilkinson sent grammatical errors fixes in the FAQ :-)
Daniel
2001-03-13 15:12:39 +00:00
Daniel Veillard
2c4754f15f - README.cvs-commits: added, pointing to HACKING
- HACKING: updated
Daniel
2001-03-13 09:31:12 +00:00
Daniel Veillard
82ab81e92b - parser.c: and Matt Sergeant found one in the XML push
parser (erroneous check I forgot to remove when I fixed the
  main parser).
Daniel
2001-03-12 21:11:21 +00:00
Daniel Veillard
68d7b67ada - xpath.c: ptittom found a small bug in UnaryExpr
Daniel
2001-03-12 18:22:04 +00:00
Daniel Veillard
e356c28006 Preparing for 2.3.4 release:
- configure.in: bumped to 2.3.4
- error.c: fixed bug #51860
- tree.c: fixed bug #51861
- valid.c: cleanup, more debug, failed to fix one bug crap ...
- tree.[ch] : added xmlDefaultBufferSize
- nanoftp.c: typo in function name header block
- doc/xml.html : updated, added link to XML::LibXSLT
- doc/html/* : rebuilt the docs
Daniel
2001-03-10 12:32:04 +00:00
Daniel Veillard
80f3257163 - parser.c SAX.c: the new content parsing code raised an
ugly bug in the characters() SAX callback. Found it
  just because of strangeness in XSLT XML Rec ouptut :-(
Daniel
2001-03-07 19:45:40 +00:00
Daniel Veillard
6c831207f8 Seems there is still bugs hiding, someone has some flytox ?
- Makefile.am: Martin Baulig suggested to add -lm
- tree.c: found another bug in xmlNodeGetContent()
Daniel
2001-03-07 15:57:53 +00:00
Daniel Veillard
33a67808b9 Removed unneeded references to rpmfind.net, use xmlsoft.org, fixed
the mailing-list new address, fixed new email address, daniel
2001-03-07 09:44:02 +00:00
Daniel Veillard
81781103cd Updated to point to bugzilla, Daniel 2001-03-07 09:31:47 +00:00
Daniel Veillard
4af6b6e801 - xpath.c: Bjorn found the error related to strictness of comparison.
Daniel
2001-03-06 08:33:38 +00:00
Daniel Veillard
29631a8901 10 mn hacking while waiting for doctor appointment:
- parser.c: trying to fix the Dtd parsing problem reported
  by Gary, side effect of last week speed optimizations.
Daniel
2001-03-05 09:49:20 +00:00
Daniel Veillard
14be0a178f Small fixups: - xml2Conf.sh.in: fixes pointed out by Fredrik Hallenberg -
Small fixups:
- xml2Conf.sh.in: fixes pointed out by Fredrik Hallenberg
- parserInternals.c: removed unneeded test raised by Stric
Daniel
2001-03-03 18:50:55 +00:00
Bjorn Reese
e1dc0114ac xmlXPathNodeCollectAndTest fixed (by William Brack)
xmlXPathFormatNumber added
xmlXPathNodeSetSort changed
2001-03-03 12:09:03 +00:00
Daniel Veillard
f9533d1457 - HTMLparser.c: fixed loop reported by Marc Sanfacon
Daniel
2001-03-03 10:04:57 +00:00
Daniel Veillard
2f36224e54 - parser.c: one must report spaces even if the Dtd element
content proves that this is not part of the element content.
- result/valid/*.xml: this changed the ouptu slightly
Daniel
2001-03-02 17:36:21 +00:00
Daniel Veillard
b402c07ca5 Released libxml-2.3.3:
- configure.in: bumped to 2.3.3
- doc/xml.html: updated
Daniel
2001-03-01 17:28:58 +00:00
Daniel Veillard
77851710ab Minimal changes for XSLT node-set() extra function:
- tree.c: minor doc fix
- xpath.c: deallocation issues when a result tree has been
  converted to a node-set
Daniel
2001-02-27 21:54:07 +00:00
Daniel Veillard
ec70e917b9 I'm slightly time warped...
- doc/xml.html: oops corrected dates s/2000/2001
Daniel
2001-02-26 20:10:45 +00:00
Daniel Veillard
8730c561c9 - valid.c: new patch from Gary Pennington
Daniel
2001-02-26 10:49:57 +00:00
Daniel Veillard
91e9d589ea - doc/xml.html: applied patch from Ankh
Daniel
2001-02-26 07:31:12 +00:00
Daniel Veillard
edac3c9084 - xinclude.c: fixed a problem building on Mac
Daniel
2001-02-26 01:36:19 +00:00
Daniel Veillard
21a0f91852 - parser.c: more work on increasing parsing ferformances
Daniel
2001-02-25 19:54:14 +00:00
Daniel Veillard
48b2f8968e Okay time to improve performances, gprof session:
before  real 0m2.483s (2.3.2 release yesterday)
current real 0m1.763s
when parsing (with tree build/freeing) db10000.xml from XSLTMark:
- xmlmemory.h HTMLparser.c HTMLtree.c entities.c parser.c
  xpath.c xpointer.c tree.c uri.c valid.c xinclude.c xmlIO.c:
  avoiding memcpy in production builds MEM_CLEANUP macro use
- parser.[ch] parserInternals.c: optimizations of the tightest
  internal loops inside the parser. Better checking of I/O
  flushing/loading conditions
- xmllint.c : added --timing
Daniel
2001-02-25 16:11:03 +00:00
Daniel Veillard
59a3bd3744 Small fix for the release, Daniel 2001-02-24 22:41:45 +00:00
Daniel Veillard
71681103a3 Preparing 2.3.2 release:
- configure.in: bumped to 2.3.2
- doc/xml.html: updated for release
Daniel
2001-02-24 17:48:53 +00:00
Daniel Veillard
bbd51d512b - xpath.c: found a memleak and fixed a nasty bug
Daniel
2001-02-24 03:07:03 +00:00
Daniel Veillard
f7cd48176c - xmllint.[c1] : added return code errors for xmllint
- xpath.c: specific debug dump function for result value trees
Daniel
2001-02-23 18:44:52 +00:00
Owen Taylor
3473f88a7a Revert directory structure changes 2001-02-23 17:55:21 +00:00
CET 2001 Tomasz Koczko
64636e7f6e moved to libxml directory - this allow simplify automake/autoconf. Now
Thu Feb 23 02:03:56 CET 2001 Tomasz Koczko <kloczek@pld.org.pl>

        * *.c *.h libxml files: moved to libxml directory - this allow
	  simplify automake/autoconf. Now isn't neccessary hack on
	  am/ac level for make and remove libxml symlink (modified for this
	  also configure.in and main Makefile.am). Now automake abilities
	  are used in best way (like in many other projects with libraries).
	* include/win32config.h: moved to libxml directory (now include
	  directory isn't neccessary).
	* Makefile.am, examples/Makefile.am, libxml/Makefile.am:
	  added empty DEFS and in INCLUDES rest only -I$(top_builddir) -
	  this allow minimize parameters count passed to libtool script
	  (now compilation is also slyghtly more quiet).
	* configure.in: simplifies libzdetestion - prepare separated
	  variables for keep libz name and path to libz header files isn't
	  realy neccessary (if someone have libz installed in non standard
	  prefix path to header files ald library can be passed as:
	  $ CFALGS="-I</libz.h/path>" LDFLAGS="-L</libz/path>" ./configure
	* autogen.sh: check now for libxml/entities.h.

	After above building libxml pass correctly and also pass
	"make install DESTDIR=</install/prefix>" from tar ball generated by
	"make dist". Seems ac/am reorganization is finished. This changes
	not touches any other things on *.{c,h} files level.
2001-02-23 01:37:32 +00:00
Daniel Veillard
4b637079f2 - xpath.c: finally implemented xmlXPathCompareNodeSets
- test/XPath/expr/floats results/XPath/expr/floats: added
  a test for float expressions
Daniel
2001-02-21 21:52:55 +00:00
Daniel Veillard
f714aa3262 - tree.c: fixed xmlNodeGetContent, it was not recursing on child
- parserInternals.[ch]: trying to speed up parsing
- xpath.c : speeded up node set equality op
Daniel
2001-02-21 03:07:44 +00:00
Daniel Veillard
bca64ef1c6 cut and past error in Changelog, Daniel 2001-02-19 22:20:01 +00:00
Daniel Veillard
e0c3a62c91 - Makefile.am valid.c list.[ch]: Gary Pennington provided a
better handling of ID/IDREF and the list modules associated
- configure.in: small CFLAGS cleanup
Daniel
2001-02-19 18:05:20 +00:00
Daniel Veillard
a8abee69b2 - configure.in: fixed iconv detection on AIX (stric)
Daniel
2001-02-19 15:14:59 +00:00
Daniel Veillard
88f8f6f374 - xpath.c: fixed "*" (unbelievable !) and a couple of warnings
Daniel
2001-02-19 10:00:53 +00:00
Bjorn Reese
fd9b09b281 *** empty log message *** 2001-02-18 16:51:25 +00:00
Bjorn Reese
081543fd01 xmlXPathNodeSetSort now uses Shell's sorting algorithm
Fixed whitespace handling in xmlXPathStringEvalNumber
2001-02-18 16:49:41 +00:00
Daniel Veillard
142adbfa3d More bugfixes due to DocBook:
- xpath.c: bug fix when context size is 0
- parser.c: I like Norm's Dtd because they still manage to break
  the parser occasionally
Daniel
2001-02-17 13:21:05 +00:00
Daniel Veillard
f23e0095df - xpath.c: xmlXPathEqualNodeSetFloat the arg is really a double now
Daniel
2001-02-16 13:21:29 +00:00
Daniel Veillard
e0e265138e - tree.[ch] parser.c xpath.c: fixed the problem of addressing
attributes within the XML-1.0 namespace
Daniel
2001-02-16 00:11:46 +00:00