13 years ago Adds the WKAdvanceDefaultButtonPulseAnimation function.
timothy@apple.com [Wed, 27 Aug 2008 20:29:45 +0000 (20:29 +0000)]
    Adds the WKAdvanceDefaultButtonPulseAnimation function.

        <rdar://problem/6173530> Add Mac support for -webkit-appearance: default-button

        Reviewed by Adele Peterson.

        * WebKitSystemInterface.h: Added WKAdvanceDefaultButtonPulseAnimation.
        * libWebKitSystemInterfaceLeopard.a: Updated.
        * libWebKitSystemInterfaceTiger.a: Updated.

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

13 years agoWebCore:
beidson@apple.com [Wed, 27 Aug 2008 19:59:55 +0000 (19:59 +0000)]

2008-08-27  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders

        <rdar://problem/6134133> - Crash when loading large movie as a standalone document

        We hand off these loads to Quicktime which manages and spools the data itself, but we also continued
        to load and buffer the data for the movie in WebCore.  With large media files, this results in blowing
        away the virtual address space and a crash.

        * loader/EmptyClients.h:
        * loader/FrameLoaderClient.h:  Added client method to get platform specific error for
          "plugin will handle load"

        * loader/MediaDocument.cpp:
        (WebCore::MediaTokenizer::createDocumentStructure): Tell the MainResourceLoader to not buffer data,
          and cancel the WebCore-managed load


2008-08-27  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders

        <rdar://problem/6134133> - Crash when loading large movie as a standalone document

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::pluginWillHandleLoadError): Stubbed for now
        * WebCoreSupport/FrameLoaderClientGtk.h:


2008-08-27  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders

        <rdar://problem/6134133> - Crash when loading large movie as a standalone document

        * WebCoreSupport/WebFrameLoaderClient.h:
        * WebCoreSupport/WebFrameLoaderClient.mm:


2008-08-27  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders

        <rdar://problem/6134133> - Crash when loading large movie as a standalone document

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError): Stubbed for now
        * WebCoreSupport/FrameLoaderClientQt.h:


2008-08-27  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders

        <rdar://problem/6134133> - Crash when loading large movie as a standalone document

        * WebFrame.cpp:
        * WebFrame.h:

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

13 years ago2008-08-26 Alice Liu <alice.liu@apple.com>
alice.liu@apple.com [Wed, 27 Aug 2008 19:47:43 +0000 (19:47 +0000)]
2008-08-26  Alice Liu  <alice.liu@apple.com>

        Implement COMPropertyBag::GetPropertyInfo
        and a variant setter for type int

        Reviewed by Anders Carlsson.

        * COMPropertyBag.h:
        * COMVariantSetter.h:

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

13 years ago2008-08-26 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 27 Aug 2008 18:19:55 +0000 (18:19 +0000)]
2008-08-26  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Eric Seidel

        Linear timing functions should have control points 0, 0, 1, 1.

        * css/CSSStyleSelector.cpp:
        * rendering/style/RenderStyle.h:

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

13 years ago Windows build fix
aroben@apple.com [Wed, 27 Aug 2008 14:52:17 +0000 (14:52 +0000)]
    Windows build fix

        * WebCore.vcproj/WebCore.vcproj: Fix file extension.

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

13 years ago2008-08-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 27 Aug 2008 00:14:51 +0000 (00:14 +0000)]
2008-08-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Test for https://bugs.webkit.org/show_bug.cgi?id=20456

        * http/tests/security/object-literals-expected.txt: Added.
        * http/tests/security/object-literals.html: Added.
        * http/tests/security/resources/object-literals-cross-origin.html: Added.
        * http/tests/security/resources/object-literals-same-origin.html: Added.

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

13 years agoJavaScriptCore:
kmccullough@apple.com [Tue, 26 Aug 2008 23:47:17 +0000 (23:47 +0000)]

2008-08-26  Kevin McCullough  <kmccullough@apple.com>

        Reviewed by Geoff and Cameron.

        <rdar://problem/6174603> Hitting assertion in Register::codeBlock when
        loading facebook (20516).

        - This was a result of my line numbers change.  After a host function is
        called the stack does not get reset correctly.
        - Oddly this also appears to be a slight speedup on SunSpider.

        * VM/Machine.cpp:


2008-08-26  Kevin McCullough  <kmccullough@apple.com>

        Reviewed by Geoff and Cameron.

        <rdar://problem/6174603> Hitting assertion in Register::codeBlock when
        loading facebook (20516).

        - This was a result of my line numbers change.  After a host function is
        called the stack does not get reset correctly.
        - Oddly this also appears to be a slight speedup on SunSpider.

        * fast/js/resources/stack-unwinding.js: Added.
        * fast/js/stack-unwinding-expected.txt: Added.
        * fast/js/stack-unwinding.html: Added.

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

13 years ago<rdar://problem/6069462> REGRESSION: webkit is returning flash objects as AXUnknown
cfleizach@apple.com [Tue, 26 Aug 2008 22:56:03 +0000 (22:56 +0000)]
<rdar://problem/6069462> REGRESSION: webkit is returning flash objects as AXUnknown

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

13 years ago<rdar://problem/5817770> can't bring up contextual menu for embedded objects
cfleizach@apple.com [Tue, 26 Aug 2008 22:43:22 +0000 (22:43 +0000)]
<rdar://problem/5817770> can't bring up contextual menu for embedded objects

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

13 years ago<rdar://problem/6176924> CrashTracer: [USER] 4 crashes in Safari at com.apple.WebCore...
cfleizach@apple.com [Tue, 26 Aug 2008 22:29:14 +0000 (22:29 +0000)]
<rdar://problem/6176924> CrashTracer: [USER] 4 crashes in Safari at com.apple.WebCore: WebCore::RenderTableSection::numColumns

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

13 years ago2008-08-26 Sam Weinig <sam@webkit.org>
weinig@apple.com [Tue, 26 Aug 2008 21:21:26 +0000 (21:21 +0000)]
2008-08-26  Sam Weinig  <sam@webkit.org>

        Reviewed by Beth Dakin.

        Fix typo.

        * dom/DOMCoreException.h:

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

13 years agoWebCore:
weinig@apple.com [Tue, 26 Aug 2008 19:56:54 +0000 (19:56 +0000)]

2008-08-26  Sam Weinig  <sam@webkit.org>

        Reviewed by Oliver Hunt.

        Fix https://bugs.webkit.org/show_bug.cgi?id=20479
        Take image redirects into account when tainting the canvas.

        Test: http/tests/security/canvas-remote-read-redirect-to-remote-image.html

        * html/CanvasRenderingContext2D.cpp:


2008-08-26  Sam Weinig  <sam@webkit.org>

        Reviewed by Oliver Hunt.

        Test for  https://bugs.webkit.org/show_bug.cgi?id=20479

        * http/tests/security/canvas-remote-read-redirect-to-remote-image-expected.txt: Added.
        * http/tests/security/canvas-remote-read-redirect-to-remote-image.html: Added.
        * http/tests/security/canvas-remote-read-svg-image-expected.txt:
        * http/tests/security/canvas-remote-read-svg-image.html: Fix incorrect log message.
        * http/tests/security/resources/redir.php: Added.

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

13 years ago2008-08-26 Sam Weinig <sam@webkit.org>
weinig@apple.com [Tue, 26 Aug 2008 19:51:28 +0000 (19:51 +0000)]
2008-08-26  Sam Weinig  <sam@webkit.org>

        Reviewed by Darin Adler.

        Change canvas tainting logic to ask the image if it contains
        any resources outside of its own origin. Since there is no
        way to determine if SVG images contain any resources outside its
        origin, we always assume it does.

        * html/CanvasRenderingContext2D.cpp:
        * platform/graphics/BitmapImage.h:
        * platform/graphics/GeneratedImage.h:
        * platform/graphics/Image.h:
        * platform/graphics/cg/PDFDocumentImage.h:
        * svg/graphics/SVGImage.h:

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

