Reviewed by Adele, except for the first change listed.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Mar 2006 09:03:23 +0000 (09:03 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Mar 2006 09:03:23 +0000 (09:03 +0000)
commitaac5c306df3661ca47e9b68a84cef257842cf552
tree5dfd5e9cc05b8d559d2e6eeef868135f52a11e61
parentb941210a30550e16e5495f187c0e2198167a0325
    Reviewed by Adele, except for the first change listed.

        - fix recently-introduced bug that GuardMalloc found while I was debugging my other change

        * rendering/render_frames.cpp: (WebCore::RenderPart::~RenderPart):
        Set m_widget to 0 before calling deref so we don't end up trying to do unwanted work.

        - removed 10 more files from KWQ

        * ForwardingHeaders/klocale.h: Removed.

        * khtml/misc/helper.cpp: Removed.
        * khtml/misc/helper.h: Removed.

        * kwq/KWQCollection.h: Removed.
        * kwq/KWQKCookieJar.h: Removed.
        * kwq/KWQKCookieJar.mm: Removed.
        * kwq/KWQKLocale.h: Removed.
        * kwq/KWQKLocale.mm: Removed.
        * kwq/KWQKURL.h: Removed.
        * kwq/KWQKURL.mm: Removed.
        * kwq/KWQTextUtilities.h: Removed.
        * kwq/KWQTextUtilities.mm: Removed.
        * kwq/KWQView.h: Removed.

        * platform/CookieJar.h: Added.
        * platform/Language.h: Added.
        * platform/LocalizedStrings.h: Added.
        * platform/TextBoundaries.h: Added.
        * platform/mac/CookieJar.mm: Added.
        * platform/mac/Language.mm: Added.
        * platform/mac/LocalizedStringsMac.mm: Added.
        * platform/mac/TextBoundaries.mm: Added.
        * platform/mac/WebCoreWidgetHolder.h: Added.

        * WebCore.xcodeproj/project.pbxproj: Updated for removed and added files.
        * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for removed and added files.

        * bridge/mac/WebCoreFrameBridge.mm: Updated includes.
        (-[WebCoreFrameBridge elementForView:]): Changed KWQWidgetHolder to WebCoreWidgetHolder.

        * editing/visible_units.cpp:
        (WebCore::previousWordPositionBoundary):
        (WebCore::nextWordPositionBoundary):
        (WebCore::previousSentencePositionBoundary):
        (WebCore::nextSentencePositionBoundary):
        Call TextBoundaries.h functions instead of helper.h ones.

        * khtml/ecma/kjs_navigator.cpp: (KJS::Navigator::getValueProperty):
        * ksvg2/svg/SVGTestsImpl.cpp: (WebCore::SVGTestsImpl::isValid):
        Changed to call defaultLanguage; cleaned up formatting.

        * khtml/html/HTMLFormElementImpl.cpp: Removed stray comment.

        * khtml/html/html_documentimpl.cpp:
        (WebCore::HTMLDocumentImpl::cookie):
        (WebCore::HTMLDocumentImpl::setCookie):
        Call CookieJar.h functions.

        * css/css_valueimpl.cpp:
        * css/cssparser.cpp:
        * css/cssstyleselector.cpp:
        * dom/DocumentImpl.cpp:
        * dom/dom_position.cpp:
        * khtml/ecma/kjs_window.cpp:
        * khtml/html/HTMLInputElementImpl.cpp:
        * khtml/html/html_headimpl.cpp:
        * khtml/html/htmlparser.cpp:
        * khtml/misc/decoder.cpp:
        * ksvg2/svg/SVGDocumentImpl.cpp:
        * kwq/KWQComboBox.mm:
        * kwq/KWQKSSLKeyGen.mm:
        * kwq/KWQListBox.mm:
        * kwq/KWQListImpl.cpp:
        * kwq/KWQListImpl.h:
        * kwq/KWQScrollBar.mm:
        * kwq/KWQSlider.mm:
        * kwq/KWQTextField.mm:
        * kwq/KWQValueList.h:
        * loader/DocLoader.cpp:
        * page/Frame.cpp:
        * page/FrameView.cpp:
        * platform/mac/WidgetMac.mm:
        (WebCore::Widget::beforeMouseDown):
        (WebCore::Widget::afterMouseDown):
        * rendering/render_applet.cpp:
        * rendering/render_form.cpp:
        * rendering/render_image.cpp:
        * rendering/render_list.cpp:
        Updated includes and protocol names.

        * khtml/html/htmltokenizer.cpp: (WebCore::HTMLTokenizer::write): Remove
        QT_VERSION code.
        * platform/QString.h: Remove QT_VERSION.

        * kwq/KWQPtrList.h: Change to no longer use QPtrCollection.

        * kwq/KWQRenderTreeDebug.h:
        * kwq/KWQRenderTreeDebug.cpp: (externalRepresentation):
        Remove unused debuggingRenderTree boolean.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
57 files changed:
WebCore/ChangeLog
WebCore/ForwardingHeaders/klocale.h [deleted file]
WebCore/WebCore.vcproj/WebCore/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bridge/mac/WebCoreFrameBridge.mm
WebCore/css/css_valueimpl.cpp
WebCore/css/cssparser.cpp
WebCore/css/cssstyleselector.cpp
WebCore/dom/DocumentImpl.cpp
WebCore/dom/dom_position.cpp
WebCore/editing/visible_units.cpp
WebCore/khtml/ecma/kjs_navigator.cpp
WebCore/khtml/ecma/kjs_window.cpp
WebCore/khtml/html/HTMLFormElementImpl.cpp
WebCore/khtml/html/HTMLInputElementImpl.cpp
WebCore/khtml/html/html_documentimpl.cpp
WebCore/khtml/html/html_headimpl.cpp
WebCore/khtml/html/htmlparser.cpp
WebCore/khtml/html/htmltokenizer.cpp
WebCore/khtml/misc/decoder.cpp
WebCore/khtml/misc/helper.cpp [deleted file]
WebCore/khtml/misc/helper.h [deleted file]
WebCore/ksvg2/svg/SVGDocumentImpl.cpp
WebCore/ksvg2/svg/SVGTestsImpl.cpp
WebCore/kwq/KWQComboBox.mm
WebCore/kwq/KWQKSSLKeyGen.mm
WebCore/kwq/KWQKURL.h [deleted file]
WebCore/kwq/KWQKURL.mm [deleted file]
WebCore/kwq/KWQListBox.mm
WebCore/kwq/KWQListImpl.cpp
WebCore/kwq/KWQListImpl.h
WebCore/kwq/KWQPtrList.h
WebCore/kwq/KWQRenderTreeDebug.cpp
WebCore/kwq/KWQRenderTreeDebug.h
WebCore/kwq/KWQScrollBar.mm
WebCore/kwq/KWQSlider.mm
WebCore/kwq/KWQTextField.mm
WebCore/kwq/KWQValueList.h
WebCore/loader/DocLoader.cpp
WebCore/page/Frame.cpp
WebCore/page/FrameView.cpp
WebCore/platform/CookieJar.h [new file with mode: 0644]
WebCore/platform/Language.h [moved from WebCore/kwq/KWQKCookieJar.h with 81% similarity]
WebCore/platform/LocalizedStrings.h [moved from WebCore/kwq/KWQKLocale.h with 80% similarity]
WebCore/platform/QString.h
WebCore/platform/TextBoundaries.h [moved from WebCore/kwq/KWQCollection.h with 69% similarity]
WebCore/platform/mac/CookieJar.mm [moved from WebCore/kwq/KWQKCookieJar.mm with 71% similarity]
WebCore/platform/mac/Language.mm [moved from WebCore/kwq/KWQTextUtilities.h with 71% similarity]
WebCore/platform/mac/LocalizedStringsMac.mm [moved from WebCore/kwq/KWQKLocale.mm with 62% similarity]
WebCore/platform/mac/TextBoundaries.mm [moved from WebCore/kwq/KWQTextUtilities.mm with 62% similarity]
WebCore/platform/mac/WebCoreWidgetHolder.h [moved from WebCore/kwq/KWQView.h with 89% similarity]
WebCore/platform/mac/WidgetMac.mm
WebCore/rendering/render_applet.cpp
WebCore/rendering/render_form.cpp
WebCore/rendering/render_frames.cpp
WebCore/rendering/render_image.cpp
WebCore/rendering/render_list.cpp