1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-27 04:55:04 +03:00
Commit Graph

1055 Commits

Author SHA1 Message Date
Daniel Veillard
0ba59239d9 Tentatively fixed #69655 , make compiling with -Wredundant-decls clean.
* HTMLtree.c Makefile.am build_glob.py configure.in debugXML.c
  globals.c parser.c threads.c tree.c valid.c xmlmemory.c
  xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h
  include/libxml/parserInternals.h include/libxml/tree.h
  include/libxml/xmlmemory.h include/libxml/xpathInternals.h:
  Tentatively fixed #69655 , make compiling with -Wredundant-decls
  clean.
* python/libxml.c: fixed a warning.
Daniel
2002-02-10 13:20:39 +00:00
Daniel Veillard
c5f05ada40 fix #68882, cleanup the XInclude copying of node, merge back IDs in the
* tree.c valid.c xinclude.c: fix #68882, cleanup the XInclude
  copying of node, merge back IDs in the target document.
* result/XInclude/docids.xml test/XInclude/docs/docids.xml
  test/XInclude/ents/ids.xml: test case
* result/VC/ElementValid4: output changed due to a typo fix
Daniel
2002-02-10 11:57:22 +00:00
Daniel Veillard
1c18e30b46 seems some version of automake didn't generate the dependancies right as
* python/Makefile.am: seems some version of automake didn't
  generate the dependancies right as Jacob found out. Add
  an extra dependancy rule.
Daniel
2002-02-09 22:16:40 +00:00
Daniel Veillard
5e5c2d0a93 Justin Fletcher found some parts of the code needing cleanup Fixed the
* parserInternals.c valid.c: Justin Fletcher found some parts
  of the code needing cleanup
* libxml.spec.in python/Makefile.am python/generator.py
  python/libxml.c python/libxml.py: Fixed the python Makefiles
  corrected a bug showing up on ia64, changed the name of the
  python internal module too
Daniel
2002-02-09 18:03:01 +00:00
Daniel Veillard
b6c1e2f936 Updated the News section, Daniel 2002-02-08 14:52:52 +00:00
Daniel Veillard
07be19bb1e applied patch from Andris Pavenis for binary name suffixes Daniel
* Makefile.am: applied patch from Andris Pavenis for binary
  name suffixes
Daniel
2002-02-08 14:20:35 +00:00
Daniel Veillard
f216d461eb fixing #68748 Daniel
* xmllint.c win32/win32config.h: fixing #68748
Daniel
2002-02-08 13:44:24 +00:00
Daniel Veillard
d455d79d84 fixing #70166 Daniel
* valid.c: fixing #70166
Daniel
2002-02-08 13:37:46 +00:00
Daniel Veillard
c575b997d8 Changed to the MIT Licence updated the doc accordingly preparing 2.4.14
* Copyright Makefile.am README configure.in libxml.spec.in:
  Changed to the MIT Licence
* doc/FAQ.html doc/catalog.html doc/intro.html doc/xml.html
  doc/xmlio.html: updated the doc accordingly
* include/libxml/xmlwin32version.h configure.in: preparing
  2.4.14 release
* python/generator.py python/libxml.c python/libxml2-python-api.xml
  python/libxml2class.txt python/libxml_wrap.h python/types.c:
  fixed the const xmlChar * wrapper and generator, XPath extension
  functions now use the context as first argument
* python/tests/tstxpath.py python/tests/xpath.py
  python/tests/xpathext.py: Updated the tests accordingly
* tree.c: fixed bug #70067
Daniel
2002-02-08 13:28:40 +00:00
Daniel Veillard
2a0cf740fb oops, Daniel 2002-02-07 16:40:20 +00:00
Daniel Veillard
7db3871bf5 cleanup always use stdout if output is NULL don't close filedescriptors
* Makefile.am: cleanup
* debugXML.c: always use stdout if output is NULL
* xmlIO.c: don't close filedescriptors passed to outputBuffers
* python/Makefile.am python/generator.py python/libxml2class.txt
  python/libxml_wrap.h python/types.c: augmented the number of bindings
  handling FILE * and XPath contexts
* python/tests/Makefile.am: avoid a stupid problem due to the
  use of TEST.
Daniel
2002-02-07 16:39:11 +00:00
Daniel Veillard
15a143b36a fixed stupid bug #70738 found by alfons hoogervorst
* configure.in: fixed stupid bug #70738 found by alfons hoogervorst
2002-02-06 22:40:50 +00:00
Daniel Veillard
70cab35abb cleanup the extension function lookup always compile the list Daniel
* python/TODO python/libxml.c: cleanup the extension function lookup
* xmlmemory.c include/libxml/xmlmemory.h: always compile the list
Daniel
2002-02-06 16:06:58 +00:00
Daniel Veillard
7a96efc0c9 do not install outside of prefix Daniel
* configure.in python/Makefile.am: do not install outside
  of prefix
Daniel
2002-02-05 16:34:33 +00:00
Daniel Veillard
33caa0b830 started adding SAX interfaces added a basic SAX test Daniel
* python/TODO python/libxml.c: started adding SAX interfaces
* python/tests/Makefile.am python/tests/pushSAX.py: added a basic
  SAX test
