entities.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 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 52afe800 2000-10-22T16:56:02 Started working on the hash table module integration, fixed a bug: - entities.[ch] xpath.[ch] hash.[ch] debugXML.c tree.h: added/hacked hash tables from Bjorn Reese <breese@mail1.stofanet.dk>. Switched XPath functions and XML entities table to them. More to come... - xmlIO.c: fixed libxml closing FILEs it didn't open. 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 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 4b5b80cf 2000-09-08T18:54:41 Fixed cases where doc is NULL when looking up entities, daniel
Daniel Veillard f0cc7ccc 2000-08-26T21:40:43 libxml now grok Docbook-3.1.5 and Docbook-4.1.1 DTDs, this popped out a couple of bugs and 3 speed issues, there is only on minor speed issue left. Assorted collection of user reported bugs and fixes: - doc/encoding.html: added encoding aliases doc - doc/xml.html: updates - encoding.[ch]: added EncodingAliases functions - entities.[ch] valid.[ch] debugXML.c: removed two serious bottleneck affecting large DTDs like Docbook - parser.[ch] xmllint.c: added a pedantic option, will be useful - SAX.c: redefinition of entities is reported in pedantic mode - testHTML.c: uninitialized warning from gcc - uri.c: fixed a couple of bugs - TODO: added issue raised by Michael Daniel
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 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 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 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 a0555cc9 1999-12-01T09:51:45 - Updated HTML test outputs - Fixed taht f....g problem with C++ and includes, Daniel
Daniel Veillard a594bf46 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 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 1ff7ae3d 1999-09-01T12:19:13 Fixing two stupid bugs on entities and HTML tree deallocation, 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 be70ff71 1999-07-05T16:50:46 Closing reported bugs: 617 1591 1592, adding an HTML parser, Daniel
Daniel Veillard 14fff064 1999-06-22T21:49:07 Big changes, seems that 1.2.0 wasn't commited, here is 1.3.0, Daniel
Daniel Veillard 011b63cb 1999-06-02T17:44:04 Release of libxml-1.1, Daniel.
Daniel Veillard 5099ae89 1999-04-21T20:12:07 Removal of threading problems, update documentation, added SAX tests, Daniel
Daniel Veillard 1e346af5 1999-02-22T10:33:01 Serious upgrade of internal subset support, setup for gtk-doc, Daniel
Daniel Veillard 39a1f9a3 1999-01-17T19:11:59 Speed, conformance testing, more parsing, general improvements, Daniel.
Daniel Veillard be36afe1 1998-11-27T06:39:50 Added copy operations for node/tree/documents, Daniel.
Daniel Veillard 8cc0d1f8 1998-11-16T01:04:26 Better entities and char ref encoding, error msg formatting, Daniel.
Daniel Veillard 242590ee 1998-11-13T18:04:35 simple bug hunting done during rpm2html and rpmfind integration.
Daniel Veillard da4d3c42 1998-11-04T20:07:05 Update of libtool files, use of HAVE_SNPRINTF, Daniel.
Miguel de Icaza 442321ce 1998-11-04T18:13:38 Use g_snprintf insteda of snprintf. 1998-11-04 Miguel de Icaza <miguel@nuclecu.unam.mx> * entities.c: Use g_snprintf insteda of snprintf.
Daniel Veillard 0ba4d537 1998-11-01T19:34:31 CharRef handling, comments, formatting, pre UTF-8 handling, Daniel.
Daniel Veillard 25940b7c 1998-10-29T05:51:30 Cleanup, bug fixing, entities improvement, more documentation, Daniel.
Daniel Veillard ccb09637 1998-10-27T06:21:04 Changed the internals a lot for DOM, entity support, slight changes of API, more (if not all) formating of function comments, started documentation, Daniel.
Seth Alves e7f12e65 1998-10-01T20:51:15 replaced malloc.h with stdlib.h to quiet compiler
Daniel Veillard 260a68fd 1998-08-13T03:39:55 Release 0.2, 80% rewrite, nothing left intact ... Daniel