From kde-commits Sat Oct 14 14:42:27 2006 From: Maks Orlovich Date: Sat, 14 Oct 2006 14:42:27 +0000 To: kde-commits Subject: branches/KDE/3.5/kdelibs/khtml Message-Id: <1160836947.676203.3722.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=116083697720610 SVN commit 595496 by orlovich: Improve memory management of documents: they are no longer destroyed way too early when there are out-side referenced nodes hanging around and that need them. However, since we're refcounting, the documents have to disconnect the children in that case to avoid cycles.. Should fix some crashes with some AJAXy stuff (Merged from Apple's tree) BUG:128015 CCBUG:133680 M +1 -1 ecma/kjs_traversal.cpp M +4 -4 html/html_baseimpl.cpp M +6 -6 html/html_baseimpl.h M +2 -2 html/html_blockimpl.cpp M +5 -5 html/html_blockimpl.h M +3 -3 html/html_elementimpl.cpp M +2 -2 html/html_elementimpl.h M +13 -13 html/html_formimpl.cpp M +13 -13 html/html_formimpl.h M +1 -1 html/html_headimpl.cpp M +6 -6 html/html_headimpl.h M +3 -3 html/html_imageimpl.cpp M +3 -3 html/html_imageimpl.h M +3 -3 html/html_inlineimpl.h M +6 -6 html/html_listimpl.h M +1 -1 html/html_miscimpl.cpp M +1 -1 html/html_miscimpl.h M +4 -4 html/html_objectimpl.cpp M +5 -5 html/html_objectimpl.h M +4 -4 html/html_tableimpl.cpp M +7 -7 html/html_tableimpl.h M +11 -15 html/htmlparser.cpp M +6 -6 html/htmlparser.h M +5 -5 html/htmltokenizer.cpp M +3 -3 html/htmltokenizer.h M +115 -1 misc/shared.h M +10 -10 xml/dom2_rangeimpl.cpp M +3 -3 xml/dom2_rangeimpl.h M +66 -10 xml/dom_docimpl.cpp M +19 -2 xml/dom_docimpl.h M +6 -6 xml/dom_elementimpl.cpp M +5 -5 xml/dom_elementimpl.h M +12 -16 xml/dom_nodeimpl.cpp M +6 -18 xml/dom_nodeimpl.h M +1 -1 xml/dom_textimpl.cpp M +8 -8 xml/dom_textimpl.h M +9 -9 xml/dom_xmlimpl.cpp M +9 -9 xml/dom_xmlimpl.h M +22 -26 xml/xml_tokenizer.cpp M +5 -5 xml/xml_tokenizer.h