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

644 Commits

Author SHA1 Message Date
Daniel Veillard
82daa81a8b - tree.[ch] : added xmlDocCopyNode for gdome2 support
Daniel
2001-04-12 08:55:36 +00:00
Daniel Veillard
67a21303b8 - tree.h: include xmlmemory.h this seems to havoid a nasty glibc
bug where the linktime verions of free() won't work ...
Daniel
2001-04-11 14:39:16 +00:00
Daniel Veillard
27b5528986 - config.h.in configure.in xmlversion.h.in: added ansidecl.h test
Daniel
2001-04-11 12:22:25 +00:00
Daniel Veillard
afc7311e0b - doc/xml.html: added 2.3.6 release
Daniel
2001-04-11 11:51:41 +00:00
Daniel Veillard
bdb9ba7770 - tree.c: fixed xmlStringGetNodeList() to handle charrefs
- result/wml.xml: resulted in a small output change
Daniel
2001-04-11 11:28:06 +00:00
Daniel Veillard
d2f3ec780d - tree.c: xmlNewDoc was missing the charset initialization
- xmllint.c: added --auto to autogenerate a doc, allow to
  reproduce the problem fixed on xmlNewDoc
Daniel
2001-04-11 07:50:02 +00:00
Daniel Veillard
1731d6ae0a - xpath.c: trying to get 52979 solved
- tree.c result/ result/noent/: trying to get 52712 solved, this
  also made me clean up the fact that XML output in general should
  not add formating blanks by default, this changed the output of
  a few tests
Daniel
2001-04-10 16:38:06 +00:00
Daniel Veillard
73639a73c5 - xpath.c: Bill Brack pointer an error in detecting a null nodeset
Daniel
2001-04-10 14:31:39 +00:00
Daniel Veillard
fac26a1f93 Finally released 2.3.6, Daniel 2001-04-08 13:08:14 +00:00
Daniel Veillard
911f49a0a0 - xpath.c: checking for null pointer generated by new code
Daniel
2001-04-07 15:39:35 +00:00
Daniel Veillard
d8df6c0e8c Fixes in the plane: - xpath.c: fixed a [] evaluation problem reported -
Fixes in the plane:
- xpath.c: fixed a [] evaluation problem reported
- test/XPath/tests/simpleaddr: extended test
- result/XPath/simpleaddr: updated result
Daniel
2001-04-05 16:54:14 +00:00
Daniel Veillard
3197f164a8 Fixed pointers to archive, Daniel 2001-04-04 00:40:08 +00:00
Daniel Veillard
3b2c26134e - xmllint.c: Dan Timis reported a portability problem
on Macs without mmap, fixed it.
Daniel
2001-04-04 00:09:00 +00:00
Daniel Veillard
b38bd55ae5 - testXPath.c : added a --tree option allowing to display the
tree dump of the XPath expression
Daniel
2001-04-03 18:22:00 +00:00
Daniel Veillard
4dd9346df2 Small fixes: - xpath.c: fixed a memleak when comparing nodesets -
Small fixes:
- xpath.c: fixed a memleak when comparing nodesets
- HTMLtree.c: don't invent the HTML doctype if not available (XSLT)
- tree.c: added a TODO
Daniel
2001-04-02 15:16:19 +00:00
Daniel Veillard
bc96766c0f Fixed a make distched problem w.r.t. includes from the new files, Daniel 2001-03-27 13:56:45 +00:00
Daniel Veillard
92ad210417 Spring cleanup ...: - configure.in Makefile.am config.h.in
Spring cleanup ...:
- configure.in Makefile.am config.h.in xmlversion.h.in: detect if
  we need string functions
- trio.[ch] strio.[ch]: embedded the Trio-0.23 string functions
  to be able to use them where needed. Applied some changes
  to reduce name linking pollution and compile in only what's
  needed.
- HTMLtree.c debugXML.c entities.c error.c nanoftp.c valid.c
  xlink.c xmlversion.h.in xpath.c: got rid of the #ifdef
  for the string manipulation functions
- xmlmemory.[ch]: removed DEBUG_MEMORY_FREED and added it automatically
  to the free() function of xmlmemory.c
- entities.c HTMLtree.c parserInternals.c tree.c uri.c valid.c
  xinclude.c xmlIO.c xpath.c xpointer.c: removed the MEM_CLEANUP
  usage.
Daniel
2001-03-27 12:47:33 +00:00
Daniel Veillard
2be30641d1 - error.c: applied the context output patch of the error
handling submitted by Chuck Griffith
- error/VC/*: this slightly change some error logs
Daniel
2001-03-27 00:32:28 +00:00
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
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
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