15 years ago2006-12-14 Simon Hausmann <hausmann@kde.org>
hausmann [Thu, 14 Dec 2006 16:47:26 +0000 (16:47 +0000)]
2006-12-14  Simon Hausmann  <hausmann@kde.org>

        Reviewed by Zack Rusin.

        * WebCore.pro: Clean up the xpath grammar generation rule.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18213 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoMake it link with temporary stubs (from lars, icefox)
zack [Thu, 14 Dec 2006 14:22:13 +0000 (14:22 +0000)]
Make it link with temporary stubs (from lars, icefox)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18212 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoCompilation fixes for the Qt port after last nights changes
zack [Thu, 14 Dec 2006 11:40:25 +0000 (11:40 +0000)]
Compilation fixes for the Qt port after last nights changes

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18211 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Oliver.
rwlbuis [Thu, 14 Dec 2006 10:36:15 +0000 (10:36 +0000)]
    Reviewed by Oliver.

        SVG Image do not take into account clip/overflow when hit testing

        Take into account the overflowRect when hit-testing <svg> container.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18210 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fix for bug 11825, dragging elements via -khtml-user-drag is broken (affects...
hyatt [Thu, 14 Dec 2006 07:52:14 +0000 (07:52 +0000)]
    Fix for bug 11825, dragging elements via -khtml-user-drag is broken (affects Dashboard).  Make sure
        to clear the paintingRoot properly when recurring into children.  It would be nice to find a design
        that prevented this mistake from being made and didn't require explicit clearing of the root.

        Reviewed by olliej

        * rendering/InlineFlowBox.cpp:
        * rendering/RenderBlock.cpp:
        * rendering/RenderBox.cpp:
        * rendering/RenderTable.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18208 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * loader/FrameLoader.h:
andersca [Thu, 14 Dec 2006 01:30:02 +0000 (01:30 +0000)]
    * loader/FrameLoader.h:
        id is mac-only.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18206 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Implicitly reviewed by Darin, Hyatt, Maciej, and others!
beidson [Wed, 13 Dec 2006 23:34:09 +0000 (23:34 +0000)]
    Implicitly reviewed by Darin, Hyatt, Maciej, and others!

        Fixes a document tear down crash.
        Changes a few long standing assertions to our new style

        * dom/Document.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18205 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Brady and Anders.
mjs [Wed, 13 Dec 2006 23:22:44 +0000 (23:22 +0000)]
    Reviewed by Brady and Anders.

        * Makefile.shared: Stop spewing the environment all the time, at least for command-line builds.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18204 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoJavaScriptCore:
mjs [Wed, 13 Dec 2006 23:20:13 +0000 (23:20 +0000)]

        Reviewed by Anders.

        - added equality and inequality operations for HashMap and Vector, useful for comparing more complex types

        * wtf/HashMap.h:
        * wtf/Vector.h:


        Reviewed by Anders.

        - converted many places to use ResourceRequest instead of NSURLRequest

        * WebCore.exp:
        * loader/DocumentLoader.h:
        * loader/FrameLoader.cpp:
        * loader/FrameLoader.h:
        * loader/FrameLoaderClient.h:
        * loader/MainResourceLoader.h:
        * loader/mac/DocumentLoaderMac.mm:
        * loader/mac/FrameLoaderMac.mm:
        * loader/mac/MainResourceLoaderMac.mm:
        * loader/mac/SubresourceLoaderMac.mm:
        * loader/mac/WebDataProtocol.h:
        * loader/mac/WebDataProtocol.mm:
        * platform/KURL.cpp:
        * platform/KURL.h:
        * platform/mac/KURLMac.mm:
        * platform/network/FormData.h:
        * platform/network/ResourceRequest.cpp:
        * platform/network/ResourceRequest.h:
        * platform/network/mac/ResourceRequestMac.mm:


        Reviewed by Anders.

        - adjusted for changes from NSURLRequest to ResourceRequest

        * Plugins/WebPluginController.mm:
        * WebCoreSupport/WebFrameLoaderClient.h:
        * WebCoreSupport/WebFrameLoaderClient.mm:
        * WebView/WebDataSource.mm:
        (-[WebDataSource _initWithDocumentLoader:]):
        (-[WebDataSource initialRequest]):
        (-[WebDataSource request]):
        * WebView/WebDocumentLoaderMac.h:
        * WebView/WebDocumentLoaderMac.mm:
        * WebView/WebFrame.mm:
        (-[WebFrame _createItem:]):
        (-[WebFrame _loadItem:withLoadType:]):
        (-[WebFrame loadArchive:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18203 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Darin Adler, Dave Hyatt.
ggaren [Wed, 13 Dec 2006 23:10:32 +0000 (23:10 +0000)]
    Reviewed by Darin Adler, Dave Hyatt.

        Beefed up FocusController to handle frame focus. Changed implementors to
        use FocusController, rather than the widget hierarchy, to focus frames.

        (WebCore::FocusController::focusedNode): Made a minor change to focus a frame
        before focusing the element inside of it. This matches FF.
        * platform/Widget.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18202 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by adele
justing [Wed, 13 Dec 2006 21:33:23 +0000 (21:33 +0000)]
    Reviewed by adele

        Cannot setSelectedDOMRange to non-editable island unless it has editable content on both sides

        There are editable positions before/after a "non-editable island" if its
        a table, but the code in canonicalPosition was not using
        editableRootForPosition to find root editable elements.

        * editing/VisiblePosition.cpp:
        (WebCore::VisiblePosition::canonicalPosition): Use editableRootForPosition
        to fix the table case.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18201 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago2006-12-13 Steve Falkenburg <sfalken@apple.com>
sfalken [Wed, 13 Dec 2006 20:02:12 +0000 (20:02 +0000)]
2006-12-13  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam.

        Added missing forwarding headers.

        * ForwardingHeaders/kjs/value.h: Added.
        * ForwardingHeaders/wtf/HashTable.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18199 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Updated results to match Justin Garcia's addition of rangeCount to
ggaren [Wed, 13 Dec 2006 17:05:33 +0000 (17:05 +0000)]
    Updated results to match Justin Garcia's addition of rangeCount to
        the selection object.

        * fast/dom/Window/window-properties-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18198 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoMake qmake the default build environment for the Qt port.
zack [Wed, 13 Dec 2006 14:45:38 +0000 (14:45 +0000)]
Make qmake the default build environment for the Qt port.
CMake currently doesn't work and updates to qmake will happen
a lot faster. Review by Rob

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18197 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agomake it compile after last nights changes from lars (r=maciej,me)
zack [Wed, 13 Dec 2006 13:16:53 +0000 (13:16 +0000)]
make it compile after last nights changes from lars (r=maciej,me)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18196 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Anders.
aroben [Wed, 13 Dec 2006 02:34:10 +0000 (02:34 +0000)]
    Reviewed by Anders.

        Changed #import to #include to match the rest of our ForwardingHeaders.

        * ForwardingHeaders/wtf/StringExtras.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18195 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoLayoutTests:
justing [Wed, 13 Dec 2006 00:48:23 +0000 (00:48 +0000)]

        Reviewed by harrison

        GoogleDocs: Style menu does not open

        * editing/selection/rangeCount-expected.txt: Added.
        * editing/selection/rangeCount.html: Added.


        Reviewed by harrison

        GoogleDocs: Style menu does not open

        * bindings/js/kjs_window.cpp:
        (KJS::Selection::getValueProperty): Added rangeCount.
        * bindings/js/kjs_window.h:
        * editing/SelectionController.h:
        (WebCore::SelectionController::rangeCount): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18191 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Oliver.
aliceli1 [Tue, 12 Dec 2006 23:58:55 +0000 (23:58 +0000)]
    Reviewed by Oliver.

        * bindings/js/JSSVGMatrixCustom.cpp:
        added #ifdef SVG_SUPPORT

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18190 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Suggested by Darin.
andersca [Tue, 12 Dec 2006 23:45:20 +0000 (23:45 +0000)]
    Suggested by Darin.

        * loader/ResourceLoader.cpp:
        Move down include of ResourceHandle.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18189 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFixing up svn properties on FocusController.*
ggaren [Tue, 12 Dec 2006 23:30:09 +0000 (23:30 +0000)]
Fixing up svn properties on FocusController.*

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18188 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Adam Roben, Dave Hyatt, Darin Adler.
ggaren [Tue, 12 Dec 2006 22:11:18 +0000 (22:11 +0000)]
    Reviewed by Adam Roben, Dave Hyatt, Darin Adler.

        Factored focus control into a FocusController class. I inted to use this
        class for handling window active state and the focused frame, as well.

        Layout tests pass.

        * WebCore.xcodeproj/project.pbxproj:
        * dom/Document.cpp:
        (WebCore::Document::page): New helper function.
        * dom/Document.h: Moved setters before getters.
        * dom/Node.cpp:
        (WebCore::Node::detach): Use the FocusController.
        * page/FocusController.cpp: Added.
        (WebCore::shouldFocus): renamed and refactored this helper function.
        (WebCore::shouldUnfocus): ditto.
        * page/FocusController.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18187 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Rubber Stamped by Geoff.
andersca [Tue, 12 Dec 2006 22:03:27 +0000 (22:03 +0000)]
    Rubber Stamped by Geoff.

        * platform/Base64.cpp:
        * platform/Base64.h:
        Put functions inside of the WebCore namespace.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18186 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Try fixing the non-Mac builds.
andersca [Tue, 12 Dec 2006 21:42:24 +0000 (21:42 +0000)]
    Try fixing the non-Mac builds.

        * loader/ResourceLoader.cpp:
        * loader/SubresourceLoader.cpp:
        * loader/SubresourceLoader.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18185 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
andersca [Tue, 12 Dec 2006 21:14:50 +0000 (21:14 +0000)]

        Reviewed by Darin.

        Turn ResourceLoader into a ResourceHandleClient and stop using NSURLConnection in the loader.

        * WebCore.exp:
        Add new methods needed by WebKit.

        * WebCore.xcodeproj/project.pbxproj:
        Make ResourceHandle.h a private header.

        * loader/FrameLoaderClient.h:
        Change the download method to take a ResourceHandle instead of an NSURLConnection.

        * loader/MainResourceLoader.h:
        Get rid of the proxy instance variable, that's handled by ResourceHandlw now.

        * loader/ResourceLoader.h:
        * loader/SubresourceLoader.h:
        Make ResourceLoader a ResourceHandleClient, moving the methods from SubresourceLoader.

        * loader/mac/MainResourceLoaderMac.mm:
        Use a ResourceHandle instead of an NSURLConnection.

        * loader/mac/ResourceLoaderMac.mm:
        Remove the WebCoreResourceLoaderAsDelegate class, use a ResourceHandle instead of an NSURLConnection.

        * loader/mac/SubresourceLoaderMac.mm:
        Remove ResourceHandleClient methods.

        * platform/network/ResourceHandle.cpp:
        * platform/network/ResourceHandle.h:
        * platform/network/ResourceHandleInternal.h:
        Add an extra argument denoting whether this ResourceHandle can possibly be "converted" into one used for downloads.

        * platform/network/mac/ResourceHandleMac.mm:
        New methods for creating a NSURLConnectionDelegateProxy which is used when creating a NSURLDownload from an existing


        Reviewed by Darin.

        * WebCoreSupport/WebFrameLoaderClient.h:
        * WebCoreSupport/WebFrameLoaderClient.mm:
        Get the handle and proxy from the ResourceHandle now that they aren't passed to us.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18184 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Geoff. Based on a patch by Maks Orlovich.
ap [Tue, 12 Dec 2006 20:09:58 +0000 (20:09 +0000)]
    Reviewed by Geoff. Based on a patch by Maks Orlovich.

        Throw errors on invalid expressions (KJS merge)

        * kjs/regexp.cpp:
        * kjs/regexp.h:
        Remember and report RegExp construction failures. Renamed data members not to start with underscores.

        * kjs/regexp_object.cpp:
        (RegExpObjectImp::construct): Raise an exception if RegExp construction fails.
        (RegExpObjectImp::callAsFunction): Removed an obsolete comment.

        * tests/mozilla/ecma_3/RegExp/regress-119909.js: Reduced the number of nested parentheses to
        a value supported by PCRE.

        * fast/js/kde/RegExp-expected.txt: One more test passes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18182 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Geoff.
andersca [Tue, 12 Dec 2006 19:42:03 +0000 (19:42 +0000)]
    Reviewed by Geoff.

        * loader/mac/SubresourceLoaderMac.mm:
        * platform/network/mac/ResourceHandleMac.mm:
        Move the didTellBridgeAboutLoad call to SubresourceLoader in preparation for getting rid of
        the DocLoader parameter to ResourceHandle::create.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18181 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoOops. Forgot to check in this file.
ggaren [Tue, 12 Dec 2006 19:32:35 +0000 (19:32 +0000)]
Oops. Forgot to check in this file.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18180 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoMake the last checkin compile
staikos [Tue, 12 Dec 2006 12:09:51 +0000 (12:09 +0000)]
Make the last checkin compile

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18178 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFixes: http://bugs.webkit.org/show_bug.cgi?id=11797
zimmermann [Tue, 12 Dec 2006 11:19:34 +0000 (11:19 +0000)]
Fixes: bugs.webkit.org/show_bug.cgi?id=11797
Remove SVGMatrix, replace it by AffineTransform usage everywhere.
Changed AffineTransform API to be able to be used within generation
(m11() -> a(), m12() -> b(), ...). Add some methods needed for SVG.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18177 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix the Qt build
staikos [Tue, 12 Dec 2006 09:55:16 +0000 (09:55 +0000)]
Fix the Qt build

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18176 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoLayoutTests:
ggaren [Tue, 12 Dec 2006 09:02:13 +0000 (09:02 +0000)]

        Reviewed by Beth Dakin.

        Added some focus-related tests.

        * editing/undo/undo-iframe-location-change-expected.txt: Updated to reflect
        the fact that we now unfocus nodes when they're removed from the document.

        * fast/events/keypress-removed-node-expected.txt: Added.
        * fast/events/keypress-removed-node.html: Added.
        * fast/forms/focus2-expected.txt: Added.
        * fast/forms/focus2.html: Added.


        Reviewed by Beth Dakin.

        Moved focus control to the page level. Fixed a minor bug where a node
        would retain keyboard focus even when removed from the document.

        We should probably move this, along with hover and active, into a separate
        FocusController. But I'm too tired right now.

        * dom/Document.cpp: Migrated code to Page
        * dom/Document.h:
        * dom/Node.cpp:
        (WebCore::Node::detach): Clear ourselves from keyboard focus. This fixes
        the minor bug and was also necessary to prevent regressions caused by hanging
        on to a focused node after the document was replaced.
        * dom/Node.h:
        * page/Page.cpp: Migrated code from Document
        * page/Page.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18175 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agobuild fix
ggaren [Tue, 12 Dec 2006 08:45:48 +0000 (08:45 +0000)]
build fix

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18174 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Added the new XHR EventTarget methods to test results.
ap [Tue, 12 Dec 2006 08:28:15 +0000 (08:28 +0000)]
    Added the new XHR EventTarget methods to test results.

        * fast/dom/Window/window-properties-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18173 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Darin.
ap [Tue, 12 Dec 2006 07:59:58 +0000 (07:59 +0000)]
    Reviewed by Darin.

        XMLHttpRequest should be an EventTarget

        Test: http/tests/xmlhttprequest/event-target.html

        * bindings/js/JSXMLHttpRequest.cpp:
        * bindings/js/JSXMLHttpRequest.h:
        * xml/xmlhttprequest.cpp:
        * xml/xmlhttprequest.h:
        Implement EventTarget methods (except for NS variations, which Firefox doesn't have either).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18172 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Geoff.
darin [Tue, 12 Dec 2006 07:13:35 +0000 (07:13 +0000)]
    Reviewed by Geoff.

        - fix http://bugs.webkit.org/show_bug.cgi?id=11809
          fast/dom/gc-8.html crash in alternate-thread marking code in ScriptInterpreter

        DocumentType objects were getting filed under the wrong document in the
        DOM objects structure.

        * bindings/js/kjs_binding.h: Added a destructor for debugging purposes only.
        * bindings/js/kjs_binding.cpp:
        (KJS::wrapperSet): Added. Set of outstanding wrappers for debugging.
        (KJS::addWrapper): Added.
        (KJS::removeWrapper): Added.
        (KJS::removeWrappers): Added.
        (KJS::DOMObject::~DOMObject): Added. Asserts that there is no outstanding reference
        to this wrapper since it's being destroyed.
        (KJS::ScriptInterpreter::putDOMObject): Added a call to ADD_WRAPPER.
        (KJS::ScriptInterpreter::forgetDOMObject): Added a call to REMOVE_WRAPPER.
        (KJS::ScriptInterpreter::forgetDOMNodeForDocument): Added a call to REMOVE_WRAPPER.
        (KJS::ScriptInterpreter::putDOMNodeForDocument): Added a call to ADD_WRAPPER.
        (KJS::ScriptInterpreter::forgetAllDOMNodesForDocument): Added a call to REMOVE_WRAPPERS.
        (KJS::ScriptInterpreter::updateDOMNodeDocument): Added calls to REMOVE_WRAPPER and
        ADD_WRAPPER so the out-of-order transaction doesn't upset the assertions in the functions
        we're calling. Another solution would be to reorder the two, but I think that would
        create a race where another thread could garbage collect after the forget but before the put.
        (KJS::ScriptInterpreter::wasRunByUserGesture): Tweaked formatting.

        * dom/Document.cpp: (WebCore::Document::adoptNode): Removed call to updateDOMNodeDocument
        since setDocument now takes care of that.
        * dom/Node.cpp:
        (WebCore::Node::setDocument): Added call to updateDOMNodeDocument here.
        (WebCore::Node::checkAddChild): Removed call to updateDOMNodeDocument since setDocument
        now takes care of that.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18171 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago http://bugs.webkit.org/show_bug.cgi?id=9673
ap [Tue, 12 Dec 2006 06:47:43 +0000 (06:47 +0000)]
        Add support for window.atob() and window.btoa()

        Reviewed by Darin.

        * JavaScriptCore.exp: Export UString::is8Bit().
        * JavaScriptCore.xcodeproj/project.pbxproj: Added StringExtras.h as
        a private header.

        * WebCore.xcodeproj/project.pbxproj: Added Base64.{h,cpp}
        * bindings/js/kjs_window.cpp:
        * bindings/js/kjs_window.h:
        * platform/Base64.cpp: Added.
        * platform/Base64.h: Added.
        * ForwardingHeaders/wtf/StringExtras.h: Added.
        * platform/DeprecatedString.cpp: Use strncasecmp from StringExtras.

        * fast/dom/Window/atob-btoa-expected.txt: Added.
        * fast/dom/Window/atob-btoa.html: Added.
        * fast/dom/Window/btoa-pnglet-expected.checksum: Added.
        * fast/dom/Window/btoa-pnglet-expected.png: Added.
        * fast/dom/Window/btoa-pnglet-expected.txt: Added.
        * fast/dom/Window/btoa-pnglet.html: Added.
        * fast/dom/Window/window-properties-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18170 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
darin [Tue, 12 Dec 2006 05:56:20 +0000 (05:56 +0000)]

        Reviewed by Brady.

        - did some of the Mac-specific file moves mentioned in my recent mail to the WebKit list

        * WebCore.xcodeproj/project.pbxproj: Updated project for file moves.

        * bridge/mac/FrameMac.h: Moved to page/mac.
        * bridge/mac/FrameMac.mm: Ditto.
        * bridge/mac/WebCoreFrameBridge.h: Ditto.
        * bridge/mac/WebCoreFrameBridge.mm: Ditto.
        * bridge/mac/WebCoreFrameView.h: Ditto.
        * bridge/mac/WebCoreViewFactory.h: Ditto.
        * bridge/mac/WebCoreViewFactory.m: Ditto.
        * bridge/mac/WebDashboardRegion.h: Ditto.
        * bridge/mac/WebDashboardRegion.m: Ditto.

        * bridge/mac/WebCoreKeyboardAccess.h: Moved to page/mac,
        renamed WebCoreKeyboardUIMode.h, and made a C++ header.

        * page/EventHandler.h: Updated for change to WebCoreKeyboardAccess.
        * page/mac/EventHandlerMac.mm:
        (WebCore::EventHandler::tabsToLinks): Ditto.
        (WebCore::EventHandler::tabsToAllControls): Ditto.
        (WebCore::EventHandler::keyboardUIMode): Ditto.


        Reviewed by Brady.

        - did some of the Mac-specific file moves mentioned in my recent mail to the WebKit list

        * WebCoreSupport/WebFrameBridge.h: Updated for change to WebCoreKeyboardAccess.
        * WebCoreSupport/WebFrameBridge.mm:
        (-[WebFrameBridge _retrieveKeyboardUIModeFromPreferences:]): Ditto.
        (-[WebFrameBridge keyboardUIMode]): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18169 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Brady.
darin [Tue, 12 Dec 2006 05:47:08 +0000 (05:47 +0000)]
    Reviewed by Brady.

        * JavaScriptCore.xcodeproj/project.pbxproj: Let Xcode update this
        (I think Hyatt is using an old Xcode).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18168 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * fast/frames/iframe-option-crash-expected.txt: Updated results for this...
darin [Tue, 12 Dec 2006 05:03:32 +0000 (05:03 +0000)]
    * fast/frames/iframe-option-crash-expected.txt: Updated results for this test.
        My recent change to owner element lifetime management changed these results,
        but since the point of the test is simply to check if the page crashes, the
        new result is probably OK. Or there could be some problem, but if so we need
        some other investigation -- I couldn't see anything.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18167 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
bdakin [Tue, 12 Dec 2006 04:27:17 +0000 (04:27 +0000)]
        Reviewed by Adam.

        Primarily, this patch implements/hooks-up actions for the sub-menu
        items in WebCore context menus. I fixed a few other things along
        the way too:
                -Made BUILDING_ON_TIGER ifdef work within C++ as well as
                -Fixed bug where we would throw and Obj-C exception and
                 fail to pop up menus with more than one separator item.
                -Re-named some of the spelling/grammar tags since Tiger and
                 Leopard share more of the actions than initially

        * WebCorePrefix.h: Make BUILDING_ON_TIGER available to C++
        * bridge/EditorClient.h: New functions to toggle
        spelling/grammar checking.
        * editing/Editor.cpp:
        (WebCore::Editor::toggleContinuousSpellChecking): Call into client.
        (WebCore::Editor::toggleGrammarChecking): Same.
        (WebCore::Editor::toggleBold): call execToggleBold()
        (WebCore::Editor::toggleUnderline): Create appropriate underline
        style and apply to selection.
        (WebCore::Editor::setBaseWritingDirection): Create appropriate
        writing direction and apply to selection.
        * editing/Editor.h:
        * editing/mac/EditorMac.mm: New functions to show spelling guesses,
        fonts, styles, and color panels.
        * page/ContextMenuClient.h: New functions for the speech sub-menu.
        * page/ContextMenuController.cpp:
        (WebCore::ContextMenuController::contextMenuItemSelected): Fill in
        editing sub-menu actions.
        * platform/ContextMenu.cpp:
        (WebCore::separatorItem): Helper function to create a separator
        (WebCore::createFontSubMenu): Put very mac-specific things within a
        platform ifdef.
        (WebCore::createSpellingAndGrammarSubMenu): Re-named some of the
        spelling sub-menu tags.
        (WebCore::createSpellingSubMenu): Same.
        (WebCore::ContextMenu::populate): We can't share the separator
        item. When we do, menus with more than one separator throw and obj-
        c exception and fail to pop-up.
        * platform/ContextMenuItem.h:
        (WebCore::): Re-named some of the spelling sub-menu tags.

        Reviewed by Adam.

        WebKit support for editing sub-menu actions.

        * WebCoreSupport/WebContextMenuClient.h: New functions for the
        speech sub-menu.
        * WebCoreSupport/WebContextMenuClient.mm:
        * WebCoreSupport/WebEditorClient.h: New functions to toggle
        spelling/grammar checking.
        * WebCoreSupport/WebEditorClient.mm:
        * WebView/WebUIDelegatePrivate.h: Re-named some of the spelling
        sub-menu tags.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18166 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
aliceli1 [Tue, 12 Dec 2006 03:17:45 +0000 (03:17 +0000)]

        Reviewed by Geoff, Adam.

        Switch to use the Editor for copying URLs.  Also some Pasteboard and PlatformMouseEvent cleanup.

        All layout tests pass as they would without this patch.

        * WebCore.exp:
        added Editor::copyURL to be called from WebKit

        * editing/Editor.cpp:
        Pasteboard::clearTypes() changed to clear()

        Changed signature of writeSelection to take raw pointer instead of PassRefPtr

        * editing/Editor.h:
        Added copyURL.

        * page/ContextMenuClient.h:
        * page/ContextMenuController.cpp:
        Removed copyLinkToClipboard

        * platform/KURL.cpp:
        * platform/KURL.h:
        Added lastPathComponent.

        * platform/Pasteboard.h:
        Changed some function names.
        Moved some functions out of class to static.

        * platform/PlatformMouseEvent.h:
        Removed MouseEventType enum, added NoButton to MouseButton without disturbing other button values.

        * platform/mac/PasteboardMac.mm:
        Added writeURL, and moved some things around

        * platform/mac/WebCoreSystemInterface.h:
        * platform/mac/WebCoreSystemInterface.mm:
        Add some calls necessary for Pasteboard::writeURL to work


        Reviewed by Geoff, Adam.

        switch to use the Editor for copying URLs

        * DefaultDelegates/WebDefaultContextMenuDelegate.m:
        (-[WebDefaultUIDelegate copyLinkToClipboard:]):
        Call down to the editor for this.
        * WebCoreSupport/WebSystemInterface.m:
        Add some calls necessary for Pasteboard::writeURL to work

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18165 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoUpdate SVG pixel tests - hasn't been done for a long time.
zimmermann [Tue, 12 Dec 2006 01:26:16 +0000 (01:26 +0000)]
Update SVG pixel tests - hasn't been done for a long time.
Mainly tiny text related positioning changes, all fine.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18164 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
darin [Mon, 11 Dec 2006 23:40:47 +0000 (23:40 +0000)]

        Reviewed by Brady.

        - http://bugs.webkit.org/show_bug.cgi?id=11794
          fix lifetime problems affecting Frame's ownerElement pointer

        * CMakeLists.txt:
        * WebCore.vcproj/WebCore/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        Updated for new source files.

        * WebCore.exp: Updated for changes to entry point names.

        * bridge/mac/FrameMac.h:
        * bridge/mac/FrameMac.mm: (WebCore::FrameMac::FrameMac):
        * bridge/win/FrameWin.h:
        * bridge/win/FrameWin.cpp: (WebCore::FrameWin::FrameWin):
        * platform/qt/FrameQt.h:
        * platform/qt/FrameQt.cpp: (WebCore::FrameQt::FrameQt):
        Updated owner element type to HTMLFrameOwnerElement.

        * bridge/mac/WebCoreFrameBridge.h: Removed non-C++ case since we don't
        use that any more. Updated owner element type to HTMLFrameOwnerElement.

        * dom/Document.cpp: Added include so that the ownerElement function can
        compile (since it downcasts an HTMLFrameOwnerElement to an Element).

        * html/HTMLFrameElement.cpp:
        (WebCore::containingFrameSetElement): Moved this function in here; it
        doesn't need to be a member function.
        (WebCore::HTMLFrameElement::attach): Updated to call this.

        * html/HTMLFrameElementBase.h:
        * html/HTMLFrameElementBase.cpp:
        (WebCore::HTMLFrameElementBase::HTMLFrameElementBase): Inherit from
        HTMLFrameOwnerElement. Removed contentFrame, contentDocument, and
        containingFrameSetElement. Removed friend classes.

        * html/HTMLFrameOwnerElement.h: Added.
        * html/HTMLFrameOwnerElement.cpp: Added.

        * html/HTMLEmbedElement.h:
        * html/HTMLEmbedElement.cpp:
        * html/HTMLObjectElement.h:
        * html/HTMLObjectElement.cpp:
        Remove now-unneeded contentDocument functions.

        * html/HTMLPlugInElement.h:
        * html/HTMLPlugInElement.cpp:
        (WebCore::HTMLPlugInElement::HTMLPlugInElement): Inherit from

        * loader/FormState.h:
        * loader/FormState.cpp: Use HTMLFormElement instead of just Element.

        * loader/FrameLoader.h:
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::requestFrame): Use HTMLFormElement.
        (WebCore::FrameLoader::loadSubframe): Ditto.
        (WebCore::FrameLoader::requestObject): Don't pass an element parameter
        to shouldUsePlugin, and remove now-unneeded type casts.
        (WebCore::FrameLoader::shouldUsePlugin): Removed unneeded element parameter.
        (WebCore::FrameLoader::handleFallbackContent): Use HTMLFrameOwnerElement.
        (WebCore::FrameLoader::updateBaseURLForEmptyDocument): Ditto.
        (WebCore::FrameLoader::isHostedByObjectElement): Ditto.
        * loader/mac/FrameLoaderMac.mm:
        (WebCore::FrameLoader::load): Use HTMLFormElement.
        (WebCore::FrameLoader::post): Ditto.
        (WebCore::FrameLoader::createFrame): Use HTMLFrameOwnerElement.

        * page/Frame.h:
        * page/FramePrivate.h:
        * page/Frame.cpp:
        (WebCore::parentFromOwnerElement): Use HTMLFrameOwnerElement.
        (WebCore::Frame::Frame): Ditto. Also set m_contentFrame on the owner element.
        (WebCore::Frame::ownerElement): Ditto.
        (WebCore::Frame::ownerRenderer): Ditto.
        (WebCore::Frame::disconnectOwnerElement): Clear m_contentFrame on the owner
        element before disconnecting it.
        (WebCore::FramePrivate::FramePrivate): Use HTMLFrameOwnerElement.

        * page/mac/EventHandlerMac.mm: Include HTMLFrameOwnerElement.h so that
        the code here will compile (no code changes needed).

        * rendering/RenderFrame.cpp: (WebCore::RenderFrame::viewCleared):
        Updated so that RenderFrame doesn't need to be a friend of HTMLFrameElementBase.

        * rendering/RenderPart.h:
        * rendering/RenderPart.cpp: (WebCore::RenderPart::RenderPart):
        Use HTMLFrameOwnerElement.

        * rendering/RenderPartObject.h:
        * rendering/RenderPartObject.cpp:
        (WebCore::RenderPartObject::RenderPartObject): Use HTMLFrameOwnerElement.
        (WebCore::RenderPartObject::viewCleared): Updated so that RenderFrame doesn't
        need to be a friend of HTMLFrameElementBase.

        - other changes

        * platform/network/ResourceHandleInternal.h: Added Noncopyable and
        fixed indentation.


        Reviewed by Brady.

        - http://bugs.webkit.org/show_bug.cgi?id=11794
          fix lifetime problems affecting Frame's ownerElement pointer

        * WebCoreSupport/WebFrameBridge.mm:
        (-[WebFrameBridge finishInitializingWithPage:WebCore::frameName:frameView:ownerElement:]):
        (-[WebFrameBridge initSubframeWithOwnerElement:frameName:frameView:]):
        (-[WebFrameBridge createChildFrameNamed:withURL:referrer:ownerElement:allowsScrolling:marginWidth:marginHeight:]):
        Use HTMLFrameOwnerElement.

        * WebCoreSupport/WebFrameLoaderClient.mm: Include the relevant headers for the
        HTMLFormElement class.

        * WebKit.xcodeproj/project.pbxproj: Let Xcode have its way.

        * WebView/WebFrame.mm: (-[WebFrame frameElement]): Update includes and types for the
        change in return type of ownerElement.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18163 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fix failing layout test. Remove WTF::Unicode::isSpace and just revert
hyatt [Mon, 11 Dec 2006 23:11:49 +0000 (23:11 +0000)]
    Fix failing layout test.  Remove WTF::Unicode::isSpace and just revert
        the caller to the old behavior.

        Reviewed by darin

        * platform/StringImpl.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18162 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fix the failing layout test. Just remove Unicode::isSpace and
hyatt [Mon, 11 Dec 2006 23:10:39 +0000 (23:10 +0000)]
    Fix the failing layout test.  Just remove Unicode::isSpace and
        revert StringImpl to do the same thing it was doing before.

        Reviewed by darin

        * wtf/unicode/icu/UnicodeIcu.h:
        * wtf/unicode/qt4/UnicodeQt4.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18161 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Adam.
ap [Mon, 11 Dec 2006 20:13:58 +0000 (20:13 +0000)]
    Reviewed by Adam.

        Merge EventHandler::m_bMousePressed and EventHandler::m_mousePressed

        * page/EventHandler.cpp:
        * page/EventHandler.h:
        * page/mac/EventHandlerMac.mm:
        Merge EventHandler::m_bMousePressed and EventHandler::m_mousePressed

        Check that the "new" event is newer than the "old" one - that's not always the case
        when running in DRT, as [NSApp currentEvent] isn't updated by eventSender.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18158 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoI forgot to remove these in the previous commit, they were only emptied out.
zimmermann [Mon, 11 Dec 2006 18:52:08 +0000 (18:52 +0000)]
I forgot to remove these in the previous commit, they were only emptied out.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18155 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fix previous checkin where I committed the wrong file.
harrison [Mon, 11 Dec 2006 18:03:41 +0000 (18:03 +0000)]
    Fix previous checkin where I committed the wrong file.

        <rdar://problem/4863611> Xyle Scope crashes at launch due to WebCore-521.29.3

        * WebView/WebFrame.mm:
        (-[WebFrame frameElement]):
        Add nil check.

        * WebView/WebPreferences.m:
        (-[WebPreferences editableLinkBehavior]):
        Reverted to previous.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18154 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoReviewed by Sam Weinig.
zimmermann [Mon, 11 Dec 2006 17:55:19 +0000 (17:55 +0000)]
Reviewed by Sam Weinig.

Fixes: http://bugs.webkit.org/show_bug.cgi?id=11801
Autogenerate POD types for ObjC/JS.

This removes the need for the hand-written JSSVG*, DOMSVG* wrappers
in bindings/js, bindings/objc. Makes it much easier to convert more
SVG types to POD types (ie. SVGMatrix* -> AffineTransform etc.)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18153 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Mitz.
ap [Mon, 11 Dec 2006 16:24:03 +0000 (16:24 +0000)]
    Reviewed by Mitz.

        Make this test faster by eliminating timeouts (which didn't work anyway, now that
        mouse dragging events are stored and replayed on mouse-up).

        * fast/text/atsui-rtl-override-selection.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18150 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoadd missing receive call for resources
zack [Mon, 11 Dec 2006 01:23:57 +0000 (01:23 +0000)]
add missing receive call for resources

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18149 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoAdd a default useragent for now.
staikos [Mon, 11 Dec 2006 01:23:48 +0000 (01:23 +0000)]
Add a default useragent for now.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18148 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix a small issue (crash) with resource loading (from lars, r=me)
zack [Mon, 11 Dec 2006 01:21:08 +0000 (01:21 +0000)]
Fix a small issue (crash) with resource loading (from lars, r=me)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18147 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Make the xpath grammar hack more specific (and work on OS X) until
staikos [Mon, 11 Dec 2006 01:17:36 +0000 (01:17 +0000)]
    Make the xpath grammar hack more specific (and work on OS X) until
        it's cleaned up.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18146 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoSet the WidgetClient in WidgetQt correctly. We need to make
zack [Mon, 11 Dec 2006 01:12:12 +0000 (01:12 +0000)]
Set the WidgetClient in WidgetQt correctly. We need to make
this platform independent

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18145 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFixes loading of local files (from Lars)
zack [Mon, 11 Dec 2006 00:13:41 +0000 (00:13 +0000)]
Fixes loading of local files (from Lars)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18144 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoDon't use QTransform yet, affine QMatrix is enough for SVG,
zack [Sun, 10 Dec 2006 22:49:56 +0000 (22:49 +0000)]
Don't use QTransform yet, affine QMatrix is enough for SVG,
plus it makes it work with 4.2.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18143 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFixes for the layout tests regression testing and removal
zack [Sun, 10 Dec 2006 21:43:39 +0000 (21:43 +0000)]
Fixes for the layout tests regression testing and removal
of few unimplemented warnings (from lars)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18142 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoEnable the SVG build by default and make it build.
zack [Sun, 10 Dec 2006 21:37:45 +0000 (21:37 +0000)]
Enable the SVG build by default and make it build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18141 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoThis should go in in 18139, it's WebKitQt not WebKit
zack [Sun, 10 Dec 2006 20:29:54 +0000 (20:29 +0000)]
This should go in in 18139, it's WebKitQt not WebKit

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18140 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoMove the "*Client classes to WebKitQt/WebCoreSupport. Uptil
zack [Sun, 10 Dec 2006 20:05:01 +0000 (20:05 +0000)]
Move the "*Client classes to WebKitQt/WebCoreSupport. Uptil
now they were all scattered around the Qt platform build dirs,
this cleans it up.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18139 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoAdd WebKitBuild/Release back to the output dir for external build cases.
staikos [Sun, 10 Dec 2006 19:14:11 +0000 (19:14 +0000)]
Add WebKitBuild/Release back to the output dir for external build cases.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18138 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoSome more fixes to the dumprendertree application (from lars)
zack [Sun, 10 Dec 2006 19:02:46 +0000 (19:02 +0000)]
Some more fixes to the dumprendertree application (from lars)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18137 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoAdd the project file.
zack [Sun, 10 Dec 2006 18:57:27 +0000 (18:57 +0000)]
Add the project file.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18136 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoAdd back some stubs needed to compile (from lars, r=me)
zack [Sun, 10 Dec 2006 18:46:24 +0000 (18:46 +0000)]
Add back some stubs needed to compile (from lars, r=me)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18135 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Darin.
rwlbuis [Sun, 10 Dec 2006 18:16:47 +0000 (18:16 +0000)]
    Reviewed by Darin.

        WebKit needs (possibly private) XML/SVG innerText support (for DumpRenderTree)

        Create an internal method to create innerText functionality for non-HTML
        nodes. When called from DRT this omits CDATA nodes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18134 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago2006-12-10 MorganL <morganl.webkit@yahoo.com>
ap [Sun, 10 Dec 2006 10:17:28 +0000 (10:17 +0000)]
2006-12-10  MorganL  <morganl.webkit@yahoo.com>

        Reviewed by Maciej.

        Fixes http://bugs.webkit.org/show_bug.cgi?id=11790
        No way to initialize ResourceResponse::m_httpHeaderFields

        * platform/network/ResourceResponse.cpp: impl setHTTPHeaderField
        * platform/network/ResourceResponse.h: decl setHTTPHeaderField

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18133 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoCleanup more of the FrameQt crack - mainly finally remove
zack [Sun, 10 Dec 2006 09:21:56 +0000 (09:21 +0000)]
Cleanup more of the FrameQt crack - mainly finally remove
the methods that have been moved to their proper locations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18132 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoRemove unused/pointless code from FrameQtClient.
zack [Sun, 10 Dec 2006 07:13:57 +0000 (07:13 +0000)]
Remove unused/pointless code from FrameQtClient.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18131 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Build fix.
aroben [Sun, 10 Dec 2006 07:11:23 +0000 (07:11 +0000)]
    Build fix.

        * xml/XPathParser.cpp:
        (WebCore::XPath::charCat): Use C++ unsigned instead of uint.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18130 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Zack.
staikos [Sun, 10 Dec 2006 06:54:03 +0000 (06:54 +0000)]
    Reviewed by Zack.

        Make it not crash, and make it set the title on Qt platform.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18129 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoInclude DumpRenderTree in the Qt build and adjust it to the
zack [Sun, 10 Dec 2006 06:36:32 +0000 (06:36 +0000)]
Include DumpRenderTree in the Qt build and adjust it to the
recet platform/qt changes (by lars)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18128 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoCorrect the path to the libraries for QMake.
staikos [Sun, 10 Dec 2006 05:54:55 +0000 (05:54 +0000)]
Correct the path to the libraries for QMake.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18127 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoCleanup the FrameQtClient mess a little bit.
zack [Sun, 10 Dec 2006 05:44:17 +0000 (05:44 +0000)]
Cleanup the FrameQtClient mess a little bit.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18126 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoAccomodate the file changes in the project files (aka build)
zack [Sun, 10 Dec 2006 05:33:28 +0000 (05:33 +0000)]
Accomodate the file changes in the project files (aka build)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18125 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoImplement a decent network loader using QHttp (from Lars)
zack [Sun, 10 Dec 2006 05:12:32 +0000 (05:12 +0000)]
Implement a decent network loader using QHttp (from Lars)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18124 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix qmake build re: bison issues - unify with Linux build
staikos [Sun, 10 Dec 2006 04:58:18 +0000 (04:58 +0000)]
Fix qmake build re: bison issues - unify with Linux build

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18123 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoRepair QMake build on OS X.
staikos [Sun, 10 Dec 2006 04:36:51 +0000 (04:36 +0000)]
Repair QMake build on OS X.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18122 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoSmall fixes for qmake shadow builds
zack [Sun, 10 Dec 2006 04:25:41 +0000 (04:25 +0000)]
Small fixes for qmake shadow builds

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18121 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoRemove reference to Unity. Reviewed by Zack.
staikos [Sun, 10 Dec 2006 03:57:00 +0000 (03:57 +0000)]
Remove reference to Unity.  Reviewed by Zack.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18120 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoSimon says : work with qmake shadow builds. Patch adds support
zack [Sun, 10 Dec 2006 03:27:14 +0000 (03:27 +0000)]
Simon says : work with qmake shadow builds. Patch adds support
for it to the build scripts.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18119 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoCrazy notion: make the font setting on widgets work.
zack [Sun, 10 Dec 2006 02:52:19 +0000 (02:52 +0000)]
Crazy notion: make the font setting on widgets work.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18118 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoStop complaining about the nil renderer (granted the whole
zack [Sun, 10 Dec 2006 02:36:27 +0000 (02:36 +0000)]
Stop complaining about the nil renderer (granted the whole
scrollcanvas implementation makes the baby jesus cry)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18117 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix some rounding issues
zack [Sun, 10 Dec 2006 02:32:01 +0000 (02:32 +0000)]
Fix some rounding issues

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18116 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix build for Qt 4.1 and less (for Qtopia mainly). By George.
zack [Sun, 10 Dec 2006 02:01:21 +0000 (02:01 +0000)]
Fix build for Qt 4.1 and less (for Qtopia mainly). By George.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18115 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoCMake is too slow to make it the default build for us. This
zack [Sun, 10 Dec 2006 00:58:36 +0000 (00:58 +0000)]
CMake is too slow to make it the default build for us. This
patch adds QMake build which works, way, way better. Mostly
done by Simon Hausmann.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18114 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoThis is part of r 18111 commit - Use the Qt image
zack [Sun, 10 Dec 2006 00:44:17 +0000 (00:44 +0000)]
This is part of r 18111 commit - Use the Qt image
loading framework.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18113 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoCompile after latest WebKit changes and don't depend on
zack [Sun, 10 Dec 2006 00:41:47 +0000 (00:41 +0000)]
Compile after latest WebKit changes and don't depend on
deprecated methods in Qt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18112 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoUse the Qt image loading framework instead of the Mozilla
zack [Sun, 10 Dec 2006 00:37:02 +0000 (00:37 +0000)]
Use the Qt image loading framework instead of the Mozilla

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18111 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoRemove an explicit ICU dependency (by lars)
zack [Sun, 10 Dec 2006 00:21:55 +0000 (00:21 +0000)]
Remove an explicit ICU dependency (by lars)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18110 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFixing the kde build after the icu Qt changes.
zack [Sun, 10 Dec 2006 00:19:25 +0000 (00:19 +0000)]
Fixing the kde build after the icu Qt changes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18109 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoJavaScriptCore:
aroben [Sat, 9 Dec 2006 23:53:30 +0000 (23:53 +0000)]

        Reviewed by Darin.

        Some updates in reaction to r18098.

        * wtf/unicode/icu/UnicodeIcu.h: Use !! to convert UBool to bool in all
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:


        Reviewed by Darin.

        Changed all ForwardingHeaders to use #include instead of #import.

        * ForwardingHeaders/kjs/JSLock.h:
        * ForwardingHeaders/kjs/SavedBuiltins.h:
        * ForwardingHeaders/kjs/collector.h:
        * ForwardingHeaders/kjs/dtoa.h:
        * ForwardingHeaders/kjs/internal.h:
        * ForwardingHeaders/kjs/interpreter.h:
        * ForwardingHeaders/kjs/lookup.h:
        * ForwardingHeaders/kjs/object.h:
        * ForwardingHeaders/kjs/property_map.h:
        * ForwardingHeaders/kjs/protect.h:
        * ForwardingHeaders/wtf/AlwaysInline.h:
        * ForwardingHeaders/wtf/Assertions.h:
        * ForwardingHeaders/wtf/FastMalloc.h:
        * ForwardingHeaders/wtf/GetPtr.h:
        * ForwardingHeaders/wtf/HashCountedSet.h:
        * ForwardingHeaders/wtf/HashMap.h:
        * ForwardingHeaders/wtf/HashSet.h:
        * ForwardingHeaders/wtf/HashTraits.h:
        * ForwardingHeaders/wtf/MathExtras.h:
        * ForwardingHeaders/wtf/Noncopyable.h:
        * ForwardingHeaders/wtf/OwnArrayPtr.h:
        * ForwardingHeaders/wtf/OwnPtr.h:
        * ForwardingHeaders/wtf/PassRefPtr.h:
        * ForwardingHeaders/wtf/Platform.h:
        * ForwardingHeaders/wtf/RefPtr.h:
        * ForwardingHeaders/wtf/Vector.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18108 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by Lars Knoll, comment out ICU dependency on Qt platform (unused code).
staikos [Sat, 9 Dec 2006 22:40:10 +0000 (22:40 +0000)]
    Patch by Lars Knoll, comment out ICU dependency on Qt platform (unused code).

        Reviewed by Darin.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18107 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Darin.
rwlbuis [Sat, 9 Dec 2006 17:22:13 +0000 (17:22 +0000)]
    Reviewed by Darin.

        Investigate possibility to share code between HTMLStyleElement and SVGStyleElement

        Add a class shared by both HTMLStyleElement and SVGStyleElement that
        encapsulates the common logic.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18106 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix WebKit forwarding headers for mac.
hyatt [Sat, 9 Dec 2006 08:52:11 +0000 (08:52 +0000)]
Fix WebKit forwarding headers for mac.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18105 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoUpdate forwarding headers in WebCore to reflect wtf/unicode/icu dir structure.
hyatt [Sat, 9 Dec 2006 08:35:46 +0000 (08:35 +0000)]
Update forwarding headers in WebCore to reflect wtf/unicode/icu dir structure.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18104 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix mac bustage (more still).
hyatt [Sat, 9 Dec 2006 08:34:27 +0000 (08:34 +0000)]
Fix mac bustage (more still).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18103 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix mac bustage (maybe).
hyatt [Sat, 9 Dec 2006 08:33:40 +0000 (08:33 +0000)]
Fix mac bustage (maybe).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18102 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix mac bustage (maybe).
hyatt [Sat, 9 Dec 2006 08:32:50 +0000 (08:32 +0000)]
Fix mac bustage (maybe).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18101 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix mac bustage (maybe).
hyatt [Sat, 9 Dec 2006 08:29:42 +0000 (08:29 +0000)]
Fix mac bustage (maybe).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18100 268f45cc-cd09-0410-ab3c-d52691b4dbfc