HTMLparser.c


Log

Author Commit Date CI Message
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
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 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 4a53eca2 1999-12-12T13:03:50 - Updated HTML test outputs - Fixed taht f....g problem with C++ and includes, 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