247 Commits

Author SHA1 Message Date
Thomas Broyer
f06a3d8b53 added a more convenient extension API for value and context managing Now
* include/libxml/xpath{,Internals}.h xpath.c: added a more
	  convenient extension API for value and context managing
	  Now handles external objects through xmlXPathPopExternal,
	  xmlXPathWrapExternal and xmlXPathReturnExternal.
	  Added functions for sets operations (intersection, etc.)
2001-07-16 04:52:57 +00:00
Daniel Veillard
220907319a cleanup of global variables, marking some const or private. Daniel
* include/libxml/parserInternals.h include/libxml/HTMLparser.h
  xmlIO.c tree.c parserInternals.c entities.c encoding.c
  HTMLparser.c: cleanup of global variables, marking some
  const or private.
Daniel
2001-07-16 00:06:07 +00:00
Thomas Broyer
496be68388 exported xmlXPath{NAN,PINF,NINF} fixed xmlXPathNodeSetItem when passing
* include/libxml/xpath.h: exported xmlXPath{NAN,PINF,NINF}
	  fixed xmlXPathNodeSetItem when passing index=0
2001-07-15 22:59:18 +00:00
Daniel Veillard
05dec34439 added xmlCheckVersion() Daniel
* include/libxml/xmlwin32version.h.in: added xmlCheckVersion()
Daniel
2001-07-14 21:57:39 +00:00
Daniel Veillard
7db3773a5c store the line numbder in element->content, may break some software, need
* DOCBparser.c HTMLparser.c HTMLtree.c SAX.c debugXML.c parser.c
  tree.c xpointer.c: store the line numbder in element->content,
  may break some software, need a configuration mechanism
Daniel
2001-07-12 01:20:08 +00:00
Darin Adler
96037891e6 Various things that are generated and should be ignored.
* .cvsignore:
	* example/.cvsignore:
	* include/.cvsignore:
	* include/libxml/.cvsignore:
	Various things that are generated and should be ignored.
