Timeline
Aug 19, 2007:
- 5:04 PM Changeset in webkit [25153] by
-
- 2 edits in trunk/WebCore
Gtk+ build fix.
- platform/gdk/TemporaryLinkStubs.cpp: Removed const.
- 3:07 PM Changeset in webkit [25152] by
-
- 7 edits in trunk/WebCore
Fix <rdar://5395835> REGRESSION (r24527): Context menu for edit fields is missing "Font & Writing Direction"
The problem was that ContextMenuItem::setSubMenu was just copying the
HMENU from the ContextMenu passed in on Windows, but that HMENU was
later getting destroyed when the ContextMenu went out of scope.
I added a new ContextMenu::releasePlatformDescription method that is
used in setSubMenu instead. I think an ultimately better design would
be for setSubMenu to take ownership of the ContextMenu that's passed in
(as should insertItem and appendItem), but I decided to be conservative
and just make the changes needed to fix the bug.
Reviewed by Darin.
No test possible.
- platform/ContextMenu.h: Added releasePlatformDescription.
- platform/gdk/TemporaryLinkStubs.cpp: Added stub implementation.
- platform/mac/ContextMenuMac.mm: (WebCore::ContextMenu::releasePlatformDescription): Implemented, though it's never called on this platform.
- platform/qt/ContextMenuQt.cpp: (WebCore::ContextMenu::releasePlatformDescription): Ditto.
- platform/win/ContextMenuItemWin.cpp: (WebCore::ContextMenuItem::setSubMenu): Call releasePlatformDescription since we need to take ownership of the HMENU.
- platform/win/ContextMenuWin.cpp: (WebCore::ContextMenu::releasePlatformDescription): Implemented.
- 2:40 PM Changeset in webkit [25151] by
-
- 11 edits in trunk
LayoutTests:
Reviewed by Darin.
- update for fix to <rdar://problem/5198272> REGRESSION: PLT 1.5% slower due to r21367 (change to start frames with empty documents)
No longer expect windowScriptObject delegate method in frames that never
use script.
- http/tests/loading/bad-scheme-subframe-expected.txt:
- http/tests/loading/bad-server-subframe-expected.txt:
- http/tests/loading/empty-subframe-expected.txt:
- http/tests/loading/slow-parsing-subframe-expected.txt:
WebCore:
Reviewed by Darin.
- fixed <rdar://problem/5198272> REGRESSION: PLT 1.5% slower due to r21367 (change to start frames with empty documents)
There were three main cuases of extra time due to creating the initial empty document:
1) Creating an extra WebHTMLView and swapping it for a new one for each frame created.
2) Parsing the minimal markup for the initial document's contents.
3) Clearing the Window object an extra time and dispatching the corresponding delegate method.
The WebCore part of the fixes addresses 2 and 3.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::init): Don't parse "<html><body>" for the initial empty document; it turns out not to be needed. (WebCore::FrameLoader::dispatchWindowObjectAvailable): Don't dispatch the delegate if we haven't created a ScriptInterpreter yet.
- bindings/js/kjs_proxy.cpp: (WebCore::KJSProxy::initScriptIfNeeded): Dispatch the window object delegate when we first create the interpreter, since that is now done lazily.
- loader/FrameLoader.h: (WebCore::FrameLoader::committingFirstRealLoad): Helper for WebKit to know when to reuse a WebHTMLView.
WebKit:
Reviewed by Darin.
- fixed <rdar://problem/5198272> REGRESSION: PLT 1.5% slower due to r21367 (change to start frames with empty documents)
There were three main cuases of extra time due to creating the initial empty document:
1) Creating an extra WebHTMLView and swapping it for a new one for each frame created.
2) Parsing the minimal markup for the initial document's contents.
3) Clearing the Window object an extra time and dispatching the corresponding delegate method.
The WebKit part of the fixes addresses 1.
- WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::makeDocumentView): When switching from the initial empty document to the first real document, reuse the WebHTMLView.
It might actually be a significant performance improvement to always
reuse the WebHTMLView, but that is a much riskier change and not
needed to fix the regression right now.
- 11:26 AM Changeset in webkit [25150] by
-
- 3 edits2 adds in trunk
LayoutTests:
2007-08-19 Mitz Pettel <mitz@webkit.org>
Reviewed by Adam Roben.
- test for http://bugs.webkit.org/show_bug.cgi?id=15008 ASSERTION FAILED: !firstLineBox() == !lastLineBox() setting content on image
- fast/images/text-content-crash-2-expected.txt: Added.
- fast/images/text-content-crash-2.html: Added.
WebCore:
2007-08-19 Mitz Pettel <mitz@webkit.org>
Reviewed by Adam Roben.
- fix http://bugs.webkit.org/show_bug.cgi?id=15008 ASSERTION FAILED: !firstLineBox() == !lastLineBox() setting content on image
Test: fast/images/text-content-crash-2.html
- html/HTMLImageLoader.cpp: (WebCore::HTMLImageLoader::setImage): Added a check that the renderer is an image. (WebCore::HTMLImageLoader::updateFromElement): Ditto. (WebCore::HTMLImageLoader::notifyFinished): Ditto.
- 10:10 AM Changeset in webkit [25149] by
-
- 2 edits in trunk/WebKitQt
Don't export ICO symbols
- 9:51 AM Changeset in webkit [25148] by
-
- 1 edit2 adds in trunk/LayoutTests
LayoutTests:
Reviewed by Adam and Geoff within one minute of each other.
Tests that the '-apple-opacity', '-khtml-opacity' and '-webkit-opacity' styles
all map to the 'opacity' style.
- fast/css/legacy-opacity-styles-expected.txt: Added.
- fast/css/legacy-opacity-styles.html: Added.
- 5:07 AM Changeset in webkit [25147] by
-
- 2 edits in trunk/LayoutTests
2007-08-19 Mark Rowe <mrowe@apple.com>
Update expected results. The results that were landed with the test did not match the wording
in the test that was landed.
- fast/encoding/namespace-tolerance-expected.txt:
- 4:13 AM Changeset in webkit [25146] by
-
- 2 edits in trunk/WebKitTools
2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
Reviewed by Mark.
- Scripts/webkitdirs.pm: qt and gtk ports now explicitly pass debug (or release) mode to qmake.
- 1:05 AM Changeset in webkit [25145] by
-
- 33 edits4 adds in branches/feature-branch
Reviewed by Nikolas.
http://bugs.webkit.org/show_bug.cgi?id=14926
WebKit has 'em' length handling problems related to CSS properties
Parse the properties in inline style attributes non-strict for SVG.
Aug 18, 2007:
- 10:15 PM Changeset in webkit [25144] by
-
- 3 edits in trunk/WebKitQt
Fix compilation
- 11:20 AM Changeset in webkit [25143] by
-
- 2 edits in trunk/WebKit/gtk
2007-08-18 Holger Hans Peter Freyther <zecke@selfish.org>
Build fix. Add const to the first parameter of createPlugin
- WebCoreSupport/FrameLoaderClientGtk.cpp: