From bugzilla-daemon at webkit.org Wed Jul 1 00:00:58 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 00:00:58 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26088] large negative
letter-spacing crashes the chromium port : [Attachment 32025]
revised patch w/ brett's improvements
Message-ID: <20090701070058.B81B03150A9C@gamma.macosforge.org>
Darin Fisher (:fishd, Google) has denied Dirk Pranke
's request for review:
Bug 26088: large negative letter-spacing crashes the chromium port
https://bugs.webkit.org/show_bug.cgi?id=26088
Attachment 32025: revised patch w/ brett's improvements
https://bugs.webkit.org/attachment.cgi?id=32025&action=review
------- Additional Comments from Darin Fisher (:fishd, Google)
> Index: WebCore/ChangeLog
...
> + Fix bug #26088 - TransparencyWin doesn't handle errors well at all;
> + revise it to fail silently (drawing nothing).
nit: please include an URL to this bug report in the ChangeLog. (that is what
is normally done since it makes it easy to visit the bug from the trac log.)
It looks like this patch is trying to handle out-of-memory errors for small
fixed-size allocations. That is something we normally do not do since if we
cannot allocate a few bytes, then we are happy to crash.
Handling out-of-memory cases that result from web content, where web content
has control over the allocation size, is another story.
> Index: WebCore/platform/graphics/chromium/FontChromiumWin.cpp
> ===================================================================
> --- WebCore/platform/graphics/chromium/FontChromiumWin.cpp (revision
45284)
> +++ WebCore/platform/graphics/chromium/FontChromiumWin.cpp (working copy)
> @@ -149,14 +149,16 @@ void TransparencyAwareFontPainter::initi
> m_transparency.init(m_graphicsContext, layerMode,
TransparencyWin::KeepTransform, layerRect);
>
> // Set up the DC, using the one from the transparency helper.
> + if (m_transparency.platformContext()) {
This looks like it is checking out-of-memory. Why do we need to recover from
this condition? Was this case being hit by those webkit tests?
> +
> + // webkit bug 26088 - very large positive or negative runs can
fail
> + // to render so we clamp the size here. In the specs, negative
> + // letter-spacing is implementation-defined, so this should be
> + // fine, and it matches Safari's implementation. The call
actually
> + // seems to crash if kMaxNegativeRun is set to somewhere around
> + // -32830, so we give ourselves a little breathing room.
> + const int kMaxNegativeRun = -32768;
> + const int kMaxPositiveRun = 32768;
webkit style is to not have the "k" prefix. you should just use regular
variable naming style for constants.
> + if ((curWidth + advances[i] < kMaxNegativeRun)
> + || (curWidth + advances[i] > kMaxPositiveRun))
nit: indentation is 4 white spaces. i know this means that the two
lines will not line-up as you desire, but that's what webkit style
calls for. (normally, people would not wrap this line.)
> Index: WebCore/platform/graphics/chromium/TransparencyWin.h
...
> + PlatformGraphicsContext* platformContext() const { return m_drawContext
? m_drawContext->platformContext() : 0; }
Is this really worth null checking?
> Index:
LayoutTests/fast/text/text-large-negative-letter-spacing-with-opacity.html
...
> +Test case for
> + + >https://bugs.webkit.org/show_bug.cgi?id=26088,
> +which would crash the chromium port. If the browser does not crash, you
should
> +see an partially-transparent "world" on the next line.
> + + >Helloworld
layout tests that verify crash fixes should use dumpAsText since there is no
need for pixel comparisons.
> Index: LayoutTests/fast/text/text-letter-spacing.html
...
> +which are explicitly implementation-dependent. Different browsers will
> +render these differently, but Chromium and Safari are attempting to be
> +the same.
It seems a bit presumptuous to state what Safari is trying to do. It is
probably better to just say WebKit here instead of calling out particular
WebKit-based apps especially since the claim is that those apps behave
the same way.
From bugzilla-daemon at webkit.org Wed Jul 1 00:27:58 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 00:27:58 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26838] Multithread support
for JSC on UNIX : [Attachment 32117]
WebKit-r45374-Collector-multithread-support-for-UNIX.diff
Message-ID: <20090701072758.E6FA83151401@gamma.macosforge.org>
Martin Zoubek has asked for review:
Bug 26838: Multithread support for JSC on UNIX
https://bugs.webkit.org/show_bug.cgi?id=26838
Attachment 32117: WebKit-r45374-Collector-multithread-support-for-UNIX.diff
https://bugs.webkit.org/attachment.cgi?id=32117&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 06:16:26 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 06:16:26 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26699] [Win] HTML5 Drag and
drop,
dragend is not fired when pressing Esc : [Attachment 32104] Patch
Message-ID: <20090701131626.E962F315A903@gamma.macosforge.org>
Adam Roben (aroben) has denied Erik Arvidsson
's request for review:
Bug 26699: [Win] HTML5 Drag and drop, dragend is not fired when pressing Esc
https://bugs.webkit.org/show_bug.cgi?id=26699
Attachment 32104: Patch
https://bugs.webkit.org/attachment.cgi?id=32104&action=review
------- Additional Comments from Adam Roben (aroben)
> Index: WebCore/ChangeLog
> ===================================================================
> --- WebCore/ChangeLog (revision 45412)
> +++ WebCore/ChangeLog (working copy)
> @@ -1,3 +1,13 @@
> +2009-06-30 Erik Arvidsson
> +
> + Reviewed by NOBODY (OOPS!).
> +
> + Fixes issue where escape did not cancel the drag and drop operation
on windows.
You should add the URL and title of this bug to your ChangeLogs.
> Property changes on: WebCore/manual-tests/drag-escape.html
> ___________________________________________________________________
> Added: svn:executable
> + *
Please remove the executable bit. It would also be good to set svn:eol-style to
native.
>
> Index: WebCore/page/EventHandler.cpp
> ===================================================================
> --- WebCore/page/EventHandler.cpp (revision 45393)
> +++ WebCore/page/EventHandler.cpp (working copy)
> @@ -2102,6 +2102,7 @@ void EventHandler::dragSourceEndedAt(con
> }
> freeClipboard();
> dragState().m_dragSrc = 0;
> + m_mouseDownMayStartDrag = false;
> }
It's probably worth adding a comment here about why this is needed (i.e., to
handle situations where the drag is cancelled while the mouse button is still
down).
> STDMETHODIMP WebDropSource::QueryContinueDrag(BOOL fEscapePressed, DWORD
grfKeyState)
> {
> - if(fEscapePressed)
> - return DRAGDROP_S_CANCEL;
> -
> - if(!(grfKeyState & (MK_LBUTTON|MK_RBUTTON))) {
> - m_dropped = true;
> + if(fEscapePressed || !(grfKeyState & (MK_LBUTTON|MK_RBUTTON))) {
Please add a space after "if" while you're modifying this line.
> + m_dropped = !fEscapePressed;
> if (Page* page = m_webView->page())
> if (Frame* frame = page->mainFrame())
> //FIXME: We need to figure out how to find out what actually
happened in the drag
>
frame->eventHandler()->dragSourceEndedAt(generateMouseEvent(m_webView.get(),
false), DragOperationCopy);
It doesn't seem right to pass DragOperationCopy if Escape was pressed.
> - return DRAGDROP_S_DROP;
> + return fEscapePressed? DRAGDROP_S_CANCEL : DRAGDROP_S_DROP;
Tabs! Please use 4-space indents.
Thanks for looking at this!
From bugzilla-daemon at webkit.org Wed Jul 1 08:24:53 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 08:24:53 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26884] [WML] WMLTestCase.js
is cluttered & depends on several hacks : [Attachment 32123]
Initial patch
Message-ID: <20090701152453.84480315E13A@gamma.macosforge.org>
Nikolas Zimmermann has asked for review:
Bug 26884: [WML] WMLTestCase.js is cluttered & depends on several hacks
https://bugs.webkit.org/show_bug.cgi?id=26884
Attachment 32123: Initial patch
https://bugs.webkit.org/attachment.cgi?id=32123&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 08:34:37 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 08:34:37 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26885] [WML] WMLPageState
doesn't reset history length correctly : [Attachment 32124]
Initial patch
Message-ID: <20090701153437.E2956315E6A4@gamma.macosforge.org>
Nikolas Zimmermann has asked for review:
Bug 26885: [WML] WMLPageState doesn't reset history length correctly
https://bugs.webkit.org/show_bug.cgi?id=26885
Attachment 32124: Initial patch
https://bugs.webkit.org/attachment.cgi?id=32124&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 08:58:00 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 08:58:00 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 25711] HTML5 Database
becomes locked if a transaction is in progress when the page
is refreshed. : [Attachment 32125] New patch.
Message-ID: <20090701155800.6AB20315F1C6@gamma.macosforge.org>
Ben Murdoch has asked for review:
Bug 25711: HTML5 Database becomes locked if a transaction is in progress when
the page is refreshed.
https://bugs.webkit.org/show_bug.cgi?id=25711
Attachment 32125: New patch.
https://bugs.webkit.org/attachment.cgi?id=32125&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 09:16:09 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 09:16:09 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26884] [WML] WMLTestCase.js
is cluttered & depends on several hacks : [Attachment 32123]
Initial patch
Message-ID: <20090701161609.B5DF4315F93E@gamma.macosforge.org>
George Staikos has granted Nikolas Zimmermann
's request for review:
Bug 26884: [WML] WMLTestCase.js is cluttered & depends on several hacks
https://bugs.webkit.org/show_bug.cgi?id=26884
Attachment 32123: Initial patch
https://bugs.webkit.org/attachment.cgi?id=32123&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 09:18:12 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 09:18:12 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26885] [WML] WMLPageState
doesn't reset history length correctly : [Attachment 32124]
Initial patch
Message-ID: <20090701161812.4CFAB315FA3F@gamma.macosforge.org>
George Staikos has granted Nikolas Zimmermann
's request for review:
Bug 26885: [WML] WMLPageState doesn't reset history length correctly
https://bugs.webkit.org/show_bug.cgi?id=26885
Attachment 32124: Initial patch
https://bugs.webkit.org/attachment.cgi?id=32124&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 09:49:40 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 09:49:40 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26655] ResourceHandle
infrastructure is needed to support loading out of an
appcache : [Attachment 32128] Interceptor (rev2)
Message-ID: <20090701164940.BECF831606E5@gamma.macosforge.org>
Michael Nordman has asked for review:
Bug 26655: ResourceHandle infrastructure is needed to support loading out of an
appcache
https://bugs.webkit.org/show_bug.cgi?id=26655
Attachment 32128: Interceptor (rev2)
https://bugs.webkit.org/attachment.cgi?id=32128&action=review
------- Additional Comments from Michael Nordman
Here's an updated patch that working for me on Safari/mac.
From bugzilla-daemon at webkit.org Wed Jul 1 09:49:40 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 09:49:40 -0700 (PDT)
Subject: [webkit-reviews] review cancelled: [Bug 26655] ResourceHandle
infrastructure is needed to support loading out of an
appcache : [Attachment 31813] Interceptor (rev2)
Message-ID: <20090701164940.B2F9E31606E3@gamma.macosforge.org>
Michael Nordman has cancelled Michael Nordman
's request for review:
Bug 26655: ResourceHandle infrastructure is needed to support loading out of an
appcache
https://bugs.webkit.org/show_bug.cgi?id=26655
Attachment 31813: Interceptor (rev2)
https://bugs.webkit.org/attachment.cgi?id=31813&action=review
------- Additional Comments from Michael Nordman
Here's an updated patch that working for me on Safari/mac.
From bugzilla-daemon at webkit.org Wed Jul 1 10:03:09 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 10:03:09 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26888] Converted op_mod to
put { tag, payload } in { regT1, regT0 } : [Attachment 32129] patch
Message-ID: <20090701170309.1FDB83160CC0@gamma.macosforge.org>
Geoffrey Garen has asked for review:
Bug 26888: Converted op_mod to put { tag, payload } in { regT1, regT0 }
https://bugs.webkit.org/show_bug.cgi?id=26888
Attachment 32129: patch
https://bugs.webkit.org/attachment.cgi?id=32129&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 10:08:11 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 10:08:11 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26888] Converted op_mod to
put { tag, payload } in { regT1, regT0 } : [Attachment 32129] patch
Message-ID: <20090701170811.BB6FB3160ED6@gamma.macosforge.org>
Sam Weinig has granted 's request for review:
Bug 26888: Converted op_mod to put { tag, payload } in { regT1, regT0 }
https://bugs.webkit.org/show_bug.cgi?id=26888
Attachment 32129: patch
https://bugs.webkit.org/attachment.cgi?id=32129&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 10:46:39 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 10:46:39 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 24300] Add
CSSKeepVisitedLinksPrivate option to WebCore : [Attachment
32098] Updated patch
Message-ID: <20090701174639.2E3E83161F55@gamma.macosforge.org>
robert has asked for review:
Bug 24300: Add CSSKeepVisitedLinksPrivate option to WebCore
https://bugs.webkit.org/show_bug.cgi?id=24300
Attachment 32098: Updated patch
https://bugs.webkit.org/attachment.cgi?id=32098&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 11:12:10 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 11:12:10 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26857] [Chromium] Upstream
V8Binding : [Attachment 32130] patch2
Message-ID: <20090701181210.322BD31629DC@gamma.macosforge.org>
Nate Chapin has asked for review:
Bug 26857: [Chromium] Upstream V8Binding
https://bugs.webkit.org/show_bug.cgi?id=26857
Attachment 32130: patch2
https://bugs.webkit.org/attachment.cgi?id=32130&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 11:38:30 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 11:38:30 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26891] Remove unused code
in SVGTransformList and SVGTransformDistance : [Attachment
32131] patch
Message-ID: <20090701183830.D6C303163611@gamma.macosforge.org>
David Levin has asked for review:
Bug 26891: Remove unused code in SVGTransformList and SVGTransformDistance
https://bugs.webkit.org/show_bug.cgi?id=26891
Attachment 32131: patch
https://bugs.webkit.org/attachment.cgi?id=32131&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 12:48:47 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 12:48:47 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26699] [Win] HTML5 Drag and
drop,
dragend is not fired when pressing Esc : [Attachment 32133] Fixed
Adam's comments
Message-ID: <20090701194847.CA579316564D@gamma.macosforge.org>
Erik Arvidsson has asked for review:
Bug 26699: [Win] HTML5 Drag and drop, dragend is not fired when pressing Esc
https://bugs.webkit.org/show_bug.cgi?id=26699
Attachment 32133: Fixed Adam's comments
https://bugs.webkit.org/attachment.cgi?id=32133&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 12:56:58 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 12:56:58 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26854] [GTK] Needs API to
allow more control over outgoing requests : [Attachment
32134] Map the willSendRequest delegate to the
'outgoing-request' signal
Message-ID: <20090701195658.E31E63165A17@gamma.macosforge.org>
Gustavo Noronha (kov) has asked for review:
Bug 26854: [GTK] Needs API to allow more control over outgoing requests
https://bugs.webkit.org/show_bug.cgi?id=26854
Attachment 32134: Map the willSendRequest delegate to the 'outgoing-request'
signal
https://bugs.webkit.org/attachment.cgi?id=32134&action=review
------- Additional Comments from Gustavo Noronha (kov)
After Jan pointed out that Mac used willSendRequest in its DRT implementation I
went and investigated. I now believe we need to look at this problem with a
wider perspective, and with the DataSource API in mind.
Delegates such as willSendRequest, didFinishLoading, and other (I believe all
that get a DocumentLoader and an identifier, in FrameLoaderClient) are used
together for tracking the loading of the resources.
Mac provides as part of its API objects representing the resources, and maps
the identifier to said objects in these delegates. We may want to adopt a
similar approach.
From bugzilla-daemon at webkit.org Wed Jul 1 13:01:37 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 13:01:37 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 23642] [GTK] Drag and drop
support : [Attachment 32135] Second patch
Message-ID: <20090701200137.503B03165C31@gamma.macosforge.org>
Zan Dobersek has asked for review:
Bug 23642: [GTK] Drag and drop support
https://bugs.webkit.org/show_bug.cgi?id=23642
Attachment 32135: Second patch
https://bugs.webkit.org/attachment.cgi?id=32135&action=review
------- Additional Comments from Zan Dobersek
This is the second patch dissected from the WebKit/WebCore updates patch.
This one finally uses DragClipboard as the proper data holder.
One more patch is on its way, mostly taking care of things in WebKit part
(WebCoreSupport updates and proper support for dnd actions in WebKitWebView).
The patch should be prepared tomorrow, so the reviewer can also wait for that
one and then land these patches in the same day.
From bugzilla-daemon at webkit.org Wed Jul 1 13:02:42 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 13:02:42 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26054] Need a new
abstraction layer between the DB classes and the file system
: [Attachment 32136] new patch with a bug fix + xcode changes
Message-ID: <20090701200242.581AF3165CAA@gamma.macosforge.org>
Dumitru Daniliuc has asked for review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32136: new patch with a bug fix + xcode changes
https://bugs.webkit.org/attachment.cgi?id=32136&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 13:15:55 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 13:15:55 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26896] [QT] make layout tests
in fast/css/getComputedStyle/ to pass : [Attachment 32137] patch
Message-ID: <20090701201555.DAFBD31662C2@gamma.macosforge.org>
Antonio Gomes (tonikitoo) has granted 's request for
review:
Bug 26896: [QT] make layout tests in fast/css/getComputedStyle/ to pass
https://bugs.webkit.org/show_bug.cgi?id=26896
Attachment 32137: patch
https://bugs.webkit.org/attachment.cgi?id=32137&action=review
------- Additional Comments from Antonio Gomes (tonikitoo)
patch for the bug. It was reviewed by Adam Treat on IRC:
r=me
on condition of one change!
you have to add the bug report URL to the ChangeLog and check-in
thanks!
From bugzilla-daemon at webkit.org Wed Jul 1 13:33:55 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 13:33:55 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26807] Crashes on 3 layout
tests when XSS auditor is enabled : [Attachment 32138] Patch
Message-ID: <20090701203355.97C853166BDD@gamma.macosforge.org>
Daniel Bates has asked for review:
Bug 26807: Crashes on 3 layout tests when XSS auditor is enabled
https://bugs.webkit.org/show_bug.cgi?id=26807
Attachment 32138: Patch
https://bugs.webkit.org/attachment.cgi?id=32138&action=review
------- Additional Comments from Daniel Bates
Fixes the issue by checking whether frame->document()->decoder() is null.
From bugzilla-daemon at webkit.org Wed Jul 1 13:35:42 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 13:35:42 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26807] Crashes on 3 layout
tests when XSS auditor is enabled : [Attachment 32138] Patch
Message-ID: <20090701203542.189673166CB2@gamma.macosforge.org>
Adam Barth has granted Daniel Bates 's
request for review:
Bug 26807: Crashes on 3 layout tests when XSS auditor is enabled
https://bugs.webkit.org/show_bug.cgi?id=26807
Attachment 32138: Patch
https://bugs.webkit.org/attachment.cgi?id=32138&action=review
------- Additional Comments from Adam Barth
Thanks!
From bugzilla-daemon at webkit.org Wed Jul 1 13:36:12 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 13:36:12 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26891] Remove unused code in
SVGTransformList and SVGTransformDistance : [Attachment 32131] patch
Message-ID: <20090701203612.4A0663166CF5@gamma.macosforge.org>
Eric Seidel has granted David Levin 's
request for review:
Bug 26891: Remove unused code in SVGTransformList and SVGTransformDistance
https://bugs.webkit.org/show_bug.cgi?id=26891
Attachment 32131: patch
https://bugs.webkit.org/attachment.cgi?id=32131&action=review
------- Additional Comments from Eric Seidel
Why not fix the default constructor? I support removing the dead code though.
Wow, this code is old. This was from yet-another attempt at animation by yours
truly... forever ago. I think you shoudl fix the default constructor to zero
everything instead of changing the callsites.
From bugzilla-daemon at webkit.org Wed Jul 1 13:38:47 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 13:38:47 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26699] [Win] HTML5 Drag and
drop,
dragend is not fired when pressing Esc : [Attachment 32133] Fixed
Adam's comments
Message-ID: <20090701203847.9717C3166E3F@gamma.macosforge.org>
Adam Roben (aroben) has granted Erik Arvidsson
's request for review:
Bug 26699: [Win] HTML5 Drag and drop, dragend is not fired when pressing Esc
https://bugs.webkit.org/show_bug.cgi?id=26699
Attachment 32133: Fixed Adam's comments
https://bugs.webkit.org/attachment.cgi?id=32133&action=review
------- Additional Comments from Adam Roben (aroben)
r=me
From bugzilla-daemon at webkit.org Wed Jul 1 14:15:58 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 14:15:58 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26054] Need a new
abstraction layer between the DB classes and the file system
: [Attachment 32139] final version
Message-ID: <20090701211558.9FFDA3167F20@gamma.macosforge.org>
Dumitru Daniliuc has asked for review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32139: final version
https://bugs.webkit.org/attachment.cgi?id=32139&action=review
------- Additional Comments from Dumitru Daniliuc
forgot to add project.pbxproj to the ChangeLog.
From bugzilla-daemon at webkit.org Wed Jul 1 14:15:58 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 14:15:58 -0700 (PDT)
Subject: [webkit-reviews] review cancelled: [Bug 26054] Need a new
abstraction layer between the DB classes and the file system
: [Attachment 32136] new patch with a bug fix + xcode changes
Message-ID: <20090701211558.91AD03167F1E@gamma.macosforge.org>
Dumitru Daniliuc has cancelled Dumitru Daniliuc
's request for review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32136: new patch with a bug fix + xcode changes
https://bugs.webkit.org/attachment.cgi?id=32136&action=review
------- Additional Comments from Dumitru Daniliuc
forgot to add project.pbxproj to the ChangeLog.
From bugzilla-daemon at webkit.org Wed Jul 1 14:25:29 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 14:25:29 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26692] prepare-ChangeLog
should bail out when missing EMAIL_ADDRESS or REAL_NAME :
[Attachment 32141] First attempt
Message-ID: <20090701212529.3025B316834F@gamma.macosforge.org>
Eric Seidel has asked for review:
Bug 26692: prepare-ChangeLog should bail out when missing EMAIL_ADDRESS or
REAL_NAME
https://bugs.webkit.org/show_bug.cgi?id=26692
Attachment 32141: First attempt
https://bugs.webkit.org/attachment.cgi?id=32141&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 14:39:50 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 14:39:50 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26900] AX: Manual spell
check with Command-;
does not bring up suggestions : [Attachment 32142] patch
Message-ID: <20090701213950.7D2CF316899F@gamma.macosforge.org>
chris fleizach has asked for review:
Bug 26900: AX: Manual spell check with Command-; does not bring up suggestions
https://bugs.webkit.org/show_bug.cgi?id=26900
Attachment 32142: patch
https://bugs.webkit.org/attachment.cgi?id=32142&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 14:45:47 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 14:45:47 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26900] AX: Manual spell check
with Command-;
does not bring up suggestions : [Attachment 32142] patch
Message-ID: <20090701214547.78FB23168C9D@gamma.macosforge.org>
Beth Dakin has granted chris fleizach
's request for review:
Bug 26900: AX: Manual spell check with Command-; does not bring up suggestions
https://bugs.webkit.org/show_bug.cgi?id=26900
Attachment 32142: patch
https://bugs.webkit.org/attachment.cgi?id=32142&action=review
------- Additional Comments from Beth Dakin
> +IntPoint AccessibilityRenderObject::clickPoint() const
> +{
> + // if we're asked to perform a show menu on an editable web area,
> + // the click point should be where the selection is
> + if (isWebArea() && !isReadOnly()) {
> + VisibleSelection visSelection = selection();
> + VisiblePositionRange range =
VisiblePositionRange(visSelection.visibleStart(), visSelection.visibleEnd());
> + IntRect bounds = boundsForVisiblePositionRange(range);
> +#if PLATFORM(MAC)
> +
bounds.setLocation(m_renderer->document()->view()->screenToContents(bounds.loca
tion()));
> +#endif
> + return IntPoint(bounds.x() + (bounds.width() / 2), bounds.y() -
(bounds.height() / 2));
> + }
> +
> + return AccessibilityObject::clickPoint();
> +}
This is just a style nit-pick, but how about you do the generic case as an
early return like:
if (!isWebArea() || isReadOnly())
return AccessibilityObject::clickPoint();
VisibleSelection visSelection = selection();
?
r=me!
From bugzilla-daemon at webkit.org Wed Jul 1 14:49:30 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 14:49:30 -0700 (PDT)
Subject: [webkit-reviews] review cancelled: [Bug 26692] prepare-ChangeLog
should bail out when missing EMAIL_ADDRESS or REAL_NAME :
[Attachment 32141] First attempt
Message-ID: <20090701214930.DE6563168E59@gamma.macosforge.org>
Eric Seidel has cancelled Eric Seidel 's
request for review:
Bug 26692: prepare-ChangeLog should bail out when missing EMAIL_ADDRESS or
REAL_NAME
https://bugs.webkit.org/show_bug.cgi?id=26692
Attachment 32141: First attempt
https://bugs.webkit.org/attachment.cgi?id=32141&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 14:49:30 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 14:49:30 -0700 (PDT)
Subject: [webkit-reviews] review cancelled: [Bug 26692] prepare-ChangeLog
should bail out when missing EMAIL_ADDRESS or REAL_NAME :
[Attachment 32141] First attempt
Message-ID: <20090701214930.F0C3A3168E5D@gamma.macosforge.org>
Eric Seidel has cancelled Eric Seidel 's
request for review:
Bug 26692: prepare-ChangeLog should bail out when missing EMAIL_ADDRESS or
REAL_NAME
https://bugs.webkit.org/show_bug.cgi?id=26692
Attachment 32141: First attempt
https://bugs.webkit.org/attachment.cgi?id=32141&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 14:49:33 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 14:49:33 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26692] prepare-ChangeLog
should bail out when missing EMAIL_ADDRESS or REAL_NAME :
[Attachment 32144] Now with more sanity checking
Message-ID: <20090701214933.173423168E7C@gamma.macosforge.org>
Eric Seidel has asked for review:
Bug 26692: prepare-ChangeLog should bail out when missing EMAIL_ADDRESS or
REAL_NAME
https://bugs.webkit.org/show_bug.cgi?id=26692
Attachment 32144: Now with more sanity checking
https://bugs.webkit.org/attachment.cgi?id=32144&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 14:50:00 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 14:50:00 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26054] Need a new abstraction
layer between the DB classes and the file system :
[Attachment 32139] final version
Message-ID: <20090701215000.BD4243168ED8@gamma.macosforge.org>
Dimitri Glazkov (Google) has granted Dumitru Daniliuc
's request for review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32139: final version
https://bugs.webkit.org/attachment.cgi?id=32139&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 15:02:18 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:02:18 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26054] Need a new abstraction
layer between the DB classes and the file system :
[Attachment 32139] final version
Message-ID: <20090701220218.BA0283169438@gamma.macosforge.org>
Dimitri Glazkov (Google) has denied 's request for
review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32139: final version
https://bugs.webkit.org/attachment.cgi?id=32139&action=review
------- Additional Comments from Dimitri Glazkov (Google)
> +String SQLiteFileSystem::getFileNameForNewDatabase(const String& dbDir,
const String& dbName,
> + const String&
originIdentifier, SQLiteDatabase* db)
> +{
> + // dbName and originIdentifier not used in the default WebKit
implementation
> + // touch them so gcc doesn't complain about that when building on Mac
> + String unused = dbName;
> + unused = originIdentifier;
Oops, this is wrong. Let's not create more work. You can just do:
String SQLiteFileSystem::getFileNameForNewDatabase(const String& dbDir, const
String&, const String&, SQLiteDatabase* db)
From bugzilla-daemon at webkit.org Wed Jul 1 15:02:41 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:02:41 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26906] Prevent Javascript
object from being initialized when JavascriptEnabled is false
: [Attachment 32145] Patch
Message-ID: <20090701220241.DAE1E316946A@gamma.macosforge.org>
robert has asked for review:
Bug 26906: Prevent Javascript object from being initialized when
JavascriptEnabled is false
https://bugs.webkit.org/show_bug.cgi?id=26906
Attachment 32145: Patch
https://bugs.webkit.org/attachment.cgi?id=32145&action=review
------- Additional Comments from robert
This fixes the assert. But I don't see a ready way of adding a unit test for
the root cause.
From bugzilla-daemon at webkit.org Wed Jul 1 15:14:27 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:14:27 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26905] Don't use
PlatformMessagePortChannel in any files : [Attachment 32146]
Proposed patch
Message-ID: <20090701221427.F13A23169980@gamma.macosforge.org>
John Abd-El-Malek has asked Darin Fisher (:fishd, Google)
for review:
Bug 26905: Don't use PlatformMessagePortChannel in any files
https://bugs.webkit.org/show_bug.cgi?id=26905
Attachment 32146: Proposed patch
https://bugs.webkit.org/attachment.cgi?id=32146&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 15:18:37 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:18:37 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26906] [Qt] Prevent
Javascript object from being initialized when
JavascriptEnabled is false : [Attachment 32147] Updated to be
page-specific
Message-ID: <20090701221837.377D33169B25@gamma.macosforge.org>
robert has asked for review:
Bug 26906: [Qt] Prevent Javascript object from being initialized when
JavascriptEnabled is false
https://bugs.webkit.org/show_bug.cgi?id=26906
Attachment 32147: Updated to be page-specific
https://bugs.webkit.org/attachment.cgi?id=32147&action=review
------- Additional Comments from robert
Patch updated to be page specific, also updated inline documentation.
Tested with arora. Launching with jscript both enabled and disabled. Also
tested opening different pages between toggling jscript on and off.
From bugzilla-daemon at webkit.org Wed Jul 1 15:18:37 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:18:37 -0700 (PDT)
Subject: [webkit-reviews] review cancelled: [Bug 26906] [Qt] Prevent
Javascript object from being initialized when
JavascriptEnabled is false : [Attachment 32145] Patch
Message-ID: <20090701221837.2F19E3169B23@gamma.macosforge.org>
robert has cancelled robert 's
request for review:
Bug 26906: [Qt] Prevent Javascript object from being initialized when
JavascriptEnabled is false
https://bugs.webkit.org/show_bug.cgi?id=26906
Attachment 32145: Patch
https://bugs.webkit.org/attachment.cgi?id=32145&action=review
------- Additional Comments from robert
Patch updated to be page specific, also updated inline documentation.
Tested with arora. Launching with jscript both enabled and disabled. Also
tested opening different pages between toggling jscript on and off.
From bugzilla-daemon at webkit.org Wed Jul 1 15:21:02 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:21:02 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26054] Need a new
abstraction layer between the DB classes and the file system
: [Attachment 32148] patch
Message-ID: <20090701222102.4E1713169C1B@gamma.macosforge.org>
Dumitru Daniliuc has asked for review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32148: patch
https://bugs.webkit.org/attachment.cgi?id=32148&action=review
------- Additional Comments from Dumitru Daniliuc
addressing all dimitri's comments.
From bugzilla-daemon at webkit.org Wed Jul 1 15:24:52 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:24:52 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 24986] ARM JIT port :
[Attachment 32046] Constant pool for AssemblerBuffer (v2)
Message-ID: <20090701222452.C51FF3169DAB@gamma.macosforge.org>
Gavin Barraclough has denied Gabor Loki
's request for review:
Bug 24986: ARM JIT port
https://bugs.webkit.org/show_bug.cgi?id=24986
Attachment 32046: Constant pool for AssemblerBuffer (v2)
https://bugs.webkit.org/attachment.cgi?id=32046&action=review
------- Additional Comments from Gavin Barraclough
> Constant pool for AssemblerBuffer (v2)
This basically looks fine as is, r- for a handful of small fixes, but no big
issues at all.
The comment on the class states that the constant pool can store 4 or 8 bytes
values, however the code currently appears to be very 32-bit specific, only
handling entries of size (sizeof(uint32_t)) - so unless I'm missing something
the comment is currently a little misleading. It may be good to fix this to
say that the pool can hold 32-bit values, and that we intend to extend the
class to be able to hold 64-bit values in the pool too, at some point in the
future.
When you align the pool, I'd suggest you may want to consider replacing the
magic number '0x0badf00d' with a value that will be interpreted as a
breakpoint, or illegal instruction on ARM (just as an extra guard against an
erroneously linked branch jumping into the padding. To make this effective you
would also have to reverse the order in which it checks & plants the alignment
(byte, then short, then int) in order that the int value is 32-bit aligned. On
x86 we use HLTs to pad (we use these since they're illegal in user space, cause
a trap, and as such clearly indicate an error case), and we'd probably want to
do the same in the constant pool too. At minimum I'd suggest you should move
these values into the Assembler (AssemblerType::padForAlign8, 16, 32) so that
these values can be provided in a platform-specific fashion (we also try to
avoid "magic numbers" inline in the code, and prefer defining constant values
or declaring static const variables ??making this change would fix this problem
too). I think it could be even nicer if you just called
AssemblerType::align(int) to do the alignment ... except I imagine that could
be problematic (since you would end up recursing, at Assembler::align tried to
plant a byte, caused a recursive flush, called Assembler::align, tried to plant
a byte ... etc.). You could of course add a new specific method to Assembler
to alignConstantPool(int), and then provide methods to put the pad values
directly to the assembler buffer. But then you have a danger that these
methods could be misused. I'd probably ignore this last suggestion myself.
I'd probably just add a set of constants to Assembler
(AssemblerType::padForAlign8, 16, 32).
> if (10 * m_numConsts > 6 * maxPoolSize / sizeof(uint32_t))
I think this check is prone to overflow. It is probably not a practical
concern right now, since m_pool is allocated with a single malloc, so a huge
value for maxPoolSize would not be sensible anyway. However in order to
support large constant pools on x86[_64], the obvious thing to do will probably
be to replace these arrays with some form of vector, and when we do so this
test would become potentially unsafe. 'maxPoolSize' is defined as a signed
int, so if (maxPoolSize > 0x15555555) then (6 * maxPoolSize) will overflow to a
negative walue, and the test will always pass. Due to the first multiply (*
10) there are also boundary condition problems that could cause the left had
side of this compare to overflow, too. If you enforce that maxPoolSize is no
larger than 0x15555555 then the limit (6 * maxPoolSize) could be 0x7FFFFFFE,
however as m_numConsts rolls over from 0x0CCCCCCC -> 0x0CCCCCCD (m_numConsts *
10) goes from 0x7FFFFFF8 -> 0x80000002, which, again interpreted as signed
values are both less than 0x7FFFFFFE, so the limit being exceeded will not be
detected. I'd suggest adding an "ASSERT(maxPoolSize < 0x10000000);" above this
line to make sure we stay well away from any potential overflow issues here
would be a good idea.
Finally, a quick find & replace code style issue ??it is not WebKit coding
style to use abbreviations, we use full words. AssemblerBufferWithCP is
certainly against style, placeConstPoolBarrier etc really should probably be
placeConstantPoolBarrier - but I leave it at your discretion as to exactly how
you change these names to bring these names in line with coding style.
But other than these little style issues, the mechanism looks great, and yes,
looks like it should be fairly straightforward to take this and roll it out to
the other platforms when we hit a point that we need to add constant-pool
support, which is really good news.
From bugzilla-daemon at webkit.org Wed Jul 1 15:24:56 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:24:56 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26906] [Qt] Prevent
Javascript object from being initialized when
JavascriptEnabled is false : [Attachment 32147] Updated to be
page-specific
Message-ID: <20090701222456.95C853169DE7@gamma.macosforge.org>
Adam Treat has granted robert 's
request for review:
Bug 26906: [Qt] Prevent Javascript object from being initialized when
JavascriptEnabled is false
https://bugs.webkit.org/show_bug.cgi?id=26906
Attachment 32147: Updated to be page-specific
https://bugs.webkit.org/attachment.cgi?id=32147&action=review
------- Additional Comments from Adam Treat
> + If QWebSettings::JavascriptEnabled is false, this function does nothing.
How about, "If JavaScript is not enabled for this page, then this function does
nothing."
> +2009-06-30 Robert Hogan
> +
> + Reviewed by NOBODY.
> +
> + Fix Qt segfault when javascript disabled.
Please put the URL in the ChangeLog.
With those changes r=me.
From bugzilla-daemon at webkit.org Wed Jul 1 15:25:32 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:25:32 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26906] [Qt] Prevent Javascript
object from being initialized when JavascriptEnabled is false
: [Attachment 32147] Updated to be page-specific
Message-ID: <20090701222532.753943169E22@gamma.macosforge.org>
Adam Treat has denied 's request for review:
Bug 26906: [Qt] Prevent Javascript object from being initialized when
JavascriptEnabled is false
https://bugs.webkit.org/show_bug.cgi?id=26906
Attachment 32147: Updated to be page-specific
https://bugs.webkit.org/attachment.cgi?id=32147&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 15:33:16 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:33:16 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26692] prepare-ChangeLog
should bail out when missing EMAIL_ADDRESS or REAL_NAME :
[Attachment 32144] Now with more sanity checking
Message-ID: <20090701223316.1E1D2316A188@gamma.macosforge.org>
Adam Roben (aroben) has granted Eric Seidel
's request for review:
Bug 26692: prepare-ChangeLog should bail out when missing EMAIL_ADDRESS or
REAL_NAME
https://bugs.webkit.org/show_bug.cgi?id=26692
Attachment 32144: Now with more sanity checking
https://bugs.webkit.org/attachment.cgi?id=32144&action=review
------- Additional Comments from Adam Roben (aroben)
> @@ -94,6 +96,8 @@ sub normalizePath($);
> # Project time zone for Cupertino, CA, US
> my $changeLogTimeZone = "PST8PDT";
>
> +my $name;
> +my $email_address;
> my $gitCommit = 0;
> my $gitIndex = "";
You've been infected (cleansed?) by Python. Please use interCaps for variable
names.
r=me
From bugzilla-daemon at webkit.org Wed Jul 1 15:33:24 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:33:24 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26906] [Qt] Prevent
Javascript object from being initialized when
JavascriptEnabled is false : [Attachment 32149] updated patch
Message-ID: <20090701223324.AFB66316A1B0@gamma.macosforge.org>
robert has asked for review:
Bug 26906: [Qt] Prevent Javascript object from being initialized when
JavascriptEnabled is false
https://bugs.webkit.org/show_bug.cgi?id=26906
Attachment 32149: updated patch
https://bugs.webkit.org/attachment.cgi?id=32149&action=review
------- Additional Comments from robert
updated changelog and inline doc
From bugzilla-daemon at webkit.org Wed Jul 1 15:35:19 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:35:19 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26054] Need a new abstraction
layer between the DB classes and the file system :
[Attachment 32148] patch
Message-ID: <20090701223519.2F9FC316A2A5@gamma.macosforge.org>
Dimitri Glazkov (Google) has denied Dumitru Daniliuc
's request for review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32148: patch
https://bugs.webkit.org/attachment.cgi?id=32148&action=review
------- Additional Comments from Dimitri Glazkov (Google)
Just one more thing! I promise!
> + SQLiteFileSystem::deleteDatabaseFile(trackerDatabasePath());
> +
SQLiteFileSystem::deleteEmptyDatabaseDirectory(m_databaseDirectoryPath);
4 spaces?
From bugzilla-daemon at webkit.org Wed Jul 1 15:38:02 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:38:02 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26906] [Qt] Prevent
Javascript object from being initialized when
JavascriptEnabled is false : [Attachment 32149] updated patch
Message-ID: <20090701223802.2D6A9316A3D3@gamma.macosforge.org>
Adam Treat has granted robert 's
request for review:
Bug 26906: [Qt] Prevent Javascript object from being initialized when
JavascriptEnabled is false
https://bugs.webkit.org/show_bug.cgi?id=26906
Attachment 32149: updated patch
https://bugs.webkit.org/attachment.cgi?id=32149&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 15:41:29 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:41:29 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26907] [Chromium] Upstream
V8SVGPODTypeWrapper : [Attachment 32150] patch
Message-ID: <20090701224129.BF6F7316A538@gamma.macosforge.org>
Nate Chapin has asked for review:
Bug 26907: [Chromium] Upstream V8SVGPODTypeWrapper
https://bugs.webkit.org/show_bug.cgi?id=26907
Attachment 32150: patch
https://bugs.webkit.org/attachment.cgi?id=32150&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 15:42:55 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:42:55 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26054] Need a new
abstraction layer between the DB classes and the file system
: [Attachment 32151] patch
Message-ID: <20090701224255.D0DB3316A5CA@gamma.macosforge.org>
Dumitru Daniliuc has asked for review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32151: patch
https://bugs.webkit.org/attachment.cgi?id=32151&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 15:46:05 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:46:05 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26903] Need to enable
CHANNEL_MESSAGING by default : [Attachment 32152] Proposed patch
Message-ID: <20090701224605.0AD25316A70A@gamma.macosforge.org>
Andrew Wilson has asked Alexey Proskuryakov
for review:
Bug 26903: Need to enable CHANNEL_MESSAGING by default
https://bugs.webkit.org/show_bug.cgi?id=26903
Attachment 32152: Proposed patch
https://bugs.webkit.org/attachment.cgi?id=32152&action=review
------- Additional Comments from Andrew Wilson
This patch is actually much smaller than it appears - I've re-enabled a bunch
of the previously disabled tests (I didn't modify them, I just renamed them)
which makes it look large.
From bugzilla-daemon at webkit.org Wed Jul 1 15:50:13 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:50:13 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26088] large negative
letter-spacing crashes the chromium port : [Attachment 32153]
revised patch w/ fishd's comments
Message-ID: <20090701225013.2215C316A8CD@gamma.macosforge.org>
Dirk Pranke has asked for review:
Bug 26088: large negative letter-spacing crashes the chromium port
https://bugs.webkit.org/show_bug.cgi?id=26088
Attachment 32153: revised patch w/ fishd's comments
https://bugs.webkit.org/attachment.cgi?id=32153&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 15:55:25 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:55:25 -0700 (PDT)
Subject: [webkit-reviews] review cancelled: [Bug 26054] Need a new
abstraction layer between the DB classes and the file system
: [Attachment 32151] patch
Message-ID: <20090701225525.2F5E7316AB0A@gamma.macosforge.org>
Dumitru Daniliuc has cancelled Dumitru Daniliuc
's request for review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32151: patch
https://bugs.webkit.org/attachment.cgi?id=32151&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 15:55:25 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:55:25 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26054] Need a new
abstraction layer between the DB classes and the file system
: [Attachment 32154] patch
Message-ID: <20090701225525.3880B316AB0C@gamma.macosforge.org>
Dumitru Daniliuc has asked for review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32154: patch
https://bugs.webkit.org/attachment.cgi?id=32154&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 15:58:01 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 15:58:01 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26907] [Chromium] Upstream
V8SVGPODTypeWrapper : [Attachment 32150] patch
Message-ID: <20090701225801.DD1F9316AC28@gamma.macosforge.org>
David Levin has denied Nate Chapin 's
request for review:
Bug 26907: [Chromium] Upstream V8SVGPODTypeWrapper
https://bugs.webkit.org/show_bug.cgi?id=26907
Attachment 32150: patch
https://bugs.webkit.org/attachment.cgi?id=32150&action=review
------- Additional Comments from David Levin
Just a few things to take care of.
> Index: WebCore/bindings/v8/V8SVGPODTypeWrapper.h
> +/*
> + * Copyright (C) 2006, 2008 Nikolas Zimmermann
> + * Copyright (C) 2008 Apple Inc. All rights reserved.
> + * Copyright (C) 2008 The Chromium Authors. All rights reserved.
I think this should be "Google" instead of "The Chromium Authors". Also I'm
sure you did enough changes to add 2009.
> +#ifndef V8SVGPODTypeWrapper_h
> +#define V8SVGPODTypeWrapper_h
> +
> +#if ENABLE(SVG)
> +
> +#include "config.h"
I don't think header files are suppose to include config.h.
> +public:
> + V8SVGStaticPODTypeWrapper(PODType type)
> + : m_podType(type)
> + { }
Once you've put the { } on a new line, just put each on its own line.
> +private:
> + // Update callbacks
Is this comment useful?
> + explicit PODTypeWrapperCacheInfo(WTF::HashTableDeletedValueType)
> + : creator(reinterpret_cast(-1))
> + , getter(0)
> + , setter(0)
> + {
> + }
> + bool isHashTableDeletedValue() const
Add a blank line before this method.
> +template
> +struct PODTypeWrapperCacheInfoHash {
> + static unsigned hash(const PODTypeWrapperCacheInfo& info)
> + {
> + unsigned creator = reinterpret_cast(info.creator);
> + unsigned getter = reinterpret_cast(*(void**)&info.getter);
> + unsigned setter = reinterpret_cast(*(void**)&info.setter);
Can reinterpret_cast be used for the void**?
> +template
> +struct PODTypeWrapperCacheInfoTraits :
WTF::GenericHashTraits > {
> + typedef PODTypeWrapperCacheInfo CacheInfo;
> +
> + static const bool emptyValueIsZero = true;
> + static const bool needsDestruction = false;
> +
> + static const CacheInfo& emptyValue()
> + {
> + static CacheInfo key;
Consider using DEFINE_STATIC_LOCAL.
> + static DynamicWrapperHashMap& dynamicWrapperHashMap()
> + {
> + static DynamicWrapperHashMap _dynamicWrapperHashMap;
Consider using DEFINE_STATIC_LOCAL (and getting rid of the preceding "_").
> +template
> +P V8SVGPODTypeUtil::toSVGPODType(V8ClassIndex::V8WrapperType type,
v8::Handle object, bool& ok) {
Brace style
From bugzilla-daemon at webkit.org Wed Jul 1 16:04:03 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 16:04:03 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26054] Need a new abstraction
layer between the DB classes and the file system :
[Attachment 32154] patch
Message-ID: <20090701230403.2F88E316AE68@gamma.macosforge.org>
Dimitri Glazkov (Google) has granted Dumitru Daniliuc
's request for review:
Bug 26054: Need a new abstraction layer between the DB classes and the file
system
https://bugs.webkit.org/show_bug.cgi?id=26054
Attachment 32154: patch
https://bugs.webkit.org/attachment.cgi?id=32154&action=review
------- Additional Comments from Dimitri Glazkov (Google)
r=me for realz. Landing now.
From bugzilla-daemon at webkit.org Wed Jul 1 16:28:28 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 16:28:28 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26909] aria-label needs to
be supported : [Attachment 32155] patch
Message-ID: <20090701232828.E631C316B7B7@gamma.macosforge.org>
chris fleizach has asked for review:
Bug 26909: aria-label needs to be supported
https://bugs.webkit.org/show_bug.cgi?id=26909
Attachment 32155: patch
https://bugs.webkit.org/attachment.cgi?id=32155&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 16:30:09 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 16:30:09 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26909] aria-label needs to be
supported : [Attachment 32155] patch
Message-ID: <20090701233009.D8452316B871@gamma.macosforge.org>
Oliver Hunt has granted chris fleizach
's request for review:
Bug 26909: aria-label needs to be supported
https://bugs.webkit.org/show_bug.cgi?id=26909
Attachment 32155: patch
https://bugs.webkit.org/attachment.cgi?id=32155&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 16:43:06 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 16:43:06 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26907] [Chromium] Upstream
V8SVGPODTypeWrapper : [Attachment 32158] patch2
Message-ID: <20090701234306.6813A316BE1E@gamma.macosforge.org>
Nate Chapin has asked for review:
Bug 26907: [Chromium] Upstream V8SVGPODTypeWrapper
https://bugs.webkit.org/show_bug.cgi?id=26907
Attachment 32158: patch2
https://bugs.webkit.org/attachment.cgi?id=32158&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 16:44:47 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 16:44:47 -0700 (PDT)
Subject: [webkit-reviews] review cancelled: [Bug 26857] [Chromium] Upstream
V8Binding : [Attachment 32130] patch2
Message-ID: <20090701234447.E1C94316BF61@gamma.macosforge.org>
Nate Chapin has cancelled Nate Chapin
's request for review:
Bug 26857: [Chromium] Upstream V8Binding
https://bugs.webkit.org/show_bug.cgi?id=26857
Attachment 32130: patch2
https://bugs.webkit.org/attachment.cgi?id=32130&action=review
------- Additional Comments from Nate Chapin
Forgot to edit CodeGeneratorV8.pm upstream in previous patches.
From bugzilla-daemon at webkit.org Wed Jul 1 16:44:47 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 16:44:47 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26857] [Chromium] Upstream
V8Binding : [Attachment 32159] patch3
Message-ID: <20090701234447.ED3F8316BF63@gamma.macosforge.org>
Nate Chapin has asked for review:
Bug 26857: [Chromium] Upstream V8Binding
https://bugs.webkit.org/show_bug.cgi?id=26857
Attachment 32159: patch3
https://bugs.webkit.org/attachment.cgi?id=32159&action=review
------- Additional Comments from Nate Chapin
Forgot to edit CodeGeneratorV8.pm upstream in previous patches.
From bugzilla-daemon at webkit.org Wed Jul 1 16:53:16 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 16:53:16 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26905] Don't use
PlatformMessagePortChannel in any files : [Attachment 32146]
Proposed patch
Message-ID: <20090701235316.352BF316C30A@gamma.macosforge.org>
Darin Fisher (:fishd, Google) has denied John Abd-El-Malek
's request for review:
Bug 26905: Don't use PlatformMessagePortChannel in any files
https://bugs.webkit.org/show_bug.cgi?id=26905
Attachment 32146: Proposed patch
https://bugs.webkit.org/attachment.cgi?id=32146&action=review
------- Additional Comments from Darin Fisher (:fishd, Google)
> Index: WebCore/ChangeLog
...
> + Reviewed by NOBODY (OOPS!).
> +
> + Small refactoring of MessagePortChannel so that a port's
PlatformMessagePortChannel doesn't
> + have to reside in the WebKit repository.
I think it would be more accurate to say "so that PlatformMessagePortChannel
may
be defined at the WebKit layer"
Otherwise, R=me
From bugzilla-daemon at webkit.org Wed Jul 1 17:06:04 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 17:06:04 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 24986] ARM JIT port :
[Attachment 32047] Add YARR support for generic ARM platforms (v2)
Message-ID: <20090702000604.26279316C844@gamma.macosforge.org>
Gavin Barraclough has denied Gabor Loki
's request for review:
Bug 24986: ARM JIT port
https://bugs.webkit.org/show_bug.cgi?id=24986
Attachment 32047: Add YARR support for generic ARM platforms (v2)
https://bugs.webkit.org/attachment.cgi?id=32047&action=review
------- Additional Comments from Gavin Barraclough
This all looks really great, couple of small comments.
In the MacroAssembler, we normally try to only use UNUSED_PARAM if a parameter
is only not use on some (ifdef'ed) code paths, so we'd normally write:
void mulDouble(Address src, FPRegisterID dest)
{
UNUSED_PARAM(src);
UNUSED_PARAM(dest);
ASSERT_NOT_REACHED();
}
as:
void mulDouble(Address, FPRegisterID)
{
ASSERT_NOT_REACHED();
}
But if you prefer to leave this unchanged, this would be okay.
In Platform.h:
546 #elif PLATFORM(ARM)
547 /* Under development, temporarily disabled. */
548 #define ENABLE_JIT 0
549 #define ENABLE_JIT_OPTIMIZE_NATIVE_CALL 0
This should really be added as a part of the JIT patch, let's revert this for
now (it really doesn't make a lot of sense without the rest of the JIT changes
:o) ). Also...
596 || (!defined(ENABLE_YARR_JIT) && PLATFORM(ARM) && 0) \
We will only want to enable YARR & the ARM JIT on operating systems it has been
tested on. What OS are you testing on? Linux? GTK or KDE? Or other? Also,
if Linux, this may also be the wrong place to be enabling them. On Linux I
believe the platform specific settings are configured in configure.ac (GTK?)
and JavaScriptCore/JavaScriptCore.pri (KDE?) ??and I believe this is where YARR
is enabled on x86-Linux. (Personally, I find the fact that we configure these
things in different places on different OSes a little odd, but given that we
do, it certainly seems that it would be more correct to keep the way we do
things on ARM-Linux in line with the way we work on x86-Linux - again, assuming
that it is Linux you're targeting).
The rest of the patch all looks great. r-ing while the Platform.h questions
are answered, but otherwise this all looks good to land.
From bugzilla-daemon at webkit.org Wed Jul 1 17:08:50 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 17:08:50 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 22700] ApplicationCache
should have size limit : [Attachment 32162] New proposal to
limit the maximum size of the application cache (take 7)
Message-ID: <20090702000850.6B667316C9BC@gamma.macosforge.org>
Andrei Popescu has asked for review:
Bug 22700: ApplicationCache should have size limit
https://bugs.webkit.org/show_bug.cgi?id=22700
Attachment 32162: New proposal to limit the maximum size of the application
cache (take 7)
https://bugs.webkit.org/attachment.cgi?id=32162&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 17:12:27 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 17:12:27 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26383] prepare-ChangeLog
should have a --bug= argument and use it for url autofill :
[Attachment 32163] First attempt
Message-ID: <20090702001228.52477316CB1C@gamma.macosforge.org>
Eric Seidel has asked for review:
Bug 26383: prepare-ChangeLog should have a --bug= argument and use it for url
autofill
https://bugs.webkit.org/show_bug.cgi?id=26383
Attachment 32163: First attempt
https://bugs.webkit.org/attachment.cgi?id=32163&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 17:25:01 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 17:25:01 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26910] [Chromium]
Middle-click should set scrollbar position for Linux :
[Attachment 32164] patch to resolve issue
Message-ID: <20090702002501.EC0A2316D0A9@gamma.macosforge.org>
Daniel Erat has asked for review:
Bug 26910: [Chromium] Middle-click should set scrollbar position for Linux
https://bugs.webkit.org/show_bug.cgi?id=26910
Attachment 32164: patch to resolve issue
https://bugs.webkit.org/attachment.cgi?id=32164&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 17:35:09 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 17:35:09 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26899] XSSAuditor shouldn't
strip control characters : [Attachment 32165] Patch with test
Message-ID: <20090702003509.39B8C316D4B1@gamma.macosforge.org>
Daniel Bates has asked for review:
Bug 26899: XSSAuditor shouldn't strip control characters
https://bugs.webkit.org/show_bug.cgi?id=26899
Attachment 32165: Patch with test
https://bugs.webkit.org/attachment.cgi?id=32165&action=review
------- Additional Comments from Daniel Bates
Upon further investigation, we need to remove null characters, since the
HTMLTokenizer does in processing scripts (i.e. the contents of
becomes alert(1) by the time it is passed to
XSSAuditor). Let me know if this change is better addressed in a separate bug.
From bugzilla-daemon at webkit.org Wed Jul 1 17:37:45 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 17:37:45 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26907] [Chromium] Upstream
V8SVGPODTypeWrapper : [Attachment 32158] patch2
Message-ID: <20090702003745.D1E04316D5BD@gamma.macosforge.org>
David Levin has granted Nate Chapin
's request for review:
Bug 26907: [Chromium] Upstream V8SVGPODTypeWrapper
https://bugs.webkit.org/show_bug.cgi?id=26907
Attachment 32158: patch2
https://bugs.webkit.org/attachment.cgi?id=32158&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 17:42:58 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 17:42:58 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26910] [Chromium]
Middle-click should set scrollbar position for Linux :
[Attachment 32164] patch to resolve issue
Message-ID: <20090702004258.CFF23316D78D@gamma.macosforge.org>
David Levin has granted Daniel Erat 's
request for review:
Bug 26910: [Chromium] Middle-click should set scrollbar position for Linux
https://bugs.webkit.org/show_bug.cgi?id=26910
Attachment 32164: patch to resolve issue
https://bugs.webkit.org/attachment.cgi?id=32164&action=review
------- Additional Comments from David Levin
Style looks fine and your fellow platform developer thought it looked good, so
r+.
From bugzilla-daemon at webkit.org Wed Jul 1 17:56:15 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 17:56:15 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26905] Don't use
PlatformMessagePortChannel in any files : [Attachment 32166]
updated changelog
Message-ID: <20090702005615.1FC34316DCF0@gamma.macosforge.org>
John Abd-El-Malek has asked for review:
Bug 26905: Don't use PlatformMessagePortChannel in any files
https://bugs.webkit.org/show_bug.cgi?id=26905
Attachment 32166: updated changelog
https://bugs.webkit.org/attachment.cgi?id=32166&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 18:26:33 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 18:26:33 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26899] XSSAuditor shouldn't
strip control characters : [Attachment 32165] Patch with test
Message-ID: <20090702012633.7124D316E849@gamma.macosforge.org>
Adam Barth has granted Daniel Bates 's
request for review:
Bug 26899: XSSAuditor shouldn't strip control characters
https://bugs.webkit.org/show_bug.cgi?id=26899
Attachment 32165: Patch with test
https://bugs.webkit.org/attachment.cgi?id=32165&action=review
------- Additional Comments from Adam Barth
Great patch. Thanks.
From bugzilla-daemon at webkit.org Wed Jul 1 19:06:28 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 19:06:28 -0700 (PDT)
Subject: [webkit-reviews] review cancelled: [Bug 26896] [QT] make layout
tests in fast/css/getComputedStyle/ to pass : [Attachment
32137] patch
Message-ID: <20090702020628.779CF316F680@gamma.macosforge.org>
Eric Seidel has cancelled 's request for review:
Bug 26896: [QT] make layout tests in fast/css/getComputedStyle/ to pass
https://bugs.webkit.org/show_bug.cgi?id=26896
Attachment 32137: patch
https://bugs.webkit.org/attachment.cgi?id=32137&action=review
------- Additional Comments from Eric Seidel
Please don't mark it as reviewed unless you're a reviewer. :( Makes the
scripts unhappy.
If Adam Marks this himself someone else can easily commit it. Otherwise he'll
need to come take care of commiting for you..
From bugzilla-daemon at webkit.org Wed Jul 1 19:17:07 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 19:17:07 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26914] bugzilla-tool fails
for SVN users : [Attachment 32168] patch
Message-ID: <20090702021707.EA961316FA2A@gamma.macosforge.org>
Eric Seidel has asked for review:
Bug 26914: bugzilla-tool fails for SVN users
https://bugs.webkit.org/show_bug.cgi?id=26914
Attachment 32168: patch
https://bugs.webkit.org/attachment.cgi?id=32168&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 21:41:19 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 21:41:19 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26914] bugzilla-tool fails
for SVN users : [Attachment 32168] patch
Message-ID: <20090702044119.A3E023172F4C@gamma.macosforge.org>
Adam Barth has granted Eric Seidel 's
request for review:
Bug 26914: bugzilla-tool fails for SVN users
https://bugs.webkit.org/show_bug.cgi?id=26914
Attachment 32168: patch
https://bugs.webkit.org/attachment.cgi?id=32168&action=review
------- Additional Comments from Adam Barth
I'm no python expert, but this looks reasonable to me.
From bugzilla-daemon at webkit.org Wed Jul 1 22:02:32 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 22:02:32 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26383] prepare-ChangeLog
should have a --bug= argument and use it for url autofill :
[Attachment 32163] First attempt
Message-ID: <20090702050232.574DB3173761@gamma.macosforge.org>
Maciej Stachowiak has granted Eric Seidel 's
request for review:
Bug 26383: prepare-ChangeLog should have a --bug= argument and use it for url
autofill
https://bugs.webkit.org/show_bug.cgi?id=26383
Attachment 32163: First attempt
https://bugs.webkit.org/attachment.cgi?id=32163&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 22:19:51 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 22:19:51 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26905] Don't use
PlatformMessagePortChannel in any files : [Attachment 32166]
updated changelog
Message-ID: <20090702051951.614303173D81@gamma.macosforge.org>
Darin Fisher (:fishd, Google) has granted John
Abd-El-Malek 's request for review:
Bug 26905: Don't use PlatformMessagePortChannel in any files
https://bugs.webkit.org/show_bug.cgi?id=26905
Attachment 32166: updated changelog
https://bugs.webkit.org/attachment.cgi?id=32166&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 22:29:39 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 22:29:39 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26917] Increase delay in
worker-terminate layout test to make it more reliable. :
[Attachment 32169] Proposed patch
Message-ID: <20090702052939.30CB1317411D@gamma.macosforge.org>
Dmitry Titov has asked for review:
Bug 26917: Increase delay in worker-terminate layout test to make it more
reliable.
https://bugs.webkit.org/show_bug.cgi?id=26917
Attachment 32169: Proposed patch
https://bugs.webkit.org/attachment.cgi?id=32169&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 22:46:40 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 22:46:40 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26857] [Chromium] Upstream
V8Binding : [Attachment 32159] patch3
Message-ID: <20090702054640.7AB01317472B@gamma.macosforge.org>
David Levin has denied Nate Chapin 's
request for review:
Bug 26857: [Chromium] Upstream V8Binding
https://bugs.webkit.org/show_bug.cgi?id=26857
Attachment 32159: patch3
https://bugs.webkit.org/attachment.cgi?id=32159&action=review
------- Additional Comments from David Levin
A few things to address.
> Index: WebCore/bindings/v8/V8Binding.cpp
> +class WebCoreStringResource: public v8::String::ExternalStringResource {
Add a space after WebCoreStringResource.
> +public:
> + explicit WebCoreStringResource(const String& string)
> + : m_impl(string.impl()) { }
The { } should go on separate lines at this point.
> +
> + virtual ~WebCoreStringResource() {}
Add space in {}
> +String v8StringToWebCoreString(v8::Handle v8String, bool
externalize)
> +{
> + WebCoreStringResource* stringResource =
static_cast(v8String->GetExternalStringResource());
> + if (stringResource)
> + return stringResource->webcoreString();
> +
> + int length = v8String->Length();
> + if (length == 0) {
Comparison to 0.
> +String v8ValueToWebCoreString(v8::Handle object)
> +{
> + if (object->IsString()) {
> + v8::Handle v8String =
v8::Handle::Cast(object);
> + String webCoreString = v8StringToWebCoreString(v8String, true);
> + return webCoreString;
This seems overly verbose plus it may inhibit return value optimization.
I'd suggest just doing:
return v8StringToWebCoreString(v8String, true);
> + } else if (object->IsInt32()) {
> + int value = object->Int32Value();
> + // Most numbers used are <= 100. Even if they aren't used there's
very little in using the space.
> + const int kLowNumbers = 100;
> + static AtomicString lowNumbers[kLowNumbers + 1];
Consider using DEFINE_STATIC_LOCAL
> Property changes on: WebCore/bindings/v8/V8Binding.cpp
> ___________________________________________________________________
> Added: svn:executable
> + *
This should be fixed.
> Index: WebCore/bindings/v8/V8Binding.h
> +#include "config.h"
Don't include config.h in header files.
From bugzilla-daemon at webkit.org Wed Jul 1 23:24:34 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 23:24:34 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26919] Root compositing
layer is not correctly updated : [Attachment 32170] Patch
Message-ID: <20090702062434.4A25931755F5@gamma.macosforge.org>
Simon Fraser (smfr) has asked for review:
Bug 26919: Root compositing layer is not correctly updated
https://bugs.webkit.org/show_bug.cgi?id=26919
Attachment 32170: Patch
https://bugs.webkit.org/attachment.cgi?id=32170&action=review
From bugzilla-daemon at webkit.org Wed Jul 1 23:26:53 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Wed, 1 Jul 2009 23:26:53 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26919] Root compositing layer
is not correctly updated : [Attachment 32170] Patch
Message-ID: <20090702062653.94FB031756DE@gamma.macosforge.org>
mitz at webkit.org has granted Simon Fraser (smfr) 's
request for review:
Bug 26919: Root compositing layer is not correctly updated
https://bugs.webkit.org/show_bug.cgi?id=26919
Attachment 32170: Patch
https://bugs.webkit.org/attachment.cgi?id=32170&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 00:46:18 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 00:46:18 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26815] [Gtk]
text-selection-changed events are not issued for the correct
object when the selection spans multiple objects :
[Attachment 32171] textselection.patch
Message-ID: <20090702074618.5C95D317763B@gamma.macosforge.org>
Xan Lopez has asked for review:
Bug 26815: [Gtk] text-selection-changed events are not issued for the correct
object when the selection spans multiple objects
https://bugs.webkit.org/show_bug.cgi?id=26815
Attachment 32171: textselection.patch
https://bugs.webkit.org/attachment.cgi?id=32171&action=review
------- Additional Comments from Xan Lopez
Get the focused node from the selection end.
From bugzilla-daemon at webkit.org Thu Jul 2 00:48:40 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 00:48:40 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26814] [Gtk] Caret-moved
events are not issued for the correct offset when text is
selected forward : [Attachment 32172] textcaretmoved.patch
Message-ID: <20090702074840.46098317770C@gamma.macosforge.org>
Xan Lopez has asked for review:
Bug 26814: [Gtk] Caret-moved events are not issued for the correct offset when
text is selected forward
https://bugs.webkit.org/show_bug.cgi?id=26814
Attachment 32172: textcaretmoved.patch
https://bugs.webkit.org/attachment.cgi?id=32172&action=review
------- Additional Comments from Xan Lopez
Report the offset from the end of the selection.
From bugzilla-daemon at webkit.org Thu Jul 2 03:04:48 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 03:04:48 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 24986] ARM JIT port :
[Attachment 32175] Constant pool for AssemblerBuffer (v3)
Message-ID: <20090702100448.A82D9317AB04@gamma.macosforge.org>
Gabor Loki has asked for review:
Bug 24986: ARM JIT port
https://bugs.webkit.org/show_bug.cgi?id=24986
Attachment 32175: Constant pool for AssemblerBuffer (v3)
https://bugs.webkit.org/attachment.cgi?id=32175&action=review
------- Additional Comments from Gabor Loki
Reformatted as suggested in comment #62.
From bugzilla-daemon at webkit.org Thu Jul 2 03:08:55 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 03:08:55 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 24986] ARM JIT port :
[Attachment 32176] Add YARR support for generic ARM platforms (v3)
Message-ID: <20090702100855.0F19D317ACFE@gamma.macosforge.org>
Gabor Loki has asked for review:
Bug 24986: ARM JIT port
https://bugs.webkit.org/show_bug.cgi?id=24986
Attachment 32176: Add YARR support for generic ARM platforms (v3)
https://bugs.webkit.org/attachment.cgi?id=32176&action=review
------- Additional Comments from Gabor Loki
Reformatted as suggested in comment #63.
From bugzilla-daemon at webkit.org Thu Jul 2 05:28:09 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 05:28:09 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 24986] ARM JIT port :
[Attachment 32181] Add generic ARM-JIT support using ARMAssembler
Message-ID: <20090702122809.2C8B6317E5E6@gamma.macosforge.org>
Zoltan Herczeg has asked for review:
Bug 24986: ARM JIT port
https://bugs.webkit.org/show_bug.cgi?id=24986
Attachment 32181: Add generic ARM-JIT support using ARMAssembler
https://bugs.webkit.org/attachment.cgi?id=32181&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 05:51:51 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 05:51:51 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 24986] ARM JIT port :
[Attachment 32182] Floating point support for ARM. Looks like
we double the number of patches each day :)
Message-ID: <20090702125151.A034A317EF3E@gamma.macosforge.org>
Zoltan Herczeg has asked for review:
Bug 24986: ARM JIT port
https://bugs.webkit.org/show_bug.cgi?id=24986
Attachment 32182: Floating point support for ARM. Looks like we double the
number of patches each day :)
https://bugs.webkit.org/attachment.cgi?id=32182&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 06:39:18 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 06:39:18 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26855] [Qt] New methods for
QWebFrame to check and set focus. : [Attachment 32086]
Proposed patch, adds QWebFrame methods for setting/checking focus
Message-ID: <20090702133918.3B3F83180286@gamma.macosforge.org>
Simon Hausmann has granted Joseph Ligman
's request for review:
Bug 26855: [Qt] New methods for QWebFrame to check and set focus.
https://bugs.webkit.org/show_bug.cgi?id=26855
Attachment 32086: Proposed patch, adds QWebFrame methods for setting/checking
focus
https://bugs.webkit.org/attachment.cgi?id=32086&action=review
------- Additional Comments from Simon Hausmann
Looks good to me :)
From bugzilla-daemon at webkit.org Thu Jul 2 07:15:14 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 07:15:14 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26896] [QT] make layout tests
in fast/css/getComputedStyle/ to pass : [Attachment 32137] patch
Message-ID: <20090702141514.B19FC31811C9@gamma.macosforge.org>
Simon Hausmann has granted 's request for review:
Bug 26896: [QT] make layout tests in fast/css/getComputedStyle/ to pass
https://bugs.webkit.org/show_bug.cgi?id=26896
Attachment 32137: patch
https://bugs.webkit.org/attachment.cgi?id=32137&action=review
------- Additional Comments from Simon Hausmann
Looks good, tried, works. And this time touches only Qt files :)
From bugzilla-daemon at webkit.org Thu Jul 2 09:07:10 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 09:07:10 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26882] Speed up creation of V8
wrappers for DOM nodes : [Attachment 32180] Next iteration
Message-ID: <20090702160710.E3F1A31840B8@gamma.macosforge.org>
Darin Fisher (:fishd, Google) has denied 's request for
review:
Bug 26882: Speed up creation of V8 wrappers for DOM nodes
https://bugs.webkit.org/show_bug.cgi?id=26882
Attachment 32180: Next iteration
https://bugs.webkit.org/attachment.cgi?id=32180&action=review
------- Additional Comments from Darin Fisher (:fishd, Google)
> Index: ChangeLog
...
> +2009-07-01 anton muhin
nit: your name should be Mixed Case
> + Reviewed by NOBODY (OOPS!).
> +
> + Speed up creation of V8 wrappers for DOM nodes.
> +
> + https://bugs.webkit.org/show_bug.cgi?id=26882
nit: please do not put tabs in the ChangeLog
> +
> + This patch doesn't require new tests as it a set of refactorings
> + to speed up wrapper creation.
> +
> + * ../../../bindings/v8/V8Proxy.cpp:
> + * ../../../bindings/v8/V8Proxy.h:
> +
nit: these paths should be relative to the WebCore directory.
> Index: bindings/v8/V8Proxy.h
...
> + static v8::Local
instantiateV8Object(V8ClassIndex::V8WrapperType descType,
V8ClassIndex::V8WrapperType cptrType, void* impl)
> + {
> + return instantiateV8Object(NULL, descType, cptrType, impl);
nit: indent by 4 spaces
From bugzilla-daemon at webkit.org Thu Jul 2 09:11:01 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 09:11:01 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26917] Increase delay in
worker-terminate layout test to make it more reliable. :
[Attachment 32169] Proposed patch
Message-ID: <20090702161101.BEAD43184277@gamma.macosforge.org>
Darin Fisher (:fishd, Google) has granted Dmitry Titov
's request for review:
Bug 26917: Increase delay in worker-terminate layout test to make it more
reliable.
https://bugs.webkit.org/show_bug.cgi?id=26917
Attachment 32169: Proposed patch
https://bugs.webkit.org/attachment.cgi?id=32169&action=review
------- Additional Comments from Darin Fisher (:fishd, Google)
R=me, but it sure would be nice if there were a way to construct a
test that wasn't timing sensitive. Adding delays to the layout
tests just slows down running all of the layout tests, and if 500ms
wasn't enough, then sometimes (maybe only rarely) 1000ms will also
not be enough.
From bugzilla-daemon at webkit.org Thu Jul 2 09:18:55 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 09:18:55 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26088] large negative
letter-spacing crashes the chromium port : [Attachment 32153]
revised patch w/ fishd's comments
Message-ID: <20090702161855.63DED31845AD@gamma.macosforge.org>
Darin Fisher (:fishd, Google) has granted Dirk Pranke
's request for review:
Bug 26088: large negative letter-spacing crashes the chromium port
https://bugs.webkit.org/show_bug.cgi?id=26088
Attachment 32153: revised patch w/ fishd's comments
https://bugs.webkit.org/attachment.cgi?id=32153&action=review
------- Additional Comments from Darin Fisher (:fishd, Google)
> Index: WebCore/platform/graphics/chromium/FontChromiumWin.cpp
...
> + // bug #26088 - init() might fail if layerRect is invalid. Given this,
...
> + // webkit bug 26088 - very large positive or negative runs can
fail
nit: would be nice to use a consistent way to refer to bug numbers. no need
to say webkit since that can be assumed given that this code is part of webkit.
R=me
From bugzilla-daemon at webkit.org Thu Jul 2 09:21:42 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 09:21:42 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 25711] HTML5 Database becomes
locked if a transaction is in progress when the page is
refreshed. : [Attachment 32125] New patch.
Message-ID: <20090702162142.7B74331846E0@gamma.macosforge.org>
Antti Koivisto has granted Ben Murdoch 's
request for review:
Bug 25711: HTML5 Database becomes locked if a transaction is in progress when
the page is refreshed.
https://bugs.webkit.org/show_bug.cgi?id=25711
Attachment 32125: New patch.
https://bugs.webkit.org/attachment.cgi?id=32125&action=review
------- Additional Comments from Antti Koivisto
Is it really always true that recordDatabaseOpen/recordDatabaseClose can't get
called in the database thread? If so then obviously you won't need mutexes, but
please make sure.
> + // Close the databases that we ran transactions on. This ensures that if
any transactions are still open, they are rolled back and we don't leave the
database in an
> + // inconsistent or locked state.
> + if (m_openDatabaseSet.size() > 0) {
> + // As the call to close will modify the original set, we must take a
copy to iterate over.
> + DatabaseSet openSetCopy = m_openDatabaseSet;
> + DatabaseSet::iterator end = openSetCopy.end();
> + for (DatabaseSet::iterator it = openSetCopy.begin(); it != end;
++it)
> + (*it)->close();
You should use HashSet::swap() instead of making a copy before iterating.
r=me with swap()
From bugzilla-daemon at webkit.org Thu Jul 2 09:34:16 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 09:34:16 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26457] Build DumpRenderTree
under Cairo : [Attachment 32088] Xcode change for Mac build.
Message-ID: <20090702163416.14F3C3184C8C@gamma.macosforge.org>
Adam Roben (aroben) has granted Brent Fulgham
's request for review:
Bug 26457: Build DumpRenderTree under Cairo
https://bugs.webkit.org/show_bug.cgi?id=26457
Attachment 32088: Xcode change for Mac build.
https://bugs.webkit.org/attachment.cgi?id=32088&action=review
------- Additional Comments from Adam Roben (aroben)
r=me
From bugzilla-daemon at webkit.org Thu Jul 2 09:47:21 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 09:47:21 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26457] Build DumpRenderTree
under Cairo : [Attachment 32087] Revised per Eric's comments.
Message-ID: <20090702164721.9C0833185255@gamma.macosforge.org>
Adam Roben (aroben) has denied Brent Fulgham
's request for review:
Bug 26457: Build DumpRenderTree under Cairo
https://bugs.webkit.org/show_bug.cgi?id=26457
Attachment 32087: Revised per Eric's comments.
https://bugs.webkit.org/attachment.cgi?id=32087&action=review
------- Additional Comments from Adam Roben (aroben)
> +2009-06-30 U-bfulgham-PC\bfulgham
Looks like you need to set REAL_NAME on this computer.
> + * DumpRenderTree/PixelDumpSupport.cpp: Added.
> + (dumpWebViewAsPixelsAndCompareWithExpected):
> + (printPNG):
> + * DumpRenderTree/PixelDumpSupport.h:
> + * DumpRenderTree/cairo: Added.
> + * DumpRenderTree/cairo/PixelDumpSupportCairo.cpp: Added.
> + (writeFunction):
> + (printPNG):
> + (computeMD5HashStringForBitmapContext):
> + (dumpBitmap):
> + * DumpRenderTree/cairo/PixelDumpSupportCairo.h: Added.
> + (BitmapContext::createByAdoptingBitmapAndContext):
> + (BitmapContext::~BitmapContext):
> + (BitmapContext::cairoContext):
> + (BitmapContext::BitmapContext):
> + * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
> + (printPNG):
> + (computeMD5HashStringForBitmapContext):
> + (dumpBitmap):
> + * DumpRenderTree/cg/PixelDumpSupportCG.h:
> + * DumpRenderTree/win/DumpRenderTree.cpp:
> + (main):
> + * DumpRenderTree/win/DumpRenderTree.vcproj:
> + * DumpRenderTree/win/PixelDumpSupportWin.cpp:
> + (createBitmapContextFromWebView):
It would be good to add more detailed comments about what you changed next to
each function/file.
> +#include "config.h"
> +#include "PixelDumpSupport.h"
> +#if PLATFORM(CG)
> +#include
> +#include "PixelDumpSupportCG.h"
> +#else
> +#include
> +#include "PixelDumpSupportCairo.h"
> +#endif
> +
> +#include "DumpRenderTree.h"
> +#include "LayoutTestController.h"
> +#include
> +#include
> +#include
I'm not sure I understand why we need to include any port-specific headers
here. Can the declarations of the required functions move to
PixelDumpSupport.h?
> +#if PLATFORM(WIN)
> +static const CFStringRef kUTTypePNG = CFSTR("public.png");
> +#endif
I don't think this is needed in PixelDumpSupportCairo.
> + const size_t dataLength = pixeldata.size ();
> + const unsigned char* data = &pixeldata[0];
> +
> + printPNG (dataLength, data);
Please remove the spaces after the function names.
pixeldata.data() would be better than &pixeldata[0]. pixeldata should probably
be renamed to pixelData.
> +void computeMD5HashStringForBitmapContext(RefPtr context,
char hashString[33])
context's type should be BitmapContext*.
> + // We need to swap the bytes to ensure consistent hashes independently
of endianness
Your code doesn't seem to take endianness into account. Should this turn into a
FIXME? Be removed entirely?
> +void dumpBitmap(RefPtr context)
context's type should be BitmapContext*.
> +{
> + cairo_surface_t* surface = cairo_get_target(context->cairoContext());
> + printPNG(surface);
> +}
> \ No newline at end of file
Please add a newline.
> + RetainPtr m_context;
It seems unlikely that RetainPtr is the right smart pointer for holding a
CairoContextRef. Is it really right to use CFRetain/CFRelease with a
CairoContextRef?
> +#endif // PixelDumpSupportCairo_h
> \ No newline at end of file
Please add a newline.
From bugzilla-daemon at webkit.org Thu Jul 2 09:47:49 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 09:47:49 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26490] Add isFinite method
to floating point types. : [Attachment 32185] Add 'isFinite'
operator to floating point types
Message-ID: <20090702164749.A4D2E3185289@gamma.macosforge.org>
Brent Fulgham has asked for review:
Bug 26490: Add isFinite method to floating point types.
https://bugs.webkit.org/show_bug.cgi?id=26490
Attachment 32185: Add 'isFinite' operator to floating point types
https://bugs.webkit.org/attachment.cgi?id=32185&action=review
------- Additional Comments from Brent Fulgham
I put this patch together and realized the only place it's really useful (so
far) is in the ImageCairo.cpp file. Is this change really worth it?
I didn't bother writing changelog, etc., since it seems like the patch is sort
of useless unless several routines are changed from using sets of bare
float/double values to the corresponding WebKit types.
Examples:
(1) html/CanvasRenderingContext2D.cpp is passed the individual ordinates as
separate values (rather than as a single WebKit type) that are then tested for
finite-ness.
(2) page/DOMWindow.cpp tests for 'isfinite' in separate ASSERTs, but I don't
think the code is helped by using a WebKit type check here, as it would lose
the ability to see which ASSERT is failing.
From bugzilla-daemon at webkit.org Thu Jul 2 09:54:29 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 09:54:29 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26923]
SPOD playing video in a div with a
box shadow : [Attachment 32186] Patch
Message-ID: <20090702165429.E576B31855C2@gamma.macosforge.org>
mitz at webkit.org has asked for review:
Bug 26923: SPOD playing video in a div with a box
shadow
https://bugs.webkit.org/show_bug.cgi?id=26923
Attachment 32186: Patch
https://bugs.webkit.org/attachment.cgi?id=32186&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 09:57:39 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 09:57:39 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 22119] [Transforms] clicks
in scrollbars of transformed element don't work (e.g. listbox
or overflow) : [Attachment 32161] Almost done patch;
needs ScrollbarClient cleanup
Message-ID: <20090702165739.0458B3185722@gamma.macosforge.org>
Dave Hyatt has asked for review:
Bug 22119: [Transforms] clicks in scrollbars of transformed element don't work
(e.g. listbox or overflow)
https://bugs.webkit.org/show_bug.cgi?id=22119
Attachment 32161: Almost done patch; needs ScrollbarClient cleanup
https://bugs.webkit.org/attachment.cgi?id=32161&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 10:02:27 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 10:02:27 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 22119] [Transforms] clicks in
scrollbars of transformed element don't work (e.g. listbox or
overflow) : [Attachment 32161] Almost done patch;
needs ScrollbarClient cleanup
Message-ID: <20090702170227.E30EB3185933@gamma.macosforge.org>
Simon Fraser (smfr) has granted Dave Hyatt
's request for review:
Bug 22119: [Transforms] clicks in scrollbars of transformed element don't work
(e.g. listbox or overflow)
https://bugs.webkit.org/show_bug.cgi?id=22119
Attachment 32161: Almost done patch; needs ScrollbarClient cleanup
https://bugs.webkit.org/attachment.cgi?id=32161&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 10:08:47 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 10:08:47 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26923]
SPOD playing video in a div with a
box shadow : [Attachment 32186] Patch
Message-ID: <20090702170847.197F63185BD9@gamma.macosforge.org>
Dave Hyatt has granted mitz at webkit.org's request for review:
Bug 26923: SPOD playing video in a div with a box
shadow
https://bugs.webkit.org/show_bug.cgi?id=26923
Attachment 32186: Patch
https://bugs.webkit.org/attachment.cgi?id=32186&action=review
------- Additional Comments from Dave Hyatt
r=me, typo in changelog ("purely")
From bugzilla-daemon at webkit.org Thu Jul 2 10:33:32 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 10:33:32 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26924] [Chromium] Linux:
fix assertion when rendering google.com.kh. : [Attachment
32187] patch
Message-ID: <20090702173332.53F11318668D@gamma.macosforge.org>
Adam Langley has asked Eric Seidel for
review:
Bug 26924: [Chromium] Linux: fix assertion when rendering google.com.kh.
https://bugs.webkit.org/show_bug.cgi?id=26924
Attachment 32187: patch
https://bugs.webkit.org/attachment.cgi?id=32187&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 11:09:17 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 11:09:17 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26926]
StringsNotToBeLocalized.txt is out-of-date : [Attachment
32188] patch v1 + ChangeLog
Message-ID: <20090702180917.17FD531874F6@gamma.macosforge.org>
Adam Roben (aroben) has asked for review:
Bug 26926: StringsNotToBeLocalized.txt is out-of-date
https://bugs.webkit.org/show_bug.cgi?id=26926
Attachment 32188: patch v1 + ChangeLog
https://bugs.webkit.org/attachment.cgi?id=32188&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 11:12:45 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 11:12:45 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26926]
StringsNotToBeLocalized.txt is out-of-date : [Attachment
32188] patch v1 + ChangeLog
Message-ID: <20090702181245.C5E24318769A@gamma.macosforge.org>
John Sullivan has granted Adam Roben (aroben)
's request for review:
Bug 26926: StringsNotToBeLocalized.txt is out-of-date
https://bugs.webkit.org/show_bug.cgi?id=26926
Attachment 32188: patch v1 + ChangeLog
https://bugs.webkit.org/attachment.cgi?id=32188&action=review
------- Additional Comments from John Sullivan
Thanks for clearing the cobwebs.
From bugzilla-daemon at webkit.org Thu Jul 2 11:17:59 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 11:17:59 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26457] Build DumpRenderTree
under Cairo : [Attachment 32189] Revised per Adam's comments.
Message-ID: <20090702181759.292A831878EC@gamma.macosforge.org>
Brent Fulgham has asked for review:
Bug 26457: Build DumpRenderTree under Cairo
https://bugs.webkit.org/show_bug.cgi?id=26457
Attachment 32189: Revised per Adam's comments.
https://bugs.webkit.org/attachment.cgi?id=32189&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 11:18:52 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 11:18:52 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26924] [Chromium] Linux: fix
assertion when rendering google.com.kh. : [Attachment 32187] patch
Message-ID: <20090702181852.D69643187947@gamma.macosforge.org>
Eric Seidel has denied Adam Langley 's
request for review:
Bug 26924: [Chromium] Linux: fix assertion when rendering google.com.kh.
https://bugs.webkit.org/show_bug.cgi?id=26924
Attachment 32187: patch
https://bugs.webkit.org/attachment.cgi?id=32187&action=review
------- Additional Comments from Eric Seidel
Needs a layout test, or explanation as to why one is impossible.
I assume one is impossible because this requires special fonts to be installed?
From bugzilla-daemon at webkit.org Thu Jul 2 11:25:21 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 11:25:21 -0700 (PDT)
Subject: [webkit-reviews] review cancelled: [Bug 26457] Build DumpRenderTree
under Cairo : [Attachment 32189] Revised per Adam's comments.
Message-ID: <20090702182521.65D443187BE4@gamma.macosforge.org>
Brent Fulgham has cancelled Brent Fulgham
's request for review:
Bug 26457: Build DumpRenderTree under Cairo
https://bugs.webkit.org/show_bug.cgi?id=26457
Attachment 32189: Revised per Adam's comments.
https://bugs.webkit.org/attachment.cgi?id=32189&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 11:25:21 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 11:25:21 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26457] Build DumpRenderTree
under Cairo : [Attachment 32190] Revised per Adam's comments
(better).
Message-ID: <20090702182521.6E6EA3187BE6@gamma.macosforge.org>
Brent Fulgham has asked for review:
Bug 26457: Build DumpRenderTree under Cairo
https://bugs.webkit.org/show_bug.cgi?id=26457
Attachment 32190: Revised per Adam's comments (better).
https://bugs.webkit.org/attachment.cgi?id=32190&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 12:20:10 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 12:20:10 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26620] Haiku WebKit port :
[Attachment 32049] Patch to add Haiku-specific files for
JavaScriptCore.
Message-ID: <20090702192010.32F10318934B@gamma.macosforge.org>
Eric Seidel has granted Maxime Simon
's request for review:
Bug 26620: Haiku WebKit port
https://bugs.webkit.org/show_bug.cgi?id=26620
Attachment 32049: Patch to add Haiku-specific files for JavaScriptCore.
https://bugs.webkit.org/attachment.cgi?id=32049&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 12:21:33 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 12:21:33 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26620] Haiku WebKit port :
[Attachment 32053] Patch to add Haiku-specific files for
WebCore/platform/image-decoders/.
Message-ID: <20090702192133.39BBC3189410@gamma.macosforge.org>
Eric Seidel has granted Maxime Simon
's request for review:
Bug 26620: Haiku WebKit port
https://bugs.webkit.org/show_bug.cgi?id=26620
Attachment 32053: Patch to add Haiku-specific files for
WebCore/platform/image-decoders/.
https://bugs.webkit.org/attachment.cgi?id=32053&action=review
------- Additional Comments from Eric Seidel
Looks OK, but the ChangeLog doesn't need:
WARNING: NO TEST CASES ADDED OR CHANGED
From bugzilla-daemon at webkit.org Thu Jul 2 12:52:59 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 12:52:59 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26929]
convertFromScrollbarToContainingView and friends should be in
ScrollView : [Attachment 32191] patch
Message-ID: <20090702195259.ABE2F318A19F@gamma.macosforge.org>
Jeremy Orlow has asked for review:
Bug 26929: convertFromScrollbarToContainingView and friends should be in
ScrollView
https://bugs.webkit.org/show_bug.cgi?id=26929
Attachment 32191: patch
https://bugs.webkit.org/attachment.cgi?id=32191&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 12:59:37 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 12:59:37 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26929]
convertFromScrollbarToContainingView and friends should be in
ScrollView : [Attachment 32191] patch
Message-ID: <20090702195937.E5B2A318A46E@gamma.macosforge.org>
Dave Hyatt has denied Jeremy Orlow 's
request for review:
Bug 26929: convertFromScrollbarToContainingView and friends should be in
ScrollView
https://bugs.webkit.org/show_bug.cgi?id=26929
Attachment 32191: patch
https://bugs.webkit.org/attachment.cgi?id=32191&action=review
------- Additional Comments from Dave Hyatt
Remove the FIXME: Test on Windows. I forgot to do that. Oops.
You can devirtualize the methods once you move them to ScrollView.
From bugzilla-daemon at webkit.org Thu Jul 2 13:00:20 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 13:00:20 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26872] Crash indenting a
table cell : [Attachment 32167] Fixes crash.
Message-ID: <20090702200020.8F263318A4B3@gamma.macosforge.org>
Ojan Vafai has asked for review:
Bug 26872: Crash indenting a table cell
https://bugs.webkit.org/show_bug.cgi?id=26872
Attachment 32167: Fixes crash.
https://bugs.webkit.org/attachment.cgi?id=32167&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 13:13:22 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 13:13:22 -0700 (PDT)
Subject: [webkit-reviews] review requested: [Bug 26929]
convertFromScrollbarToContainingView and friends should be in
ScrollView : [Attachment 32194] Remove unused functions
Message-ID: <20090702201322.74893318A9E9@gamma.macosforge.org>
Dave Hyatt has asked for review:
Bug 26929: convertFromScrollbarToContainingView and friends should be in
ScrollView
https://bugs.webkit.org/show_bug.cgi?id=26929
Attachment 32194: Remove unused functions
https://bugs.webkit.org/attachment.cgi?id=32194&action=review
From bugzilla-daemon at webkit.org Thu Jul 2 13:16:58 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 13:16:58 -0700 (PDT)
Subject: [webkit-reviews] review denied: [Bug 26929]
convertFromScrollbarToContainingView and friends should be in
ScrollView : [Attachment 32194] Remove unused functions
Message-ID: <20090702201658.337AC318AB39@gamma.macosforge.org>
Simon Fraser (smfr) has denied Dave Hyatt
's request for review:
Bug 26929: convertFromScrollbarToContainingView and friends should be in
ScrollView
https://bugs.webkit.org/show_bug.cgi?id=26929
Attachment 32194: Remove unused functions
https://bugs.webkit.org/attachment.cgi?id=32194&action=review
------- Additional Comments from Simon Fraser (smfr)
The previous patch is right.
From bugzilla-daemon at webkit.org Thu Jul 2 13:17:10 2009
From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org)
Date: Thu, 2 Jul 2009 13:17:10 -0700 (PDT)
Subject: [webkit-reviews] review granted: [Bug 26929]
convertFromScrollbarToContainingView and friends should be in
ScrollView : [Attachment 32191] patch
Message-ID: <20090702201710.32D8B318AB56@gamma.macosforge.org>
Simon Fraser (smfr) has granted 's request for review:
Bug 26929: convertFromScrollbarToContainingView and friends should be in
ScrollView
https://bugs.webkit.org/show_bug.cgi?id=26929
Attachment 32191: patch
https://bugs.webkit.org/attachment.cgi?id=32191&action=review
------- Additional Comments from Simon Fraser (smfr)