HTMLparser.c


Log

Author Commit Date CI Message
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
Daniel Veillard a6d8eb62 2000-12-27T10:46:47 Finally had a bit of time to resynch both trees: - HTMLparser.[ch]: added a way to avoid adding automatically omitted tags. htmlHandleOmittedElem() allows to change the default handling. - tree.[ch] xmllint.c: added xmlDocDumpFormatMemory() and xmlDocDumpFormatMemoryEnc(), uses memory functions for output of xmllint too when using --memory flag, added a memory test suite at the Makefile level. - xpathInternals.h xpath.[ch] xpointer.c: fixed problems with namespace use when encountering QNames in XPath evalation, added xmlns() scheme in XPointer. - nanoftp.c : incorporated a fix - parser.c xmlIO.c: fixed problems raised with encoding when using the memory I/O - parserInternals.c: closed bug 25934 reported by torsten.landschoff@innominate.de - TODO: updated Daniel
Daniel Veillard f62ceffb 2000-11-24T23:36:01 General fixes, XPointer improvements: - HTMLparser.c: some fixes on auto-open of html/head/body - encoding.c: fixed a compilation error on some gcc env - xpath.c xpointer.[ch] xpathInternals.h: improved the XPointer implementation - test/XPath/xptr/strpoint test/XPath/xptr/strrange3: added related XPointer tests and associated results Daniel
Daniel Veillard 748e45d7 2000-11-17T16:36:08 Couples of HTML and Windows fixes: - HTMLparser.c: fixed handling of broken charrefs - xmlmemory.h libxml2.dsp include/win32config.h: reporting Windows patches Daniel
Daniel Veillard a4964b75 2000-10-31T18:23:44 - HTMLparser.c: fixed loop on invalid char in scripts - parser.c: update to description of xmlIOParseDTD() - libxml.m4 xmlversion.h.in: changes contributed by Michael Schmeing <m.schmeing@internet-factory.de> - configure.in: preparing for 2.2.7 - Makefile.am: trying to avoid config.h and acconfig.h being included in the distrib - rebuilt the docs - configure.in: released 2.2.7 Daniel
Daniel Veillard c4f4f0b7 2000-10-29T17:46:30 - xpath.c: fixed the root evaluation problems - HTMLparser.c result/HTML/doc3.htm: fixed the problem of non ignorable spaces with <b> <bold> <em> - tree.c: fixed a loop in xmlSearchNsByHref() Daniel
Daniel Veillard d6d7f7bf 2000-10-25T19:56:55 patched to redirrect all "out of context" error messages to 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
Daniel Veillard 126f2799 2000-10-24T17:10:12 Bunch of fixes, finishing moving datastructures to the hash stuff: - hash.[ch] debugXML.c: expanded/enhanced the API, added multikey tuples, made hash structure opaque - valid.[ch]: moved elements, attributes, notations decalarations as well as ID and refs to hash tables. - entities.c: hash cleanup - xmlmemory.c: fixed a dump problem in debug mode - include/Makefile.am: problem passing in DESTDIR= values patch from Marc Christensen <marc@calderasystems.com> - nanohttp.c: removed debugging remains - HTMLparser.c: the bogus tag should be ignored (Wayne) - HTMLparser.c parser.c: fixing a number of problems with the macros in the *parser.c files (Wayne). - HTMLparser.c: close the previous option when opening a new one (Marc Sanfacon). - result/HTML/*: updated the HTML results accordingly Daniel
Daniel Veillard 47e12f23 2000-10-15T14:24:25 HTML attributes handling: - SAX.c: HTML attributes need normalization too (Bjorn Reese) - HTMLparser.[ch]: addded htmlIsScriptAttribute() Daniel
Daniel Veillard 7eda8452 2000-10-14T23:38:43 - HTMLparser.c HTMLtree.[ch] SAX.c testHTML.c tree.c: fixed HTML support for SCRIPT and STYLE with help from Bjorn Reese - test/HTML/* result/HTML/*: added simple testcase and updated the existing ones. Daniel
Daniel Veillard e8282edd 2000-10-10T23:01:31 More work toward 2.2.5, integrated a number of patches - configure.in Makefile.am win32config.h.in: trying to cleanup make distcheck .... huh ... - include/Makefile.am include/win32config.h: new directory for includes - win32/Makefile.mingw win32/README.MSDev win32/libxml2/libxml2.dsp updated teh makefiles and instructions for WIN32 - xpath.c: small fixes - test/XPath/ results/XPath: updated the testcases and results - HTMLparser.c nanohttp.c testXPath.c: incorporated provided or suggested patches - valid.c: fixed an ID bug Daniel
Daniel Veillard b71379b7 2000-10-09T12:30:39 - moved xml-error.h to xmlerror.h: seems this allowed to bypass the automake bug where wrong dependancies were generated. - xpath.[ch]: worked on XPointer Daniel
Daniel Veillard aaf58b96 2000-10-06T14:07:26 Various attemps at trying to bypass this automake bullshit !!! Daniel Failing too bad no release before next wed I'm seriously pissed, this bug has been around for more than one year it seems, piece of crap
Daniel Veillard 7e99c63b 2000-10-06T12:59:53 Tried to build libxml2-2.2.5 Automake is a fucking piece of ugly shit full of tricks and without any kind of sensible documentation or logic :-((((((((( Daniel, pissed !
Daniel Veillard 970112a9 2000-10-03T09:33:21 Stupid bug fix on the HTML parser: - HTMLparser.c: Doohhh, attribute name parsing was still case sensitive ! Fixed this ... - result/HTML/* : updated the tests results accordingly Daniel
Daniel Veillard 8b5dd83f 2000-10-01T20:28:44 - configure.in: releasing 2.2.4 - parser.[ch]: added xmlStrEqual() - HTMLparser.c HTMLtree.c SAX.c debugXML.c entities.c parser.c tree.c valid.c xlink.c xpath.c: converted all !xmlStrcmp to use xmlStrEqual instead - TODO: updated - added an XPath test Daniel
Daniel Veillard bc765307 2000-10-01T18:23:35 Cleanups, 1 bug fix: - HTMLparser.c: fixed htmlStartCloseIndexinitialized init - entities.h: exported xmlInitializePredefinedEntities - parser.[ch] : added xmlInitParser() - parserInternals.h : had to export htmlInitAutoClose() Daniel
Daniel Veillard 4b0755c6 2000-09-25T14:26:28 - HTMLparser.c parser.c tree.c tree.h: Avoiding a few warning when compiling with MSC Daniel
Daniel Veillard 8ddb5a7a 2000-09-23T10:28:52 Small bugfixes: - HTMLparser.c uri.c: Another patch from Wayne Davison, Small bugfixes: - HTMLparser.c uri.c: Another patch from Wayne Davison, correcting an URI bug and a fix for the control-character-induced infinite loop - nanohttp.c: preventive fix for compiling on WIN32 Daniel
Daniel Veillard b656ebe4 2000-09-22T13:51:48 Cleanup, patch from Wayne Davison: - xmlIO.h tree.h: made xmlNodeDump() and xmlNodeDumpOutput() public - parser.[ch] nanohttp.c HTMLtree.c HTMLparser.c tree.c: applied and modified slightly Wayne Davison patch adding xmlStrcasecmp and related function, fixing xmlStrncmp(), and associated cleanup - result/HTML/entities.html.sax: updating result Daniel
Daniel Veillard 4fb87ee5 2000-09-19T12:25:59 Various contributed patches: - uri.c: applied patch for URI escaping from Wayne Davison <wayned@blorf.net> - tree.c parserInternals.c HTMLparser.c: memset checks patches from Denis Barbier <barbier@imacs.polytechnique.fr> - HTMLparser.c: UTF8 characters in HTML tag-attribute values patch from Wayne Davison Daniel
Daniel Veillard a2c6da94 2000-09-16T18:15:00 For Havoc: - HTMLparser.c parser.c: set ctxt->errNo before calling the For Havoc: - HTMLparser.c parser.c: set ctxt->errNo before calling the error handlers Daniel
Daniel Veillard b1059e2f 2000-09-16T14:02:43 Finally commiting work done on the plane, major cleanup, spread some serious anti bitrot all over the place: - parserInternals.c parserInternals.h parser.c Makefile.am: created a new module parserInternals.c, moved most of the code shared by the various parsers there, as well as deprecated code from parser.c. More cleanup of parser.c - uri.c: fixed a problem when URI is NULL - valid.c: speedup when looking for an attribute declaration Daniel
Daniel Veillard 39c7d71a 2000-09-10T16:14:55 Jumbo patch, resync of W3C/Gnome CVS trees: - uri.c tree.c SAX.c parser.c entities.c debugXML.c: finished the cleanup of the computation of URI references when seeking external entities. The URI reference string and the resulting URI are both stored now. - parser.c HTMLparser.c valid.c nanoftp.c nanohttp.c xpath.c: large s(n)printf checks and cleanup from Denis Barbier <barbier@imacs.polytechnique.fr> - xmlversion.h.in tree.h: couple of SGML declarations for a possible docbook module. - result/VC/ : a couple of test output changed due to the change of the entities URI Daniel
Daniel Veillard 4948eb4f 2000-08-29T09:41:15 - HTMLparser.c testHTML.c: applied two new patches from Wayne Davison <wayned@blorf.net> - result/HTML/*.sax: regenerated HTML SAX output - parser.c: more cleanup. Daniel
Daniel Veillard e010c17d 2000-08-28T10:04:51 Mostly HTML generation and parsing enhancements: - 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.
Daniel Veillard 47f3f31f 2000-08-27T22:40:15 - HTMLparser.[ch]: applied some of Wayne Davison <wayned@blorf.net> patches Daniel
Daniel Veillard 52402ce7 2000-08-22T23:36:12 bug fixes, bugfixes, bugfixes ... - parser.c: Fixed Bug#21552: libxml fails to decode &amp; - uri.c testUri.c patches, by Marc Sanfacon (1 left) - parser.c HTMLparser.c: HTML/encoding push problems reportedi by Wayne Davison Daniel
Daniel Veillard b8f25c91 2000-08-19T19:52:36 work done on auto-opening of <p> tags and cleanup of SAX output, Daniel.
Daniel Veillard 1255ab77 2000-08-14T15:13:33 Patch from Dave Yearke <yearke@eng.buffalo.edu>: - 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
Daniel Veillard 87b95395 2000-08-12T21:12:04 Large sync between my W3C base and Gnome's one: - 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
Daniel Veillard 32bc74ef 2000-07-14T14:49:25 - doc/encoding.html doc/xml.html: added I18N doc - 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
Daniel Veillard 365e13be 2000-07-02T07:56:37 Work on character encoding support for the HTML parser Fixed some autoopen/autoclose probs for the HTML parser Fixed a potential memleak in the encoding stuff Daniel.
Daniel Veillard d83eb821 2000-06-30T18:39:56 more cleanup of the HTML parser to force it to not bypass SAX, Daniel. Ready for 2.1.1 it seems
Daniel Veillard 3f6f7f64 2000-06-30T17:58:25 - win32config.h.in: updated - xmlversion.h.in: crap forgot to update this, this mean 2.1.0 lacks iconv support :-( need to release 2.1.1 - configure.in: release 2.1.1 - HTMLparser: fixed bug #14784 - xpath.c HTMLparser.c encoding.c parser.c: fix warning raised by Windows compiler - HTMLparser.c SAX.c HTMLtree.h tree.h: create HTML document in the SAX startDocument() callback. - TODO: updated - rebuild doc Daniel
Daniel Veillard be803967 2000-06-28T23:40:59 - Large resync between W3C and Gnome tree - configure.in: 2.1.0 prerelease - example/Makefile.am example/gjobread.c tree.h: work on libxml1 libxml2 convergence. - nanoftp, nanohttp.c: fixed stalled connections probs - HTMLtree.c SAX.c : support for attribute without values in HTML for andersca - valid.c: Fixed most validation + namespace problems - HTMLparser.c: start document callback for andersca - debugXML.c xpath.c: lots of XPath fixups from Picdar Technology - parser.h, SAX.c: serious speed improvement for large CDATA blocks - encoding.[ch] xmlIO.[ch]: Improved seriously saving to different encoding - config.h.in parser.c xmllint.c: added xmlCheckVersion() and the LIBXML_TEST_VERSION macro Daniel
Daniel Veillard 361d845d 2000-04-03T19:48:13 Work done on the plane, ready to release libxml2-2.0.0, Daniel
Daniel Veillard cf46199c 2000-03-14T18:30:20 This is the 2.0.0-beta, lots and lots and lots of changes Have a look at http://xmlsoft.org/upgrade.html Daniel
Daniel Veillard d0f7f74b 2000-02-02T17:42:48 Do a bit of bufferization in text mode, Daniel
Daniel Veillard 0142b84b 2000-01-14T14:45:24 Oops, it seems I forgot to commit 1.8.4 changes - restored xmlNewGlobalNs since this seems used - fixed a problem with INCLUDE_WINSOCK - removed all calls to exit() from the library code. - removed bugs detected by Windows compilers - started adding interfaces for parsing well balanced XML fragments - releasing 1.8.4 - rebuilt the docs Daniel
Daniel Veillard 71b656e0 2000-01-05T14:46:17 - added xmlRemoveID() and xmlRemoveRef() - added check and handling when possibly removing an ID - fixed some entities problems - added xmlParseTryOrFinish() - changed the way struct aredeclared to allow gtk-doc to expose those - closed #4960 - fixes to libs detection from Albert Chin-A-Young - preparing 1.8.3 release Daniel
Daniel Veillard 5e5c6235 1999-12-29T12:49:06 - Push mode for the HTML parser (new calls) - Improved the memory debugger to provide content informations - cleanups, last known mem leak killed Daniel
Daniel Veillard dbfd641b 1999-12-28T16:35:14 - Lots of improvements, too long to list here - Push mode for the XML parser (HTML to come) - XML shell like interface for debug - improvements on XPath and validation Daniel
Daniel Veillard 3c558c37 1999-12-22T11:30:41 - fix for PIs name starting with xml - fixed a potential problem with || and && ops - generate win32config.h for those on the Other Side ! Daniel
Daniel Veillard 5cb5ab8d 1999-12-21T15:35:29 - release 1.8.2 - HTML handling improvement - new tree handling functions - release 1.8.2 - HTML handling improvement - new tree handling functions - default namespace on attribute bug fixed - libxml use for C++ fixed (for good this time !) Daniel
Daniel Veillard 4a53eca2 1999-12-12T13:03:50 - Updated HTML test outputs - Fixed taht f....g problem with C++ and includes, Daniel
Daniel Veillard af78a0e1 1999-12-12T13:03:50 Large commit of changes done while travelling to XML'99 - cleanups on memory use and parsers - start of Link interfaces HTML and XLink - rebuild the doc - released as 1.8.0 Daniel
Daniel Veillard 4c3a2030 1999-11-19T17:46:26 The HTML parser MUST not die, even if given complete garbage to eat ! Updated the xml.html doc a bit and reran the doc generation, Daniel
Daniel Veillard 51e3b154 1999-11-12T17:02:31 xmlSetProp() and xmlNewProp() fixes, mem extra alloc bug in parser fixed, Daniel
Daniel Veillard 3500838f 1999-10-25T13:15:52 BUG FIXED #2784 HTML parsing/output improvements Rebuilt, updated the docs BUG FIXED #2784 HTML parsing/output improvements Rebuilt, updated the docs Improvement of regression scripts, make testall should look clean Released as 1.7.4
Daniel Veillard 7c1206fc 1999-10-14T09:10:25 Revamped HTML parsing, lots of bug fixes for HTML stuff, 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
Daniel Veillard 7d2c276a 1999-10-11T15:09:51 Fixed probles in some HTML tag autoclose, XML output bug on mixed-content and fixed the related output for tests, Daniel.
Daniel Veillard 2673d3c8 1999-10-08T14:37:09 Fixed problems with HTML parsing, Daniel.
Daniel Veillard dd6b3676 1999-09-23T22:19:22 Fixed CHAR, errno, alpha RPM compile, updated doc, Daniel
Daniel Veillard 7f7d1119 1999-09-22T09:46:25 Ready for 1.7.0, major changes, nanohttp, cleanup, binary compat with 1.4, etc... See Changelog, Daniel.
Daniel Veillard c08a2c6f 1999-09-08T21:35:25 Bug fixes, improvement on ID/IDREF support, 1.6.2, no memleaks, Daniel
Daniel Veillard 6454aec2 1999-09-02T22:04:43 Added memory debug wrappers, killed all detected memory leaks, Daniel
Daniel Veillard 1ff7ae3d 1999-09-01T12:19:13 Fixing two stupid bugs on entities and HTML tree deallocation, Daniel.
Daniel Veillard e7a5a77d 1999-08-30T13:05:42 Patched a bug when creating HTML document structures, Daniel.
Daniel Veillard b96e6438 1999-08-29T21:02:19 Release 1.6, lot of fixes, more validation, code cleanup, added namespace on attributes, Daniel.
Daniel Veillard b05deb7f 1999-08-10T19:04:08 Huge commit: 1.5.0, XML validation, Xpath, bugfixes, examples .... Daniel
Daniel Veillard e2d034d3 1999-07-27T19:52:06 Bunch of updates, progressive parsing, updates on HTML, XPAth and docs, Daniel
Daniel Veillard 1566d3a9 1999-07-15T14:24:29 Added XPath code (http://www.w3.org/TR/xpath), updated HTML support and docs, Daniel
Daniel Veillard d79d7870 1999-07-12T10:38:12 Applied patch from John Ellson <ellson@lucent.com> closing #1646, Daniel
Daniel Veillard 7cc3c04b 1999-07-09T10:11:57 Applied a bug fix on file reading code from John Ellson <ellson@lucent.com>, Daniel.
Daniel Veillard 82150d8a 1999-07-07T07:32:15 HTML parsing, output is now correct, added HTMLtests target and testcases, Daniel
Daniel Veillard 5233ffc8 1999-07-06T22:25:25 Restore binary compat, more HTML stuff, allow stdin input, Daniel.
Daniel Veillard be70ff71 1999-07-05T16:50:46 Closing reported bugs: 617 1591 1592, adding an HTML parser, Daniel