2001-07-11 00:03:16 +00:00
Daniel Veillard
09ab7e1c1c release of 2.4.0 updated the docs Daniel
* configure.in include/libxml/xmlwin32version.h: release of 2.4.0
* doc/xml.html doc/html/*:  updated the docs
Daniel
2001-07-10 15:49:44 +00:00
Daniel Veillard
449d73988a - doc/libxml-doc.el: Felix Natter provided anew version working
with XEmacs too
Daniel
2001-07-07 19:11:06 +00:00
Daniel Veillard
5168dbfe53 small cleanup update Daniel
* include/libxml/xpath.h: small cleanup
* doc/xml.html: update
Daniel
2001-07-07 00:18:23 +00:00
Daniel Veillard
f524d6e1d9 released 2.3.14 Daniel
* Makefile.am configure.in include/libxml/xmlwin32version.h:
  released 2.3.14
Daniel
2001-07-05 23:41:40 +00:00
Daniel Veillard
f06307e2c1 - xpath.c include/libxml/xpath.h include/libxml/xpathInternals.h:
lot of optimization work, results in significant improvements
  when handling really complex XPath queries. Add a small optimizer
  for unions, improve [n] and [last()], avoid some costly ops.
Daniel
2001-07-03 10:35:50 +00:00
Daniel Veillard
770447311e xmlStrstr args are both const small cleanup reformated, fixed problems if
* include/libxml/parser.h parser.c: xmlStrstr args are both const
* xpath.c: small cleanup
* xmlGetNsList: reformated, fixed problems if used on Entities
Daniel
2001-06-29 21:31:07 +00:00
Daniel Veillard
b37ecd0e51 - configure.in include/libxml/xmlwin32version.h: released 2.3.13
- Makefile.am example/Makefile.am: workaround automake generating
  erroneous deps
Daniel
2001-06-28 16:18:11 +00:00
Daniel Veillard
12f7d29420 - include/win32config.h: bug #56801 Yon Derek provided a patch
to the windows config file.
Daniel
2001-06-28 13:12:11 +00:00
Daniel Veillard
87ee914013 - xpointer.c include/win32config.h win32/libxml2/libxml2.def.src
libxml.h : Yon Derek provided a set of changes to compile from
  CVS on Windows/MSC
Daniel
2001-06-28 12:54:16 +00:00
Daniel Veillard
1164810d66 - configure.in doc/xml.html include/libxml/xmlwin32version.h:
release of 2.3.12
- parser.c: make an error message if unknow entities in all cases
Daniel
2001-06-26 16:08:24 +00:00
Daniel Veillard
23793845ed - include/libxml/Makefile.am: Laszlo Peter pointed out that
includes were installed in the wrong dir
Daniel
2001-06-25 16:07:45 +00:00
Daniel Veillard
c5d64345cf Summer's cleanup, a really big one:
* AUTHORS: added William and Bjorn
* include/libxml/*.h *.c README doc/*.html etc.: changed old email to
  daniel@veillard.com hopefully I won't have to do this again
* doc/Makefile.am doc/html/*.html: cleanup makefile, checked that
  docs can be rebuilt cleanly now
* include/libxml/xml*version.h*: removed include/libxml/xmlversion.h
  from CVs it's generated, added include/libxml/xmlwin32version.h
  also generated but which should change far less frequently.
* catalog.c nanoftp.c: made sure to include libxml.h not
  libxml/xmlversion.h directly
* include/libxml/*.h: include xmlwin32version.h instead of xmlversion.h
  when compiling on WIN32 and MSC
Daniel
2001-06-24 12:13:24 +00:00
Daniel Veillard
07385fd77f fixed make distcheck and rebuilding the rpms Daniel
* include/Makefile.am include/libxml/Makefile.am: fixed make
  distcheck and rebuilding the rpms
Daniel
2001-06-23 21:55:48 +00:00
Daniel Veillard
cd1d9448b8 should finish the migration of exported includes into a real
* configure.in: should finish the migration of exported includes
  into a real include/libxml in CVS, at least for CVS users.
* removed the exported headers, added in include/libxml (as well
  as xmlversion.h.in).
Daniel
2001-06-23 18:53:44 +00:00
Daniel Veillard
6dd8e0552c fixed the way to detect symlink Daniel
* configure.in: fixed the way to detect symlink
Daniel
2001-06-23 18:38:06 +00:00
Daniel Veillard
f7f41852e6 - xmlversion.h: okay this is a generated file, but Windows
users need it and they can't generate it, and I want CVS
  Windows users ...
- win32/libxml2/libxml2_so.dsp: Windows project file for
  the shared lib version of libxml2
- win32/libxml2/libxml2.def.src: bug #56527 set of exported
  resources needed for libxslt/xsltproc by Yon Derek
Daniel
2001-06-22 15:18:01 +00:00
Daniel Veillard
cc146db32c another small fix for ATTRIBUTE_UNUSED Daniel
* include/win32config.h: another small fix for ATTRIBUTE_UNUSED
Daniel
2001-06-22 11:10:52 +00:00
Daniel Veillard
4151acb5f2 Yon Derek provided a first fix to be able to compile libxslt/xsltproc on
* include/win32config.h: Yon Derek provided a first fix
  to be able to compile libxslt/xsltproc on Windows
Daniel
2001-06-22 10:48:57 +00:00
Daniel Veillard
017b108fcf - Makefile.am: cleanup when --without-debug is specified
- xinclude.c xpath.c xpathInternals.h xpointer.c: cleanup
  w.r.t. --without-debug and other include points
- catalog.h testCatalog.c: a bit of cleanup and prepare for XML
  Catalogs
- configure.in entities.h tree.h HTMLparser.c: removed
  --without-corba, made the _private field mandatory
Daniel
2001-06-21 11:20:21 +00:00
Daniel Veillard
c4f631d28a - HTMLtree.[ch]: more work on the HTML serialization routnes,
cleanup, encoding support.
Daniel
2001-06-14 11:11:59 +00:00
Daniel Veillard
02bb170a8b - HTMLparser.[ch] HTMLtree.c: stored the inline/block property
of element and use it to avoid outputting formatting spaces at
  the wrong place. Implemented the format parameter for HTML save.
- result/HTML/doc2.htm result/HTML/doc3.htm result/HTML/fp40.htm
  result/HTML/script.html result/HTML/test2.html result/HTML/test3.html
  result/HTML/wired.html: of course this impact the result of a
  number of HTML tests
Daniel
2001-06-13 21:11:59 +00:00
Daniel Veillard
95d845f3ad - HTMLtree.[ch]: started augmenting the HTML save API with
encoding and formatting parameters
Daniel
2001-06-13 13:48:46 +00:00
Daniel Veillard
ca2366aafd grrr ... namespace is a C++ reserved keyword Daniel
* tree.[ch]: grrr ... namespace is a C++ reserved keyword
Daniel
2001-06-11 12:09:01 +00:00
Daniel Veillard
9cc6dc62f7 - xmlversion.h.in libxml.h: Cygwin patches
- tree.c: xmlFreeNodeList patch similar to xmlFreeNode one
- tree.h: cleanup
Daniel
2001-06-11 08:09:20 +00:00
Daniel Veillard
f3afa7dd4e - nanoftp.c nanohttp.c uri.c include/win32config.h: Igor Zlatkovic
provided fixes to compile on MSCC again
- win32/libxml2/libxml2.def.src win32/libxml2/libxml2*.dsp: he
  also provided an update for the project files.
Daniel
2001-06-09 13:52:58 +00:00
Daniel Veillard
e95e2396f3 - DOCBparser.c: implemented the <?sgml-declaration encoding="xxx"?>
hack
- tree.[ch]: added xmlHasNsProp as suggested in bug report #55653
- uri.c: fixed a warning
Daniel
2001-06-06 10:46:28 +00:00
Daniel Veillard
97ac13197c - xpath.c encoding.[ch]: William M. Brack provided a set of UTF8
string oriented functions and started cleaning the related areas
  in xpath.c which needed fixing in this respect
Daniel
2001-05-30 19:14:17 +00:00
Daniel Veillard
9403a0495d - TODO: updated - nanohttp.[ch] : started adding APIs to get the
- TODO: updated
- nanohttp.[ch] : started adding APIs to get the redirected URL
  when this occurs (needed for further base computation
- tree.h: cleanup
- encoding.c: cleanup
- SAX.c: minor change around ctxt->loadsubset
Daniel
2001-05-28 11:00:53 +00:00
Daniel Veillard
6278fb5b30 - Makefile.am include/Makefile.am: small change to have
include/libxml rebuilt if working from CVS.
- uri.c: applied another patch from Carl Douglas for URI escaping,
  this should close bug #51876
Daniel
2001-05-25 07:38:41 +00:00
Daniel Veillard
d16df9f6ef - xinclude.c: fixed XInclude recursive behaviour bug #54678
- result/XInclude/recursive.xml test/XInclude/docs/recursive.xml
  test/XInclude/ents/inc.txt test/XInclude/ents/sub-inc.ent:
  added specific regression test
- parser.h: preparing for the XSLT mode where DTD inherited
  attributes are added to the tree.
Daniel
2001-05-23 13:44:21 +00:00
Daniel Veillard
8514c674b2 - uri.[ch]: applied a patch from Carl Douglas for URI escaping,
related to bug #51876
Daniel
2001-05-23 10:29:12 +00:00
Daniel Veillard
42596ad20c - tree.c: fixed a gross mistake in base computation, xml:base is
not completely correct yet (need cascade).
- xpath.[ch]: added the few things needed to find a function name
  and URI from the XPath context when it is called.
Daniel
2001-05-22 16:57:14 +00:00
Daniel Veillard
81418e38c8 - catalog.[ch]: fixes and add xmlLoadCatalogs()
- DOCBparser.c: small cleanup
- xmllint.c: added a --catalogs option to load catalogs from
  $SGML_CATALOG_FILES
- tree.c: cleanup
- configure.in: iconv library fixup, ICONV_LIBS
Daniel
2001-05-22 15:08:55 +00:00
Daniel Veillard
bed7b052a3 - HTMLtree.h debugXML.h parserInternals.h tree.h valid.c
xmlversion.h.in xpathInternals.h xpath.h: some cleanup for gtk-doc
- doc/html/* : rebuilt the docs
- valid.c: small patch which may improve some case when
  validating.
Daniel
2001-05-19 14:59:49 +00:00
Daniel Veillard
f69bb4b5bf - HTMLparser.c: Closed bug #54891
- result/HTML/cf_128.html* test/HTML/cf_128.html: added the test
  to the suite
forgot to commit this one yesterday
- encoding.h hash.c nanoftp.h parser.h tree.h uri.h xlink.h xpointer.c:
  applied a documentation patch from LotR and filled in a few missing
  descriptions
Daniel
2001-05-19 13:24:56 +00:00
Daniel Veillard
fd7ddca8b2 - parser.c parser.h parserInternals.h: fixed a couple of
interfaces for handling memory buffer input to const char *
  upon suggestion of JamesH.
Daniel
2001-05-16 10:57:35 +00:00
Daniel Veillard
790142b5b9 two nodeset access macros from Thomas Broyer Daniel
* xpath.h: two nodeset access macros from Thomas Broyer
Daniel
2001-05-15 10:51:53 +00:00
Daniel Veillard
ba0b8c94ac - xpath.c xpath.h xpathInternals.h: apply an XPath API cleanup
patch from Thomas Broyer
Daniel
2001-05-15 09:43:47 +00:00
Daniel Veillard
75bea5480e - tree.[ch]: fixing bug #54446, by cleaning some bugs in the
attributes handling and #54433 by adding xmlUnsetProp()
  and xmlUnsetNsProp()
Daniel
2001-05-11 17:41:21 +00:00
Daniel Veillard
7d6fd219f2 - xmlIO.c catalog.c: plugged in the default catalog resolution
- doc/gnome-xml.sgml: linked in the Docbook parser and catalog
  documentations
- doc/html/libxml-*.html: rebuild added the missing ones to CVS
Daniel
2001-05-10 15:34:11 +00:00
Daniel Veillard
a737459bc4 - Makefile.am xmlversion.h.in configure.in include/Makefile.am:
integrating catalogs
- catalog.[ch] testCatalog.c: adding a small catalo API
  (only SGML catalog support).
- parser.c: restaured xmlKeepBlanksDefault(0) API
Daniel
2001-05-10 14:17:55 +00:00
Daniel Veillard
b59076b898 - configure.in: default on the DocBook parser inclusion (for Gnome)
- DOCBparser.h: fixed a header reference
Daniel
2001-04-29 17:04:07 +00:00
Daniel Veillard
eefd44943c - tree.[ch] xmlIO.h: applied patch from Joe McAlerney to add
xmlSaveFormatFileTo()
Daniel
2001-04-28 16:55:50 +00:00
Daniel Veillard
61d80a2822 - parserInternals.c xpath.[ch]: some UTF8 cleanup on
xmlXPathParseName
- xpath.c: Igor Zlatkovic suggested a change for NAN and MSC
- debugXML.c: avoid compilation problems if compiling without
  HTML support, Igor Zlatkovic
- win32/libxml2/libxml2.def.src: being able to compile without
  XPath on Windows
Daniel
2001-04-27 17:13:01 +00:00