aboutsummaryrefslogtreecommitdiffstats
path: root/testHTML.c
Commit message (Collapse)AuthorAgeFilesLines
* Big space and tab cleanupDaniel Veillard2012-09-111-15/+15
| | | | Remove all space before tabs and space and tabs at end of lines.
* a lot of small cleanups based on Linus' sparse check output. DanielDaniel Veillard2005-07-281-3/+3
| | | | | | | | | * 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
* applied a patch from Marcus Boerger to fix problems with callingDaniel Veillard2005-07-211-3/+3
| | | | | | | | | | | | * error.c globals.c parser.c runtest.c testHTML.c testSAX.c threads.c valid.c xmllint.c xmlreader.c xmlschemas.c xmlstring.c xmlwriter.c include/libxml/parser.h include/libxml/relaxng.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlerror.h include/libxml/xmlexports.h include/libxml/xmlschemas.h: applied a patch from Marcus Boerger to fix problems with calling conventions on Windows this should fix #309757 Daniel
* new files for running regression tests under Python. Not yet complete, butWilliam M. Brack2004-06-271-1/+13
| | | | | | | | | * regressions.py, regressions.xml: new files for running regression tests under Python. Not yet complete, but should provide good testing under both Linux and Windows. * testHTML.c, testSAX.c, xmllint.c: changed the 'fopen' used for --push testing to include the 'rb' param when compiled under Windows.
* fixing compilation bug with some options disabled as well asDaniel Veillard2004-03-041-1/+5
| | | | | | | * debugXML.c testHTML.c tree.c doc/examples/*.c include/libxml/xmlsave.h: fixing compilation bug with some options disabled as well as --with-minimum should fix #134695 Daniel
* another small patch from Mark Vadoc DanielDaniel Veillard2004-01-131-0/+4
| | | | | * testHTML.c: another small patch from Mark Vadoc Daniel
* enhanced macros to avoid breaking ABI from previous versions. modified toWilliam M. Brack2003-10-181-4/+6
| | | | | | | | | | | | * genChRanges.py, chvalid.c, include/libxml/chvalid.h, include/libxml/parserInternals.h: enhanced macros to avoid breaking ABI from previous versions. * catalog.c, parser.c, tree.c: modified to use IS_* macros defined in parserInternals.h. Makes maintenance much easier. * testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid compilation warnings * configuration.in: fixed pushHTML test error; enhanced for better devel (me) testing
* added a new configure option --with-push, some cleanups, chased code sizeDaniel Veillard2003-09-301-0/+10
| | | | | | | | | | | * HTMLparser.c Makefile.am configure.in legacy.c parser.c parserInternals.c testHTML.c xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/xmlversion.h.in: added a new configure option --with-push, some cleanups, chased code size anomalies. Now a library configured --with-minimum is around 150KB, sounds good enough. Daniel
* Okay this is scary but it is just adding a configure option to disableDaniel Veillard2003-09-291-1/+3
| | | | | | | | | | | | | | | | | | * HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h include/libxml/catalog.h include/libxml/debugXML.h include/libxml/entities.h include/libxml/nanohttp.h include/libxml/relaxng.h include/libxml/tree.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlschemas.h include/libxml/xmlversion.h.in include/libxml/xpathInternals.h python/libxml.c: Okay this is scary but it is just adding a configure option to disable output, this touches most of the files. Daniel
* added the same htmlRead APIs than their XML counterparts new parserDaniel Veillard2003-09-261-1/+2
| | | | | | | | | | | | * HTMLparser.c testHTML.c xmllint.c include/libxml/HTMLparser.h: added the same htmlRead APIs than their XML counterparts * include/libxml/parser.h: new parser options, not yet implemented, added an options field to the context. * tree.c: patch from Shaun McCance to fix bug #123238 when ]]> is found within a cdata section. * result/noent/cdata2 result/cdata2 result/cdata2.rdr result/cdata2.sax test/cdata2: add one more cdata test Daniel
* preparing a beta3 solving the ABI problems make sure the global variablesDaniel Veillard2003-09-251-2/+8
| | | | | | | | | | | * configure.in: preparing a beta3 solving the ABI problems * globals.c parser.c parserInternals.c testHTML.c HTMLparser.c SAX.c include/libxml/globals.h include/libxml/SAX.h: make sure the global variables for the default SAX handler are V1 ones to avoid ABI compat problems. * xmlreader.c: cleanup of uneeded code * hash.c: fix a comment Daniel
* small changes to syntax to get rid of compiler warnings. No changes toWilliam M. Brack2003-08-051-1/+1
| | | | | | | | * error.c HTMLparser.c testC14N.c testHTML.c testURI.c xmlcatalog.c xmlmemory.c xmlreader.c xmlschemastypes.c python/libxml.c include/libxml/xmlmemory.h: small changes to syntax to get rid of compiler warnings. No changes to logic.
* =Bug 118559 (continued)William M. Brack2003-08-011-3/+3
|
* made powten array static it should not be exported fix bug #107361 byDaniel Veillard2003-03-051-1/+2
| | | | | | | | * xmlschemastype.c: made powten array static it should not be exported * HTMLparser.c: fix bug #107361 by reusing the code from the XML parser function. * testHTML.c: get rid of valgrind messages on the HTML SAX tests Daniel
* - include/libxml/globals.h include/libxml/threads.h threads.cDaniel Veillard2001-10-171-0/+1
| | | | | | testThreads.c: far more testing, cleaning up bugs - *.c : make sure globals.h is always included. Daniel
* Applied the last patches from Gary, cleanup, activated threading all userDaniel Veillard2001-10-131-2/+4
| | | | | | | | | | | | | | | * 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
* applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSCDaniel Veillard2001-08-031-4/+0
| | | | | | | | | | * 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
* Summer's cleanup, a really big one:Daniel Veillard2001-06-241-1/+1
| | | | | | | | | | | | | | | | * AUTHORS: added William and Bjorn * include/libxml/*.h *.c README doc/*.html etc.: changed old email to daniel@veillard.com hopefully I won't have to do this again * doc/Makefile.am doc/html/*.html: cleanup makefile, checked that docs can be rebuilt cleanly now * include/libxml/xml*version.h*: removed include/libxml/xmlversion.h from CVs it's generated, added include/libxml/xmlwin32version.h also generated but which should change far less frequently. * catalog.c nanoftp.c: made sure to include libxml.h not libxml/xmlversion.h directly * include/libxml/*.h: include xmlwin32version.h instead of xmlversion.h when compiling on WIN32 and MSC Daniel
* trio upgrade and integrationBjorn Reese2001-04-211-7/+4
|
* - HTMLparser.c HTMLtree.c SAX.c debugXML.c error.c parserInternals.cDaniel Veillard2001-03-261-40/+28
| | | | | | | | | testHTML.c testSAX.c tree.c valid.c xmlIO.c xmlmemory.c xmlversion.h.in xpointer.c: of course the way I defined UNUSED breaks on old gcc version. Try to be smart and also define it directly in xmlversion.h - configure.in: removed -ansi flag from the pedantic set Daniel
* Huge cleanup, I switched to compile withDaniel Veillard2001-03-241-56/+72
| | | | | | | | | | | | | | | | | | | | -Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline - HTMLparser.[ch] HTMLtree.c SAX.c debugXML.c encoding.[ch] encoding.h entities.c error.c list.[ch] nanoftp.c nanohttp.c parser.[ch] parserInternals.[ch] testHTML.c testSAX.c testURI.c testXPath.c tree.[ch] uri.c valid.[ch] xinclude.c xmlIO.[ch] xmllint.c xmlmemory.c xpath.c xpathInternals.h xpointer.[ch] example/gjobread.c: Cleanup, staticfied a number of non-exported functions, detected and cleaned up a dozen of problem found this way, avoided a lot of public function name/typedef/system names clashes - doc/xml.html: updated - configure.in: switched private flags to the really pedantic ones. Daniel
* Various patches and bug fixes, and XInclude progresses:Daniel Veillard2000-11-071-0/+1
| | | | | | | | | | | | | | | - nanohttp.[ch]: applied Wayne Davison patches to access the WWW-Authorization header. - parser.c: Closed Bug#30847: Problems when switching encoding in short files by applying Simon Berg's patch. - valid.c: fixed a validation problem - hash.c parser.h parserInternals.h testHTML.c testSAX.c tree.h xmlerror.h xmlmemory.h xmlversion.h.in: applied a DLL patch from Wayne Davison - xpointer.[ch]: added first version of xmlXPtrBuildNodeList() need to be extended to non full nodes selections. - xinclude.c: starts to work decently Daniel
* patched to redirrect all "out of context" error messages toDaniel Veillard2000-10-251-1/+3
| | | | | | | | | | | | a reconfigurable routine. The changes are: * xmlerror.h : added the export of an error context type (void *) an error handler type xmlGenericErrorFunc there is an interface xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler); to reset the error handling routine and its argument (by default it's equivalent to respectively fprintf and stderr. * all the c files: all wild accesses to stderr or stdout within the library have been replaced to calls to the handler. Daniel
* - HTMLparser.c HTMLtree.[ch] SAX.c testHTML.c tree.c: fixed HTMLDaniel Veillard2000-10-141-0/+23
| | | | | | | support for SCRIPT and STYLE with help from Bjorn Reese - test/HTML/* result/HTML/*: added simple testcase and updated the existing ones. Daniel
* - moved xml-error.h to xmlerror.h: seems this allowed to bypassDaniel Veillard2000-10-091-1/+1
| | | | | | the automake bug where wrong dependancies were generated. - xpath.[ch]: worked on XPointer Daniel
* - HTMLparser.c testHTML.c: applied two new patches fromDaniel Veillard2000-08-291-2/+2
| | | | | | | Wayne Davison <wayned@blorf.net> - result/HTML/*.sax: regenerated HTML SAX output - parser.c: more cleanup. Daniel
* Mostly HTML generation and parsing enhancements:Daniel Veillard2000-08-281-7/+17
| | | | | | | | | | | - HTMLparser.[ch] testHTML.c: applied the second set of patches from Wayne Davison <wayned@blorf.net>, adding htmlEncodeEntities() - HTMLparser.c: fixed an ignorable white space detection bug occuring when parsing with SAX only - result/HTML/*.sax: updated since the output is now HTML encoded... Daniel.
* libxml now grok Docbook-3.1.5 and Docbook-4.1.1 DTDs, thisDaniel Veillard2000-08-261-1/+2
| | | | | | | | | | | | | | | | | popped out a couple of bugs and 3 speed issues, there is only on minor speed issue left. Assorted collection of user reported bugs and fixes: - doc/encoding.html: added encoding aliases doc - doc/xml.html: updates - encoding.[ch]: added EncodingAliases functions - entities.[ch] valid.[ch] debugXML.c: removed two serious bottleneck affecting large DTDs like Docbook - parser.[ch] xmllint.c: added a pedantic option, will be useful - SAX.c: redefinition of entities is reported in pedantic mode - testHTML.c: uninitialized warning from gcc - uri.c: fixed a couple of bugs - TODO: added issue raised by Michael Daniel
* cleaned up the output of SAX tests, DanielDaniel Veillard2000-08-171-16/+12
|
* Patch from Dave Yearke <yearke@eng.buffalo.edu>:Daniel Veillard2000-08-141-2/+3
| | | | | | | - testHTML.c: fix core dump on Solaris 2.x systems - HTMLparser.c: fix segfault if ctxt->sax->characters() is NULL - result/HTML/*.sax: previous bug fix lead to new results Daniel
* Large sync between my W3C base and Gnome's one:Daniel Veillard2000-08-121-19/+85
| | | | | | | | | | | | | | | | | | - parser.[ch]: added xmlGetFeaturesList() xmlGetFeature() and xmlAddFeature() - tree.[ch]: added xmlAddChildList() - xmllint.c: MAP_FAILED macro test - parser.h: added xmlParseCtxtExternalEntity() - valid.c: applied bug fixes removed warning - tree.c: added CDATA block to elements content - testSAX.c: cleanup of output - testHTML.c: added SAX testing - encoding.c: better error recovery - SAX.c, parser.c: fixed one of the external entity processing of the OASis testsuite - Makefile.am: added HTML SAX regression tests - configure.in: bumped to 2.2.2 - test/HTML/ result/HTML: added a few of HTML tests, and added the SAX results Daniel
* - doc/encoding.html doc/xml.html: added I18N docDaniel Veillard2000-07-141-4/+22
| | | | | | | | | | | | | | | | | | | | - encoding.[ch] HTMLtree.[ch] parser.c HTMLparser.c: I18N encoding improvements, both parser and filters, added ASCII & HTML, fixed the ISO-Latin-1 one - xmllint.c testHTML.c: added/made visible --encode - debugXML.c : cleanup - most .c files: applied patches due to warning on Windows and when using Sun Pro cc compiler - xpath.c : cleanup memleaks - nanoftp.c : added a TESTING preprocessor flag for standalong compile so that people can report bugs more easilly - nanohttp.c : ditched socklen_t which was a portability mess and replaced it with unsigned int. - tree.[ch]: added xmlHasProp() - TODO: updated - test/ : added more test for entities, NS, encoding, HTML, wap - configure.in: preparing for 2.2.0 release Daniel
* Work done on the plane, ready to release libxml2-2.0.0, DanielDaniel Veillard2000-04-031-5/+26
|
* Added a Fragment function for Raph (DOM) Daniel.Daniel Veillard2000-01-091-1/+1
|
* - Push mode for the HTML parser (new calls)Daniel Veillard1999-12-291-53/+34
| | | | | | - Improved the memory debugger to provide content informations - cleanups, last known mem leak killed Daniel
* - fix for PIs name starting with xmlDaniel Veillard1999-12-221-2/+1
| | | | | | - fixed a potential problem with || and && ops - generate win32config.h for those on the Other Side ! Daniel
* - added the patch from Carl Nygard <cnygard@bellatlantic.net>Daniel Veillard1999-12-011-0/+1
| | | | | | | | | which allow impressive speed improvement on dataset with large text pieces, but at the cost of broken binary compatibility and slightly bigger memory usage. Configure with --with-buffers to activate them, they are protected with XML_USE_BUFFER_CONTENT define. - added xmlCleanupPredefinedEntities(), memory allocation cleanup Daniel
* Revamped HTML parsing, lots of bug fixes for HTML stuff,Daniel Veillard1999-10-141-7/+570
| | | | | | | Added xmlValidGetValidElements and xmlValidGetPotentialChildren, Completed and cleaned up the tests, Added doc for new modules gnome-xml-xmlmemory.html and gnome-xml-nanohttp.html, Daniel
* Fixed CHAR, errno, alpha RPM compile, updated doc, DanielDaniel Veillard1999-09-231-2/+2
|
* Ready for 1.7.0, major changes, nanohttp, cleanup, binary compat with 1.4,Daniel Veillard1999-09-221-3/+9
| | | | etc... See Changelog, Daniel.
* Release 1.6, lot of fixes, more validation, code cleanup, added namespaceDaniel Veillard1999-08-291-1/+1
| | | | on attributes, Daniel.
* HTML parsing, output is now correct, added HTMLtests target and testcases, ↵Daniel Veillard1999-07-071-3/+3
| | | | Daniel
* Closing reported bugs: 617 1591 1592, adding an HTML parser, DanielDaniel Veillard1999-07-051-0/+149