aboutsummaryrefslogtreecommitdiffstats
path: root/xmlIO.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - xmlIO.c catalog.c: plugged in the default catalog resolutionDaniel Veillard2001-05-101-4/+21
| | | | | | | - doc/gnome-xml.sgml: linked in the Docbook parser and catalog documentations - doc/html/libxml-*.html: rebuild added the missing ones to CVS Daniel
* - xmlIO.c: Bjorn Reese provided a fix for a problem on bufferDaniel Veillard2001-05-021-2/+2
| | | | | flushing Daniel
* trio upgrade and integrationBjorn Reese2001-04-211-6/+1
|
* Cleanup and testing with the KDE help center files:Daniel Veillard2001-04-211-2/+10
| | | | | | | - valid.c: cleanup, more useful debugging - parserInternals.c: cleanup vctxt.nodeTab (de)allocation - xmlIO.c: entity loading is printed as an error when validating Daniel
* Spring cleanup ...: - configure.in Makefile.am config.h.inDaniel Veillard2001-03-271-2/+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
* - HTMLparser.c HTMLtree.c SAX.c debugXML.c error.c parserInternals.cDaniel Veillard2001-03-261-14/+2
| | | | | | | | | 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
* Huge cleanup, I switched to compile withDaniel Veillard2001-03-241-132/+61
| | | | | | | | | | | | | | | | | | | | -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
* First patch from SCO :-)Daniel Veillard2001-03-141-1/+1
| | | | | - xmlIO.c: one function comment cleanup. Daniel
* Okay time to improve performances, gprof session:Daniel Veillard2001-02-251-2/+2
| | | | | | | | | | | | | | 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/+1743
|
* moved to libxml directory - this allow simplify automake/autoconf. NowCET 2001 Tomasz Kłoczko2001-02-231-1743/+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.
* Dohhhhhh: - xmliO.c: Harry Blundell pointed out that xmlCheckFilenameDaniel Veillard2001-02-031-4/+0
| | | | | | | | Dohhhhhh: - xmliO.c: Harry Blundell pointed out that xmlCheckFilename xmlCheckFilename should not be called from xmlFileOpenW and xmlGzfileOpenW Daniel
* Incorporated patches, some cleanup:Daniel Veillard2001-01-251-4/+82
| | | | | | | | | | - xpath.[ch] xpointer.c: added xmlXPathCmpNodes, changed xmlXPtrCmpPoints to use it. - propagated the following patch from Alejandro Forero - include/win32config.h xmlIO.c: applied further suggestions from Igor Zlatkovic <igorz@dialup.nacamar.de> and cleanup - example/gjobread.c: fixed warnings, now that it builds Daniel
* off by 1 and stupidity bug fix:Daniel Veillard2001-01-181-2/+2
| | | | | | - xmlIO.c: Gary Pennington <Gary.Pennington@uk.sun.com> fix for xmlGzfileOpen() bug Daniel
* - encoding.c xmlIO.c: Fixing the problem reported by Marc SanfaconDaniel Veillard2001-01-041-54/+67
| | | | Daniel
* fixed xmlParserInputBufferCreateMem doc DanielDaniel Veillard2001-01-031-1/+1
| | | | | * xmlIO.c: fixed xmlParserInputBufferCreateMem doc Daniel
* Finally had a bit of time to resynch both trees:Daniel Veillard2000-12-271-3/+7
| | | | | | | | | | | | | | | | | | | | - 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
* Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.cDaniel Veillard2000-11-251-3/+25
| | | | | | | | | Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.c xpath.c parserInternals.h vms/build_libxml.com vms/config.vms Makefile.am: integrated a set of OpenVMS changes from Howard Taylor <Howard.Taylor@pacoast.com> Daniel
* Fixes/enhancements: - tree.[ch] xmlIO.c: added xmlDocDumpMemoryEnc() fromDaniel Veillard2000-11-251-1/+2
| | | | | | | Fixes/enhancements: - tree.[ch] xmlIO.c: added xmlDocDumpMemoryEnc() from John Kroll - error.c: applied fix suggested by "Leo Davidson" <leo@ox.compsoc.net> Daniel
* patched to redirrect all "out of context" error messages toDaniel Veillard2000-10-251-21/+39
| | | | | | | | | | | | 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
* Started working on the hash table module integration, fixed a bug:Daniel Veillard2000-10-221-2/+13
| | | | | | | | - 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
* Another patch from Wayne Davison:Daniel Veillard2000-10-121-3/+3
| | | | | - nanoftp.c nanohttp.c xmlIO.c: Win32 patch nanoftp code work now Daniel
* Bugfix - parser.c xmlIO.c xmlIO.h: fixed bug 26650, and improved theDaniel Veillard2000-10-041-0/+8
| | | | | | | Bugfix - parser.c xmlIO.c xmlIO.h: fixed bug 26650, and improved the global init function. Daniel
* Jumbo patch, resync of W3C/Gnome CVS trees:Daniel Veillard2000-09-101-6/+1
| | | | | | | | | | | | | | | - 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
* - parser.c xmlIO.[ch]: fixed the problem of encoding supportDaniel Veillard2000-07-211-0/+34
| | | | | | | when using in memory parsing. Need some cleanup. - xmllint.c configure.in: added a --memory flag to test memory parsing Daniel
* - doc/encoding.html doc/xml.html: added I18N docDaniel Veillard2000-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | - 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-11/+616
| | | | | | | | | | | | | | | | | | | - 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
* revamped the encoding support, added iconv support, so now libxml ifDaniel Veillard2000-05-031-48/+37
| | | | | | | | | | | | | | | | | | | | | | * encoding.[ch], xmlIO.[ch], parser.c, configure.in : revamped the encoding support, added iconv support, so now libxml if compiled with iconv automatically support japanese encodings among others. Work based on initial patch from Yuan-Chen Cheng I may have broken binary compat in the encoding handler registration scheme, but that was so utterly broken I don't expect anybody to have used this feature until now. * parserInternals.h: fixup on the CHAR range macro * xml-error.h, parser.c: catch URL/URI errors using the uri.c code. * tree.[ch]: added xmlBufferGrow(), was needed for iconv * uri.c: added xmlParseURI() I can't believe I forgot to implement this one in 2.0 !!! * SAX.c: moved doc->encoding update in the endDocument() call. * TODO: updated. Iconv rules :-) Daniel
* - speedup of IS_CHAR like macros, significant overall improvementDaniel Veillard2000-04-121-0/+29
| | | | | | | - More interfaces for new I/O functions: xmlNewIOInputStream, xmlParserInputBufferCreateIO, xmlCreateIOParserCtxt - added I/O test to xmllint Daniel
* libxml2 prerelease ?Daniel Veillard2000-04-071-135/+479
| | | | | | | | - xmlIO cleanup, xmlRegisterInputCallbacks() for new input method - fixed xmlPrevSibling and xmlNextSibling - TODO: updated - doc/* : updated/regenerated Daniel
* Work done on the plane, ready to release libxml2-2.0.0, DanielDaniel Veillard2000-04-031-10/+26
|
* This is the 2.0.0-beta, lots and lots and lots of changesDaniel Veillard2000-03-141-10/+33
| | | | | | Have a look at http://xmlsoft.org/upgrade.html Daniel
* - added a nano FTP moduleDaniel Veillard2000-01-251-10/+27
| | | | | - removed SNAP from RPM - updated the status in doc
* - added xmlRemovePropDaniel Veillard2000-01-031-8/+20
| | | | | | | | | | | | | - changed the way Windows socket stuff get included - removed an indetermination xmLDecl/PI(xml...) - xmlNewNs wasn't checking for double definition - fixed a problem with dist-hook duplicates - fixed the loading of external entities APIs, now xmlLoadExternalEntity() is used everywhere - now the xhtml spec validates with the xhtml DTD. - error.c: fixed crashes in case of no input stream - added the xhtml spec and dtds to the validation tests and results Daniel
* - Lots of improvements, too long to list hereDaniel Veillard1999-12-281-12/+22
| | | | | | | - 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-2/+1
| | | | | | - fixed a potential problem with || and && ops - generate win32config.h for those on the Other Side ! Daniel
* Added cleanup routines, cleanup with -pedantic on linux, closed #3788, DanielDaniel Veillard1999-11-241-1/+1
|
* Attribute nomarlization closing bug #3597Daniel Veillard1999-11-171-0/+50
| | | | | | Small fixes in encoding.c First bits of real progressive parsing, Daniel
* Fixed CHAR, errno, alpha RPM compile, updated doc, DanielDaniel Veillard1999-09-231-5/+5
|
* Ready for 1.7.0, major changes, nanohttp, cleanup, binary compat with 1.4,Daniel Veillard1999-09-221-4/+37
| | | | etc... See Changelog, Daniel.
* Added memory debug wrappers, killed all detected memory leaks, DanielDaniel Veillard1999-09-021-13/+13
|
* Release 1.6, lot of fixes, more validation, code cleanup, added namespaceDaniel Veillard1999-08-291-7/+77
| | | | on attributes, Daniel.
* Huge commit: 1.5.0, XML validation, Xpath, bugfixes, examples .... DanielDaniel Veillard1999-08-101-0/+45
|
* Bunch of updates, progressive parsing, updates on HTML, XPAth and docs, DanielDaniel Veillard1999-07-271-0/+321