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) This is the right one! From bugzilla-daemon at webkit.org Thu Jul 2 13:45:29 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 13:45:29 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26933] Replaced elements should simply always clip to border-radius : [Attachment 32195] Patch Message-ID: <20090702204529.BA137318B70F@gamma.macosforge.org> Dave Hyatt has asked for review: Bug 26933: Replaced elements should simply always clip to border-radius https://bugs.webkit.org/show_bug.cgi?id=26933 Attachment 32195: Patch https://bugs.webkit.org/attachment.cgi?id=32195&action=review From bugzilla-daemon at webkit.org Thu Jul 2 13:47:17 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 13:47:17 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26933] Replaced elements should simply always clip to border-radius : [Attachment 32195] Patch Message-ID: <20090702204717.B5F69318B7D5@gamma.macosforge.org> Simon Fraser (smfr) has granted Dave Hyatt 's request for review: Bug 26933: Replaced elements should simply always clip to border-radius https://bugs.webkit.org/show_bug.cgi?id=26933 Attachment 32195: Patch https://bugs.webkit.org/attachment.cgi?id=32195&action=review From bugzilla-daemon at webkit.org Thu Jul 2 13:51:32 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 13:51:32 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26932] Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs : [Attachment 32196] proposed patch Message-ID: <20090702205132.4FEA0318B9AC@gamma.macosforge.org> Andrew Wilson has asked for review: Bug 26932: Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs https://bugs.webkit.org/show_bug.cgi?id=26932 Attachment 32196: proposed patch https://bugs.webkit.org/attachment.cgi?id=32196&action=review From bugzilla-daemon at webkit.org Thu Jul 2 14:16:58 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:16:58 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26934] [Qt] It would be useful to have methods for scrolling QWebElement : [Attachment 32197] Proposed patch, for adding scrolling to QWebElement Message-ID: <20090702211658.17891318C4C1@gamma.macosforge.org> Joseph Ligman has asked for review: Bug 26934: [Qt] It would be useful to have methods for scrolling QWebElement https://bugs.webkit.org/show_bug.cgi?id=26934 Attachment 32197: Proposed patch, for adding scrolling to QWebElement https://bugs.webkit.org/attachment.cgi?id=32197&action=review ------- Additional Comments from Joseph Ligman I'm not sure what is the correct API, but something like this would be useful for me anyway. From bugzilla-daemon at webkit.org Thu Jul 2 14:23:29 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:23:29 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26457] Build DumpRenderTree under Cairo : [Attachment 32190] Revised per Adam's comments (better). Message-ID: <20090702212329.2F66A318C7E7@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 32190: Revised per Adam's comments (better). https://bugs.webkit.org/attachment.cgi?id=32190&action=review ------- Additional Comments from Adam Roben (aroben) There's a newer version of the license header in WebCore/html/PreloadScanner.cpp. Please use that template for new files. > + * DumpRenderTree/PixelDumpSupport.h: Add declaration for new > + common pringPNG function. Typo: pringPNG > + printPNG (dataLength, data); Please remove the space after "printPNG". > +typedef struct _cairo* CairoContextRef; I thought there was a cairo_t typedef. Maybe there's some reason we can't use that name here. > + BitmapContext(PlatformBitmapBuffer buffer, CairoContextRef context) > + : m_buffer(buffer) > + , m_context(context) > + { > + } > + > + PlatformBitmapBuffer m_buffer; > + CairoContextRef m_context; Do we need to retain/release m_context (using the appropriate Cairo functions)? r=me From bugzilla-daemon at webkit.org Thu Jul 2 14:26:59 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:26:59 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 17052] Scrolling with arrow keys does not update cursor : [Attachment 31822] Addressed comments Message-ID: <20090702212659.F0BF0318C950@gamma.macosforge.org> Eric Seidel has denied Yuzo Fujishima 's request for review: Bug 17052: Scrolling with arrow keys does not update cursor https://bugs.webkit.org/show_bug.cgi?id=17052 Attachment 31822: Addressed comments https://bugs.webkit.org/attachment.cgi?id=31822&action=review ------- Additional Comments from Eric Seidel Ok. What I need from you to r+ this patch, is I need explanation as to why this is the correct fix. The fix itself looks fine, but why is this the right way to fix this? Why does Mac not need this code for example? Try the example on a Mac with a scroll wheel mouse and you'll see cursor updates work as expected. From bugzilla-daemon at webkit.org Thu Jul 2 14:27:18 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:27:18 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26857] [Chromium] Upstream V8Binding : [Attachment 32198] patch4 Message-ID: <20090702212718.6D71B318C986@gamma.macosforge.org> Nate Chapin has asked for review: Bug 26857: [Chromium] Upstream V8Binding https://bugs.webkit.org/show_bug.cgi?id=26857 Attachment 32198: patch4 https://bugs.webkit.org/attachment.cgi?id=32198&action=review From bugzilla-daemon at webkit.org Thu Jul 2 14:34:05 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:34:05 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26932] Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs : [Attachment 32199] proposed patch Message-ID: <20090702213405.70493318CC8B@gamma.macosforge.org> Andrew Wilson has asked for review: Bug 26932: Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs https://bugs.webkit.org/show_bug.cgi?id=26932 Attachment 32199: proposed patch https://bugs.webkit.org/attachment.cgi?id=32199&action=review ------- Additional Comments from Andrew Wilson Removed unnecessary braces from V8SharedWorkerCustom From bugzilla-daemon at webkit.org Thu Jul 2 14:34:05 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:34:05 -0700 (PDT) Subject: [webkit-reviews] review cancelled: [Bug 26932] Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs : [Attachment 32196] proposed patch Message-ID: <20090702213405.65A76318CC89@gamma.macosforge.org> Andrew Wilson has cancelled Andrew Wilson 's request for review: Bug 26932: Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs https://bugs.webkit.org/show_bug.cgi?id=26932 Attachment 32196: proposed patch https://bugs.webkit.org/attachment.cgi?id=32196&action=review ------- Additional Comments from Andrew Wilson Removed unnecessary braces from V8SharedWorkerCustom From bugzilla-daemon at webkit.org Thu Jul 2 14:34:07 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:34:07 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26872] Crash indenting a table cell : [Attachment 32167] Fixes crash. Message-ID: <20090702213407.5064D318CCA1@gamma.macosforge.org> Eric Seidel has granted Ojan Vafai 's request 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 ------- Additional Comments from Eric Seidel The fix looks fine to me. I'm not sure if it's at the right layer or not. Justin would know that better. I assume and root contentEditable nodes are the only non-splitable nodes? Justin has historically been very slow to respond to Bugzilla bugs, so I'm going to go ahead and r+ this and we can roll it out or fix it differently if Justin later comments and feels it should be done at a different level. From bugzilla-daemon at webkit.org Thu Jul 2 14:40:13 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:40:13 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26620] Haiku WebKit port : [Attachment 32054] Patch to add Haiku-specific files for WebCore/platform/text/. Message-ID: <20090702214013.A37F8318CF43@gamma.macosforge.org> Eric Seidel has denied Maxime Simon 's request for review: Bug 26620: Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26620 Attachment 32054: Patch to add Haiku-specific files for WebCore/platform/text/. https://bugs.webkit.org/attachment.cgi?id=32054&action=review ------- Additional Comments from Eric Seidel Seems you might want a notImplemnted() at: +const char* currentTextBreakLocaleID() Again, don't need: + WARNING: NO TEST CASES ADDED OR CHANGED Since someone would have to manually fix your ChangeLogs, gonna r- this. From bugzilla-daemon at webkit.org Thu Jul 2 14:40:35 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:40:35 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26620] Haiku WebKit port : [Attachment 32058] Patch to add Haiku-specific files for WebCore/platform/. Message-ID: <20090702214035.4B810318CF77@gamma.macosforge.org> Eric Seidel has denied Maxime Simon 's request for review: Bug 26620: Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26620 Attachment 32058: Patch to add Haiku-specific files for WebCore/platform/. https://bugs.webkit.org/attachment.cgi?id=32058&action=review ------- Additional Comments from Eric Seidel Too large to review. From bugzilla-daemon at webkit.org Thu Jul 2 14:41:04 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:41:04 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26620] Haiku WebKit port : [Attachment 32060] Patch to add WebCore support. Message-ID: <20090702214104.E33BA318CFBF@gamma.macosforge.org> Eric Seidel has denied Maxime Simon 's request for review: Bug 26620: Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26620 Attachment 32060: Patch to add WebCore support. https://bugs.webkit.org/attachment.cgi?id=32060&action=review ------- Additional Comments from Eric Seidel Too large to review. From bugzilla-daemon at webkit.org Thu Jul 2 14:41:39 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:41:39 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26620] Haiku WebKit port : [Attachment 32069] Patch to add Haiku-specific files for WebCore/bindings/js/. Message-ID: <20090702214139.6EF18318D025@gamma.macosforge.org> Eric Seidel has denied Maxime Simon 's request for review: Bug 26620: Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26620 Attachment 32069: Patch to add Haiku-specific files for WebCore/bindings/js/. https://bugs.webkit.org/attachment.cgi?id=32069&action=review ------- Additional Comments from Eric Seidel 8 WARNING: NO TEST CASES ADDED OR CHANGED is not needed. Otherwise this looks great. r- because someone would have to manually edit your ChangeLogs when landing. From bugzilla-daemon at webkit.org Thu Jul 2 14:42:45 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:42:45 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26620] Haiku WebKit port : [Attachment 32071] Patch to add Haiku-specific files for WebCore/editing/. Message-ID: <20090702214245.B2F29318D0BF@gamma.macosforge.org> Eric Seidel has denied Maxime Simon 's request for review: Bug 26620: Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26620 Attachment 32071: Patch to add Haiku-specific files for WebCore/editing/. https://bugs.webkit.org/attachment.cgi?id=32071&action=review ------- Additional Comments from Eric Seidel Looks fine. Where is the implementation of ClipboardHaiku? R- for someone having to edit your ChangeLogs when landing: + WARNING: NO TEST CASES ADDED OR CHANGED (If you were a committer I would just r+ all these, but as is, it's best if you fix them first so they can be landed automatically by our scripts.) From bugzilla-daemon at webkit.org Thu Jul 2 14:44:31 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:44:31 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26620] Haiku WebKit port : [Attachment 32073] Patch to add Haiku-specific files for WebCore/page/. Message-ID: <20090702214431.7B104318D1A8@gamma.macosforge.org> Eric Seidel has denied Maxime Simon 's request for review: Bug 26620: Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26620 Attachment 32073: Patch to add Haiku-specific files for WebCore/page/. https://bugs.webkit.org/attachment.cgi?id=32073&action=review ------- Additional Comments from Eric Seidel Please don't include commented out code: //#include "Frame.h" 32 //#include "FrameView.h" 33 //#include "Page.h" 108 //notImplemented(); Looks OK otherwise. Please remove extra comments and update changeLog and re-post. I would have r+'d this if you were a committer. 8 WARNING: NO TEST CASES ADDED OR CHANGED From bugzilla-daemon at webkit.org Thu Jul 2 14:47:58 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:47:58 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26935] [Chromium] Linux: fix complex text rendering with line break characters : [Attachment 32200] patch Message-ID: <20090702214758.092CB318D326@gamma.macosforge.org> Adam Langley has asked Eric Seidel for review: Bug 26935: [Chromium] Linux: fix complex text rendering with line break characters https://bugs.webkit.org/show_bug.cgi?id=26935 Attachment 32200: patch https://bugs.webkit.org/attachment.cgi?id=32200&action=review From bugzilla-daemon at webkit.org Thu Jul 2 14:49:50 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:49:50 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26620] Haiku WebKit port : [Attachment 32076] Patch to add Haiku-specific files for WebCore/platform/graphics/. Message-ID: <20090702214950.6AF48318D422@gamma.macosforge.org> Eric Seidel has denied Maxime Simon 's request for review: Bug 26620: Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26620 Attachment 32076: Patch to add Haiku-specific files for WebCore/platform/graphics/. https://bugs.webkit.org/attachment.cgi?id=32076&action=review ------- Additional Comments from Eric Seidel What is a styleable port? 45 // FIXME: subtract 1 from height and width? This was not done in Syllable port I don't think you meant to leaven this in: 52 printf("FontCache::getFontDataForCharacters\n"); WebKit generally uses 0 for NULL in C++ code: 72 pcDefaultFont->GetFamilyAndStyle(&family, NULL); Please use c++ style casts: 76 //return new FontPlatformData(fontDescription, (BFont*)pcDefaultFont); We don't commit commented out code: 76 //return new FontPlatformData(fontDescription, (BFont*)pcDefaultFont); Style: 83 if (!pcData->font()) 84 { You should consider using an OwnPtr here: 82 FontPlatformData* pcData = new FontPlatformData(fontDescription, family); Style: 51 int char_unicode_to_utf8(unsigned short glyph, char* out) { Tabs will cause the commit to fail: 54 if (glyph < 0x0080) 55 out[i++] = (char)glyph; Indent: { 74 notImplemented(); 75 return true; 76 } Why? 43 int char_unicode_to_utf8(unsigned short glyph, char* out); // implemented in FontDataHaiku.cpp Please use C++ style casts: 57 BView* view = (BView*)graphicsContext->platformContext(); Double converting to float: float Font::floatWidthForComplexText(const TextRun& run, HashSet* fallbackFonts) const 83 { 84 notImplemented(); 85 return 3.0; Style: 59 if (f.m_font) 60 { 61 m_font = new BFont(f.m_font); 62 } Extra spaces and bad variable name: 71 font_family fam; STyle: 74 for(int i = 0; i < count_font_families(); i++) { Please break this up into smaller patches. Please do fewer patches per-bug. From bugzilla-daemon at webkit.org Thu Jul 2 14:50:35 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:50:35 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26620] Haiku WebKit port : [Attachment 32053] Patch to add Haiku-specific files for WebCore/platform/image-decoders/. Message-ID: <20090702215035.653E3318D4A1@gamma.macosforge.org> Eric Seidel has denied '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 Since you're not a committer this can't be landed by you. Please upload a new one with 8 WARNING: NO TEST CASES ADDED OR CHANGED removed. otherwise it looked fine. From bugzilla-daemon at webkit.org Thu Jul 2 14:53:51 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 14:53:51 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26935] [Chromium] Linux: fix complex text rendering with line break characters : [Attachment 32200] patch Message-ID: <20090702215351.1E76E318D60C@gamma.macosforge.org> Eric Seidel has granted Adam Langley 's request for review: Bug 26935: [Chromium] Linux: fix complex text rendering with line break characters https://bugs.webkit.org/show_bug.cgi?id=26935 Attachment 32200: patch https://bugs.webkit.org/attachment.cgi?id=32200&action=review ------- Additional Comments from Eric Seidel Yay for nice ChangeLogs! :) I believe the { goes on the same line as the enum: +enum +{ Nice use of self-documenting constants, btw. :) Looks fine. I'll ask you in person to make sure we're doing this in a similar manner to the other complex text paths (which I know have similar code). From bugzilla-daemon at webkit.org Thu Jul 2 15:11:05 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 15:11:05 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26935] [Chromium] Linux: fix complex text rendering with line break characters : [Attachment 32200] patch Message-ID: <20090702221105.09AFE318DCE3@gamma.macosforge.org> Eric Seidel has denied 's request for review: Bug 26935: [Chromium] Linux: fix complex text rendering with line break characters https://bugs.webkit.org/show_bug.cgi?id=26935 Attachment 32200: patch https://bugs.webkit.org/attachment.cgi?id=32200&action=review ------- Additional Comments from Eric Seidel Adam and I discussed this in person and he decided this would require further revision. From bugzilla-daemon at webkit.org Thu Jul 2 15:16:25 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 15:16:25 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26857] [Chromium] Upstream V8Binding : [Attachment 32198] patch4 Message-ID: <20090702221625.6DE05318DF24@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 32198: patch4 https://bugs.webkit.org/attachment.cgi?id=32198&action=review ------- Additional Comments from David Levin A few last things to address: > Index: WebCore/bindings/v8/V8Binding.cpp > +class WebCoreStringResource : public v8::String::ExternalStringResource { > +public: > + explicit WebCoreStringResource(const String& string) > + : m_impl(string.impl()) { } The { } should go on separate lines (since you have initializers). > +String v8StringToWebCoreString(v8::Handle v8String, bool externalize) > +{ ... > + > + int length = v8String->Length(); > + if (length) { if (!length) > +String v8ValueToWebCoreString(v8::Handle object) > +{ ... > + return webCoreString; > + } else { This else should go away since there is a "return" finishing the previous block. From bugzilla-daemon at webkit.org Thu Jul 2 15:24:23 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 15:24:23 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26935] [Chromium] Linux: fix complex text rendering with line break characters : [Attachment 32201] patch Message-ID: <20090702222423.26414318E245@gamma.macosforge.org> Adam Langley has asked Eric Seidel for review: Bug 26935: [Chromium] Linux: fix complex text rendering with line break characters https://bugs.webkit.org/show_bug.cgi?id=26935 Attachment 32201: patch https://bugs.webkit.org/attachment.cgi?id=32201&action=review ------- Additional Comments from Adam Langley After testing with some of the other values that I believed should be substituted for spaces, it seems that treatAsSpace is correct. None of the other values are causing issues. Either they are handled somewhere else, or the font's cmap is handling them. From bugzilla-daemon at webkit.org Thu Jul 2 15:25:34 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 15:25:34 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26935] [Chromium] Linux: fix complex text rendering with line break characters : [Attachment 32201] patch Message-ID: <20090702222534.7C0A2318E2CC@gamma.macosforge.org> Eric Seidel has granted Adam Langley 's request for review: Bug 26935: [Chromium] Linux: fix complex text rendering with line break characters https://bugs.webkit.org/show_bug.cgi?id=26935 Attachment 32201: patch https://bugs.webkit.org/attachment.cgi?id=32201&action=review ------- Additional Comments from Eric Seidel LGTM. From bugzilla-daemon at webkit.org Thu Jul 2 15:47:03 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 15:47:03 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26924] [Chromium] Linux: fix assertion when rendering google.com.kh. : [Attachment 32202] patch Message-ID: <20090702224703.5A407318EB77@gamma.macosforge.org> Adam Langley has asked for review: Bug 26924: [Chromium] Linux: fix assertion when rendering google.com.kh. https://bugs.webkit.org/show_bug.cgi?id=26924 Attachment 32202: patch https://bugs.webkit.org/attachment.cgi?id=32202&action=review From bugzilla-daemon at webkit.org Thu Jul 2 15:47:13 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 15:47:13 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26924] [Chromium] Linux: fix assertion when rendering google.com.kh. : [Attachment 32202] patch Message-ID: <20090702224713.6AEBD318EB98@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 32202: patch https://bugs.webkit.org/attachment.cgi?id=32202&action=review From bugzilla-daemon at webkit.org Thu Jul 2 16:14:49 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:14:49 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26939] http://www.mozilla.com/en-US/firefox/video/firefox-3.5.html : [Attachment 32203] patch v1. Message-ID: <20090702231449.251EF318F741@gamma.macosforge.org> Pierre d'Herbemont has asked for review: Bug 26939: http://www.mozilla.com/en-US/firefox/video/firefox-3.5.html https://bugs.webkit.org/show_bug.cgi?id=26939 Attachment 32203: patch v1. https://bugs.webkit.org/attachment.cgi?id=32203&action=review From bugzilla-daemon at webkit.org Thu Jul 2 16:24:36 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:24:36 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26913] bugzilla-tool needs to handle login failure : [Attachment 32204] patch Message-ID: <20090702232436.97DF0318FADD@gamma.macosforge.org> Eric Seidel has asked for review: Bug 26913: bugzilla-tool needs to handle login failure https://bugs.webkit.org/show_bug.cgi?id=26913 Attachment 32204: patch https://bugs.webkit.org/attachment.cgi?id=32204&action=review From bugzilla-daemon at webkit.org Thu Jul 2 16:29:16 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:29:16 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26940] Add a SQLite VFS for Chromium : [Attachment 32205] win patch Message-ID: <20090702232916.14D0E318FCEF@gamma.macosforge.org> Dumitru Daniliuc has asked for review: Bug 26940: Add a SQLite VFS for Chromium https://bugs.webkit.org/show_bug.cgi?id=26940 Attachment 32205: win patch https://bugs.webkit.org/attachment.cgi?id=32205&action=review ------- Additional Comments from Dumitru Daniliuc SQLite VFS: only the code that deals directly with files was slightly modified. FileSystem: openDatabase() uses "chromium_vfs" to open files, all other functions are either very simple or delegate to ChromiumBridge. From bugzilla-daemon at webkit.org Thu Jul 2 16:31:58 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:31:58 -0700 (PDT) Subject: [webkit-reviews] review cancelled: [Bug 26940] Add a SQLite VFS for Chromium : [Attachment 32205] win patch Message-ID: <20090702233158.D940A318FDC0@gamma.macosforge.org> Dumitru Daniliuc has cancelled Dumitru Daniliuc 's request for review: Bug 26940: Add a SQLite VFS for Chromium https://bugs.webkit.org/show_bug.cgi?id=26940 Attachment 32205: win patch https://bugs.webkit.org/attachment.cgi?id=32205&action=review ------- Additional Comments from Dumitru Daniliuc Attached the wrong patch... From bugzilla-daemon at webkit.org Thu Jul 2 16:31:58 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:31:58 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26940] Add a SQLite VFS for Chromium : [Attachment 32206] win patch Message-ID: <20090702233158.E1941318FDC2@gamma.macosforge.org> Dumitru Daniliuc has asked for review: Bug 26940: Add a SQLite VFS for Chromium https://bugs.webkit.org/show_bug.cgi?id=26940 Attachment 32206: win patch https://bugs.webkit.org/attachment.cgi?id=32206&action=review ------- Additional Comments from Dumitru Daniliuc Attached the wrong patch... From bugzilla-daemon at webkit.org Thu Jul 2 16:39:50 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:39:50 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26942] Dump As Text doing the wrong thing when overflow is set on replaced elements : [Attachment 32207] Patch Message-ID: <20090702233950.A42563190084@gamma.macosforge.org> Dave Hyatt has asked for review: Bug 26942: Dump As Text doing the wrong thing when overflow is set on replaced elements https://bugs.webkit.org/show_bug.cgi?id=26942 Attachment 32207: Patch https://bugs.webkit.org/attachment.cgi?id=32207&action=review From bugzilla-daemon at webkit.org Thu Jul 2 16:41:37 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:41:37 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26942] Dump As Text doing the wrong thing when overflow is set on replaced elements : [Attachment 32207] Patch Message-ID: <20090702234137.219A03190141@gamma.macosforge.org> mitz at webkit.org has granted Dave Hyatt 's request for review: Bug 26942: Dump As Text doing the wrong thing when overflow is set on replaced elements https://bugs.webkit.org/show_bug.cgi?id=26942 Attachment 32207: Patch https://bugs.webkit.org/attachment.cgi?id=32207&action=review ------- Additional Comments from mitz at webkit.org r=me assuming the find-on-page tests that were added with Darin?s change still pass From bugzilla-daemon at webkit.org Thu Jul 2 16:42:35 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:42:35 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26913] bugzilla-tool needs to handle login failure : [Attachment 32204] patch Message-ID: <20090702234235.976D931901B3@gamma.macosforge.org> David Levin has granted Eric Seidel 's request for review: Bug 26913: bugzilla-tool needs to handle login failure https://bugs.webkit.org/show_bug.cgi?id=26913 Attachment 32204: patch https://bugs.webkit.org/attachment.cgi?id=32204&action=review ------- Additional Comments from David Levin > diff --git a/WebKitTools/Scripts/modules/bugzilla.py b/WebKitTools/Scripts/modules/bugzilla.py > + match = re.search("(.+)", response.read()) You could do a non-greedy match here like this "(.+?)" (which would be more typical for grabbing the context of just one tag) but it isn't necessary here. From bugzilla-daemon at webkit.org Thu Jul 2 16:47:04 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:47:04 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26943] Transitions restart sometimes when they shouldn't : [Attachment 32210] Patch with test Message-ID: <20090702234704.637AE3190358@gamma.macosforge.org> Chris Marrin has asked for review: Bug 26943: Transitions restart sometimes when they shouldn't https://bugs.webkit.org/show_bug.cgi?id=26943 Attachment 32210: Patch with test https://bugs.webkit.org/attachment.cgi?id=32210&action=review ------- Additional Comments from Chris Marrin NOTE: Please don't review this patch until we have done some tests with more complex content. From bugzilla-daemon at webkit.org Thu Jul 2 16:51:13 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:51:13 -0700 (PDT) Subject: [webkit-reviews] review cancelled: [Bug 26670] [Win] REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page : [Attachment 31766] patch authored by oliver Message-ID: <20090702235113.BFF0531904E3@gamma.macosforge.org> Oliver Hunt has cancelled Alice Liu 's request for review: Bug 26670: [Win] REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page https://bugs.webkit.org/show_bug.cgi?id=26670 Attachment 31766: patch authored by oliver https://bugs.webkit.org/attachment.cgi?id=31766&action=review From bugzilla-daemon at webkit.org Thu Jul 2 16:51:13 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:51:13 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26670] [Win] REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page : [Attachment 32211] fix with changelog Message-ID: <20090702235113.CBFAD31904E5@gamma.macosforge.org> Oliver Hunt has asked for review: Bug 26670: [Win] REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page https://bugs.webkit.org/show_bug.cgi?id=26670 Attachment 32211: fix with changelog https://bugs.webkit.org/attachment.cgi?id=32211&action=review From bugzilla-daemon at webkit.org Thu Jul 2 16:51:59 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:51:59 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26670] [Win] REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page : [Attachment 32211] fix with changelog Message-ID: <20090702235159.1AEA7319052D@gamma.macosforge.org> Anders Carlsson has granted Oliver Hunt 's request for review: Bug 26670: [Win] REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page https://bugs.webkit.org/show_bug.cgi?id=26670 Attachment 32211: fix with changelog https://bugs.webkit.org/attachment.cgi?id=32211&action=review ------- Additional Comments from Anders Carlsson r=me From bugzilla-daemon at webkit.org Thu Jul 2 16:56:10 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 16:56:10 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26939] MediaUI look is badly rendered on http://www.mozilla.com/en-US/firefox/video/firefox-3.5.html : [Attachment 32203] patch v1. Message-ID: <20090702235610.054CA3190733@gamma.macosforge.org> Simon Fraser (smfr) has granted Pierre d'Herbemont 's request for review: Bug 26939: MediaUI look is badly rendered on http://www.mozilla.com/en-US/firefox/video/firefox-3.5.html https://bugs.webkit.org/show_bug.cgi?id=26939 Attachment 32203: patch v1. https://bugs.webkit.org/attachment.cgi?id=32203&action=review From bugzilla-daemon at webkit.org Thu Jul 2 17:00:56 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 17:00:56 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26857] [Chromium] Upstream V8Binding : [Attachment 32212] patch5 Message-ID: <20090703000056.7513331908E2@gamma.macosforge.org> Nate Chapin has asked for review: Bug 26857: [Chromium] Upstream V8Binding https://bugs.webkit.org/show_bug.cgi?id=26857 Attachment 32212: patch5 https://bugs.webkit.org/attachment.cgi?id=32212&action=review From bugzilla-daemon at webkit.org Thu Jul 2 17:06:46 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 17:06:46 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26857] [Chromium] Upstream V8Binding : [Attachment 32212] patch5 Message-ID: <20090703000646.CBC593190AD4@gamma.macosforge.org> David Levin has granted Nate Chapin 's request for review: Bug 26857: [Chromium] Upstream V8Binding https://bugs.webkit.org/show_bug.cgi?id=26857 Attachment 32212: patch5 https://bugs.webkit.org/attachment.cgi?id=32212&action=review From bugzilla-daemon at webkit.org Thu Jul 2 17:39:34 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 17:39:34 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26944] Media controls doesn't scale properly : [Attachment 32213] patch v1. Message-ID: <20090703003934.CA9E53191812@gamma.macosforge.org> Pierre d'Herbemont has asked for review: Bug 26944: Media controls doesn't scale properly https://bugs.webkit.org/show_bug.cgi?id=26944 Attachment 32213: patch v1. https://bugs.webkit.org/attachment.cgi?id=32213&action=review From bugzilla-daemon at webkit.org Thu Jul 2 17:45:01 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 17:45:01 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26944] Media controls doesn't scale properly : [Attachment 32213] patch v1. Message-ID: <20090703004501.E81673191A30@gamma.macosforge.org> Simon Fraser (smfr) has granted Pierre d'Herbemont 's request for review: Bug 26944: Media controls doesn't scale properly https://bugs.webkit.org/show_bug.cgi?id=26944 Attachment 32213: patch v1. https://bugs.webkit.org/attachment.cgi?id=32213&action=review From bugzilla-daemon at webkit.org Thu Jul 2 17:49:50 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 17:49:50 -0700 (PDT) Subject: [webkit-reviews] review cancelled: [Bug 26457] Build DumpRenderTree under Cairo : [Attachment 32088] Xcode change for Mac build. Message-ID: <20090703004950.AB1183191BD7@gamma.macosforge.org> Eric Seidel has cancelled '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 From bugzilla-daemon at webkit.org Thu Jul 2 17:49:51 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 17:49:51 -0700 (PDT) Subject: [webkit-reviews] review cancelled: [Bug 26457] Build DumpRenderTree under Cairo : [Attachment 32190] Revised per Adam's comments (better). Message-ID: <20090703004951.DBCAC3191BE2@gamma.macosforge.org> Eric Seidel has cancelled 's request 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 18:02:28 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 18:02:28 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26790] ParserArenaDeletable should override delete : [Attachment 32038] Overeride ParserArenaDeletable delete Message-ID: <20090703010228.AC66431920EA@gamma.macosforge.org> Darin Adler has granted Kwang Yul Seo 's request for review: Bug 26790: ParserArenaDeletable should override delete https://bugs.webkit.org/show_bug.cgi?id=26790 Attachment 32038: Overeride ParserArenaDeletable delete https://bugs.webkit.org/attachment.cgi?id=32038&action=review From bugzilla-daemon at webkit.org Thu Jul 2 18:12:21 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 18:12:21 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26457] Build DumpRenderTree under Cairo : [Attachment 32214] Workaround for build. Message-ID: <20090703011221.2BE5131924E9@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 32214: Workaround for build. https://bugs.webkit.org/attachment.cgi?id=32214&action=review From bugzilla-daemon at webkit.org Thu Jul 2 18:45:05 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 18:45:05 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26262] Implement HTML5 draggable : [Attachment 32215] Patch Message-ID: <20090703014505.5AE17319309A@gamma.macosforge.org> Erik Arvidsson has asked for review: Bug 26262: Implement HTML5 draggable https://bugs.webkit.org/show_bug.cgi?id=26262 Attachment 32215: Patch https://bugs.webkit.org/attachment.cgi?id=32215&action=review From bugzilla-daemon at webkit.org Thu Jul 2 21:18:54 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 21:18:54 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26932] Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs : [Attachment 32199] proposed patch In-Reply-To: References: Message-ID: <20090703041854.97B52319CE6A@gamma.macosforge.org> David Levin has denied Andrew Wilson 's request for review: Bug 26932: Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs https://bugs.webkit.org/show_bug.cgi?id=26932 Attachment 32199: proposed patch https://bugs.webkit.org/attachment.cgi?id=32199&action=edit ------- Additional Comments from David Levin This looks good in general. There are a few things to address at the moment, but it is looking good. > diff --git a/LayoutTests/fast/workers/shared-worker-constructor.html-disabled b/LayoutTests/fast/workers/shared-worker-constructor.html-disabled > +try { > + new SharedWorker({toString:function(){throw "exception"}}, "name") > + log("FAIL: toString exception not propagated."); According to http://www.whatwg.org/specs/web-workers/current-work/#runtime-script-errors, "Whenever a runtime script error occurs in one of the worker's scripts, if the error did not occur while handling a previous script error, the user agent must report the error using the WorkerGlobalScope object's onerror attribute. For shared workers, if the error is still not handled afterwards, or if the error occurred while handling a previous script error, the error should be reported to the user." So it sounds this the exception should not be propogated. > +try { > + var foo = {toString:function(){new Worker(foo)}} > + new SharedWorker(foo, name); > + log("FAIL: no exception when trying to create workers recursively"); Same comment as above. > diff --git a/WebCore/DerivedSources.make b/WebCore/DerivedSources.make > +webcore_built_sources += \ > + WebCore/bindings/js/JSAbstractWorkerCustom.cpp \ > + WebCore/bindings/js/JSSharedWorkerConstructor.cpp \ > + WebCore/bindings/js/JSSharedWorkerCustom.cpp \ > + WebCore/workers/AbstractWorker.cpp \ > + WebCore/workers/AbstractWorker.h \ > + WebCore/workers/SharedWorker.cpp \ > + WebCore/workers/SharedWorker.h You're missing JSSharedWorkerConstructor.h in the above list. > diff --git a/WebCore/WebCore.pro b/WebCore/WebCore.pro This seems to be missing a line like this one: !contains(DEFINES, ENABLE_WORKERS=.): DEFINES += ENABLE_WORKERS=1 > + SOURCES += \ > + bindings/js/JSAbstractWorkerCustom.cpp \ > + bindings/js/JSSharedWorkerConstructor.cpp \ > + bindings/js/JSSharedWorkerCustom.cpp \ > + workers/AbstractWorker.cpp \ > + workers/AbstractWorker.h \ > + workers/SharedWorker.cpp \ > + workers/SharedWorker.h As you noted (well) before I did, the *.h need to be removed for this file. > + > + It looks like there are typically not blank lines at this point in other sections like this. > +} > diff --git a/WebCore/WebCore.xcodeproj/project.pbxproj b/WebCore/WebCore.xcodeproj/project.pbxproj > isa = PBXGroup; > children = ( > + 2E4346350F546A8200B0F1BA /* Worker.idl */, "Worker.idl" is already in this list, so this addition seems like a mistake. > 2E4346330F546A8200B0F1BA /* Worker.cpp */, > 2E4346340F546A8200B0F1BA /* Worker.h */, > 2E4346350F546A8200B0F1BA /* Worker.idl */, > diff --git a/WebCore/bindings/js/JSAbstractWorkerCustom.cpp b/WebCore/bindings/js/JSAbstractWorkerCustom.cpp > +#include "JSDOMGlobalObject.h" > +#include "JSEventListener.h" > +#include "AbstractWorker.h" Sort these alphabetically. Of course this file looks exceedingly similar to bindings/js/JSWorkerCustom.cpp, but it sounds like that is on your roadmap to clean that up. Why not file a bug now about this so it is tracked? > diff --git a/WebCore/bindings/js/JSEventTarget.cpp b/WebCore/bindings/js/JSEventTarget.cpp > +#if ENABLE(SHARED_WORKERS) > + if (AbstractWorker* abstractWorker = target->toAbstractWorker()) > + return toJS(exec, abstractWorker); > +#endif ... > +#if ENABLE(SHARED_WORKERS) > + CONVERT_TO_EVENT_TARGET(AbstractWorker) > +#endif Why aren't these SharedWorker instead of AbstractWorker? > diff --git a/WebCore/bindings/js/JSSharedWorkerConstructor.cpp b/WebCore/bindings/js/JSSharedWorkerConstructor.cpp > +#include "JSDOMWindowCustom.h" > +#include "JSSharedWorker.h" > +#include "SharedWorker.h" Sort these headers. > +JSSharedWorkerConstructor::JSSharedWorkerConstructor(ExecState* exec, JSDOMGlobalObject* globalObject) > + : DOMObject(JSSharedWorkerConstructor::createStructure(exec->lexicalGlobalObject( )->objectPrototype())) > +{ > + putDirect(exec->propertyNames().prototype, JSSharedWorkerPrototype::self(exec, globalObject), None); This file looks ok, but I'm weak on JSC bindings, so it would be great to get this file glanced at by someone who knows it better (for example ap, olliej, weinig, ...). That being said the JSWorkerConstructor has the following line which you omitted: putDirect(exec->propertyNames().length, jsNumber(exec, 1), ReadOnly|DontDelete|DontEnum); Why? (To be honest I don't know why this line is necessary in that other file) > diff --git a/WebCore/dom/EventTarget.h b/WebCore/dom/EventTarget.h > + class SharedWorker; Sorting is done case sensitive so SharedWorker comes after ScriptExecutionContext. (ScriptExecutionContext comes after SVGElementInstance because ascii('c') > ascii('V')). > class SVGElementInstance; > class ScriptExecutionContext; > diff --git a/WebCore/workers/AbstractWorker.cpp b/WebCore/workers/AbstractWorker.cpp > +void AbstractWorker::dispatchScriptErrorEvent(const String&, const String&, int) > +{ > + //FIXME(atwilson): Generate an ErrorEvent instead of a simple event FIXME's in WebKit don't have names in them. If people want to know who added it, they can use the revision history. > diff --git a/WebCore/workers/SharedWorker.h b/WebCore/workers/SharedWorker.h > + SharedWorker(const String&, const String&, ScriptExecutionContext*, ExceptionCode&); I would keep the parameter names for the two strings here. From bugzilla-daemon at webkit.org Thu Jul 2 21:34:45 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 21:34:45 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26947] Media controls miss click events when zoomed or non zoomed. : [Attachment 32217] patch v1. In-Reply-To: References: Message-ID: <20090703043445.3DEF8319D410@gamma.macosforge.org> Pierre d'Herbemont has asked for review: Bug 26947: Media controls miss click events when zoomed or non zoomed. https://bugs.webkit.org/show_bug.cgi?id=26947 Attachment 32217: patch v1. https://bugs.webkit.org/attachment.cgi?id=32217&action=edit From bugzilla-daemon at webkit.org Thu Jul 2 21:37:20 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 21:37:20 -0700 (PDT) Subject: [webkit-reviews] review canceled: [Bug 26457] Build DumpRenderTree under Cairo : [Attachment 32214] Workaround for build. In-Reply-To: References: Message-ID: <20090703043720.37BD4319D521@gamma.macosforge.org> Brent Fulgham has canceled Brent Fulgham 's request for review: Bug 26457: Build DumpRenderTree under Cairo https://bugs.webkit.org/show_bug.cgi?id=26457 Attachment 32214: Workaround for build. https://bugs.webkit.org/attachment.cgi?id=32214&action=edit From bugzilla-daemon at webkit.org Thu Jul 2 21:46:52 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 21:46:52 -0700 (PDT) Subject: [webkit-reviews] review canceled: [Bug 26490] Add isFinite method to floating point types. : [Attachment 32185] Add 'isFinite' operator to floating point types In-Reply-To: References: Message-ID: <20090703044652.A605D319D8D4@gamma.macosforge.org> Brent Fulgham has canceled Brent Fulgham 's request 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=edit From bugzilla-daemon at webkit.org Thu Jul 2 22:00:55 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 22:00:55 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26947] Media controls miss click events when zoomed or non zoomed. : [Attachment 32217] patch v1. In-Reply-To: References: Message-ID: <20090703050055.D1DCB319DEAF@gamma.macosforge.org> Simon Fraser (smfr) has granted Pierre d'Herbemont 's request for review: Bug 26947: Media controls miss click events when zoomed or non zoomed. https://bugs.webkit.org/show_bug.cgi?id=26947 Attachment 32217: patch v1. https://bugs.webkit.org/attachment.cgi?id=32217&action=edit From bugzilla-daemon at webkit.org Thu Jul 2 22:41:50 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 22:41:50 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26932] Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs : [Attachment 32218] Patch addressing Levin's comments In-Reply-To: References: Message-ID: <20090703054150.E1B2C319ED9C@gamma.macosforge.org> Andrew Wilson has asked for review: Bug 26932: Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs https://bugs.webkit.org/show_bug.cgi?id=26932 Attachment 32218: Patch addressing Levin's comments https://bugs.webkit.org/attachment.cgi?id=32218&action=edit ------- Additional Comments from Andrew Wilson Also added the "length" property to the constructor with appropriate comments, per maciej's email on the webkit-dev mailing-list. From bugzilla-daemon at webkit.org Thu Jul 2 23:22:00 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Thu, 2 Jul 2009 23:22:00 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26932] Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs : [Attachment 32218] Patch addressing Levin's comments In-Reply-To: References: Message-ID: <20090703062200.52093319FB40@gamma.macosforge.org> David Levin has granted Andrew Wilson 's request for review: Bug 26932: Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs https://bugs.webkit.org/show_bug.cgi?id=26932 Attachment 32218: Patch addressing Levin's comments https://bugs.webkit.org/attachment.cgi?id=32218&action=edit ------- Additional Comments from David Levin This looks great. This could be landed as is (if possible to address the nits it would be great -- but it could be landed as is). > diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog > + * bindings/js/JSEventTarget.cpp: > + (WebCore::toJS): > + (WebCore::toEventTarget): > + Added support for converting to/from AbstractWorkers. > + * bindings/js/JSSharedWorkerConstructor.cpp: Added. > + (WebCore::JSSharedWorkerConstructor::JSSharedWorkerConstructor): This one got out of place by one space. > + (WebCore::CALLBACK_FUNC_DECL): > + Custom constructor for SharedWorker. > + * dom/EventTarget.cpp: This one got out of place by one space. > diff --git a/WebCore/bindings/js/JSEventTarget.cpp b/WebCore/bindings/js/JSEventTarget.cpp > +#if ENABLE(SHARED_WORKERS) > +#include "JSAbstractWorker.h" > +#include "AbstractWorker.h" Nice to sort these. > diff --git a/WebCore/workers/AbstractWorker.cpp b/WebCore/workers/AbstractWorker.cpp > +#endif // ENABLE(SHARED_WORKERS) Only one space before end of line comments. From bugzilla-daemon at webkit.org Fri Jul 3 00:03:35 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 00:03:35 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26949] WebCore part of the Haiku WebKit port : [Attachment 32219] Patch to add Haiku-specific files for WebCore/platform/image-decoders/. In-Reply-To: References: Message-ID: <20090703070335.2D2DE31A090F@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26949: WebCore part of the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26949 Attachment 32219: Patch to add Haiku-specific files for WebCore/platform/image-decoders/. https://bugs.webkit.org/attachment.cgi?id=32219&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 00:04:35 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 00:04:35 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26949] WebCore part of the Haiku WebKit port : [Attachment 32220] Patch to add Haiku-specific files for WebCore/platform/text/. In-Reply-To: References: Message-ID: <20090703070435.59DF631A0979@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26949: WebCore part of the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26949 Attachment 32220: Patch to add Haiku-specific files for WebCore/platform/text/. https://bugs.webkit.org/attachment.cgi?id=32220&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 00:13:36 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 00:13:36 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26949] WebCore part of the Haiku WebKit port : [Attachment 32221] Patch to add Haiku-specific files for WebCore/bindings/js/. In-Reply-To: References: Message-ID: <20090703071336.CDA4F31A0CDF@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26949: WebCore part of the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26949 Attachment 32221: Patch to add Haiku-specific files for WebCore/bindings/js/. https://bugs.webkit.org/attachment.cgi?id=32221&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 00:21:28 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 00:21:28 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26949] WebCore part of the Haiku WebKit port : [Attachment 32222] Patch to add Haiku-specific files for WebCore/editing/. In-Reply-To: References: Message-ID: <20090703072128.5EE0031A0F51@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26949: WebCore part of the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26949 Attachment 32222: Patch to add Haiku-specific files for WebCore/editing/. https://bugs.webkit.org/attachment.cgi?id=32222&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 00:35:16 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 00:35:16 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26949] WebCore part of the Haiku WebKit port : [Attachment 32223] Patch to add Haiku-specific files for WebCore/page/. In-Reply-To: References: Message-ID: <20090703073516.6FC1E31A1465@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26949: WebCore part of the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26949 Attachment 32223: Patch to add Haiku-specific files for WebCore/page/. https://bugs.webkit.org/attachment.cgi?id=32223&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 00:57:06 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 00:57:06 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26262] Implement HTML5 draggable : [Attachment 32215] Patch In-Reply-To: References: Message-ID: <20090703075706.7ED5931A1C1F@gamma.macosforge.org> Maciej Stachowiak has denied Erik Arvidsson 's request for review: Bug 26262: Implement HTML5 draggable https://bugs.webkit.org/show_bug.cgi?id=26262 Attachment 32215: Patch https://bugs.webkit.org/attachment.cgi?id=32215&action=edit ------- Additional Comments from Maciej Stachowiak Hyatt confirms that "draggable" should be implemented in code via parseMappedAttribute rather than in the UA stylesheet, because in our CSS implementation it's fairly inefficient to have an attribute selector that's not scoped to particular tags. I believe HTMLElement::parseMappedAttribute would be the right place. r- to fix this, patch otherwise looks good to me. From bugzilla-daemon at webkit.org Fri Jul 3 01:01:22 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 01:01:22 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26950] Make the summary and alias fields support click-to-edit : [Attachment 32224] patch In-Reply-To: References: Message-ID: <20090703080122.5033231A1DDA@gamma.macosforge.org> Maciej Stachowiak has asked for review: Bug 26950: Make the summary and alias fields support click-to-edit https://bugs.webkit.org/show_bug.cgi?id=26950 Attachment 32224: patch https://bugs.webkit.org/attachment.cgi?id=32224&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 01:19:29 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 01:19:29 -0700 (PDT) Subject: [webkit-reviews] review canceled: [Bug 26950] Make the summary and alias fields support click-to-edit : [Attachment 32224] patch In-Reply-To: References: Message-ID: <20090703081929.83C4331A240D@gamma.macosforge.org> Maciej Stachowiak has canceled Maciej Stachowiak 's request for review: Bug 26950: Make the summary and alias fields support click-to-edit https://bugs.webkit.org/show_bug.cgi?id=26950 Attachment 32224: patch https://bugs.webkit.org/attachment.cgi?id=32224&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 01:19:35 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 01:19:35 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26950] Make the summary and alias fields support click-to-edit : [Attachment 32225] patch In-Reply-To: References: Message-ID: <20090703081935.5E4E931A2423@gamma.macosforge.org> Maciej Stachowiak has asked for review: Bug 26950: Make the summary and alias fields support click-to-edit https://bugs.webkit.org/show_bug.cgi?id=26950 Attachment 32225: patch https://bugs.webkit.org/attachment.cgi?id=32225&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 01:24:28 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 01:24:28 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26951] bugzilla-tool forgot how to obsolete patches : [Attachment 32226] patch In-Reply-To: References: Message-ID: <20090703082428.303BB31A260B@gamma.macosforge.org> Maciej Stachowiak has asked for review: Bug 26951: bugzilla-tool forgot how to obsolete patches https://bugs.webkit.org/show_bug.cgi?id=26951 Attachment 32226: patch https://bugs.webkit.org/attachment.cgi?id=32226&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 01:27:45 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 01:27:45 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26951] bugzilla-tool forgot how to obsolete patches : [Attachment 32226] patch In-Reply-To: References: Message-ID: <20090703082745.E2EEE31A275C@gamma.macosforge.org> Eric Seidel has granted Maciej Stachowiak 's request for review: Bug 26951: bugzilla-tool forgot how to obsolete patches https://bugs.webkit.org/show_bug.cgi?id=26951 Attachment 32226: patch https://bugs.webkit.org/attachment.cgi?id=32226&action=edit ------- Additional Comments from Eric Seidel The check-for-global-initializers change seems unrelated and should be removed, no? Otherwise looks fine. From bugzilla-daemon at webkit.org Fri Jul 3 01:54:22 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 01:54:22 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26949] WebCore part of the Haiku WebKit port : [Attachment 32227] Patch to add Haiku-specific font files for WebCore/platform/graphics/. In-Reply-To: References: Message-ID: <20090703085422.395FE31A31CF@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26949: WebCore part of the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26949 Attachment 32227: Patch to add Haiku-specific font files for WebCore/platform/graphics/. https://bugs.webkit.org/attachment.cgi?id=32227&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 02:22:31 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 02:22:31 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26949] WebCore part of the Haiku WebKit port : [Attachment 32228] Patch to add Haiku-specific drawing files for WebCore/platform/graphics/. In-Reply-To: References: Message-ID: <20090703092231.1935831A3C1F@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26949: WebCore part of the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26949 Attachment 32228: Patch to add Haiku-specific drawing files for WebCore/platform/graphics/. https://bugs.webkit.org/attachment.cgi?id=32228&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 02:54:15 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 02:54:15 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26952] WebCore Support for the Haiku WebKit port : [Attachment 32229] Patch to add ChromeClient for Haiku WebCore support. In-Reply-To: References: Message-ID: <20090703095415.3B96031A489D@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26952: WebCore Support for the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26952 Attachment 32229: Patch to add ChromeClient for Haiku WebCore support. https://bugs.webkit.org/attachment.cgi?id=32229&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 03:07:51 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 03:07:51 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26952] WebCore Support for the Haiku WebKit port : [Attachment 32230] Patch to add ContextMenuClient for Haiku WebCore support. In-Reply-To: References: Message-ID: <20090703100751.A2D3631A4E1A@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26952: WebCore Support for the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26952 Attachment 32230: Patch to add ContextMenuClient for Haiku WebCore support. https://bugs.webkit.org/attachment.cgi?id=32230&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 03:16:12 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 03:16:12 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26952] WebCore Support for the Haiku WebKit port : [Attachment 32231] Patch to add DragClient for Haiku WebCore support. In-Reply-To: References: Message-ID: <20090703101612.3D6BC31A50C9@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26952: WebCore Support for the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26952 Attachment 32231: Patch to add DragClient for Haiku WebCore support. https://bugs.webkit.org/attachment.cgi?id=32231&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 03:28:53 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 03:28:53 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26952] WebCore Support for the Haiku WebKit port : [Attachment 32232] Patch to add EditorClient for Haiku WebCore support. In-Reply-To: References: Message-ID: <20090703102853.862D331A5550@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26952: WebCore Support for the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26952 Attachment 32232: Patch to add EditorClient for Haiku WebCore support. https://bugs.webkit.org/attachment.cgi?id=32232&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 03:38:03 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 03:38:03 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26952] WebCore Support for the Haiku WebKit port : [Attachment 32233] Patch to add FrameLoaderClient for Haiku WebCore support. In-Reply-To: References: Message-ID: <20090703103803.A8F6231A584F@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26952: WebCore Support for the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26952 Attachment 32233: Patch to add FrameLoaderClient for Haiku WebCore support. https://bugs.webkit.org/attachment.cgi?id=32233&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 03:43:27 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 03:43:27 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26952] WebCore Support for the Haiku WebKit port : [Attachment 32234] Patch to add InspectorClient for Haiku WebCore support. In-Reply-To: References: Message-ID: <20090703104327.B3D3B31A5A58@gamma.macosforge.org> Maxime Simon has asked for review: Bug 26952: WebCore Support for the Haiku WebKit port https://bugs.webkit.org/show_bug.cgi?id=26952 Attachment 32234: Patch to add InspectorClient for Haiku WebCore support. https://bugs.webkit.org/attachment.cgi?id=32234&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 05:30:49 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 05:30:49 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 25939] [GTK] Text attachments in bugzilla are downloaded instead of being opened : [Attachment 32236] remove workaround and rely on libsoup to do the sniffing In-Reply-To: References: Message-ID: <20090703123049.AB6CA31A8694@gamma.macosforge.org> Jan Alonzo has asked for review: Bug 25939: [GTK] Text attachments in bugzilla are downloaded instead of being opened https://bugs.webkit.org/show_bug.cgi?id=25939 Attachment 32236: remove workaround and rely on libsoup to do the sniffing https://bugs.webkit.org/attachment.cgi?id=32236&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 05:42:45 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 05:42:45 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26815] [Gtk] text-selection-changed events are not issued for the correct object when the selection spans multiple objects : [Attachment 32171] textselection.patch In-Reply-To: References: Message-ID: <20090703124245.CF45231A8B67@gamma.macosforge.org> Jan Alonzo has granted Xan Lopez 's request 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=edit ------- Additional Comments from Jan Alonzo r=me. From bugzilla-daemon at webkit.org Fri Jul 3 05:45:29 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 05:45:29 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26814] [Gtk] Caret-moved events are not issued for the correct offset when text is selected forward : [Attachment 32172] textcaretmoved.patch In-Reply-To: References: Message-ID: <20090703124529.188C131A8CA2@gamma.macosforge.org> Jan Alonzo has granted Xan Lopez 's request 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=edit ------- Additional Comments from Jan Alonzo r=me. From bugzilla-daemon at webkit.org Fri Jul 3 07:09:40 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 07:09:40 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 10930] WebKit could benefit from a JavaScript live object profiler : [Attachment 32237] adds live object profiling capabilities In-Reply-To: References: Message-ID: <20090703140941.0170631AAD08@gamma.macosforge.org> Horia Olaru has asked for review: Bug 10930: WebKit could benefit from a JavaScript live object profiler https://bugs.webkit.org/show_bug.cgi?id=10930 Attachment 32237: adds live object profiling capabilities https://bugs.webkit.org/attachment.cgi?id=32237&action=edit ------- Additional Comments from Horia Olaru (In reply to comment #15) > (From update of attachment 31800 [review]) > > + SparseArrayValueMap* map = m_storage->m_sparseValueMap; > > + if (map) { > > + computedSize += sizeof(*map) + map->capacity() * sizeof(SparseArrayValueMap::ValueType); > > + } > > We don't put curly brackets around a single line of code. Corrected. > > + > > + // FIXME: Measure size of the JSObject propertyMap > > + // JSArray will store objects with non-numeric identifiers, and some other types > > + // (see the comments at the beginning of JSArray.cpp) in its property map > > + // (eg: arr["object"]), so it is important to measure this. > > + // This should probably be done in JSObject and a 'super' method should be > > + // called. > > Again if this is important we should do this. And seeing how the only tests we > don't have > are for object size, this is a natural place for bugs to hide. I've added an inheritance based mechanism to measure the cell size and the object property map size, which includes this case as well. Please see the modified implementation of JSCell::instanceSize and JSObject::instanceSize. > > --- JavaScriptCore/runtime/JSString.cpp (revision 45079) > > +++ JavaScriptCore/runtime/JSString.cpp (working copy) > > @@ -112,6 +112,16 @@ bool JSString::getOwnPropertySlot(ExecSt > > return JSString::getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot); > > } > > > > +size_t JSString::instanceSize() const > > +{ > > + size_t computedSize = sizeof(*this); > > + > > + computedSize += value().size() * sizeof(UChar) + value().cost(); > > +// FIXME: Add structure size > > See comment above. Fixed. See above. > > --- JavaScriptCore/runtime/NumberObject.cpp (revision 45079) > > +++ JavaScriptCore/runtime/NumberObject.cpp (working copy) > > @@ -41,6 +41,13 @@ JSValue NumberObject::getJSNumber() > > return internalValue(); > > } > > > > +size_t NumberObject::instanceSize() const > > +{ > > +// FIXME: Aside from this, we should probably measure the size of the > > +// structure/property map of an object - should probably be done higer up > > Ditto. I've decided to rely on JSWrapperObject for the size calculation and removed this implementation. NumberObject adds nothing more to size. > > --- JavaScriptCore/runtime/StringObject.cpp (revision 45079) > > +++ JavaScriptCore/runtime/StringObject.cpp (working copy) > > @@ -98,4 +98,18 @@ JSString* StringObject::toThisJSString(E > > return internalValue(); > > } > > > > +size_t StringObject::instanceSize() const > > +{ > > + size_t computedSize = sizeof(*this); > > + > > +// Add size of the contained JSString object > > Ditto > > > + CollectorCell* cell = reinterpret_cast(asCell(JSWrapperObject::internalValue())); > > + if (cell->u.freeCell.zeroIfFree) > > + computedSize += internalValue()->instanceSize(); > > + > > +// FIXME: Add structure size (if this object has a Structure member) > > Ditto Removed. Relying on JSWrapperObject. > > --- WebCore/html/HTMLImageElement.cpp (revision 45079) > > +++ WebCore/html/HTMLImageElement.cpp (working copy) > > @@ -40,6 +40,17 @@ namespace WebCore { > > > > using namespace HTMLNames; > > > > +size_t HTMLImageElement::elementSize() const > > +{ > > + size_t computedSize = sizeof(*this); > > + > > + //should we compute and add the render area size? > > You should try to find an answer to this question, but my suspicion is the > answer is no. Geoff or Sam would know better than I. Removed comment. Render area size is not a relevant mesurement. > > --- WebCore/inspector/JavaScriptObjectIdentifier.cpp (revision 0) > > +++ WebCore/inspector/JavaScriptObjectIdentifier.cpp (revision 0) > > +JSValue toJS(ExecState* exec, ObjectIdentifier* objectInfo) > > +{ > > + if (!objectInfo) > > + return jsNull(); > > + > > + JSObject* objectInfoWrapper = objectIdentifierCache().get(objectInfo); > > + if (objectInfoWrapper) > > + return objectInfoWrapper; > > + > > + objectInfo->ref(); > > + > > + //FIXME: may need to cache the transformed JS objects. > > Same comment. Was already done, but forgot to remove comment. > > --- WebCore/inspector/JavaScriptProfile.cpp (revision 45079) > > +++ WebCore/inspector/JavaScriptProfile.cpp (working copy) > > @@ -131,6 +136,53 @@ static JSValueRef restoreAll(JSContextRe > > return JSValueMakeUndefined(ctx); > > } > > > > +static JSValueRef getLiveObjects(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef* exception) > > +{ > > + Profile* profile = static_cast(JSObjectGetPrivate(thisObject)); > > + if (!profile) > > + return JSValueMakeUndefined(ctx); > > + > > + LiveObjects::ObjectVector objects = profile->liveObjects()->cachedObjects(); > > + > > + JSObjectRef global = JSContextGetGlobalObject(ctx); > > + > > + > > Extra whitespace. You could actually probably move several of these lines of > code together. I've changed the implementation of this function, as per the comment below. > > + JSRetainPtr arrayString(Adopt, JSStringCreateWithUTF8CString("Array")); > > + > > + JSValueRef arrayProperty = JSObjectGetProperty(ctx, global, arrayString.get(), exception); > > + if (exception && *exception) > > + return JSValueMakeUndefined(ctx); > > + > > + JSObjectRef arrayConstructor = JSValueToObject(ctx, arrayProperty, exception); > > + if (exception && *exception) > > + return JSValueMakeUndefined(ctx); > > + > > + JSObjectRef result = JSObjectCallAsConstructor(ctx, arrayConstructor, 0, 0, exception); > > + if (exception && *exception) > > + return JSValueMakeUndefined(ctx); > > + > > + JSRetainPtr pushString(Adopt, JSStringCreateWithUTF8CString("push")); > > + > > + JSValueRef pushProperty = JSObjectGetProperty(ctx, result, pushString.get(), exception); > > + if (exception && *exception) > > + return JSValueMakeUndefined(ctx); > > + > > + JSObjectRef pushFunction = JSValueToObject(ctx, pushProperty, exception); > > + if (exception && *exception) > > + return JSValueMakeUndefined(ctx); > > + > > + for (size_t i = 0; i < objects.size(); ++i) { > > + ExecState* exec = toJS(ctx); > > + JSValueRef obj = toRef(exec, toJS(exec, objects[i].get())); > > + > > + JSObjectCallAsFunction(ctx, pushFunction, result, 1, &obj, exception); > > + if (exception && *exception) > > + return JSValueMakeUndefined(ctx); > > + } > > I think someone added a function to do this somewhere. All you have to do is > pass in your objects and it will return the array with the objects in the > array. > Again ask Sam he may know where this function is. Thanks for pointing that out. I've looked around and I think you're referring to JSObjectRef::JSObjectMakeArray. It would do the job better, but the data parameter is a JSValueRef array. I would have to iterate over the vector data to create a new array to pass in. This is inefficient as JSObjectMakeArray does this again inside (twice). In light of the above, I've taken the JSObjectMakeArray code and replaced what I did before. > > static void finalize(JSObjectRef object) > > { > > Profile* profile = static_cast(JSObjectGetPrivate(object)); > > Index: WebCore/page/Console.cpp > > =================================================================== > > --- WebCore/page/Console.cpp (revision 45079) > > +++ WebCore/page/Console.cpp (working copy) > > @@ -313,6 +313,19 @@ void Console::profileEnd(const JSC::UStr > > } > > } > > > > +void Console::setMemoryProfilingEnabled(bool isEnabled) > > We should definitely discuss this as a team. Is this the API we want to expose > for this feature? > Is this the right name for exposing this functionality? I've added this API as a temporary solution until the functionality is hooked into the UI. The current console API does not allow enabling and disabling profiling from the console. An API only for enabling memory profiling would be out of place. A function to do this should be added to the layoutTestController object though. > What if we always profiled objects when profiling at all? Oliver Hunt points out in a comment above that: > most frequently people wish to profile execution > time rather than object overhead, yet this is likely to add significant time > and memory pressure that will skew those results in that case. Is there some statistic on this? This is the reason I've made a switch to enable or disable memory profiling. However, the memory profiler at this stage relies on performance profiling for collecting object allocation traces. > I would like to see some more discussion on this before we make a decision that > affect so many developers. > > > Overall I think you are almost there with this patch. As you can see I'm very > resistant to checking in new features where I think > core functionality is substituted with FIXMEs. You should try to answer all > the open questions you have before landing this. > > It's good that we have some tests now since there is no UI yet, and so these > tests are the only way we have to investigate if this > is working correctly, and helps keep other developers from breaking a new > feature. > > Once this lands you should coordinate with Tim for a way to get some UI for > this into the Profile's panel. > Additional changes: - the m_liveObjects member of Profile dies along with the Profile, so I've made it into an OwnPtr. The LiveObject class no longer needs to extend RefCounted. - removed the typedefs for iterator and const_iterator and the functions mapping the HashMap begin and end to LiveObject begin and end. They weren't really necessary. - renamed flushLiveObjects to finalizeCollectedData From bugzilla-daemon at webkit.org Fri Jul 3 08:33:33 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 08:33:33 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26791] [Gtk] Paste of rich text from firefox results garbled markup : [Attachment 32238] use TextResourceDecoder instead of simple detectTextEncoding In-Reply-To: References: Message-ID: <20090703153333.5225731ACE7E@gamma.macosforge.org> Jiahua Huang has asked for review: Bug 26791: [Gtk] Paste of rich text from firefox results garbled markup https://bugs.webkit.org/show_bug.cgi?id=26791 Attachment 32238: use TextResourceDecoder instead of simple detectTextEncoding https://bugs.webkit.org/attachment.cgi?id=32238&action=edit ------- Additional Comments from Jiahua Huang change to this code: > String html; > RefPtr decoder = TextResourceDecoder::create("text/html", "UTF-8", true); > html = decoder->decode(reinterpret_cast(data->data), data->length); it works. GtkSelectionData (html) from GTK clipboard can be some forms: 1. From other WebkitGtk page "text/html", 8bits, utf-8, no BOMs 2. From FireFox page "text/html", 8bits (wrong for firefox), utf-16, BOMs 3. From Pidgin messageview "text/html", 16bits, BOMs 4. From other Gtk App who use "text/html" when copy-paste "text/html", 8bits, utf-8, no BOMs ... it use TextResourceDecoder to auto detect encoding. From bugzilla-daemon at webkit.org Fri Jul 3 09:59:46 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 09:59:46 -0700 (PDT) Subject: [webkit-reviews] review canceled: [Bug 26791] [Gtk] Paste of rich text from firefox results garbled markup : [Attachment 32238] use TextResourceDecoder instead of simple detectTextEncoding In-Reply-To: References: Message-ID: <20090703165946.74A2B31AEF35@gamma.macosforge.org> Jiahua Huang has canceled Jiahua Huang 's request for review: Bug 26791: [Gtk] Paste of rich text from firefox results garbled markup https://bugs.webkit.org/show_bug.cgi?id=26791 Attachment 32238: use TextResourceDecoder instead of simple detectTextEncoding https://bugs.webkit.org/attachment.cgi?id=32238&action=edit ------- Additional Comments from Jiahua Huang Use "text/plain" mimeType instead of "text/html" in TextResourceDecoder, it will decrease the checking cost. From bugzilla-daemon at webkit.org Fri Jul 3 09:59:46 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 09:59:46 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26791] [Gtk] Paste of rich text from firefox results garbled markup : [Attachment 32239] change mimeType to decrease the cost In-Reply-To: References: Message-ID: <20090703165946.86C6831AEF39@gamma.macosforge.org> Jiahua Huang has asked for review: Bug 26791: [Gtk] Paste of rich text from firefox results garbled markup https://bugs.webkit.org/show_bug.cgi?id=26791 Attachment 32239: change mimeType to decrease the cost https://bugs.webkit.org/attachment.cgi?id=32239&action=edit ------- Additional Comments from Jiahua Huang Use "text/plain" mimeType instead of "text/html" in TextResourceDecoder, it will decrease the checking cost. From bugzilla-daemon at webkit.org Fri Jul 3 10:20:43 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 10:20:43 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26950] Make the summary and alias fields support click-to-edit : [Attachment 32225] patch In-Reply-To: References: Message-ID: <20090703172043.4A6A031AF718@gamma.macosforge.org> David Kilzer (ddkilzer) has denied Maciej Stachowiak 's request for review: Bug 26950: Make the summary and alias fields support click-to-edit https://bugs.webkit.org/show_bug.cgi?id=26950 Attachment 32225: patch https://bugs.webkit.org/attachment.cgi?id=32225&action=edit ------- Additional Comments from David Kilzer (ddkilzer) >-function hideEditableField( container, input, action, field_id, original_value ) { >+function hideEditableField( container, input, action, field1_text, field2_text, field_id, original_value ) { > YAHOO.util.Dom.setStyle(container, 'display', 'inline'); > YAHOO.util.Dom.setStyle(input, 'display', 'none'); >- YAHOO.util.Event.addListener(action, 'click', showEditableField, >+ YAHOO.util.Event.addListener(action, 'click', showEditableFieldFocusLast, >+ new Array(container, input)); >+ YAHOO.util.Event.addListener(field2_text, 'click', showEditableFieldFocusLast, >+ new Array(container, input)); >+ YAHOO.util.Event.addListener(field1_text, 'click', showEditableField, > new Array(container, input)); Since field2_text is field_id with "_nonedit_display" appended and field1_text is "alias_nonedit_display", I don't think you need to add two parameters here. Also, adding a new function, showEditableFieldFocusLast(), instead of adding arguments to the array object goes against the design of the JavaScript used elsewhere in the file. >-function showEditableField (e, ContainerInputArray) { >+function showEditableField (e, ContainerInputArray, focusLast) { The "focusLast" argument should be passed in with the ContainerInputArray argument. > } >+ >+ > YAHOO.util.Event.preventDefault(e); > } Gratuitous whitespace change. >+function showEditableFieldFocusLast (e, ContainerInputArray) { >+ showEditableField(e, ContainerInputArray, true); >+} This function won't be needed if you add the "focusLast" argument to the ContainerInputArray. > hideEditableField( 'summary_alias_container','summary_alias_input', >- 'editme_action','short_desc', short_desc_value); >+ 'editme_action', 'alias_nonedit_display', 'short_desc_nonedit_display', 'short_desc', short_desc_value); Again, I think we only need to add one argument to hideEditableField(). r- for the above issues. (Patches to Bugzilla should try to match the existing design to make them easier to merge upstream.) FWIW, this patch did work using a local copy of the original page (saved as HTML) with a tag added and the URL to the field.js adjusted to use a local copy. I have an updated patch that I'll post next. From bugzilla-daemon at webkit.org Fri Jul 3 10:23:01 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 10:23:01 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26950] Make the summary and alias fields support click-to-edit : [Attachment 32240] Patch v3 In-Reply-To: References: Message-ID: <20090703172301.7B19A31AF81B@gamma.macosforge.org> David Kilzer (ddkilzer) has asked for review: Bug 26950: Make the summary and alias fields support click-to-edit https://bugs.webkit.org/show_bug.cgi?id=26950 Attachment 32240: Patch v3 https://bugs.webkit.org/attachment.cgi?id=32240&action=edit ------- Additional Comments from David Kilzer (ddkilzer) Patch with issues in Comment #4 addressed. From bugzilla-daemon at webkit.org Fri Jul 3 10:25:12 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 10:25:12 -0700 (PDT) Subject: [webkit-reviews] review canceled: [Bug 25072] CSS21 attribute selectors not dynamic for xml : [Attachment 30768] Updated patch and test case In-Reply-To: References: Message-ID: <20090703172512.1325831AF8F7@gamma.macosforge.org> Kai Br?ning has canceled Kai Br?ning 's request for review: Bug 25072: CSS21 attribute selectors not dynamic for xml https://bugs.webkit.org/show_bug.cgi?id=25072 Attachment 30768: Updated patch and test case https://bugs.webkit.org/attachment.cgi?id=30768&action=edit ------- Additional Comments from Kai Br?ning I reworked the patch with a little refactoring of StyledElement::attributeChanged() and Element::attributeChanged(). Now there are no longer additional virtual function calls beyond the necessary. Notes: - The new function Element::recalcStyleIfNeededAfterAttributeChanged() would be a candidate for inlining, but it can?t be inlined in Element.h without adding include files. - Element::recalcStyleIfNeededAfterAttributeChanged() uses document() instead of ownerdocument() as StyledElement::attributeChanged() used to do. As far as I can see this is completely safe in this case and faster, too. Please double check, though. From bugzilla-daemon at webkit.org Fri Jul 3 10:25:12 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 10:25:12 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 25072] CSS21 attribute selectors not dynamic for xml : [Attachment 32241] New patch with more refactoring In-Reply-To: References: Message-ID: <20090703172512.25B9231AF8FB@gamma.macosforge.org> Kai Br?ning has asked for review: Bug 25072: CSS21 attribute selectors not dynamic for xml https://bugs.webkit.org/show_bug.cgi?id=25072 Attachment 32241: New patch with more refactoring https://bugs.webkit.org/attachment.cgi?id=32241&action=edit ------- Additional Comments from Kai Br?ning I reworked the patch with a little refactoring of StyledElement::attributeChanged() and Element::attributeChanged(). Now there are no longer additional virtual function calls beyond the necessary. Notes: - The new function Element::recalcStyleIfNeededAfterAttributeChanged() would be a candidate for inlining, but it can?t be inlined in Element.h without adding include files. - Element::recalcStyleIfNeededAfterAttributeChanged() uses document() instead of ownerdocument() as StyledElement::attributeChanged() used to do. As far as I can see this is completely safe in this case and faster, too. Please double check, though. From bugzilla-daemon at webkit.org Fri Jul 3 12:02:50 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 12:02:50 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26954] Adam and Collin's affiliation is incorrect : [Attachment 32243] patch In-Reply-To: References: Message-ID: <20090703190250.704BC31B1ECF@gamma.macosforge.org> Adam Barth has asked for review: Bug 26954: Adam and Collin's affiliation is incorrect https://bugs.webkit.org/show_bug.cgi?id=26954 Attachment 32243: patch https://bugs.webkit.org/attachment.cgi?id=32243&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 12:10:33 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 12:10:33 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26953] Do not do unnecessary handles casts and inline couple of methods : [Attachment 32244] The patch In-Reply-To: References: Message-ID: <20090703191033.7455F31B2129@gamma.macosforge.org> anton muhin has asked for review: Bug 26953: Do not do unnecessary handles casts and inline couple of methods https://bugs.webkit.org/show_bug.cgi?id=26953 Attachment 32244: The patch https://bugs.webkit.org/attachment.cgi?id=32244&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 12:22:48 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 12:22:48 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26955] Use RGBColor::create in V8 bindings codegenerator : [Attachment 32245] Use RGBColor::create in V8 bindings codegen In-Reply-To: References: Message-ID: <20090703192248.A8BE831B2549@gamma.macosforge.org> Mads Ager has asked for review: Bug 26955: Use RGBColor::create in V8 bindings codegenerator https://bugs.webkit.org/show_bug.cgi?id=26955 Attachment 32245: Use RGBColor::create in V8 bindings codegen https://bugs.webkit.org/attachment.cgi?id=32245&action=edit ------- Additional Comments from Mads Ager Patch to the V8 bindings codegenerator to correctly use RGBColor::create to create RGBColor objects. This avoid memory leaks because of errors in refcounting. From bugzilla-daemon at webkit.org Fri Jul 3 12:28:10 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 12:28:10 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26954] Adam and Collin's affiliation is incorrect : [Attachment 32243] patch In-Reply-To: References: Message-ID: <20090703192810.395BD31B2706@gamma.macosforge.org> Sam Weinig has granted Adam Barth 's request for review: Bug 26954: Adam and Collin's affiliation is incorrect https://bugs.webkit.org/show_bug.cgi?id=26954 Attachment 32243: patch https://bugs.webkit.org/attachment.cgi?id=32243&action=edit ------- Additional Comments from Sam Weinig My bad! r=me. From bugzilla-daemon at webkit.org Fri Jul 3 13:40:39 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 13:40:39 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26957] RegExp::match to be optimized : [Attachment 32246] the patch In-Reply-To: References: Message-ID: <20090703204039.E40CC31B4364@gamma.macosforge.org> George Staikos has asked for review: Bug 26957: RegExp::match to be optimized https://bugs.webkit.org/show_bug.cgi?id=26957 Attachment 32246: the patch https://bugs.webkit.org/attachment.cgi?id=32246&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 13:52:04 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 13:52:04 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26956] Background audio stops playing when JS GC runs : [Attachment 32247] Patch In-Reply-To: References: Message-ID: <20090703205204.A95DB31B47CF@gamma.macosforge.org> Simon Fraser (smfr) has asked for review: Bug 26956: Background audio stops playing when JS GC runs https://bugs.webkit.org/show_bug.cgi?id=26956 Attachment 32247: Patch https://bugs.webkit.org/attachment.cgi?id=32247&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 13:52:51 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 13:52:51 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26956] Background audio stops playing when JS GC runs : [Attachment 32247] Patch In-Reply-To: References: Message-ID: <20090703205251.5A47F31B4813@gamma.macosforge.org> Sam Weinig has granted Simon Fraser (smfr) 's request for review: Bug 26956: Background audio stops playing when JS GC runs https://bugs.webkit.org/show_bug.cgi?id=26956 Attachment 32247: Patch https://bugs.webkit.org/attachment.cgi?id=32247&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 14:02:56 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 14:02:56 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26950] Make the summary and alias fields support click-to-edit : [Attachment 32240] Patch v3 In-Reply-To: References: Message-ID: <20090703210256.2104C31B4BD5@gamma.macosforge.org> Maciej Stachowiak has granted David Kilzer (ddkilzer) 's request for review: Bug 26950: Make the summary and alias fields support click-to-edit https://bugs.webkit.org/show_bug.cgi?id=26950 Attachment 32240: Patch v3 https://bugs.webkit.org/attachment.cgi?id=32240&action=edit ------- Additional Comments from Maciej Stachowiak r=me on your changes. Not sure which one of us should land the patch now. :-) From bugzilla-daemon at webkit.org Fri Jul 3 14:13:24 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 14:13:24 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26943] Transitions restart sometimes when they shouldn't : [Attachment 32210] Patch with test In-Reply-To: References: Message-ID: <20090703211324.6A67A31B4FAE@gamma.macosforge.org> Simon Fraser (smfr) has denied Chris Marrin 's request for review: Bug 26943: Transitions restart sometimes when they shouldn't https://bugs.webkit.org/show_bug.cgi?id=26943 Attachment 32210: Patch with test https://bugs.webkit.org/attachment.cgi?id=32210&action=edit ------- Additional Comments from Simon Fraser (smfr) This breaks a testcase that I will attach. From bugzilla-daemon at webkit.org Fri Jul 3 16:52:43 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 16:52:43 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26838] Multithread support for JSC on UNIX : [Attachment 32117] WebKit-r45374-Collector-multithread-support-for-UNIX.diff In-Reply-To: References: Message-ID: <20090703235243.807B731B8690@gamma.macosforge.org> Maciej Stachowiak has denied Martin Zoubek 's request 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=edit ------- Additional Comments from Maciej Stachowiak Some style issues: >#define SIG_THREAD_SUSPEND_RESUME SIGUSR2 I'd consider making this a static const int, rather than a #define. We prefer to avoid preprocessor macros. > static void pth_sig_suspend_resume(int signo) This function should use WebKit naming style, for example sendSuspendResumeSignal() > - markConservatively(static_cast(®s), static_cast(reinterpret_cast(®s) + regSize)); > + if (regSize > 0) > + markConservatively(static_cast(®s), static_cast(reinterpret_cast(®s) + regSize)); This change seems unrelated to the rest of the patch. Please submit as a separate patch or document the purpose of this change in the ChangeLog. Also, since changes to this area can be performance-sensitive, please provide before and after SunSpider results (as determined by the run-sunspider script on the command line). This patch looks great! r- for now to attend to the above issues, and please resubmit with the requested revisions. From bugzilla-daemon at webkit.org Fri Jul 3 18:17:45 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 18:17:45 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26957] RegExp::match to be optimized : [Attachment 32246] the patch In-Reply-To: References: Message-ID: <20090704011745.0770F31BA28A@gamma.macosforge.org> Maciej Stachowiak has granted George Staikos 's request for review: Bug 26957: RegExp::match to be optimized https://bugs.webkit.org/show_bug.cgi?id=26957 Attachment 32246: the patch https://bugs.webkit.org/attachment.cgi?id=32246&action=edit ------- Additional Comments from Maciej Stachowiak Thanks for the patch! Looks like a good fix. On Mac OS X, this gives a 5% speedup on string-unpack code and smaller speedups on the other string tests, for an overall benefit of around 0.3% to SunSpider overall (some tests seem to slow down a bit but this appears to be noise). This patch doesn't handle the YARR case, I went ahead and filled that in and will post the revised patch in addition to commiting it. Also this patch was missing a ChangeLog. From bugzilla-daemon at webkit.org Fri Jul 3 18:46:22 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 18:46:22 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26958] Change edit link to review link in request messages : [Attachment 32249] Patch In-Reply-To: References: Message-ID: <20090704014622.53DAA31BAB6E@gamma.macosforge.org> David Kilzer (ddkilzer) has asked for review: Bug 26958: Change edit link to review link in request messages https://bugs.webkit.org/show_bug.cgi?id=26958 Attachment 32249: Patch https://bugs.webkit.org/attachment.cgi?id=32249&action=edit ------- Additional Comments from David Kilzer (ddkilzer) Mitz says that request messages should have a "review" link instead of and "edit" link. I'll add the bug number to the ChangeLog before committing. From bugzilla-daemon at webkit.org Fri Jul 3 18:49:40 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 18:49:40 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26958] Change edit link to review link in request messages : [Attachment 32249] Patch In-Reply-To: References: Message-ID: <20090704014940.1CA1B31BAC9D@gamma.macosforge.org> mitz at webkit.org has granted David Kilzer (ddkilzer) 's request for review: Bug 26958: Change edit link to review link in request messages https://bugs.webkit.org/show_bug.cgi?id=26958 Attachment 32249: Patch https://bugs.webkit.org/attachment.cgi?id=32249&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 20:54:15 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 20:54:15 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26959] REGRESSION (r44670-r44680): Typing is suprisingly slow in password field on reddit.com : [Attachment 32250] patch In-Reply-To: References: Message-ID: <20090704035415.9BBCD31BD3A4@gamma.macosforge.org> Darin Adler has asked for review: Bug 26959: REGRESSION (r44670-r44680): Typing is suprisingly slow in password field on reddit.com https://bugs.webkit.org/show_bug.cgi?id=26959 Attachment 32250: patch https://bugs.webkit.org/attachment.cgi?id=32250&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 20:56:49 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 20:56:49 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26959] REGRESSION (r44670-r44680): Typing is suprisingly slow in password field on reddit.com : [Attachment 32250] patch In-Reply-To: References: Message-ID: <20090704035649.7965131BD47A@gamma.macosforge.org> Adele Peterson has granted Darin Adler 's request for review: Bug 26959: REGRESSION (r44670-r44680): Typing is suprisingly slow in password field on reddit.com https://bugs.webkit.org/show_bug.cgi?id=26959 Attachment 32250: patch https://bugs.webkit.org/attachment.cgi?id=32250&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 22:09:20 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 22:09:20 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26962] [V8] Move some simple utility functions in V8Proxy to V8Utilities : [Attachment 32252] patch In-Reply-To: References: Message-ID: <20090704050920.B7E1831BECD8@gamma.macosforge.org> Adam Barth has asked for review: Bug 26962: [V8] Move some simple utility functions in V8Proxy to V8Utilities https://bugs.webkit.org/show_bug.cgi?id=26962 Attachment 32252: patch https://bugs.webkit.org/attachment.cgi?id=32252&action=edit From bugzilla-daemon at webkit.org Fri Jul 3 22:11:41 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Fri, 3 Jul 2009 22:11:41 -0700 (PDT) Subject: [webkit-reviews] review canceled: [Bug 26962] [V8] Move some simple utility functions in V8Proxy to V8Utilities : [Attachment 32252] patch In-Reply-To: References: Message-ID: <20090704051141.F23FC31BED99@gamma.macosforge.org> Adam Barth has canceled Adam Barth 's request for review: Bug 26962: [V8] Move some simple utility functions in V8Proxy to V8Utilities https://bugs.webkit.org/show_bug.cgi?id=26962 Attachment 32252: patch https://bugs.webkit.org/attachment.cgi?id=32252&action=edit ------- Additional Comments from Adam Barth Nevermind. That doesn't compile. :( From bugzilla-daemon at webkit.org Sat Jul 4 00:09:42 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 00:09:42 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26262] Implement HTML5 draggable : [Attachment 32253] Uses parseMappedAttribute instead of the user style sheet In-Reply-To: References: Message-ID: <20090704070942.BA17E31C105B@gamma.macosforge.org> Erik Arvidsson has asked for review: Bug 26262: Implement HTML5 draggable https://bugs.webkit.org/show_bug.cgi?id=26262 Attachment 32253: Uses parseMappedAttribute instead of the user style sheet https://bugs.webkit.org/attachment.cgi?id=32253&action=edit ------- Additional Comments from Erik Arvidsson I also did some testing with Firefox 3.5 and it ignores the case of true and false so I made all the checks ignore the case. Also, added code to correctly handle when the attribute is set to something other than true or false and updated the test to reflect that. From bugzilla-daemon at webkit.org Sat Jul 4 07:06:40 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 07:06:40 -0700 (PDT) Subject: [webkit-reviews] review canceled: [Bug 26875] Large buffer allocation on the stack : [Attachment 32109] Proposed patch In-Reply-To: References: Message-ID: <20090704140640.AB7F331C9C9C@gamma.macosforge.org> Maciej Stachowiak has canceled TAMURA, Kent 's request for review: Bug 26875: Large buffer allocation on the stack https://bugs.webkit.org/show_bug.cgi?id=26875 Attachment 32109: Proposed patch https://bugs.webkit.org/attachment.cgi?id=32109&action=edit ------- Additional Comments from Maciej Stachowiak Clearing review flag and marking obsolete, since the patch is withdrawn. From bugzilla-daemon at webkit.org Sat Jul 4 09:03:51 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 09:03:51 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26960] [Gtk] caret offset not updated when selecting text : [Attachment 32255] caretoffset.patch In-Reply-To: References: Message-ID: <20090704160351.036B431CC41F@gamma.macosforge.org> Xan Lopez has asked for review: Bug 26960: [Gtk] caret offset not updated when selecting text https://bugs.webkit.org/show_bug.cgi?id=26960 Attachment 32255: caretoffset.patch https://bugs.webkit.org/attachment.cgi?id=32255&action=edit ------- Additional Comments from Xan Lopez Well, it was basically the same bug than the other cases, but in a different place. From bugzilla-daemon at webkit.org Sat Jul 4 10:00:46 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 10:00:46 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26955] Use RGBColor::create in V8 bindings codegenerator : [Attachment 32245] Use RGBColor::create in V8 bindings codegen In-Reply-To: References: Message-ID: <20090704170046.25DDB31CD618@gamma.macosforge.org> Dimitri Glazkov (Google) has granted Mads Ager 's request for review: Bug 26955: Use RGBColor::create in V8 bindings codegenerator https://bugs.webkit.org/show_bug.cgi?id=26955 Attachment 32245: Use RGBColor::create in V8 bindings codegen https://bugs.webkit.org/attachment.cgi?id=32245&action=edit ------- Additional Comments from Dimitri Glazkov (Google) The change looks fine. I would really love to see the RGBColor upstreamed, though :) From bugzilla-daemon at webkit.org Sat Jul 4 11:08:05 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 11:08:05 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26439] QtWebKit fails in loading www.nytimes.com in Windows/Linux : [Attachment 32256] Fixes issue associated with rejecting response of HTTP 401 error In-Reply-To: References: Message-ID: <20090704180805.B7D4531CEC9A@gamma.macosforge.org> Sriram has asked Simon Hausmann for review: Bug 26439: QtWebKit fails in loading www.nytimes.com in Windows/Linux https://bugs.webkit.org/show_bug.cgi?id=26439 Attachment 32256: Fixes issue associated with rejecting response of HTTP 401 error https://bugs.webkit.org/attachment.cgi?id=32256&action=edit From bugzilla-daemon at webkit.org Sat Jul 4 11:23:12 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 11:23:12 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 26262] Implement HTML5 draggable : [Attachment 32253] Uses parseMappedAttribute instead of the user style sheet In-Reply-To: References: Message-ID: <20090704182312.BBDD131CF1BB@gamma.macosforge.org> Darin Adler has denied Erik Arvidsson 's request for review: Bug 26262: Implement HTML5 draggable https://bugs.webkit.org/show_bug.cgi?id=26262 Attachment 32253: Uses parseMappedAttribute instead of the user style sheet https://bugs.webkit.org/attachment.cgi?id=32253&action=edit ------- Additional Comments from Darin Adler > + if (equalIgnoringCase(getAttribute(draggableAttr), "true")) > + return true; > + if (equalIgnoringCase(getAttribute(draggableAttr), "false")) > + return false; It would be more efficient to call getAttribute only once. A local variable of type const AtomicString& can be used to hold the attribute value. > +void HTMLElement::setDraggable(MappedAttribute* attr) I think it would be best to give this a different name, rather than using overloading. Perhaps it could be called parseDraggableAttribute. > +void HTMLElement::setDraggable(const bool& value) This should just be bool, not const bool&. > + void setDraggable(MappedAttribute*); This newly-added member function should be private. This looks good, but I'm going to say review- since I'd really like to see the name and visibility of the setDraggable function that takes an attribute changed. From bugzilla-daemon at webkit.org Sat Jul 4 12:08:06 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 12:08:06 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26968] Add API to reload without using cache : [Attachment 32258] Implementation In-Reply-To: References: Message-ID: <20090704190806.7296931D01E6@gamma.macosforge.org> Benjamin Meyer has asked for review: Bug 26968: Add API to reload without using cache https://bugs.webkit.org/show_bug.cgi?id=26968 Attachment 32258: Implementation https://bugs.webkit.org/attachment.cgi?id=32258&action=edit ------- Additional Comments from Benjamin Meyer Webkit's reload function takes an argument to reload with and without cache. This is used to populate the QNetworkRequest cacheloadcontrol enum (http://doc.trolltech.com/4.5/qnetworkrequest.html#CacheLoadControl-enum) when creating a QNetworkRequest. Currently the Qt api has an action for reload, but no action for reload without cache. This patch adds that action to QtWebkit. This functionality is often seen in browsers/viewers as holding down shift while clicking on the reload button. From bugzilla-daemon at webkit.org Sat Jul 4 12:35:44 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 12:35:44 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26969] Fix ASSERT in WebCore::DocumentThreadableLoader::didFail : [Attachment 32260] proposed patch In-Reply-To: References: Message-ID: <20090704193544.4952131D0B2A@gamma.macosforge.org> robert has asked for review: Bug 26969: Fix ASSERT in WebCore::DocumentThreadableLoader::didFail https://bugs.webkit.org/show_bug.cgi?id=26969 Attachment 32260: proposed patch https://bugs.webkit.org/attachment.cgi?id=32260&action=edit From bugzilla-daemon at webkit.org Sat Jul 4 12:54:00 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 12:54:00 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26897] Dynamic SVG images do not display correctly : [Attachment 32261] First attempt In-Reply-To: References: Message-ID: <20090704195401.0506331D116E@gamma.macosforge.org> Rob Buis has asked for review: Bug 26897: Dynamic SVG images do not display correctly https://bugs.webkit.org/show_bug.cgi?id=26897 Attachment 32261: First attempt https://bugs.webkit.org/attachment.cgi?id=32261&action=edit ------- Additional Comments from Rob Buis Using repaint works for both normal svg and svg embedded in xhtml. Since it ends up calling clipped clippedOverflowRectForRepaint just like absoluteClippedOverflowRect does the computed update rects should be equal. Cheers, Rob. From bugzilla-daemon at webkit.org Sat Jul 4 14:20:35 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 14:20:35 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26960] [Gtk] caret offset not updated when selecting text : [Attachment 32255] caretoffset.patch In-Reply-To: References: Message-ID: <20090704212035.1660831D2F7E@gamma.macosforge.org> Jan Alonzo has granted Xan Lopez 's request for review: Bug 26960: [Gtk] caret offset not updated when selecting text https://bugs.webkit.org/show_bug.cgi?id=26960 Attachment 32255: caretoffset.patch https://bugs.webkit.org/attachment.cgi?id=32255&action=edit ------- Additional Comments from Jan Alonzo This looks fine. r=me. We need to think of a way to test these changes in the future while we don't have an AXController in DRT yet. Maybe more unit tests. From bugzilla-daemon at webkit.org Sat Jul 4 15:40:01 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 15:40:01 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26969] Fix ASSERT in WebCore::DocumentThreadableLoader::didFail : [Attachment 32260] proposed patch In-Reply-To: References: Message-ID: <20090704224001.CD1F531D48CF@gamma.macosforge.org> Maciej Stachowiak has granted robert 's request for review: Bug 26969: Fix ASSERT in WebCore::DocumentThreadableLoader::didFail https://bugs.webkit.org/show_bug.cgi?id=26969 Attachment 32260: proposed patch https://bugs.webkit.org/attachment.cgi?id=32260&action=edit ------- Additional Comments from Maciej Stachowiak r=me I would advise making the comment a bit shorter if possible. I don't think mentioning the bug number in the code is necessary, as long as it's in the ChangeLog. From bugzilla-daemon at webkit.org Sat Jul 4 15:55:14 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 15:55:14 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26969] Fix ASSERT in WebCore::DocumentThreadableLoader::didFail : [Attachment 32263] patch updated with shorter inline comment In-Reply-To: References: Message-ID: <20090704225514.CFBAF31D4DEB@gamma.macosforge.org> robert has asked for review: Bug 26969: Fix ASSERT in WebCore::DocumentThreadableLoader::didFail https://bugs.webkit.org/show_bug.cgi?id=26969 Attachment 32263: patch updated with shorter inline comment https://bugs.webkit.org/attachment.cgi?id=32263&action=edit From bugzilla-daemon at webkit.org Sat Jul 4 15:57:45 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 15:57:45 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26969] Fix ASSERT in WebCore::DocumentThreadableLoader::didFail : [Attachment 32263] patch updated with shorter inline comment In-Reply-To: References: Message-ID: <20090704225745.471D731D4EE4@gamma.macosforge.org> Maciej Stachowiak has granted robert 's request for review: Bug 26969: Fix ASSERT in WebCore::DocumentThreadableLoader::didFail https://bugs.webkit.org/show_bug.cgi?id=26969 Attachment 32263: patch updated with shorter inline comment https://bugs.webkit.org/attachment.cgi?id=32263&action=edit ------- Additional Comments from Maciej Stachowiak r=me From bugzilla-daemon at webkit.org Sat Jul 4 15:58:02 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 15:58:02 -0700 (PDT) Subject: [webkit-reviews] review canceled: [Bug 26969] Fix ASSERT in WebCore::DocumentThreadableLoader::didFail : [Attachment 32260] proposed patch In-Reply-To: References: Message-ID: <20090704225802.9953531D4F05@gamma.macosforge.org> Maciej Stachowiak has canceled review: Bug 26969: Fix ASSERT in WebCore::DocumentThreadableLoader::didFail https://bugs.webkit.org/show_bug.cgi?id=26969 Attachment 32260: proposed patch https://bugs.webkit.org/attachment.cgi?id=32260&action=edit From bugzilla-daemon at webkit.org Sat Jul 4 16:03:47 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 16:03:47 -0700 (PDT) Subject: [webkit-reviews] review denied: [Bug 25939] [GTK] Text attachments in bugzilla are downloaded instead of being opened : [Attachment 32236] remove workaround and rely on libsoup to do the sniffing In-Reply-To: References: Message-ID: <20090704230347.B066631D510C@gamma.macosforge.org> Gustavo Noronha (kov) has denied Jan Alonzo 's request for review: Bug 25939: [GTK] Text attachments in bugzilla are downloaded instead of being opened https://bugs.webkit.org/show_bug.cgi?id=25939 Attachment 32236: remove workaround and rely on libsoup to do the sniffing https://bugs.webkit.org/attachment.cgi?id=32236&action=edit ------- Additional Comments from Gustavo Noronha (kov) > + Remove workarounds for content type sniffing and rely on libsoup's > + content sniffer (now that it has one). This is not enough. We need to actually add the sniffer feature to the session, and use the new signal. I have a now-outdated webkitgtk+ patch at http://bugzilla.gnome.org/show_bug.cgi?id=572589 which I was planning to update and propose for reviewing. I'll do it tomorrow, but if you'd like to beat me to it, go ahead =D. From bugzilla-daemon at webkit.org Sat Jul 4 16:20:41 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 16:20:41 -0700 (PDT) Subject: [webkit-reviews] review canceled: [Bug 26791] [Gtk] Paste of rich text from firefox results garbled markup : [Attachment 32239] change mimeType to decrease the cost In-Reply-To: References: Message-ID: <20090704232041.BB8FE31D56CD@gamma.macosforge.org> Jiahua Huang has canceled Jiahua Huang 's request for review: Bug 26791: [Gtk] Paste of rich text from firefox results garbled markup https://bugs.webkit.org/show_bug.cgi?id=26791 Attachment 32239: change mimeType to decrease the cost https://bugs.webkit.org/attachment.cgi?id=32239&action=edit ------- Additional Comments from Jiahua Huang (In reply to comment #22) > Hi Jiahua. Are you able to add manual-test for this? That seems to be a missing > piece in your patch. > > Thanks! Hi Jan, WebCore/manual-tests/gtk/paste-richtext-from-firefox.html has been added. From bugzilla-daemon at webkit.org Sat Jul 4 16:20:41 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 16:20:41 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26791] [Gtk] Paste of rich text from firefox results garbled markup : [Attachment 32264] add a manual test in WebCore/manual-tests/gtk In-Reply-To: References: Message-ID: <20090704232041.CFE9131D56D2@gamma.macosforge.org> Jiahua Huang has asked for review: Bug 26791: [Gtk] Paste of rich text from firefox results garbled markup https://bugs.webkit.org/show_bug.cgi?id=26791 Attachment 32264: add a manual test in WebCore/manual-tests/gtk https://bugs.webkit.org/attachment.cgi?id=32264&action=edit ------- Additional Comments from Jiahua Huang (In reply to comment #22) > Hi Jiahua. Are you able to add manual-test for this? That seems to be a missing > piece in your patch. > > Thanks! Hi Jan, WebCore/manual-tests/gtk/paste-richtext-from-firefox.html has been added. From bugzilla-daemon at webkit.org Sat Jul 4 16:27:17 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 16:27:17 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26971] [Qt] Fix build break in QtWebkit : [Attachment 32265] Fix build break introduced due to new functionality in the media support In-Reply-To: References: Message-ID: <20090704232717.CC7E831D5906@gamma.macosforge.org> Sriram has asked Simon Hausmann for review: Bug 26971: [Qt] Fix build break in QtWebkit https://bugs.webkit.org/show_bug.cgi?id=26971 Attachment 32265: Fix build break introduced due to new functionality in the media support https://bugs.webkit.org/attachment.cgi?id=32265&action=edit ------- Additional Comments from Sriram Added strings for localizing "Loading" and "Live Broadcast" From bugzilla-daemon at webkit.org Sat Jul 4 20:56:43 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sat, 4 Jul 2009 20:56:43 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26262] Implement HTML5 draggable : [Attachment 32266] Fixed Darin's comments. In-Reply-To: References: Message-ID: <20090705035643.DBAA131DAC54@gamma.macosforge.org> Erik Arvidsson has asked for review: Bug 26262: Implement HTML5 draggable https://bugs.webkit.org/show_bug.cgi?id=26262 Attachment 32266: Fixed Darin's comments. https://bugs.webkit.org/attachment.cgi?id=32266&action=edit From bugzilla-daemon at webkit.org Sun Jul 5 04:09:17 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sun, 5 Jul 2009 04:09:17 -0700 (PDT) Subject: [webkit-reviews] review requested: [Bug 26976] WebInspector: suggest global properties based on async evaluation. : [Attachment 32271] Patch with the fix In-Reply-To: References: Message-ID: <20090705110917.EEC9B31E2343@gamma.macosforge.org> Pavel Feldman has asked for review: Bug 26976: WebInspector: suggest global properties based on async evaluation. https://bugs.webkit.org/show_bug.cgi?id=26976 Attachment 32271: Patch with the fix https://bugs.webkit.org/attachment.cgi?id=32271&action=edit From bugzilla-daemon at webkit.org Sun Jul 5 04:22:30 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sun, 5 Jul 2009 04:22:30 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26262] Implement HTML5 draggable : [Attachment 32266] Fixed Darin's comments. In-Reply-To: References: Message-ID: <20090705112230.AFDC931E27BF@gamma.macosforge.org> Maciej Stachowiak has granted Erik Arvidsson 's request for review: Bug 26262: Implement HTML5 draggable https://bugs.webkit.org/show_bug.cgi?id=26262 Attachment 32266: Fixed Darin's comments. https://bugs.webkit.org/attachment.cgi?id=32266&action=edit ------- Additional Comments from Maciej Stachowiak Looks to me like the comments are all addressed, and I do not see any new issues. Thanks for the contribution and the several revised versions! r=me From bugzilla-daemon at webkit.org Sun Jul 5 04:26:47 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sun, 5 Jul 2009 04:26:47 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26778] Inspector: Duplicate Computation in Autocompletion : [Attachment 31985] Removed Duplicate Computation In-Reply-To: References: Message-ID: <20090705112647.2A54131E291F@gamma.macosforge.org> Maciej Stachowiak has granted Joseph Pecoraro 's request for review: Bug 26778: Inspector: Duplicate Computation in Autocompletion https://bugs.webkit.org/show_bug.cgi?id=26778 Attachment 31985: Removed Duplicate Computation https://bugs.webkit.org/attachment.cgi?id=31985&action=edit ------- Additional Comments from Maciej Stachowiak Looks good to me. I am surprised at the duplication but it certainly looks like the passed in originalWordPrefixRange is computed in an identical way, and can't have changed by the time _completionsReady is reached. From bugzilla-daemon at webkit.org Sun Jul 5 04:28:48 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sun, 5 Jul 2009 04:28:48 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 26897] Dynamic SVG images do not display correctly : [Attachment 32261] First attempt In-Reply-To: References: Message-ID: <20090705112848.89A0831E29DF@gamma.macosforge.org> Maciej Stachowiak has granted Rob Buis 's request for review: Bug 26897: Dynamic SVG images do not display correctly https://bugs.webkit.org/show_bug.cgi?id=26897 Attachment 32261: First attempt https://bugs.webkit.org/attachment.cgi?id=32261&action=edit ------- Additional Comments from Maciej Stachowiak r=me From bugzilla-daemon at webkit.org Sun Jul 5 04:30:36 2009 From: bugzilla-daemon at webkit.org (bugzilla-daemon at webkit.org) Date: Sun, 5 Jul 2009 04:30:36 -0700 (PDT) Subject: [webkit-reviews] review granted: [Bug 25061] Unconfirmed input-method typing should affect the value of