1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-14 19:24:06 +03:00

242 Commits

Author SHA1 Message Date
Daniel Veillard
d4f41aacfc patch from Boris Erdmann fixing some namespace odities with xmlCopyNode()
* tree.c: patch from Boris Erdmann fixing some namespace odities
  with xmlCopyNode()
Daniel
2002-03-03 14:13:46 +00:00
Daniel Veillard
a6d0538776 Fixing #71342 serializing '\n' in attribute values added a specific test.
* tree.c: Fixing #71342 serializing '\n' in attribute values
* result/noent/att3 result/att3 test/att3: added a specific
  test.
Daniel
2002-02-13 13:07:41 +00:00
Daniel Veillard
0ba59239d9 Tentatively fixed #69655 , make compiling with -Wredundant-decls clean.
* HTMLtree.c Makefile.am build_glob.py configure.in debugXML.c
  globals.c parser.c threads.c tree.c valid.c xmlmemory.c
  xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h
  include/libxml/parserInternals.h include/libxml/tree.h
  include/libxml/xmlmemory.h include/libxml/xpathInternals.h:
  Tentatively fixed #69655 , make compiling with -Wredundant-decls
  clean.
* python/libxml.c: fixed a warning.
Daniel
2002-02-10 13:20:39 +00:00
Daniel Veillard
c5f05ada40 fix #68882, cleanup the XInclude copying of node, merge back IDs in the
* tree.c valid.c xinclude.c: fix #68882, cleanup the XInclude
  copying of node, merge back IDs in the target document.
* result/XInclude/docids.xml test/XInclude/docs/docids.xml
  test/XInclude/ents/ids.xml: test case
* result/VC/ElementValid4: output changed due to a typo fix
Daniel
2002-02-10 11:57:22 +00:00
Daniel Veillard
c575b997d8 Changed to the MIT Licence updated the doc accordingly preparing 2.4.14
* Copyright Makefile.am README configure.in libxml.spec.in:
  Changed to the MIT Licence
* doc/FAQ.html doc/catalog.html doc/intro.html doc/xml.html
  doc/xmlio.html: updated the doc accordingly
* include/libxml/xmlwin32version.h configure.in: preparing
  2.4.14 release
* python/generator.py python/libxml.c python/libxml2-python-api.xml
  python/libxml2class.txt python/libxml_wrap.h python/types.c:
  fixed the const xmlChar * wrapper and generator, XPath extension
  functions now use the context as first argument
* python/tests/tstxpath.py python/tests/xpath.py
  python/tests/xpathext.py: Updated the tests accordingly
* tree.c: fixed bug #70067
Daniel
2002-02-08 13:28:40 +00:00
Daniel Veillard
36eea2d2ee hardened the addChild function added accessors needed for xmlNode, a bit
* tree.c: hardened the addChild function
* python/generator.py python/libxml.c python/libxml2-python-api.xml
  python/libxml2class.txt python/libxml_wrap.h python/TODO:
  added accessors needed for xmlNode, a bit more testing and
  extension of interfaces
* python/tests/Makefile.am python/tests/build.py: added a test
  build from scratch/save/load/check
Daniel
2002-02-04 00:17:01 +00:00
Daniel Veillard
8ee9c8f6c4 applied patch from Anthony Jones to implement copy of DTD subtree too. Had
* entities.c tree.c include/libxml/entities.h: applied patch
  from Anthony Jones to implement copy of DTD subtree too. Had
  just to keep 2 function private which really ought to become
  public ones.
Daniel
2002-01-26 21:42:58 +00:00
Daniel Veillard
bd227ae9db more fixes from Petr Kozelka for attribute handling in the tree API to
* tree.c: more fixes from Petr Kozelka for attribute handling
  in the tree API to align the semantic with DOM.
Daniel
2002-01-24 16:05:41 +00:00
Daniel Veillard
3606581dcd another set of patches from Anthony Jones for copy operations cleanup and
* valid.c tree.c entities.c: another set of patches from
  Anthony Jones for copy operations cleanup and robustness
Daniel
2002-01-24 15:02:46 +00:00
Daniel Veillard
c169f8b485 apply an patch from Petr Kozelka for unlink and replace support of
* tree.c: apply an patch from Petr Kozelka for unlink and replace
  support of attribute nodes
Daniel
2002-01-22 21:40:13 +00:00
Daniel Veillard
9d06d300a5 Build a new version hopefully near complete and fully documented of the
* doc/libxml2-api.xml doc/parsedecl.py: Build a new version
  hopefully near complete and fully documented of the API in XML
