HTMLtree.c


Log

Author Commit Date CI Message
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 760f4426 2001-02-15T14:59:48 Couple of fixes, getting ready for 2.3.1: - configure.in: applied patch from Daniel van Balen for OpenBSD and bumped version to 2.3.1 - HTMLtree.c result/HTML/doc3.htm result/HTML/wired.html: the attempt to find autoclosing was simply broken, removed it, updated the examples, this is better Daniel
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 5eef6225 2001-02-07T18:24:48 - valid.c: couple of bug fixes pointed by Gary Pennington - HTMLtree.c: #if 0 cleanup Daniel
Daniel Veillard 0f2a53cc 2001-02-05T17:57:33 Bug fixes and an extension found and required by XSLT: - xpath.c: bug fixes found from XSLT - tree.c: preserve node->name special values when copying nodes. - parserInternals.[ch] parser.[ch] SAX.c : added a mode where external subset are fetched when available but without full validation. Added xmlLoadExtDtdDefaultValue, need a function. - HTMLtree.c: add support for xmlStringTextNoenc for XSLt HTML output with encoding disabled. Daniel
Daniel Veillard e456646d 2001-01-22T09:58:39 More work, bugfixes for problems detected by XSLT, and addition of a new specific type for XSLT: - xpathInternals.h xpath.[ch] debugXML.c: added the XPATH_XSLT_TREE type correponding to an XSLT result tree fragment. Share most of the data format with node set, as well as operators. - HTMLtree.c: added a newline at the end of the doctype output whe this one is not present initially. - tree.c: make sure taht the parent and doc pointers are properly set when copying attributes (lists). Daniel
Daniel Veillard 8a7efd04 2001-01-21T10:21:51 grrr there was still a static decl left, Daniel
Daniel Veillard 701c736b 2001-01-21T09:48:59 Just mad a function public: - htmlTree.[ch] xmlIO.h: exported htmlDocContentDumpOutput Daniel
Daniel Veillard 9e8bfae5 2000-11-06T16:43:11 XInclude and other stuff while travelling. Contributed patches: - tree.[ch] xinclude.[ch] xmllint.c configure.in valid.c debugXML.c xmlversion.h.in: Started adding XInclude support, this is a new xmllint option - tree.c xpath.c: applied TOM patches for XPath - xpointer.c: fixed a couple of errors. - uri.c: added an escaping function needed for xinclude - testXPath.c hash.c HTMLtree.c: minor cleanups raised by new warning from RH70 gcc's version 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 683cb026 2000-10-22T12:04:13 Patches added during last week on W3C CVS base: - tree.c: coalesce adjacent text nodes - valid.c: handling of blank nodes in DTd validation (raised by problems with a posteriori validation). - nanohttp.c: changing behaviour on HTTP write stuff. - HTMLtree.c: forced body and html to be explicitely closed. - xpath.h: exported more XPath functions. 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 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 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 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 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 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 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 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 5feb8495 2000-02-02T17:15:36 - Removing warnings on various paltforms - closing bug #5281 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
Chris Lahey 6dff214e 1999-12-01T09:51:45 Made it so that html nodes with a single child do not insert a carriage * HTMLtree.c: Made it so that html nodes with a single child do not insert a carriage return before or after the child node.
Daniel Veillard d293fd1d 1999-12-01T09:51:45 - added the patch from Carl Nygard <cnygard@bellatlantic.net> 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
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 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 6454aec2 1999-09-02T22:04:43 Added memory debug wrappers, killed all detected memory leaks, 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 82150d8a 1999-07-07T07:32:15 HTML parsing, output is now correct, added HTMLtests target and testcases, Daniel
Daniel Veillard 167b5092 1999-07-07T04:19:20 forgot to commit HTMLtree yesterday, Daniel.