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

1181 Commits

Author SHA1 Message Date
Daniel Veillard
1c732d2e10 code cleanup Daniel
* DOCBparser.c HTMLparser.c parser.c valid.c xpath.c: code cleanup
Daniel
2002-11-30 11:22:59 +00:00
Daniel Veillard
fdd27d2718 Johann Richard pointed out some XPointer problems for URN based URI
* uri.c: Johann Richard pointed out some XPointer problems for
  URN based URI references in XInclude. Modified the URI parsing
  and saving routines to allow correct parsing and saving of
  XPointers, especially when attached to "opaque" scheme accordingly
  to RFC 2396
Daniel
2002-11-28 11:55:38 +00:00
Daniel Veillard
8db67d2704 applied the same kind of refactoring to the HTML saving code. slight API
* HTMLtree.c include/libxml/HTMLtree.h: applied the same kind
  of refactoring to the HTML saving code.
* doc/libxml2-*.xml doc/API*.html: slight API changes got reflected
  in the doc.
Daniel
2002-11-27 19:39:27 +00:00
Daniel Veillard
ebc4ca9456 refactored the XML dump of a node to a buffer API to reuse the generic
* tree.c include/libxml/tree.h: refactored the XML dump of a node
  to a buffer API to reuse the generic dump to an OutputIO layer,
  this reduces code, fixes xmlNodeDump() for XHTML, also made
  xmlNodeDump() now return the number of byte written.
Daniel
2002-11-27 11:43:05 +00:00
Daniel Veillard
9d5ea17eb7 another patch from Stphane Bidoul for Python bindings on Windows small
* python/setup.py.in: another patch from Stphane Bidoul for
  Python bindings on Windows
* doc/parsedecl.py: small cleanup
Daniel
2002-11-27 08:02:06 +00:00
Daniel Veillard
9715c17b84 add a line in %changelog for releases Daniel
* libxml.spec.in configure.in: add a line in %changelog for releases
Daniel
2002-11-25 16:33:40 +00:00
Daniel Veillard
9bc53109b8 patch from Marcus Clarke fixing a problem in entities parsing that was
* parser.c: patch from Marcus Clarke fixing a problem in entities
  parsing that was detected in KDe documentations environment.
