1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-27 03:21:26 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
Kasimier T. Buchcik
5869469f42 Changed the name of the recently added public function
* xpath.c include/libxml/xpath.h runsuite.c:
  Changed the name of the recently added public function
  xmlXPathContextSetObjectCache() to
  xmlXPathContextSetCache(); so a more generic one, in
  case we decide to cache more things than only XPath
  objects.
2006-05-31 12:37:28 +00:00
Kasimier T. Buchcik
a72484438f Added an XPath object cache. It sits on an xmlXPathContext and need to be
* xpath.c include/libxml/xpath.h: Added an XPath object cache.
  It sits on an xmlXPathContext and need to be explicitely
  activated (or deactivated again) with
  xmlXPathContextSetObjectCache(). The cache consists of 5
  lists for node-set, string, number, boolean and misc XPath
  objects. Internally the xpath.c module will use object-
  deposition and -acquisition functions which will try to reuse
  as many XPath objects as possible, and fallback to normal
  free/create behaviour if no cache is available or if the cache
  is full.
* runsuite.c: Adjusted to deactivate the cache for XML Schema
  tests if a cache-creation is turned on by default for the whole
  library, e.g. for testing purposes of the cache. It is
  deactivated here in order to avoid confusion of the memory leak
  detection in runsuite.c.
2006-05-29 16:15:36 +00:00
Daniel Veillard
6a0baa0cd8 fixed a number of warnings shown by HP-UX compiler and reported by Rick
* HTMLparser.c configure.in parserInternals.c runsuite.c runtest.c
  testapi.c xmlschemas.c xmlschemastypes.c xmlstring.c: fixed a number
  of warnings shown by HP-UX compiler and reported by Rick Jones
Daniel
2005-12-10 11:11:12 +00:00
Kasimier T. Buchcik
dcac4fce1d Changed to instantly mark instance-tests as failed if the corresponding
* runsuite.c: Changed to instantly mark instance-tests as
  failed if the corresponding schema was invalid. This
  reflects the side of the Python code for the XML Schema test
  suite. We now get the same number of failed tests on both
  sides.
2005-12-09 10:03:27 +00:00
Daniel Veillard
f93a67e9c9 tiny fix from Albert Chin portability cleanup for arch needing trio for
* libxml.3: tiny fix from Albert Chin
* runsuite.c runtest.c testapi.c: portability cleanup for arch
  needing trio for *printf
Daniel
2005-10-28 16:37:05 +00:00
Daniel Veillard
24505b0f5c a lot of small cleanups based on Linus' sparse check output. Daniel
* HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c
  runsuite.c runtest.c schematron.c testHTML.c testReader.c
  testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c
  xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of
  small cleanups based on Linus' sparse check output.
Daniel
2005-07-28 23:49:35 +00:00
Kasimier T. Buchcik
87db1cf6d1 Tiny portability adjustment for win. Added runtest.exe and runsuite.exe to
* runsuite.c runtest.c: Tiny portability adjustment for win.
* win32/Makefile.*: Added runtest.exe and runsuite.exe to
  be created.
2005-07-05 10:40:52 +00:00
Daniel Veillard
cfbb0dd89a Trying to fix CR/LF troubles, Daniel 2005-07-04 17:12:01 +00:00
Daniel Veillard
9083778967 first stb at unimplemnted detection fixing Windows code Daniel
* runsuite.c: first stb at unimplemnted detection
* runtest.c: fixing Windows code
Daniel
2005-07-04 15:45:10 +00:00
Daniel Veillard
4ac5f9af14 fix on schemas error portability glob() on Windows Daniel
* runsuite.c: fix on schemas error
* runtest.c: portability glob() on Windows
Daniel
2005-07-04 15:20:27 +00:00
Daniel Veillard
c935253fb7 cleanups, logfile and portability fixed a memory leak Daniel
* runsuite.c runtest.c: cleanups, logfile and portability
* xmllint.c: fixed a memory leak
Daniel
2005-07-04 14:25:34 +00:00
Daniel Veillard
6b6d680901 fixing compilations when disabling parts of the library at configure time.
* runsuite.c runtest.c tree.c: fixing compilations when
  disabling parts of the library at configure time.
Daniel
2005-07-03 21:00:34 +00:00
Daniel Veillard
95175012ec fixing #307823 and a couple of assorted bugs fixed conditionals in
* testapi.c runsuite.c runtest.c: fixing #307823 and a couple of
  assorted bugs
* python/generator.py python/libxml2-python-api.xml: fixed
  conditionals in generator too
* doc/apibuild.py doc/libxml2-api.xml doc/* elfgcchack.h: some
  cleanups too and rebuilt
Daniel
2005-07-03 16:09:51 +00:00
Daniel Veillard
de0e498b42 expanded test found and fixed the leak exposed by Microsoft regtests
* runsuite.c: expanded test
* xmlregexp.c: found and fixed the leak exposed by Microsoft regtests
Daniel
2005-07-03 14:35:44 +00:00
Daniel Veillard
3fe1e8a115 a bit of progresses on xstc Daniel
* runsuite.c: a bit of progresses on xstc
Daniel
2005-07-02 21:39:06 +00:00
Daniel Veillard
e84f231ea0 completed the simple checks for Relax-NG suites back to the same 11 errors
* runsuite.c: completed the simple checks for Relax-NG suites
  back to the same 11 errors as in the Python runs.
Daniel
2005-07-02 07:31:28 +00:00
Daniel Veillard
f2e066ac2a complete, checking on other platforms is needed updated fix a bug raised
* runtest.c: complete, checking on other platforms is needed
* README: updated
* debugXML.c: fix a bug raised by bill on IRC
* relaxng.c: fix a leak in weird circumstances
* runsuite.c Makefile.am: standalone test tool agaisnt
  the regression suites, work in progress
Daniel
2005-06-30 13:04:44 +00:00