Daniel Veillard
505821145f
parser.c: fixed line number reporting on error
...
Daniel
2001-03-26 22:52:16 +00:00
Daniel Veillard
04be4f51e4
- parser.c: Sullivan and Darin found a parser bug,
...
applied the patch.
Daniel
2001-03-26 21:23:53 +00:00
Daniel Veillard
c86a4fae4a
- HTMLparser.c HTMLtree.c SAX.c debugXML.c error.c parserInternals.c
...
testHTML.c testSAX.c tree.c valid.c xmlIO.c xmlmemory.c
xmlversion.h.in xpointer.c: of course the way I defined
UNUSED breaks on old gcc version. Try to be smart and
also define it directly in xmlversion.h
- configure.in: removed -ansi flag from the pedantic set
Daniel
2001-03-26 16:28:29 +00:00
Daniel Veillard
a47fb3d9f7
Cleaned up the DOM section and linked to the Gdome2 homepage, Daniel
2001-03-25 17:23:49 +00:00
Daniel Veillard
5f0253174d
file i18n.xml was initially added on branch LIB_XML_1_BRANCH.
2001-03-25 14:58:11 +00:00
Daniel Veillard
b756af2d7d
file parserold.c was initially added on branch LIB_XML_1_BRANCH.
2001-03-25 00:13:40 +00:00
Daniel Veillard
56a4cb8c4d
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
- HTMLparser.[ch] HTMLtree.c SAX.c debugXML.c encoding.[ch]
encoding.h entities.c error.c list.[ch] nanoftp.c
nanohttp.c parser.[ch] parserInternals.[ch] testHTML.c
testSAX.c testURI.c testXPath.c tree.[ch] uri.c
valid.[ch] xinclude.c xmlIO.[ch] xmllint.c xmlmemory.c
xpath.c xpathInternals.h xpointer.[ch] example/gjobread.c:
Cleanup, staticfied a number of non-exported functions,
detected and cleaned up a dozen of problem found this way,
avoided a lot of public function name/typedef/system names clashes
- doc/xml.html: updated
- configure.in: switched private flags to the really pedantic ones.
Daniel
2001-03-24 17:00:36 +00:00
Daniel Veillard
c7ad7ce598
Preparing a new release:
...
- configure.in: 2.3.5
- doc/html/*: rebuilt the docs
Daniel
LIBXML_2_3_5
2001-03-22 21:45:29 +00:00
Daniel Veillard
146c9120ca
- parser.c: fixed a reported bug in NOTATION parsing
...
- uri.c: accepted but not fixed bug 51876, added TODO
- Makefile.am: fixed bug 51876
Daniel
2001-03-22 15:22:27 +00:00
Daniel Veillard
a5f013bf90
- config.h.in configure.in error.c: fix a compilation problem
...
on platforms without vsnprintf (xml@thewrittenword.com )
Daniel
2001-03-22 12:44:45 +00:00
Daniel Veillard
e020c3a797
A typo and an obscure bug fix:
...
- parser.c: fixed a function name header typo
- SAX.c: notations can also occur in external subset.
Daniel
2001-03-21 18:06:15 +00:00
Daniel Veillard
e0c1d72a6f
Got fed up, people should not use libxml1 unless forced, put this in
...
big red letters at critical places in the doc, Daniel
2001-03-21 10:28:36 +00:00
Daniel Veillard
7d42b54bb1
- error.c: removed a C++ like comment
...
Daniel
2001-03-20 13:22:46 +00:00
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
LIBXML_2_3_4
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
LIBXML_2_3_3
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
LIBXML_2_3_2
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