1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-12 05:57:47 +03:00

2756 Commits

Author SHA1 Message Date
Daniel Veillard
7eca35fbae fixed a memory leak on errors in some circumstances #159812 Daniel
* xpath.c: fixed a memory leak on errors in some circumstances #159812
Daniel
2004-11-29 13:08:03 +00:00
William M. Brack
66e40b14d5 added a check within xmlOutputBufferWriteEscape to prevent a dead loop on
* xmlIO.c: added a check within xmlOutputBufferWriteEscape to prevent
  a dead loop on bad data (bug 159550)
2004-11-26 15:45:19 +00:00
Kasimier T. Buchcik
5dd55d950a Fixed strict/lax element wildcards: the children of elements for which a
* xmlschemas.c: Fixed strict/lax element wildcards: the children
  of elements for which a declaration existed were still processed
  by the wildcard mechanism (reported by philippe ventrillon to the
  mailing list).
  Changed the import and include machanism to share dictionaries.
2004-11-26 12:35:21 +00:00
Daniel Veillard
29614c7040 make sure xmlCtxtReadFile and htmlCtxtReadFile go through the catalog
* HTMLparser.c parser.c: make sure xmlCtxtReadFile and htmlCtxtReadFile
  go through the catalog resolution.
* gentest.py testapi.c: fix a side effect wrning of the change
Daniel
2004-11-26 10:47:26 +00:00
Daniel Veillard
6bb3e86d2c added xmlDictExists() to the dictionnary interface. applying
* dict.c include/libxml/dict.h: added xmlDictExists() to the
  dictionnary interface.
* xmlreader.c: applying xmlTextReaderHasAttributes fix for namespaces
  from Rob Richards
