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

1742 Commits

Author SHA1 Message Date
Daniel Veillard
2a3fea37e1 applied speedup to xmlSearchNs() as suggested by Luca Padovani. Cleaned up
* tree.c: applied speedup to xmlSearchNs() as suggested by
  Luca Padovani. Cleaned up xmlSearchNsByHref() in the process
  applying the same trick.
Daniel
2003-09-12 09:44:56 +00:00
Daniel Veillard
3b7840cd6c adding namespace checkings while making sure they still parse as
* parser.c parserInternals.c tree.c include/libxml/parser.h
  include/libxml/xmlerror.h: adding namespace checkings
  while making sure they still parse as wellformed documents.
  Add an nsWellFormed status report to the context, and
  provide new appropriate error codes.
* Makefile.am result/namespaces/* test/namespaces/*: add
  specific regression testing for the new namespace support
* test/att5 result/noent/att5 result/att5 result/att5.sax:
  add more coverage for the attribute parsing and normalization
  code.
Daniel
2003-09-11 23:42:01 +00:00
Daniel Veillard
5f1e1f8a87 backport of a thread bugfix from 2_5_X branch Daniel
* threads.c: backport of a thread bugfix from 2_5_X branch
Daniel
2003-09-11 23:35:09 +00:00
Daniel Veillard
c6e20e44dd fixed a bug in one corner case of attribute parsing. Daniel
* parser.c: fixed a bug in one corner case of attribute parsing.
Daniel
2003-09-11 16:30:26 +00:00
Daniel Veillard
8e36e6a0be 2.6.0beta1 changes Fixing attribute normalization, might not be totally
* configure.in doc/* : 2.6.0beta1 changes
* SAX2.c hash.c parser.c parserInternals.c: Fixing attribute
  normalization, might not be totally fixed but this should
  make sure SAX event provide the right strings for attributes
  except entities for which libxml2 is different by default
  This should fix #109564
* result/attrib.xml.sax result/ent3.sax result/p3p.sax: minor changes
  in attribute callback values
* result/c14n/with-comments/example-4
  result/c14n/without-comments/example-4: this also fixes a subtle
  bug in the canonicalization tests.
Daniel
2003-09-10 10:50:59 +00:00
Daniel Veillard
e57ec790de Time to commit 3 days of work rewriting the parser internal,
fixing bugs and migrating to SAX2 interface by default. There
is some work letf TODO, like namespace validation and attributes
normalization (this break C14N right now)
* Makefile.am: fixed the test rules
* include/libxml/SAX2.h include/libxml/parser.h
  include/libxml/parserInternals.h SAX2.c parser.c
  parserInternals.c: changing the parser, migrating to SAX2,
  adding new interface to switch back to SAX1 or initialize a
  SAX block for v1 or v2. Most of the namespace work is done
  below SAX, as well as attribute defaulting
* globals.c: changed initialization of the default SAX handlers
* hash.c tree.c include/libxml/hash.h: added QName specific handling
* xmlIO.c: small fix
* xmllint.c testSAX.c: provide a --sax1 switch to test the old
  version code path
* result/p3p result/p3p.sax result/noent/p3p test/p3p: the new code
  pointed out a typo in a very old test namespace
Daniel
2003-09-10 10:50:59 +00:00
William M. Brack
c07329e2ab Implemented detection of compressed files, setting doc->compressed
* xmlIO.c include/libxml/xmlIO.h parser.c: Implemented detection
  of compressed files, setting doc->compressed appropriately
  (bug #120503).
2003-09-08 01:57:30 +00:00
Daniel Veillard
bbeb9f9e26 try to cope with the fact that apps may still have allocated smaller SAX
* parser.c: try to cope with the fact that apps may still
  have allocated smaller SAX callbak block
Daniel
2003-09-07 20:54:29 +00:00
Daniel Veillard
0fb1893539 allow to give -1 for undefined length in lookups first round of work on
* dict.c: allow to give -1 for undefined length in lookups
* include/libxml/parser.h parser.c parserInternals.c testSAX.c:
  first round of work on the new SAX2 interfaces, the API
  will change but commiting before changing for historical
  reference.
Daniel
2003-09-07 09:14:37 +00:00
William M. Brack
4811ba3bc2 fixed bug #121210 (callback to sax->error, sax->warning with wrong
* SAX2.c, xmlIO.c: fixed bug #121210 (callback to sax->error,
  sax->warning with wrong params).
2003-09-06 18:02:53 +00:00
Daniel Veillard
93625d300f patch from Stphane Bidoul to export globals entry points to the python
* include/libxml/globals.h: patch from Stphane Bidoul to export
  globals entry points to the python bindings
Daniel
2003-09-05 08:36:12 +00:00
Daniel Veillard
40412cda44 when creating a DOCTYPE use "html" lowercase by default instead of "HTML"
* HTMLparser.c: when creating a DOCTYPE use "html" lowercase
  by default instead of "HTML"
* parser.c xmlreader.c: optimization, gain a few % parsing speed by
  avoiding calls to "areBlanks" when not needed.
* include/libxml/parser.h include/libxml/tree.h: some structure
  extensions for future work on using per-document dictionaries.
Daniel
2003-09-03 13:28:32 +00:00
Daniel Veillard
4b1577f14a removing the SAXresults tree, keeping result in the same tree, added
* Makefile.am results/*.sax SAXResult/*: removing the SAXresults
  tree, keeping result in the same tree, added SAXtests to the
  default "make tests"
Daniel
2003-09-03 13:10:37 +00:00
Igor Zlatkovic
471cae4da0 *** empty log message *** 2003-09-02 14:00:49 +00:00
William M. Brack
008c06b479 fixed problem parsing xhtml docs small modification to avoid problem in
* doc/index.py: fixed problem parsing xhtml docs
* doc/xmlreader.html,doc/guidelines.html: small modification
  to avoid problem in python parsing.
* doc/search.php: fixed upper case filename problem for XSLT docs
2003-09-01 22:17:39 +00:00
Daniel Veillard
10acc2f37a patch from Mark Vakoc that allows compiling with XInclude but without
* xinclude.c: patch from Mark Vakoc that allows compiling
  with XInclude but without XPointer support.
Daniel
2003-09-01 20:59:40 +00:00
Daniel Veillard
e8553730ed Applied a patch from Kevin P. Fleming to add --libtool-libs option to
* configure.in xml2-config.in: Applied a patch from Kevin P. Fleming
  to add --libtool-libs option to xml2-config script.
Daniel
2003-09-01 20:33:14 +00:00
William M. Brack
3f47950374 new file added, giving some description of the documentation generation
* doc/README.docs, doc/Makefile.am: new file added,
  giving some description of the documentation generation process
* doc/search.php: fixed problem with upper case on filenames
2003-09-01 04:58:15 +00:00
Igor Zlatkovic
f5f3718703 *** empty log message *** 2003-08-29 10:25:28 +00:00
William M. Brack
cdfa286c39 enhanced code to compensate for pollution from Igor's header taint (quick
* doc/apibuild.py, doc/libxml2-api.xml: enhanced code
  to compensate for pollution from Igor's header taint
  (quick before Daniel notices)
2003-08-29 06:03:38 +00:00
Daniel Veillard
67906944fc fixed a namespace error on attribute reporting bug pointed out by Tobias
* SAX2.c: fixed a namespace error on attribute reporting bug
  pointed out by Tobias Reif
* test/p3p result/p3p result/noent/p3p: this test case was wrong
  using xmlsn instead of xmlns...
Daniel
2003-08-28 21:13:25 +00:00
Igor Zlatkovic
6590125e0f *** empty log message *** 2003-08-28 16:26:12 +00:00
MDT 2003 John Fleck
bc6734a5c5 add: doc/tutorial/api.html doc/tutorial/ar01s09.html
Thu Aug 28 08:59:51 MDT 2003 John Fleck <jfleck@inkstain.net>

	add:
	* doc/tutorial/api.html
	* doc/tutorial/ar01s09.html
	* doc/tutorial/includexpath.c
	updated
	* doc/tutorial/*.html
	fix my bad - forgot to check in new files when I last
	updated
2003-08-28 15:01:40 +00:00
Igor Zlatkovic
db0793aee6 *** empty log message *** 2003-08-28 12:35:02 +00:00
Igor Zlatkovic
19b8764833 fixed time inclusion for various compilers 2003-08-28 12:32:04 +00:00
Igor Zlatkovic
d37c1394a7 added few casts to shut the compiler warnings 2003-08-28 10:34:33 +00:00
Igor Zlatkovic
1bab92dbb0 fixed for mingw 2003-08-28 10:24:40 +00:00
Daniel Veillard
5805be2921 fixing bug #120870 try to avoid problem with uninitialized mutexes Daniel
* globals.c threads.c: fixing bug #120870 try to avoid problem
  with uninitialized mutexes
Daniel
2003-08-28 08:03:23 +00:00
Daniel Veillard
1ac24d36b1 fixed an error reporting bug in Relax-NG when we end up with multiple
* relaxng.c: fixed an error reporting bug in Relax-NG when we end
  up with multiple states, select the "best" one. Fix #120682
* result/relaxng/tutor11_2_3.err: small change resulting

* xmlschemastypes.c: applied base64 support patch from Anthony Carrico
2003-08-27 14:15:15 +00:00
Igor Zlatkovic
1f6c49b0f4 *** empty log message *** 2003-08-27 08:59:28 +00:00
Igor Zlatkovic
c879e4500a *** empty log message *** 2003-08-27 08:02:34 +00:00
Daniel Veillard
c1ffa0ab97 fixed bug #120386 again a problem introduced when trying to reuse automata
* relaxng.c: fixed bug #120386 again a problem introduced when
  trying to reuse automata for content validation. Fix a bug report
  problem on zeroOrMore
* result/relaxng/tutor3_7_err: change slightly error reporting.
Daniel
2003-08-26 13:56:48 +00:00
Daniel Veillard
68f8fad71e make sure the new header will be included when generating a new
* include/libxml/Makefile.am: make sure the new header will
  be included when generating a new distribution.
Daniel
2003-08-25 11:28:07 +00:00
Daniel Veillard
73827cbedf fixed a couple of stupid bugs in the state allocation routines which led
* relaxng.c: fixed a couple of stupid bugs in the state allocation
  routines which led to bug #120040 and the ones reported by
  Martijn Faassen
Daniel
2003-08-25 10:57:27 +00:00
Igor Zlatkovic
123e93d7ac *** empty log message *** 2003-08-25 10:37:11 +00:00
Igor Zlatkovic
0e7df82222 *** empty log message *** 2003-08-25 09:17:19 +00:00
Igor Zlatkovic
9ce224a234 no message 2003-08-25 09:03:05 +00:00
Daniel Veillard
11af42945f make the deprecated interfaces log an error message to be sure it won't
* SAX.c: make the deprecated interfaces log an error message
  to be sure it won't get used.
Daniel
2003-08-21 10:39:13 +00:00
Daniel Veillard
1af9a41f24 Adding new version of the SAX interface, it's not there yet, currently
* Makefile.am SAX2.c include/libxml/Makefile.am include/libxml/SAX2.h:
  Adding new version of the SAX interface, it's not there yet,
  currently just preparing the work
* globals.c parser.c SAX.c include/libxml/SAX.h
  include/libxml/globals.h include/libxml/parser.h: doing some
  refactoring of the SAXv1 interfaces, obsoleting a bunch of them
  while keeping functionalities, preparing SAX2 integration.
* dict.c: small cleanup.
Daniel
2003-08-20 22:54:39 +00:00
Daniel Veillard
e5984080ea fixes a small bug introduced in last commit and detected by valgrind.
* tree.c: fixes a small bug introduced in last commit and detected
  by valgrind.
Daniel
2003-08-19 22:21:13 +00:00
Daniel Veillard
6155d8aafa optimization when freeing hash tables. some tuning of buffer allocations
* dict.c hash.c: optimization when freeing hash tables.
* parser.c xmlIO.c include/libxml/tree.h: some tuning of buffer
  allocations
* parser.c parserInternals.c include/libxml/parser.h: keep a
  single allocated block for all the attributes callbacks,
  avoid useless malloc()/free()
* tree.c: do not realloc() when growing a buffer if the buffer
  ain't full, malloc/memcpy/free avoid copying memory.
Daniel
2003-08-19 15:01:28 +00:00
Daniel Veillard
66f68e716b added option --dtdvalidfpi for Tobias Reif Daniel
* xmllint.c doc/xmllint.xml doc/xmllint.1: added option
  --dtdvalidfpi for Tobias Reif
Daniel
2003-08-18 16:39:51 +00:00
Daniel Veillard
2fdbd32d51 new dictionary module to keep a single instance of the names used by the
* dict.c include/libxml/dict.h Makefile.am include/libxml/Makefile.am:
  new dictionary module to keep a single instance of the names used
  by the parser
* DOCBparser.c HTMLparser.c parser.c parserInternals.c valid.c:
  switched all parsers to use the dictionary internally
* include/libxml/HTMLparser.h include/libxml/parser.h
  include/libxml/parserInternals.h include/libxml/valid.h:
  Some of the interfaces changed as a result to receive or return
  "const xmlChar *" instead of "xmlChar *", this is either
  insignificant from an user point of view or when the returning
  value changed, those function are really parser internal methods
  that no user code should really change
* doc/libxml2-api.xml doc/html/*: the API interface changed and
  the docs were regenerated
Daniel
2003-08-18 12:15:38 +00:00
Daniel Veillard
7fb801f0ed applied patch to xmlCleanupParser from Dave Beckett Daniel
* parser.c: applied patch to xmlCleanupParser from Dave Beckett
Daniel
2003-08-17 21:07:26 +00:00
William M. Brack
a716ff11ed fixed part (2) of bug 119535 (wrong alpha case on filenames)
* doc/parsedecl.py, doc/libxml2-refs.xml, doc/API*.html:
  fixed part (2) of bug 119535 (wrong alpha case on filenames)
2003-08-16 14:58:33 +00:00
William M. Brack
c6e07559fa regenerated API documentation for xmlsoft.org (part of Bug 119535)
* doc/API*.html, doc/html/*: regenerated API documentation
  for xmlsoft.org (part of Bug 119535)
2003-08-16 12:44:47 +00:00
William M. Brack
7a82165d2e Minor changes to comments, etc. for improving documentation generation
* encoding.c, threads.c, include/libxml/HTMLparser.h,
  doc/libxml2-api.xml: Minor changes to comments, etc. for
  improving documentation generation
* doc/Makefile.am: further adjustment to auto-generation of
  win32/libxml2.def.src
2003-08-15 07:27:40 +00:00
Daniel Veillard
cfba2fe0bb preparing libxml2-2.5.10 release updated the doc and rebuilt Daniel
* News configure.in: preparing libxml2-2.5.10 release
* doc/* : updated the doc and rebuilt
Daniel
2003-08-15 00:33:43 +00:00
Daniel Veillard
bf1e3d8346 fixing the xmlSAXParseDTD bug #119536 raised by Malcolm Tredinnick with
* parser.c: fixing the xmlSAXParseDTD bug #119536 raised by
  Malcolm Tredinnick with the patch he suggested.
Daniel
2003-08-14 23:57:26 +00:00
Daniel Veillard
e8ed62033c allocation error #119784 raised by Oliver Stoeneberg Daniel
* HTMLparser.c: allocation error #119784 raised by Oliver Stoeneberg
Daniel
2003-08-14 23:39:01 +00:00
Daniel Veillard
608d0ac938 fixing an use of strcpy() where both strings overlap pointed out by
* uri.c: fixing an use of strcpy() where both strings overlap
  pointed out by valgrind.
Daniel
2003-08-14 22:44:25 +00:00
Daniel Veillard
9848532c2a get rid of some compilation warnings. fix the performance problem reported
* DOCBparser.c globals.c include/libxml/xmlmemory.h: get rid of
  some compilation warnings.
* xinclude.c: fix the performance problem reported by Kevin Ruscoe
  plus some cleanup and better error reporting.
Daniel
2003-08-14 15:44:40 +00:00
Daniel Veillard
ab1ae3a768 applied UTF-16 encoding handling patch provided by Mark Itzcovitz more
* encoding.c: applied UTF-16 encoding handling patch provided by
  Mark Itzcovitz
* encoding.c parser.c: more cleanup and fixes for UTF-16 when
  not having iconv support.
Daniel
2003-08-14 12:19:54 +00:00
Daniel Veillard
1638a47a88 Applied patch from Mikhail Grushinskiy for mingw compiler on Windows.
* Makefile.am configure.in example/Makefile.am libxml.h nanoftp.c
  nanohttp.c xmllint.c: Applied patch from Mikhail Grushinskiy for
  mingw compiler on Windows.
Daniel
2003-08-14 01:23:25 +00:00
Daniel Veillard
b19ba83f07 fixed the serious CPU usage problem reported by Grant Goodale applied
* parser.c: fixed the serious CPU usage problem reported by
  Grant Goodale
* HTMLparser.c: applied patch from Oliver Kidman about a free
  missing in htmlSAXParseDoc
Daniel
2003-08-14 00:33:46 +00:00
William M. Brack
ccf9e39d97 Removed dependency from libxml2.def.src
* doc/Makefile.am: Removed dependency from libxml2.def.src
2003-08-13 14:50:18 +00:00
William M. Brack
476cd96411 took away the requirement for automake-1.4, changed the messages for
* autogen.sh: took away the requirement for automake-1.4,
  changed the messages for getting auto* tools to current
  gnu pages.
* configure.in, configure: added check for Linux Dec alpha
  requiring -ieee flag, fixed test for ipv6
* trionan.c: fixed problem for compiling on Linux Dec alpha
  using native compiler
* doc/Makefile.am: implemented regeneration of win32/libxml2.def.src
  whenever libxml2-api.xml is changed.
2003-08-13 11:09:42 +00:00
Daniel Veillard
6b621b8938 cleaning up a problem when parsing UTF-16 and libiconv is not used. Daniel
* parser.c: cleaning up a problem when parsing UTF-16 and libiconv
  is not used.
Daniel
2003-08-11 15:03:34 +00:00
William M. Brack
3090942781 renerated with fixed libxml2-api.xml
* win32/libxml2.def.src: renerated with fixed libxml2-api.xml
2003-08-10 00:14:20 +00:00
Daniel Veillard
83ee40de75 preparing libxml2-2.5.9 release updated the doc and rebuilt Daniel
* News configure.in: preparing libxml2-2.5.9 release
* doc/* : updated the doc and rebuilt
Daniel
2003-08-09 22:24:09 +00:00
Daniel Veillard
0ab6fa01f5 changing an enum definition to get a correct API XML description. This was
* include/libxml/xmlreader.h doc/libxml2-api.xml: changing an enum
  definition to get a correct API XML description. This was apparently
  breaking Windows build.
Daniel
2003-08-09 18:01:53 +00:00
Daniel Veillard
14f752c2b7 fixed a nasty bug #119387, bad heuristic from the progressive HTML parser
* HTMLparser.c: fixed a nasty bug #119387, bad heuristic from
  the progressive HTML parser front-end on large character data
  island leading to an erroneous end of data detection by the
  parser. Some cleanup too to get closer from the XML progressive
  parser.
Daniel
2003-08-09 11:44:50 +00:00
William M. Brack
6d13f33d87 Added in support for the ISO8859X module (patch provided by Jesse Pelton)
* win32/configure.js: Added in support for the ISO8859X
  module (patch provided by Jesse Pelton)
2003-08-08 16:40:36 +00:00
Daniel Veillard
70bcb0ea24 hum try to avoid some troubles when the library is not initialized and one
* HTMLtree.c tree.c threads.c: hum try to avoid some troubles
  when the library is not initialized and one try to save, the
  locks in threaded env might not been initialized, playing safe
* xmlschemastypes.c: apply patch for hexBinary from Charles Bozeman
* test/schemas/hexbinary_* result/schemas/hexbinary_*: also added
  his tests to the regression suite.
Daniel
2003-08-08 14:00:28 +00:00
William M. Brack
41e6bed5d8 Bug 119343 (with apologies to Igor) - Enhanced handling of docb and
* win32/defgen.xsl, win32/libxml2.def.src: Bug 119343
(with apologies to Igor) - Enhanced handling of docb and
nanohttp.
2003-08-08 10:53:06 +00:00
William M. Brack
16db7b6ee4 further small changes for warnings when configured with --with-iconv=no
* encoding.c: further small changes for warnings when
  configured with --with-iconv=no
2003-08-07 13:12:49 +00:00
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
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
Daniel Veillard
61c5220296 try to fix Red hat bug #89957, do not output -L/usr/lib64 fixed a typo in
* xml2-config.in: try to fix Red hat bug #89957, do not
  output -L/usr/lib64
* xmlreader.c: fixed a typo in a comment
Daniel
2003-04-30 12:20:34 +00:00
MDT 2003 John Fleck
6d68f616d4 doc/tutorial/aph.html, ix01.html forgot to cvs add the new files. Thanks
Tue Apr 29 07:32:02 MDT 2003 John Fleck <jfleck@inkstain.ent>

	* doc/tutorial/aph.html, ix01.html
	forgot to cvs add the new files. Thanks to Roland van Laar
	for pointing this out
2003-04-29 13:33:21 +00:00
Daniel Veillard
d433046ae5 fixing a function comment switching to the XML/XSLT doc generation closing
* xmlschemas.c doc/libxml2-api.xml: fixing a function comment
* doc/Makefile.am doc/apibuild.py doc/gnome-xml.sgml: switching
  to the XML/XSLT doc generation closing #111799
* doc/html/*: complete update of the HTML results
Daniel
2003-04-29 12:40:16 +00:00
Igor Zlatkovic
a28d236577 *** empty log message *** 2003-04-28 12:56:01 +00:00
Daniel Veillard
94bb2f1ca6 applied patch from Stphane Bidoul for the Python bindings on the new
* win32/configure.js python/setup.py.in: applied patch
  from Stphane Bidoul for the Python bindings on the new
  release.
Daniel
2003-04-27 22:14:07 +00:00
Igor Zlatkovic
34656b48e3 *** empty log message *** 2003-04-27 16:00:05 +00:00
Daniel Veillard
1177ca42ab updated the web site separated developers from common pages, made the
* NEWS doc/*.xsl doc/*.html: updated the web site separated
  developers from common pages, made the transition to XHTML1,
  added validity checking to the makefile rules.
Daniel
2003-04-26 22:29:54 +00:00
Daniel Veillard
329456ab09 fix for xmlIOParseDTD same as previous and reported by Petr Pajas Daniel
* parser.c: fix for xmlIOParseDTD same as previous and reported
  by Petr Pajas
Daniel
2003-04-26 21:21:00 +00:00
Daniel Veillard
c6abc3d85f applied fix to xmlSAXParseDTD from Malcolm Tredinnick closing #111638
* parser.c: applied fix to xmlSAXParseDTD from Malcolm Tredinnick
  closing #111638
Daniel
2003-04-26 13:27:30 +00:00
Daniel Veillard
2b32e6f34c fixed a problem in the generator where the way functions are remapped as
* python/generator.py: fixed a problem in the generator where
  the way functions are remapped as methods on classes was
  not symetric and dependant on python internal hash order,
  as reported by Stphane Bidoul
Daniel
2003-04-26 12:03:54 +00:00
MDT 2003 John Fleck
8aff3b7d20 xmltutorial.xml xmltutorial.pdf *.html add appendix on generating compiler
Fri Apr 25 21:52:33 MDT 2003 John Fleck <jfleck@inkstain.net>

	* doc/tutorial:
	xmltutorial.xml
	xmltutorial.pdf
	*.html
	add appendix on generating compiler flags, more indexing
2003-04-26 03:54:07 +00:00
Daniel Veillard
1c960272c2 applied patch from Craig A. Berry to get libxml-2.5.7 to compile on
* triodef.h vms/build_libxml.com: applied patch from Craig A. Berry
  to get libxml-2.5.7 to compile on OpenVMS
Daniel
2003-04-25 23:12:22 +00:00
Daniel Veillard
c557346417 fixing an xmlParseDTD bug raised by Petr Pajas Daniel
* parser.c: fixing an xmlParseDTD bug raised by Petr Pajas
Daniel
2003-04-25 16:43:49 +00:00
Daniel Veillard
fd5834100f automated the generation of the man page based on xsltproc and a
* doc/Makefile.am doc/xmlcatalog.1 doc/xmlcatalog_man.xml
  doc/xmllint.1 doc/xmllint.xml: automated the generation of the
  man page based on xsltproc and a stylesheet PI in the XML.
Daniel
2003-04-25 13:22:10 +00:00
Daniel Veillard
dc07e18ba6 trying to fix #110541 where &nbsp; generated character preventing
* doc/xmllint.*: trying to fix #110541 where &nbsp; generated
  character preventing rendering by the man command.
Daniel
2003-04-25 10:39:38 +00:00
Daniel Veillard
92fc02cc52 preparing release 2.5.7 updated and rebuilt the docs fixed the script
* NEWS configure.in: preparing release 2.5.7
* doc/*: updated and rebuilt the docs
* doc/apibuild.py: fixed the script
Daniel
2003-04-24 23:12:35 +00:00
Daniel Veillard
de0a0a5a25 make sure the OOM code don't get in the way of the builds automatic update
* Makefile.am doc/apibuild.py: make sure the OOM code don't
  get in the way of the builds
* doc/libxml2-api.xml python/libxml2class.txt: automatic update
Daniel
2003-04-24 17:12:57 +00:00
Daniel Veillard
a76fe5ca11 integrated the Out Of Memory test from Havoc Pennington #109368 a lot of
* Makefile.am testOOM.c testOOMlib.[ch] : integrated the Out Of
  Memory test from Havoc Pennington #109368
* SAX.c parser.c parserInternals.c tree.c uri.c valid.c
  xmlmemory.c xmlreader.c xmlregexp.c include/libxml/tree.h
  include/libxml/parser.h: a lot of memory allocation cleanups
  based on the results of the OOM testing
* check-relaxng-test-suite2.py: seems I forgot to commit the
  script.
Daniel
2003-04-24 16:06:47 +00:00
Daniel Veillard
18f113da8c trivial fix for 109774 removing a warning Daniel
* xmlschemastypes.c: trivial fix for 109774 removing a warning
Daniel
2003-04-23 15:18:26 +00:00
Daniel Veillard
85095e2c07 try to find more places where xmlCanonicPath() must be used to convert
* DOCBparser.c SAX.c catalog.c debugXML.c parser.c: try to find
  more places where xmlCanonicPath() must be used to convert
  filenames to URLs, trying to fix #111088
Daniel
2003-04-23 13:56:44 +00:00
Daniel Veillard
5439624bd9 applied patch from Brent M Hendricks adding binding for xmlCatalogAddLocal
* python/libxml.c python/libxml.py: applied patch from
  Brent M Hendricks adding binding for xmlCatalogAddLocal
Daniel
2003-04-23 07:36:50 +00:00
Daniel Veillard
45269b8bb9 tried to fix #98879 again in a more solid way. Daniel
* HTMLparser.c: tried to fix #98879 again in a more solid
  way.
Daniel
2003-04-22 13:21:57 +00:00
Igor Zlatkovic
94f4884379 *** empty log message *** 2003-04-22 12:00:37 +00:00
Daniel Veillard
f431eb8144 applied the patch provided by Brent Hendricks fixing #105992 and
* SAX.c test/valid/ns* test/result/ns*: applied the patch
  provided by Brent Hendricks fixing #105992 and integrated the
  examples in the testsuite.
Daniel
2003-04-22 08:37:26 +00:00
Daniel Veillard
c4f65abe30 updated a bit fixed the comment, threads now default to on fixed an
* TODO: updated a bit
* configure.in: fixed the comment, threads now default to on
* parserInternals.c: fixed an erroneous xmlMallocAtomic() call
Daniel
2003-04-21 23:07:45 +00:00
Daniel Veillard
a880b12475 a lot of performance work especially the speed of streaming through the
* globals.c libxml.h parser.c parserInternals.c tree.c xmllint.c
  xmlreader.c include/libxml/parser.h: a lot of performance work
  especially the speed of streaming through the reader and push
  interface. Some thread related optimizations. Nearly doubled the
  speed of parsing through the reader.
Daniel
2003-04-21 21:36:41 +00:00
MDT 2003 John Fleck
83c8a5cd31 doc/xmllint.xml doc/xmllint.1 update man page to explain use of --stream
Sun Apr 20 10:36:05 MDT 2003 John Fleck <jfleck@inkstain.net>

	* doc/xmllint.xml
	* doc/xmllint.1
	update man page to explain use of --stream
2003-04-20 16:45:07 +00:00
Daniel Veillard
3c908dca47 added xmlMallocAtomic() to be used when allocating blocks which do not
* DOCBparser.c HTMLparser.c c14n.c catalog.c encoding.c globals.c
  nanohttp.c parser.c parserInternals.c relaxng.c tree.c uri.c
  xmlmemory.c xmlreader.c xmlregexp.c xpath.c xpointer.c
  include/libxml/globals.h include/libxml/xmlmemory.h: added
  xmlMallocAtomic() to be used when allocating blocks which
  do not contains pointers, add xmlGcMemSetup() and xmlGcMemGet()
  to allow registering the full set of functions needed by
  a garbage collecting allocator like libgc, ref #109944
Daniel
2003-04-19 00:07:51 +00:00
Daniel Veillard
8494271318 switched to have thread support enabled by default, didn't got troubles
* configure.in: switched to have thread support enabled by default,
  didn't got troubles with ABI compatibility on Linux, hope it
  won't break on strange OSes, if yes, report the system ID
* doc/libxml2-api.xml: just rebuilt the API
Daniel
2003-04-18 14:40:05 +00:00
Daniel Veillard
3e59fc52d5 added support for large file, tested with a 3+GB instance, and some
* libxml.h include/libxml/parser.h parser.c xmlIO.c DOCBparser.c:
  added support for large file, tested with a 3+GB instance,
  and some cleanup.
* catalog.c: added a TODO
* Makefile.am: added some "make tests" comments
Daniel
2003-04-18 12:34:58 +00:00
Daniel Veillard
ac297930c2 some cleanups extended the document to cover RelaxNG and tree operations
* relaxng.c: some cleanups
* doc/xmlreader.html: extended the document to cover RelaxNG and
  tree operations
* python/tests/Makefile.am python/tests/reader[46].py: added some
  xmlReader example/regression tests
* result/relaxng/tutor*.err: updated the output of a number of tests
Daniel
2003-04-17 12:55:35 +00:00
Daniel Veillard
621636042b valgrind pointed out an uninitialized variable error. Daniel
* relaxng.c: valgrind pointed out an uninitialized variable error.
Daniel
2003-04-17 09:36:38 +00:00
Daniel Veillard
33300b49f0 augnemting the APIs, cleanups. cleanup bug #111005 added some missing
* include/libxml/relaxng.h relaxng.c include/libxml/xmlreader.h
  xmlreader.c: augnemting the APIs, cleanups.
* parser.c: cleanup bug #111005
* xmlIO.c: added some missing comments
Daniel
2003-04-17 09:09:19 +00:00
Daniel Veillard
ce192eb8a6 more work on RelaxNG streaming validation trying to improve the subset
* relaxng.c xmllint.c: more work on RelaxNG streaming validation
  trying to improve the subset compiled, and more testing.
* doc/downloads.html doc/xml.html doc/xmlmem.html: some updates on the
  documentation
* test/relaxng/tutor11_1_3.xml: fixes the DTD path
* result/relaxng/*.err: fix some of the outputs
Daniel
2003-04-16 15:58:05 +00:00
Daniel Veillard
f4e5576f8f implemented streaming of RelaxNG (when possible) on top of the xmlReader
* relaxng.c xmlreader.c xmllint.c include/libxml/relaxng.h
  include/libxml/xmlreader.h: implemented streaming of
  RelaxNG (when possible) on top of the xmlReader interface,
  provided it as xmllint --stream --relaxng .rng .xml
  This seems to mostly work.
* Makefile.am: updated to test RelaxNG streaming
Daniel
2003-04-15 23:32:22 +00:00
Daniel Veillard
c58f4efbd4 integrated the regexp based validity checking of fragments of the document
* relaxng.c include/libxml/relaxng.h: integrated the regexp
  based validity checking of fragments of the document for
  which the RNG can be compiled to regexps. Works on all regression
  tests, only fix needed is related to error messages.
Daniel
2003-04-14 16:11:26 +00:00
Daniel Veillard
52b48c7a7b Starting work precompiling parts of RelaxNG schemas. Not plugged onto
* relaxng.c xmlregexp.c include/libxml/xmlautomata.h
  include/libxml/xmlregexp.h: Starting work precompiling
  parts of RelaxNG schemas. Not plugged onto validity checking
  yet, just the regexp building part. Needed to extend some
  of the automata and regexp APIs.
Daniel
2003-04-13 19:53:42 +00:00
Daniel Veillard
f6bad798cf make sure xmllint --stream and xmllint --stream --valid returns errors
* xmllint.c xmlreader.c include/libxml/xmlreader.h: make sure
  xmllint --stream and xmllint --stream --valid returns errors
  code appropriately
Daniel
2003-04-11 19:38:54 +00:00
Daniel Veillard
c6cae7b690 Added the Expand() and Next() operation to work on subtrees within the
* xmlreader.c include/libxml/xmlreader.h: Added the Expand()
  and Next() operation to work on subtrees within the reader
  framework.
* doc/libxml2-api.xml python/libxml2class.txt: resulting updates
* python/tests/reader5.py: added an example for those new
  functions of the reader.
Daniel
2003-04-11 09:02:11 +00:00
Daniel Veillard
645c690d49 patch from Vasily Tchekalkin to fix #109865 Daniel
* HTMLtree.c: patch from Vasily Tchekalkin to fix #109865
Daniel
2003-04-10 21:40:49 +00:00
Daniel Veillard
9e07710b95 fixing HasValue for namespace as raised by Denys Duchier Daniel
* xmlreader.c: fixing HasValue for namespace as raised by
  Denys Duchier
Daniel
2003-04-10 13:36:54 +00:00
Daniel Veillard
02ea141495 exported htmlCreateMemoryParserCtxt() it was static Daniel
* HTMLparser.c include/libxml/HTMLparser.h:  exported
  htmlCreateMemoryParserCtxt() it was static
Daniel
2003-04-09 12:08:47 +00:00
Daniel Veillard
d3b9cd88d5 update from Charles Bozeman for date and duration types updated too Daniel
* xmlschemas.c xmlschemastypes.c include/libxml/xmlschemas.h:
  update from Charles Bozeman for date and duration types
* test/schemas/date_0.* test/schemas/dur_0.*
  result/schemas/date_0.* result/schemas/dur_0.*: updated too
Daniel
2003-04-09 11:24:17 +00:00
Daniel Veillard
c00cda8c06 fixing bug #107129, removing excessive allocation and calls to *printf in
* tree.c valid.c xpath.c include/libxml/tree.h include/libxml/valid.h:
  fixing bug #107129, removing excessive allocation and calls
  to *printf in the code to build QName strings.
Daniel
2003-04-07 10:22:39 +00:00
Igor Zlatkovic
6965118d3c *** empty log message *** 2003-04-05 09:43:30 +00:00
Daniel Veillard
adba5f1b0a fixed a possible problem with xmlRecoverMemory() Daniel
* parser.c: fixed a possible problem with xmlRecoverMemory()
Daniel
2003-04-04 16:09:01 +00:00
Daniel Veillard
a48ed3d6de Bjorn sent an update for the TRIO portability layer. Daniel
* trio.c trio.h triodef.h trionan.c trionan.h triop.h triostr.c
  triostr.h: Bjorn sent an update for the TRIO portability layer.
Daniel
2003-04-03 15:28:28 +00:00
Igor Zlatkovic
d6c8650b5a *** empty log message *** 2003-04-01 20:00:42 +00:00
Daniel Veillard
c2d4a93d4f preparing release 2.5.6 updated and rebuilt the docs Daniel
* configure.in NEWS: preparing release 2.5.6
* doc/*: updated and rebuilt the docs
Daniel
2003-04-01 11:13:05 +00:00
Daniel Veillard
e502041f5b fixed an uninitialized memory access pointed by valgrind on C14Ntests
* SAX.c: fixed an uninitialized memory access pointed by valgrind
  on C14Ntests
Daniel
2003-04-01 09:55:20 +00:00
Daniel Veillard
7fe1f3a502 one more fixup of error message reporting Daniel
* relaxng.c: one more fixup of error message reporting
Daniel
2003-03-31 22:13:33 +00:00
Daniel Veillard
5f1946ad7c more work on bug #109225, and fixed an uninitialized variable pointed out
* relaxng.c: more work on bug #109225, and fixed an uninitialized
  variable pointed out by valgrind
Daniel
2003-03-31 16:38:16 +00:00
Daniel Veillard
a507fbf3c2 try to work on bug #109225 and provide better error reports. this change
* relaxng.c: try to work on bug #109225 and provide better
  error reports.
* result/relaxng/* : this change the output of a number of tests
* xinclude.c: fixing the parsed entity redefinition problem
  raised on the list.
* test/schemas/date_0.xsd: updated the date test c.f. E2-12
Daniel
2003-03-31 16:09:37 +00:00
Daniel Veillard
b3721c2523 fixed date comparison to handle the tzo The only failures left are
* xmlschemastypes.c: fixed date comparison to handle the tzo
  The only failures left are disagreements on Notations and
  '+1' not being allowed for ulong, uint, ushort and ubyte.
Daniel
2003-03-31 11:22:25 +00:00
Daniel Veillard
455cc07308 fixed gMonth parsing routine accordingly to the XML Schemas errata
* xmlschemastypes.c: fixed gMonth parsing routine accordingly
  to the XML Schemas errata
  http://www.w3.org/2001/05/xmlschema-errata#e2-12
Daniel
2003-03-31 10:13:23 +00:00
Daniel Veillard
e637c4ad2e more work on XML Schemas datatypes and facets support. Currently only
* relaxng.c xmlschemastypes.c: more work on XML Schemas datatypes
  and facets support. Currently only schemas with binHex or
  base64 don't compile. A few error left in the test suite:
  found 1035 test instances: 919 success 23 failures
  most are gdate or gdateyear failing check, and a few cases where
  James clark tests results are strange.
* valid.c: allow to reuse the Notation checking routine without
  having a validation context.
* SAX.c: removed a #if 0
Daniel
2003-03-30 21:10:09 +00:00
Daniel Veillard
b6c7f415b7 forgot to apply one check from #106931 patch more work on XML Schemas
* xinclude.c: forgot to apply one check from #106931 patch
* xmlschemastypes.c: more work on XML Schemas datatypes
Daniel
2003-03-29 16:41:55 +00:00
Daniel Veillard
c4c215519f more work on cleaning up XML Schemas datatypes based on James Clark tests
* relaxng.c include/libxml/relaxng.h xmlschemastypes.c: more work
  on cleaning up XML Schemas datatypes based on James Clark tests
  test/xsdtest/xsdtest.xml
Daniel
2003-03-29 10:53:38 +00:00
Daniel Veillard
80b19092f2 implemented comparisons for Schemas values. fixed some bugs in duration
* relaxng.c: implemented comparisons for Schemas values.
* xmlschemastypes.c include/libxml/xmlschemastypes.h: fixed
  some bugs in duration handling, comparisons for durations
  and decimals, removed all memory leaks pointed out by James
  testsuite. Current status is now
  found 238 test schemas: 197 success 41 failures
  found 1035 test instances: 803 success 130 failures
Daniel
2003-03-28 13:29:53 +00:00
Daniel Veillard
91a1325beb fixed bugs and memory leaks in the W3C XML Schemas code implemented
* xmlschemas.c include/libxml/xmlschemas.h: fixed bugs and memory
  leaks in the W3C XML Schemas code
* xmlschemastypes.c: implemented nonPositiveInteger
* test/schemas/length2_0.xsd result/schemas/length2_0_0.err:
  fixed the test and result.
Daniel
2003-03-27 23:44:43 +00:00
Daniel Veillard
6560a42c7b two patches from James Bursa on the HTML parser and a typo reindenting,
* HTMLparser.c tree.c: two patches from James Bursa on the HTML
  parser and a typo
* xmlschemastypes.c: reindenting, fixing a memory access
  problem with dates.
Daniel
2003-03-27 21:25:38 +00:00
Daniel Veillard
6c5b2d3fff fixing #109227 providing more context in case of start/end tag mismatch
* parser.c: fixing #109227 providing more context in case of
  start/end tag mismatch
* python/tests/ctxterror.py python/tests/readererr.py: update the
  tests accordingly
Daniel
2003-03-27 14:55:52 +00:00
Daniel Veillard
d9b72839b3 should fix #109327 errors on memory accesses Daniel
* xinclude.c: should fix #109327 errors on memory accesses
Daniel
2003-03-27 14:24:00 +00:00
Daniel Veillard
c7e9b194e7 Fixed reopening of #78662 <form action="..."> is an URI reference Daniel
* HTMLtree.c: Fixed reopening of #78662 <form action="...">
  is an URI reference
Daniel
2003-03-27 14:08:24 +00:00
Daniel Veillard
e209b33055 fixed bug #109160 on non-ASCII IDs Daniel
* xpath.c: fixed bug #109160 on non-ASCII IDs
Daniel
2003-03-26 21:40:13 +00:00
Daniel Veillard
642104e116 Norm suggested a nicer error message for xml:space values errors Daniel
* parser.c: Norm suggested a nicer error message for xml:space values
  errors
Daniel
2003-03-26 16:32:05 +00:00