HTMLparser.c


Log

Author Commit Date CI Message
Daniel Veillard 157fee01 2003-10-31T10:36:03 previous fix for #124044 was broken, correct fix provided. fix * python/libxml.c: previous fix for #124044 was broken, correct fix provided. * HTMLparser.c parser.c parserInternals.c xmlIO.c: fix xmlStopParser() and the error handlers to address #125877 Daniel
Daniel Veillard 652f9aa9 2003-10-28T22:04:45 Fix #124907 by simply backporting the same fix as for the XML parser * HTMLparser.c: Fix #124907 by simply backporting the same fix as for the XML parser * result/HTML/doc3.htm.err: change to ID detecting modified one test result. 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
William M. Brack 76e95df0 2003-10-18T16:20:14 Changed all (?) occurences where validation macros (IS_xxx) had * include/libxml/parserInternals.h HTMLparser.c HTMLtree.c SAX2.c catalog.c debugXML.c entities.c parser.c relaxng.c testSAX.c tree.c valid.c xmlschemas.c xmlschemastypes.c xpath.c: Changed all (?) occurences where validation macros (IS_xxx) had single-byte arguments to use IS_xxx_CH instead (e.g. IS_BLANK changed to IS_BLANK_CH). This gets rid of many warning messages on certain platforms, and also high- lights places in the library which may need to be enhanced for proper UTF8 handling.
Daniel Veillard 659e71ec 2003-10-10T14:10:40 Setting up the framework for structured error reporting, touches a lot of * HTMLparser.c c14n.c catalog.c error.c globals.c parser.c parserInternals.c relaxng.c valid.c xinclude.c xmlIO.c xmlregexp.c xmlschemas.c xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h include/libxml/valid.h include/libxml/xmlerror.h: Setting up the framework for structured error reporting, touches a lot of modules, but little code now the error handling trail has been cleaned up. Daniel
Daniel Veillard f403d298 2003-10-05T13:51:35 more code cleanup, especially around error messages, the HTML parser has * HTMLparser.c Makefile.am legacy.c parser.c parserInternals.c include/libxml/xmlerror.h: more code cleanup, especially around error messages, the HTML parser has now been upgraded to the new handling. * result/HTML/*: a few changes in the resulting error messages Daniel
Daniel Veillard 73b013fc 2003-09-30T12:36:01 added a new configure option --with-push, some cleanups, chased code size * 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
William M. Brack 899e64aa 2003-09-26T18:03:42 minor change to avoid compilation warnings on some (e.g. AIX) systems * HTMLparser.c, entities.c, xmlreader.c: minor change to avoid compilation warnings on some (e.g. AIX) systems
Daniel Veillard 9475a352 2003-09-26T12:47:50 added the same htmlRead APIs than their XML counterparts new parser * 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
Daniel Veillard 092643b5 2003-09-25T14:29:29 preparing a beta3 solving the ABI problems make sure the global variables * 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
Daniel Veillard 40412cda 2003-09-03T13:28:32 when creating a DOCTYPE use "html" lowercase by default instead of "HTML" * HTMLparser.c: when creating a DOCTYPE use "html" lowercase by default instead of "HTML" * parser.c xmlreader.c: optimization, gain a few % parsing speed by avoiding calls to "areBlanks" when not needed. * include/libxml/parser.h include/libxml/tree.h: some structure extensions for future work on using per-document dictionaries. Daniel
Igor Zlatkovic d37c1394 2003-08-28T10:34:33 added few casts to shut the compiler warnings
Daniel Veillard 2fdbd32d 2003-08-18T12:15:38 new dictionary module to keep a single instance of the names used by the * dict.c include/libxml/dict.h Makefile.am include/libxml/Makefile.am: new dictionary module to keep a single instance of the names used by the parser * DOCBparser.c HTMLparser.c parser.c parserInternals.c valid.c: switched all parsers to use the dictionary internally * include/libxml/HTMLparser.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/valid.h: Some of the interfaces changed as a result to receive or return "const xmlChar *" instead of "xmlChar *", this is either insignificant from an user point of view or when the returning value changed, those function are really parser internal methods that no user code should really change * doc/libxml2-api.xml doc/html/*: the API interface changed and the docs were regenerated Daniel
Daniel Veillard e8ed6203 2003-08-14T23:39:01 allocation error #119784 raised by Oliver Stoeneberg Daniel * HTMLparser.c: allocation error #119784 raised by Oliver Stoeneberg Daniel
Daniel Veillard b19ba83f 2003-08-14T00:33:46 fixed the serious CPU usage problem reported by Grant Goodale applied * parser.c: fixed the serious CPU usage problem reported by Grant Goodale * HTMLparser.c: applied patch from Oliver Kidman about a free missing in htmlSAXParseDoc Daniel
Daniel Veillard 14f752c2 2003-08-09T11:44:50 fixed a nasty bug #119387, bad heuristic from the progressive HTML parser * HTMLparser.c: fixed a nasty bug #119387, bad heuristic from the progressive HTML parser front-end on large character data island leading to an erroneous end of data detection by the parser. Some cleanup too to get closer from the XML progressive parser. Daniel
William M. Brack c193956e 2003-08-05T15:52:22 small changes to syntax to get rid of compiler warnings. No changes to * 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.
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
William M. Brack 78637da0 2003-07-31T14:47:38 fixing bug 118559
Daniel Veillard 97e01886 2003-07-30T18:59:19 applied a patch from William Brack about the problem of parsing very large * HTMLparser.c: applied a patch from William Brack about the problem of parsing very large HTML instance with comments as raised by Nick Kew Daniel
William M. Brack 4a557d97 2003-07-29T04:28:04 fixed problem with comments reported by Nick Kew added routines * HTMLparser.c: fixed problem with comments reported by Nick Kew * encoding.c: added routines xmlUTF8Size and xmlUTF8Charcmp for some future cleanup of UTF8 handling
Daniel Veillard 34ba3879 2003-07-15T13:34:05 removed some warnings by casting xmlChar to unsigned int and a couple of * DOCBparser.c HTMLparser.c entities.c parser.c relaxng.c xmlschemas.c xpath.c: removed some warnings by casting xmlChar to unsigned int and a couple of others. * xmlschemastypes.c: fixes a segfault on empty hexBinary strings Daniel
Daniel Veillard d9d32aeb 2003-07-05T20:32:43 use the character() SAX callback if the cdataBlock ain't defined. fix bug * parser.c HTMLparser.c: use the character() SAX callback if the cdataBlock ain't defined. * xpath.c: fix bug #115349 allowing compilation when configured with --without-xpath since the Schemas code needs NAN and co. Daniel
Daniel Veillard 104caa3d 2003-05-13T22:54:05 oops last commit introduced a memory leak. Daniel * HTMLparser.c: oops last commit introduced a memory leak. Daniel
Daniel Veillard e8b09e40 2003-05-13T22:14:13 added --nonet option fixing #112803 by adding --nonet when calling * xmllint.c doc/xmllint.xml: added --nonet option * doc/Makefile.am: fixing #112803 by adding --nonet when calling xsltproc or xmllint * doc/xmllint.xml doc/xmllint.1: also added --schema doc and rebuilt * HTMLparser.c: cleaned up the HTML parser context build when using an URL Daniel
Daniel Veillard 45269b8b 2003-04-22T13:21:57 tried to fix #98879 again in a more solid way. Daniel * HTMLparser.c: tried to fix #98879 again in a more solid way. Daniel
Daniel Veillard 3c908dca 2003-04-19T00:07:51 added xmlMallocAtomic() to be used when allocating blocks which do not * DOCBparser.c HTMLparser.c c14n.c catalog.c encoding.c globals.c nanohttp.c parser.c parserInternals.c relaxng.c tree.c uri.c xmlmemory.c xmlreader.c xmlregexp.c xpath.c xpointer.c include/libxml/globals.h include/libxml/xmlmemory.h: added xmlMallocAtomic() to be used when allocating blocks which do not contains pointers, add xmlGcMemSetup() and xmlGcMemGet() to allow registering the full set of functions needed by a garbage collecting allocator like libgc, ref #109944 Daniel
Daniel Veillard 02ea1414 2003-04-09T12:08:47 exported htmlCreateMemoryParserCtxt() it was static Daniel * HTMLparser.c include/libxml/HTMLparser.h: exported htmlCreateMemoryParserCtxt() it was static Daniel
Daniel Veillard 6560a42c 2003-03-27T21:25:38 two patches from James Bursa on the HTML parser and a typo reindenting, * HTMLparser.c tree.c: two patches from James Bursa on the HTML parser and a typo * xmlschemastypes.c: reindenting, fixing a memory access problem with dates. Daniel
Daniel Veillard 77a90a7f 2003-03-22T00:04:05 patch from johan@evenhuis.nl for #107937 fixing some line counting * HTMLparser.c parser.c parserInternals.c: patch from johan@evenhuis.nl for #107937 fixing some line counting problems, and some other cleanups. * result/HTML/: this result in some line number changes Daniel
Daniel Veillard 5f704afe 2003-03-05T10:01:43 made powten array static it should not be exported fix bug #107361 by * 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
Igor Zlatkovic 5f9fada3 2003-02-19T14:51:00 obsoleted xmlNormalizeWindowsPath
Daniel Veillard 1703c5fc 2003-02-10T14:28:44 OASIS RelaxNG testsuite python script to run regression against OASIS * test/relaxng/OASIS/spectest.xml: OASIS RelaxNG testsuite * check-relaxng-test-suite.py: python script to run regression against OASIS RelaxNG testsuite * relaxng.c: some cleanup tweaks * HTMLparser.c globals.c: cleanups in comments * doc/libxml2-api.xml: updated the API * result/relaxng/*: errors moved files, so large diffs but no changes at the semantic level. Daniel
Daniel Veillard 71531f33 2003-02-05T13:19:53 comments cleanups use xmllint for doing the RelaxNG tests preparing 2.5.2 * HTMLparser.c tree.c xmlIO.c: comments cleanups * Makefile.am: use xmllint for doing the RelaxNG tests * configure.in: preparing 2.5.2 made schemas support default to on instead of off * relaxng.c: removed the verbosity * xmllint.c: added --relaxng option * python/generator.py python/libxml_wrap.h: prepared the integration of the new RelaxNG module and schemas * result/relaxng/*: less verbose output Daniel
Daniel Veillard 930dfb63 2003-02-05T10:17:38 applied HTML improvements from Nick Kew, allowing to do more checking to * HTMLparser.c include/libxml/HTMLparser.h: applied HTML improvements from Nick Kew, allowing to do more checking to HTML elements and attributes. Daniel
Daniel Veillard 358a9896 2003-02-04T15:22:32 applied patch from Arne de Bruijn fixing bug #103827 Daniel * HTMLparser.c: applied patch from Arne de Bruijn fixing bug #103827 Daniel
Daniel Veillard eb137179 2003-02-04T15:18:06 updating a comment, fixing #103776 Daniel * HTMLparser.c: updating a comment, fixing #103776 Daniel
Daniel Veillard e5b110b3 2003-02-04T14:43:39 try to fix # 105049 a couple of changes and extensions updated a function * HTMLparser.c: try to fix # 105049 * relaxng.c xmlschemastypes.c: a couple of changes and extensions * tree.c: updated a function comment Daniel
Daniel Veillard e55e8e48 2003-01-10T12:50:02 fixed bug #102960 by reusing the XML name parsing routines. Daniel * HTMLparser.c: fixed bug #102960 by reusing the XML name parsing routines. Daniel
Daniel Veillard 01c13b5b 2002-12-10T15:19:08 code cleanup, especially the function comments. fixed a small bug when * DOCBparser.c HTMLparser.c c14n.c debugXML.c encoding.c hash.c nanoftp.c nanohttp.c parser.c parserInternals.c testC14N.c testDocbook.c threads.c tree.c valid.c xmlIO.c xmllint.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c: code cleanup, especially the function comments. * tree.c: fixed a small bug when freeing nodes which are XInclude ones. Daniel
Daniel Veillard 1c732d2e 2002-11-30T11:22:59 code cleanup Daniel * DOCBparser.c HTMLparser.c parser.c valid.c xpath.c: code cleanup Daniel
Daniel Veillard fee408f5 2002-11-22T13:18:30 final touch at closing #87235 </p> end tags need to be generated. this * HTMLparser.c: final touch at closing #87235 </p> end tags need to be generated. * result/HTML/cf_128.html result/HTML/test2.html result/HTML/test3.html: this change slightly the output of a few tests * doc/*: regenerated Daniel
Daniel Veillard bc6e1a38 2002-11-18T15:07:25 fixed bug #98879 a corner case when 0 is included in HTML documents and * HTMLparser.c: fixed bug #98879 a corner case when 0 is included in HTML documents and using the push parser. Daniel
Daniel Veillard dad3f680 2002-11-17T16:47:27 preparing release 2.4.27 updated and rebuilt the docs try to make sure the * configure.in: preparing release 2.4.27 * doc/* : updated and rebuilt the docs * doc/Makefile.am libxml.spec.in: try to make sure the tutorial and all the docs are actually packaged and in the final RPMs * parser.c parserInternals.c include/libxml/parser.h: restore xmllint --recover feature. Daniel
Daniel Veillard 8dd86a5b 2002-11-12T21:14:17 strengthen the guard in the Pop macros, like in the XML parser, closes bug * HTMLparser.c: strengthen the guard in the Pop macros, like in the XML parser, closes bug #97315 Daniel
Daniel Veillard ce02dbc4 2002-10-22T19:14:58 Mikhail Sogrine pointed out a bug in HTML parsing, applied his patch added * HTMLparser.c: Mikhail Sogrine pointed out a bug in HTML parsing, applied his patch * result/HTML/attrents.html result/HTML/attrents.html.err result/HTML/attrents.html.sax test/HTML/attrents.html: added the test and result case provided by Mikhail Sogrine Daniel
Daniel Veillard e645e8c1 2002-10-22T17:35:37 Applied the VMS update patch from Craig A. Berry update Daniel * vms/build_libxml.com vms/config.vms vms/readme.vms include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlIO.h HTMLparser.c catalog.c debugXML.c parser.c parserInternals.c tree.c triodef.h trionan.c uri.c xmlIO.c xpath.c: Applied the VMS update patch from Craig A. Berry * doc/*.html: update Daniel
Daniel Veillard a646cfdb 2002-09-17T21:50:03 small cleanup switched DTD validation to use only regexp when configured * HTMLparser.c: small cleanup * valid.c xmlregexp.c: switched DTD validation to use only regexp when configured with them. A bit of debugging around the determinism checks is still needed Daniel
Daniel Veillard f4862f0f 2002-09-10T11:13:43 messing around with support for Windows path, cleanups, trying to identify * include/libxml/xmlIO.h xmlIO.c parser.c HTMLparser.c DOCBparser.c: messing around with support for Windows path, cleanups, trying to identify and fix the various code path to the filename access. Added xmlNormalizeWindowsPath() Daniel
Daniel Veillard 3487c8d9 2002-09-05T11:33:25 get rid of all the perror() calls made in the library execution paths. * DOCBparser.c HTMLparser.c c14n.c entities.c list.c parser.c parserInternals.c xmlIO.c: get rid of all the perror() calls made in the library execution paths. This should fix both #92059 and #92385 Daniel
Daniel Veillard 1d995271 2002-07-22T16:43:32 fixing bug #84876 based on the xml working code. Daniel * HTMLparser.c: fixing bug #84876 based on the xml working code. Daniel
Daniel Veillard 8c9872ca 2002-07-05T18:17:10 trying to fix 87235 about discarded white spaces in the HTML parser. this * HTMLparser.c: trying to fix 87235 about discarded white spaces in the HTML parser. * result/HTML/*: this changes the output of a number of HTML regression tests Daniel
Aleksey Sanin 49cc9756 2002-06-14T17:07:10 replaced sprintf() with snprintf() to prevent possible buffer overflow * DOCBparser.c HTMLparser.c debugXML.c encoding.c nanoftp.c nanohttp.c parser.c tree.c uri.c xmlIO.c xmllint.c xpath.c: replaced sprintf() with snprintf() to prevent possible buffer overflow (the bug was pointed out by Anju Premachandran)
Daniel Veillard 1b31e4a0 2002-05-27T14:44:50 fixing #79334 making htmlParseDocument a public entry point. rebuilt the * HTMLparser.c win32/libxml2.def.src win32/dsp/libxml2.def.src include/libxml/HTMLparser.h: fixing #79334 making htmlParseDocument a public entry point. * doc/*: rebuilt the API and docs Daniel
Daniel Veillard 561b7f88 2002-03-20T21:55:57 dohh I really didn't intended to commit this test version :-( Daniel * HTMLparser.c error.c parser.c parserInternals.c tree.c xmlIO.c include/libxml/tree.h: dohh I really didn't intended to commit this test version :-( Daniel
Daniel Veillard e50f3b5d 2002-03-20T19:24:21 I wanted to see the real speed at the SAX interface after a little too * testSAX.c: I wanted to see the real speed at the SAX interface after a little too many Ximianer started complaining about the parser speed. added a --quiet option: paphio:~/XML -> ls -l db100000.xml -rw-rw-r-- 1 veillard www 20182040 Mar 20 10:30 db100000.xml paphio:~/XML -> time ./testSAX --quiet db100000.xml 3200006 callbacks generated real 0m1.270s Which means 16MBytes/s and 3Mcallback/s Daniel
Daniel Veillard 34ce8bec 2002-03-18T19:37:11 preparing 2.4.18 updated and rebuilt the web site implement the new * configure.in: preparing 2.4.18 * doc/*: updated and rebuilt the web site * *.c libxml.h: implement the new IN_LIBXML scheme discussed with the Windows and Cygwin maintainers. * parser.c: humm, changed the way the SAX parser work when xmlSubstituteEntitiesDefault(1) is set, it will then do the entity registration and loading by itself in case the user provided SAX getEntity() returns NULL. * testSAX.c: added --noent to test the behaviour. Daniel
Daniel Veillard 044fc6b7 2002-03-04T17:09:44 fixing #61290 "namespace nodes have no parent" long standing divergence * xpath.c: fixing #61290 "namespace nodes have no parent" long standing divergence from the XPath REC. NodeSets simply hold a copy of namespace nodes and those node ->next points to the parent (which may not be the node carrying the definition). * include/libxml/xpath.h: flagged but didn't added a possible speedup * DOCBparser.c HTMLparser.c: removed some warnings from push parser due to new state being added. * tree.c: new fix from Boris Erdmann * configure.in c14n.c include/libxml/c14n.h testC14N.c: added the XML Canonalization support from Aleksey Sanin Daniel
Daniel Veillard cbaf3995 2001-12-31T16:16:02 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
Daniel Veillard c1f78343 2001-11-10T11:43:05 fix comment in scripts element parsing. updated the results. Daniel * HTMLparser.c: fix comment in scripts element parsing. * result/HTML/doc3*: updated the results. Daniel
Daniel Veillard 957fdcf2 2001-11-06T22:50:19 handle the case of < in quoted attributes, Bastian Kleineidam Daniel * HTMLparser.c test/HTML/lt.html result/HTML/lt.html*: handle the case of < in quoted attributes, Bastian Kleineidam Daniel
Daniel Veillard 635ef72a 2001-10-29T11:48:19 apply fixes to close #63271 and avoid segfaults when the error routine * parser.c globals.c DOCBparser.c HTMLparser.c error.c: apply fixes to close #63271 and avoid segfaults when the error routine gets callbed before xmlInitParser() get called. * nanoftp.c error.c: Applied patches from Justin Fletcher correcting some xmlGenericError misuses. Daniel
Daniel Veillard 5151c06f 2001-10-23T13:10:19 fixed an erroneous validation bug when PE refs occurs in external parsed * parser.c: fixed an erroneous validation bug when PE refs occurs in external parsed entities referenced from the internals subset * test/valid/index.xml test/valid/dtds/nitf-2-5.dtd test/valid/dtds/NewsMLv1.0.dtd result/valid/index.xml*: added the associated testcase, it's a nice one. * HTMLparser.c: generate the DTD node as HTML still ... * HTMLtree.c: fixed errors in Set/GetMetaEncoding Daniel
Daniel Veillard b6b0fd89 2001-10-22T12:31:11 Fixed a bug when creating a new HTML document, doc->children was set to NULL with a DTD child Daniel
Daniel Veillard 3c01b1d8 2001-10-17T15:58:35 - include/libxml/globals.h include/libxml/threads.h threads.c testThreads.c: far more testing, cleaning up bugs - *.c : make sure globals.h is always included. Daniel
Daniel Veillard 7cc95c0b 2001-10-17T15:45:12 try to get rid of parser loops for good. Daniel * HTMLparser.c: try to get rid of parser loops for good. Daniel
Daniel Veillard d0463560 2001-10-13T09:15:48 Applied the last patches from Gary, cleanup, activated threading all user * 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
Daniel Veillard 60087f30 2001-10-10T09:45:09 preparing 2.4.6 release updated and rebuilt the docs fixed a number of * configure.in: preparing 2.4.6 release * doc/xml.html doc/html/*: updated and rebuilt the docs * include/libxml/*.h *.c: fixed a number of teh/the widht/width typos Daniel
Daniel Veillard 3fbe8e30 2001-10-06T13:30:33 closing bug #61832 removed a warning Daniel * configure.in: closing bug #61832 * HTMLparser.c: removed a warning Daniel
William M. Brack 1633d187 2001-10-05T15:41:19 fixed HTMLparser.c
Daniel Veillard f6ed8bc7 2001-10-02T09:22:47 Igor Zlatkovic patches fixed typos Daniel * win32/dsp/libxml2.def.src: Igor Zlatkovic patches * DOCBparser.c HTMLparser.c parser.c: fixed typos Daniel
William M. Brack d28e48ab 2001-09-23T01:55:08 fix loop in HTMLparser.c
Daniel Veillard dc2cee29 2001-08-22T16:30:37 Added the part about section 7.2 on URI resolution, fixed a side effect in * include/libxml/catalog.h catalog.c xmlIO.c HTMLparser.c: Added the part about section 7.2 on URI resolution, fixed a side effect in the HTML parser, look complete and ready to rock except the URI/SystemID part! Daniel
Daniel Veillard bb371297 2001-08-16T23:26:59 trying to fix some troubles w.r.t. function returning const xxxPtr. Daniel * HTMLparser.c HTMLtree.c include/libxml/HTMLparser.h: trying to fix some troubles w.r.t. function returning const xxxPtr. Daniel
Daniel Veillard 5e2dace1 2001-07-18T19:30:27 Cleanup, cleanup .. removed libxml softlink for good cleanup to get 100% Cleanup, cleanup .. * configure.in Makefile.am: removed libxml softlink for good * include/libxml/*.h *.c doc/Makefile.am: cleanup to get 100% coverage by gtk-doc Daniel
Daniel Veillard 22090731 2001-07-16T00:06:07 cleanup of global variables, marking some const or private. Daniel * include/libxml/parserInternals.h include/libxml/HTMLparser.h xmlIO.c tree.c parserInternals.c entities.c encoding.c HTMLparser.c: cleanup of global variables, marking some const or private. Daniel
Daniel Veillard 7db3773a 2001-07-12T01:20:08 store the line numbder in element->content, may break some software, need * DOCBparser.c HTMLparser.c HTMLtree.c SAX.c debugXML.c parser.c tree.c xpointer.c: store the line numbder in element->content, may break some software, need a configuration mechanism Daniel
Daniel Veillard 4d65a1c5 2001-07-04T22:06:23 - parser.c: improved the description of a couple of interfaces upon Larry Stamper suggestion Daniel
Daniel Veillard f420ac55 2001-07-04T16:04:09 fixing a too early root closing problem raised byt Prashanth Naidu Daniel * HTMLparser.c: fixing a too early root closing problem raised byt Prashanth Naidu Daniel
Daniel Veillard c5d64345 2001-06-24T12:13:24 Summer's cleanup, a really big one: * 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
Daniel Veillard 017b108f 2001-06-21T11:20:21 - Makefile.am: cleanup when --without-debug is specified - xinclude.c xpath.c xpathInternals.h xpointer.c: cleanup w.r.t. --without-debug and other include points - catalog.h testCatalog.c: a bit of cleanup and prepare for XML Catalogs - configure.in entities.h tree.h HTMLparser.c: removed --without-corba, made the _private field mandatory Daniel
Daniel Veillard 02bb170a 2001-06-13T21:11:59 - HTMLparser.[ch] HTMLtree.c: stored the inline/block property of element and use it to avoid outputting formatting spaces at the wrong place. Implemented the format parameter for HTML save. - result/HTML/doc2.htm result/HTML/doc3.htm result/HTML/fp40.htm result/HTML/script.html result/HTML/test2.html result/HTML/test3.html result/HTML/wired.html: of course this impact the result of a number of HTML tests Daniel
Daniel Veillard f69bb4b5 2001-05-19T13:24:56 - HTMLparser.c: Closed bug #54891 - result/HTML/cf_128.html* test/HTML/cf_128.html: added the test to the suite forgot to commit this one yesterday - encoding.h hash.c nanoftp.h parser.h tree.h uri.h xlink.h xpointer.c: applied a documentation patch from LotR and filled in a few missing descriptions Daniel
Daniel Veillard 0a2a163d 2001-05-11T14:18:03 - HTMLparser.c: Patch from Jonas Borgström (htmlGetEndPriority): New function, returns the priority of a certain element. (htmlAutoCloseOnClose): Only close inline elements if they all have lower or equal priority. - result/HTML: this of course changed a number of tests results. Daniel
Daniel Veillard 6426935a 2001-05-04T17:52:34 - HTMLparser.c: fixed htmlNewDoc SYSTEM and PUBLIC ID inversion when both parameters are NULL. Daniel
Daniel Veillard a2bc368b 2001-05-03T08:27:20 - HTMLparser.c: trying to fix the problem reported by Jonas Borgström - results/HTML/ : a few changes in the output of the HTML tests as a result. - configure.in: tying to fix -liconv where needed Daniel
Daniel Veillard 56098d4f 2001-04-24T12:51:09 - HTMLparser.c : HTML parsing still sucks ... trying to deal with madness - result/HTML/ : this modified the result of the regression tests a lot. Daniel
Daniel Veillard 43dadebd 2001-04-24T11:23:35 - HTMLparser.c: Jonas Borgström patch, the <td>, and <th> elements now means the end of any open <span>,<font>,<a>,<b>,<i>,<u>. Daniel
Bjorn Reese 70a9da54 2001-04-21T16:57:29 trio upgrade and integration
Daniel Veillard 1ed3f88b 2001-04-18T09:45:35 - HTMLparser.c HTMLtree.c: applied part of the patches provided by P C Chow and William M. Brack for XSLT HTML output Daniel
Daniel Veillard a3bfca59 2001-04-12T15:42:58 parsing real HTML is a nightmare. - HTMLparser.c result/HTML/*: revamped the way the HTML parser handles end of tags or end of input Daniel
Daniel Veillard c86a4fae 2001-03-26T16:28:29 - HTMLparser.c HTMLtree.c SAX.c debugXML.c error.c parserInternals.c 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
Daniel Veillard 56a4cb8c 2001-03-24T17:00:36 Huge cleanup, I switched to compile with -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
Daniel Veillard f9533d14 2001-03-03T10:04:57 - HTMLparser.c: fixed loop reported by Marc Sanfacon Daniel
Daniel Veillard 48b2f896 2001-02-25T16:11:03 Okay time to improve performances, gprof session: before real 0m2.483s (2.3.2 release yesterday) current real 0m1.763s when parsing (with tree build/freeing) db10000.xml from XSLTMark: - xmlmemory.h HTMLparser.c HTMLtree.c entities.c parser.c xpath.c xpointer.c tree.c uri.c valid.c xinclude.c xmlIO.c: avoiding memcpy in production builds MEM_CLEANUP macro use - parser.[ch] parserInternals.c: optimizations of the tightest internal loops inside the parser. Better checking of I/O flushing/loading conditions - xmllint.c : added --timing Daniel
Owen Taylor 3473f88a 2001-02-23T17:55:21 Revert directory structure changes
CET 2001 Tomasz K³oczko 64636e7f 2001-02-23T01:37:32 moved to libxml directory - this allow simplify automake/autoconf. Now Thu Feb 23 02:03:56 CET 2001 Tomasz K³oczko <kloczek@pld.org.pl> * *.c *.h libxml files: moved to libxml directory - this allow simplify automake/autoconf. Now isn't neccessary hack on am/ac level for make and remove libxml symlink (modified for this also configure.in and main Makefile.am). Now automake abilities are used in best way (like in many other projects with libraries). * include/win32config.h: moved to libxml directory (now include directory isn't neccessary). * Makefile.am, examples/Makefile.am, libxml/Makefile.am: added empty DEFS and in INCLUDES rest only -I$(top_builddir) - this allow minimize parameters count passed to libtool script (now compilation is also slyghtly more quiet). * configure.in: simplifies libzdetestion - prepare separated variables for keep libz name and path to libz header files isn't realy neccessary (if someone have libz installed in non standard prefix path to header files ald library can be passed as: $ CFALGS="-I</libz.h/path>" LDFLAGS="-L</libz/path>" ./configure * autogen.sh: check now for libxml/entities.h. After above building libxml pass correctly and also pass "make install DESTDIR=</install/prefix>" from tar ball generated by "make dist". Seems ac/am reorganization is finished. This changes not touches any other things on *.{c,h} files level.
Daniel Veillard f41fbbf6 2001-02-13T17:05:35 testing and bug fixing related to XSLT: - xpath.c result/XPath/tests/chaptersprefol: bugfixes on order and on predicate - HTMLparser.[ch] HTMLtree.c result/HTML/doc3.htm.err result/HTML/doc3.htm.sax result/HTML/wired.html: sometimes one really want to have tags closed on output even if we accept unclosed ones on input Daniel
Daniel Veillard 389e6b72 2001-01-15T19:41:13 Patches bug fixes and on new function: - xpath.c: fixed the comaprision of values and nodelists, need to compare nodelist still ... - debugXML.c: avoided a possible core dump - HTMLparser.c: cleanup - nanohttp.c: contributed fix. - tree.c: fixes in properties handling added xmlSetNsProp needed by libxslt - xpathInternals.h: exported xmlXPathBooleanFunction, added a comment - TODO: updated Daniel
Daniel Veillard 45cff696 2001-01-03T18:02:04 Patches: - HTMLparser.c: htmlCheckParagraph to check Patches: - HTMLparser.c: htmlCheckParagraph to check htmlOmittedDefaultValue, reported by Jonas Borgström - nanohttp.c: Applied Bjorn Reese' IPV6 first patch Daniel