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

1130 Commits

Author SHA1 Message Date
Daniel Veillard
f1d0e6be57 inserted the python wrappers build, I hope this won't be too unportable
* python/Makefile.am python/libxml.c configure.in Makefile.am:
  inserted the python wrappers build, I hope this won't be too
  unportable
Daniel
2002-01-31 23:42:44 +00:00
Daniel Veillard
1971ee2698 minor optimization more work on the python bindings, they now support
* xpath.c: minor optimization
* python/generator.py python/libxml.c python/libxml.py
  python/libxml_wrap.h: more work on the python bindings,
  they now support XPath and there is no evident leak
Daniel
2002-01-31 20:29:19 +00:00
Daniel Veillard
36ed5290a2 more work on the python bindings generator. Daniel
* python/generator.py python/libxml.c python/libxml.py:
  more work on the python bindings generator.
Daniel
2002-01-30 23:49:06 +00:00
Daniel Veillard
96fe095d4b more work on the python bindings. Daniel
* python/generator.py python/libxml.c python/libxml_wrap.h:
  more work on the python bindings.
Daniel
2002-01-30 20:52:23 +00:00
Daniel Veillard
d2897fde00 commited early version of a python binding for private use only ATM Daniel
* python/generator.py python/libxml.c python/libxml.py
  python/libxml_wrap.h: commited early version of a python binding
  for private use only ATM
Daniel
2002-01-30 16:37:32 +00:00
Daniel Veillard
8ee9c8f6c4 applied patch from Anthony Jones to implement copy of DTD subtree too. Had
* entities.c tree.c include/libxml/entities.h: applied patch
  from Anthony Jones to implement copy of DTD subtree too. Had
  just to keep 2 function private which really ought to become
  public ones.
Daniel
2002-01-26 21:42:58 +00:00
Daniel Veillard
a42f25f939 added pointers to the web pages in the usage() Daniel
* xmllint.c: added pointers to the web pages in the usage()
Daniel
2002-01-25 14:15:40 +00:00
Daniel Veillard
bd227ae9db more fixes from Petr Kozelka for attribute handling in the tree API to
* tree.c: more fixes from Petr Kozelka for attribute handling
  in the tree API to align the semantic with DOM.
Daniel
2002-01-24 16:05:41 +00:00
Daniel Veillard
3606581dcd another set of patches from Anthony Jones for copy operations cleanup and
* valid.c tree.c entities.c: another set of patches from
  Anthony Jones for copy operations cleanup and robustness
Daniel
2002-01-24 15:02:46 +00:00
Daniel Veillard
f85925628a generated an alphabetic index based on comments content rebuilt the web
* doc/APIchunk*.html doc/parsedecl.py doc/api.xsl: generated
  an alphabetic index based on comments content
