Commit Graph

2563 Commits

Author SHA1 Message Date
Daniel Veillard
be3eb2088e fixed a couple of problems in the new elfgcchack.h trick pointed by Peter
* libxml.h uri.c: fixed a couple of problems in the new
  elfgcchack.h trick pointed by Peter Breitenlohner
Daniel
2004-07-09 12:05:25 +00:00
Daniel Veillard
add93d3e9e fixed a bug which prevented building with --with-minimum Daniel
* elfgcchack.h doc/apibuild.py doc/libxml2-api.xml: fixed a bug
  which prevented building with --with-minimum
Daniel
2004-07-06 22:47:07 +00:00
Daniel Veillard
45cb0f41e4 releasing 2.6.11, updated and regenerated the docs Daniel
* configure.in doc/*: releasing 2.6.11, updated and regenerated the
  docs
Daniel
2004-07-05 17:45:35 +00:00
Daniel Veillard
eb70f93ffa make the push interfaces synchronous added a specific test added the new
* parser.c: make the push interfaces synchronous
* python/tests/sync.py: added a specific test
* python/tests/Makefile.am doc/examples/Makefile.am
  doc/examples/index.py: added the new test, cleaning up
  "make tests" output
Daniel
2004-07-05 16:46:09 +00:00
Daniel Veillard
f4b05d0a22 applied patch from Kasimier to fix some Relax-NG datatype facet problem
* xmlschemas.c: applied patch from Kasimier to fix some Relax-NG
  datatype facet problem with recent changes.
Daniel
2004-07-05 13:10:37 +00:00
William M. Brack
8e2cc6f2b5 Changed the number of XPath extension functions allowed to be
* python/libxml.c: Changed the number of XPath extension functions
  allowed to be variable-length (patch supplied by Marc-Antoine
  Parent, bug 143805).  Added code to "unregister" the functions
  when the parser cleanup takes place.
2004-07-03 23:28:52 +00:00
Daniel Veillard
529233ccdd some updates with memory debugging facilities while messing with libxslt
* xmlmemory.c python/libxml.c python/libxml2-python-api.xml:
  some updates with memory debugging facilities while messing
  with libxslt python bindings
Daniel
2004-07-02 12:23:44 +00:00
Daniel Veillard
f93a866079 applied patch from Stéphane Bidoul to fix some Python bindings
* python/libxml.c python/generator.py python/libxml.py
  python/libxml2-python-api.xml python/libxml2class.txt:
  applied patch from Stéphane Bidoul to fix some Python bindings
  initialization, then had to change the parserCleanup()
  to handle memory released there.
* xmlmemory.c: added more debugging comments.
Daniel
2004-07-01 12:56:30 +00:00
Daniel Veillard
8165a6b130 seems the reader buffer could be used while not allocated, fixes bug
* xmlreader.c: seems the reader buffer could be used while not
  allocated, fixes bug #145218
Daniel
2004-07-01 11:20:33 +00:00
Daniel Veillard
d69cc8174e do not provide functions used as destructor of classes as public methods
* python/generator.py: do not provide functions used as destructor
  of classes as public methods to avoid double-free problem like
  in bug #145185
Daniel
2004-07-01 09:36:26 +00:00
William M. Brack
96d2effc73 warning message cleanup. Now compiles warning-free, all tests passed.
* xmlschemas.c, xmlschemastypes.c: warning message cleanup.
  Now compiles warning-free, all tests passed.
* SAX2.c: small change to comments for documentation.
  No change to logic.
2004-06-30 11:48:47 +00:00
Daniel Veillard
b7c6ac44ec more fixes with Kasimier, looks far cleaner :-) Daniel
* xmlschemas.c: more fixes with Kasimier, looks far cleaner :-)
Daniel
2004-06-29 22:01:27 +00:00
Daniel Veillard
4e5d665212 Kasimier Buchcik fixed the memory access and allocation problem Daniel
* xmlschemas.c: Kasimier Buchcik fixed the memory access and
  allocation problem
Daniel
2004-06-29 21:01:12 +00:00
Daniel Veillard
485f26ff5a Added missing file, corrected output, Daniel 2004-06-29 17:07:01 +00:00
Daniel Veillard
01fa6156e5 applied Schemas patches from Kasimier Buchcik, there is still one open
* xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h
  include/libxml/schemasInternals.h include/libxml/xmlschemastypes.h:
  applied Schemas patches from Kasimier Buchcik, there is still
  one open issue about referencing freed memory.
* test/schemas/* result/schemas/*: updated with new tests from
  Kasimier
Daniel
2004-06-29 17:04:39 +00:00
Daniel Veillard
647e39acf6 moved some definitions to globals.h to avoid some troubles pointed out by
* include/libxml/globals.h include/libxml/xmlIO.h
  doc/libxml2-api.xml doc/libxml2-refs.xml: moved some definitions
  to globals.h to avoid some troubles pointed out by Rob Richards
Daniel
2004-06-29 12:54:08 +00:00
Daniel Veillard
b7cbbaeec4 applied changes suggested by Mike Hommey, remove libxml1 support and use
* libxml.m4: applied changes suggested by Mike Hommey, remove
  libxml1 support and use CPPFLAGS instead of CFLAGS
Daniel
2004-06-28 09:27:23 +00:00
Daniel Veillard
0f59a3415c too bleeding edge to be useful with gcc-3.2 and 3.3, Daniel 2004-06-27 14:29:36 +00:00
Daniel Veillard
577d145b8e another, more 'experimental' feature to get compiler optimization based on
* libxml.spec.in: another, more 'experimental' feature to
  get compiler optimization based on gcc runtime profiling
2004-06-27 14:07:43 +00:00
Daniel Veillard
a2351322c8 hack based on Arjan van de Ven suggestion to reduce ELF footprint and
* elfgcchack.h doc/elfgcchack.xsl libxml.h: hack based on Arjan van de
  Ven suggestion to reduce ELF footprint and generated code. Based on
  aliasing of libraries function to generate direct call instead of
  indirect ones
* doc/libxml2-api.xml doc/Makefile.am doc/apibuild.py: added automatic
  generation of elfgcchack.h based on the API description, extended
  the API description to show the conditionals configuration flags
  required for symbols.
* nanohttp.c parser.c xmlsave.c include/libxml/*.h: lot of cleanup
* doc/*: regenerated the docs.
Daniel
2004-06-27 12:08:10 +00:00
William M. Brack
3403adde32 new files for running regression tests under Python. Not yet complete, but
* regressions.py, regressions.xml: new files for running
  regression tests under Python.  Not yet complete, but
  should provide good testing under both Linux and Windows.
* testHTML.c, testSAX.c, xmllint.c: changed the 'fopen' used
  for --push testing to include the 'rb' param when compiled
  under Windows.
2004-06-27 02:07:51 +00:00
William M. Brack
f20fbf70b2 fixed a problem when base path was "./xxx" 5 test results changed by
* uri.c: fixed a problem when base path was "./xxx"
* result/XInclude/*: 5 test results changed by above.
* Makefile.am: fixed a couple of spots where a new
  result file used different flags that the testing one.
2004-06-25 05:49:08 +00:00
William M. Brack
9333cc2115 suppressed warnings from within xmlValidGetValidElements (bug 144644)
* valid.c: suppressed warnings from within xmlValidGetValidElements
  (bug 144644)
* doc/examples/testWriter.c: corrected typo in comment for ISO-8859-1
  (bug 144245)
2004-06-24 08:33:40 +00:00
William M. Brack
4119d1c61d implemented bugfix from Massimo Morara for DTD dumping problem. added
* valid.c: implemented bugfix from Massimo Morara for DTD
  dumping problem.
* test/valid/t10.xml, result/valid/t10.*: added regression
  for above
* configure.in: small change for my profile settings
2004-06-24 02:24:44 +00:00
MDT 2004 John Fleck
b7fe104779 doc/xmlcatalog_man.xml, xmlcatalog.1 Docs patch from Ville Skytta,
Wed Jun 23 20:18:19 MDT 2004 John Fleck <jfleck@inkstain.net>

	* doc/xmlcatalog_man.xml, xmlcatalog.1
	Docs patch from Ville Skytta, bugzilla #144841
2004-06-24 02:21:27 +00:00
MDT 2004 John Fleck
4c76c4f7f9 doc/xmllint.xml, xmllint.html, xmllint.1 update man page to reflect
Sat Jun 19 18:34:11 MDT 2004 John Fleck <jfleck@inkstain.net>

	* doc/xmllint.xml, xmllint.html, xmllint.1
	update man page to reflect William's newly disciplined return
	code mojo
2004-06-20 00:36:06 +00:00
Daniel Veillard
3cf6950b93 fixing a couple of compilation errors when configured with --with-minimum
* doc/examples/io2.c doc/examples/parse4.c: fixing a couple of
  compilation errors when configured with --with-minimum
Daniel
2004-06-16 22:52:59 +00:00
Daniel Veillard
bbaa997a06 applied patch from Stefano Debenedetti to register namespaces in the debug
* debugXML.c: applied patch from Stefano Debenedetti to register
  namespaces in the debug shell
Daniel
2004-06-16 14:08:33 +00:00
Daniel Veillard
4a14fb8fa2 fix from Steve Ball and update of the comment. William pointed out that
* xmlreader.c: fix from Steve Ball and update of the comment.
* Makefile.am result/errors/*.str: William pointed out that
  the streaming error checking part wasn't streaming, fixing
Daniel
2004-06-14 19:58:20 +00:00
Daniel Veillard
ab690c5e9e revert 2 parts of the patch, Daniel 2004-06-14 12:19:09 +00:00
Daniel Veillard
fb382b8990 patch from Igor for the default catalog path on Windows Daniel
* catalog.c: patch from Igor for the default catalog path on Windows
Daniel
2004-06-14 12:13:12 +00:00
William M. Brack
306e33ce20 apparently wasn't updated last time
* configure.in: apparently wasn't updated last time
2004-06-12 01:01:22 +00:00
William M. Brack
5ab479b0e4 fixed problem when configuring using --with-thread-alloc
* configure.in, xmlmemory.c, globals.c: fixed problem when
  configuring using --with-thread-alloc
2004-06-10 13:00:15 +00:00
Igor Zlatkovic
4da70f389d *** empty log message *** 2004-06-09 14:33:09 +00:00
Igor Zlatkovic
72c2858596 minor changes for the windows binary package 2004-06-09 14:32:47 +00:00
Daniel Veillard
50355f0041 applied another patch from Kasimier Buchcik for Schema Component
* xmlschemas.c include/libxml/xmlerror.h: applied another patch
  from Kasimier Buchcik for Schema Component Constraints
* test/schemas/* result/schemas/*: added the regression tests
Daniel
2004-06-08 17:52:16 +00:00
William M. Brack
8304d87d0d fixed missing error return code for schema validation (bug 143880), also
* xmllint.c: fixed missing error return code for schema
  validation (bug 143880), also changed over to an enum for
  defining the error return codes for all conditions.
2004-06-08 13:29:32 +00:00
Daniel Veillard
0df3bc3f28 fixed a serious problem when substituing entities using the Reader, the
* parser.c xmlreader.c include/libxml/parser.h: fixed a serious
  problem when substituing entities using the Reader, the entities
  content might be freed and if rereferenced would crash
* Makefile.am test/* result/*: added a new test case and a new
  test operation for the reader with substitution of entities.
Daniel
2004-06-08 12:03:41 +00:00
Daniel Veillard
1b243b4fc9 applied patch from Rob Richards for the per thread I/O mappings Daniel
* globals.c xmlIO.c include/libxml/globals.h include/libxml/xmlIO.h:
  applied patch from Rob Richards for the per thread I/O mappings
Daniel
2004-06-08 10:16:42 +00:00
William M. Brack
abf598b548 some further enhancement to take care of xml:base for XPointer elements
* xinclude.c: some further enhancement to take care of
  xml:base for XPointer elements (bug 143886).  Also fixed
  a problem when xml:base was already specified on an
  XInclude'd element.
2004-06-08 02:01:28 +00:00
William M. Brack
8eabb05d1a fixed a problem with internal cleanup of <DIV> element (bug 143738).
* relaxng.c: fixed a problem with internal cleanup of <DIV> element
  (bug 143738).
2004-06-07 14:15:54 +00:00
William M. Brack
f7789b13c5 added a new routine xmlBuildRelativeURI needed for enhancement of
* uri.c, include/libxml/uri.h: added a new routine
  xmlBuildRelativeURI needed for enhancement of xinclude.c
* xinclude.c: changed handling of xml:base (bug 135864)
* result/XInclude/*: results of 5 tests changed as a result
  of the above change
2004-06-07 08:57:27 +00:00
Daniel Veillard
8839938822 added a bunch of tests from Kasimier Buchcik posted on May 11 Daniel
* test/schemas/* result/schemas/*: added a bunch of tests from
  Kasimier Buchcik posted on May 11
Daniel
2004-06-04 09:29:37 +00:00
Daniel Veillard
8acdfbf53c new patch from Kasimier Buchcik for processContents of wildcards attribute
* xmlschemas.c: new patch from  Kasimier Buchcik for processContents
  of wildcards attribute handling
* test/schemas/anyAttr-* result/schemas/anyAttr-*: added specific
  regression tests
Daniel
2004-06-03 16:00:59 +00:00
Daniel Veillard
37fd307435 fixed a bug where invalid charrefs may not be detected sometimes as
* parser.c: fixed a bug where invalid charrefs may not be detected
  sometimes as pointed by Morus Walter.
* test/errors/charref1.xm result/errors/charref1.xml*: added the
  test in the regression suite.
Daniel
2004-06-03 11:22:31 +00:00
William M. Brack
767265dd9c small change to xmlSchemaValidateAttributes, also corrected typo on error
* xmlschemas.c: small change to xmlSchemaValidateAttributes,
  also corrected typo on error code enum.
* include/libxml/xmlerror.h: corrected typo on schema error
  code enum
2004-06-03 10:50:29 +00:00
William M. Brack
803812b9fe minor cosmetic changes, no change to logic. regenerated added a newline at
* xmlschemas.c: minor cosmetic changes, no change to logic.
* result/schemas/attruse_0_[12].err: regenerated
* globals.c: added a newline at end to make gcc happy
2004-06-03 02:11:24 +00:00
Daniel Veillard
3646d6463d applied a patch from Kasimier Buchcik implementing attribute uses and
* xmlschemas.c include/libxml/schemasInternals.h
  include/libxml/xmlerror.h: applied a patch from Kasimier Buchcik
  implementing attribute uses and wildcards.
* test/schemas/* result/schemas/*: added/fixed a bunch of tests
Daniel
2004-06-02 19:19:14 +00:00
Daniel Veillard
0335a846ad applied patch from Rob Richards for custom I/O BufferCreateFilenane fixes
* globals.c xmlIO.c include/libxml/globals.h: applied patch from
  Rob Richards for custom I/O BufferCreateFilenane fixes bug
  #143366
Daniel
2004-06-02 16:18:40 +00:00
William M. Brack
8fad8bff2c fixed problem with predicate evaluation on an empty nodeset (bug 143409)
* xpath.c: fixed problem with predicate evaluation on an
  empty nodeset (bug 143409)
2004-06-02 08:26:25 +00:00