Commit Graph

1492 Commits

Author SHA1 Message Date
Igor Zlatkovic
f6273a0a4a *** empty log message *** 2002-12-11 17:00:54 +00:00
Igor Zlatkovic
1932b6cd28 applied patch from Magnus Henoch 2002-12-11 17:00:40 +00:00
Daniel Veillard
5aad832aa3 a bit more cleanup Daniel
* catalog.c doc/libxml2-api.xml: a bit more cleanup
Daniel
2002-12-11 15:59:44 +00:00
Daniel Veillard
a9b66d00b5 new API building Python script, does the C parsing directly, generates a
* doc/apibuild.py doc/libxml2-api.xml doc/Makefile.am: new API
  building Python script, does the C parsing directly, generates
  a better API description including structure fieds defs and
  enums. Still a couple of bugs, but good enough for the python
  wrappers now.
* DOCBparser.c SAX.c nanohttp.c parser.c parserInternals.c tree.c
  valid.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c
  include/libxml/schemasInternals.h include/libxml/tree.h: more
  cleanup based on the python analysis script reports.
* libxml.spec.in: make sure the API XML description is part of the
  devel package.
Daniel
2002-12-11 14:23:49 +00:00
Daniel Veillard
01c13b5be2 code cleanup, especially the function comments. fixed a small bug when
* DOCBparser.c HTMLparser.c c14n.c debugXML.c encoding.c hash.c
  nanoftp.c nanohttp.c parser.c parserInternals.c testC14N.c
  testDocbook.c threads.c tree.c valid.c xmlIO.c xmllint.c xmlmemory.c
  xmlreader.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c:
  code cleanup, especially the function comments.
* tree.c: fixed a small bug when freeing nodes which are XInclude ones.
Daniel
2002-12-10 15:19:08 +00:00
Daniel Veillard
e1ca50330b Adding a new set of APIs based on the C# TextXmlReader API but converted
* Makefile.am xmlreader.c include/libxml/Makefile.am
  include/libxml/xmlreader.h:  Adding a new set of APIs based on
  the C# TextXmlReader API but converted to C. Allow to parse
  in constant memory usage, far simpler to program and explain
  than the SAX like APIs, unfinished but working.
* testReader.c: test program
Daniel
2002-12-09 14:13:43 +00:00
Igor Zlatkovic
70a296cb8b *** empty log message *** 2002-12-08 17:34:54 +00:00
Igor Zlatkovic
33d1307aa5 applied YALDSP from Mark Vakoc 2002-12-08 17:34:41 +00:00
Daniel Veillard
64b3528286 Chip turner indicated that XHTML1 serialization rule for style actually
* tree.c: Chip turner indicated that XHTML1 serialization
  rule for style actually break on both IE and Mozilla,
  try to avoid the rule if escaping ain't necessary
Daniel
2002-12-04 15:10:40 +00:00
Daniel Veillard
8efff67157 handle HTTP URL escaping, problem reported by Glen Nakamura and Stefano
* nanhttp.c: handle HTTP URL escaping, problem reported by
  Glen Nakamura and Stefano Zacchiroli
Daniel
2002-12-04 11:44:48 +00:00
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
71d47b7517 added more exports 2002-11-22 21:41:28 +00:00
Igor Zlatkovic
853514fc02 added option for python bindings 2002-11-22 21:41:09 +00:00
Igor Zlatkovic
002372e9d0 fixed unresolved symbols for mingw 2002-11-22 18:07:37 +00:00
Igor Zlatkovic
ace7cd2ba0 *** empty log message *** 2002-11-22 18:07:00 +00:00
Igor Zlatkovic
4e2884e17b updates from Javier 2002-11-22 17:54:30 +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
c14401e4d1 Updated the binding page for the libxml++ bindings, Daniel 2002-11-20 14:28:17 +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
Igor Zlatkovic
b2f616352a cleanup 2002-11-14 17:43:55 +00:00
Igor Zlatkovic
bd1a306cab integrated mingw into jscript configure 2002-11-14 17:43:24 +00:00
Igor Zlatkovic
b8036ea16f *** empty log message *** 2002-11-14 17:42:43 +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