* HTMLtree.c SAX.c debugXML.c error.c globals.c parser.c tree.c
 xmlIO.c xmlmemory.c include/libxml/catalog.h include/libxml/hash.h
 include/libxml/list.h include/libxml/parser.h include/libxml/tree.h
 include/libxml/parserInternals.h include/libxml/valid.hi
 include/libxml/xmlIO.h include/libxml/xmlerror.hi
 include/libxml/xmlmemory.h include/libxml/xmlversion.h.ini
 include/libxml/xpath.h include/libxml/xpathInternals.h:
  Cleaned up the doc comments a lot in the process, the interface
  coverage is now 100%
Daniel
2002-01-22 18:15:52 +00:00
Daniel Veillard
d2f23009b3 Adam Lounds pointed out a bug in xmlSearchNs() Daniel
* tree.c: Adam Lounds pointed out a bug in xmlSearchNs()
Daniel
2002-01-21 13:36:00 +00:00
Daniel Veillard
cfa0d81221 fixed the funxtion to set the xml: attributes added "setbase" to test it.
* tree.c: fixed the funxtion to set the xml: attributes
* debugXML.c: added "setbase" to test it.
Daniel
2002-01-17 08:46:58 +00:00
Daniel Veillard
2c748c612e update xmlNodeSetContent() and xmlNodeSetContentLen() to allow updating an
* tree.c: update xmlNodeSetContent() and xmlNodeSetContentLen()
  to allow updating an attribute content
Daniel
2002-01-16 15:37:50 +00:00
Daniel Veillard
e6a5519cdc some cleanup after an unsuccessful attempt at fixing #61290 :-( Daniel
* debugXML.c tree.c: some cleanup after an unsuccessful attempt
  at fixing #61290 :-(
Daniel
2002-01-14 17:11:53 +00:00
Daniel Veillard
fb25a51418 fixed xmlSaveFormatFileEnc() when encoding == NULL Fixes bug #67229 Daniel
* tree.c: fixed xmlSaveFormatFileEnc() when encoding == NULL
  Fixes bug #67229
Daniel
2002-01-13 20:32:08 +00:00
Daniel Veillard
acb2bdace3 trying to avoid troubles when a subtree is copied and coalesced in part
* tree.c: trying to avoid troubles when a subtree is copied
  and coalesced in part with the target tree. Should fix
  bug #67407
Daniel
2002-01-13 16:15:43 +00:00
Daniel Veillard
8107a22f96 integrated a couple of fixes and a new API function
* parser.c include/libxml/parserInternals.h tree.c: integrated
  a couple of fixes and a new API function xmlSetEntityReferenceFunc()
  from Keith Isdale and dedicated to xsldbg the XSLT debugger.
Daniel
2002-01-13 14:10:10 +00:00
Daniel Veillard
6f42c13647 Anthony Jones pointed out a problem in xmlStringGetNodeList() and provided
* tree.c: Anthony Jones  pointed out a problem in
  xmlStringGetNodeList() and provided a fix for it
