1511 Commits

Author SHA1 Message Date
Daniel Veillard
3772de37d9 the parseStartTag bug fix wasn't complete. Daniel
* parser.c: the parseStartTag bug fix wasn't complete.
Daniel
2002-12-17 10:31:45 +00:00
Daniel Veillard
67df809c3a Vyacheslav Pindyura managed to trigger a bug in parseStartTag, fixing it.
* parser.c: Vyacheslav Pindyura managed to trigger a bug in
  parseStartTag, fixing it.
* test/att4 result/att4 result/noent/att4: adding the test
* xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: added
  more methods to XmlTextReader.
Daniel
2002-12-16 22:04:11 +00:00
Igor Zlatkovic
d453c6391a *** empty log message *** 2002-12-16 18:45:48 +00:00
Igor Zlatkovic
3f752e2a09 added xmlreader interface 2002-12-16 18:45:29 +00:00
Igor Zlatkovic
2d42890dc4 added xmlreader exports 2002-12-16 18:45:04 +00:00
Igor Zlatkovic
fcb5258595 added xml reader exports 2002-12-16 18:34:18 +00:00
Daniel Veillard
27907c70cf Added llink to Python bindings for Windows, Daniel 2002-12-16 16:05:58 +00:00
MST 2002 John Fleck
7c67a83527 doc/tutorial/xmltutorial.xml plus generated html and pdf Updating tutorial
Mon Dec 16 06:36:54 MST 2002 John Fleck <jfleck@inkstain.net>

	* doc/tutorial/xmltutorial.xml
	plus generated html and pdf
	Updating tutorial again based on further comments from Niraj
	Tolia on the last iteration
2002-12-16 13:38:06 +00:00
MST 2002 John Fleck
44aacb3404 doc/tutorial/xmltutorial.xml doc/tutorial/includekeyword.c
Sun Dec 15 21:27:30 MST 2002 John Fleck <jfleck@inkstain.net>

	* doc/tutorial/xmltutorial.xml
	* doc/tutorial/includekeyword.c
	* doc/tutorial/includegetattribute.c
	plus generated html and pdf
	Adding fix from Niraj Tolia to tutorial to properly free memory.
2002-12-16 04:34:57 +00:00
Daniel Veillard
da46d2d31e added more methods of XmlTextReader. this increased the methods in the
* xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: added
  more methods of XmlTextReader.
* python/libxml2class.txt python/tests/reader.py: this increased the
  methods in the bndings, augmented the test to check those new
  functions.
Daniel
2002-12-15 23:36:49 +00:00
Daniel Veillard
0eb38c7259 added the close and getattribute methods of XmlTextReader. added the
* xmlreader.c doc/libxml2-api.xml: added the close and getattribute
  methods of XmlTextReader.
* python/generator.py python/libxml_wrap.h python/types.c
  python/libxml2class.txt: added the reader to the Python bindings
* python/tests/Makefile.am python/tests/reader.py: added a specific
  test for the Python bindings of the Reader APIs
* parser.c: small cleanup.
Daniel
2002-12-14 23:00:35 +00:00
Daniel Veillard
7ef0fcb8a8 Added a small blurb about the API file and generator, Daniel 2002-12-14 10:38:55 +00:00
Daniel Veillard
0650345dea fallback was only copying the first child not the full child list of the
* xinclude.c: fallback was only copying the first child not the
  full child list of the fallback element, closes #89684 as reopened
  by Bernd Kuemmerlen
Daniel
2002-12-13 10:42:08 +00:00
Igor Zlatkovic
b894fbc5b7 exported htmlNodeDumpOutput 2002-12-12 12:34:07 +00:00
Igor Zlatkovic
2d45f52c14 *** empty log message *** LIBXML_2_4_30 2002-12-12 12:33:43 +00:00
Daniel Veillard
c1eed320bd preparing release of 2.4.30 fixups to the api builder, gives enum values,
* configure.in: preparing release of 2.4.30
* doc/apibuild.py doc/libxml2-api.xml: fixups to the api builder,
  gives enum values, fix functype return type, put back fields in
  structs
* doc/*: updated the docs rebuilt
Daniel
2002-12-12 11:01:32 +00:00
Daniel Veillard
000eafb5a7 fixups to the api builder, gives enum values, fix functype return type
* doc/apibuild.py doc/libxml2-api.xml: fixups to the api builder,
  gives enum values, fix functype return type
Daniel
2002-12-12 10:04:22 +00:00
Daniel Veillard
024b57019f patch from Mark Vadok about htmlNodeDumpOutput location. removed an
* HTMLtree.c include/libxml/HTMLtree.h: patch from Mark Vadok
  about htmlNodeDumpOutput location.
* xpath.c: removed an undefined function signature
* doc/apibuild.py doc/libxml2-api.xml: the script was exporting
  too many symbols in the API breaking the python bindings.
  Updated with the libxslt/libexslt changes.
Daniel
2002-12-12 00:15:55 +00:00
Daniel Veillard
9b4bb4d07a preparing release of 2.4.29 rebuilt the docs and API a few more fixes for
* configure.in: preparing release of 2.4.29
* doc/*: rebuilt the docs and API
* xmlreader.c: a few more fixes for the XmlTextReader API
Daniel
LIBXML_2_4_29
2002-12-11 19:28:47 +00:00
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 Stéphane Bidoul for Python bindings on Windows small
* python/setup.py.in: another patch from Stéphane 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 (Stéphane Bidoul)
* python/generator.py python/libxml.c python/setup.py.in: trying
  to fix the Python bindings build on Windows (Stéphane 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