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

1558 Commits

Author SHA1 Message Date
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