13 years ago2008-08-26 Maxime Britto <britto@apple.com>
britto@apple.com [Tue, 26 Aug 2008 17:51:03 +0000 (17:51 +0000)]
2008-08-26  Maxime Britto  <britto@apple.com>

        Reviewed by Adele.

        <rdar://6159244> Pan-scrolling does not work on particular sites (starmagazine.com, nytimes.com)
        This patch fixes the issues and modify the behavior of the panscroll by allowing it to jump to a parent layer when it reaches the end of its scrollable area.
        This is matching the behavior of the mouse wheel when trying to scroll in a smaller layer of the page (div, textarea, ...) and when we reach the edge and keep scrolling then the whole page scrolls.

        * page/EventHandler.cpp:
        (WebCore::EventHandler::updateAutoscrollRenderer): if we switch to the parent layer to do the scroll we want to change the renderer for the panning
        * page/EventHandler.h:
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::panScrollFromPoint): now calls the scrollByRecursively method when it has computed the xDelta and yDelta
        (WebCore::RenderLayer::scrollByRecursively): try to scroll the current layer by the xDelta and yDelta provided, if it can't it ask its parent layer to do so.
        * rendering/RenderLayer.h:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::canBeProgramaticallyScrolled): a RenderObject must have a RenderLayer to be programatically scrolled
        (WebCore::RenderObject::autoscroll): No need to check for the layer anymore since we verify it's present in the upmentionned method
        (WebCore::RenderObject::panScroll): No need to check for the layer anymore too.

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

13 years ago Disable a truncation warning that is disabled/doesn't exist on Mac
aroben@apple.com [Tue, 26 Aug 2008 16:07:16 +0000 (16:07 +0000)]
    Disable a truncation warning that is disabled/doesn't exist on Mac

        This warning was firing when initializing floats from double literals.
        I haven't yet found any other situation that would cause this warning
        to arise.

        Reviewed by Sam Weinig.

        * win/tools/vsprops/common.vsprops: Turn off warning C4305.

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

13 years agoWebCore:
jchaffraix@webkit.org [Tue, 26 Aug 2008 10:27:33 +0000 (10:27 +0000)]

2008-08-25  Julien Chaffraix  <jchaffraix@webkit.org>

        Reviewed by Darin.

        Bug 20247: setAttributeNode() does not work when attribute name has a capital letter in it


        Add a boolean parameter to getAttributeItem to choose between case sensitive and case insensitive
        check. This keeps the behaviour for setAttribute / hasAttribute (case sensitive) and getAttribute
        (case insensitive for HTML elements).

        Test: fast/dom/Element/getAttribute-check-case-sensitivity.html

        * dom/Element.cpp:
        * dom/NamedAttrMap.cpp:
        * dom/NamedAttrMap.h:


2008-08-25  Julien Chaffraix  <jchaffraix@webkit.org>

        Reviewed by Darin.

        Test case for Bug 20247: setAttributeNode() does not work when attribute name
        has a capital letter in it


        Most of this test case was done by Eric Roman <minatoar@gmail.com>, the rest by ap and was
        tweaked by me.

        * fast/dom/Element/getAttribute-check-case-sensitivity-expected.txt: Added.
        * fast/dom/Element/getAttribute-check-case-sensitivity.html: Added.
        * fast/dom/Element/resources/getAttribute-check-case-sensitivity.js: Added.

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

13 years ago Reviewed by Geoff and Tim.
ap@webkit.org [Tue, 26 Aug 2008 07:05:33 +0000 (07:05 +0000)]
    Reviewed by Geoff and Tim.

        Export new API methods.

        * JavaScriptCore.exp:

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

13 years agoModernize the bug reporting guidelines and make them a little less Mac-specific.
mrowe@apple.com [Tue, 26 Aug 2008 07:00:48 +0000 (07:00 +0000)]
Modernize the bug reporting guidelines and make them a little less Mac-specific.

Reviewed by Dan Bernstein.

* quality/bugwriting.html:

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

13 years agoWebCore:
weinig@apple.com [Tue, 26 Aug 2008 04:19:07 +0000 (04:19 +0000)]

2008-08-25  Sam Weinig  <sam@webkit.org>

        Reviewed by Oliver Hunt.

        Fix for https://bugs.webkit.org/show_bug.cgi?id=20514
        Treat SVG images as dirty when drawing to a canvas.

        Test: http/tests/security/canvas-remote-read-svg-image.html

        * html/CanvasRenderingContext2D.cpp:
        * platform/graphics/Image.h:
        * svg/graphics/SVGImage.h:


2008-08-25  Sam Weinig  <sam@webkit.org>

        Reviewed by Oliver Hunt.

        Test for https://bugs.webkit.org/show_bug.cgi?id=20514

        * http/tests/security/canvas-remote-read-svg-image-expected.txt: Added.
        * http/tests/security/canvas-remote-read-svg-image.html: Added.
        * http/tests/security/resources/image-wrapper.svg: Added.

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

13 years ago2008-08-25 Sam Weinig <sam@webkit.org>
weinig@apple.com [Tue, 26 Aug 2008 01:52:51 +0000 (01:52 +0000)]
2008-08-25  Sam Weinig  <sam@webkit.org>

        Reviewed by Mark Rowe.

        Fix https://bugs.webkit.org/show_bug.cgi?id=20377
        Leak in XMLHttpRequest.

        * xml/XMLHttpRequest.cpp:

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

13 years ago Build fix. Copy correct version of ICU.
sfalken@apple.com [Tue, 26 Aug 2008 00:59:02 +0000 (00:59 +0000)]
    Build fix. Copy correct version of ICU.

        * DumpRenderTree/win/DumpRenderTree.vcproj:

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

13 years ago2008-08-25 Brady Eidson <beidson@apple.com>
beidson@apple.com [Mon, 25 Aug 2008 21:48:56 +0000 (21:48 +0000)]
2008-08-25  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders

        Speculative fix for <rdar://problem/6173217>

        Moves the "clearArchivedResources()" call to exactly where it used to be in the old version of WebArchive code.
        Also, adds a null check for m_documentLoader since DocumentLoader::stopLoading() can end up clearing it, rendering
        the first null check invalid.

        * loader/FrameLoader.cpp:

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

13 years ago2008-08-25 Kevin McCullough <kmccullough@apple.com>
kmccullough@apple.com [Mon, 25 Aug 2008 21:28:40 +0000 (21:28 +0000)]
2008-08-25  Kevin McCullough  <kmccullough@apple.com>

        Reviewed by Tim.

        <rdar://problem/6157711> Heavy/Tree view selector is not grayed out if
        there is no profile, can cause crash

        * page/inspector/ProfilesPanel.js:

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

13 years ago2008-08-25 Dean Jackson <dino@apple.com>
dino@apple.com [Mon, 25 Aug 2008 21:06:21 +0000 (21:06 +0000)]
2008-08-25  Dean Jackson  <dino@apple.com>

        Reviewed by Dave Hyatt

        Make sure 'inherit' is handled by transition property.

        Test: transitions/inherit.html
        Test: transitions/inherit-other-props.html

        * css/CSSStyleSelector.cpp:
          fix macro to check existence of list before getting size

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

13 years ago2008-08-25 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 25 Aug 2008 20:56:21 +0000 (20:56 +0000)]
2008-08-25  Anders Carlsson  <andersca@apple.com>

        Reviewed by Mark.

        <rdar://problem/6149787> crash @ com.apple.JavaScriptCore: WTF::callOnMainThread + 37.

        Initialize threading in the call to WebCoreObjCFinalizeOnMainThread. We currently assume
        (safely) that any class that needs finalization on the main thread will also need to be deallocated
        on the main thread, and calling initializeThreading from WebCoreObjCFinalizeOnMainThread instead of
        calling it from WebCoreObjCScheduleDeallocateOnMainThread seems safer.

        * platform/mac/WebCoreObjCExtras.c:

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

13 years ago2008-08-25 Antti Koivisto <antti@apple.com>
antti@apple.com [Mon, 25 Aug 2008 20:41:11 +0000 (20:41 +0000)]
2008-08-25  Antti Koivisto  <antti@apple.com>

        Reviewed by Dan Bernstein.

        Rename CachedResource::referenced() to CachedResource::hasClients() to
        match previous ref() -> addClient() rename.

        * loader/Cache.cpp:
        * loader/CachedResource.cpp:
        * loader/CachedResource.h:

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

13 years ago Fix an assertion when showing the Web Inspector
aroben@apple.com [Mon, 25 Aug 2008 19:53:57 +0000 (19:53 +0000)]
    Fix an assertion when showing the Web Inspector

        Reviewed by Kevin McCullough.

        * WebCoreSupport/WebInspectorClient.cpp:
        Recent code changes have caused these functions to get called even
        when the window is already attached/detached, respectively. Handle
        this case gracefully instead of asserting something that is no longer

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

13 years ago Add a missing Inspector localized string for "other".
timothy@apple.com [Mon, 25 Aug 2008 18:33:05 +0000 (18:33 +0000)]
    Add a missing Inspector localized string for "other".


        Reviewed by Tim Hatcher.

        * English.lproj/localizedStrings.js:

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

13 years agoJavaScriptCore:
kmccullough@apple.com [Mon, 25 Aug 2008 18:18:01 +0000 (18:18 +0000)]

2008-08-25  Kevin McCullough  <kmccullough@apple.com>

        Reviewed by Geoff, Tim and Mark.

        <rdar://problem/6150623> JSProfiler: It would be nice if the profiles
        in the console said what file and line number they came from
        - Lay the foundation for getting line numbers and other data from the
        JavaScript engine.  With the cleanup in kjs/ExecState this is actually
        a slight performance improvement.

        * JavaScriptCore.exp: Export retrieveLastCaller() for WebCore.
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * VM/Machine.cpp: Now Host and JS functions set a call frame on the
        exec state, so this and the profiler code were pulled out of the
        (KJS::Machine::retrieveLastCaller): This get's the lineNumber, sourceID
        and sourceURL for the previously called function.
        * VM/Machine.h:
        * kjs/ExecState.cpp: Remove references to JSFunction since it's not used
        * kjs/ExecState.h:


2008-08-22  Kevin McCullough  <kmccullough@apple.com>

        Reviewed by Geoff, Mark and Tim.

        <rdar://problem/6150623> JSProfiler: It would be nice if the profiles
        in the console said what file and line number they came from
        - Lay the foundation for getting line numbers and other data from the
        JavaScript engine.

        * ForwardingHeaders/VM: Added.
        * ForwardingHeaders/VM/Machine.h: Added.
        * page/Console.cpp: Gather the line number and file information when
        profileEnd has been called, but don't use it until didFinishProfiling is
        called.  We won't need to wait once we remove the profiler "zombie" mode
        which this patch helps pave the foundation for.
        * page/Console.h:
        * page/InspectorController.cpp: Modify calls to
        addProfileMessageToConsole to satisfy the new arguments it takes.
        * page/InspectorController.h:

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

13 years ago Reviewed by Darin.
ap@webkit.org [Mon, 25 Aug 2008 12:40:20 +0000 (12:40 +0000)]
    Reviewed by Darin.

        Ensure that JSGlobalContextRelease() performs garbage collection, even if there are other
        contexts in the current context's group.

        This is only really necessary when the last reference is released, but there is no way to
        determine that, and no harm in collecting slightly more often.

        * API/JSContextRef.cpp: (JSGlobalContextRelease): Explicitly collect the heap if it is not
        being destroyed.

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

13 years ago2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
hausmann@webkit.org [Mon, 25 Aug 2008 10:08:41 +0000 (10:08 +0000)]
2008-08-25  Holger Hans Peter Freyther  <zecke@selfish.org>

        Reviewed by Simon.

        [run-webkit-tests] Use QtLauncher to show the results of the tests
        konqueror might not be installed, xdg-open might not be installed but the
        QtLauncher should be present.

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

13 years ago2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
hausmann@webkit.org [Mon, 25 Aug 2008 10:06:53 +0000 (10:06 +0000)]
2008-08-25  Holger Hans Peter Freyther  <zecke@selfish.org>

        Reviewed by Simon.

        [inspector] Update the WebKit.qrc Qt resources file
        Catchup with the changes in the directory.

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

13 years ago[inspector] Emit signals from attachWindow and detachWindow in the Qt platform
hausmann@webkit.org [Mon, 25 Aug 2008 10:06:39 +0000 (10:06 +0000)]
[inspector] Emit signals from attachWindow and detachWindow in the Qt platform
    Allow the user of the API to honor the attachWindow and detachWindow
    requests and attach the QWebPage/QWebView wherever it is wanted. This needs
    some more API in QWebPage to be properly exposed.

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

13 years ago008-08-25 Dirk Schulze <vbs85@gmx.de>
hausmann@webkit.org [Mon, 25 Aug 2008 07:10:22 +0000 (07:10 +0000)]
008-08-25  Dirk Schulze  <vbs85@gmx.de>

        Reviewed by Simon.

        Transformed the radian to degree, to get rotate()
        in canvas work as expected.

        [Qt] Canvas.rotate() doesn't work

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

13 years ago2008-08-24 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Mon, 25 Aug 2008 05:43:33 +0000 (05:43 +0000)]
2008-08-24  Steve Falkenburg  <sfalken@apple.com>

        Add a "last chance" WM_TIMER to the Windows shared timer.

        The last chance timer fires every 5 seconds to run any lost WM_TIMER based timers.
        Failure to fire a timer is fatal to the cross-platform Timer code, since it won't re-schedule
        timers if a timer with an earlier expiration is already pending. This results in no timers
        firing from that point on.

        We lose WM_TIMER messages occasionally (in the neighborhood of 1 per hour) probably due to a
        buggy window message hook.

        This timer will start when the first WM_TIMER is scheduled, and will
        fire every 5 seconds thereafter, causing any lost timers to be fired.

        Found this via one of its symptoms: leaking WebFrames. The fix prevents timers from stalling
        and prevents the WebFrame leak.

        Reviewed by Darin Adler, Geoff Garen.

        * platform/win/SharedTimerWin.cpp:

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

13 years ago2008-08-24 Cameron Zwarich <cwzwarich@uwaterloo.ca>
cwzwarich@webkit.org [Mon, 25 Aug 2008 04:08:01 +0000 (04:08 +0000)]
2008-08-24  Cameron Zwarich  <cwzwarich@uwaterloo.ca>

        Reviewed by Oliver Hunt.

        Bug 20093: JSC shell does not clear exceptions after it executes toString on an expression

        Clear exceptions after evaluating any code in the JSC shell. We do not
        report exceptions that are caused by calling toString on the final
        valued, but at least we avoid incorrect behaviour.

        Also, print any exceptions that occurred while evaluating code at the
        interactive prompt, not just while evaluating code from a file.

        * kjs/Shell.cpp:

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

13 years agoWebCore:
mitz@apple.com [Mon, 25 Aug 2008 03:22:44 +0000 (03:22 +0000)]

        Reviewed by Darin Adler.

        - fix <rdar://problem/6065547> REGRESSION (r34879): "Subject" in unread emails in Yahoo mail is not shown in bold

        Test: fast/css/font-property-priority.html

        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseValue): Changed to pass the 'important' flag
        to the font-property-parsing functions.
        (WebCore::CSSParser::parseFontStyle): Added an 'important' argument and
        changed to use it rather than the m_important member.
        (WebCore::CSSParser::parseFontVariant): Ditto.
        (WebCore::CSSParser::parseFontWeight): Ditto.
        * css/CSSParser.h:


        Reviewed by Darin Adler.

        - test for <rdar://problem/6065547> REGRESSION (r34879): "Subject" in unread emails in Yahoo mail is not shown in bold

        * fast/css/font-property-priority-expected.txt: Added.
        * fast/css/font-property-priority.html: Added.

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

13 years ago2008-08-24 Beth Dakin <bdakin@apple.com>
bdakin@apple.com [Mon, 25 Aug 2008 01:27:53 +0000 (01:27 +0000)]
2008-08-24  Beth Dakin  <bdakin@apple.com>

        Reviewed by John Sullivan.

        Provide the excludeFromTextSearch SPI on Windows as well.

        * Interfaces/IWebFrame.idl:
        * WebFrame.cpp:
        * WebFrame.h:

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

13 years ago Fixes a bug where the Inspector's UI would not animate or
timothy@apple.com [Sun, 24 Aug 2008 22:28:44 +0000 (22:28 +0000)]
    Fixes a bug where the Inspector's UI would not animate or
        fully function because JavaScript timeouts, intervals and
        CSS animation timers where not firing while paused at a
        a breakpoint in the inspected page.


        Reviewed by Darin Adler.

        Test: manual-tests/inspector/forzen-ui-while-paused.html

        * page/JavaScriptDebugServer.cpp:
        Add a call to TimerBase::fireTimersInNestedEventLoop before
        spinning the EventLoop.

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