Daniel
2002-02-04 14:07:26 +00:00
Daniel Veillard
36eea2d2ee hardened the addChild function added accessors needed for xmlNode, a bit
* tree.c: hardened the addChild function
* python/generator.py python/libxml.c python/libxml2-python-api.xml
  python/libxml2class.txt python/libxml_wrap.h python/TODO:
  added accessors needed for xmlNode, a bit more testing and
  extension of interfaces
* python/tests/Makefile.am python/tests/build.py: added a test
  build from scratch/save/load/check
Daniel
2002-02-04 00:17:01 +00:00
Daniel Veillard
4e1b26cfeb change a small bit in the way valididy error messages get initialized
* parserInternals.c: change a small bit in the way valididy
  error messages get initialized
* python/TODO python/libxml.c python/libxml2-python-api.xml
  python/libxml2class.txt python/libxml_wrap.h python/types.c:
  added some memory debugging to track leaks at the libxml2 level
* python/tests/*.py: changed all tests to check for leaks,
  there is just one left in XPath extension registrations.
daniel
2002-02-03 20:13:06 +00:00
Daniel Veillard
26f1dcc5bd more accessor classes for the parser context, allow to switch on and check
* python/TODO python/generator.py python/libxml2-python-api.xml
  python/libxml2class.txt: more accessor classes for the parser
  context, allow to switch on and check validity
* python/tests/Makefile.am python/tests/error.py
  python/tests/invalid.xml python/tests/valid.xml
  python/tests/validate.py: attded more test and and added error.py
  which I forgot to commit in the last step
Daniel
2002-02-03 16:53:19 +00:00
Daniel Veillard
3ce5257b29 cleanup added class for parser context, added first cut for push mode
* python/Makefile.am python/types.c: cleanup
* python/libxml.c python/libxml.py python/libxml_wrap.h
  python/generator.py python/libxml2-python-api.xml
  python/libxml2class.txt: added class for parser context, added
  first cut for push mode support. Added a framework to generate
  accessors functions.
* python/tests/Makefile.am python/tests/push.py: added a push
  test
Daniel
2002-02-03 15:08:05 +00:00
Daniel Veillard
cfb0546244 fixed a small bug a bit of cleanup. Daniel
* python/Makefile.am python/TODO python/libxml.py: fixed a small
  bug a bit of cleanup.
Daniel
2002-02-02 23:18:22 +00:00
Daniel Veillard
5d81903b06 adding error redirections and preformat to a python handler cleanup made
* python/Makefile.am python/libxml.c python/libxml2-python-api.xml
  python/libxml2class.txt: adding error redirections and preformat
  to a python handler
* python/tests/Makefile.am python/tests/*.py: cleanup made all
  tests self checking
Daniel
2002-02-02 21:49:17 +00:00
Daniel Veillard
7fd7a94aa8 fixed a stupid bug when renaming a function Daniel
* python/libxml.c python/libxml.py: fixed a stupid bug when renaming
  a function
Daniel
2002-02-02 12:19:46 +00:00
Daniel Veillard
4cf998a639 Oops, missing an EXTRA_DIST, Daniel 2002-02-02 10:42:43 +00:00
Daniel Veillard
9589d4551e Progressing through the TODOs, class description output, extra XML API,
* libxml.spec.in python/Makefile.am python/TODO python/generator.py
  python/libxml.c python/libxml2-python-api.xml
  python/libxml2class.txt: Progressing through the TODOs, class
  description output, extra XML API, RPM now builds the wrappers
  for all python installed versions
Daniel
2002-02-02 10:28:17 +00:00
Daniel Veillard
253aa2c33b added more informations in the libxml2-python package including docs.
* configure.in libxml.spec.in python/Makefile.am python/TODO
  python/generator.py python/libxml2class.txt: added more informations
  in the libxml2-python package including docs. Slightly changed
  the class hierarchy
* python/tests/*: added basic regression tests infrastructure too
Daniel
2002-02-02 09:17:16 +00:00
Daniel Veillard
a7340c830e more work, now able to extend the XPath interpreter with functions written
* python/Makefile.am python/generator.py python/libxml.c
  python/libxml.py: more work, now able to extend the
  XPath interpreter with functions written in python.
Daniel
2002-02-01 17:56:45 +00:00
Daniel Veillard
c3e39448e5 Jacob sent a patch to allow building from tarfile. Daniel
* python/Makefile.am: Jacob sent a patch to allow building from
  tarfile.
Daniel
2002-02-01 09:29:41 +00:00
Daniel Veillard
96c9af76e7 Fixed a couple more of python building problems, Daniel 2002-02-01 00:06:44 +00:00
Daniel Veillard
6327697c52 Force the generato to use the API description in ../doc, Daniel 2002-01-31 23:49:05 +00:00
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
05d39112d4 Changed to use chunk.xsl instaed of chunk-common.xsl as 1.48 changed
to remove that specific file, Daniel
2002-01-30 10:47:44 +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
5173727616 fixed a small error, daniel 2002-01-23 23:10:38 +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
06622dfe90 Recompiled the docs, Daniel 2002-01-21 17:53:42 +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