* doc/*: rebuilt the web site with the new references
Daniel
2002-01-23 17:58:17 +00:00
Daniel Veillard
c8c7be4b17 Greg Sjaardema suggested to use an eponential buffer groth policy in
* parserInternals.h: Greg Sjaardema suggested to use an
  eponential buffer groth policy in xmlParserAddNodeInfo()
Daniel
2002-01-23 17:53:44 +00:00
Daniel Veillard
3bf65bea7d updated the python extractor to generate cross-references, and
* doc/api.xsl doc/APIconstructors.html doc/APIfiles.html
  doc/APIfunctions.html doc/APIsymbols.html doc/libxml2-refs.xml
  doc/parsedecl.py doc/Makefile.am: updated the python extractor
  to generate cross-references, and added/updated the stylesheets
  to generate and link API indexes. The generic keyword index
  is not done yet.
* doc/*.html: regenerated all the usual docs too
Daniel
2002-01-23 12:36:34 +00:00
Daniel Veillard
2070c48cdc added an xpath function to the shell for T. V. Raman Daniel
* debugXML.c: added an xpath function to the shell for T. V. Raman
Daniel
2002-01-22 22:12:19 +00:00
Daniel Veillard
5e926fa77e patch from Anthony Jones to catch NULL nodes in debug routines. Daniel
* debugXML.c: patch from Anthony Jones to catch NULL nodes in
  debug routines.
Daniel
2002-01-22 21:44:25 +00:00
Daniel Veillard
c169f8b485 apply an patch from Petr Kozelka for unlink and replace support of
* tree.c: apply an patch from Petr Kozelka for unlink and replace
  support of attribute nodes
Daniel
2002-01-22 21:40:13 +00:00
Daniel Veillard
9d06d300a5 Build a new version hopefully near complete and fully documented of the
* doc/libxml2-api.xml doc/parsedecl.py: Build a new version
  hopefully near complete and fully documented of the API in XML
* HTMLtree.c SAX.c debugXML.c error.c globals.c parser.c tree.c
 xmlIO.c xmlmemory.c include/libxml/catalog.h include/libxml/hash.h
 include/libxml/list.h include/libxml/parser.h include/libxml/tree.h
 include/libxml/parserInternals.h include/libxml/valid.hi
 include/libxml/xmlIO.h include/libxml/xmlerror.hi
 include/libxml/xmlmemory.h include/libxml/xmlversion.h.ini
 include/libxml/xpath.h include/libxml/xpathInternals.h:
  Cleaned up the doc comments a lot in the process, the interface
  coverage is now 100%
Daniel
2002-01-22 18:15:52 +00:00
Daniel Veillard
2d1464fbbf improved the script to extracts comments from the gtk-doc DocBook output
* doc/libxml2-api.xml doc/parsedecl.py: improved the script to
  extracts comments from the gtk-doc DocBook output (a bit
  convoluted but seems to work).
Daniel
2002-01-21 23:16:56 +00:00
Daniel Veillard
610064716f added an XML description of the API, moved the script generating it here.
* Makefile.am doc/Makefile.am doc/libxml2-api.xml doc/parsedecl.py:
  added an XML description of the API, moved the script generating
  it here. Added a "make api" target
Daniel
2002-01-21 17:31:47 +00:00
Daniel Veillard
d2f23009b3 Adam Lounds pointed out a bug in xmlSearchNs() Daniel
* tree.c: Adam Lounds pointed out a bug in xmlSearchNs()
Daniel
2002-01-21 13:36:00 +00:00
Daniel Veillard
99e55ebe94 the change made to xmlXPathFuncLookupFunc was incompatible roll it back
* xpath.c include/libxml/xpathInternals.h: the change made to
  xmlXPathFuncLookupFunc was incompatible roll it back
Daniel
2002-01-21 08:56:29 +00:00
Daniel Veillard
963d2ae415 cleanup patch from Anthony Jones fix the headers to avoid in make scan
* SAX.c: cleanup patch from Anthony Jones
* doc/Makefile.am: fix the headers to avoid in make scan
* parserInternals.c xpath.c include/libxml/*.h: cleanup of the
  includes, * vs Ptr and general cleanup
* parsedecl.py: first version of a script to extract the
  module interfaces, the goal will be to provide .decl or XML
  specification of the interfaces to build wrappers.
Daniel
2002-01-20 22:08:18 +00:00
Daniel Veillard
0f5f162eeb Fixed bug #68830, xmlcatalog now provides return codes in case of errors
* doc/xmlcatalog_man.xml xmlcatalog.c: Fixed bug #68830, xmlcatalog
  now provides return codes in case of errors
Daniel
2002-01-20 12:42:06 +00:00
Bjorn Reese
026d29f41e Upgraded to trio baseline 1.6 2002-01-19 15:40:18 +00:00
Daniel Veillard
572577e094 removed the last occurences of strdup usage in the code Daniel
* globals.c xmlIO.c xmlcatalog.c: removed the last occurences
  of strdup usage in the code
Daniel
2002-01-18 16:23:55 +00:00
Daniel Veillard
db5850a23a Keith Isdale complained rightly that xmlInitParser() did not preserve
* parser.c error.c: Keith Isdale complained rightly that
  xmlInitParser() did not preserve value set by xmlSetGenericErrorFunc
Daniel
2002-01-18 11:49:26 +00:00
Daniel Veillard
cfa0d81221 fixed the funxtion to set the xml: attributes added "setbase" to test it.
* tree.c: fixed the funxtion to set the xml: attributes
* debugXML.c: added "setbase" to test it.
Daniel
2002-01-17 08:46:58 +00:00
Daniel Veillard
2c748c612e update xmlNodeSetContent() and xmlNodeSetContentLen() to allow updating an
* tree.c: update xmlNodeSetContent() and xmlNodeSetContentLen()
  to allow updating an attribute content
Daniel
2002-01-16 15:37:50 +00:00
Daniel Veillard
8de85c6c00 try to avoid problems when compiling on Windows Daniel
* libxml.h: try to avoid problems when compiling on Windows
Daniel
2002-01-15 17:10:15 +00:00
Daniel Veillard
314cfa083c patch from Anthony Jones for hash.c allocation size trying to work around
* hash.c: patch from Anthony Jones for hash.c allocation size
* Makefile.am: trying to work around Yet Another Libtool Madness
  and build the 2.4.13 release finally ...
daniel
2002-01-14 17:58:01 +00:00
Daniel Veillard
744683d1c7 updated to 2.4.13 update of the documentation daniel
* configure.in include/libxml/xmlwin32version.h: updated to 2.4.13
* doc/* : update of the documentation
daniel
2002-01-14 17:30:20 +00:00
Daniel Veillard
e6a5519cdc some cleanup after an unsuccessful attempt at fixing #61290 :-( Daniel
* debugXML.c tree.c: some cleanup after an unsuccessful attempt
  at fixing #61290 :-(
Daniel
2002-01-14 17:11:53 +00:00
Daniel Veillard
fb25a51418 fixed xmlSaveFormatFileEnc() when encoding == NULL Fixes bug #67229 Daniel
* tree.c: fixed xmlSaveFormatFileEnc() when encoding == NULL
  Fixes bug #67229
Daniel
2002-01-13 20:32:08 +00:00
Daniel Veillard
acb2bdace3 trying to avoid troubles when a subtree is copied and coalesced in part
* tree.c: trying to avoid troubles when a subtree is copied
  and coalesced in part with the target tree. Should fix
  bug #67407
Daniel
2002-01-13 16:15:43 +00:00
Daniel Veillard
d8224e0f7e fixed validation of attributes content of type NAME NAMES NMTOKEN and
* valid.c: fixed validation of attributes content of type
  NAME NAMES NMTOKEN and NMTOKENS to accept internationalized
  values, very old bug. Fixes #67671
Daniel
2002-01-13 15:43:22 +00:00
Daniel Veillard
8107a22f96 integrated a couple of fixes and a new API function
* parser.c include/libxml/parserInternals.h tree.c: integrated
  a couple of fixes and a new API function xmlSetEntityReferenceFunc()
  from Keith Isdale and dedicated to xsldbg the XSLT debugger.
Daniel
2002-01-13 14:10:10 +00:00
Daniel Veillard
db0eb8df5a applied Serguei Narojnyi's patch to add native thread support on the Win32
* threads.c: applied Serguei Narojnyi's patch to add native
  thread support on the Win32 platform
* testThreadsWin32.c Makefile.am: added the test program also
  from Serguei, Win32 specific
* include/win32config.h include/libxml/xmlwin32version.h.in:
  added patch from Igor for the Windows thread specific defines.
Daniel
2002-01-13 13:35:00 +00:00
Daniel Veillard
845cce4cf1 Anthony Jones pointed a bug in xmlCopyEntity() Daniel
* entities.c: Anthony Jones pointed a bug in xmlCopyEntity()
Daniel
2002-01-09 11:51:37 +00:00
Daniel Veillard
7b602b421e renamed XML.html output page into XMLinfo.html. Close bug #66951 and
* doc/*.html doc/site.xsl doc/Makefile: renamed XML.html
  output page into XMLinfo.html. Close bug #66951 and
  raised by Robert Collins too.
Daniel
2002-01-08 13:26:00 +00:00
Daniel Veillard
73c6e53aff Paul Keogh pointed out a possibility of segfault on repeted
* encoding.c: Paul Keogh pointed out a possibility of segfault
  on repeted xmlAddEncodingAlias() / xmlCleanupEncodingAlias().
  Closes bug # 68238
Daniel
2002-01-08 13:15:33 +00:00
Daniel Veillard
4a85920e23 updated the Gdome2 links Daniel
* doc/*.html: updated the Gdome2 links
Daniel
2002-01-08 11:49:22 +00:00
Daniel Veillard
3c5ed91ac3 Applied following patches from Robert Collins and make sure IN_LIBXML is
* libxml.h: Applied following patches from Robert Collins
  and make sure IN_LIBXML is defined when compiling it
-------
* include/libxml/xmlversion.h.in (LIBXML_DLL_IMPORT): Use on Cygwin
  as well as Visual C.
* parser.c (XML_DIR_SEP): Don't use '\\' for Cygwin.
* parserInternals.c (XML_DIR_SEP): Don't use '\\' for Cygwin.
* strio.c (PLATFORM_UNIX): Define for Cygwin.
* triodef.h (TRIO_PLATFORM_UNIX): Define for Cygwin.
* xmlIO.c (xmlFileOpen): Use unix behaviour for Cygwin.
  Use binary mode opens for Cygwin (xmlFileOpenW xmlParserGetDirectory
  xmlSysIDExists xmlNoNetExists).
* xmllint.c: Don't include winsock2.h for Cygwin.
Daniel
2002-01-08 10:36:16 +00:00
Daniel Veillard
401c2114b4 Jirka Kosek pointer out a bug in xmlParseTextDecl() when the version info
* parser.c: Jirka Kosek pointer out a bug in xmlParseTextDecl()
  when the version info is not present.
Daniel
2002-01-07 16:54:10 +00:00
Daniel Veillard
6f42c13647 Anthony Jones pointed out a problem in xmlStringGetNodeList() and provided
* tree.c: Anthony Jones  pointed out a problem in
  xmlStringGetNodeList() and provided a fix for it
Daniel
2002-01-06 23:05:13 +00:00
Daniel Veillard
aa39a0fb6b patch from Jack J Franklin to remove a bug in xmlCreatePushParserCtxt()
* parser.c: patch from Jack J Franklin to remove a bug in
  xmlCreatePushParserCtxt() when the initial buffer passed
  is large.
Daniel
2002-01-06 12:47:22 +00:00
Daniel Veillard
0e47ee29be big cleanup of the Windows/MSVC project files from Igor Zlatkovic Daniel
* win32/*: big cleanup of the Windows/MSVC project files
  from Igor Zlatkovic
Daniel
2002-01-05 18:25:52 +00:00
Daniel Veillard
cebb136120 should fix #67674 and avoid troubles if xsltproc is not available or fails
* doc/Makefile.am: should fix #67674 and avoid troubles if
  xsltproc is not available or fails in the prefix provided
Daniel
2002-01-02 13:13:30 +00:00
Daniel Veillard
26908ab580 one more doc patch from Charlie Bozeman. Daniel
* xmlmemory.c: one more doc patch from Charlie Bozeman.
Daniel
2002-01-01 16:50:03 +00:00
Daniel Veillard
5344c60dc1 Fixed a few other problems raised by Charlie Bozeman. fixed the output
* DOCBparser.c parser.c valid.c include/libxml/parserInternals.h
  include/libxml/xmlerror.h include/libxml/xpathInternals.h:
  Fixed a few other problems raised by Charlie Bozeman.
* result/VC/ElementValid[5-7]: fixed the output
Daniel
2001-12-31 16:37:34 +00:00
Daniel Veillard
cbaf399537 applied 42 documentation patches from Charlie Bozeman. Regenerated the
* *.c include/libxml/*.h doc/html/*: applied 42 documentation
  patches from Charlie Bozeman. Regenerated the HTML docs.
Daniel
2001-12-31 16:16:02 +00:00
Daniel Veillard
7f9a6806ed fixes for Windows from Igor Daniel
* include/libxml/debugXML.h win32/dsp/libxml2.def.src: fixes
  for Windows from Igor
Daniel
2001-12-20 14:01:47 +00:00