296 Commits

Author SHA1 Message Date
Daniel Veillard
bb6808ea16 trying to clear #63336 allowing the escaping routine to parse unconformant
* uri.c include/libxml/uri.h: trying to clear #63336
  allowing the escaping routine to parse unconformant
  URI-References.
Daniel
2001-10-29 23:59:27 +00:00
Daniel Veillard
acf7ff0a65 a few VMS updates from John A Fotheringham added
* vms/readme.vms vms/build_libxml.com nanoftp.c
  include/libxml/xmlversion.h.in: a few VMS updates from
  John A Fotheringham
* include/libxml/xmlIO.h xmlIO.c: added xmlCleanupInputCallbacks()
  and xmlCleanupOutputCallbacks() for the Perl binding people.
Daniel
2001-10-29 20:21:47 +00:00
Daniel Veillard
3c01b1d81b - include/libxml/globals.h include/libxml/threads.h threads.c
testThreads.c: far more testing, cleaning up bugs
- *.c : make sure globals.h is always included.
Daniel
2001-10-17 15:58:35 +00:00
Daniel Veillard
64a411cc8c make the allocation be per-thread a configure option fixed compilation
* include/libxml/globals.h configure.in global.data: make
  the allocation be per-thread a configure option
* encoding.c include/libxml/parser.h: fixed compilation
  errors
Daniel
2001-10-15 12:32:07 +00:00
Daniel Veillard
5ee57fc9ae Norm reported that a few lines added were breaking libxslt compile,
* include/libxml/parser.h: Norm reported that a few lines
  added were breaking libxslt compile, removed them for now
Daniel
2001-10-15 10:46:16 +00:00
Daniel Veillard
6661ffa5a9 missing globals.h Daniel
* include/libxml/Makefile.am: missing globals.h
Daniel
2001-10-13 14:18:17 +00:00
Daniel Veillard
d046356030 Applied the last patches from Gary, cleanup, activated threading all user
* include/libxml/SAX.h include/libxml/globals.h include/libxml/parser.h
  include/libxml/parserInternals.h include/libxml/tree.h
  include/libxml/xmlerror.h HTMLparser.c SAX.c error.c globals.c
  nanoftp.c nanohttp.c parser.c parserInternals.c testDocbook.c
  testHTML.c testSAX.c tree.c uri.c xlink.c xmlmemory.c:
  Applied the last patches from Gary, cleanup, activated threading
  all user accessible global variables are now handled in globals.[ch]
  Still a bit rought but make tests passes with either
  --with-threads defined at configure time or not.
* Makefile.am example/Makefile.am: added globals.[ch] and threads
  linking options
Daniel
2001-10-13 09:15:48 +00:00
Daniel Veillard
b847864fc2 started integrating the core of the thread support not activated yet but
* Makefile.am include/libxml/Makefile.am
  include/libxml/globals.h globals.c  include/libxml/threads.h
  threads.c build_glob.py global.data xmlcatalog.c acconfig.h
  configure.in: started integrating the core of the thread support
  not activated yet but half integrated. The code should still
  compile and work anyway.
Daniel
2001-10-12 17:29:10 +00:00
Daniel Veillard
75b96824bc very serious cleanup, isolating unportable code and as much as possible
* catalog.c include/libxml/catalog.h: very serious cleanup,
  isolating unportable code and as much as possible the accesses
  to the global shared catalog. May need more testing !
Daniel
2001-10-11 18:59:45 +00:00
Daniel Veillard
78d1209708 integrating Keith Isdale patches for the XSLT debugger interfaces. Some
* include/libxml/debugXML.h debugXML.c tree.c: integrating
  Keith Isdale patches for the XSLT debugger interfaces. Some
  cleanup