13 years ago2008-08-24 Cameron Zwarich <cwzwarich@uwaterloo.ca>
cwzwarich@webkit.org [Sun, 24 Aug 2008 21:30:40 +0000 (21:30 +0000)]
2008-08-24  Cameron Zwarich  <cwzwarich@uwaterloo.ca>

        Reviewed by Oliver.

        Remove an unnecessary RefPtr to a RegisterID.

        * kjs/nodes.cpp:

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

13 years ago Reviewed by Sam Weinig.
rwlbuis@webkit.org [Sun, 24 Aug 2008 18:07:32 +0000 (18:07 +0000)]
    Reviewed by Sam Weinig.

        A change in SVG Glyph wont show up

        Invalidate the glyph cache when the d attribute is set.

        Test: svg/custom/glyph-setting-d-attribute.svg

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

13 years ago2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
jhoneycutt@apple.com [Sun, 24 Aug 2008 12:59:03 +0000 (12:59 +0000)]
2008-08-24  Jon Honeycutt  <jhoneycutt@apple.com>

        Cannot get the focused accessible object from the root object.

        AccessibleBase::get_AccFocus() checks whether the focused object is a
        child of the current object, but
        http://msdn.microsoft.com/en-us/library/ms696150(VS.85).aspx states that
        the result is the object itself, if it has focus, or a child object of
        the active window, not a child of the object.

        Reviewed by Sam Weinig.

        * AccessibleBase.cpp:
        (AccessibleBase::get_accFocus): Don't check whether the focused object
        is our child.

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

13 years ago2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
jhoneycutt@apple.com [Sun, 24 Aug 2008 12:56:21 +0000 (12:56 +0000)]
2008-08-24  Jon Honeycutt  <jhoneycutt@apple.com>

        Initial support for accessibility layout tests on Windows.

        Reviewed by Sam Weinig.

        * DumpRenderTree/AccessibilityController.h: Fix typos.
        * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
        * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
        prevent oleacc.h, which includes windows.h, from including winsock.h.
        Fixed typos.
        * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
        (AccessibilityController::focusedElement): Get the root element, and
        request its focused object.
        (AccessibilityController::rootElement): Query Windows for the
        accessible client object for the WebView's window.
        * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
        (AccessibilityUIElement::getLinkedUIElements): Not implemented.
        (AccessibilityUIElement::getChildren): Get the child count, and append
        each child.
        (AccessibilityUIElement::getChildAtIndex): Get the child at the given
        index offset by 1. In MSAA, child 0 is the object itself.
        (AccessibilityUIElement::allAttributes): Not implemented.
        (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
        (AccessibilityUIElement::attributesOfChildren): Same.
        (AccessibilityUIElement::parameterizedAttributeNames): Same.
        (self): Return a VARIANT representing the "self" object. This is used
        when calling methods that require a child variant.
        (AccessibilityUIElement::role): Get the MSAA role, a long value, and
        convert it into a string with GetRoleText().
        (AccessibilityUIElement::title): Get the element's title, and convert
        it to a JS String.
        (AccessibilityUIElement::description): Same, for description.
        (AccessibilityUIElement::intValue): Get the object's value as a string,
        and convert the string to a double.
        (AccessibilityUIElement::minValue): Not implemented.
        (AccessibilityUIElement::maxValue): Same.
        (AccessibilityUIElement::insertionPointLineNumber): Same.
        (AccessibilityUIElement::attributesOfColumnHeaders): Same.
        (AccessibilityUIElement::attributesOfRowHeaders): Same.
        (AccessibilityUIElement::attributesOfColumns): Same.
        (AccessibilityUIElement::attributesOfRows): Same.
        (AccessibilityUIElement::attributesOfVisibleCells): Same.
        (AccessibilityUIElement::attributesOfHeader): Same.
        (AccessibilityUIElement::indexInTable): Same.
        (AccessibilityUIElement::rowIndexRange): Same.
        (AccessibilityUIElement::columnIndexRange): Same.
        (AccessibilityUIElement::lineForIndex): Same.
        (AccessibilityUIElement::boundsForRange): Same.
        (AccessibilityUIElement::cellForColumnAndRow): Same.
        * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
        project.  Link to oleacc.lib, the MSAA library.
        * DumpRenderTree/win/FrameLoadDelegate.cpp:
        (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
        (FrameLoadDelegate::didClearWindowObject): Create a new window object
        for the accessibility controller.
        * DumpRenderTree/win/FrameLoadDelegate.h:

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

13 years ago Reviewed by Sam Weinig.
mitz@apple.com [Sun, 24 Aug 2008 09:18:39 +0000 (09:18 +0000)]
    Reviewed by Sam Weinig.

        - fix https://bugs.webkit.org/show_bug.cgi?id=13864
          <rdar://problem/5451470> REGRESSION: Uninitialized value in RenderBlock::calcInlinePrefWidths()

        * rendering/RenderText.cpp:
        (WebCore::RenderText::trimmedPrefWidths): Moved the assignment to
        beginWS and endWS before the early return to ensure that they are
        initialized in that case.

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

13 years agoUse the correct version number for when JSGlobalContextCreate was introduced.
mrowe@apple.com [Sun, 24 Aug 2008 08:35:21 +0000 (08:35 +0000)]
Use the correct version number for when JSGlobalContextCreate was introduced.

Reviewed by Oliver Hunt.

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

13 years ago2008-08-23 Cameron Zwarich <cwzwarich@uwaterloo.ca>
cwzwarich@webkit.org [Sat, 23 Aug 2008 08:16:54 +0000 (08:16 +0000)]
2008-08-23  Cameron Zwarich  <cwzwarich@uwaterloo.ca>

        Rubber-stamped by Mark Rowe.

        Remove modelines.


        * API/APICast.h:
        * API/JSBase.cpp:
        * API/JSCallbackConstructor.cpp:
        * API/JSCallbackConstructor.h:
        * API/JSCallbackFunction.cpp:
        * API/JSCallbackFunction.h:
        * API/JSCallbackObject.cpp:
        * API/JSCallbackObject.h:
        * API/JSCallbackObjectFunctions.h:
        * API/JSClassRef.cpp:
        * API/JSContextRef.cpp:
        * API/JSObjectRef.cpp:
        * API/JSProfilerPrivate.cpp:
        * API/JSStringRef.cpp:
        * API/JSStringRefBSTR.cpp:
        * API/JSStringRefCF.cpp:
        * API/JSValueRef.cpp:
        * API/tests/JSNode.c:
        * API/tests/JSNode.h:
        * API/tests/JSNodeList.c:
        * API/tests/JSNodeList.h:
        * API/tests/Node.c:
        * API/tests/Node.h:
        * API/tests/NodeList.c:
        * API/tests/NodeList.h:
        * API/tests/minidom.c:
        * API/tests/minidom.js:
        * API/tests/testapi.c:
        * API/tests/testapi.js:
        * JavaScriptCore.pro:
        * kjs/FunctionConstructor.h:
        * kjs/FunctionPrototype.h:
        * kjs/JSArray.h:
        * kjs/JSString.h:
        * kjs/JSWrapperObject.cpp:
        * kjs/NumberConstructor.h:
        * kjs/NumberObject.h:
        * kjs/NumberPrototype.h:
        * kjs/lexer.h:
        * kjs/lookup.h:
        * wtf/Assertions.cpp:
        * wtf/Assertions.h:
        * wtf/HashCountedSet.h:
        * wtf/HashFunctions.h:
        * wtf/HashIterators.h:
        * wtf/HashMap.h:
        * wtf/HashSet.h:
        * wtf/HashTable.h:
        * wtf/HashTraits.h:
        * wtf/ListHashSet.h:
        * wtf/ListRefPtr.h:
        * wtf/Noncopyable.h:
        * wtf/OwnArrayPtr.h:
        * wtf/OwnPtr.h:
        * wtf/PassRefPtr.h:
        * wtf/Platform.h:
        * wtf/RefPtr.h:
        * wtf/RefPtrHashMap.h:
        * wtf/RetainPtr.h:
        * wtf/UnusedParam.h:
        * wtf/Vector.h:
        * wtf/VectorTraits.h:
        * wtf/unicode/Unicode.h:
        * wtf/unicode/icu/UnicodeIcu.h:


        * WebCore.pro:
        * bridge/testbindings.cpp:
        * dom/DocPtr.h:
        * loader/SubstituteData.h:
        * page/Chrome.cpp:
        * page/Chrome.h:
        * page/ChromeClient.h:
        * page/Frame.h:
        * page/FrameLoadRequest.h:
        * page/FrameTree.cpp:
        * page/FrameTree.h:
        * page/Page.h:
        * page/mac/ChromeMac.mm:
        * platform/network/HTTPHeaderMap.h:
        * platform/network/ResourceErrorBase.cpp:
        * platform/network/ResourceErrorBase.h:
        * platform/network/ResourceHandleInternal.h:
        * platform/network/ResourceRequestBase.cpp:
        * platform/network/ResourceRequestBase.h:
        * platform/network/ResourceResponseBase.cpp:
        * platform/network/ResourceResponseBase.h:
        * platform/network/cf/ResourceError.h:
        * platform/network/cf/ResourceRequest.h:
        * platform/network/cf/ResourceRequestCFNet.h:
        * platform/network/cf/ResourceResponse.h:
        * platform/network/cf/ResourceResponseCFNet.h:
        * platform/network/curl/ResourceError.h:
        * platform/network/curl/ResourceRequest.h:
        * platform/network/curl/ResourceResponse.h:
        * platform/network/mac/ResourceError.h:
        * platform/network/mac/ResourceErrorMac.mm:
        * platform/network/mac/ResourceRequest.h:
        * platform/network/mac/ResourceRequestMac.mm:
        * platform/network/mac/ResourceResponse.h:
        * platform/network/mac/ResourceResponseMac.mm:
        * platform/network/qt/ResourceError.h:
        * platform/network/qt/ResourceRequest.h:
        * platform/network/qt/ResourceResponse.h:
        * platform/network/soup/CookieJarSoup.cpp:
        * platform/network/soup/ResourceError.h:
        * platform/network/soup/ResourceRequest.h:
        * platform/network/soup/ResourceResponse.h:

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

13 years agoWebCore:
mitz@apple.com [Sat, 23 Aug 2008 07:16:41 +0000 (07:16 +0000)]

        Reviewed by Dave Hyatt.

        - fix <rdar://problem/6065143> Reflowed image in first line of table doesn't affect baseline

        Test: fast/table/vertical-align-baseline.html

        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::getBaselineOfFirstLineBox): Added. Returns the
        baseline of the first table row, if there is one, -1 otherwise.
        * rendering/RenderTable.h:
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::baselinePosition): Changed to follow the
        CSS2.1 definition of the baseline of a table cell.
        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::getBaselineOfFirstLineBox): Added. Returns
        the baseline of the first row in the section.
        * rendering/RenderTableSection.h:


        Reviewed by Dave Hyatt.

        - test and updated results for <rdar://problem/6065143> Reflowed image in first line of table doesn't affect baseline

        * fast/table/vertical-align-baseline.html: Added.
        * platform/mac/fast/table/form-with-table-style-expected.checksum:
        * platform/mac/fast/table/form-with-table-style-expected.png:
        * platform/mac/fast/table/form-with-table-style-expected.txt:
        * platform/mac/fast/table/vertical-align-baseline-expected.checksum: Added.
        * platform/mac/fast/table/vertical-align-baseline-expected.png: Added.
        * platform/mac/fast/table/vertical-align-baseline-expected.txt: Added.
        * platform/mac/tables/mozilla/bugs/bug3037-1-expected.txt:
        * platform/mac/tables/mozilla_expected_failures/bugs/bug2479-5-expected.checksum:
        * platform/mac/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png:
        * platform/mac/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:

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

