tree.c


Log

Author Commit Date CI Message
Daniel Veillard bf43275d 2000-11-12T15:56:56 Bug fixes new Xinclude tests: - nanoftp.c: fixed gcc 2.95 new warnings - SAX.c: fixed a stupid bug - tree.c: fixed a formatting problem when round-tripping from/to memory - xinclude.c: chased memleak, fixed a base problem - xpointer.c: added xmlXPtrBuildRangeNodeList(), finished ? xmlXPtrBuildNodeList() - TODO: updated - Makefile.am test/XInclude/docs test/XInclude/ents result/XInclude: adding a first small set of regression tests for XInclude 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 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 be9ec4b6 2000-10-25T11:01:53 Applying provided patches :-) - nanohttp.c : applied Wayne HTTP cleanup patch - tree.[ch]: applied TOM <ptittom@free.fr> for xmlNodeSetBase() and xmlNodeSetSpacePreserve() 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 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 cd429612 2000-10-11T15:57:05 - tree.c valid.c xmllint.c: Fixed a few postvalidation bugs and added a --dtdvalid option to xmllint used to test it 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 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 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 04698d9e 2000-09-17T16:00:22 New set of cleanups, released 2.2.3: - SAX.c debugXML.c parser.c parserInternals.c tree.c valid.c xpath.c: removed a few warnings in pedantic mode ... - parserInternals.c parser.c: moved encoding switching function to parserInternals.c - configure.in, doc/Makefile.am libxml.spec.in: released 2.2.3 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 e0854c3f 2000-08-27T21:12:29 Bunch of new parser cleanup work: - SAX.c tree.c debugXML.c: fixed bogus behaviour when an undeclared namespace prefix was used, added a warning. Cleaned up support w.r.t. entities, spilling out a warning and being pedantic on lookups. - test/warning/ent9 : added testcase for previous example. - TODO: updated - parserInternals.h parser.c: changed the way names are parsed now allow infinite size and decrease penalty for normal use - parser.c: Started a big cleanup/check of the parser code, fixed some of the most tortuous entity code, spotted code unused anymore - test/*: added tests for very long names and related nasty things. 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 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 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 496a1cf5 2000-05-03T14:20:55 revamped the encoding support, added iconv support, so now libxml if * 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
Daniel Veillard 06047432 2000-04-24T11:33:38 removed extraneous xmlRemoveProp definition added item about * tree.h: removed extraneous xmlRemoveProp definition * TODO: added item about --disable-corba configure switch * tree.c parser.c: fixed problems for xmlCopyDoc and postvalidation * nanoftp.c: fixed include problems giving troubles on AIX and slowlaris * xmlIO.[ch] valid.h tree.[ch] xlink.c xmlmemory.c uri.c parser.c nanoftp.c nanohttp.c SAX.c testSAX.c : comment and headers changes to lower gtk-doc number of warnings * doc/html/*: rebuilt docs Daniel
Daniel Veillard 5d211f4c 2000-04-07T17:00:24 libxml2 prerelease ? - xmlIO cleanup, xmlRegisterInputCallbacks() for new input method - fixed xmlPrevSibling and xmlNextSibling - TODO: updated - doc/* : updated/regenerated 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 3e6d237f 2000-03-04T11:39:43 Blanks handling function, added 2.x upgrade doc, Daniel
Daniel Veillard e41f2b74 2000-01-30T20:00:07 Released 1.8.6, Daniel.
Daniel Veillard f967b904 2000-01-17T16:06:10 Fixed a hideous bu in xmlGetProp, reported by Rune.Djurhuus@fast.no, Daniel.
Daniel Veillard ad8f99df 2000-01-15T14:20:03 Updated TODO conditionnal compile of messages from the parser/tree.c code, Updated TODO conditionnal compile of messages from the parser/tree.c code, 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 2eac5039 2000-01-09T21:08:56 Added a Fragment function for Raph (DOM) 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 686d6b6a 2000-01-03T11:08:02 - added xmlRemoveProp - 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
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 37846c63 1999-12-16T17:52:19 - Updated HTML test outputs - Fixed taht f....g problem with C++ and includes, Daniel
Daniel Veillard 62ba71e7 1999-12-16T17:52:19 - fixed a nasty bug destroying default namespace and Dia :-( introduced in 1.8.0 - closed bug #3950 Daniel
Daniel Veillard 944b5ff4 1999-12-15T19:08:24 A posteriori validation should now work, Added --postvalid to tester program Added xmlDocGetRootElement() to the API, Daniel
Daniel Veillard 10a2c653 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 f5c2c870 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 a819dace 1999-11-24T18:04:22 Added cleanup routines, cleanup with -pedantic on linux, closed #3788, Daniel
Daniel Veillard 11a48ec6 1999-11-23T10:40:46 Closing bug report #3748, changed global compression flag usage, and added xmlNewTextChild() and xmlNewDocRawNode(), 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 00fdf370 1999-10-08T09:40:39 Improvement of doc, Raph patch for CORBA init, support for spaces in XPath, 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 c08a2c6f 1999-09-08T21:35:25 Bug fixes, improvement on ID/IDREF support, 1.6.2, no memleaks, Daniel
Daniel Veillard 6454aec2 1999-09-02T22:04:43 Added memory debug wrappers, killed all detected memory leaks, 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 e2d034d3 1999-07-27T19:52:06 Bunch of updates, progressive parsing, updates on HTML, XPAth and docs, Daniel
Daniel Veillard 15b75af8 1999-07-26T16:42:37 Just adds 'const' to a couple of important parameters, patch from Michael Meeks <michael@oasis.edenproject.org>, Daniel.
Daniel Veillard 5233ffc8 1999-07-06T22:25:25 Restore binary compat, more HTML stuff, allow stdin input, 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 27d88744 1999-05-29T11:51:49 CORBA defines fixes, char encoding atodetection, Daniel
Manish Vachharajani 5e60f5a2 1999-05-29T03:04:30 Prevent gnome-xml from writing two copies of the xml tree to the dest file in xmlSaveFile, and free the allocated buffer there
Daniel Veillard 5099ae89 1999-04-21T20:12:07 Removal of threading problems, update documentation, added SAX tests, Daniel
Daniel Veillard 517752b9 1999-04-05T12:20:10 Completed/revamped the SAX support, removed old namespace suppport, Daniel
Daniel Veillard 1e346af5 1999-02-22T10:33:01 Serious upgrade of internal subset support, setup for gtk-doc, Daniel
Daniel Veillard 68178935 1999-02-08T18:34:36 Oops, Daniel.
Daniel Veillard 6800ef35 1999-02-08T18:33:22 fixed xmlGetProp to return "" when the attribute is NULL, Daniel.
Daniel Veillard 726c7e3c 1999-02-08T15:13:10 Fixed the output of empty attributes, Daniel.
Daniel Veillard 3b9def15 1999-01-31T22:15:06 More work toward DTD parsing, informations on the mailing-list and Web, Daniel.
Daniel Veillard 39a1f9a3 1999-01-17T19:11:59 Speed, conformance testing, more parsing, general improvements, Daniel.
Daniel Veillard 7c92c0aa 1998-12-06T18:08:28 Changed the behaviour of xmlGetProp on NULL values, Daniel.
Daniel Veillard 44b3a061 1998-12-05T17:27:22 Patched a bug in the generation of empty attributes, Daniel.
Daniel Veillard be36afe1 1998-11-27T06:39:50 Added copy operations for node/tree/documents, Daniel.
Daniel Veillard 242590ee 1998-11-13T18:04:35 simple bug hunting done during rpm2html and rpmfind integration.
Daniel Veillard 25940b7c 1998-10-29T05:51:30 Cleanup, bug fixing, entities improvement, more documentation, Daniel.
Daniel Veillard 1625364f 1998-10-28T22:58:05 Cleanup of the API, more work done on the tree generation, Daniel.
Daniel Veillard 10c6a8fd 1998-10-28T01:00:12 A small patch and more doc, Daniel.
Daniel Veillard baf4cd58 1998-10-27T22:56:57 Added debugging code, a bit of parser cleanup, 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.
Daniel Veillard 97b58777 1998-10-20T06:14:16 Set up the fonctions comment block, boring but useful, Daniel.
Daniel Veillard 33942846 1998-10-18T19:12:41 Make sure that new object carry the proper type value, Daniel.
Daniel Veillard 27fb0757 1998-10-17T06:47:46 Corbaization of the document structures, Daniel.
Daniel Veillard 0bef131b 1998-10-14T02:36:47 Added prev and doc pointers to Node, confomity with DOM, Daniel
Daniel Veillard 27864706 1998-10-08T03:47:24 Added hooks for servants, Daniel.
Seth Alves e7f12e65 1998-10-01T20:51:15 replaced malloc.h with stdlib.h to quiet compiler
Daniel Veillard dc3dd9d0 1998-09-24T19:25:54 Corrected an error, Daniel.
Daniel Veillard 15a8df4b 1998-09-24T19:15:06 Added a per-document compression interface, Daniel.
Daniel Veillard 151b1b0c 1998-09-23T00:49:46 Added compression on saving, Daniel.
Daniel Veillard 260a68fd 1998-08-13T03:39:55 Release 0.2, 80% rewrite, nothing left intact ... Daniel