Daniel
2004-11-24 12:39:00 +00:00
Kasimier T. Buchcik
8b41817d58 tiny enhancement for content model error reports (#157190, #143948).
* xmlschemas.c: tiny enhancement for content model error reports (#157190, #143948).
  Removed abbreviations: CT, ST and WC (#157190, reported by Frans  Englich).
  Initial: no report of local components.
* result/schemas/all* result/schemas/any3_0_0.err result/schemas/choice*
  result/schemas/cos-st-restricts-1-2-err_0_0.err result/schemas/derivation-ok-extension-err_0_0.err
  result/schemas/derivation-ok-extension_0_0.err result/schemas/derivation-ok-restriction-2-1-1_0_0.err
  result/schemas/derivation-ok-restriction-4-1-err_0_0.err result/schemas/deter0_0_0.err
  result/schemas/extension1_0_2.err result/schemas/facet-unionST-err1_0_0.err
  result/schemas/hexbinary_0_1.err result/schemas/list* result/schemas/restriction-attr1_0_0.err
  result/schemas/vdv-first4_0_1.err result/schemas/vdv-first4_0_2.err: Adapted output.
2004-11-17 13:14:27 +00:00
Kasimier T. Buchcik
b884124c34 Moved execution of xmlSchemaCheckDefaults to xmlSchemaTypeFixup; this
* xmlschemas.c: Moved execution of xmlSchemaCheckDefaults to
  xmlSchemaTypeFixup; this ensures facets of inherited types to be checked
  prior to facets of derived types - which caused a seg fault otherwise
  (bug #158216, reported by Frans Englich).
2004-11-15 12:11:56 +00:00
William M. Brack
094dd86c13 further enhancement, now all compilation warnings have been fixed. added
* gentest.py, testapi.c: further enhancement, now all
  compilation warnings have been fixed.
* xmlschemastypes.c: added NULL check for one function
2004-11-14 14:28:34 +00:00
William M. Brack
f13f77f0e6 trivial change (changed CHECK_CONTEXT to CHECK_CTXT on a couple of lines)
* xpath.c: trivial change (changed CHECK_CONTEXT to CHECK_CTXT
  on a couple of lines)
* gentest.py, testapi.c: enhanced to reduce compilation warnings
2004-11-12 16:03:48 +00:00
Kasimier T. Buchcik
48307f432a Un-commented a TODO in xmlSchemaParseElement.
* xmlschemas.c: Un-commented a TODO in xmlSchemaParseElement.
2004-11-12 15:16:25 +00:00
Kasimier T. Buchcik
91feaf8477 Correct symbol space for 'all' and 'choice'. Added 'replace' normalization
* xmlschemas.c: Correct symbol space for 'all' and 'choice'.
* xmlschemastypes.c include/xmlschemastypes.h: Added 'replace'
  normalization for 'normalizedString'.
  Added xmlSchemaWhiteSpaceReplace to the API.
2004-11-12 14:04:58 +00:00
Daniel Veillard
aba37dffd7 forgot a $(srcdir) stupid error wrong name #157976 Daniel
* Makefile.am: forgot a $(srcdir)
* encoding.c: stupid error wrong name #157976
Daniel
2004-11-11 20:42:04 +00:00
Daniel Veillard
c3d7cb4e58 preparing release of libxml2-2.6.16 Daniel
* NEWS configure.in doc/*: preparing release of libxml2-2.6.16
Daniel
LIBXML2_2_6_16
2004-11-10 14:34:45 +00:00
Daniel Veillard
850ce9b658 Applied patch from Brent Hendricks adding support for late DTD validation.
* python/generator.py python/libxml.c python/libxml2class.txt
  python/libxml_wrap.h python/types.c: Applied patch from Brent
  Hendricks adding support for late DTD validation.
* python/tests/Makefile.am python/tests/dtdvalid.py
  python/tests/test.dtd: integrated the provided regression test
Daniel
2004-11-10 11:55:47 +00:00
Dodji Seketeli
8eba3f3fa4 Tue nov 9 19:29:04 CET 2004 Dodji Seketeli <dodji@seketeli.org>
* configure.in: detect when struct sockaddr_storage
        has the __ss_family member instead of ss_family and
        behave accordingly. We know can use ipv6 on aix.
2004-11-09 18:30:30 +00:00
Daniel Veillard
d0cf7f6eea integrated in "make tests" added -q option, and more conditional features
* Makefile.am gentest.py testapi.c: integrated in "make tests"
  added -q option, and more conditional features fixes
* catalog.c debugXML.c parser.c testThreads.c xmllint.c
  xmlschemastypes.c xmlwriter.cinclude/libxml/catalog.h
  include/libxml/debugXML.h: various compilation and conditional
  cleanups.
* doc/*: regenerated
Daniel
2004-11-09 16:17:02 +00:00
Daniel Veillard
a521d28751 better handling of conditional features more testing on parser contexts
* gentest.py testapi.c: better handling of conditional features
* HTMLparser.c SAX2.c parserInternals.c xmlwriter.c: more testing
  on parser contexts closed leaks, error messages
Daniel
2004-11-09 14:59:59 +00:00
William M. Brack
645a924a9d fixed problem concerning XPath context corruption during function argument
* xpath.c: fixed problem concerning XPath context corruption
  during function argument evaluation (bug 157652)
2004-11-09 12:20:42 +00:00
Daniel Veillard
f2a36f98e1 more types. more fixes Daniel
* testapi.c: more types.
* parserInternals.c xpath.c: more fixes
Daniel
2004-11-08 17:55:01 +00:00
Daniel Veillard
6128c01ca6 better parser options coverage more cleanups. Daniel
* gentest.py testapi.c: better parser options coverage
* SAX2.c xpath.c: more cleanups.
Daniel
2004-11-08 17:16:15 +00:00
Daniel Veillard
c831149aa4 trying to fix some optional support brokenness daniel
* testapi.c: trying to fix some optional support brokenness
daniel
2004-11-08 16:51:13 +00:00
Daniel Veillard
a82b182655 more coverage more fixes Daniel
* gentest.py testapi.c: more coverage
* debugXML.c parser.c xmlregexp.c xpath.c: more fixes
Daniel
2004-11-08 16:24:57 +00:00
Daniel Veillard
2a4fb5ac07 more coverage more fixes Daniel
* gentest.py testapi.c: more coverage
* SAX2.c parser.c parserInternals.c: more fixes
Daniel
2004-11-08 14:02:18 +00:00
Daniel Veillard
5ea30d7f95 more fixes. Daniel
* parser.c testapi.c xmlIO.c xmlstring.c: more fixes.
Daniel
2004-11-08 11:54:28 +00:00
Daniel Veillard
4259532303 more types, more coverage more problems fixed Daniel
* gentest.py testapi.c: more types, more coverage
* parser.c parserInternals.c relaxng.c valid.c xmlIO.c
  xmlschemastypes.c: more problems fixed
Daniel
2004-11-08 10:52:06 +00:00
William M. Brack
83d9c37d79 fixed test file corruption problem
* gentest.py: fixed test file corruption problem
2004-11-08 02:26:08 +00:00
Daniel Veillard
fb5476f216 Fixed back modified tests erased on last commit, daniel 2004-11-07 12:20:06 +00:00
Daniel Veillard
c2c894fd7e fixed typos and avoid Catalogs verbosity Daniel
* gentest.py testapi.c: fixed typos and avoid Catalogs verbosity
Daniel
2004-11-07 12:17:35 +00:00
Daniel Veillard
3d95c73494 augmented the number of types Daniel
* testapi.c: augmented the number of types
Daniel
2004-11-06 22:25:14 +00:00
Daniel Veillard
d5cc0f7f51 augmented types supported a number of new bug fixes and documentation
* gentest.py testapi.c: augmented types supported
* HTMLtree.c tree.c xmlreader.c xmlwriter.c: a number of new
  bug fixes and documentation updates.
Daniel
2004-11-06 19:24:28 +00:00
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