Daniel
2002-11-25 13:20:04 +00:00
Daniel Veillard
faa35ff3cd Return the previous as opposed to the next node (I guess this is the
* python/libxml.c (libxml_prev): Return the previous as opposed to
the next node (I guess this is the result of some cut & paste programming:)
Daniel
2002-11-24 13:53:43 +00:00
Daniel Veillard
80d7b90177 Jan Rafaj pointed a bug in the Makefile. Daniel
* doc/Makefile.am: Jan Rafaj pointed a bug in the Makefile.
Daniel
2002-11-23 16:23:08 +00:00
Daniel Veillard
a1196ed414 trying to fix the Python bindings build on Windows (Stphane Bidoul)
* python/generator.py python/libxml.c python/setup.py.in: trying
  to fix the Python bindings build on Windows (Stphane Bidoul)
Daniel
2002-11-23 11:22:49 +00:00
Igor Zlatkovic
9ab7155336 *** empty log message *** 2002-11-22 21:41:43 +00:00
Igor Zlatkovic
ace7cd2ba0 *** empty log message *** 2002-11-22 18:07:00 +00:00
Daniel Veillard
f9c4cad243 preparing 2.4.28 some cleanup updated the news and regenerated. Daniel
* configure.in: preparing 2.4.28
* libxml.spec.in doc/Makefile.am: some cleanup
* doc/*: updated the news and regenerated.
Daniel
2002-11-22 15:57:07 +00:00
Daniel Veillard
fee408f5eb final touch at closing #87235 </p> end tags need to be generated. this
* HTMLparser.c: final touch at closing #87235 </p> end tags
  need to be generated.
* result/HTML/cf_128.html result/HTML/test2.html result/HTML/test3.html:
  this change slightly the output of a few tests
* doc/*: regenerated
Daniel
2002-11-22 13:18:30 +00:00
Daniel Veillard
d2ff0394f8 fixing bug #99190 when UTF8 document are parsed using the progressive
* parserInternals.c: fixing bug #99190 when UTF8 document are
  parsed using the progressive parser and the end of the chunk
  is in the middle of an UTF8 multibyte character.
Daniel
2002-11-22 12:28:38 +00:00
William M. Brack
8b2c7f10f1 fixed thread problem 2002-11-22 05:07:29 +00:00
Daniel Veillard
d5c2f92df4 modified the existing APIs to handle XHTML1 serialization rules
* tree.c include/libxml/tree.h: modified the existing APIs
  to handle XHTML1 serialization rules automatically, also add
  xmlIsXHTML() to libxml2 API. Some tweaking to make sure
  libxslt serialization uses it when needed without changing
  the library API.
* test/xhtml1 result/noent/xhtml1 result/valid/xhtml1.xhtml
  result/xhtml1: added a new test specifically for xhtml1 output
  and updated the result of one XHTML1 test
Daniel
2002-11-21 14:10:52 +00:00
Daniel Veillard
d076a20ea6 fixed #99082 for xi:include encoding="..." support on text includes. added
* xinclude.c parserInternals.c encoding.c: fixed #99082
  for xi:include encoding="..." support on text includes.
* result/XInclude/tstencoding.xml test/XInclude/docs/tstencoding.xml
  test/XInclude/ents/isolatin.txt : added a specific regression test
* python/generator.py python/libxml2class.txt: fixed the generator
  the new set of comments generated for doc/libxml2-api.xml were
  breaking the python generation.
Daniel
2002-11-20 13:28:31 +00:00
Daniel Veillard
817e70b6ac repair some problem if gtk-doc fail or such patch for Solaris on new
* doc/Makefile.am: repair some problem if gtk-doc fail or such
* configure.in: patch for Solaris on new autoconf closes #98880
* doc/parsedecl.py: repair the frigging API building script,
  did I say that python xmllib sucks ?
* doc/libxml2-api.xml doc/libxml2-refs.xml: regenerated, reordering
  and some comment are no more truncated.
Daniel
2002-11-19 22:28:48 +00:00
Daniel Veillard
a7e05b4fce Martin Stoilov pointed out a potential leak in xmlCreateMemoryParserCtxt
* parser.c: Martin Stoilov pointed out a potential leak in
  xmlCreateMemoryParserCtxt
Daniel
2002-11-19 08:11:14 +00:00
Daniel Veillard
bc6e1a3857 fixed bug #98879 a corner case when 0 is included in HTML documents and
* HTMLparser.c: fixed bug #98879 a corner case when 0 is
  included in HTML documents and using the push parser.
Daniel
2002-11-18 15:07:25 +00:00
Daniel Veillard
4efd3be5ed If --with-python is specified, look for the Python interpreter not just in
* configure.in (PYTHON_SITE_PACKAGES): If --with-python is
  specified, look for the Python interpreter not just in the
  specified root but also in the specified location. Fixes #98825
Daniel
2002-11-18 09:11:13 +00:00
Daniel Veillard
a8c0adbc39 fixing bug #98792 , node may have no doc and dereferencing without
* python/libxml.c: fixing bug #98792 , node may have no doc
  and dereferencing without checking ain't good ...
Daniel
2002-11-17 22:37:35 +00:00
Daniel Veillard
dad3f680e5 preparing release 2.4.27 updated and rebuilt the docs try to make sure the
* configure.in: preparing release 2.4.27
* doc/* : updated and rebuilt the docs
* doc/Makefile.am libxml.spec.in: try to make sure the tutorial
  and all the docs are actually packaged and in the final RPMs
* parser.c parserInternals.c include/libxml/parser.h: restore
  xmllint --recover feature.
Daniel
2002-11-17 16:47:27 +00:00
Daniel Veillard
68e9e74af8 fixing #96925 wich was also dependant on the processing of parsed
* parser.c xpath.c: fixing #96925 wich was also dependant on the
  processing of parsed entities, and XPath computation on sustitued
  entities.
* testXPath.c: make sure entities are substitued.
Daniel
2002-11-16 15:35:11 +00:00
Daniel Veillard
328f48c101 fixed #96594, which was totally dependant on the processing of internal
* parser.c: fixed #96594, which was totally dependant on the
  processing of internal parsed entities, which had to be changed.
Daniel
2002-11-15 15:24:34 +00:00
Daniel Veillard
66651aa8a0 trying to fix bug #98517 about building outside the source tree fixed the
* Makefile.am python/Makefile.am python/tests/Makefile.am:
  trying to fix bug #98517 about building outside the source tree
* doc/xml.html doc/FAQ.html: fixed the link to libiconv #94585
Daniel
2002-11-15 11:21:43 +00:00
Igor Zlatkovic
2772ceaa1e *** empty log message *** 2002-11-14 17:45:20 +00:00
Daniel Veillard
8dd86a5b61 strengthen the guard in the Pop macros, like in the XML parser, closes bug
* HTMLparser.c: strengthen the guard in the Pop macros,
  like in the XML parser, closes bug #97315
Daniel
2002-11-12 21:14:17 +00:00
Daniel Veillard
0821b1584b fixed bug #98338 , fatalError SAX callback is never used. Daniel
* include/libxml/parser.h: fixed bug #98338 , fatalError SAX
  callback is never used.
Daniel
2002-11-12 20:57:47 +00:00
Daniel Veillard
8606bbbc0a fixed the initialization of the SAX structure which was breaking xsltproc
* parserInternals.c: fixed the initialization of the SAX structure
  which was breaking xsltproc
* xpath.c: patch from Petr Pajas for CDATA nodes
* tree.c: patch from Petr Pajas improving xmlGetNodePath()
* parser.c include/libxml/parser.h: patch from Peter Jones
  removing a leak in xmlSAXParseMemory() and adding the
  function xmlSAXParseMemoryWithData()
Daniel
2002-11-12 12:36:52 +00:00
MST 2002 John Fleck
f854d99fbd adding pdf of tutorial, changing web page to link to it
Mon Nov 11 20:47:03 MST 2002 John Fleck <jfleck@inkstain.net>

	adding pdf of tutorial, changing web page to link to it
	* doc/tutorial/xmltutorial.pdf
	* doc/xml.html
	* doc/docs.html
2002-11-12 03:49:05 +00:00
MST 2002 John Fleck
52717f344b doc/tutorial/ar01s08.html adding file what I forgot for tutorial
Sun Nov 10 20:48:57 MST 2002 John Fleck <jfleck@inkstain.net>

	* doc/tutorial/ar01s08.html
	adding file what I forgot for tutorial
2002-11-11 03:49:33 +00:00
MST 2002 John Fleck
bd3b4fd15b Adding encoding discussion to tutorial Added: DocBook admonition image
Sun Nov 10 20:33:13 MST 2002 John Fleck  <jfleck@inkstain.net>

	Adding encoding discussion to tutorial
	Added:
	* doc/tutorial/images/*.png: DocBook admonition image files
	* doc/tutorial/apf.html, apg.html: new generated html
	* doc/tutorial/includeconvert.c: conversion code entity file
	changed:
	* doc/tutorial/xmltutorial.xml: DocBook original
	* doc/tutorial/*.html: generated html
2002-11-11 03:41:11 +00:00
Igor Zlatkovic
22baffff5e *** empty log message *** 2002-11-08 17:19:08 +00:00
Igor Zlatkovic
a2258daf2f *** empty log message *** 2002-11-08 15:55:33 +00:00
Daniel Veillard
7216cfd662 fixed a typo pointed out by Igor try to speed up node compare using line
* globals.c: fixed a typo pointed out by Igor
* xpath.c: try to speed up node compare using line numbers
  if available.
Daniel
2002-11-08 15:10:00 +00:00
Daniel Veillard
a70d62f296 make xmlFreeNode() handle attributes correctly. Daniel
* tree.c: make xmlFreeNode() handle attributes correctly.
Daniel
2002-11-07 14:18:03 +00:00
Igor Zlatkovic
b8e99cc106 *** empty log message *** 2002-11-06 22:52:29 +00:00
Daniel Veillard
56f21f298e tried to fix bug #97852 reported by Nicolas Noffke Daniel
* xpointer.c: tried to fix bug #97852 reported by Nicolas Noffke
Daniel
2002-11-06 15:49:46 +00:00
Daniel Veillard
91ad879819 switched the order of a couple of includes to fix bugs #97100 Daniel
* Makefile.am: switched the order of a couple of includes
  to fix bugs #97100
Daniel
2002-11-04 17:06:52 +00:00
Igor Zlatkovic
2bb82eed0e *** empty log message *** 2002-10-31 16:15:43 +00:00
Igor Zlatkovic
9fdd8f3f30 *** empty log message *** 2002-10-31 16:01:23 +00:00
John Fleck
61f6fb66ad doc/xml.html (and, by implication, FAQ.html) added UTF-8 conversaion FAQ
2002-10-31  John Fleck  <jfleck@inkstain.net>

	* doc/xml.html (and, by implication, FAQ.html)
	added UTF-8 conversaion FAQ from Marcus Labib Iskander
2002-10-31 15:23:29 +00:00
Igor Zlatkovic
f95b56b491 *** empty log message *** 2002-10-29 17:33:35 +00:00
Daniel Veillard
ce66ce1ac1 applied patch from Brian Stafford to fix a bug in xmlReconciliateNs()
* tree.c: applied patch from Brian Stafford to fix a bug
  in xmlReconciliateNs()
Daniel
2002-10-28 19:01:59 +00:00
Daniel Veillard
7e3f1400ac applied patch from Christian Glahn to allow xmlNewChild() on document
* tree.c: applied patch from Christian Glahn to allow
  xmlNewChild() on document fragment nodes
Daniel
2002-10-28 18:52:57 +00:00
Daniel Veillard
b39bc39378 Christian Glahn found a problem with a recent patch to
* parser.c: Christian Glahn found a problem with a recent
  patch to xmlParseBalancedChunkMemoryRecover()
* xmlschemas.c: Charles Bozeman fixed some Schemas validation
  problems
* result/schemas/elem* result/schemas/seq* test/schemas.elem*
  test/schemas/seq*: added the test cases from Charles
Daniel
2002-10-26 19:29:51 +00:00
Daniel Veillard
366a915f86 serious cleanup of the spec file and associated changes in the Makefiles.
* Makefile.am config.h.in libxml.spec.in doc/Makefile.am:
  serious cleanup of the spec file and associated changes
  in the Makefiles.
* valid.c: try to remove some warnings on x86_64
Daniel
2002-10-23 20:43:53 +00:00
Daniel Veillard
d033d02b31 added winsockcompat.h to EXTRA_DIST to fix bug #96586 Daniel
* include/Makefile.am: added winsockcompat.h to EXTRA_DIST to
  fix bug #96586
Daniel
2002-10-23 14:55:02 +00:00