13 years ago2008-08-22 Cameron Zwarich <cwzwarich@uwaterloo.ca>
cwzwarich@webkit.org [Sat, 23 Aug 2008 03:17:17 +0000 (03:17 +0000)]
2008-08-22  Cameron Zwarich  <cwzwarich@uwaterloo.ca>

        Reviewed by Oliver.

        Some cleanup to match our coding style.

        * VM/CodeGenerator.h:
        * VM/Machine.cpp:
        * kjs/ExecState.cpp:
        * kjs/ExecState.h:
        * kjs/completion.h:
        * kjs/identifier.cpp:
        * kjs/operations.h:

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

13 years ago2008-08-18 Jon Honeycutt <jhoneycutt@apple.com>
jhoneycutt@apple.com [Fri, 22 Aug 2008 23:44:32 +0000 (23:44 +0000)]
2008-08-18  Jon Honeycutt  <jhoneycutt@apple.com>

        Add SPI to make a Windows WebView transparent.

        Reviewed by Dan Bernstein.

        * Interfaces/IWebViewPrivate.idl:
        * WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebFrameLoaderClient::transitionToCommittedForNewPage): Call
        updateBackground() when a new frame is attached, matching the Mac.
        * WebFrame.cpp:
        (WebFrame::updateBackground): Propagate WebView transparency to ourself
        and our child frames.
        * WebFrame.h:
        * WebView.cpp:
        (WebView::paintIntoBackingStore): Pass m_transparent when creating a
        GraphicsContext, so the context will be created with an alpha channel.
        * WebView.h:

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

13 years ago2008-08-12 Jon Honeycutt <jhoneycutt@apple.com>
jhoneycutt@apple.com [Fri, 22 Aug 2008 23:44:14 +0000 (23:44 +0000)]
2008-08-12  Jon Honeycutt  <jhoneycutt@apple.com>

        Add SPI to get a handle to the WebView's backing store bitmap.

        Reviewed by Dan Bernstein.

        * Interfaces/IWebViewPrivate.idl:
        * WebView.cpp:
        * WebView.h:

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

13 years ago Rolls out r35834 because it caused a regression in the Inspector's
timothy@apple.com [Fri, 22 Aug 2008 20:35:20 +0000 (20:35 +0000)]
    Rolls out r35834 because it caused a regression in the Inspector's
        Console where some expressions always threw a syntax error.


        * page/inspector/Console.js:
        (Console.prototype._evalInInspectedWindow): Removes parenthesis
        around the expression.

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

13 years ago2008-08-22 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 22 Aug 2008 19:39:36 +0000 (19:39 +0000)]
2008-08-22  Anders Carlsson  <andersca@apple.com>

        Fix build for real this time.

        * UserObjectImp.h:

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

13 years ago2008-08-22 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 22 Aug 2008 19:14:11 +0000 (19:14 +0000)]
2008-08-22  Anders Carlsson  <andersca@apple.com>

        Fix build.

        * UserObjectImp.cpp:
        * UserObjectImp.h:

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

13 years agoMakes getStyleProperty return a value for the overflow property when overflow-x and...
timothy@apple.com [Fri, 22 Aug 2008 18:39:52 +0000 (18:39 +0000)]
Makes getStyleProperty return a value for the overflow property when overflow-x and overflow-y are equal.


2008-08-22  Timothy Hatcher  <timothy@apple.com>

        Makes getStyleProperty return a value for the overflow property
        when overflow-x and overflow-y are equal.


        Reviewed by Dan Bernstein.

        Test: fast/css/overflow-property.html

        * css/CSSMutableStyleDeclaration.cpp:


2008-08-22  Timothy Hatcher  <timothy@apple.com>

        Test for the tests the parsing and retrieval of the overflow,
        overflow-x and overflow-y properties


        Reviewed by Dan Bernstein.

        * fast/css/overflow-property-expected.txt: Added.
        * fast/css/overflow-property.html: Added.

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

13 years ago Fixes a bug where while editing in the Inspector the
timothy@apple.com [Fri, 22 Aug 2008 18:39:42 +0000 (18:39 +0000)]
    Fixes a bug where while editing in the Inspector the
        sidebar scroll position would jump to the top.


        Reviewed by Darin Adler.

        * page/inspector/treeoutline.js:
        (TreeOutline._removeChildren): Remove the offsetTop call that
        was forcing a layout, since layout causes scroll positions
        to be clamped to the new scrollHeight/Width. Layout will happen
        normally when needed.

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

13 years ago Reviewed by Darin Adler
simon.fraser@apple.com [Fri, 22 Aug 2008 17:38:53 +0000 (17:38 +0000)]
    Reviewed by Darin Adler

        css3/transform-computed-style-001.html is better tested
        by fast/css/getComputedStyle-transform.html, so removed.

        * css3/transform-computed-style-001-expected.txt: Removed.
        * css3/transform-computed-style-001.fhtml: Removed.

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

