1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-11 12:58:16 +03:00

1811 Commits

Author SHA1 Message Date
Daniel Veillard
2f6ff81a4a tentative fix for #126117 character reference in attributes output problem
* tree.c: tentative fix for #126117 character reference in
  attributes output problem in some cornercase.
Daniel
2003-12-08 12:11:14 +00:00
Daniel Veillard
f88d8cf9f1 tried to fix the problems reported in bug #126735 fixed again some problem
* python/libxml.py: tried to fix the problems reported in
  bug #126735
* xpath.c SAX2.c error.c parser.c valid.c include/libxml/xmlerror.h:
  fixed again some problem trying to use the structured error
  handlers, c.f. bug #126735
* result/VC/ElementValid: tiny change due to the fix
Daniel
2003-12-08 10:25:02 +00:00
Daniel Veillard
fded7bf91b fixed __xmlRaiseError to use structured error handlers defined by
* error.c: fixed __xmlRaiseError to use structured error handlers
  defined by xmlSetStructuredErrorFunc(), fixes bug #126211
Daniel
2003-12-07 21:30:45 +00:00
Daniel Veillard
43caefb336 attempt to fix #126211 ... Daniel
* parser.c: attempt to fix #126211 ...
Daniel
2003-12-07 19:32:22 +00:00
Daniel Veillard
ffa7b7e2ba fixed the pattern interfaces but not yet the parser to handle the
* pattern.c xmlreader.c xmllint.c include/libxml/pattern.h
  include/libxml/xmlreader.h: fixed the pattern interfaces
  but not yet the parser to handle the namespaces.
