aboutsummaryrefslogtreecommitdiffstats
path: root/entities.c
Commit message (Collapse)AuthorAgeFilesLines
* Staring to receive bug reports on 2.3.7:Daniel Veillard2001-04-241-3/+5
| | | | | | | - entities.c: xmlEncodeEntitiesReentrant fixed a few accesses to doc where it wasn't checked against NULL reported by Jens Laas Daniel
* trio upgrade and integrationBjorn Reese2001-04-211-6/+1
|
* Spring cleanup ...: - configure.in Makefile.am config.h.inDaniel Veillard2001-03-271-25/+0
| | | | | | | | | | | | | | | | | | | Spring cleanup ...: - configure.in Makefile.am config.h.in xmlversion.h.in: detect if we need string functions - trio.[ch] strio.[ch]: embedded the Trio-0.23 string functions to be able to use them where needed. Applied some changes to reduce name linking pollution and compile in only what's needed. - HTMLtree.c debugXML.c entities.c error.c nanoftp.c valid.c xlink.c xmlversion.h.in xpath.c: got rid of the #ifdef for the string manipulation functions - xmlmemory.[ch]: removed DEBUG_MEMORY_FREED and added it automatically to the free() function of xmlmemory.c - entities.c HTMLtree.c parserInternals.c tree.c uri.c valid.c xinclude.c xmlIO.c xpath.c xpointer.c: removed the MEM_CLEANUP usage. Daniel
* Huge cleanup, I switched to compile withDaniel Veillard2001-03-241-41/+24
| | | | | | | | | | | | | | | | | | | | -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
* Okay time to improve performances, gprof session:Daniel Veillard2001-02-251-1/+1
| | | | | | | | | | | | | | 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
* Revert directory structure changesOwen Taylor2001-02-231-0/+1034
|
* moved to libxml directory - this allow simplify automake/autoconf. NowCET 2001 Tomasz Kłoczko2001-02-231-1034/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* patched to redirrect all "out of context" error messages toDaniel Veillard2000-10-251-13/+20
| | | | | | | | | | | | 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
* Bunch of fixes, finishing moving datastructures to the hash stuff:Daniel Veillard2000-10-241-0/+1
| | | | | | | | | | | | | | | | | | | - 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
* Started working on the hash table module integration, fixed a bug:Daniel Veillard2000-10-221-417/+51
| | | | | | | | - 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
* - configure.in: releasing 2.2.4Daniel Veillard2000-10-011-10/+10
| | | | | | | | | | - 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
* Jumbo patch, resync of W3C/Gnome CVS trees:Daniel Veillard2000-09-101-15/+25
| | | | | | | | | | | | | | | - 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
* Fixed cases where doc is NULL when looking up entities, danielDaniel Veillard2000-09-081-11/+17
|
* libxml now grok Docbook-3.1.5 and Docbook-4.1.1 DTDs, thisDaniel Veillard2000-08-261-76/+228
| | | | | | | | | | | | | | | | | 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
* - doc/encoding.html doc/xml.html: added I18N docDaniel Veillard2000-07-141-20/+6
| | | | | | | | | | | | | | | | | | | | - 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
* - Large resync between W3C and Gnome treeDaniel Veillard2000-06-281-0/+80
| | | | | | | | | | | | | | | | | | | - 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
* Work done on the plane, ready to release libxml2-2.0.0, DanielDaniel Veillard2000-04-031-3/+3
|
* This is the 2.0.0-beta, lots and lots and lots of changesDaniel Veillard2000-03-141-167/+461
| | | | | | Have a look at http://xmlsoft.org/upgrade.html Daniel
* Oops, it seems I forgot to commit 1.8.4 changesDaniel Veillard2000-01-141-6/+8
| | | | | | | | | | | - 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
* - Lots of improvements, too long to list hereDaniel Veillard1999-12-281-3/+6
| | | | | | | - Push mode for the XML parser (HTML to come) - XML shell like interface for debug - improvements on XPath and validation Daniel
* - fix for PIs name starting with xmlDaniel Veillard1999-12-221-1/+3
| | | | | | - fixed a potential problem with || and && ops - generate win32config.h for those on the Other Side ! Daniel
* - Updated HTML test outputsDaniel Veillard1999-12-011-0/+1
| | | | | - Fixed taht f....g problem with C++ and includes, Daniel
* - added the patch from Carl Nygard <cnygard@bellatlantic.net>Daniel Veillard1999-12-011-0/+12
| | | | | | | | | 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
* Revamped HTML parsing, lots of bug fixes for HTML stuff,Daniel Veillard1999-10-141-2/+10
| | | | | | | 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
* Fixed CHAR, errno, alpha RPM compile, updated doc, DanielDaniel Veillard1999-09-231-32/+32
|
* Ready for 1.7.0, major changes, nanohttp, cleanup, binary compat with 1.4,Daniel Veillard1999-09-221-1/+7
| | | | etc... See Changelog, Daniel.
* Added memory debug wrappers, killed all detected memory leaks, DanielDaniel Veillard1999-09-021-20/+21
|
* Fixing two stupid bugs on entities and HTML tree deallocation, Daniel.Daniel Veillard1999-09-011-0/+18
|
* Release 1.6, lot of fixes, more validation, code cleanup, added namespaceDaniel Veillard1999-08-291-9/+6
| | | | on attributes, Daniel.
* Huge commit: 1.5.0, XML validation, Xpath, bugfixes, examples .... DanielDaniel Veillard1999-08-101-13/+69
|
* Closing reported bugs: 617 1591 1592, adding an HTML parser, DanielDaniel Veillard1999-07-051-4/+4
|
* Big changes, seems that 1.2.0 wasn't commited, here is 1.3.0, DanielDaniel Veillard1999-06-221-15/+153
|
* Release of libxml-1.1, Daniel.Daniel Veillard1999-06-021-56/+63
|
* Removal of threading problems, update documentation, added SAX tests, DanielDaniel Veillard1999-04-211-49/+47
|
* Serious upgrade of internal subset support, setup for gtk-doc, DanielDaniel Veillard1999-02-221-6/+6
|
* Speed, conformance testing, more parsing, general improvements, Daniel.Daniel Veillard1999-01-171-12/+23
|
* Added copy operations for node/tree/documents, Daniel.Daniel Veillard1998-11-271-37/+150
|
* Better entities and char ref encoding, error msg formatting, Daniel.Daniel Veillard1998-11-161-3/+33
|
* simple bug hunting done during rpm2html and rpmfind integration.Daniel Veillard1998-11-131-0/+1
|
* Update of libtool files, use of HAVE_SNPRINTF, Daniel.Daniel Veillard1998-11-041-1/+5
|
* Use g_snprintf insteda of snprintf.Miguel de Icaza1998-11-041-1/+1
| | | | | | 1998-11-04 Miguel de Icaza <miguel@nuclecu.unam.mx> * entities.c: Use g_snprintf insteda of snprintf.
* CharRef handling, comments, formatting, pre UTF-8 handling, Daniel.Daniel Veillard1998-11-011-4/+11
|
* Cleanup, bug fixing, entities improvement, more documentation, Daniel.Daniel Veillard1998-10-291-1/+1
|
* Changed the internals a lot for DOM, entity support, slight changes of API,Daniel Veillard1998-10-271-0/+23
| | | | more (if not all) formating of function comments, started documentation, Daniel.
* replaced malloc.h with stdlib.h to quiet compilerSeth Alves1998-10-011-1/+1
|
* Release 0.2, 80% rewrite, nothing left intact ... DanielDaniel Veillard1998-08-131-0/+426