Daniel
2001-10-11 09:12:24 +00:00
Daniel Veillard
60087f30f3 preparing 2.4.6 release updated and rebuilt the docs fixed a number of
* configure.in: preparing 2.4.6 release
* doc/xml.html doc/html/*: updated and rebuilt the docs
* include/libxml/*.h *.c: fixed a number of teh/the widht/width typos
Daniel
2001-10-10 09:45:09 +00:00
Daniel Veillard
82d7533880 adding SGML super catalog support adding one API and one flag --sgml to
* include/libxml/catalog.h catalog.c xmlcatalog.c: adding SGML
  super catalog support adding one API and one flag --sgml to
  xmlcatalog
Daniel
2001-10-08 15:01:59 +00:00
Thomas Broyer
47334c09f4 implemented xmlXPathObjectCopy for external objects added
* xpath.c: implemented xmlXPathObjectCopy for external objects
	* include/libxml/xpathInternals.h: added xmlXPathStackIsExternal
2001-10-07 16:41:52 +00:00
Daniel Veillard
5e6d10ae90 closing #60708 Daniel
* include/libxml/Makefile.am: closing #60708
Daniel
2001-10-03 13:21:13 +00:00
Daniel Veillard
a293c32378 adding xmlSAXParseFileWithData following Marco Stipek suggestion Daniel
* win32/dsp/libxml2.def.src include/libxml/parser.h parser.c:
  adding xmlSAXParseFileWithData following Marco Stipek suggestion
Daniel
2001-10-02 13:54:14 +00:00
Daniel Veillard
16756b627b Justin Fletcher provided cleaup code in case HAVE_STAT is not defined Igor
* catalog.c: Justin Fletcher provided cleaup code in case
  HAVE_STAT is not defined
* include/win32config.h: Igor Zlatkovic suggested to have
  HAVE_STAT defined there
Daniel
2001-10-01 07:36:25 +00:00
Daniel Veillard
2fc2db7398 let's ship 2.4.5 before egtting too much troubles with 2.4.4 errors.
* configure.in: let's ship 2.4.5 before egtting too much
  troubles with 2.4.4 errors.
Daniel
2001-09-14 17:33:51 +00:00
Daniel Veillard
07cdb2a84f moved includes to includedir/libxml2/libxml, updated the configuration
* config.h.in configure.in libxml.spec.in include/libxml/Makefile.am
  libxml-2.0.pc.in: moved includes to includedir/libxml2/libxml,
  updated the configuration scripts systems accordingly
2001-09-12 20:19:58 +00:00
Daniel Veillard
04382ae3d6 preparing for 2.4.4 updated and rebuilt the docs Daniel
* configure.in: preparing for 2.4.4
* doc/xml.html doc/html/*: updated and rebuilt the docs
Daniel
2001-09-12 18:51:30 +00:00
Daniel Veillard
7cf5e44827 Tried to close bug #60131 Daniel
* libxml.h include/libxml/xmlversion.h.in
  include/libxml/xmlwin32version.h include/libxml/xmlwin32version.h.in:
  Tried to close bug #60131
Daniel
2001-09-10 20:16:32 +00:00
Daniel Veillard
7a51d6df13 fixing bug 59732, simple but allocates a new error code. Daniel
* include/libxml/xmlerror.h SAX.c: fixing bug 59732, simple
  but allocates a new error code.
Daniel
2001-09-10 14:40:43 +00:00
Daniel Veillard
2ebd7a7a02 added fix to the header Daniel
* include/libxml/tree.h: added fix to the header
Daniel
2001-08-28 21:07:03 +00:00
Daniel Veillard
b06c61455f hum, restrict the integer usage gcc bug workaround to only gcc compilers
* xpath.c: hum, restrict the integer usage gcc bug workaround
  to only gcc compilers so that other architecture don't get
  penalized by this limitation.
* include/libxml/xpath.h: small typo fix from Heiko W. Rupp
Daniel
2001-08-27 14:26:30 +00:00
Daniel Veillard
6c5f9d14cc added a --convert option to xmlcatalog to convert SGML ones to the XML
* include/libxml/catalog.h catalog.c xmlcatalog.c: added a
  --convert option to xmlcatalog to convert SGML ones to
  the XML syntax.
* xmllint.c: small cleanup for $SGML_CATALOG_FILES support.
Daniel
2001-08-25 13:33:14 +00:00
Daniel Veillard
9f7b84bb07 preparing for a 2.4.3 release even if it may not be ready yet redirected
* Makefile.am configure.in include/libxml/xmlwin32version.h:
  preparing for a 2.4.3 release even if it may not be ready yet
* catalog.c parser.c xmlIO.c include/libxml/catalog.h: redirected
  all file parsing lookup to go through the entity resolver, add
  to add an API to bypass it (needed to load catalogs themselves),
  some cleanup on the catalog code too.
* nanoftp.c: small cleanup
* doc/catalog.html: small update
Daniel
2001-08-23 15:31:19 +00:00
Daniel Veillard
dc2cee29d0 Added the part about section 7.2 on URI resolution, fixed a side effect in
* include/libxml/catalog.h catalog.c xmlIO.c HTMLparser.c:
  Added the part about section 7.2 on URI resolution,
  fixed a side effect in the HTML parser, look complete
  and ready to rock except the URI/SystemID part!
Daniel
2001-08-22 16:30:37 +00:00
Daniel Veillard
5d90b6c983 added support and APIs needed for the catalog PI cleanup Daniel
* include/libxml/catalog.h include/libxml/parser.h
  include/libxml/xmlerror.h catalog.c parser.c parserInternals.c
  xmlIO.c: added support and APIs needed for the catalog PI
* include/libxml/xmlIO.h: cleanup
Daniel
2001-08-22 14:29:45 +00:00
Daniel Veillard
e2940ddb35 starts to look okay, really plugged the new framework, cleaned a lot of
* catalog.c parser.c xmlIO.c xmlcatalog.c xmllint.c
  include/libxml/catalog.h: starts to look okay, really
  plugged the new framework, cleaned a lot of stuff,
  added some APIs, except the PI's support missing this
  should be mostly complete
* result/catalogs/* test/catalogs/*: added new test, enriched
  the existing one with URN ID tests
Daniel
2001-08-22 00:06:49 +00:00
Daniel Veillard
cda969218b more work on the XML catalog support. small cleanup seems using list as a
* Makefile.am catalog.c xmlcatalog.c include/libxml/catalog.h:
  more work on the XML catalog support.
* parser.c include/libxml/parser.h: small cleanup seems using
  list as a public parameter name can give portability troubles
* trionan.c trionan.h xpath.c include/libxml/trionan.h
  include/libxml/xpath.h include/libxml/Makefile.am: removed
  trionan from the libxml API, added xmlXPathIsInf and xmlXPathIsNaN
  wrappers
Daniel
2001-08-21 10:56:31 +00:00
Bjorn Reese
450296070e Re-worked NaN and Inf support 2001-08-21 09:23:53 +00:00
Daniel Veillard
344cee76a6 renaming testCatalog as xmlcatalog, making it an installed app adding a
* Makefile.am xmlcatalog.c libxml.spec.in: renaming
  testCatalog as xmlcatalog, making it an installed app
  adding a shell, and preparing it to be a /etc/xml/catalog
  management tool, though not ready yet
* catalog.c include/libxml/catalog.h: adding support for
  XML Catalogs http://www.oasis-open.org/committees/entity/
  not finished, there is some interesting tradeoffs and a
  few open questions left.
Daniel
2001-08-20 00:08:40 +00:00
Daniel Veillard
bb3712974b trying to fix some troubles w.r.t. function returning const xxxPtr. Daniel
* HTMLparser.c HTMLtree.c include/libxml/HTMLparser.h:
  trying to fix some troubles w.r.t. function returning
  const xxxPtr.
Daniel
2001-08-16 23:26:59 +00:00
Daniel Veillard
9a0b3d63c1 released 2.4.2 Daniel
* config.h.in configure.in include/libxml/xmlwin32version.h:
  released 2.4.2
Daniel
2001-08-15 12:58:03 +00:00
Daniel Veillard
d3d067280e deprecate the non-boundchecking Sprintf functions, add Snprintf this
* include/libxml/valid.h debugXML.c valid.c: deprecate
  the non-boundchecking Sprintf functions, add Snprintf
  this should close bug #57984
Daniel
2001-08-15 12:06:36 +00:00
Daniel Veillard
48da910097 allow to inherit attributes from the DTD directly in the tree, this is
* SAX.c testXPath.c valid.c xmllint.c include/libxml/valid.h:
  allow to inherit attributes from the DTD directly in the
  tree, this is needed for XPath and can be a useful feature.
  Inherited namespaces are always provided at the tree level now
* test/defattr* result/defattr* result/noent/defattr*: added a couple
  of tests for this feature (XSLT being the prime user).
Daniel
2001-08-07 01:10:10 +00:00
Daniel Veillard
50f3437111 applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC
* DOCBparser.c Makefile.am nanohttp.c parser.c testHTML.c
  testSAX.c xmlIO.c xmllint.c include/win32config.h
  include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h
  include/libxml/xmlwin32version.h.in win32/README.MSDev
  win32/dsp/*: applied Win32 Facelift No.2 patches from
  Igor Zlatkovic for Windows/MSC
Daniel
2001-08-03 12:06:36 +00:00
Thomas Broyer
f186c8259a fixed a bug in xmlXPathNodeTrailingSorted (for now it worked like the
* xpath.c: fixed a bug in xmlXPathNodeTrailingSorted (for now it
	  worked like the set:leading() function)
	* include/libxml/xpathInternals.h: added xmlXPathNodeSetContains
2001-07-31 23:30:37 +00:00
Daniel Veillard
57905379d1 apply change to close #58141 update of the MSC projects from Igor
* include/libxml/xmlIO.h: apply change to close #58141
* win32/libxml2/*: update of the MSC projects from Igor  Zlatkovic
Daniel
2001-07-31 15:52:17 +00:00
Daniel Veillard
7d7e37919f fixed a serious memory problen when walking the namespace axis showing up
* xpath.c include/libxml/xpath.h: fixed a serious memory problen
  when walking the namespace axis showing up in
  libxst/tests/general/bug-12
* xmlmemory.c: added the possibility to trace a given block
  defined by its address
Daniel
2001-07-30 13:42:13 +00:00
Daniel Veillard
fdb1f24420 reinserted, needed for Windows users of CVS Daniel
* include/libxml/xmlwin32version.h: reinserted, needed for
  Windows users of CVS
Daniel
2001-07-27 23:32:44 +00:00
Darin Adler
a77cac0b83 Remove this file from CVS because it's generated.
* include/libxml/.cvsignore:
	* include/libxml/xmlwin32version.h:
	Remove this file from CVS because it's generated.
2001-07-27 17:41:51 +00:00
Daniel Veillard
50822cb62b applied const patches from Tom Moog #58002 Daniel
* parser.c include/libxml/parser.h: applied const patches from
  Tom Moog #58002
Daniel
2001-07-26 20:05:51 +00:00
Thomas Broyer
ba4ad3263b added a function lookup framework
* xpath.c include/libxml/xpath{,Internals}.h: added a function
	  lookup framework
2001-07-26 16:55:21 +00:00
Daniel Veillard
d9bad13bb2 removing history/readline changed this slightly make element content line
* result/scripts/base*: removing history/readline changed
  this slightly
* include/libxml/parser.h SAX.c parser.c parserInternals.c
  xmllint.c: make element content line number generation
  optionnal to avoid breaking old apps added interface to switch
Daniel
2001-07-23 19:39:43 +00:00
Daniel Veillard
f012a64d13 get rid of the readline and libhistory dependancies by default, release
* configure.in: get rid of the readline and libhistory
  dependancies by default, release 2.4.1 with IA64 fix
* nanohttp.c tree.c xmlIO.c include/libxml/nanohttp.h
  include/libxml/tree.h include/libxml/xmlIO.h: incorporated
  John Kroll fixes to allow saving to HTTP via PUT (or
  POST of needed).
* doc/html/*.html: regenerated the docs
Daniel
2001-07-23 19:10:52 +00:00
Thomas Broyer
e812624729 added xmlHashScannerFull, xmlHashScanFull and xmlHashScannFull3 to get
* hash.c include/libxml/hash.h: added xmlHashScannerFull,
          xmlHashScanFull and xmlHashScannFull3 to get passed the
          three keys as arguments to the callback function
2001-07-22 03:54:15 +00:00
Daniel Veillard
5e2dace1ca Cleanup, cleanup .. removed libxml softlink for good cleanup to get 100%
Cleanup, cleanup ..
* configure.in Makefile.am: removed libxml softlink for good
* include/libxml/*.h *.c doc/Makefile.am: cleanup to get
  100% coverage by gtk-doc
Daniel
2001-07-18 19:30:27 +00:00
Daniel Veillard
8599e70dd3 debugging on IA64, fixed serious troubles due to size_t vs. int mismatch
* xmlmemory.c include/libxml/xmlmemory.h: debugging on IA64,
  fixed serious troubles due to size_t vs. int mismatch
Daniel
2001-07-17 21:38:51 +00:00
Daniel Veillard
8fcc494e64 cleaned up some warning on the Alpha Daniel
* SAX.c xmlIO.c: cleaned up some warning on the Alpha
Daniel
2001-07-17 20:07:33 +00:00
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