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

1995 Commits

Author SHA1 Message Date
William M. Brack
a71a8ef127 further small changes to elminate most of the remaining warnings.
* error.c trionan.[ch] testThreads.c python/generator.py:
  further small changes to elminate most of the remaining
  warnings.
2003-08-06 04:43:55 +00:00
William M. Brack
c193956ee1 small changes to syntax to get rid of compiler warnings. No changes to
* error.c HTMLparser.c testC14N.c testHTML.c testURI.c
  xmlcatalog.c xmlmemory.c xmlreader.c xmlschemastypes.c
  python/libxml.c include/libxml/xmlmemory.h: small changes
  to syntax to get rid of compiler warnings.  No changes
  to logic.
2003-08-05 15:52:22 +00:00
Daniel Veillard
c758c229b4 rebuilt the API and docs. Daniel
* doc/libxml2-api.xml doc/html/*: rebuilt the API and docs.
Daniel
2003-08-04 20:42:34 +00:00
Daniel Veillard
20aa0fb478 fixed a small problem in the patch for #118763 this reverts back to the
* tree.c: fixed a small problem in the patch for #118763
* result/HTML/doc3.htm*: this reverts back to the previous result
Daniel
2003-08-04 19:43:15 +00:00
Daniel Veillard
91e69c5904 applied doc patch to xml.html and rebuilt, apparently some C++ wrappers
* doc/FAQ.html doc/xml.html: applied doc patch to xml.html
  and rebuilt, apparently some C++ wrappers are not available,
  c.f. bug #118943
Daniel
2003-08-04 01:43:07 +00:00
Daniel Veillard
39057f40d6 fixing HTML attribute serialization bug #118763 applying a modified
* tree.c: fixing HTML attribute serialization bug #118763
  applying a modified version of the patch from Bacek
* result/HTML/doc3.htm*: this modifies the output from one test
Daniel
2003-08-04 01:33:43 +00:00
Daniel Veillard
8d73bcb50f added a new API to split a QName without generating any memory allocation
* tree.c include/libxml/tree.h: added a new API to split a
  QName without generating any memory allocation
* valid.c: fixed another problem with namespaces on element
  in mixed content case
* python/tests/reader2.py: updated the testcase with
  Bjorn Reese fix to reader for unsignificant white space
* parser.c HTMLparser.c: cleanup.
Daniel
2003-08-04 01:06:15 +00:00
Daniel Veillard
5ee43b0600 trying to fix #118754 of possible recursion in the catalogs. Not
* catalog.c: trying to fix #118754 of possible recursion in the
  catalogs. Not fantastically happy about the current fix since
  it's likely to break under very thread intensive concurrent
  access to the catalog. Better solution might to keep the depth
  an extra argument to the resolution functions.
Daniel
2003-08-04 00:58:46 +00:00
Daniel Veillard
7b68df974b fixed bug #118712 about mixed content, and namespaced element names. added
* valid.c: fixed bug #118712 about mixed content, and namespaced
  element names.
* test/valid/mixed_ns.xml result/valid/mixed_ns*: added a check
  in the regression tests
Daniel
2003-08-03 22:58:54 +00:00
William M. Brack
779af00750 =Bug 118559 (continued) 2003-08-01 15:55:39 +00:00
William M. Brack
78637da0ea fixing bug 118559 2003-07-31 14:47:38 +00:00
Daniel Veillard
97e018861b applied a patch from William Brack about the problem of parsing very large
* HTMLparser.c: applied a patch from William Brack about
  the problem of parsing very large HTML instance with comments
  as raised by Nick Kew
Daniel
2003-07-30 18:59:19 +00:00
Daniel Veillard
d6038e0283 applying cleanup patch from Bjorn Reese for xmlTextReaderNodeType() and
* xmlreader.c include/libxml/xmlreader.h: applying cleanup
  patch from Bjorn Reese for xmlTextReaderNodeType() and
  significant whitespace. There is an enum for node type
  values now.
Daniel
2003-07-30 16:37:18 +00:00
Daniel Veillard
01fc1a9d5a applying patch from Peter Jacobi to added ISO-8859-x encoding support when
* encoding.c: applying patch from Peter Jacobi to added
  ISO-8859-x encoding support when iconv is not available
* configure.in include/libxml/xmlversion.h.in
  include/libxml/xmlwin32version.h.in: added the glue needed
  at the configure level and made it the default for Windows
Daniel
2003-07-30 15:12:01 +00:00
Daniel Veillard
c266464174 patch from Joachim Bauch + cleanup for Relax NG error callbacks in python
* python/generator.py python/libxml.c python/libxml2class.txt:
  patch from Joachim Bauch + cleanup for Relax NG error callbacks
  in python
Daniel
2003-07-29 20:44:53 +00:00
Daniel Veillard
a6874ca47c applied Peter Jacobi encoding cleanup patch, and also avoided a possible
* parser.c parserInternals.c tree.c: applied Peter Jacobi encoding
  cleanup patch, and also avoided a possible memory leak
Daniel
2003-07-29 16:47:24 +00:00
Daniel Veillard
9ff7de14ae fix the previous commit Daniel
* encoding.c: fix the previous commit
Daniel
2003-07-29 13:30:42 +00:00
William M. Brack
4a557d97bf fixed problem with comments reported by Nick Kew added routines
* HTMLparser.c: fixed problem with comments reported by Nick Kew
* encoding.c: added routines xmlUTF8Size and xmlUTF8Charcmp for
  some future cleanup of UTF8 handling
2003-07-29 04:28:04 +00:00
Daniel Veillard
9deb242b55 applied a change suggested by Sean Griffin in bug #118494 about a memory
* xpath.c: applied a change suggested by Sean Griffin in bug
  #118494 about a memory leak in EXSLT
Daniel
2003-07-28 20:40:59 +00:00
Daniel Veillard
d94849b092 fixed a Relax-NG compilation/streaming bug introduced when fixing the
* relaxng.c: fixed a Relax-NG compilation/streaming bug introduced
  when fixing the previous Relax-NG bugs
* result/relaxng/*: This slightly changes the output messages of
  some regression tests.
* configure.in: added support of -with-fexceptions for nested C++
  support.
Daniel
2003-07-28 13:02:24 +00:00
MDT 2003 John Fleck
63f3a47dbf doc/tutorial/apa.html doc/tutorial/apb.html doc/tutorial/apc.html
Thu Jul 24 15:46:02 MDT 2003 John Fleck <jfleck@inkstain.net>

	* doc/tutorial/apa.html
	* doc/tutorial/apb.html
	* doc/tutorial/apc.html
	* doc/tutorial/apd.html
	* doc/tutorial/ape.html
	* doc/tutorial/apf.html
	* doc/tutorial/apg.html
	* doc/tutorial/aph.html
	* doc/tutorial/ar01s02.html
	* doc/tutorial/ar01s03.html
	* doc/tutorial/ar01s04.html
	* doc/tutorial/ar01s05.html
	* doc/tutorial/ar01s06.html
	* doc/tutorial/ar01s07.html
	* doc/tutorial/ar01s08.html
	* doc/tutorial/index.html
	* doc/tutorial/ix01.html
	* doc/tutorial/xmltutorial.pdf
	* doc/tutorial/xmltutorial.xml
	update tutorial with XPath example
2003-07-24 21:48:30 +00:00
Daniel Veillard
597bc48bab fixing a bug about a special case of namespace handling, this closes bug
* SAX.c parser.c: fixing a bug about a special case of namespace
  handling, this closes bug #116841
Daniel
2003-07-24 16:08:28 +00:00
Daniel Veillard
5373ea124f Fixing some uppercase fragment identifier pointing to generated docs, Daniel 2003-07-24 13:09:13 +00:00
Daniel Veillard
2134ab18c7 checked and fixed the compilation of RNG schemas, fixes a couple of bugs
* relaxng.c result/relaxng/*: checked and fixed the compilation
  of RNG schemas, fixes a couple of bugs #117097 and #117001 .
  This slightly changes the output messages of some regression tests.
Daniel
2003-07-23 19:56:29 +00:00
Daniel Veillard
c127adc808 fixed an out of bound error #118052 , the good part if that base64 code
* xmlreader.c: fixed an out of bound error #118052 , the good
  part if that base64 code was not in use yet ...
Daniel
2003-07-23 15:07:08 +00:00
MDT 2003 John Fleck
2ae05c7e95 doc/xmllint.html include html version of the xmllint man page, so an
Tue Jul 22 19:42:15 MDT 2003 John Fleck <jfleck@inkstain.net>

	* doc/xmllint.html
	include html version of the xmllint man page, so an
	up-to-date version is visible on the Web
2003-07-23 01:43:53 +00:00
Daniel Veillard
8edf1c5c6c added a new API xmlXIncludeProcessTree() to process XInclude only on a
* xinclude.c include/libxml/xinclude.h: added a new API
  xmlXIncludeProcessTree() to process XInclude only on a subtree
  this should fix bug #115385
Daniel
2003-07-22 20:52:14 +00:00
Daniel Veillard
cbbd78da9b Applied fix for "wb" open flag, Daniel 2003-07-20 15:21:30 +00:00
Daniel Veillard
409a8147c1 adding Get interface for the error callback and parameters of parsing and
* relaxng.c include/libxml/relaxng.h: adding Get interface for
  the error callback and parameters of parsing and validation
  contexts
* xmlreader.c: patch to fix bug #117702 about incomplete Read()
  on text nodes.
Daniel
2003-07-18 15:16:57 +00:00
Daniel Veillard
2dcb937a9a patch from Dodji Seketeli about UTF16 BOM when using the push XML parser.
* parserInternals.c: patch from Dodji Seketeli about UTF16 BOM
  when using the push XML parser.
* result/utf16bom.xml result/noent/utf16bom.xml test/utf16bom.xml:
  added the test to the regression suite.
Daniel
2003-07-16 21:18:19 +00:00
Daniel Veillard
2009c4ed4d add xmlThrDefMutex = NULL in xmlCleanupGlobals() as suggested by Rob
* globals.c: add xmlThrDefMutex = NULL in xmlCleanupGlobals()
  as suggested by Rob Richards
Daniel
2003-07-15 20:04:34 +00:00
Daniel Veillard
34ba387936 removed some warnings by casting xmlChar to unsigned int and a couple of
* DOCBparser.c HTMLparser.c entities.c parser.c relaxng.c
  xmlschemas.c xpath.c: removed some warnings by casting xmlChar
  to unsigned int and a couple of others.
* xmlschemastypes.c: fixes a segfault on empty hexBinary strings
Daniel
2003-07-15 13:34:05 +00:00
Daniel Veillard
3dc93a4243 cleanup patches from Peter Breitenlohner Daniel
* nanoftp.c nanohttp.c: cleanup patches from Peter Breitenlohner
Daniel
2003-07-10 14:04:33 +00:00
Daniel Veillard
df101d832d fixes some problem when freeing unititialized mutexes Daniel
* globals.c threads.c: fixes some problem when freeing unititialized
  mutexes
Daniel
2003-07-08 14:03:36 +00:00
Daniel Veillard
2db8c125be the modules should not import <config.h> directly, some cleanups Peter
* nanoftp.c nanohttp.c: the modules should not import <config.h>
  directly, some cleanups
* xmlschemas.c: Peter Sobisch found a nasty bug in the Schemas
  validation code.
Daniel
2003-07-08 12:16:59 +00:00
Daniel Veillard
13d07cdc0b Jesse Pelton pointed out a problem in the javascript code. Daniel
* win32/configure.js: Jesse Pelton pointed out a problem in the
  javascript code.
Daniel
2003-07-07 16:02:41 +00:00
Daniel Veillard
75eb1adc04 regenerated might fix includes problems with the Ipv6 support on solaris
* NEWS doc/*: regenerated
* nanoftp.c nanohttp.c: might fix includes problems with the
  Ipv6 support on solaris
* tree.c: patch from Markus Keim about xmlHasNsProp() on attributes
  defined as #IMPLIED
Daniel
2003-07-07 14:42:44 +00:00
Daniel Veillard
95c09d9abd Update of docs, Daniel 2003-07-07 12:11:06 +00:00
Daniel Veillard
560c2a441b preparing release 1.5.8 changed some preprocessor block applied patch from
* configure.in doc/*: preparing release 1.5.8
* nanohttp.c: changed some preprocessor block
* xmlschemastypes.c: applied patch from Charles Bozeman adding
  hexBinary schema datatype and adding support for totalDigits and
  fractionDigits facets.
Daniel
2003-07-06 21:13:49 +00:00
Daniel Veillard
7a985a18c2 fixed 2 bugs pointed in #116448 Daniel
* debugXML.c xpath.c: fixed 2 bugs pointed in #116448
Daniel
2003-07-06 17:57:42 +00:00
Daniel Veillard
ffe4f5ec16 fixed bug #116095 removing the error message when reapplying XInclude to a
* xinclude.c: fixed bug #116095 removing the error message when
  reapplying XInclude to a document.
Daniel
2003-07-06 17:35:43 +00:00
Daniel Veillard
598bec37b8 Libxml2 is not just "for Gnome", this is still confusing people, Daniel 2003-07-06 10:02:03 +00:00
Daniel Veillard
1997c3e259 applied small changes to portability layer for compilation on DJGPP Ms-DOS
* xmlIO.c: applied small changes to portability layer for
  compilation on DJGPP Ms-DOS compiler.
Daniel
2003-07-05 20:43:43 +00:00
Daniel Veillard
d9d32aebd3 use the character() SAX callback if the cdataBlock ain't defined. fix bug
* parser.c HTMLparser.c: use the character() SAX callback
  if the cdataBlock ain't defined.
* xpath.c: fix bug #115349 allowing compilation when configured
  with --without-xpath since the Schemas code needs NAN and co.
Daniel
2003-07-05 20:32:43 +00:00
William M. Brack
59002e7bea Fixed multithreading problem 2003-07-04 17:01:59 +00:00
Daniel Veillard
de2a67b430 Applying IPv6 patch from Archana Shah <archana.shah@wipro.com>
closing bug #114837

* configure.in: Added checks for IPv6 support and getaddrinfo().

* acconfig.h: Defined HAVE_GETADDRINFO and SUPPORT_IP6.

* config.h.in: Defined HAVE_GETADDRINFO and SUPPORT_IP6.

* nanoftp.c: Structure xmlNanoFTPCtxt contains either sockaddr_storage
  field or sockaddr_in field, depending upon the availability of IPv6
  support.
  have_ipv6(): Added to check for run-time IPv6 support.
  (xmlNanoFTPScanURL), (xmlNanoFTPUpdateURL), (xmlNanoFTPScanProxy):
  Modified to parse a URI with IPv6 address given in [].
  (xmlNanoFTPConnect): Changed to use getaddrinfo for address
  resolution, if it is available on the system, as gethostbyname
  does not return IPv6 addresses on some platforms.
  (xmlNanoFTPGetConnection): Modified type of dataAddr variable to
  sockaddr_storage or sockaddr_in depending upon the IPv6 support.
  Sending EPSV, EPRT or PASV, PORT depending upon the type of address
  we are dealing with.

* nanohttp.c: (have_ipv6): Added to check for run-time IPv6 support.
  (xmlNanoHTTPScanURL), (xmlNanoHTTPScanProxy): Modified to parse
  a URI with IPv6 address given in [].
  (xmlNanoHTTPConnectHost): Modified to use getaddrinfo if it is
  available on the system. Also IPv6 addresses will be resolved by
  gethostbyname only if IPv6 run-time support is available.
  (xmlNanoHTTPConnectAttempt): Modified to deal with IPv6 address.

Daniel
2003-06-21 14:20:04 +00:00
Igor Zlatkovic
e8b5b0f148 small addition to bcb patch 2003-06-16 07:12:50 +00:00
Igor Zlatkovic
72f92a882c applied the BCB patch by Eric Zurcher 2003-06-14 16:48:26 +00:00
Daniel Veillard
d7cec92629 reverted back patch for #113521, due to #115104 and while fixing #115101 .
* doc/Makefile.am doc/html/*: reverted back patch for #113521,
  due to #115104 and while fixing #115101 . HTML URLs must not
  be version dependant.
Daniel
2003-06-13 12:30:10 +00:00
Daniel Veillard
8265a18a6a do not generate &quot; for " outside of attributes this changes the output
* entities.c: do not generate &quot; for " outside of attributes
* result//*: this changes the output of some tests
Daniel
2003-06-13 10:05:56 +00:00