13 years agowx build fix. Add AccessibilityTable sources.
kevino@webkit.org [Fri, 22 Aug 2008 16:25:52 +0000 (16:25 +0000)]
wx build fix. Add AccessibilityTable sources.

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

13 years agoWebCore:
mitz@apple.com [Fri, 22 Aug 2008 06:29:33 +0000 (06:29 +0000)]

        Reviewed by Jon Honeycutt and Alexey Proskuryakov.

        - fix <rdar://problem/6162701> WebKit should correct Geeza Pro's font metrics

        Test: platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html

        * platform/graphics/mac/SimpleFontDataMac.mm:
        (WebCore::SimpleFontData::platformInit): Add 8% to Geeza Pro's reported
        ascent and 100% to its reported descent.


        Reviewed by Jon Honeycutt and Alexey Proskuryakov.

        - test for <rdar://problem/6162701> WebKit should correct Geeza Pro's font metrics

        * platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.checksum: Added.
        * platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.png: Added.
        * platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt: Added.
        * platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html: Added.

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

13 years ago2008-08-21 Jonas Klink <klinktech@gmail.com>
mrowe@apple.com [Fri, 22 Aug 2008 02:20:13 +0000 (02:20 +0000)]
2008-08-21 Jonas Klink <klinktech@gmail.com>

        Reviewed by Jon Honeycutt.

        Fix https://bugs.webkit.org/show_bug.cgi?id=20231
        Bug 20231: accNavigate: no screen element found in the specified direction should return S_FALSE

        Per <http://msdn.microsoft.com/en-us/library/ms696145(VS.85).aspx>, we should return S_FALSE
        from accNavigate if no screen element is found in the specified direction.

        * AccessibleBase.cpp:

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

13 years ago2008-08-21 Jonas Klink <klinktech@gmail.com>
mrowe@apple.com [Fri, 22 Aug 2008 02:20:08 +0000 (02:20 +0000)]
2008-08-21 Jonas Klink <klinktech@gmail.com>

        Reviewed by Jon Honeycutt.

        Fix http://bugs.webkit.org/show_bug.cgi?id=20230
        Bug 20230: get_accState should be testing state on childObj

        Also initializes output parameter action to 0 in get_accDefaultAction.

        * AccessibleBase.cpp:

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

13 years agoFix bug number in ChangeLog.
mrowe@apple.com [Fri, 22 Aug 2008 02:10:15 +0000 (02:10 +0000)]
Fix bug number in ChangeLog.

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

13 years ago2008-08-21 Kalle Vahlman <kalle.vahlman@movial.com>
mrowe@apple.com [Fri, 22 Aug 2008 02:07:54 +0000 (02:07 +0000)]
2008-08-21  Kalle Vahlman  <kalle.vahlman@movial.com>

        Reviewed by Darin Adler.

        [GTK] Crash on some pages due to a plugin

        Fix handling of badly formatted and empty plugin mime descriptions

        * plugins/gtk/PluginPackageGtk.cpp:

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

13 years ago2008-08-21 Kevin Watters <kevinwatters@gmail.com>
mrowe@apple.com [Fri, 22 Aug 2008 02:07:48 +0000 (02:07 +0000)]
2008-08-21  Kevin Watters  <kevinwatters@gmail.com>

        Reviewed by Darin Adler.

        Follow other ports (and IE) in ImageSourceWx.cpp never to return an
        animated GIF frame duration of less than 50ms.

        * platform/graphics/wx/ImageSourceWx.cpp:

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

13 years ago2008-08-21 Maxime Britto <britto@apple.com>
britto@apple.com [Fri, 22 Aug 2008 00:39:39 +0000 (00:39 +0000)]
2008-08-21  Maxime Britto  <britto@apple.com>

        Reviewed by Kevin McCullough.

        Test: fast/events/autoscroll-nonscrollable-iframe-in-scrollable-div.html

        rdar://problem/6166435 Inspector doesn't auto scroll when selecting text (20451)
        When we climb up the rendering tree looking for a scrollable renderer, we need to be able to jump outside of an iframe.
        This way we can see if what is embedding the iframe can be scrolled even if the iframe content can't.

        * page/EventHandler.cpp:
        (WebCore::EventHandler::handleMouseDraggedEvent): when we reach the document node and it can't be scrolled we set the next parent as the document's owner element if it exists.

        (WebCore::EventHandler::handleMousePressEvent): ditto

2008-08-21  Maxime Britto  <britto@apple.com>

        Reviewed by Kevin McCullough.

        rdar://problem/6166435 Inspector doesn't auto scroll when selecting text (20451)

        This test can be run automatically or manually as well.

        * fast/events/autoscroll-nonscrollable-iframe-in-scrollable-div-expected.txt: Added.
        * fast/events/autoscroll-nonscrollable-iframe-in-scrollable-div.html: Added.
        * fast/events/resources/big-page-with-overflow-hidden.html: Added.

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

13 years ago Small optimization for when the dividers in the Inspector's
timothy@apple.com [Thu, 21 Aug 2008 23:54:01 +0000 (23:54 +0000)]
    Small optimization for when the dividers in the Inspector's
        Resources panel are updated.

        Reviewed by Tim Hatcher.

        * page/inspector/ResourcesPanel.js:
        Combind a for loop and clone the divider element.

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

13 years agoReviewed by Mark Rowe
simon.fraser@apple.com [Thu, 21 Aug 2008 23:44:56 +0000 (23:44 +0000)]
Reviewed by Mark Rowe

Make build-launcher-app work when run from a git repository.

* BuildSlaveSupport/build-launcher-app:

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

13 years ago2008-08-21 Chris Marrin <cmarrin@apple.com>
dino@apple.com [Thu, 21 Aug 2008 23:35:23 +0000 (23:35 +0000)]
2008-08-21  Chris Marrin  <cmarrin@apple.com>

        Allow 0 (without units) for Time eg. duration
        Fix for https://bugs.webkit.org/show_bug.cgi?id=20467

        Reviewed by Dave Hyatt.

        Test: css1/units/zero-duration-without-units.html

        * css/CSSParser.cpp:

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

13 years ago Make deleting all text while editing a DOM attribute in
timothy@apple.com [Thu, 21 Aug 2008 20:13:12 +0000 (20:13 +0000)]
    Make deleting all text while editing a DOM attribute in
        the Inspector delete the attribute. This also fixes
        an exception that would happen before.


        Reviewed by Kevin McCullough.

        * page/inspector/ElementsPanel.js:
        Don't check for hasAttributes on the parseElement, continuing
        through the function will correctly remove the attribute.
        If the parseElement is null, call _editingCancelled not
        editingCancelled, this fixes an exception.

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

13 years ago Update the Inspector's Metrics pane when editing in
timothy@apple.com [Thu, 21 Aug 2008 20:12:59 +0000 (20:12 +0000)]
    Update the Inspector's Metrics pane when editing in
        the Styles pane. This makes sure the metrics shown
        always match what the Styles pane shows.


        Reviewed by Kevin McCullough.

        * page/inspector/ElementsPanel.js:
        (WebInspector.ElementsPanel): Add event listeners for
        the "style edited" and "style property toggled" events,
        so the Metrics pane is updated.
        Update the Metrics pane.
        * page/inspector/StylesSidebarPane.js:
        Dispatch the "style property toggled" event.
        Dispatch the "style edited" event when the CSS text is restored.
        Dispatch the "style edited" event.

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

13 years ago Make the Inspector's Metrics sidebar pane editable.
timothy@apple.com [Thu, 21 Aug 2008 20:12:47 +0000 (20:12 +0000)]
    Make the Inspector's Metrics sidebar pane editable.


        Reviewed by Kevin McCullough.

        * page/inspector/ElementsPanel.js:
        (WebInspector.ElementsPanel): Add an event listener for
        the "metrics edited" event, so the Styles pane is updated.
        * page/inspector/MetricsSidebarPane.js:
        (WebInspector.MetricsSidebarPane.prototype.update): Remember the node
        so future updates work. Add a double click event listener for the
        metric values to start editing.
        Call WebInspector.startEditing with some context.
        Set the user input on the elements inline style. Fire the
        "metrics edited" event.

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

13 years ago Fix a race condition in Windows timer code.
sfalken@apple.com [Thu, 21 Aug 2008 18:42:44 +0000 (18:42 +0000)]
    Fix a race condition in Windows timer code.
        Timer function could end up being called with a 0 timer, leading to a Windows exception.

        Don't post a timer message if one is already pending.

        Reviewed by Ada Chan.

        * platform/win/SharedTimerWin.cpp:

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

