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

1508 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Daniel Veillard
4e9b1bc21c trying to fix #114277 about when file remapping and escaping should really
* parser.c xmlIO.c: trying to fix #114277 about when file
  remapping and escaping should really be attempted.
Daniel
2003-06-09 10:30:33 +00:00
Daniel Veillard
a37aab845c applied a patch from Gman for building docs applied a patch from Gary
* doc/*: applied a patch from Gman for building docs
* valid.c xmllint.c include/libxml/valid.h: applied a patch from
  Gary Pennington to provide an allocator for xmlValidCtxt
* xmlreader.c: applied patch from Jacek Konieczny fixing bug
  #113580 about data not being passed immediately.
Daniel
2003-06-09 09:10:36 +00:00
Daniel Veillard
e13261148b applied a couple of patches from Mark Itzcovitz to handle saving back
* tree.c: applied a couple of patches from Mark Itzcovitz
  to handle saving back "UTF-16" documents.
Daniel
2003-06-05 09:32:20 +00:00
Daniel Veillard
a84c0b30c4 commiting some work done while in the Maldives (hence the timezone on the
* relaxng.c xmlschemas.c include/libxml/schemasInternals.h: commiting
  some work done while in the Maldives (hence the timezone on the
  laptop !)
* result/schemas/length3* test/schemas/deter0_*
  test/schemas/group0_*: some tests added too
Daniel
2003-06-02 16:58:46 +00:00
Daniel Veillard
8caa9c2c97 small fix fixed an error message Daniel
* encoding.c: small fix
* xmlIO.c: fixed an error message
Daniel
2003-06-02 13:35:24 +00:00
Daniel Veillard
0e0f37a35c fixing Red Hat bug #91013 where xmllint was accepting an improper UTF8
* parserInternals.c: fixing Red Hat bug #91013 where xmllint was
  accepting an improper UTF8 sequence
Daniel
2003-05-20 12:22:41 +00:00
Igor Zlatkovic
fb7f084573 ChangeLog 2003-05-17 11:31:20 +00:00
Igor Zlatkovic
84f8c6db65 *** empty log message *** 2003-05-17 10:55:38 +00:00
Daniel Veillard
5f5b7bb78e fixing bug #112904: html output method escaped plus sign character in URI
* HTMLtree.c: fixing  bug #112904: html output method escaped
  plus sign character in URI attribute.
Daniel
2003-05-16 17:19:40 +00:00
Daniel Veillard
781ac8b19b patch from Stphane Bidoul for setting up threads global defaults. this
* build_glob.py global.data globals.c parser.c
  include/libxml/globals.h: patch from Stphane Bidoul for setting
  up threads global defaults.
* doc/libxml2-api.xml: this extends the API with new functions
* python/tests/Makefile.am python/tests/reader2.py
  python/tests/thread2.py: integrated the associated testcase and
  fixed the error string used in reader2
Daniel
2003-05-15 22:11:36 +00:00
Daniel Veillard
38b80a8faa trying to conciliate --with-python= requirements and RPM builds, a PITA
* configure.in libxml.spec.in python/Makefile.am: trying
  to conciliate --with-python= requirements and RPM builds,
  a PITA really...
Daniel
2003-05-14 18:59:00 +00:00
Daniel Veillard
104caa3df0 oops last commit introduced a memory leak. Daniel
* HTMLparser.c: oops last commit introduced a memory leak.
Daniel
2003-05-13 22:54:05 +00:00
Daniel Veillard
e8b09e40f7 added --nonet option fixing #112803 by adding --nonet when calling
* xmllint.c doc/xmllint.xml: added --nonet option
* doc/Makefile.am: fixing #112803 by adding --nonet when calling
  xsltproc or xmllint
* doc/xmllint.xml doc/xmllint.1: also added --schema doc and
  rebuilt
* HTMLparser.c: cleaned up the HTML parser context build when
  using an URL
Daniel
2003-05-13 22:14:13 +00:00
Daniel Veillard
d437d32825 added a comment about bug #112902 Daniel
* libxml.spec.in: added a comment about bug #112902
Daniel
2003-05-13 21:07:01 +00:00
William M. Brack
3dd57f7981 Fixed bug 109942 2003-05-13 02:06:18 +00:00
Daniel Veillard
d72c7e339c PI nodes in external subset were not freed :-\ fixes bug #112842 Daniel
* tree.c: PI nodes in external subset were not freed :-\
  fixes bug #112842
Daniel
2003-05-12 21:55:03 +00:00
Daniel Veillard
75bb3bbf25 added --schema option to run WXS schema validation tried to improve error
* xmllint.c: added --schema option to run WXS schema validation
* xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h:
  tried to improve error reporting in the Schema code, some cleanup
  too.
Daniel
2003-05-12 15:25:56 +00:00
Daniel Veillard
82bbbd4f1e fixed some problems in the handling of errors, and attributes addressed by
* xmlschemas.c: fixed some problems in the handling of errors,
  and attributes addressed by references.
* test/schemas/* result/schemas/*: dropped the verbosity level
  and added a couple of new tests
Daniel
2003-05-11 20:16:09 +00:00
Daniel Veillard
adbb0e634f Stphane Bidoul found an off by one addressing error on the error
* relaxng.c: Stphane Bidoul found an off by one addressing
  error on the error handling.
Daniel
2003-05-10 20:02:45 +00:00
Daniel Veillard
a77cf71f45 trying to fix #112673 Daniel
* xmlschemastypes.c: trying to fix #112673
Daniel
2003-05-09 23:09:55 +00:00
Daniel Veillard
c3ca5ba405 removed multiple warning, this fixed a bug and should close #111574 Daniel
* DOCBparser.c catalog.c parser.c relaxng.c: removed multiple
  warning, this fixed a bug and should close #111574
Daniel
2003-05-09 22:26:28 +00:00
Daniel Veillard
37fc84d155 fixing bug #104081 with xs:all with an element holding minOccurs="0" added
* xmlschemas.c: fixing bug #104081 with xs:all with an element
  holding minOccurs="0"
* test/schemas/all_* result/schemas/all_*: added some regression
  tests for that bug
* xmllint.c xmlreader.c: patches from Joerg Schmitz-Linneweber and
  Garry Pennington to compile without schemas support.
Daniel
2003-05-09 19:38:15 +00:00
Daniel Veillard
a067e656fd fixed a problem with xmlUnlinkNode() for DTDs. Daniel
* tree.c: fixed a problem with xmlUnlinkNode() for DTDs.
Daniel
2003-05-01 08:03:46 +00:00