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

2726 Commits

Author SHA1 Message Date
Daniel Veillard
57b2516af5 augmented type autogeneration for enums removed direct error reporting.
* gentest.py testapi.c: augmented type autogeneration for enums
* xpath.c include/libxml/xpath.h: removed direct error reporting.
Daniel
2004-11-06 14:50:18 +00:00
Daniel Veillard
01ca83cd4c fixed a regression in iconv support. Daniel
* encoding.c: fixed a regression in iconv support.
Daniel
2004-11-06 13:26:59 +00:00
Daniel Veillard
ce682bc24b autogenerate a minimal NULL value sequence for unknown pointer types This
* gentest.py testapi.c: autogenerate a minimal NULL value sequence
  for unknown pointer types
* HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c
  parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c
  xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c
  xpointer.c: This uncovered an impressive amount of entry points
  not checking for NULL pointers when they ought to, closing all
  the open gaps.
Daniel
2004-11-05 17:22:25 +00:00
William M. Brack
b031cef5b5 fixed problem with NULL entry (bug 157407) fixed a couple of warnings (no
* catalog.c: fixed problem with NULL entry (bug 157407)
* xpath.c: fixed a couple of warnings (no change to logic)
2004-11-05 16:34:22 +00:00
Daniel Veillard
0ea9c9fd91 more coverage one fix Daniel
* gentest.py testapi.c: more coverage
* xmlunicode.c: one fix
Daniel
2004-11-05 14:30:41 +00:00
Daniel Veillard
8e725fb4de fixed a compilation problem on a recent change Daniel
* entities.c: fixed a compilation problem on a recent change
Daniel
2004-11-05 14:16:50 +00:00
Daniel Veillard
27f2010023 more coverage more fixes Daniel
* gentest.py testapi.c: more coverage
* nanoftp.c tree.c: more fixes
Daniel
2004-11-05 11:50:11 +00:00
Daniel Veillard
ce244ad595 fixed the way the generator works, extended the testing, especially with
* gentest.py testapi.c: fixed the way the generator works,
  extended the testing, especially with more real trees and nodes.
* HTMLtree.c tree.c valid.c xinclude.c xmlIO.c xmlsave.c: a bunch
  of real problems found and fixed.
* entities.c: fix error reporting to go through the new handlers
Daniel
2004-11-05 10:03:46 +00:00
Daniel Veillard
3893606666 dohh ... stupid change killing xmlParseDoc() Daniel
* parser.c: dohh ... stupid change killing xmlParseDoc()
Daniel
2004-11-04 17:45:11 +00:00
Daniel Veillard
34099b4031 changing the way the .c is generated, extending the tests coverage fixing
* gentest.py testapi.c: changing the way the .c is generated,
  extending the tests coverage
* include/libxml/nanoftp.h nanoftp.c elfgcchack.h doc/*: fixing some
  function signatures, regenerating stuff
* SAX2.c parser.c xmlIO.c: another set of bug fixes and API hardening
Daniel
2004-11-04 17:34:35 +00:00
Daniel Veillard
1ba06bb7f4 extending the tests coverage Daniel
* gentest.py testapi.c: extending the tests coverage
Daniel
2004-11-04 12:32:18 +00:00
Daniel Veillard
96f6fe9dfb gentest.py was missing from the EXTRA_DIST Daniel
* Makefile.am: gentest.py was missing from the EXTRA_DIST
Daniel
2004-11-04 10:52:50 +00:00
Daniel Veillard
3d97e669ec extending the tests coverage more fixes and cleanups Daniel
* gentest.py testapi.c: extending the tests coverage
* HTMLtree.c tree.c xmlsave.c xpointer.c: more fixes and cleanups
Daniel
2004-11-04 10:49:00 +00:00
Daniel Veillard
b1b3a3e924 more fixes and extending the tests coverage more fixes and hardening
* gentest.py testapi.c: more fixes and extending the tests coverage
* nanoftp.c xmlIO.c: more fixes and hardening
Daniel
2004-11-03 23:25:47 +00:00
Daniel Veillard
c0be74b398 more fixes and extending the tests coverage bunch of cleanups and 2 leaks
* gentest.py testapi.c: more fixes and extending the tests coverage
* valid.c: bunch of cleanups and 2 leaks removed
Daniel
2004-11-03 19:16:55 +00:00
Daniel Veillard
d005b9e89d more fixes and extending the tests coverage more fixes and hardening
* gentest.py testapi.c: more fixes and extending the tests coverage
* list.c tree.c: more fixes and hardening
Daniel
2004-11-03 17:07:05 +00:00
Daniel Veillard
dd6d300896 more fixes and extending the tests coverage adding a type init interface
* gentest.py testapi.c: more fixes and extending the tests coverage
* relaxng.c include/libxml/relaxng.h: adding a type init interface
* include/libxml/xmlerror.h parser.c xmlreader.c xmlwriter.c: more
  cleanups and bug fixes raised by the regression tests
Daniel
2004-11-03 14:20:29 +00:00
Daniel Veillard
e43cc574e4 more fixes and extending the tests coverage more hardeing of APIs skip
* gentest.py testapi.c: more fixes and extending the tests coverage
* xmlwriter.c list.c: more hardeing of APIs
* doc/apibuild.py: skip testapi.c when scanning the C files.
Daniel
2004-11-03 11:50:29 +00:00
Daniel Veillard
348636d2af oops typo in gentest.py, Daniel 2004-11-02 22:34:52 +00:00
Daniel Veillard
8a32fe4839 more testing and coverage more cleanups rebuilt Daniel
* gentest.py testapi.c: more testing and coverage
* elfgcchack.h xmlstring.c include/libxml/xmlstring.h: more cleanups
* doc/*: rebuilt
Daniel
2004-11-02 22:10:16 +00:00
Daniel Veillard
a03e36566b more developments on the API testing more cleanups rebuilt Daniel
* gentest.py testapi.c: more developments on the API testing
* HTMLparser.c tree.c: more cleanups
* doc/*: rebuilt
Daniel
2004-11-02 18:45:30 +00:00
Daniel Veillard
d93f625ae9 Oops forgot it ... Daniel 2004-11-02 15:53:51 +00:00
Daniel Veillard
36e5cd5064 adding xmlMemBlocks() work on generator of an automatic API regression
* xmlmemory.c include/libxml/xmlmemory.h: adding xmlMemBlocks()
* Makefile.am gentest.py testapi.c: work on generator of an
  automatic API regression test tool.
* SAX2.c nanoftp.c parser.c parserInternals.c tree.c xmlIO.c
  xmlstring.c: various API hardeing changes as a result of running
  teh first set of automatic API regression tests.
* test/slashdot16.xml: apparently missing from CVS, commited it
Daniel
2004-11-02 14:52:23 +00:00
Daniel Veillard
032268145f fixed an UTF-8 parsing bug reported by Markus Bertheau on #fedora-devel
* xpath.c: fixed an UTF-8 parsing bug reported by Markus Bertheau
  on #fedora-devel
Daniel
2004-11-01 14:55:21 +00:00
Daniel Veillard
acbe6cfd96 fixed a bug reported by Petr Pajas on the list and affecting XML::Libxml
* parser.c: fixed a bug reported by Petr Pajas on the list and
  affecting XML::Libxml
Daniel
2004-10-31 21:04:50 +00:00
Daniel Veillard
05f9735ba3 Fixed bug #153937, making sure the conversion functions return the number
* encoding.c doc/examples/testWriter.c: Fixed bug #153937, making
  sure the conversion functions return the number of byte written.
  Had to fix one of the examples.
Daniel
2004-10-31 15:35:32 +00:00
Daniel Veillard
e44aafb19c indicate - means stdin closing #156626 Daniel
* doc/xmllint.1 doc/xmllint.xml: indicate - means stdin closing #156626
Daniel
2004-10-29 12:18:43 +00:00
Daniel Veillard
eff45a92da register xmlSchemaSetValidErrors, patch from Brent Hendricks in the
* python/libxml.c: register xmlSchemaSetValidErrors, patch from
  Brent Hendricks in the mailing-list
* include/libxml/valid.h HTMLparser.c SAX2.c valid.c
  parserInternals.c: fix #156626 and more generally how to find out
  if a validation contect is part of a parsing context or not. This
  can probably be improved to make 100% sure that vctxt->userData
  is the parser context too. It's a bit hairy because we can't
  change the xmlValidCtxt structure without breaking the ABI since
  this change xmlParserCtxt information indexes.
Daniel
2004-10-29 12:10:55 +00:00
Daniel Veillard
c2f83d1fad Fixing h3 for release, Daniel 2004-10-27 22:59:21 +00:00
Daniel Veillard
6927b10615 preparing release 2.6.15 cleanups Daniel
* ChangeLog NEWS configure.in doc/*: preparing release 2.6.15
* debugXML.c nanoftp.c xmlschemas.c xmlschemastypes.c: cleanups
Daniel
2004-10-27 17:29:04 +00:00
William M. Brack
f2a657aa59 fixed a stupid mistake in xmlBuildRelativeURI (bug 156527)
* uri.c: fixed a stupid mistake in xmlBuildRelativeURI
  (bug 156527)
2004-10-27 16:33:09 +00:00
Daniel Veillard
8e2c9792e9 second part of the security fix for xmlNanoFTPConnect() and
* nanoftp.c nanohttp.c: second part of the security fix for
  xmlNanoFTPConnect() and xmlNanoHTTPConnectHost().
Daniel
2004-10-27 09:39:50 +00:00
Daniel Veillard
95ddcd3266 applied fixes for a couple of potential security problems more fixes on
* nanoftp.c: applied fixes for a couple of potential security problems
* tree.c valid.c xmllint.c: more fixes on the string interning checks
Daniel
2004-10-26 21:53:55 +00:00
Daniel Veillard
03a53c34db added checking for names values and dictionnaries generates a tons of
* debugXML.c include/libxml/xmlerror.h: added checking for names
  values and dictionnaries generates a tons of errors
* SAX2.ccatalog.c parser.c relaxng.c tree.c xinclude.c xmlwriter.c
  include/libxml/tree.h: fixing the errors in the regression tests
Daniel
2004-10-26 16:06:51 +00:00
William M. Brack
1227fb3cea modified the handling of _private for entity expansion (bug 155816)
* parser.c: modified the handling of _private for entity
  expansion (bug 155816)
2004-10-25 23:17:53 +00:00
Daniel Veillard
370ba3d231 fixed the leak reported by Volker Roth on the list added a specific test
* parser.c: fixed the leak reported by Volker Roth on the list
* test/ent10 result//ent10*: added a specific test for the problem
Daniel
2004-10-25 16:23:56 +00:00
William M. Brack
367df6e7e1 unlinked the internal subset within xmlValidateDtd (bug 141827) added
* valid.c: unlinked the internal subset within xmlValidateDtd
  (bug 141827)
* configure.in: added -Wall to developer's flags
* doc/examples/reader4.res: added to CVS
2004-10-23 18:14:36 +00:00
Daniel Veillard
fc484dd0a0 added support for HTML PIs #156087 added specific tests Daniel
* HTMLparser.c: added support for HTML PIs #156087
* test/HTML/python.html result/HTML/python.html*: added specific tests
Daniel
2004-10-22 14:34:23 +00:00
Daniel Veillard
01c3bd53d8 fixed nasty bug #156087 Daniel
* threads.c: fixed nasty bug #156087
Daniel
2004-10-22 13:16:10 +00:00
Daniel Veillard
ad9fb7c06f fixed a problem occuring only in x86_64 when very large error messages are
* python/libxml.c: fixed a problem occuring only in x86_64 when
  very large error messages are raied to the Python handlers.
Daniel
2004-10-22 11:05:37 +00:00
Daniel Veillard
1a380b8924 fixed a memory bug added test from Graham Bennett and regenerated the
* xmlschemas.c: fixed a memory bug
* doc/examples/reader4.c doc/examples/*: added test from Graham Bennett
  and regenerated the directory
Daniel
2004-10-21 16:00:06 +00:00
Daniel Veillard
e2811270e8 applied patch from Graham Bennett adding 4 convenience functions to the
* include/libxml/xmlreader.h xmlreader.c: applied patch from
  Graham Bennett adding 4 convenience functions to the reader API.
Daniel
2004-10-19 09:04:23 +00:00
William M. Brack
9638d4c20f excluded a few nodes (with no content) from the string check routine.
* debugXML.c: excluded a few nodes (with no content) from the
  string check routine.
2004-10-15 18:25:33 +00:00
Daniel Veillard
c6095788c4 added UTF-8 string checking, raise a problem, need debug Daniel
* debugXML.c include/libxml/xmlerror.h: added UTF-8 string checking,
  raise a problem, need debug
Daniel
2004-10-15 14:50:10 +00:00
Daniel Veillard
43b8e5790c applied patch from Thomas Fitzsimmons fixing #155240 building outside the
* python/Makefile.am: applied patch from Thomas Fitzsimmons fixing
  #155240 building outside the source tree. but make tests fails.
Daniel
2004-10-12 22:20:10 +00:00
Daniel Veillard
0d24b11c34 added namespace checking daniel
* debugXML.c include/libxml/xmlerror.h: added namespace checking
daniel
2004-10-11 12:28:34 +00:00
Daniel Veillard
7682114636 some framework preparation to add namespace checkings daniel
* debugXML.c: some framework preparation to add namespace checkings
daniel
2004-10-09 20:39:04 +00:00
Daniel Veillard
78fed53e2b Changed the link for ChangeLog and News to reflect the actual content, daniel 2004-10-09 19:44:48 +00:00
Daniel Veillard
8de5c0bd79 adding the tree debug mode fixing various problems reported by the debug
* debugXML.c include/libxml/debugXML.h include/libxml/xmlerror.h:
  adding the tree debug mode
* parser.c relaxng.c tree.c xpath.c: fixing various problems reported
  by the debug mode.
* SAX2.c: another tree fix from Rob Richards
Daniel
2004-10-07 13:14:19 +00:00
William M. Brack
181a1ca018 fix small leak 2004-10-06 18:00:29 +00:00