- 07 Jan, 2011 40 commits
-
-
justin.garcia@apple.com authored
Implement RenderSVGInlineText::localCaretRect() Reviewed by Dan Bernstein. WebCore: * rendering/svg/RenderSVGInlineText.cpp: (WebCore::RenderSVGInlineText::localCaretRect): Implemented. LayoutTests: * svg/text/caret-in-svg-text-expected.txt: Added. * svg/text/caret-in-svg-text.xhtml: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
Unreviewed; Added the missing null pointer check for r75293. * dom/Document.cpp: (WebCore::Document::adoptNode): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/8649617slewis@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=50799 Add Memory Sampler to WebKit Reviewed by Geoff Garen. Add a sampler for printing off process memory statistics. Export file mode. * WebCore.exp.in: WebKit2: <rdar://problem/8649617> Migrate memory tracking from Safari to WebKit https://bugs.webkit.org/show_bug.cgi?id=50799 Add Memory Sampler to WebKit Reviewed by Geoff Garen. Add a sampler for printing off process memory statistics. This tool can track: WebCore - FastMalloc allocations bytes (in use or committed) JavaScriptCore - Garbage collector heap bytes (in use or committed) - Stack bytes (committed only!) - JIT Code bytes (committed only!) Malloc zones - In use bytes for the following zones: * Default zone ...
-
rniwa@webkit.org authored
Reviewed by Adam Barth. onbeforeunload is broken for framesets https://bugs.webkit.org/show_bug.cgi?id=19418 Added beforeunload event support for sub frames. WebKit's implementation tries to match that of Internet Explorer as much as possible. beforeunload event is fired for each and every descendent of a frame that is about to navigate. When a value other than null is returned by a beforeunload handler, a confirmation dialog is shown for each handler (calls chrome's runBeforeUnloadConfirmPanel) just like it is done for main frames. In addition, navigation is forbidden while beforeunload handlers are being called. Setting values to location.href, location.reload, and other means of navigations are thus ignored while beforeunload event handler is being ran, matching Internet Explorer's behavior. Because navigation needs to prevented globally, NavigationDisablerForBeforeUnload is added to NavigationScheduler.h, which is instantiated as a RAII object in FrameLoader::shouldClose. Tests: fast/events/before-unload-adopt-subframe-to-outside.html fast/events/before-unload-adopt-within-subframes.html fast/events/before-unload-forbidden-navigation.html fast/events/before-unload-in-multiple-subframes.html fast/events/before-unload-in-subframe.html fast/events/before-unload-javascript-navigation.html fast/events/before-unload-remove-and-add-subframe.html fact/events/before-unload-remove-itself.html fast/events/before-unload-with-subframes.html * loader/FrameLoader.cpp: (WebCore::FrameLoader::shouldClose): Calls fireBeforeUnloadEvent on m_frame and m_frame's descendents. Returns true only if every call to fireBeforeUnloadEvent returned true. (WebCore::FrameLoader::fireBeforeUnloadEvent): Fires a beforeunload event and calls chrome's runBeforeUnloadConfirmPanel as needed. (WebCore::FrameLoader::continueLoadAfterNavigationPolicy): Calls shouldClose for all frames. * loader/FrameLoader.h: * loader/NavigationScheduler.cpp: (WebCore::NavigationScheduler::shouldScheduleNavigation): Checks the nullity of Page and calls NavigationDisablerForBeforeUnload::isNavigationAllowed when url is not javascript scheme. (WebCore::NavigationScheduler::scheduleRedirect): Calls shouldScheduleNavigation. (WebCore::NavigationScheduler::scheduleLocationChange): Ditto. (WebCore::NavigationScheduler::scheduleRefresh): Ditto. (WebCore::NavigationScheduler::scheduleHistoryNavigation): Ditto. * loader/NavigationScheduler.h: (WebCore::NavigationDisablerForBeforeUnload::NavigationDisablerForBeforeUnload): Disables navigation. (WebCore::NavigationDisablerForBeforeUnload::~NavigationDisablerForBeforeUnload): Enables navigation when called on the last instance of NavigationDisablerForBeforeUnload. (WebCore::NavigationDisablerForBeforeUnload::isNavigationAllowed): Returns true if there are no instance of NavigationDisablerForBeforeUnload left on the stack. 2011-01-06 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Adam Barth. onbeforeunload is broken for framesets https://bugs.webkit.org/show_bug.cgi?id=19418 Added tests to ensure WebKit fires beforeunload events for subframes, and disallows navigation except that of javascript scheme while beforeunload event handlers are being called. Also added a test to ensure WebKit fires beforeunload event for subframes exactly once even if a subframe was moved around within a beforeunload event handler. A test that ensures beforeunload event is not fired for an iframe if the iframe was added or removed within a beforeunload event handler is also added. Furthermore, a test to ensure WebKit does not fire a beforeunload event to an iframe that has been adopted by a document outside of the unloading document is added. * fast/events/before-unload-adopt-subframe-to-outside-expected.txt: Added. * fast/events/before-unload-adopt-subframe-to-outside.html: Added. * fast/events/before-unload-adopt-within-subframes-expected.txt: Added. * fast/events/before-unload-adopt-within-subframes.html: Added. * fast/events/before-unload-forbidden-navigation-expected.txt: Added. * fast/events/before-unload-forbidden-navigation.html: Added. * fast/events/before-unload-in-multiple-subframes-expected.txt: Added. * fast/events/before-unload-in-multiple-subframes.html: Added. * fast/events/before-unload-in-subframe-expected.txt: Added. * fast/events/before-unload-in-subframe.html: Added. * fast/events/before-unload-javascript-navigation-expected.txt: Added. * fast/events/before-unload-javascript-navigation.html: Added. * fast/events/before-unload-remove-and-add-subframe-expected.txt: Added. * fast/events/before-unload-remove-and-add-subframe.html: Added. * fact/events/before-unload-remove-itself-expected.txt: Added. * fact/events/before-unload-remove-itself.html: Added. * fast/events/before-unload-with-subframes-expected.txt: Added. * fast/events/before-unload-with-subframes.html: Added. * fast/events/resources/before-unload-in-subframe-child.html: Added. * fast/events/resources/before-unload-in-subframe-destination.html: Added. * fast/events/resources/before-unload-in-subframe-fail.html: Added. * fast/events/resources/before-unload-with-subframes-parent.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Reviewed by Mihai Parparita. fast/dom/Window/window-postmessage-clone-frames.html has some timing issues https://bugs.webkit.org/show_bug.cgi?id=52032 Fix the timing issue in fast/dom/Window/window-postmessage-clone-frames.html and move the output console div beyond the file input control, so that output text does not push it outside the viewport. * fast/dom/Window/window-postmessage-clone-frames-expected.txt: Updated results to reflect div movement. * fast/dom/Window/window-postmessage-clone-frames.html: Fix the timing and layout issues with this test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Build fix for GTK+. * GNUmakefile.am: Add RenderFullScreen.cpp to the sources list. * rendering/RenderFullScreen.cpp: (RenderFullScreen::setAnimating): Guard the call to contentChanged with ENABLED(ACCELERATED_COMPOSITING). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ojan@chromium.org authored
Reviewed by Adam Barth. side-by-side diffs in the code review tool https://bugs.webkit.org/show_bug.cgi?id=52019 Support for conversion from the formatted diff to a side-by-side diff. Maintains comments and new comments can be added. The main architectural change is that Line elements are no longer necessarily siblings. Each physical line is now in a LineContainer and LineContainers are siblings. Each Line corresponds to a Line in the unified diff and has an id (e.g. line12). A Line can be a LineContainer or a child of a LineContainer. In this way, converting to side-by-side and, in the future, back to unified is non-lossy. * PrettyPatch/PrettyPatch.rb: * code-review.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
Unreviewed; speculative fix for Windows debug build. * bindings/js/JSBindingsAllInOne.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
Reviewed by Ojan Vafai. Adopting an iframe to a child frame results in stack overflow https://bugs.webkit.org/show_bug.cgi?id=52018 Throws an exception when a document adopts an iframe that is an ancestor of the document in the frame hierarchy. New behavior matches that of Firefox. Test: fast/html/adopt-parent-frame.html * dom/Document.cpp: (WebCore::Document::adoptNode): 2011-01-07 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Ojan Vafai. Adopting an iframe to a child frame results in stack overflow https://bugs.webkit.org/show_bug.cgi?id=52018 Added a test to ensure calling adoptNode with an iframe throws an exception if the adoptee is an ancestor of the document adopting the node in the frame hierarchy. * fast/html/adopt-parent-frame-expected.txt: Added. * fast/html/adopt-parent-frame.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mihaip@chromium.org authored
Reviewed by Darin Fisher. [Chromium] Scrollbar code cleanup https://bugs.webkit.org/show_bug.cgi?id=52073 Scrollbar code cleanup: - Remove ScrollbarThemeMac.{mm|h} from the mac sources list, we use ScrollbarThemeChromiumMac.{mm|h} - Remove USE_WEB_THEME_ENGINE_TO_PAINT_THUMB #define now that switch to WebThemeEngine is permanent - Fix typo in Linux scrollbar enum name No new tests (compiles). * WebCore.gypi: * platform/chromium/ChromiumBridge.h: * platform/chromium/ScrollbarThemeChromiumLinux.cpp: (WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece): * platform/chromium/ScrollbarThemeChromiumMac.mm: (WebCore::scrollbarStateToThemeState): (WebCore::ScrollbarThemeChromiumMac::paint): 2011-01-07 Mihai Parparita <mihaip@chromium.org> Reviewed by Darin Fisher. [Chromium] Scrollbar code cleanup https://bugs.webkit.org/show_bug.cgi?id=52073 Scrollbar code cleanup: - Fix typo in Linux scrollbar enum name * public/linux/WebThemeEngine.h: * src/ChromiumBridge.cpp: (WebCore::WebThemePart): (WebCore::GetWebThemeExtraParams): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs@apple.com authored
Reviewed by Sam Weinig. Make WebKitTestRunner rest between loads more robust to avoid test crashes https://bugs.webkit.org/show_bug.cgi?id=52086 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::didReceiveMessage): * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: (WTR::LayoutTestController::notifyDone): * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues): (WTR::TestController::run): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
be protected both by ENABLE(FULLSCREEN_API) && USE(ACCELERATED_COMPOSITING) * page/FrameView.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Bug 26276 - Need a mechanism to determine stack extent on WINDOWS, SOLARIS, OPENBSD, SYMBIAN, HAIKU, WINCE platforms Reviewed by Geoff Garen. Fix for win32. The base of the stack is stored in the "deallocation stack" field of the Thread Information Block - see: http://en.wikipedia.org/wiki/Win32_Thread_Information_Block for more information! * wtf/StackBounds.cpp: (WTF::StackBounds::initialize): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
changable in 32-bit. * WebView/WebFullScreenController.mm: (-[WebFullScreenController exitFullscreen]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Eric Seidel. Cleanup: Fold shadowParentNode into shadowHost https://bugs.webkit.org/show_bug.cgi?id=51059 Replaces all uses of shadowParentNode. No new tests because no behavior has changed. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::initForStyleResolve): * dom/Node.cpp: (WebCore::Node::shadowHost): (WebCore::Node::shadowAncestorNode): (WebCore::eventTargetRespectingSVGTargetRules): (WebCore::Node::getEventAncestors): * dom/Node.h: * editing/Editor.cpp: (WebCore::Editor::findString): * page/DragController.cpp: (WebCore::asFileInput): * page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEvent): (WebCore::instanceAssociatedWithShadowTreeElement): (WebCore::EventHandler::dispatchMouseEvent): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::hasLineIfEmpty): * rendering/RenderSVGShadowTreeRootContainer.cpp: (WebCore::RenderSVGShadowTreeRootContainer::updateFromElement): * svg/SVGStyledElement.cpp: (WebCore::SVGStyledElement::title): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Add a platform-specific baseline for GTK+ after r75257. * platform/gtk/fast/text/emphasis-avoid-ruby-expected.checksum: Added. * platform/gtk/fast/text/emphasis-avoid-ruby-expected.png: Added. * platform/gtk/fast/text/emphasis-avoid-ruby-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
with Leopard equivalents. * WebView/WebFullScreenController.mm: (+[CATransaction setDisableActions:]): (+[CATransaction setAnimationDuration:]): (-[WebFullScreenController _animationDuration]): (-[WebFullscreenWindow initWithContentRect:styleMask:backing:defer:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. I mistakenly included a Windows only file in a cross platform file. * platform/graphics/ca/GraphicsLayerCA.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. Get rid of include of <QuartzCore/QuartzCore.h> * platform/graphics/ca/GraphicsLayerCA.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
the implementation of requiresCompositingfForFullScreen. * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::requiresCompositingForFullScreen): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
a warning in Release builds. * dom/Document.cpp: (WebCore::Document::webkitDidExitFullScreenForElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. Use new wkCACFLayerGetContextUserData function * platform/graphics/ca/win/PlatformCALayerWin.cpp: 2011-01-07 Chris Marrin <cmarrin@apple.com> Unreviewed. Minor change to check for null context * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jberlin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=52083 Reviewed by Dan Bernstein. * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: (WKBundleFrameCopyProvisionalURL): * WebProcess/InjectedBundle/API/c/WKBundleFrame.h: * WebProcess/WebPage/WebFrame.cpp: (WebKit::WebFrame::provisionalURL): Grab the URL from the provisional document loader. * WebProcess/WebPage/WebFrame.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
Fix compile bustage due to bad merge in 75276. * page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=49481 rdar://problem/8247444 Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17 Reviewed by Simon Fraser. Mark for export all those WebCore functions needed by WebFullscreenController. * WebCore.exp.in: WebCore: Implement WebKit Full Screen support. https://bugs.webkit.org/show_bug.cgi?id=49481 rdar://problem/8247444 Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17 Reviewed by Simon Fraser. screenRect is useful for more than just HTMLMediaElements. Promote it into Element. * dom/Element.cpp: Moved into Element from HTMLMediaElement. * dom/Element.h: Ditto. * dom/Node.cpp: * html/HTMLMediaElement.cpp: Moved screenRect into Element. * html/HTMLMediaElement.h: Ditto. * WebCore.exp.in: Modify the exports list to reflect the new symbol name. WebCore: Implement WebKit Full Screen support. https://bugs.webkit.org/show_bug.cgi?id=49481 rdar://problem/8247444 Patch by Jer Noble <jer@kokode.apple.com> on 2010...
-
jamesr@google.com authored
Revert "Implement mozilla's animationTime property" https://bugs.webkit.org/show_bug.cgi?id=51952 This approach isn't quite right. * animations/animation-time-expected.txt: Removed. * animations/animation-time.html: Removed. * animations/script-tests/animation-time.js: Removed. * fast/dom/Window/window-properties-expected.txt: * fast/dom/Window/window-property-descriptors-expected.txt: * platform/gtk/fast/dom/Window/window-properties-expected.txt: * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt: * platform/qt/fast/dom/Window/window-properties-expected.txt: * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: * platform/win/fast/dom/Window/window-property-descriptors-expected.txt: 2011-01-07 James Robinson <jamesr@chromium.org> Revert "Implement mozilla's animationTime property" https://bugs.webkit.org/show_bug.cgi?id=51952 This approach isn't quite right. * DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::paintInvalidatedRegion): 2011-01-07 James Robinson <jamesr@chromium.org> Revert "Implement mozilla's animationTime property" https://bugs.webkit.org/show_bug.cgi?id=51952 This approach isn't quite right. * Android.mk: * CMakeLists.txt: * GNUmakefile.am: * WebCore.exp.in: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * page/DOMWindow.cpp: * page/DOMWindow.h: * page/DOMWindow.idl: * page/Frame.cpp: * page/Frame.h: * page/Page.cpp: (WebCore::Page::Page): * page/Page.h: * page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime): * page/animation/AnimationTimeController.cpp: Removed. * page/animation/AnimationTimeController.h: Removed. 2011-01-07 James Robinson <jamesr@chromium.org> Revert "Implement mozilla's animationTime property" https://bugs.webkit.org/show_bug.cgi?id=51952 This approach isn't quite right. * public/WebWidget.h: * src/WebPopupMenuImpl.cpp: * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: * src/WebViewImpl.h: 2011-01-07 James Robinson <jamesr@chromium.org> Revert "Implement mozilla's animationTime property" https://bugs.webkit.org/show_bug.cgi?id=51952 This approach isn't quite right. * WebView/WebHTMLView.mm: (-[WebHTMLView drawRect:]): * WebView/WebView.mm: (layerSyncRunLoopObserverCallBack): 2011-01-07 James Robinson <jamesr@chromium.org> Revert "Implement mozilla's animationTime property" https://bugs.webkit.org/show_bug.cgi?id=51952 This approach isn't quite right. * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp: (WebKit::ChunkedUpdateDrawingArea::display): (WebKit::ChunkedUpdateDrawingArea::setSize): * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::drawRect): * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm: (WebKit::LayerBackedDrawingArea::syncCompositingLayers): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. Added one more API to WKSI to get the user data out of the CACFContext. * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
senorblanco@chromium.org authored
Unreviewed; test expectations update. * platform/chromium-gpu/test_expectations.txt: Removed some no-longer-failing tests; moved some lines around to match the CPU results. * platform/chromium/test_expectations.txt: Bug assignment and cleanup. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Andreas Kling. [Qt] Black text on black buttons using a dark theme https://bugs.webkit.org/show_bug.cgi?id=35024 Implement RenderThemeQt::systemColor to apply the correct colors from the current Qt style. * platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::systemColor): * platform/qt/RenderThemeQt.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
2011-01-07 Amruth Raj <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla <ravi.kasibhatla@motorola.com> Reviewed by Martin Robinson. [GTK] WebKit2 GNUmakefile is out of date from trunk Adding new stub files for compiling on latest revision https://bugs.webkit.org/show_bug.cgi?id=51883 * UIProcess/gtk: Added. * UIProcess/gtk/TextCheckerGtk.cpp: Added. (WebKit::TextChecker::state): (WebKit::TextChecker::isContinuousSpellCheckingAllowed): (WebKit::TextChecker::setContinuousSpellCheckingEnabled): (WebKit::TextChecker::setGrammarCheckingEnabled): (WebKit::TextChecker::uniqueSpellDocumentTag): (WebKit::TextChecker::closeSpellDocumentWithTag): (WebKit::TextChecker::checkTextOfParagraph): (WebKit::TextChecker::updateSpellingUIWithMisspelledWord): (WebKit::TextChecker::getGuessesForWord): (WebKit::TextChecker::learnWord): (WebKit::TextChecker::ignoreWord): * UIProcess/gtk/WebInspectorGtk.cpp: Added. (WebKit::WebInspectorProxy::platformCreateInspectorPage): (WebKit::WebInspectorProxy::platformOpen): (WebKit::WebInspectorProxy::platformClose): (WebKit::WebInspectorProxy::inspectorPageURL): * UIProcess/gtk/WebPageProxyGtk.cpp: Added. (WebKit::WebPageProxy::standardUserAgent): * UIProcess/gtk/WebPreferencesGtk.cpp: Added. (WebKit::WebPreferences::platformInitializeStore): (WebKit::WebPreferences::platformUpdateStringValueForKey): (WebKit::WebPreferences::platformUpdateBoolValueForKey): (WebKit::WebPreferences::platformUpdateUInt32ValueForKey): * WebProcess/WebCoreSupport/gtk/WebContextMenuClientGtk.cpp: Added. (WebKit::WebContextMenuClient::lookUpInDictionary): (WebKit::WebContextMenuClient::isSpeaking): (WebKit::WebContextMenuClient::speak): (WebKit::WebContextMenuClient::stopSpeaking): * WebProcess/WebCoreSupport/gtk/WebDatabaseManagerGtk.cpp: Added. (WebKit::WebDatabaseManager::databaseDirectory): * WebProcess/WebCoreSupport/gtk/WebPopupMenuGtk.cpp: Added. (WebKit::WebPopupMenu::setUpPlatformData): * WebProcess/WebPage/gtk: Added. * WebProcess/WebPage/gtk/WebInspectorGtk.cpp: Added. (WebKit::WebInspector::localizedStringsURL): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
enne@google.com authored
Reviewed by Kenneth Russell. Add tests for WebGL's lost context events. https://bugs.webkit.org/show_bug.cgi?id=51492 * fast/canvas/webgl/context-lost-expected.txt: Added. * fast/canvas/webgl/context-lost-restored-expected.txt: Added. * fast/canvas/webgl/context-lost-restored.html: Added. * fast/canvas/webgl/context-lost.html: Added. 2011-01-05 Adrienne Walker <enne@google.com> Reviewed by Kenneth Russell. Add WEBKIT_lose_context WebGL extension. https://bugs.webkit.org/show_bug.cgi?id=51492 Tests: fast/canvas/webgl/context-lost-restored.html fast/canvas/webgl/context-lost.html * CMakeLists.txt: * DerivedSources.make: * GNUmakefile.am: * WebCore.gypi: * WebCore.pri: * WebCore.pro: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSWebGLRenderingContextCustom.cpp: (WebCore::toJS): (WebCore::JSWebGLRenderingContext::getSupportedExtensions): * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp: (WebCore::toV8Object): (WebCore::V8WebGLRenderingContext::getSupportedExtensionsCallback): * html/canvas/WebGLExtension.h: * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::WebGLRenderingContextRestoreTimer::fired): (WebCore::WebGLRenderingContext::getExtension): (WebCore::WebGLRenderingContext::getSupportedExtensions): (WebCore::WebGLRenderingContext::forceLostContext): (WebCore::WebGLRenderingContext::onLostContext): (WebCore::WebGLRenderingContext::getNumberOfExtensions): (WebCore::WebGLRenderingContext::getExtensionNumber): * html/canvas/WebGLRenderingContext.h: * html/canvas/WebKitLoseContext.cpp: Copied from WebCore/html/canvas/WebGLExtension.h. (WebCore::WebKitLoseContext::WebKitLoseContext): (WebCore::WebKitLoseContext::~WebKitLoseContext): (WebCore::WebKitLoseContext::getName): (WebCore::WebKitLoseContext::create): (WebCore::WebKitLoseContext::loseContext): * html/canvas/WebKitLoseContext.h: Copied from WebCore/html/canvas/WebGLExtension.h. * html/canvas/WebKitLoseContext.idl: Copied from WebCore/html/canvas/WebGLExtension.h. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. Build fix for Chromium. Missing include. * page/animation/AnimationBase.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
* JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Doing so makes the cursor disappear from the screen. Fixes <http://webkit.org/b/52024> Mouse cursor flashes when moving it around a WKView before the web process has finished launching Reviewed by Jon Honeycutt. * UIProcess/win/WebView.cpp: (WebKit::WebView::onSetCursor): If we don't have a cursor to set, just let Windows do its default thing (which is to set the cursor to the window class's cursor, which in our case is the arrow cursor). (WebKit::WebView::cursorToShow): Just return 0 when the page has crashed so that we'll show the default cursor (which is the arrow cursor). This change has no visible effect, but seems slightly better conceptually. (WebKit::WebView::updateNativeCursor): Don't do anything if we don't have a cursor to set. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Fixes <http://webkit.org/b/52023> WKView accumulates pixel garbage before web process has had a chance to draw anything (if Aero is disabled) Reviewed by Jon Honeycutt. * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp: (WebKit::ChunkedUpdateDrawingAreaProxy::paint): * UIProcess/ChunkedUpdateDrawingAreaProxy.h: * UIProcess/DrawingAreaProxy.h: * UIProcess/LayerBackedDrawingAreaProxy.cpp: (WebKit::LayerBackedDrawingAreaProxy::paint): * UIProcess/LayerBackedDrawingAreaProxy.h: * UIProcess/TiledDrawingAreaProxy.cpp: (WebKit::TiledDrawingAreaProxy::paint): * UIProcess/TiledDrawingAreaProxy.h: * UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm: (WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint): * UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp: (WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint): * UIProcess/win/ChunkedUpdateDrawingAreaProxyWin.cpp: (WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint): * UIProcess/win/LayerBackedDrawingAreaProxyWin.cpp: (WebKit::LayerBackedDrawingAreaProxy::paint): Changed these functions to return a boolean indicating whether we actually painted anything. * UIProcess/win/WebView.cpp: (WebKit::WebView::onPaintEvent): Fill with white (and don't call didDraw) when the DrawingAreaProxy isn't able to paint. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. Build fix. * platform/graphics/ca/win/PlatformCALayerWin.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=52051 Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2011-01-07 Reviewed by Martin Robinson. * wtf/gobject/GTypedefs.h: Add GtkStyleContext forward declaration. WebCore: Bug 52035 - Unregistering DOMWrapperWorlds is unsafe Reviewed by Geoff Garen. The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's destructor early, in order to release wrappers once we know we no longer intend to use them. Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to lose any state stored on them) it is not okay to deregister the world from the JSGlobalData. A sequence of events that triggers the bug would look like this: (1) Create a DOMWrapperWorld. (2) Register a timer in the world. (3) Call unregisterWorld() on the world. (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document. (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've called forgetWorld() none exists. (6) Attempt to add a wrapper to a NULL map. Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away. * WebCore.exp.in: * bindings/js/DOMWrapperWorld.cpp: (WebCore::DOMWrapperWorld::DOMWrapperWorld): (WebCore::DOMWrapperWorld::~DOMWrapperWorld): (WebCore::DOMWrapperWorld::clearWrappers): * bindings/js/DOMWrapperWorld.h: WebKit/mac: Bug 52035 - Unregistering DOMWrapperWorlds is unsafe Reviewed by Geoff Garen. The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's destructor early, in order to release wrappers once we know we no longer intend to use them. Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to lose any state stored on them) it is not okay to deregister the world from the JSGlobalData. A sequence of events that triggers the bug would look like this: (1) Create a DOMWrapperWorld. (2) Register a timer in the world. (3) Call unregisterWorld() on the world. (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document. (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've called forgetWorld() none exists. (6) Attempt to add a wrapper to a NULL map. Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away. * WebView/WebScriptWorld.mm: (-[WebScriptWorld unregisterWorld]): WebKit/win: Bug 52035 - Unregistering DOMWrapperWorlds is unsafe Reviewed by Geoff Garen. The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's destructor early, in order to release wrappers once we know we no longer intend to use them. Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to lose any state stored on them) it is not okay to deregister the world from the JSGlobalData. A sequence of events that triggers the bug would look like this: (1) Create a DOMWrapperWorld. (2) Register a timer in the world. (3) Call unregisterWorld() on the world. (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document. (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've called forgetWorld() none exists. (6) Attempt to add a wrapper to a NULL map. Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away. * WebScriptWorld.cpp: (WebScriptWorld::unregisterWorld): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. Adding updated WKSI files missed in http://trac.webkit.org/changeset/75262 * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
senorblanco@chromium.org authored
Unreviewed; new test baselines and updated chromium expectations. * platform/chromium-gpu/test_expectations.txt: * platform/chromium-linux/fast/gradients/css3-repeating-linear-gradients-expected.checksum: Added. * platform/chromium-linux/fast/gradients/css3-repeating-linear-gradients-expected.png: Added. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Rubber-stamped by Simon Fraser. Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations https://bugs.webkit.org/show_bug.cgi?id=49388 Final step in unifying GraphicsLayer logic across Win and Mac. This implements the Windows side classes for PlatformCALayer and supporting classes. Also changed MediaPlayer to use new PlatformCALayerClient so it can use PlatformCALayer directly rather than a dummy GraphicsLayer. WKCACFLayerRenderer now does the task of notifying animations of their start time. Also commented out an assert in AnimationBase because AnimationController's frame time is not in sync with the new AnimationTimeController. I've opened a new bug for that issue: https://bugs.webkit.org/show_bug.cgi?id=52037 This also includes the Mac side changes backed out in http://trac.webkit.org/changeset/75227. ...
-