python/tests


Log

Author Commit Date CI Message
Daniel Richard G 5d6c02ba 2012-08-07T10:05:34 Various "make distcheck" and portability fixups 2nd part doc/examples/Makefile.am: * Use $(VAR), not @VAR@ * Use $(MKDIR_P) instead of $(mkinstalldirs), as the latter is an * obsolete name * Added $(srcdir) qualification to the various test program invocations * in the "tests" target. More work is needed here (notably, when the reference output contains the path to the input file), but this gets things a lot closer to working correctly in an out-of-source build. doc/examples/reader4.res: * Added "./" path qualifiers so that the reader4 test continues to pass cleanly for in-source builds python/tests/Makefile.am: * Symlink in test input files for out-of-source builds
Daniel Richard G 5706b6d8 2012-08-06T11:32:54 Various "make distcheck" and portability fixups Makefile.am: * Don't use @VAR@, use $(VAR). Autoconf's AC_SUBST provides us the Make variable, it allows overriding the value at the command line, and (notably) it avoids a Make parse error in the libxml2_la_LDFLAGS assignment when @MODULE_PLATFORM_LIBS@ is empty * Changed how the THREADS_W32 mechanism switches the build between testThreads.c and testThreadsWin32.c as appropriate; using AM_CONDITIONAL allows this to work cleanly and plays well with dependencies * testapi.c should be specified as BUILT_SOURCES * Create symlinks to the test/ and result/ subdirs so that the runtests target is usable in out-of-source-tree builds * Don't do MAKEFLAGS+=--silent as this is not portable to non-GNU Makes * Fixed incorrect find(1) syntax in the "cleanup" rule, and doing "rm -f" instead of just "rm" is good form * (DIST)CLEANFILES needed a bit more coverage to allow "make distcheck" to pass configure.in: * Need AC_PROG_LN_S to create test/ and result/ symlinks in Makefile.am * AC_LIBTOOL_WIN32_DLL and AM_PROG_LIBTOOL are obsolete; these have been superceded by LT_INIT * Don't rebuild docs by default, as this requires GNU Make (as implemented) * Check for uint32_t as some platforms don't provide it * Check for some more functions, and undefine HAVE_MMAP if we don't also HAVE_MUNMAP (one system I tested on actually needed this) * Changed THREADS_W32 from a filename insert into an Automake conditional * The "Copyright" file will not be in the current directory if builddir != srcdir doc/Makefile.am: * EXTRA_DIST cannot use wildcards when they refer to generated files; this breaks dependencies. What I did was define EXTRA_DIST_wc, which uses GNU Make $(wildcard) directives to build up a list of files, and EXTRA_DIST, as a literal expansion of EXTRA_DIST_wc. I also added a new rule, "check-extra-dist", to simplify checking that the two variables are equivalent. (Note that this works only when builddir == srcdir) (I can implement this differently if desired; this is just one way of doing it) * Don't define an "all" target; this steps on Automake's toes * Fixed up the "libxml2-api.xml ..." rule by using $(wildcard) for dependencies (as Make doesn't process the wildcards otherwise) and qualifying appropriate files with $(srcdir) (Note that $(srcdir) is not needed in the dependencies, thanks to VPATH, which we can count on as this is GNU-Make-only code anyway) doc/devhelp/Makefile.am: * Qualified appropriate files with $(srcdir) * Added an "uninstall-local" rule so that "make distcheck" passes doc/examples/Makefile.am: * Rather than use a wildcard that doesn't work, use a substitution that most Make programs can handle doc/examples/index.py: * Do the same here include/libxml/nanoftp.h: * Some platforms (e.g. MSVC 6) already #define INVALID_SOCKET: user@host:/cygdrive/c/Program Files/Microsoft Visual Studio/VC98/\ Include$ grep -R INVALID_SOCKET . ./WINSOCK.H:#define INVALID_SOCKET (SOCKET)(~0) ./WINSOCK2.H:#define INVALID_SOCKET (SOCKET)(~0) include/libxml/xmlversion.h.in: * Support ancient GCCs (I was actually able to build the library with 2.5 but for this bit) python/Makefile.am: * Expanded CLEANFILES to allow "make distcheck" to pass python/tests/Makefile.am: * Define CLEANFILES instead of a "clean" rule, and added tmp.xml to allow "make distcheck" to pass testRelax.c: * Use HAVE_MMAP instead of the less explicit HAVE_SYS_MMAN_H (as some systems have the header but not the function) testSchemas.c: * Use HAVE_MMAP instead of the less explicit HAVE_SYS_MMAN_H testapi.c: * Don't use putenv() if it's not available threads.c: * This fixes the following build error on Solaris 8: libtool: compile: cc -DHAVE_CONFIG_H -I. -I./include -I./include \ -D_REENTRANT -D__EXTENSIONS__ -D_REENTRANT -Dsparc -Xa -mt -v \ -xarch=v9 -xcrossfile -xO5 -c threads.c -KPIC -DPIC -o threads.o "threads.c", line 442: controlling expressions must have scalar type "threads.c", line 512: controlling expressions must have scalar type cc: acomp failed for threads.c *** Error code 1 trio.c: * Define isascii() if the system doesn't provide it trio.h: * The trio library's HAVE_CONFIG_H header is not the same as LibXML2's HAVE_CONFIG_H header; this change is needed to avoid a double-inclusion win32/configure.js: * Added support for the LZMA compression option win32/Makefile.{bcb,mingw,msvc}: * Added appropriate bits to support WITH_LZMA=1 * Install the header files under $(INCPREFIX)\libxml2\libxml instead of $(INCPREFIX)\libxml, to mirror the install location on Unix+Autotools xml2-config.in: * @MODULE_PLATFORM_LIBS@ (usually "-ldl") needs to be in there in order for `xml2-config --libs` to provide a complete set of dependencies xmllint.c: * Use HAVE_MMAP instead of the less-explicit HAVE_SYS_MMAN_H
Daniel Veillard 39d027cd 2012-05-11T12:38:23 Fix html serialization error and htmlSetMetaEncoding() For https://bugzilla.gnome.org/show_bug.cgi?id=630682 The python tests were reporting errors, some of it was due to a small change in case encoding, but the main one was about htmlSetMetaEncoding(doc, NULL) being broken by not removing the associated meta tag anymore
Martin 729601f1 2009-10-12T22:42:26 Fix memory leak in xmlXPathEvalExpression() * xpath.c: plug some leaks when parsing misformed XPath expressions * python/tests/xpathleak.py: expand the regression tests for those
Daniel Veillard f5ac0a4b 2009-08-24T11:59:07 Fix python regression test after 583439 cleanup
Daniel Veillard 074f37e7 2008-09-01T13:38:22 applied a couple of patches from Martin avoiding some leaks, fixinq QName * schematron.c xpath.c: applied a couple of patches from Martin avoiding some leaks, fixinq QName checks in XPath, XPath debugging and schematron code cleanups. * python/tests/Makefile.am python/tests/xpathleak.py: add the specific regression tests, just tweak it to avoid output by default Daniel svn path=/trunk/; revision=3791
Daniel Veillard 5d279c95 2008-03-12T09:32:04 fix a memory errro when using namespace nodes returned from XPath queries, * python/types.c: fix a memory errro when using namespace nodes returned from XPath queries, should fix #521699 * python/tests/Makefile.am python/tests/xpathns.py: add a specific regression test for it Daniel svn path=/trunk/; revision=3703
Daniel Veillard 5ac88237 2008-02-19T07:54:52 applied cleanup patches for cross compilation and MinGW from Roumen Petrov * python/Makefile.am python/tests/Makefile.am: applied cleanup patches for cross compilation and MinGW from Roumen Petrov Daniel svn path=/trunk/; revision=3696
Daniel Veillard 9ebb6322 2008-01-11T07:19:24 patches from John Carr to start cleaning up 'make diskcheck' problems c.f. * check-relaxng-test-suite2.py check-relaxng-test-suite.py Makefile.am python/tests/Makefile.am python/Makefile.am check-xsddata-test-suite.py: patches from John Carr to start cleaning up 'make diskcheck' problems c.f. #506228 Daniel svn path=/trunk/; revision=3674
William M. Brack 40cca61f 2006-06-26T18:25:40 Added code submitted by Andreas Pakulat to provide node equality, * python/libxml.c, python/libxml.py, python/tests/compareNodes.py, python/tests/Makefile.am: Added code submitted by Andreas Pakulat to provide node equality, inequality and hash functions, plus a single test program to check the functions (bugs 345779 + 345961).
Daniel Veillard 8bda20f7 2005-08-24T09:36:47 removed a potentially uninitialized variable error fixed a deprecation * xpath.c: removed a potentially uninitialized variable error * python/generator.py: fixed a deprecation warning * python/tests/tstLastError.py: silent the damn test when Okay ! Daniel
Daniel Veillard f9cf6f5a 2005-04-12T01:02:29 applied patch from Brent Hendricks adding namespace removal at the python * python/libxml.c python/libxml.py: applied patch from Brent Hendricks adding namespace removal at the python level #300209 * python/tests/Makefile.am python/tests/nsdel.py: added the regression test Daniel
Daniel Veillard 0e460da3 2005-03-30T22:47:10 another patch from Brent Hendricks to add new handlers with the various * python/generator.py python/libxml.py: another patch from Brent Hendricks to add new handlers with the various validity contexts * python/tests/Makefile.am python/tests/validDTD.py python/tests/validRNG.py python/tests/validSchemas.py: also added the regression tests he provided Daniel
Daniel Veillard 7697a198 2005-03-10T14:03:08 added a regression test from Rob Richards for the previous bug Daniel * python/tests/Makefile.am python/tests/readernext.py: added a regression test from Rob Richards for the previous bug Daniel
Daniel Veillard 25c90c58 2005-03-02T10:47:41 try to fix a problem with valgrind. applied memory leak fix from Brent * Makefile.am doc/examples/Makefile.am python/tests/Makefile.am xstc/Makefile.am: try to fix a problem with valgrind. * python/generator.py python/libxml.c python/tests/Makefile.am python/tests/tstmem.py: applied memory leak fix from Brent Hendricks c.f. bug #165349 Daniel
William M. Brack a22da299 2005-02-12T01:08:22 fixed xmlXIncludeParseFile to prevent overwriting XML_COMPLETE_ATTRS when * xinclude.c: fixed xmlXIncludeParseFile to prevent overwriting XML_COMPLETE_ATTRS when setting pctxt->loadsubset (bug 166199) * Makefile.am, python/tests/Makefile.am, xstc/Makefile.am: added code to add $(top_builddir)/.libs to LD_LIBRARY_PATH whenever PYTHONPATH is set, to assure new libxml2 routines are used.
Daniel Veillard 850ce9b6 2004-11-10T11:55:47 Applied patch from Brent Hendricks adding support for late DTD validation. * python/generator.py python/libxml.c python/libxml2class.txt python/libxml_wrap.h python/types.c: Applied patch from Brent Hendricks adding support for late DTD validation. * python/tests/Makefile.am python/tests/dtdvalid.py python/tests/test.dtd: integrated the provided regression test Daniel
Daniel Veillard 263ec86a 2004-10-04T10:26:54 applied patch from Malcolm Tredinnick fixing bug #154294 related to saving * python/generator.py python/libxml.c python/tests/outbuf.py: applied patch from Malcolm Tredinnick fixing bug #154294 related to saving to python file objects. Daniel
Daniel Veillard 259f0dfa 2004-08-18T09:13:18 Applied patch from Torkel Lyng to add Schemas support to the Python * xmlschemas.c include/libxml/xmlschemas.h python/generator.py python/libxml.c python/libxml_wrap.h python/types.c python/tests/schema.py python/tests/Makefile.am: Applied patch from Torkel Lyng to add Schemas support to the Python bindings and extend the schemas error API, registered a new test. * doc/* elfgcchack.h: rebuilt to regenerate the bindings Daniel
William M. Brack e9449c5d 2004-07-11T14:41:20 added an encoding "special comment" to avoid warning message in python2.3 * python/drv_libxml.py: added an encoding "special comment" to avoid warning message in python2.3 (bug 146889) * Makefile.am, python/Makefile.am, python/tests/Makefile.am: small change to make "make tests" a little quieter (MAKEFLAGS+=--silent) * xpath.c: enhanced to take advantage of current libxslt handling of tmpRVT. Fixes bug 145547.
Daniel Veillard eb70f93f 2004-07-05T16:46:09 make the push interfaces synchronous added a specific test added the new * parser.c: make the push interfaces synchronous * python/tests/sync.py: added a specific test * python/tests/Makefile.am doc/examples/Makefile.am doc/examples/index.py: added the new test, cleaning up "make tests" output Daniel
Daniel Veillard b3ac18dc 2004-05-11T13:06:29 better portability fix for f(*args), use apply(f, args) as Stephane Bidoul * python/tests/tstLastError.py: better portability fix for f(*args), use apply(f, args) as Stephane Bidoul suggested Daniel
Daniel Veillard 6d38c750 2004-05-10T00:40:51 applied patch from Ed Davis to allow "make tests" to work with Python 1.5 * Makefile.am python/tests/Makefile.am python/tests/tstLastError.py: applied patch from Ed Davis to allow "make tests" to work with Python 1.5 Daniel
Daniel Veillard ee1d6926 2004-04-18T14:58:57 keep the ChangeLog compressed fix a segfault when using Close() test for * libxml.spec.in: keep the ChangeLog compressed * xmlreader.c: fix a segfault when using Close() * python/tests/Makefile.am python/tests/reader8.py: test for the Close() reader API. Daniel
Daniel Veillard 09b792ba 2004-02-23T10:53:52 applied patch from Malcolm Tredinnick to avoid tabs in python sources, * python/tests/*.py: applied patch from Malcolm Tredinnick to avoid tabs in python sources, should fix #135095 Daniel
Daniel Veillard a9a1b105 2004-02-17T13:24:01 indicated encoding of the test file, needed for python 2.3 Daniel * python/tests/indexes.py python/tests/reader.py: indicated encoding of the test file, needed for python 2.3 Daniel
Daniel Veillard 3671190b 2004-02-11T13:25:26 added xmlByteConsumed() interface updated the benchmark rebuilt the docs * parserInternals.c xmlIO.c encoding.c include/libxml/parser.h include/libxml/xmlIO.h: added xmlByteConsumed() interface * doc/*: updated the benchmark rebuilt the docs * python/tests/Makefile.am python/tests/indexes.py: added a specific regression test for xmlByteConsumed() * include/libxml/encoding.h rngparser.c tree.c: small cleanups Daniel
Daniel Veillard 4f4a27f9 2004-01-14T23:50:34 applied patch from Stephane Bidoul to add enums to the Python bindings. * python/generator.py python/tests/tstLastError.py: applied patch from Stephane Bidoul to add enums to the Python bindings. Daniel
Daniel Veillard 46da4649 2004-01-06T22:54:57 applied patch from Stephane Bidoul for structured error handling from * python/libxml2-python-api.xml python/libxml_wrap.h python/types.c python/tests/Makefile.am python/tests/tstLastError.py: applied patch from Stephane Bidoul for structured error handling from python, and the associated test Daniel
William M. Brack cafe8851 2003-12-21T10:14:35 applied fixes to allow build from 'outside' directory (Bug 129172) * python/Makefile.am, python/tests/Makefile.am, doc/Makefile.am: applied fixes to allow build from 'outside' directory (Bug 129172)
Daniel Veillard 6cbd6c07 2003-12-04T12:31:49 cleanup the output buffer support to at least get the basic to work fixes * python/generator.py python/libxml.c python/libxml_wrap.h: cleanup the output buffer support to at least get the basic to work * python/tests/outbuf.py python/tests/serialize.py: fixes and cleanup. * include/libxml/xmlwriter.h: cleanup Daniel
Daniel Veillard 1d211e22 2003-10-20T22:32:39 added the xmlWriter module contributed by Alfred Mickautsch added room for * configure.in xmlwriter.c Makefile.am include/libxml/xmlwriter.h include/libxml/Makefile.am include/libxml/xmlversion.h.in: added the xmlWriter module contributed by Alfred Mickautsch * include/libxml/tree.h: added room for line and extra information * xmlreader.c python/tests/reader6.py: bugfixing some problem some of them introduced in September * win32/libxml2.def.src doc/libxml2-api.xml: regenerated the API Daniel
Daniel Veillard 198c1bfc 2003-10-20T17:07:41 removing xmldwalk module since it got merged with the xmlreader. cleanup * Makefile.am configure.in xmldwalk.c xmlreader.c include/libxml/Makefile.am include/libxml/xmldwalk.h include/libxml/xmlversion.h.in: removing xmldwalk module since it got merged with the xmlreader. * parser.c: cleanup * win32/libxml2.def.src python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API * python/tests/Makefile.am python/tests/reader7.py python/tests/walker.py: adding regression testing for the new xmlreader APIs, new APIs for reader creation, including makeing reader "walker" operating on preparsed document trees. Daniel
Daniel Veillard 05bcb7ed 2003-10-19T14:26:34 fixed to not send NULL to %s printing cleaning up some of the regression * HTMLparser.c: fixed to not send NULL to %s printing * python/tests/error.py result/HTML/doc3.htm.err result/HTML/test3.html.err result/HTML/wired.html.err result/valid/t8.xml.err result/valid/t8a.xml.err: cleaning up some of the regression tests error Daniel
Daniel Veillard 4c004147 2003-10-07T11:33:24 switched Relax-NG module to teh new error reporting. Better default * error.c relaxng.c include/libxml/xmlerror.h: switched Relax-NG module to teh new error reporting. Better default report, adds the element associated if found, context and node are included in the xmlError * python/tests/reader2.py: the error messages changed. * result/relaxng/*: error message changed too. Daniel
Daniel Veillard bb5ababa 2003-10-03T22:21:51 more cleanup in make tests more work in the transition to the new error * Makefile.am: more cleanup in make tests * error.c valid.c parser.c include/libxml/xmlerror.h: more work in the transition to the new error reporting strategy. * python/tests/reader2.py result/VC/* result/valid/*: few changes in the strings generated by the validation output Daniel
Daniel Veillard 4432df23 2003-09-28T18:58:27 cleanup, creating a new legacy.c module, made sure make tests ran in * Makefile.am: cleanup, creating a new legacy.c module, made sure make tests ran in reduced conditions * SAX.c SAX2.c configure.in entities.c globals.c parser.c parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in: increased the modularization, allow to configure out validation code and legacy code, added a configuration option --with-minimum compiling only the mandatory code which then shrink to 200KB. Daniel
Daniel Veillard 8d73bcb5 2003-08-04T01:06:15 added a new API to split a QName without generating any memory allocation * tree.c include/libxml/tree.h: added a new API to split a QName without generating any memory allocation * valid.c: fixed another problem with namespaces on element in mixed content case * python/tests/reader2.py: updated the testcase with Bjorn Reese fix to reader for unsignificant white space * parser.c HTMLparser.c: cleanup. Daniel
Daniel Veillard 781ac8b1 2003-05-15T22:11:36 patch from Stéphane Bidoul for setting up threads global defaults. this * build_glob.py global.data globals.c parser.c include/libxml/globals.h: patch from Stéphane Bidoul for setting up threads global defaults. * doc/libxml2-api.xml: this extends the API with new functions * python/tests/Makefile.am python/tests/reader2.py python/tests/thread2.py: integrated the associated testcase and fixed the error string used in reader2 Daniel
Daniel Veillard a880b124 2003-04-21T21:36:41 a lot of performance work especially the speed of streaming through the * globals.c libxml.h parser.c parserInternals.c tree.c xmllint.c xmlreader.c include/libxml/parser.h: a lot of performance work especially the speed of streaming through the reader and push interface. Some thread related optimizations. Nearly doubled the speed of parsing through the reader. Daniel
Daniel Veillard ac297930 2003-04-17T12:55:35 some cleanups extended the document to cover RelaxNG and tree operations * relaxng.c: some cleanups * doc/xmlreader.html: extended the document to cover RelaxNG and tree operations * python/tests/Makefile.am python/tests/reader[46].py: added some xmlReader example/regression tests * result/relaxng/tutor*.err: updated the output of a number of tests Daniel
Daniel Veillard c6cae7b6 2003-04-11T09:02:11 Added the Expand() and Next() operation to work on subtrees within the * xmlreader.c include/libxml/xmlreader.h: Added the Expand() and Next() operation to work on subtrees within the reader framework. * doc/libxml2-api.xml python/libxml2class.txt: resulting updates * python/tests/reader5.py: added an example for those new functions of the reader. Daniel
Daniel Veillard 6c5b2d3f 2003-03-27T14:55:52 fixing #109227 providing more context in case of start/end tag mismatch * parser.c: fixing #109227 providing more context in case of start/end tag mismatch * python/tests/ctxterror.py python/tests/readererr.py: update the tests accordingly Daniel
Daniel Veillard 48ef4c98 2003-03-22T12:38:15 fixed bug #108801 reported by Malcolm Tredinnick about the DocType node * xmlreader.c: fixed bug #108801 reported by Malcolm Tredinnick about the DocType node not being reported sometimes. * python/tests/reader.py: added to test to the regression checks Daniel
Daniel Veillard 591b4be0 2003-02-09T23:33:36 fixed doc comment problems adding RelaxNG wrappers added a specific test * xpath.c: fixed doc comment problems * python/generator.py python/libxml_wrap.h python/types.c: adding RelaxNG wrappers * python/tests/Makefile.am python/tests/relaxng.py: added a specific test of those early Python RelaxNG bindings Daniel
Daniel Veillard 417be3ae 2003-01-20T21:26:34 patch from Stéphane Bidoul for better per context error message APIs * xmlreader.c python/drv_libxml2.py python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h python/types.c: patch from Stéphane Bidoul for better per context error message APIs * python/tests/ctxterror.py python/tests/readererr.py: update of the tests Daniel
Daniel Veillard 1aaae654 2003-01-17T10:48:04 Forgot to add readererr.py, oops, Daniel
Daniel Veillard 26f70269 2003-01-16T22:45:08 applied a patch from Stéphane Bidoul to allow per XMLtextReader error and * xmlreader.c include/libxml/xmlreader.h python/generator.py python/libxml.c python/libxml.py win32/libxml2.def.src: applied a patch from Stéphane Bidoul to allow per XMLtextReader error and warning handling * python/tests/Makefile.am python/tests/readererr.py: adding the specific regression test Daniel
Daniel Veillard e6227e05 2003-01-14T11:42:39 applied and fixed a patch from Stephane Bibould to provide per parser * python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h python/types.c: applied and fixed a patch from Stephane Bibould to provide per parser error handlers at the Python level. * python/tests/Makefile.am python/tests/ctxterror.py: added a regression test for it. Daniel
Daniel Veillard 8f872442 2003-01-09T23:19:02 one more IsEmptyElement crazyness, that time in external parsed entities * parser.c: one more IsEmptyElement crazyness, that time in external parsed entities if substitution is asked. * python/tests/reader3.py: added a specific test. Daniel
Daniel Veillard 067bae5f 2003-01-05T01:27:54 seriously changed the way data are pushed to the underlying parser, go by * xmlreader.c: seriously changed the way data are pushed to the underlying parser, go by block of 512 bytes instead of tryng to detect tag boundaries at that level. Changed the way empty element are detected and tagged. * python/tests/reader.py python/tests/reader2.py python/tests/reader3.py: small changes mostly due to context reporting being different and DTD node being reported. Some errors previously undetected are now caught and fixed. * doc/xmlreader.html: flagged last section as TODO Daniel
Daniel Veillard 2bc13cac 2003-01-04T19:06:55 fixed a small problem related to order of files in dir, Daniel
Daniel Veillard a80ff6ec 2003-01-03T12:52:08 okay the DTD validation code on top of the XMLTextParser API should be * xmlreader.c python/tests/reader2py: okay the DTD validation code on top of the XMLTextParser API should be solid now. Daniel
Daniel Veillard 1fdfd115 2003-01-03T01:18:43 Fixing some more mess with validation and recursive entities while using * xmlreader.c python/tests/reader2py: Fixing some more mess with validation and recursive entities while using the reader interface, it's getting a bit messy... Daniel
Daniel Veillard dab8ea9b 2003-01-02T14:16:45 another couple of problem related to IsEmptyElement reported by Stéphane * xmlreader.c python/tests/reader.py: another couple of problem related to IsEmptyElement reported by Stéphane Bidoul needed some fixes. Daniel
Daniel Veillard e3c036ee 2003-01-01T15:11:05 fixed another couple of xmlreader bugs reported by Stéphane Bidoul and * xmlreader.c python/tests/reader.py: fixed another couple of xmlreader bugs reported by Stéphane Bidoul and added tests. Daniel
Daniel Veillard 9e395c28 2003-01-01T14:50:44 fixed another validity checking in external parsed entities raised by * xmlreader.c python/tests/reader2.py: fixed another validity checking in external parsed entities raised by Stéphane Bidoul and added a specific regression test. * python/tests/reader3.py: cleanup Daniel
Daniel Veillard d5896140 2002-12-31T14:45:26 fixed a problem with validation within entities pointed by Stéphane * xmlreader.c python/tests/reader2.py: fixed a problem with validation within entities pointed by Stéphane Bidoul, augmented the tests to catch those. Daniel
Daniel Veillard 4d8db8a2 2002-12-30T18:40:42 fixed another pair of problem pointed by Stéphane Bidoul: depth start at 0 * xmlreader.c python/tests/reader.py: fixed another pair of problem pointed by Stéphane Bidoul: depth start at 0 and a parse problem. Daniel
Daniel Veillard 571b889b 2002-12-30T12:37:59 fixed another problem pointed by Stéphane Bidoul Daniel * xmlreader.c python/tests/reader.py: fixed another problem pointed by Stéphane Bidoul Daniel
Daniel Veillard aaa105b5 2002-12-30T11:42:17 fixed a limit case problem with "<a/>" Daniel * xmlreader.c python/tests/reader.py: fixed a limit case problem with "<a/>" Daniel
Daniel Veillard ecaba49a 2002-12-30T10:55:29 warn on xmlns:prefix="foo" fixed a couple of problem for namespace * SAX.c: warn on xmlns:prefix="foo" * xmlreader.c python/tests/reader.py: fixed a couple of problem for namespace attributes handling. Daniel
Daniel Veillard 29b3e285 2002-12-29T11:14:41 fixed a bug pointed out by Stéphane Bidoul and integrated it into the * xmlreader.c python/tests/reader.py: fixed a bug pointed out by Stéphane Bidoul and integrated it into the tests Daniel
Daniel Veillard e18fc185 2002-12-28T22:56:33 extended the XmlTextReader API a bit, addding accessors for the current * xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: extended the XmlTextReader API a bit, addding accessors for the current doc and node, and an entity substitution mode for the parser. * python/libxml.py python/libxml2class.txt: related updates * python/tests/Makefile.am python/tests/reader.py python/tests/reader2.py python/tests/reader3.py: updated a bit the old tests and added a new one to test the entities handling Daniel
Daniel Veillard aba976d8 2002-12-28T21:14:18 changed the generator to provide casing for the XmlTextReader similar to * python/generator.py python/libxml2class.txt python/tests/reader.py python/tests/reader2.py: changed the generator to provide casing for the XmlTextReader similar to C# so that examples and documentation are more directly transposable. Fixed the couple of tests in the suite. Daniel
Jose Maria Celorio d7046d17 2002-12-28T04:48:15 quiet down cvs somewhat
Daniel Veillard 336fc7d3 2002-12-27T19:37:04 final touch running DTD validation on the XmlTextReader added a specific * valid.c xmlreader.c: final touch running DTD validation on the XmlTextReader * python/tests/Makefile.am python/tests/reader2.py: added a specific run based on the examples from test/valid/*.xml Daniel
Daniel Veillard 4258b9c8 2002-12-20T10:29:40 one really need to provide the base URI information when creating a reader * doc/libxml2-api.xml python/tests/reader.py: one really need to provide the base URI information when creating a reader parser from an input stream. Updated the API and the example using it. Daniel
Daniel Veillard da46d2d3 2002-12-15T23:36:49 added more methods of XmlTextReader. this increased the methods in the * xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: added more methods of XmlTextReader. * python/libxml2class.txt python/tests/reader.py: this increased the methods in the bndings, augmented the test to check those new functions. Daniel
Daniel Veillard 0eb38c72 2002-12-14T23:00:35 added the close and getattribute methods of XmlTextReader. added the * xmlreader.c doc/libxml2-api.xml: added the close and getattribute methods of XmlTextReader. * python/generator.py python/libxml_wrap.h python/types.c python/libxml2class.txt: added the reader to the Python bindings * python/tests/Makefile.am python/tests/reader.py: added a specific test for the Python bindings of the Reader APIs * parser.c: small cleanup. Daniel
Daniel Veillard 66651aa8 2002-11-15T11:21:43 trying to fix bug #98517 about building outside the source tree fixed the * Makefile.am python/Makefile.am python/tests/Makefile.am: trying to fix bug #98517 about building outside the source tree * doc/xml.html doc/FAQ.html: fixed the link to libiconv #94585 Daniel
Daniel Veillard bd9afb52 2002-09-25T22:25:35 improving some documentation comments found and fixed a mem leak with * tree.c: improving some documentation comments * xmlregexp.c: found and fixed a mem leak with python regression tests * doc/*: rebuilt the doc and the API XML file including the xmlregexp.h xmlautomata.h and xmlunicode.h headers * python/generator.py python/libxml2class.txt python/libxml_wrap.h python/types.c: added access to the XML Schemas regexps from python * python/tests/Makefile.am python/tests/regexp.py: added a simple regexp bindings test Daniel
Daniel Veillard c6d4a933 2002-09-12T15:00:57 updated the python bindings, added code for easier File I/O, and the * python/generator.py python/libxml.c python/libxml.py python/libxml2-python-api.xml python/libxml2class.txt python/libxml_wrap.h python/types.c: updated the python bindings, added code for easier File I/O, and the ability to define a resolver from Python fixing bug #91635 * python/tests/Makefile.am python/tests/inbuf.py python/tests/outbuf.py python/tests/pushSAXhtml.py python/tests/resolver.py python/tests/serialize.py: updated and augmented the set of Python tests. Daniel
Daniel Veillard 5f91b378 2002-08-12T12:13:01 fixed the test results, indenting behaviour changed slightly Daniel * python/tests/serialize.py: fixed the test results, indenting behaviour changed slightly Daniel
Daniel Veillard 3cd7240d 2002-05-13T10:33:30 fixed a problem with the HTML parser pointed by Gary Benson sdding the * python/generator.py python/libxml2class.txt : fixed a problem with the HTML parser pointed by Gary Benson * python/tests/Makefile.am python/tests/pushSAXhtml.py: sdding the example Daniel
Daniel Veillard 5fc1f089 2002-03-27T09:05:40 Added Igor Zlatkovic as official maintainer Albert Chin pointed that * AUTHORS HACKING: Added Igor Zlatkovic as official maintainer * python/Makefile.am python/tests/Makefile.am: Albert Chin pointed that $(datadir) should be used for docs Daniel
Daniel Veillard d2379010 2002-03-15T22:24:56 Cleanup of the python Makefiles based on Jacob and James feedback, fixed * libxml.spec.in python/Makefile.am python/tests/Makefile.am python/generator.py python/libxml.c python/types.c: Cleanup of the python Makefiles based on Jacob and James feedback, fixed the spec file accordingly, fixed the number of warning that passing my pedantic CFLAGS was generating. Conclusion is that Python includes are real crap. Daniel
Daniel Veillard ef6c46f8 2002-03-07T22:21:56 fixed xmlHasNsProp() bugs for defaulted from DTD attribs, added a specific * tree.c python/tests/Makefile.am python/tests/attribs.py: fixed xmlHasNsProp() bugs for defaulted from DTD attribs, added a specific regression test * python/generator.py: xmlHasNsProp() and xmlHasProp() shall not raise exceptions when failing to find the attribute. Daniel
Daniel Veillard f742d341 2002-03-07T00:05:35 fixed xmlReconciliateNs(), added a Python test/example for inter-document * tree.c python/tests/Makefile.am python/tests/cutnpaste.py: fixed xmlReconciliateNs(), added a Python test/example for inter-document cut'n paste * python/libxml.py: fixed node.doc on document nodes and added xpathEval() onto node objects Daniel
Daniel Veillard 4e0e2974 2002-03-06T21:39:42 fixed some htmlSetMetaEncoding() problems fixup and integrated tests for * HTMLtree.c: fixed some htmlSetMetaEncoding() problems * python/libxml.c python/tests/Makefile.am python/tests/serialize.py: fixup and integrated tests for the serialization stuff Daniel
Daniel Veillard 8d24cc18 2002-03-05T15:41:29 make sure SAX endDocument is always called as this could result in a * parser.c: make sure SAX endDocument is always called as this could result in a Python memory leak otherwise (it's used to decrement ref-counting) * python/generator.py python/libxml.c python/libxml.py python/libxml2-python-api.xml python/libxml2class.txt python/tests/error.py python/tests/xpath.py: implemented the suggestions made by Gary Benson and extended the tests to match it. Daniel
Daniel Veillard 79426f2b 2002-03-01T16:14:17 added the possibility of returning nodesets from XPath extension functions * python/types.c python/tests/Makefile.am python/tests/xpathret.py: added the possibility of returning nodesets from XPath extension functions written in Python Daniel
Daniel Veillard 6361da0c 2002-02-23T10:10:33 Added wrapper for the xmlURIPtr type, provided accessors, fixed the * python/generator.py python/libxml.c python/libxml2-python-api.xml python/libxml2class.txt python/libxml_wrap.h python/types.c: Added wrapper for the xmlURIPtr type, provided accessors, fixed the accessor generator for strings * python/tests/Makefile.am python/tests/tstURI.py: added a specific regression test. Daniel
Daniel Veillard c575b997 2002-02-08T13:28:40 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
Daniel Veillard 2a0cf740 2002-02-07T16:40:20 oops, Daniel
Daniel Veillard 7db3871b 2002-02-07T16:39:11 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
Daniel Veillard 33caa0b8 2002-02-04T14:07:26 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
Daniel Veillard 36eea2d2 2002-02-04T00:17:01 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
Daniel Veillard 4e1b26cf 2002-02-03T20:13:06 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
Daniel Veillard 26f1dcc5 2002-02-03T16:53:19 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
Daniel Veillard 3ce5257b 2002-02-03T15:08:05 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
Daniel Veillard 5d81903b 2002-02-02T21:49:17 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
Daniel Veillard 253aa2c3 2002-02-02T09:17:16 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