Daniel
2002-01-06 23:05:13 +00:00
Daniel Veillard
cbaf399537 applied 42 documentation patches from Charlie Bozeman. Regenerated the
* *.c include/libxml/*.h doc/html/*: applied 42 documentation
  patches from Charlie Bozeman. Regenerated the HTML docs.
Daniel
2001-12-31 16:16:02 +00:00
Daniel Veillard
d16409207a applied documentation patches from Charlie Bozeman Daniel
* include/libxml/tree.h tree.c: applied documentation patches
  from Charlie Bozeman
Daniel
2001-12-17 15:30:10 +00:00
Daniel Veillard
29e4399d11 fix the xmlStrdup() used in the previous patch. added --dropdtd fixed
* valid.c: fix the xmlStrdup() used in the previous patch.
* valid.c: added --dropdtd
* tree.c: fixed xmlUnlinkNode so it also removes the references
  from the document if the node is a DTD
Daniel
2001-12-13 22:21:58 +00:00
Daniel Veillard
8faa783639 moved xmlGetLineNo() and xmlGetNodePath() into the main tree module, they
* tree.c debugXML.c include/libxml/tree.h include/libxml/debugXML.h:
  moved xmlGetLineNo() and xmlGetNodePath() into the main tree module,
  they are not really tied to debugging
Daniel
2001-11-26 15:58:08 +00:00
Daniel Veillard
4855c8c303 fixed a couple of problems in xmlSetProp() Daniel
* tree.c: fixed a couple of problems in xmlSetProp()
Daniel
2001-11-25 10:35:25 +00:00
Daniel Veillard
cd337f0bc6 some cleanups when chasing unappropriate stdout output. Daniel
* debugXML.c tree.c xmlIO.c xmlmemory.c: some cleanups when chasing
  unappropriate stdout output.
Daniel
2001-11-22 18:20:37 +00:00
Daniel Veillard
0ec986359a better comments for _private fields removed a problem when copying an
* include/libxml/tree.h: better comments for _private fields
* tree.c: removed a problem when copying an entity reference.
Daniel
2001-11-14 15:04:32 +00:00
CET 2001 Daniel Veillard
5a37bde34b more include cleanups, export cleanly one html output + format function.
Thu Nov  1 15:29:31 CET 2001 Daniel Veillard <daniel@veillard.com>

	* HTMLtree.c tree.c include/libxml/HTMLtree.h
	  include/libxml/tree.h include/libxml/xmlIO.h: more include
	  cleanups, export cleanly one html output + format function.

Thu Nov  1 14:12:12 CET 2001 Daniel Veillard <daniel@veillard.com>

	* parser.c: removed initGenericErrorDefaultFunc call from
	  xmlInitParser() since it could destroy previous calls to
	  xsltSetGenericErrorFunc() effects
Daniel
2001-11-01 14:31:22 +00:00
Daniel Veillard
3c01b1d81b - include/libxml/globals.h include/libxml/threads.h threads.c
testThreads.c: far more testing, cleaning up bugs
- *.c : make sure globals.h is always included.
Daniel
2001-10-17 15:58:35 +00:00
Daniel Veillard
d046356030 Applied the last patches from Gary, cleanup, activated threading all user
* include/libxml/SAX.h include/libxml/globals.h include/libxml/parser.h
  include/libxml/parserInternals.h include/libxml/tree.h
  include/libxml/xmlerror.h HTMLparser.c SAX.c error.c globals.c
  nanoftp.c nanohttp.c parser.c parserInternals.c testDocbook.c
  testHTML.c testSAX.c tree.c uri.c xlink.c xmlmemory.c:
  Applied the last patches from Gary, cleanup, activated threading
  all user accessible global variables are now handled in globals.[ch]
  Still a bit rought but make tests passes with either
  --with-threads defined at configure time or not.
* Makefile.am example/Makefile.am: added globals.[ch] and threads
  linking options
Daniel
2001-10-13 09:15:48 +00:00
Daniel Veillard
78d1209708 integrating Keith Isdale patches for the XSLT debugger interfaces. Some
* include/libxml/debugXML.h debugXML.c tree.c: integrating
  Keith Isdale patches for the XSLT debugger interfaces. Some
  cleanup
Daniel
2001-10-11 09:12:24 +00:00
Daniel Veillard
60087f30f3 preparing 2.4.6 release updated and rebuilt the docs fixed a number of
* configure.in: preparing 2.4.6 release
* doc/xml.html doc/html/*: updated and rebuilt the docs
* include/libxml/*.h *.c: fixed a number of teh/the widht/width typos
Daniel
2001-10-10 09:45:09 +00:00
Daniel Veillard
20ee8c0310 applied fix from Mathias Hasselmann about a bug in URI parsing. fix bug
* uri.c: applied fix from Mathias Hasselmann about a bug in URI
  parsing.
* xpath.c: fix bug #61291 the default XML namespace node is
  missing from the namespace axis.
* tree.c: refuse to create namespaces nodes with prefix "xml"
Daniel
2001-10-05 09:18:14 +00:00
Daniel Veillard
9e1c72da8a Armin Sander pointed a possible text coalescing problem, completed his
* tree.c: Armin Sander pointed a possible text coalescing
  problem, completed his patch.
Daniel
2001-08-31 20:03:19 +00:00
Daniel Veillard
3ec4c618bf applied patch from Armin Sander to make some pointers const in
* tree.c: applied patch from Armin Sander to make some pointers
  const in xmlCopyNode()
Daniel
2001-08-28 20:39:49 +00:00
Daniel Veillard
1d0bfab330 fixed xmlCopyNode() for documents Daniel
* tree.c: fixed xmlCopyNode() for documents
Daniel
2001-07-26 11:49:41 +00:00
Daniel Veillard
f012a64d13 get rid of the readline and libhistory dependancies by default, release
* configure.in: get rid of the readline and libhistory
  dependancies by default, release 2.4.1 with IA64 fix
* nanohttp.c tree.c xmlIO.c include/libxml/nanohttp.h
  include/libxml/tree.h include/libxml/xmlIO.h: incorporated
  John Kroll fixes to allow saving to HTTP via PUT (or
  POST of needed).
* doc/html/*.html: regenerated the docs
Daniel
2001-07-23 19:10:52 +00:00
Daniel Veillard
5e2dace1ca Cleanup, cleanup .. removed libxml softlink for good cleanup to get 100%
Cleanup, cleanup ..
* configure.in Makefile.am: removed libxml softlink for good
* include/libxml/*.h *.c doc/Makefile.am: cleanup to get
  100% coverage by gtk-doc
Daniel
2001-07-18 19:30:27 +00:00
Daniel Veillard
220907319a cleanup of global variables, marking some const or private. Daniel
* include/libxml/parserInternals.h include/libxml/HTMLparser.h
  xmlIO.c tree.c parserInternals.c entities.c encoding.c
  HTMLparser.c: cleanup of global variables, marking some
  const or private.
Daniel
2001-07-16 00:06:07 +00:00
Daniel Veillard
7db3773a5c store the line numbder in element->content, may break some software, need
* DOCBparser.c HTMLparser.c HTMLtree.c SAX.c debugXML.c parser.c
  tree.c xpointer.c: store the line numbder in element->content,
  may break some software, need a configuration mechanism
Daniel
2001-07-12 01:20:08 +00:00
Daniel Veillard
b8c9be9718 fixed XML Base computation which was broken added a base function to the
* tree.c: fixed XML Base computation which was broken
* debugXML.c: added a base function to the shell
* Makefile.am result/scripts/* test/scripts/*: added scripts
  based regression tests, and adding 2 XML Base tests
Daniel
2001-07-09 16:01:19 +00:00
Daniel Veillard
19e96c3059 set properties doc and call xmlSetListDoc for properties content when
* tree.c: set properties doc and call xmlSetListDoc for properties
  content when grafting them in a different tree.
* aclocal.m4: remove from CVS
Daniel
2001-07-09 10:32:59 +00:00
Daniel Veillard
770447311e xmlStrstr args are both const small cleanup reformated, fixed problems if
* include/libxml/parser.h parser.c: xmlStrstr args are both const
* xpath.c: small cleanup
* xmlGetNsList: reformated, fixed problems if used on Entities
Daniel
2001-06-29 21:31:07 +00:00
Daniel Veillard
c5d64345cf Summer's cleanup, a really big one:
* AUTHORS: added William and Bjorn
* include/libxml/*.h *.c README doc/*.html etc.: changed old email to
  daniel@veillard.com hopefully I won't have to do this again
* doc/Makefile.am doc/html/*.html: cleanup makefile, checked that
  docs can be rebuilt cleanly now
* include/libxml/xml*version.h*: removed include/libxml/xmlversion.h
  from CVs it's generated, added include/libxml/xmlwin32version.h
  also generated but which should change far less frequently.
* catalog.c nanoftp.c: made sure to include libxml.h not
  libxml/xmlversion.h directly
* include/libxml/*.h: include xmlwin32version.h instead of xmlversion.h
  when compiling on WIN32 and MSC
Daniel
2001-06-24 12:13:24 +00:00
Daniel Veillard
d79bcd1b36 attempt to work around what seemed a gcc optimizer bug when handling
* xpath.c: attempt to work around what seemed a gcc optimizer
  bug when handling floats on i386 http://veillard.com/gcc.bug
* tree.c entities.c encoding.c: doing some cleanups while
  chasing it
Daniel
2001-06-21 22:07:42 +00:00
Daniel Veillard
39196eba17 - tree.c xinclude.c xpointer.c: bug #56402 exposed a number of
weakness in the node copy the XPointer and the XInclude
  implementations. Serious cleanup.
Daniel
2001-06-19 18:09:42 +00:00
Daniel Veillard
a9142e74c5 - valid.c tree.c parserInternals.c parser.c: Stephan Kulow
provided another failing case found in KDE, the way the
  ctxt->vctxt.nodeTab was allocated and freed changed over
  time but it wasn't completely cleaned up. This should fix it.
Daniel
2001-06-19 11:07:54 +00:00
Daniel Veillard
e3c81b50bf - tree.c: fixed xmlHasNsProp() accordingly to bug #55683
- doc/xml.html: updated with 2.3.11
Daniel
2001-06-17 14:50:34 +00:00
Daniel Veillard
ca2366aafd grrr ... namespace is a C++ reserved keyword Daniel
* tree.[ch]: grrr ... namespace is a C++ reserved keyword
Daniel
2001-06-11 12:09:01 +00:00
Daniel Veillard
9cc6dc62f7 - xmlversion.h.in libxml.h: Cygwin patches
- tree.c: xmlFreeNodeList patch similar to xmlFreeNode one
- tree.h: cleanup
Daniel
2001-06-11 08:09:20 +00:00
Daniel Veillard
acd370fb1a - tree.c: patched xmlFreeNode() to avoid freeing() a static
memory block in a strange case where libxml is linked twice
  in the binary.
Daniel
2001-06-09 17:17:51 +00:00