13 years ago After trying to add the expression, try again with quotes for
timothy@apple.com [Thu, 21 Aug 2008 16:36:06 +0000 (16:36 +0000)]
    After trying to add the expression, try again with quotes for
        easier edition.


        Reviewed by Tim Hatcher.

        * page/inspector/ObjectPropertiesSection.js: Added an
        evaluateExpression function.

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

13 years ago Perform Inspector searches on search event to clear results when
timothy@apple.com [Thu, 21 Aug 2008 16:33:17 +0000 (16:33 +0000)]
    Perform Inspector searches on search event to clear results when
        clicking the cross to empty it. Delete the lastQuery when the field
        is emptied in order to perform the search if exactly the same query
        is entered next.


        Reviewed by Tim Hatcher.

        * page/inspector/inspector.js:

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

13 years ago2008-08-21 Marco Barisione <marco.barisione@collabora.co.uk>
jmalonzo@webkit.org [Thu, 21 Aug 2008 11:22:51 +0000 (11:22 +0000)]
2008-08-21  Marco Barisione  <marco.barisione@collabora.co.uk>

        Reviewed by Mark Rowe.

        [SOUP] The gio code should call didFail() instead of
        didFinishLoading() in case of error

        In case of error call didFail() instead of didReceiveResponse() and

        * platform/network/soup/ResourceHandleSoup.cpp:

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

13 years agoFix build failure.
mrowe@apple.com [Thu, 21 Aug 2008 06:52:42 +0000 (06:52 +0000)]
Fix build failure.

Reviewed by Jon Honeycutt.

* bridge/c/c_instance.cpp:
(KJS::Bindings::CInstance::getPropertyNames): Declare count as uint32_t rather than unsigned
as that is what NPEnumerationFunctionPtr is declared as accepting.

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

13 years agoAdd Anthony Ricaud's blog.
timothy@apple.com [Thu, 21 Aug 2008 05:03:21 +0000 (05:03 +0000)]
Add Anthony Ricaud's blog.

        Reviewed by Tim Hatcher.

        * config.ini: Add Anthony Ricaud's blog.

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

13 years agoBuild fix.
mrowe@apple.com [Thu, 21 Aug 2008 04:01:51 +0000 (04:01 +0000)]
Build fix.

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

13 years agoWebCore:
mitz@apple.com [Thu, 21 Aug 2008 00:33:29 +0000 (00:33 +0000)]

        Rubber-stamped by John Sullivan.

        - rename shouldUpdateWhileHidden to shouldUpdateWhileOffscreen and
          rename related methods and variables accordingly.

        * WebCore.base.exp:
        * page/FrameView.cpp:
        * page/FrameView.h:
        * platform/ScrollView.h:
        * platform/mac/ScrollViewMac.mm:


        Rubber-stamped by John Sullivan.

        - rename shouldUpdateWhileHidden to shouldUpdateWhileOffscreen,
          rename related methods and variables accordingly, and make
          -setShouldUpdateWhileOffscreen: and -shouldUpdateWhileOffscreen
          WebView API.

        * WebCoreSupport/WebFrameLoaderClient.mm:
        * WebView/WebFrame.mm:
        (-[WebFrame _updateBackgroundAndUpdatesWhileOffscreen]):
        * WebView/WebFrameInternal.h:
        * WebView/WebHTMLView.mm:
        (-[WebHTMLView windowWillOrderOnScreen:]):
        * WebView/WebView.h:
        * WebView/WebView.mm:
        (-[WebViewPrivate init]):
        (-[WebView setBackgroundColor:]):
        (-[WebView setDrawsBackground:]):
        (-[WebView setShouldUpdateWhileOffscreen:]):
        (-[WebView shouldUpdateWhileOffscreen]):
        * WebView/WebViewPrivate.h:

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

13 years ago2008-08-20 Brady Eidson <beidson@apple.com>
beidson@apple.com [Thu, 21 Aug 2008 00:13:12 +0000 (00:13 +0000)]
2008-08-20  Brady Eidson  <beidson@apple.com>

        Reviewed by Mitzpettel

        <rdar://problem/6163636> - Many images broken in Mail

        This can be traced back to the preload scanner.  With that change, CachedResources are created a lot
        sooner than before and confuse the WebArchive machinery.

        When referencing WebArchive subresources directly through the WebKit API it is appropriate to ignore
        such CachedResources since they are placeholders and have not been submitted to the ResourceLoadDelegate
        machinery and nothing is known about where the data will eventually come from.

        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::subresource):  Ignore a CachedResource if its preloadResult is

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

13 years agoSwitch to non-deprecated NSFileManager APIs.
mrowe@apple.com [Wed, 20 Aug 2008 23:20:55 +0000 (23:20 +0000)]
Switch to non-deprecated NSFileManager APIs.

In order to minimize #if's the new NSFileManager APIs have been implemented for
Tiger and call sites updated to use the new methods.

Reviewed by Darin Adler.

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

13 years ago Reviewed by Dave Hyatt
simon.fraser@apple.com [Wed, 20 Aug 2008 23:04:43 +0000 (23:04 +0000)]
    Reviewed by Dave Hyatt

        getComputedStyle() for webkitTransform should return a transform
        that does not have the transform origin baked into it.

        * fast/css/getComputedStyle-transform-expected.txt: Added.
        * fast/css/getComputedStyle-transform.html: Added.

        (Missed these test files on last commit)

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

13 years ago2008-08-20 Holger Hans Peter Freyther <zecke@selfish.org>
zecke@webkit.org [Wed, 20 Aug 2008 22:50:39 +0000 (22:50 +0000)]
2008-08-20  Holger Hans Peter Freyther  <zecke@selfish.org>

        Unreviewed compile fix

        Catch up with the JSValue::type elimination.

        * bridge/qt/qt_instance.cpp:
        * bridge/qt/qt_runtime.cpp:

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

13 years ago2008-08-20 Chris Teague <chris.teague@gmail.com>
mrowe@apple.com [Wed, 20 Aug 2008 22:15:53 +0000 (22:15 +0000)]
2008-08-20  Chris Teague  <chris.teague@gmail.com>

        Reviewed by Mark Rowe.

        Fix https://bugs.webkit.org/show_bug.cgi?id=20449
        Bug 20449: Build fails if LOW_BANDWIDTH_DISPLAY is defined

        * ChangeLog:
        * loader/FrameLoader.cpp:

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

13 years ago Reviewed by Dave Hyatt
simon.fraser@apple.com [Wed, 20 Aug 2008 21:57:22 +0000 (21:57 +0000)]
    Reviewed by Dave Hyatt

        getComputedStyle() for webkitTransform should return a transform
        that does not have the transform origin baked into it.

        Test: fast/css/getComputedStyle-transform.html

        * css/CSSComputedStyleDeclaration.cpp:
        * rendering/style/RenderStyle.cpp:
        * rendering/style/RenderStyle.h:

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

13 years agoWebCore:
andersca@apple.com [Wed, 20 Aug 2008 21:04:12 +0000 (21:04 +0000)]

2008-08-20  Josh Aas  <joshmoz@gmail.com>

        Reviewed and landed by Anders.

        rename NPCocoaEvent's "event" struct to "data" (20446)

        * bridge/npapi.h:


2008-08-20  Josh Aas  <joshmoz@gmail.com>

        Reviewed and landed by Anders.

        rename NPCocoaEvent's "event" struct to "data" (20446)

        * Plugins/WebNetscapePluginEventHandlerCocoa.mm:


2008-08-20  Josh Aas  <joshmoz@gmail.com>

        Reviewed and landed by Anders.

        rename NPCocoaEvent's "event" struct to "data" (20446)

        * NetscapeCocoaPlugin/main.m:

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

13 years agoWebCore:
bdakin@apple.com [Wed, 20 Aug 2008 20:46:28 +0000 (20:46 +0000)]