* doc/examples/reader3.c doc/*: fixed the example, rebuilt the docs.
Daniel
2003-12-05 16:10:21 +00:00
Daniel Veillard
1e90661bb8 cleanup the make rebuild in doc, this include new directive to stop
* globals.c xmlwriter.c doc/apibuild.py include/libxml/globals.h
  include/libxml/pattern.h include/libxml/schemasInternals.h
  include/libxml/xmlexports.h include/libxml/xmlwriter.h: cleanup
  the make rebuild in doc, this include new directive to stop
  documentation warnings
* doc/* doc/html/*: rebuilt the docs
* pattern.c xmlreader.c include/libxml/pattern.h
  include/libxml/xmlreader.h: adding xmlTextReaderPreservePattern()
  to save nodes while scanning the tree with the reader, cleanup
  the way element were freed, and xmlTextReaderPreserve()
  implementation, the API might change for namespace binding support
  when compiling patterns.
* doc/examples/*: added reader3.c exposing the xmlTextReaderPreserve()
Daniel
2003-12-05 14:57:46 +00:00
Daniel Veillard
85bb5b08df oops forgot to modify/commit the new code. Daniel
* python/libxml.py: oops forgot to modify/commit the new code.
Daniel
2003-12-04 14:12:05 +00:00
Daniel Veillard
6cbd6c0738 cleanup the output buffer support to at least get the basic to work fixes
* python/generator.py python/libxml.c python/libxml_wrap.h:
  cleanup the output buffer support to at least get the basic
  to work
* python/tests/outbuf.py python/tests/serialize.py: fixes and
  cleanup.
* include/libxml/xmlwriter.h: cleanup
Daniel
2003-12-04 12:31:49 +00:00
MST 2003 John Fleck
941f40d62c include/libxml/xmlversion.h.in add WITH_TRIO comment so it shows up in the
Wed Dec  3 21:38:56 MST 2003 John Fleck <jfleck@inkstain.net>

	* include/libxml/xmlversion.h.in
add WITH_TRIO comment so it shows up in the docs
2003-12-04 04:55:46 +00:00
Daniel Veillard
ebe48c60cc fix bug #128401 affecting regexp quantifiers Daniel
* config.h.in configure.in xmlregexp.c: fix bug #128401 affecting
  regexp quantifiers
Daniel
2003-12-03 12:12:27 +00:00
Daniel Veillard
b3de70c282 adding the pattern node selection code. Inheried in part from libxslt but
* pattern.c include/libxml/pattern.h: adding the pattern node
  selection code. Inheried in part from libxslt but smaller.
* Makefile.am configure.in include/libxml/xmlversion.h.in:
  integrated the pattern module, made it a configure time option
* xmllint.c: added --pattern to test when doing --stream
Daniel
2003-12-02 22:32:15 +00:00
Daniel Veillard
c36965da33 fixed a problem in xmlreader validation when streaming exposed by reader2
* xmlreader.c: fixed a problem in xmlreader validation when
  streaming exposed by reader2 example.
Daniel
2003-12-02 10:28:48 +00:00
MST 2003 John Fleck
990c7a9b73 doc/xml.html doc/docs.html add reference to the Code Examples page to
Mon Dec  1 20:40:51 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/xml.html
	* doc/docs.html
	add reference to the Code Examples page to docs.html list
	of resources
2003-12-02 03:42:56 +00:00
Igor Zlatkovic
c7646e6d53 Applied the patch for BCB from Eric 2003-12-01 11:33:27 +00:00
John Fleck
0eaf41c39f un Nov 30 21:33:37 MST 2003 John Fleck <jfleck@inkstain.net>
* include/libxml/xinclude.h
	* doc/*
	Add comments for macro definitions in xinclude.h and
	rebuild the docs
2003-12-01 04:45:26 +00:00
MST 2003 John Fleck
dd088c154c doc/docdescr.doc Updating William's explanation of how to build docs,
Sun Nov 30 21:06:29 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/docdescr.doc
	Updating William's explanation of how to build docs,
	reflecting Daniel's new docs build system
2003-12-01 04:07:49 +00:00
William M. Brack
0622fe8b03 enhanced by adding mutex to protect global structures in a multi-threading
* xmlmemory.c: enhanced by adding mutex to protect global
  structures in a multi-threading environment.  This fixed
  some random errors on the Threads regression tests.

* encoding.c, include/libxml/encoding.h: Enhanced the handling of
  UTF-16, UTF-16LE and UTF-16BE encodings.  Now UTF-16 output is
  handled internally by default, with proper BOM and UTF-16LE
  encoding.  Native UTF-16LE and UTF-16BE encoding will not generate
  BOM on output, and will be automatically recognized on input.
* test/utf16lebom.xml, test/utf16bebom.xml, result/utf16?ebom*:
  added regression tests for above.
2003-11-29 10:47:56 +00:00
MST 2003 John Fleck
2dffb760bf doc/xml.html doc/python.html fix tst.py text, which didn't import sys
Fri Nov 28 21:39:49 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/xml.html
	* doc/python.html
	fix tst.py text, which didn't import sys
2003-11-29 04:41:24 +00:00
William M. Brack
f9415e4989 Enhanced the handling of UTF-16, UTF-16LE and UTF-16BE encodings. Now
* encoding.c, include/libxml/encoding.h: Enhanced the handling of UTF-16,
  UTF-16LE and UTF-16BE encodings.  Now UTF-16 output is handled internally
  by default, with proper BOM and UTF-16LE encoding.  Native UTF-16LE and
  UTF-16BE encoding will not generate a BOM on output, and will be
  automatically recognized on input.
* test/utf16lebom.xml, test/utf16bebom.xml, result/utf16?ebom*: added
  regression tests for above.
2003-11-28 09:39:10 +00:00
Igor Zlatkovic
7c6f6cc631 *** empty log message *** 2003-11-27 18:36:24 +00:00
Igor Zlatkovic
5a8164033d *** empty log message *** 2003-11-26 20:57:47 +00:00
Daniel Veillard
c76440fcf8 stefan on IRC pointed out that XML_GET_LINE is broken on 2.6.x Daniel
* include/libxml/tree.h: stefan on IRC pointed out that XML_GET_LINE
  is broken on 2.6.x
Daniel
2003-11-26 20:39:47 +00:00
Daniel Veillard
d45325589d fixed #127877, never output &quot; in element content this changes the
* entities.c: fixed #127877, never output &quot; in element content
* result/isolat3 result/slashdot16.xml result/noent/isolat3
  result/noent/slashdot16.xml result/valid/REC-xml-19980210.xml
  result/valid/index.xml result/valid/xlink.xml: this changes the
  output of a few tests
Daniel
2003-11-25 18:29:55 +00:00
Daniel Veillard
bd2904b9c3 added xsd:include support, fixed testSchemas behaviour when a schemas
* include/libxml/schemasInternals.h include/libxml/xmlerror.h
  testSchemas.c xmlschemas.c: added xsd:include support, fixed
  testSchemas behaviour when a schemas failed to parse.
* test/schemas/vdv-* result/schemas/vdv-first5_0_0*: added one
  test for xsd:include from Eric Van der Vlist
Daniel
2003-11-25 15:38:59 +00:00
Daniel Veillard
e70c877c83 swapped the attribute defaulting and attribute checking parts of parsing a
* parser.c: swapped the attribute defaulting and attribute checking
  parts of parsing a new element start, fixes bug #127772
* result/valid/127772.* test/valid/127772.xml
  test/valid/dtds/127772.dtd: added the example in the regression tests
Daniel
2003-11-25 07:21:18 +00:00
Daniel Veillard
74c0e594e0 moved xmlCleanupThreads() to the end of xmlCleanupParser() to avoid bug
* parser.c: moved xmlCleanupThreads() to the end of xmlCleanupParser()
  to avoid bug #127851
Daniel
2003-11-25 07:01:38 +00:00
Daniel Veillard
f8b9de3254 fixing some Negative Character Group and Character Class Subtraction
* xmlregexp.c: fixing some Negative Character Group and
  Character Class Subtraction handling.
Daniel
2003-11-24 14:27:26 +00:00
Daniel Veillard
f2a1283564 more XML Schemas fixes based on Eric van der Vlist examples added
* xmlregexp.c xmlschemas.c: more XML Schemas fixes based
  on Eric van der Vlist examples
* result/schemas/vdv-first4* test/schemas/vdv-first4*:
  added regression tests
* doc/examples/Makefile.am doc/examples/index.py: do not
  regenerate the index on make all target, but only on
  make rebuild to avoid troubles.
Daniel
2003-11-24 13:04:35 +00:00
Daniel Veillard
be9c6320d4 lot of bug fixes, cleanup, starting to add proper namespace support too.
* xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h
  include/libxml/schemasInternals.h: lot of bug fixes, cleanup,
  starting to add proper namespace support too.
* test/schemas/* result/schemas/*: added a number of tests
  fixed the result from some regression tests too.
Daniel
2003-11-22 20:37:51 +00:00
MST 2003 John Fleck
2b7142a1b3 remove reference to gtk-doc now that Daniel has removed it, fix link to
Fri Nov 21 20:50:59 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/xml.html, docs.html: remove reference to gtk-doc now that
	Daniel has removed it, fix link to George's IBM article, other
	minor edits
2003-11-22 03:55:27 +00:00
Daniel Veillard
1d91386313 applied patch from Robert Stepanek to start import os schemas support,
* xmlschemas.c: applied patch from Robert Stepanek to start
  import os schemas support, cleaned up stuff and the patch.
* test/schemas/import0_0.* result/schemas/import0_0_0*: added test
  to regression, fixed a few regressions too.
Daniel
2003-11-21 00:28:39 +00:00
Daniel Veillard
c59d826ef9 applied two parsing fixes from James Bursa Daniel
* HTMLparser.c: applied two parsing fixes from James Bursa
Daniel
2003-11-20 21:59:12 +00:00
Daniel Veillard
16ed597a93 added two xmlReader examples cleaned up some bugs in the process Daniel
* doc/examples/*: added two xmlReader examples
* xmlreader.c: cleaned up some bugs in the process
Daniel
2003-11-20 18:22:31 +00:00
Daniel Veillard
5841f0e0a4 applied patch from Alfred Mickautsch, bugfixes and comments added his test
* xmlwriter.c include/libxml/xmlwriter.h: applied patch from
  Alfred Mickautsch, bugfixes and comments
* doc/examples/*: added his test as the xmlWriter example
* doc/html/ doc/*.html: this resulted in some improvements
* include/libxml/hash.h: fixed an inclusion problem when
  <libxml/hash.h> wasn't preceeded by <xml/parser.h>
Daniel
2003-11-20 11:59:09 +00:00
Daniel Veillard
a152c4d6bd fix an error message added tree2 example from Lucas Brasilino Daniel
* xinclude.c: fix an error message
* doc/examples/*: added tree2 example from Lucas Brasilino
Daniel
2003-11-19 16:24:26 +00:00
William M. Brack
7f40d13a37 improve the sort sequence for page content regenerate the web pages
* doc/newapi.xsl: improve the sort sequence for page content
* doc/html/*.html: regenerate the web pages
2003-11-19 09:52:29 +00:00
Daniel Veillard
1a79241a3c do not package cvs versioning temp files. more cleanup, slightly improved
* Makefile.am: do not package cvs versioning temp files.
* doc/apibuild.py doc/libxml2-api.xml doc/newapi.xsl: more cleanup,
  slightly improved the API xml format, fixed a lot of small
  rendering problems
* doc/html/libxml*.html: rebuilt
Daniel
2003-11-18 23:52:38 +00:00
Daniel Veillard
be5869729a modified the file header to add more informations, painful... updated to
* include/libxml/*.h include/libxml/*.h.in: modified the file
  header to add more informations, painful...
* genChRanges.py genUnicode.py: updated to generate said changes
  in headers
* doc/apibuild.py: extract headers, add them to libxml2-api.xml
* *.html *.xsl *.xml: updated the stylesheets to flag geprecated
  APIs modules. Updated the stylesheets, some cleanups, regenerated
* doc/html/*.html: regenerated added back book1 and libxml-lib.html
Daniel
2003-11-18 20:56:51 +00:00
William M. Brack
b1d531659b minor enhancement to prevent comment with unreferenced variable. edited
* genChRanges.py, chvalid.c, include/libxml/chvalid.h: minor
  enhancement to prevent comment with unreferenced variable.
* threads.c xmlreader.c xmlwriter.c: edited some comments to
  improve auto-generation of documentation
* apibuild.py: minor change to an error message
2003-11-18 06:54:40 +00:00
Daniel Veillard
bff06bff9c more cleanup, improving navigation updated the result Daniel
* doc/apibuild.py doc/libxml2-api.xml doc/newapi.xsl: more cleanup,
  improving navigation
* doc/html/*.html: updated the result
Daniel
2003-11-17 16:58:05 +00:00
Daniel Veillard
2925c0a0f4 improvement of the stylesheets, fixed a API generation problem, switched
* doc/Makefile.am doc/apibuild.py doc/libxml2-api.xml doc/newapi.xsl:
  improvement of the stylesheets, fixed a API generation problem,
  switched the stylesheet and Makefile to build the HTML output.
* doc/html/*.html: complete update, ditched some old files, might
  introduce some breakage...
Daniel
2003-11-17 13:58:17 +00:00
Daniel Veillard
0b3d9b8d30 lot of improvements, this starts looking good enough to be usable. Daniel
* doc/newapi.xsl: lot of improvements, this starts looking good
  enough to be usable.
Daniel
2003-11-17 11:51:30 +00:00
Daniel Veillard
c72f9fd1f0 stylesheet to build HTML pages from the API XML description, Work in
* doc/newapi.xsl: stylesheet to build HTML pages from the
  API XML description, Work in Progress
Daniel
2003-11-16 23:59:52 +00:00
William M. Brack
c125a721a4 fixed bug 126976 (string != empty nodeset should be false)
* xpath.c: fixed bug 126976 (string != empty nodeset
  should be false)
2003-11-16 08:06:19 +00:00
William M. Brack
60f394e96d Finally - found the problem with the page generation (XMLPUBFUN not
* doc/html/*.html: Finally - found the problem with the
  page generation (XMLPUBFUN not recognized by gtkdoc).
  Re-created the pages using a temporary version of
  include/libxml/*.h.
* testOOMlib.c,include/libxml/encoding.h,
  include/libxml/schemasInternals.h,include/libxml/valid.h,
  include/libxml/xlink.h,include/libxml/xmlwin32version.h,
  include/libxml/xmlwin32version.h.in,
  include/libxml/xpathInternals.h: minor edit of comments
  to help automatic documentation generation
* doc/docdescr.doc: small elaboration
* doc/examples/test1.c,doc/examples/Makefile.am: re-commit
  (messed up on last try)
* xmlreader.c: minor change to clear warning.
2003-11-16 06:25:42 +00:00
Daniel Veillard
8d7b5c7ecd fixed some wording make sure doc/examples is packaged fixed the really
* Copyright: fixed some wording
* libxml.spec.in: make sure doc/examples is packaged
* include/libxml/tree.h valid.c xmlreader.c: fixed the really
  annoying problem about xmlRemoveID and xmlReader streaming.
  Thing looks fixed now, add to add a doc reference to the
  xmlID structure though...
Daniel
2003-11-15 18:24:36 +00:00
MST 2003 John Fleck
485fa4baac doc/docdescr.doc added description of man page building
Sat Nov 15 09:53:36 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/docdescr.doc
	  added description of man page building
2003-11-15 16:54:50 +00:00
William M. Brack
f4e9a6e951 added missing pages for the website.
* doc/html/libxml-chvalid.html, doc/html/libxml-dict.html,
  doc/html/libxml-list.html, doc/html/libxml-testOOMlib.html,
  doc/html/libxml-wincecompat, doc/html/winsockcompat.html,
  doc/html/libxml-xmlexports.html, doc/html/libxml-xmlversion.html,
  doc/html/libxml-xmlwin32version.html, doc/html/libxml-xmlwriter.html:
  added missing pages for the website.
2003-11-15 11:14:47 +00:00
William M. Brack
2ad1dfffa0 rebuilt the generated pages (again), manually restored doc/html/index.html
* doc/Makefile.am doc/*.html doc/html/*.html: rebuilt the
  generated pages (again), manually restored doc/html/index.html
  and manually edited generated file doc/gnome-xml.xml to put
  in appropriate headings.
* doc/docdescr.doc: new file to describe details of the
  document generation (helps my memory for the next time)
* genChRanges.py,chvalid.c,include/libxml/chvalid.h: minor
  enhancement to please the automatic documentation generation.
2003-11-15 10:35:20 +00:00
William M. Brack
272693c7e1 minor error cleanup for gcc-3.3.[12] compilation warnings.
* catalog.c,relaxng.c,testAutomata.c,xpointer.c,genChRanges.py,
  chvalid.c,include/libxml/chvalid.h,doc/examples/test1.c:
  minor error cleanup for gcc-3.3.[12] compilation warnings.
2003-11-14 16:20:34 +00:00