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

2405 Commits

Author SHA1 Message Date
Daniel Veillard
219245203a fixed xmllint --memory --stream memory consumption on large file by using
* xmlreader.c: fixed xmllint --memory --stream memory consumption
  on large file by using xmlParserInputBufferCreateStatic() with
  the mmap'ed file
Daniel
2004-02-19 16:37:07 +00:00
Daniel Veillard
49138f1933 some clarification in xmlDocDumpMemory() documentation fixed xmllint
* tree.c: some clarification in xmlDocDumpMemory() documentation
* xmllint.c: fixed xmllint --stream --timing to get timings back
Daniel
2004-02-19 12:58:36 +00:00
Daniel Veillard
b37440047e fixed a problem in push mode when attribute contains unescaped '>'
* parser.c: fixed a problem in push mode when attribute contains
  unescaped '>' characters, fixes bug #134566
* test/att6 result//att6*: added the test to the regression suite
Daniel
2004-02-18 14:28:22 +00:00
Daniel Veillard
965983a5d5 removing a non-linear behaviour from ID/IDREF raised by Petr Pajas. Call
* valid.c: removing a non-linear behaviour from ID/IDREF raised
  by Petr Pajas. Call xmlListAppend instead of xmlListInsert in
  xmlAddRef
Daniel
2004-02-17 16:30:24 +00:00
Daniel Veillard
a9a1b10514 indicated encoding of the test file, needed for python 2.3 Daniel
* python/tests/indexes.py python/tests/reader.py: indicated
  encoding of the test file, needed for python 2.3
Daniel
2004-02-17 13:24:01 +00:00
William M. Brack
372a445479 fixed problem with numbers having > 19 fractional places (bug 133921)
* xpath.c: fixed problem with numbers having > 19
  fractional places (bug 133921)
2004-02-17 13:09:23 +00:00
Daniel Veillard
f49be4778d applied optimization patch from Petr Pajas Daniel
* xpath.c: applied optimization patch from Petr Pajas
Daniel
2004-02-17 11:48:18 +00:00
Daniel Veillard
ab69f366d0 applied update from Alfred Mickautsch and the added patch from Lucas
* xmlwriter.c include/libxml/xmlwriter.h: applied update
  from Alfred Mickautsch and the added patch from Lucas Brasilino
Daniel
2004-02-17 11:40:32 +00:00
Daniel Veillard
31ae462a4d updating the benchmark graph and using a PNG instead of a GIF updated the
* benchmark.png index.html xml.html: updating the benchmark
  graph and using a PNG instead of a GIF
* xmlreader.c: updated the TODO
Daniel
2004-02-16 07:45:44 +00:00
John Fleck
23eab68026 John Fleck <jfleck@inkstain.net>
John Fleck <jfleck@inkstain.net>