2008-08-20  Beth Dakin  <bdakin@apple.com>

        Reviewed by Darin.

        Fix for <rdar://problem/6145626>
        This patch fixes a number of remaining problems getting
        disconnected frames to work correctly with markAllMatchesForText()
        and findString(). Details inline.

        This was a static helper function in Frame, but this patch requires
        the same functionality in Editor, so I just added it as a function
        on Node.
        * dom/Node.cpp:
        * dom/Node.h:

        * editing/Editor.cpp:
        (WebCore::Editor::insideVisibleArea): Returns false if
        excludeFromTextSearch() is true.

        In a normal (non-disconnected) frame, findString returns a range of
        the document node if the text is not found in the frame. I changed
        firstVisibleRange and lastVisibleRange to match that behavior when
        the text is not found

        Here are the bulk of the changes in the patch. A lot of text was
        not being found in disconnected frames because I failed to account
        for all of the possible problems associated with shadow trees. That
        is fixed here.
        * editing/Editor.h:

        excludeFromTextSearch() is new. It allows a WebKit client to mark a
        frame as not-text-searchable through SPI.
        * WebCore.base.exp:
        * page/Frame.cpp:
        * page/Frame.h:
        * page/FramePrivate.h:

        (WebCore::Frame::markAllMatchesForText):  I kept running into an
        assertion failure in paining code because of the forced paint on
        empty visible rects.


2008-08-20  Beth Dakin  <bdakin@apple.com>

        Reviewed by Darin.

        Fix for <rdar://problem/6145626>
        Allows a WebKit client to mark a frame as not-text-searchable
        through SPI.

        * WebView/WebFrame.mm:
        (-[WebFrame _setExcludeFromTextSearch:]):
        * WebView/WebFramePrivate.h:

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

13 years ago Adds a positon box to the Inspector's Metrics sidebar
timothy@apple.com [Wed, 20 Aug 2008 19:10:54 +0000 (19:10 +0000)]
    Adds a positon box to the Inspector's Metrics sidebar
        pane. When an element is not statically positioned, there
        is now a position box that show top, right, bottom and
        left computed values.

        Reviewed by Kevin McCullough.

        * English.lproj/localizedStrings.js: Updated the strings.
        * page/inspector/MetricsSidebarPane.js:
        Renamed the boxPartValue function to createBoxPartElement
        and made it create the entire element. Made it understand
        how to get position style properties. Don't use the figure dash
        when 0px is used for positions, since the 0 is meaningful there.
        Instead use the figure dash when a position is auto.
        * page/inspector/inspector.css: Added a new rule for position.

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

13 years ago2008-08-20 Maxime Britto <britto@apple.com>
britto@apple.com [Wed, 20 Aug 2008 19:01:24 +0000 (19:01 +0000)]
2008-08-20  Maxime Britto  <britto@apple.com>

        Reviewed by Ada Chan.

        Mouse events are sent to page while resizing window (affects Gmail)
        In the WebView, if the MouseEvent is located in the resize corner, we send it back to the UIDelegate and early return.

        * Interfaces/IWebUIDelegatePrivate.idl: Add a new method to the UIDelegate to send the resize message
        * WebView.cpp:
        (WebView::handleMouseEvent): If the mouse event is in the resize corner and our UIDelegate supports the message it sends the new message and early returns

2008-08-20  Maxime Britto  <britto@apple.com>

        Reviewed by Ada Chan.

        Mouse events are sent to page while resizing window (affects Gmail)

        * DumpRenderTree/win/UIDelegate.h:
        (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.

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

13 years agoQt build fix
cfleizach@apple.com [Wed, 20 Aug 2008 18:34:56 +0000 (18:34 +0000)]
Qt build fix

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

13 years ago Reviewed by Anders Carlsson.
mitz@apple.com [Wed, 20 Aug 2008 18:28:07 +0000 (18:28 +0000)]
    Reviewed by Anders Carlsson.

        - avoid using a deprecated NSScroller method on Leopard

        * platform/mac/PlatformScrollBarMac.mm:

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

13 years ago2008-08-20 Jan Michael Alonzo <jmalonzo@webkit.org>
jmalonzo@webkit.org [Wed, 20 Aug 2008 11:40:31 +0000 (11:40 +0000)]
2008-08-20  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Oliver Hunt.

        Gtk build fix

        * GNUmakefile.am:
        * page/AccessibilityTable.cpp: Change nil to 0

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

13 years ago Windows build fix.
ap@webkit.org [Wed, 20 Aug 2008 10:40:16 +0000 (10:40 +0000)]
    Windows build fix.

        * API/WebKitAvailability.h: Define DEPRECATED_ATTRIBUTE.

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

13 years ago Reviewed by Geoff Garen.
ap@webkit.org [Wed, 20 Aug 2008 07:23:06 +0000 (07:23 +0000)]
    Reviewed by Geoff Garen.

        Bring back shared JSGlobalData and implicit locking, because too many clients rely on it.

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

13 years ago Reviewed by Geoff Garen.
eric@webkit.org [Tue, 19 Aug 2008 23:33:07 +0000 (23:33 +0000)]
    Reviewed by Geoff Garen.

        Add the beginnings of Skia graphics support to WebCore
        as I try to begin the long process of un-forking the changes
        needed to WebCore to make Andriod's WebCore build.

        I'll follow this up with actual *Skia.cpp files in a separate patch.

        * platform/graphics/AffineTransform.h:
        * platform/graphics/FloatPoint.h:
        * platform/graphics/FloatRect.h:
        * platform/graphics/Gradient.h:
        * platform/graphics/GraphicsContext.h:
        * platform/graphics/Image.h:
        * platform/graphics/ImageBuffer.h:
        * platform/graphics/ImageSource.h:
        * platform/graphics/IntPoint.h:
        * platform/graphics/IntRect.h:
        * platform/graphics/Path.h:
        * platform/graphics/Pattern.h:
        * svg/graphics/SVGPaintServerPattern.h:
        * svg/graphics/SVGPaintServerSolid.h:

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

13 years ago Fix Windows build more.
sfalken@apple.com [Tue, 19 Aug 2008 22:46:31 +0000 (22:46 +0000)]
    Fix Windows build more.

        * WebCore.vcproj/WebCore.vcproj:

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

13 years ago Fixes the Web Inspector flashing white while resizing after
timothy@apple.com [Tue, 19 Aug 2008 22:36:30 +0000 (22:36 +0000)]
    Fixes the Web Inspector flashing white while resizing after
        highlighting a page element. Calling disableScreenUpdatesUntilFlush
        when attaching and detaching the Inspector page highlight is bad,
        since the browser window might not flush again for a while. So screen
        updates could be disabled for long periods of time, causing backing store
        flashing while resizing. There is no need to call disableScreenUpdatesUntilFlush
        when attaching or detaching the child window.

        Reviewed by John Sullivan and Kevin McCullough.

        * WebInspector/WebNodeHighlight.m:
        (-[WebNodeHighlight attach]): Remove the call to disableScreenUpdatesUntilFlush.
        (-[WebNodeHighlight detach]): Ditto.

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

13 years ago Fix Windows build.
sfalken@apple.com [Tue, 19 Aug 2008 22:34:37 +0000 (22:34 +0000)]
    Fix Windows build.

        * page/AccessibilityRenderObject.cpp:

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

13 years ago Fix build.
sfalken@apple.com [Tue, 19 Aug 2008 22:29:18 +0000 (22:29 +0000)]
    Fix build.

        * WebScriptCallFrame.cpp:

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

13 years ago2008-08-19 Kevin McCullough <kmccullough@apple.com>
kmccullough@apple.com [Tue, 19 Aug 2008 22:22:02 +0000 (22:22 +0000)]
2008-08-19  Kevin McCullough  <kmccullough@apple.com>

        Reviewed by Tim and Mark.

        Implement DTrace hooks for dashcode and instruments.

        * API/JSProfilerPrivate.cpp: Added. Expose SPI so that profiling can be
        turned on from a client.  The DTrace probes were added within the
        profiler mechanism for performance reasons so the profiler must be
        started to enable tracing.
        * API/JSProfilerPrivate.h: Added. Ditto.
        * JavaScriptCore.exp: Exposing the start/stop methods to clients.
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * kjs/Tracing.d: Define the DTrace probes.
        * kjs/Tracing.h: Ditto.
        * profiler/ProfileGenerator.cpp: Implement the DTrace probes in the

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

13 years ago<rdar://problem/4003764> Expose tables as AXTables
cfleizach@apple.com [Tue, 19 Aug 2008 22:05:37 +0000 (22:05 +0000)]
<rdar://problem/4003764> Expose tables as AXTables

Exposes "data" tables in HTML as AXTables through accessibility

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