ChangeLog to go with
tutorial fix.
2004-02-15 01:58:24 +00:00
MST 2004 John Fleck
d14bccc241 doc/tutorial/xmltutorial.xml doc/tutorial/xmltutorial.pdf
Sat Feb 14 18:55:40 MST 2004 John Fleck <jfleck@inkstain.net>

	* doc/tutorial/xmltutorial.xml
	* doc/tutorial/xmltutorial.pdf
	* doc/tutorial/*.html
	Fix bug in XPath example in the tutorial, thanks to Carlos, whose
	last name I don't know, for pointing this out
2004-02-15 01:57:42 +00:00
Daniel Veillard
5c9547e4f3 preparing release of 2.6.6 updated the docs and rebuilt them Daniel
* NEWS configure.in: preparing release of 2.6.6
* doc/*: updated the docs and rebuilt them
Daniel
2004-02-12 15:31:49 +00:00
Daniel Veillard
0ddb21c46c fixing bug #132930 with the provided patch, a bit suspicious about it but
* xmlregexp.c: fixing bug #132930 with the provided patch, a bit
  suspicious about it but this is fairly contained and regression
  tests still passes.
* test/schemas/all1* result/schemas/all1*: added the test to
  the regression suite.
Daniel
2004-02-12 12:43:49 +00:00
Daniel Veillard
036143bb53 fixed bug #132575 about finding the end of the internal subset in push
* parser.c: fixed bug #132575 about finding the end of the
  internal subset in push mode.
* test/intsubset.xml result/intsubset.xml* result/noent/intsubset.xml:
  added the test to the regression suite
Daniel
2004-02-12 11:57:52 +00:00
Daniel Veillard
3671190b54 added xmlByteConsumed() interface updated the benchmark rebuilt the docs
* parserInternals.c xmlIO.c encoding.c include/libxml/parser.h
  include/libxml/xmlIO.h: added xmlByteConsumed() interface
* doc/*: updated the benchmark rebuilt the docs
* python/tests/Makefile.am python/tests/indexes.py: added a
  specific regression test for xmlByteConsumed()
* include/libxml/encoding.h rngparser.c tree.c: small cleanups
Daniel
2004-02-11 13:25:26 +00:00
William M. Brack
6f108a1d0b fixed missing output of internal DTD param entities when nothing else
* tree.c: fixed missing output of internal DTD param entities when
  nothing else present in DTD (bug 134052)
2004-02-11 00:14:52 +00:00
William M. Brack
030a7a1729 applied patch supplied by Christophe Dubach to fix problem with
* encoding.c: applied patch supplied by Christophe Dubach
  to fix problem with --with-minimum configuration
  (bug 133773)
* nanoftp.c: fixed potential buffer overflow problem,
  similar to fix just applied to nanohttp.c.
2004-02-10 12:48:57 +00:00
Igor Zlatkovic
537769a65f fixed the fix for the buffer overflow, thanks William :-) 2004-02-09 17:40:31 +00:00
William M. Brack
2e6b143e8a fixed problem concerning determining SOCKLEN_T as pointed out by Daniel
* acinclude.m4, configure.in: fixed problem concerning
  determining SOCKLEN_T as pointed out by Daniel Richard G.
  on the mailing list
2004-02-09 15:10:28 +00:00
Igor Zlatkovic
377043562b fixed buffer overflow reported by Yuuich Teranishi 2004-02-09 14:32:17 +00:00
Daniel Veillard
b337795500 small patch from Philip Ludlam to avoid warnings. Daniel
* xpath.c: small patch from Philip Ludlam to avoid warnings.
Daniel
2004-02-09 12:48:55 +00:00
Daniel Veillard
182d32a537 applied a small patch from Alfred Mickautsch to avoid an out of bound
* encoding.c: applied a small patch from Alfred Mickautsch
  to avoid an out of bound error in isolat1ToUTF8()
Daniel
2004-02-09 12:42:55 +00:00
Daniel Veillard
5bb9ccd56a remove the warning on the 2001 namespace remove some warnings when
* xinclude.c: remove the warning on the 2001 namespace
* parser.c parserInternals.c xpath.c: remove some warnings
  when compiling with MSVC6
* nanohttp.c: applied a patch when using _WINSOCKAPI_
Daniel
2004-02-09 12:39:02 +00:00
William M. Brack
95af594b0b added a small hack to fix interference between my fixes for bugs 132585
* xinclude.c: added a small hack to fix interference between
  my fixes for bugs 132585 and 132588.
* python/libxml.c: fixed problem with serialization of namespace
  reported on the mailing list by Anthony Carrico
2004-02-08 04:12:49 +00:00
William M. Brack
6bdacd7aee fixed problem with function xmlXIncludeCopyRange (bug 133686).
* xinclude.c: fixed problem with function xmlXIncludeCopyRange
  (bug 133686).
2004-02-07 08:53:23 +00:00
William M. Brack
1ce3c802e2 fixed problem with return value of xmlTextWriterWriteIndent() (bug 133297)
* xmlwriter.c: fixed problem with return value of
  xmlTextWriterWriteIndent() (bug 133297)
2004-02-06 13:03:38 +00:00
William M. Brack
6b1a28d34e changed coding to output good XIncludes when one or more bad ones are
* xinclude.c: changed coding to output good XIncludes when
  one or more bad ones are present (bug 132588)
2004-02-06 11:24:44 +00:00
William M. Brack
ef245fda92 corrected handling of empty fallback condition (bug 132585)
* xinclude.c: corrected handling of empty fallback condition
  (bug 132585)
2004-02-06 09:33:59 +00:00
William M. Brack
edb65a7ad0 added initialisation for ctxt->vctxt in HTMLInitParser (bug 133127) minor
* HTMLparser.c: added initialisation for ctxt->vctxt
  in HTMLInitParser (bug 133127)
* valid.c: minor cosmetic change (removed ATTRIBUTE_UNUSED
  from several function params)
2004-02-06 07:36:04 +00:00
William M. Brack
b2d25dd760 fixed problem regarding freeing of dictionary when there are errors within
* xinclude.c: fixed problem regarding freeing of dictionary
  when there are errors within an XInclude file (bug 133106).
  Thanks to Oleg Paraschenko for the assistance.
2004-02-04 00:51:21 +00:00
William M. Brack
fbf2c5eaf5 fixed validation of maxLength with no content using patch submitted by
* xmlschemastypes.c: fixed validation of maxLength with no
  content using patch submitted by Eric Haszlakiewicz
  (bug 133259)
2004-02-03 17:55:56 +00:00
Igor Zlatkovic
6619b6a0d6 *** empty log message *** 2004-02-03 08:28:45 +00:00
Igor Zlatkovic
97f8c87091 fixed mingw+msys compilation 2004-02-03 08:28:20 +00:00
Igor Zlatkovic
18a88ce2f4 added calling convention to the public function prototypes 2004-02-03 08:27:55 +00:00
William M. Brack
b907905369 enhanced output indenting (bug 133264)
* xmlwriter.c: enhanced output indenting (bug 133264)
2004-02-03 04:20:18 +00:00
William M. Brack
93d004f9d8 applied patch from Steve Ball to provide structured error reports.
* xmlreader.c, include/libxml/xmlreader.h: applied patch from
  Steve Ball to provide structured error reports.
2004-02-03 00:14:10 +00:00
William M. Brack
a9c612c3ee moved serialization of attribute text data (xmlSerializeContent) into a
* tree.c, include/libxml/tree.h: moved serialization of
  attribute text data (xmlSerializeContent) into a separate
  routine (xmlSerializeTxtContent) so it can be used by xmlwriter.c
* xmlwriter.c: changed handling of attribute string to use the
  routine above (fixed bug 131548)
2004-02-01 10:04:05 +00:00
John Fleck
92aa03006c John Fleck <jfleck@inkstain.net> changelog on reader*.c commits to update
John Fleck <jfleck@inkstain.net>
changelog on reader*.c commits to update example docs
2004-01-31 15:24:23 +00:00
John Fleck
f2497c16b2 Sat Jan 31 08:22:02 MST 2004 John Fleck <jfleck@inkstain.net
Sat Jan 31 08:22:02 MST 2004 John Fleck <jfleck@inkstain.net

	* doc/examples/reader1.c, reader2.c, reader3.c
	* doc/examples/examples.xml
	* doc/examples/*.html
	add note that reader examples need libmxl2 > 2.6, rebuild
	html - this time doing it correctly :-)
2004-01-31 15:23:33 +00:00
MST 2004 John Fleck
ba6bec6762 doc/examples/examples.xml doc/examples/*.html add note that reader
Fri Jan 30 20:45:36 MST 2004 John Fleck <jfleck@inkstain.net>

	* doc/examples/examples.xml
	* doc/examples/*.html
	add note that reader examples need libmxl2 > 2.6, rebuild
	html
2004-01-31 03:48:11 +00:00
John Fleck
9387637d68 John Fleck <jfleck@inkstain.net> ChangeLog to go with docs/examples commit
John Fleck <jfleck@inkstain.net>
ChangeLog to go with docs/examples commit
2004-01-31 03:47:42 +00:00
William M. Brack
c07ed5e6a1 added (void *) type override to prevent warning on Solaris (Bug 132671)
* xpath.c: added (void *) type override to prevent
  warning on Solaris (Bug 132671)
2004-01-30 07:52:48 +00:00
MST 2004 John Fleck
4f8b8d9d45 doc/examples/Makefile.am per Jan. 15 email to the list from oliverst, the
Wed Jan 28 07:20:37 MST 2004 John Fleck <jfleck@inkstain.net>

	* doc/examples/Makefile.am
	per Jan. 15 email to the list from oliverst, the index.html
	file from this directory wasn't making it into the tarball
2004-01-28 14:22:37 +00:00
Daniel Veillard
e1021fa1ac applied fix from Alexander Winston for a problem related to automake-1.8 ,
* acinclude.m4: applied fix from Alexander Winston for a problem
  related to automake-1.8 , c.f. #132513 and #129861
Daniel
2004-01-26 17:03:09 +00:00
Daniel Veillard
c3a429aac8 don't rely on . being on the path for make tests, should keep Mr. Crozat
* doc/examples/index.py: don't rely on . being on the path for
  make tests, should keep Mr. Crozat quiet until next time...
Daniel
2004-01-26 11:55:11 +00:00
Daniel Veillard
189f46b18c preparing release 2.6.5, rebuilt the docs, checked rngparser stuff does
* configure.in NEWS doc/*: preparing release 2.6.5, rebuilt the
  docs, checked rngparser stuff does not end up in the tarball
Daniel
2004-01-25 21:03:04 +00:00
Daniel Veillard
05349ab2f6 applied patch from Frederic Peters fixing the wrong arg order in xpath
* python/libxml.c: applied patch from Frederic Peters
  fixing the wrong arg order in xpath callback in bug #130980
Daniel
2004-01-25 20:01:35 +00:00
Daniel Veillard
03c2f0a41d fixing #130453 XInclude element with no href attribute fully integrating
* xinclude.c: fixing #130453 XInclude element with no href attribute
* relaxng.c rngparser.c include/libxml2/relaxng.h: fully integrating
  the compact syntax will require more work, postponed for the
  2.6.5 release.
Daniel
2004-01-25 19:54:59 +00:00
Daniel Veillard
dda22c15d5 applied patch from Steve Ball to avoid a double-free. Daniel
* include/libxml/schemasInternals.h xmlschemas.c: applied patch from
  Steve Ball to avoid a double-free.
Daniel
2004-01-24 08:31:30 +00:00
Daniel Veillard
4773df2a58 added io1.c an example ox xmlIO usage and io1.res test result, fixed a
* doc/examples/*: added io1.c an example ox xmlIO usage and io1.res
  test result, fixed a awful lot of memory leaks showing up in
  testWriter.c, changed the examples and the Makefiles to test
  memory leaks.
* xmlwriter.c: fixed a memory leak
* Makefile.am: run the doc/examples regression tests as part of
  make tests
* xpath.c include/libxml/xpath.h: added xmlXPathCtxtCompile() to
  compile an XPath expression within a context, currently the goal
  is to be able to reuse the XSLT stylesheet dictionnary, but this
  opens the door to others possible optimizations.
* dict.c include/libxml/dict.h: added xmlDictCreateSub() which allows
  to build a new dictionnary based on another read-only dictionnary.
  This is needed for XSLT to keep the stylesheet dictionnary read-only
  while being able to reuse the strings for the transformation
  dictionnary.
* xinclude.c: fixed a dictionnar reference counting problem occuring
  when document parsing failed.
* testSAX.c: adding option --repeat for timing 100times the parsing
* doc/* : rebuilt all the docs
Daniel
2004-01-23 13:15:13 +00:00