diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-17 16:21:14 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-17 16:21:14 +0200 |
commit | 8995b83bcbfbb68245f779b64e5517627c6cc6ea (patch) | |
tree | 17985605dab9263cc2444bd4d45f189e142cca7c /Source/WebKit/blackberry/ChangeLog | |
parent | b9c9652036d5e9f1e29c574f40bc73a35c81ace6 (diff) | |
download | qtwebkit-8995b83bcbfbb68245f779b64e5517627c6cc6ea.tar.gz |
Imported WebKit commit cf4f8fc6f19b0629f51860cb2d4b25e139d07e00 (http://svn.webkit.org/repository/webkit/trunk@131592)
New snapshot that includes the build fixes for Mac OS X 10.6 and earlier as well
as the previously cherry-picked changes
Diffstat (limited to 'Source/WebKit/blackberry/ChangeLog')
-rw-r--r-- | Source/WebKit/blackberry/ChangeLog | 1252 |
1 files changed, 1252 insertions, 0 deletions
diff --git a/Source/WebKit/blackberry/ChangeLog b/Source/WebKit/blackberry/ChangeLog index 36163acf9..eaa2b3b50 100644 --- a/Source/WebKit/blackberry/ChangeLog +++ b/Source/WebKit/blackberry/ChangeLog @@ -1,3 +1,1255 @@ +2012-10-16 Mike Lattanzio <mlattanzio@rim.com> + + 2012-10-16 Mike Lattanzio <mlattanzio@rim.com> + + [BlackBerry] calculateInRegionScrollableAreasForPoint should use a ReadOnly HitTest + https://bugs.webkit.org/show_bug.cgi?id=99497 + + Reviewed by Antonio Gomes. + + Fix calculateInRegionScrollableAreasForPoint to use a ReadOnly + hit test to improve its performance. + + * Api/InRegionScroller.cpp: + (BlackBerry::WebKit::InRegionScrollerPrivate::calculateInRegionScrollableAreasForPoint): + +2012-10-15 Peter Wang <peter.wang@torchmobile.com.cn> + + [BlackBerry] Web Inspector: Remove the useless preferences items in "inspectorBB.js" + https://bugs.webkit.org/show_bug.cgi?id=99404 + + Reviewed by George Staikos. + + In "inspectorBB.js", remove the useless preferences items to catch up the new code of frontend. + + * WebCoreSupport/inspectorBB.js: + +2012-10-15 Jakob Petsovits <jpetsovits@rim.com> + + [BlackBerry] Only reallocate buffers that were allocated before suspending + https://bugs.webkit.org/show_bug.cgi?id=99205 + RIM PR 99395 + + Reviewed by Antonio Gomes. + + When we call releaseBuffers(), not all of the backingstore + tile buffers might have been allocated yet. Still we try + to release all of them, which causes us to lazy-initialize + the tile buffers so we can release them again. + + This is stupid and we should just ignore buffers that + haven't been initialized yet. This patch makes that change. + + * WebKitSupport/BackingStoreTile.cpp: + (BlackBerry::WebKit::TileBuffer::wasNativeBufferCreated): + (WebKit): + * WebKitSupport/BackingStoreTile.h: + (TileBuffer): + * WebKitSupport/SurfacePool.cpp: + (BlackBerry::WebKit::SurfacePool::createBuffers): + (BlackBerry::WebKit::SurfacePool::releaseBuffers): + +2012-10-15 Jonathan Dong <jonathan.dong@torchmobile.com.cn> + + [BlackBerry] replace BlackBerry::Platform::log() with BBLOG() + https://bugs.webkit.org/show_bug.cgi?id=99302 + + Reviewed by Rob Buis. + + RIM PR: 210884 + The marco BBLOG() is defined as a no-op in release mode which will + save a function call in the release build. + Internally reviewed by Charles Wei. + + * Api/BackingStore.cpp: + (BlackBerry::WebKit::bestDivisor): + (BlackBerry::WebKit::BackingStorePrivate::suspendScreenAndBackingStoreUpdates): + (BlackBerry::WebKit::BackingStorePrivate::resumeScreenAndBackingStoreUpdates): + (BlackBerry::WebKit::BackingStorePrivate::repaint): + (BlackBerry::WebKit::BackingStorePrivate::slowScroll): + (BlackBerry::WebKit::BackingStorePrivate::scroll): + (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect): + (BlackBerry::WebKit::BackingStorePrivate::scrollBackingStore): + (BlackBerry::WebKit::BackingStorePrivate::render): + (BlackBerry::WebKit::BackingStorePrivate::blitVisibleContents): + (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion): + (BlackBerry::WebKit::BackingStorePrivate::renderContents): + (BlackBerry::WebKit::BackingStorePrivate::blitToWindow): + (BlackBerry::WebKit::BackingStorePrivate::fillWindow): + (BlackBerry::WebKit::BackingStorePrivate::invalidateWindow): + (BlackBerry::WebKit::BackingStorePrivate::clearWindow): + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::setLoadState): + (BlackBerry::WebKit::WebPagePrivate::zoomAboutPoint): + (BlackBerry::WebKit::WebPagePrivate::contentsSizeChanged): + (BlackBerry::WebKit::WebPagePrivate::zoomToInitialScaleOnLoad): + (BlackBerry::WebKit::WebPagePrivate::scheduleRootLayerCommit): + (BlackBerry::WebKit::WebPagePrivate::commitRootLayer): + (BlackBerry::WebKit::WebPagePrivate::commitRootLayerIfNeeded): + (BlackBerry::WebKit::WebPagePrivate::rootLayerCommitTimerFired): + * WebCoreSupport/ChromeClientBlackBerry.cpp: + (WebCore::ChromeClientBlackBerry::overflowExceedsContentsSize): + (WebCore::ChromeClientBlackBerry::didDiscoverFrameSet): + * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: + (WebCore::FrameLoaderClientBlackBerry::dispatchDidLayout): + * WebKitSupport/FatFingers.cpp: + (BlackBerry::WebKit::FatFingers::checkFingerIntersection): + (BlackBerry::WebKit::FatFingers::findIntersectingRegions): + (BlackBerry::WebKit::FatFingers::checkForText): + * WebKitSupport/RenderQueue.cpp: + (BlackBerry::WebKit::RenderQueue::addToRegularQueue): + (BlackBerry::WebKit::RenderQueue::addToScrollZoomQueue): + (BlackBerry::WebKit::RenderQueue::render): + (BlackBerry::WebKit::RenderQueue::renderAllCurrentRegularRenderJobs): + (BlackBerry::WebKit::RenderQueue::startRegularRenderJobBatchIfNeeded): + (BlackBerry::WebKit::RenderQueue::renderVisibleZoomJob): + (BlackBerry::WebKit::RenderQueue::renderVisibleScrollJob): + (BlackBerry::WebKit::RenderQueue::renderRegularRenderJob): + (BlackBerry::WebKit::RenderQueue::renderNonVisibleScrollJob): + * WebKitSupport/SurfacePool.cpp: + (BlackBerry::WebKit::SurfacePool::initialize): + +2012-10-15 Xiaobo Wang <xbwang@torchmobile.com.cn> + + [BlackBerry] [DRT] Skip region of interest zooming when running DRT + https://bugs.webkit.org/show_bug.cgi?id=97663 + + Reviewed by Rob Buis. + + This patch fixes test fast/forms/textarea-scrolled-endline-caret.html, and + 1. Add a global function isRunningDrt to check if we're currently running DRT. + 2. Use the new function in places where getenv("drtRun") is used. + + * Api/BlackBerryGlobal.cpp: + (BlackBerry::WebKit::isRunningDrt): + (WebKit): + * Api/BlackBerryGlobal.h: + (WebKit): + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::init): + * WebKitSupport/DumpRenderTreeSupport.cpp: + (toGeolocationClientMock): + * WebKitSupport/InputHandler.cpp: + (BlackBerry::WebKit::InputHandler::ensureFocusTextElementVisible): + +2012-10-15 George Staikos <staikos@webkit.org> + + [BlackBerry] Adapt to Platform API changes in string handling + https://bugs.webkit.org/show_bug.cgi?id=99248 + + Reviewed by Yong Li. + + Convert usage of WebString, char* and std::string to BlackBerry::Platform::String. + + * Api/BlackBerryGlobal.cpp: + (BlackBerry::WebKit::clearAppCache): + (BlackBerry::WebKit::clearDatabase): + * Api/BlackBerryGlobal.h: + (Platform): + (WebKit): + * Api/JavaScriptVariant.cpp: + (BlackBerry::WebKit::JSValueRefToBlackBerryJavaScriptVariant): + (BlackBerry::WebKit::BlackBerryJavaScriptVariantToJSValueRef): + (BlackBerry::WebKit::JavaScriptVariant::JavaScriptVariant): + (WebKit): + (BlackBerry::WebKit::JavaScriptVariant::~JavaScriptVariant): + (BlackBerry::WebKit::JavaScriptVariant::setType): + (BlackBerry::WebKit::JavaScriptVariant::setString): + (BlackBerry::WebKit::JavaScriptVariant::stringValue): + * Api/JavaScriptVariant.h: + * Api/WebAnimation.cpp: + (BlackBerry::WebKit::WebAnimation::fadeAnimation): + (BlackBerry::WebKit::WebAnimation::name): + * Api/WebAnimation.h: + * Api/WebCookieJar.cpp: + (BlackBerry::WebKit::WebCookieJar::cookies): + (BlackBerry::WebKit::WebCookieJar::setCookies): + * Api/WebCookieJar.h: + (Platform): + (BlackBerry): + (WebKit): + * Api/WebKitMIMETypeConverter.cpp: + (BlackBerry::WebKit::getExtensionForMimeType): + (BlackBerry::WebKit::getMimeTypeForExtension): + * Api/WebKitMIMETypeConverter.h: + (Platform): + (BlackBerry): + (WebKit): + * Api/WebKitTextCodec.cpp: + (BlackBerry::WebKit::base64Decode): + (BlackBerry::WebKit::base64Encode): + (BlackBerry::WebKit::unescapeURL): + (BlackBerry::WebKit::escapeURL): + * Api/WebKitTextCodec.h: + (Platform): + (BlackBerry): + * Api/WebOverlay.cpp: + (BlackBerry::WebKit::WebOverlay::removeAnimation): + * Api/WebOverlay.h: + (Platform): + (BlackBerry): + (WebKit): + * Api/WebOverlayOverride.cpp: + (BlackBerry::WebKit::WebOverlayOverride::removeAnimation): + * Api/WebOverlayOverride.h: + (Platform): + (BlackBerry): + (WebKit): + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPage::autofillTextField): + (BlackBerry::WebKit::WebPage::renderTreeAsText): + (BlackBerry::WebKit::WebPage::WebPage): + (BlackBerry::WebKit::WebPagePrivate::init): + (BlackBerry::WebKit::WebPagePrivate::load): + (BlackBerry::WebKit::WebPage::load): + (BlackBerry::WebKit::WebPage::loadFile): + (BlackBerry::WebKit::WebPage::download): + (BlackBerry::WebKit::WebPagePrivate::loadString): + (BlackBerry::WebKit::WebPage::loadString): + (BlackBerry::WebKit::WebPagePrivate::executeJavaScript): + (BlackBerry::WebKit::WebPage::executeJavaScript): + (BlackBerry::WebKit::WebPagePrivate::executeJavaScriptInIsolatedWorld): + (BlackBerry::WebKit::WebPage::executeJavaScriptInIsolatedWorld): + (BlackBerry::WebKit::WebPage::executeJavaScriptFunction): + (BlackBerry::WebKit::WebPagePrivate::addOriginAccessWhitelistEntry): + (BlackBerry::WebKit::WebPage::addOriginAccessWhitelistEntry): + (BlackBerry::WebKit::WebPagePrivate::removeOriginAccessWhitelistEntry): + (BlackBerry::WebKit::WebPage::removeOriginAccessWhitelistEntry): + (BlackBerry::WebKit::WebPagePrivate::authenticationChallenge): + (BlackBerry::WebKit::WebPagePrivate::syncProxyCredential): + (BlackBerry::WebKit::WebPagePrivate::notifyPopupAutofillDialog): + (BlackBerry::WebKit::WebPagePrivate::webContext): + (BlackBerry::WebKit::WebPage::setDateTimeInput): + (BlackBerry::WebKit::WebPage::setColorInput): + (BlackBerry::WebKit::WebPage::textEncoding): + (BlackBerry::WebKit::WebPage::forcedTextEncoding): + (BlackBerry::WebKit::WebPage::setForcedTextEncoding): + (BlackBerry::WebKit::WebPage::title): + (BlackBerry::WebKit::WebPage::selectedText): + (BlackBerry::WebKit::WebPage::cutSelectedText): + (BlackBerry::WebKit::WebPage::insertText): + (BlackBerry::WebKit::WebPage::getBackForwardList): + (BlackBerry::WebKit::WebPage::onCertificateStoreLocationSet): + (BlackBerry::WebKit::WebPage::dispatchInspectorMessage): + (BlackBerry::WebKit::WebPagePrivate::didChangeSettings): + (BlackBerry::WebKit::WebPage::textHasAttribute): + (BlackBerry::WebKit::WebPage::setAllowNotification): + (BlackBerry::WebKit::WebPagePrivate::defaultUserAgent): + * Api/WebPage.h: + * Api/WebPageClient.h: + * Api/WebPage_p.h: + (WebPagePrivate): + * Api/WebSettings.cpp: + (BlackBerry::WebKit::WebSettings::standardSettings): + (BlackBerry::WebKit::WebSettings::addSupportedObjectPluginMIMEType): + (BlackBerry::WebKit::WebSettings::isSupportedObjectMIMEType): + (BlackBerry::WebKit::WebSettings::serifFontFamily): + (BlackBerry::WebKit::WebSettings::setSerifFontFamily): + (BlackBerry::WebKit::WebSettings::fixedFontFamily): + (BlackBerry::WebKit::WebSettings::setFixedFontFamily): + (BlackBerry::WebKit::WebSettings::sansSerifFontFamily): + (BlackBerry::WebKit::WebSettings::setSansSerifFontFamily): + (BlackBerry::WebKit::WebSettings::standardFontFamily): + (BlackBerry::WebKit::WebSettings::setStandardFontFamily): + (BlackBerry::WebKit::WebSettings::userAgentString): + (BlackBerry::WebKit::WebSettings::setUserAgentString): + (BlackBerry::WebKit::WebSettings::defaultTextEncodingName): + (BlackBerry::WebKit::WebSettings::setDefaultTextEncodingName): + (BlackBerry::WebKit::WebSettings::userStyleSheetString): + (BlackBerry::WebKit::WebSettings::setUserStyleSheetString): + (BlackBerry::WebKit::WebSettings::userStyleSheetLocation): + (BlackBerry::WebKit::WebSettings::setUserStyleSheetLocation): + (BlackBerry::WebKit::WebSettings::localStoragePath): + (BlackBerry::WebKit::WebSettings::setLocalStoragePath): + (BlackBerry::WebKit::WebSettings::indexedDataBasePath): + (BlackBerry::WebKit::WebSettings::setIndexedDataBasePath): + (BlackBerry::WebKit::WebSettings::databasePath): + (BlackBerry::WebKit::WebSettings::setDatabasePath): + (BlackBerry::WebKit::WebSettings::appCachePath): + (BlackBerry::WebKit::WebSettings::setAppCachePath): + (BlackBerry::WebKit::WebSettings::pageGroupName): + (BlackBerry::WebKit::WebSettings::setPageGroupName): + * Api/WebSettings.h: + * Api/WebString.cpp: Removed. + * Api/WebString.h: Removed. + * WebCoreSupport/ChromeClientBlackBerry.cpp: + (WebCore::ChromeClientBlackBerry::runJavaScriptPrompt): + (WebCore::ChromeClientBlackBerry::createWindow): + (WebCore::ChromeClientBlackBerry::runOpenPanel): + (WebCore): + * WebCoreSupport/ChromeClientBlackBerry.h: + (ChromeClientBlackBerry): + * WebCoreSupport/ClientExtension.cpp: + (clientExtensionMethod): + * WebCoreSupport/ColorPickerClient.cpp: + (WebCore::ColorPickerClient::ColorPickerClient): + (WebCore::ColorPickerClient::generateHTML): + * WebCoreSupport/ColorPickerClient.h: + (Platform): + (BlackBerry): + (WebKit): + (ColorPickerClient): + * WebCoreSupport/CredentialManager.cpp: + (WebCore::CredentialManager::autofillAuthenticationChallenge): + * WebCoreSupport/CredentialManager.h: + (Platform): + (CredentialManager): + * WebCoreSupport/DatePickerClient.cpp: + (WebCore::DatePickerClient::DatePickerClient): + (WebCore::DatePickerClient::generateHTML): + * WebCoreSupport/DatePickerClient.h: + (Platform): + (BlackBerry): + (WebKit): + (DatePickerClient): + * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: + (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForResponse): + (WebCore::FrameLoaderClientBlackBerry::createDocumentLoader): + (WebCore::FrameLoaderClientBlackBerry::dispatchDidFinishLoad): + (WebCore::FrameLoaderClientBlackBerry::dispatchDidFailProvisionalLoad): + (WebCore::FrameLoaderClientBlackBerry::dispatchCreatePage): + (WebCore::FrameLoaderClientBlackBerry::dispatchWillSendRequest): + (WebCore::FrameLoaderClientBlackBerry::loadIconExternally): + (WebCore::FrameLoaderClientBlackBerry::startDownload): + (WebCore::FrameLoaderClientBlackBerry::dispatchDidReceiveIcon): + * WebCoreSupport/IconDatabaseClientBlackBerry.cpp: + * WebCoreSupport/NotificationPresenterImpl.cpp: + (WebCore::NotificationPresenterImpl::show): + (WebCore::NotificationPresenterImpl::cancel): + (WebCore::NotificationPresenterImpl::requestPermission): + (WebCore::NotificationPresenterImpl::onPermission): + (WebCore::NotificationPresenterImpl::notificationClicked): + * WebCoreSupport/NotificationPresenterImpl.h: + (Platform): + (NotificationPresenterImpl): + * WebCoreSupport/SelectPopupClient.cpp: + (WebCore::SelectPopupClient::SelectPopupClient): + (WebCore::SelectPopupClient::update): + (WebCore::SelectPopupClient::generateHTML): + * WebCoreSupport/SelectPopupClient.h: + (Platform): + (BlackBerry): + (SelectPopupClient): + * WebCoreSupport/UserMediaClientImpl.cpp: + (WebCore::toMediaStreamSource): + (WebCore::toMediaStreamDescriptor): + (WebCore::UserMediaClientImpl::requestUserMedia): + (WebCore::UserMediaClientImpl::cancelUserMediaRequest): + * WebKitSupport/AboutData.cpp: + (BlackBerry::WebKit::cachePage): + * WebKitSupport/InputHandler.cpp: + (BlackBerry::WebKit::convertStringToWchar): + (BlackBerry::WebKit::convertStringToWcharVector): + (BlackBerry::WebKit::convertSpannableStringToString): + (BlackBerry::WebKit::InputHandler::learnText): + (BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed): + (BlackBerry::WebKit::InputHandler::openDatePopup): + (BlackBerry::WebKit::InputHandler::openSelectPopup): + (BlackBerry::WebKit::InputHandler::setText): + * WebKitSupport/SelectionHandler.cpp: + (BlackBerry::WebKit::SelectionHandler::selectedText): + * WebKitSupport/SelectionHandler.h: + (Platform): + (WebKit): + (SelectionHandler): + * WebKitSupport/SurfacePool.cpp: + (BlackBerry::WebKit::SurfacePool::sharedPixmapGroup): + * WebKitSupport/SurfacePool.h: + (SurfacePool): + +2012-10-15 Antonio Gomes <agomes@rim.com> + + [BlackBerry] Clean up BackingStoreClient (part II) + https://bugs.webkit.org/show_bug.cgi?id=99327 + + Reviewed by Yong Li. + + Remove more unneeded BackingStoreClient <-> WebPageClient integration + methods: + - BackingStoreClient* backingStoreClientForFrame(...) + - void addBackingStoreClientForFrame(...) + - void removeBackingStoreClientForFrame(...) + + Change places calling WPPriv::backingStoreClientForFrame to directly + access WPPriv::backingStoreClient instead, since only the main frame will + have a BackingStoreClient instance associated with it, and it is owned by + the WKPriv. + + Remove non-mainframe only references to BackingStoreClient completely, + since it is dead code now. + + * Api/InRegionScroller.cpp: + (BlackBerry::WebKit::InRegionScrollerPrivate::setLayerScrollPosition): + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::backingStoreClient): + (BlackBerry::WebKit::WebPage::destroy): + * Api/WebPage_p.h: + (WebPagePrivate): + * WebCoreSupport/ChromeClientBlackBerry.cpp: + (WebCore::ChromeClientBlackBerry::invalidateContentsForSlowScroll): + (WebCore::ChromeClientBlackBerry::scroll): + * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: + (WebCore::FrameLoaderClientBlackBerry::transitionToCommittedForNewPage): + (WebCore::FrameLoaderClientBlackBerry::createFrame): + (WebCore::FrameLoaderClientBlackBerry::detachedFromParent2): + * WebKitSupport/BackingStoreClient.cpp: + (BlackBerry::WebKit::BackingStoreClient::create): + (BlackBerry::WebKit::BackingStoreClient::BackingStoreClient): + (BlackBerry::WebKit::BackingStoreClient::~BackingStoreClient): + * WebKitSupport/BackingStoreClient.h: + (BackingStoreClient): + * WebKitSupport/InputHandler.cpp: + (BlackBerry::WebKit::InputHandler::setBatchEditingActive): + +2012-10-15 Antonio Gomes <agomes@rim.com> + + [BlackBerry] Clean up BackingStoreClient (part I) + https://bugs.webkit.org/show_bug.cgi?id=99327 + + Reviewed by Yong Li. + + Now that we won't use the BackingStoreClient code path to scroll inner frames at all + (instead we use AC layers!), we can remove all "!isMainFrame" code paths. + + No behavior change, since the code path being removed was not in use. + + * WebKitSupport/BackingStoreClient.cpp: + (BlackBerry::WebKit::BackingStoreClient::absoluteRect): + (BlackBerry::WebKit::BackingStoreClient::transformedActualVisibleSize): + (BlackBerry::WebKit::BackingStoreClient::viewportSize): + (BlackBerry::WebKit::BackingStoreClient::transformedViewportSize): + (BlackBerry::WebKit::BackingStoreClient::visibleContentsRect): + (BlackBerry::WebKit::BackingStoreClient::transformedVisibleContentsRect): + (BlackBerry::WebKit::BackingStoreClient::checkOriginOfCurrentScrollOperation): + +2012-10-13 Jakob Petsovits <jpetsovits@rim.com> + + [BlackBerry] Fetch blit rects from a viewport accessor + https://bugs.webkit.org/show_bug.cgi?id=98581 + RIM PR 173292 + + Reviewed by George Staikos. + Internally reviewed by Arvid Nilsson. + + The long-standing userInterfaceBlittedVisibleContentsRect() + method in WebPageClient has long been a major annoyance, + as it returns the source rect for WebKit contents but in + backingstore pixel coordinates. This makes it not only + unwieldy but also terribly fragile, especially when + both pinch zoom and a backingstore re-render both deal + with the same rectangle. On different threads, even. + + BlackBerry::Platform now exposes a ViewportAccessor + interface, which can be used to get the various rects + in document coordinates or target pixel coordinates, + both being a better choice than the ones dependent + on an implentation detail. + + This commit makes use of this new functionality. + Instead of relying on the passed rectangle to contain + implicit information about the scale factor, we now + track the scale of each backingstore geometry by making + a snapshot of the current WebKit-thread scale when the + geometry is generated. Once the geometry is swapped to + the front, we can then calculate the remaining + backingstore-to-viewport transformation in a threadsafe + way. We now only calculate this if we actually blit from + backingstore tiles and don't go through a configuration + of pure accelerated compositing. + + As a result, we are now a lot more robust against + synchonization issues related to backingstore + geometry changes. As an additional gimmick, the scale + is also stored with each tile buffer to doubly secure + that a tile rendered in one scale is not transferred + to a different geometry and then rendered there without + being rerendered at the new scale, even if the rendered + pixel coordinates are still the same. + + Having per-geometry scale information also opens up + opportunities to further improve backingstore rendering + later. For instance, we could pre-render a low-res + version of the page onto one buffer and combine that one + with a higher-res array of tiles covering a smaller area. + Or we could steal some tiles from the front geometry to + render them at a new scale while a pinch-zoom operation + is in progress. + + No such thing is implemented in this patch though. + + In adapting/fixing the backingstore visualization + debug mode and the default background painting in + renderDirectToWindow(), we also introduce new + ViewportAccessor subclasses that can subsequently + be used to replace methods from WebPage and elsewhere. + + * Api/BackingStore.cpp: + (BlackBerry::WebKit::BackingStorePrivate::slowScroll): + (BlackBerry::WebKit::BackingStorePrivate::scroll): + (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect): + (BlackBerry::WebKit::BackingStorePrivate::scrollBackingStore): + (BlackBerry::WebKit::BackingStorePrivate::renderDirectToWindow): + (BlackBerry::WebKit::BackingStorePrivate::render): + (BlackBerry::WebKit::BackingStorePrivate::paintDefaultBackground): + (BlackBerry::WebKit::BackingStorePrivate::blitVisibleContents): + (BlackBerry::WebKit::BackingStorePrivate::blitHorizontalScrollbar): + (BlackBerry::WebKit::BackingStorePrivate::blitVerticalScrollbar): + (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion): + (BlackBerry::WebKit::BackingStorePrivate::updateTileMatrixIfNeeded): + (BlackBerry::WebKit::BackingStorePrivate::orientationChanged): + (BlackBerry::WebKit::BackingStorePrivate::createSurfaces): + (BlackBerry::WebKit::BackingStorePrivate::invalidateWindow): + * Api/BackingStore_p.h: + (BlackBerry): + (Platform): + (BlackBerry::WebKit::BackingStoreGeometry::BackingStoreGeometry): + (BlackBerry::WebKit::BackingStoreGeometry::scale): + (BlackBerry::WebKit::BackingStoreGeometry::setScale): + (BackingStoreGeometry): + (BackingStorePrivate): + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate): + (BlackBerry::WebKit::WebPagePrivate::~WebPagePrivate): + (BlackBerry::WebKit::WebPagePrivate::init): + (BlackBerry::WebKit::WebPage::webkitThreadViewportAccessor): + (WebKit): + * Api/WebPage.h: + (Platform): + * Api/WebPageClient.h: + (Platform): + * Api/WebPageCompositor.cpp: + (BlackBerry::WebKit::WebPageCompositorPrivate::animationFrameChanged): + * Api/WebPage_p.h: + (WebKit): + (WebPagePrivate): + * WebKitSupport/BackingStoreTile.cpp: + (BlackBerry::WebKit::TileBuffer::TileBuffer): + (BlackBerry::WebKit::TileBuffer::isRendered): + * WebKitSupport/BackingStoreTile.h: + (TileBuffer): + (BlackBerry::WebKit::TileBuffer::scale): + (BlackBerry::WebKit::TileBuffer::setScale): + * WebKitSupport/BackingStoreVisualizationViewportAccessor.cpp: Added. + (WebKit): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::BackingStoreVisualizationViewportAccessor): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::pixelContentsSize): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::documentContentsSize): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::pixelScrollPosition): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::documentScrollPosition): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::pixelViewportSize): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::documentViewportSize): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::destinationSurfaceOffset): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::scale): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::state): + * WebKitSupport/BackingStoreVisualizationViewportAccessor.h: Added. + (BlackBerry): + (Platform): + (WebKit): + (BackingStoreVisualizationViewportAccessor): + (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::~BackingStoreVisualizationViewportAccessor): + * WebKitSupport/WebKitThreadViewportAccessor.cpp: Added. + (WebKit): + (BlackBerry::WebKit::WebKitThreadViewportAccessor::WebKitThreadViewportAccessor): + (BlackBerry::WebKit::WebKitThreadViewportAccessor::pixelContentsSize): + (BlackBerry::WebKit::WebKitThreadViewportAccessor::documentContentsSize): + (BlackBerry::WebKit::WebKitThreadViewportAccessor::pixelScrollPosition): + (BlackBerry::WebKit::WebKitThreadViewportAccessor::documentScrollPosition): + (BlackBerry::WebKit::WebKitThreadViewportAccessor::pixelViewportSize): + (BlackBerry::WebKit::WebKitThreadViewportAccessor::documentViewportSize): + (BlackBerry::WebKit::WebKitThreadViewportAccessor::destinationSurfaceOffset): + (BlackBerry::WebKit::WebKitThreadViewportAccessor::scale): + * WebKitSupport/WebKitThreadViewportAccessor.h: Added. + (BlackBerry): + (Platform): + (WebKit): + (WebKitThreadViewportAccessor): + (BlackBerry::WebKit::WebKitThreadViewportAccessor::~WebKitThreadViewportAccessor): + +2012-10-11 Peter Wang <peter.wang@torchmobile.com.cn> + + [BlackBerry] Paused in Inspector, Browser doesn't exit cleanly + https://bugs.webkit.org/show_bug.cgi?id=97962 + + Reviewed by George Staikos. + + Before destroying webpage, close the inspector, so if the JSC is paused it will be resumed. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPage::destroy): + +2012-10-11 Konrad Piascik <kpiascik@rim.com> + + Web Inspector: node search does not work with elements on touch start listener + https://bugs.webkit.org/show_bug.cgi?id=95252 + + Reviewed by Pavel Feldman. + + Removed calls to InspectorInstrumentation that no didn't work anyway. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPage::touchEvent): + +2012-10-11 Chris Guan <chris.guan@torchmobile.com.cn> + + [Blackberry] makes NavigatorContentUtils work + https://bugs.webkit.org/show_bug.cgi?id=99022 + + Reviewed by Rob Buis. + + Because r126735 renamed RegisterProtocolHandler API to NavigatorContentUtils and + r122810 added RegisterProtocolHandlerClient to the Modules/protocolhandler, + we need sync up code: + 1. Add NavigatorContentUtilsClientBlackBerry class. + 2. use new API provideNavigatorContentUtilsTo. + + No new tests. Covered by existing tests. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::init): + * WebCoreSupport/NavigatorContentUtilsClientBlackBerry.cpp: Added. + (WebCore): + (WebCore::NavigatorContentUtilsClientBlackBerry::NavigatorContentUtilsClientBlackBerry): + (WebCore::NavigatorContentUtilsClientBlackBerry::registerProtocolHandler): + (WebCore::NavigatorContentUtilsClientBlackBerry::isProtocolHandlerRegistered): + (WebCore::NavigatorContentUtilsClientBlackBerry::unregisterProtocolHandler): + * WebCoreSupport/NavigatorContentUtilsClientBlackBerry.h: Added. + (WebKit): + (NavigatorContentUtilsClientBlackBerry): + (WebCore::NavigatorContentUtilsClientBlackBerry::~NavigatorContentUtilsClientBlackBerry): + +2012-10-10 Lianghui Chen <liachen@rim.com> + + [BlackBerry] Fix assertion in NetworkJob::notifyChallengeResult. + https://bugs.webkit.org/show_bug.cgi?id=97397 + Internal PR: 186597. + + Internally reviewed by Yong Li, Joe Mason. + Reviewed by George Staikos. + + Update WebPage to use new AuthenticationChallengeManager. + Register page creation/deletion and visibility change to the new + AuthenticationChallengeManager. + Initialize AuthenticationChallengeManager in GlobalInitialize() function. + + * Api/BlackBerryGlobal.cpp: + (BlackBerry::WebKit::globalInitialize): + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate): + (BlackBerry::WebKit::WebPagePrivate::~WebPagePrivate): + (BlackBerry::WebKit::WebPagePrivate::authenticationChallenge): + (BlackBerry::WebKit::WebPage::setVisible): + * Api/WebPage_p.h: + (WebPagePrivate): + +2012-10-10 Andrew Lo <anlo@rim.com> + + [BlackBerry] Do not perform backing store blit for animations during one-shot drawing synchronization + https://bugs.webkit.org/show_bug.cgi?id=98944 + + Reviewed by Rob Buis. + + Internally reviewed by: Arvid Nilsson. + Internal PR 220014 + Prevent animations from causing a backing store blit during a + one-shot drawing synchronization. + + * Api/WebPageCompositor.cpp: + (BlackBerry::WebKit::WebPageCompositorPrivate::animationFrameChanged): + +2012-10-10 Mike Fenton <mifenton@rim.com> + + [BlackBerry] Fix crash for detached node when validating selection change. + https://bugs.webkit.org/show_bug.cgi?id=98926 + + Reviewed by Rob Buis. + + PR 220628. + + Guard against detached nodes when generating selection rect. + + * WebKitSupport/DOMSupport.cpp: + (BlackBerry::WebKit::DOMSupport::visibleTextQuads): + +2012-10-10 Mike Fenton <mifenton@rim.com> + + [BlackBerry] Adjust spell checking location to update after the cursor position is set. + https://bugs.webkit.org/show_bug.cgi?id=98904 + + Reviewed by Rob Buis. + + PR 215172. + + Delay calculation of caret position until it is updated on mouse release + handling. + + Reviewed Internally by Nima Ghanavatian. + + * WebKitSupport/InputHandler.cpp: + (BlackBerry::WebKit::InputHandler::shouldRequestSpellCheckingOptionsForPoint): + (BlackBerry::WebKit::InputHandler::requestSpellingCheckingOptions): + +2012-10-10 Mike Fenton <mifenton@rim.com> + + [BlackBerry] Suppress keyboard requests while processing spell checking suggestions unless focus change is occurring.. + https://bugs.webkit.org/show_bug.cgi?id=98903 + + Reviewed by Rob Buis. + + PR 221143. + + Suppress keyboard state changes when they are not triggered by + focus changes. + + Reviewed Internally by Nima Ghanavatian. + + * WebKitSupport/InputHandler.cpp: + (BlackBerry::WebKit::InputHandler::setElementUnfocused): + (BlackBerry::WebKit::InputHandler::setElementFocused): + (BlackBerry::WebKit::InputHandler::notifyClientOfKeyboardVisibilityChange): + * WebKitSupport/InputHandler.h: + +2012-10-09 Rob Buis <rbuis@rim.com> + + [BlackBerry] Cleanup FatFingers.cpp + https://bugs.webkit.org/show_bug.cgi?id=98806 + + Reviewed by Antonio Gomes. + + Cleanup namespace usage and sync up FatFingers.cpp. + + * WebKitSupport/FatFingers.cpp: + (BlackBerry::WebKit::compareDistanceBetweenPoints): + (BlackBerry::WebKit::FatFingers::findBestPoint): + (BlackBerry::WebKit::FatFingers::checkFingerIntersection): + (BlackBerry::WebKit::FatFingers::findIntersectingRegions): + (BlackBerry::WebKit::FatFingers::checkForClickableElement): + (BlackBerry::WebKit::FatFingers::checkForText): + (BlackBerry::WebKit::FatFingers::getNodesFromRect): + (BlackBerry::WebKit::FatFingers::getRelevantInfoFromPoint): + +2012-10-09 Antonio Gomes <agomes@rim.com> + + Get rid of FIXED_POSITION_CREATES_STACKING_CONTEXT in favor of Settings::fixedPositionCreatesStackingContext() + https://bugs.webkit.org/show_bug.cgi?id=98756 + + Reviewed by Rob Buis. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::init): + +2012-10-09 Charles Wei <charles.wei@torchmobile.com.cn> + + [BlackBerry] Need API to control the DNS Prefetching + https://bugs.webkit.org/show_bug.cgi?id=98713 + + Reviewed by George Staikos. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::init): + (BlackBerry::WebKit::WebPage::enableDNSPrefetch): + (WebKit): + (BlackBerry::WebKit::WebPage::disableDNSPrefetch): + (BlackBerry::WebKit::WebPage::isDNSPrefetchEnabled): + * Api/WebPage.h: + +2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> + + Rename first/second to key/value in HashMap iterators + https://bugs.webkit.org/show_bug.cgi?id=82784 + + Reviewed by Eric Seidel. + + * Api/BackingStore.cpp: + (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect): + (BlackBerry::WebKit::BackingStorePrivate::visibleTilesRect): + (BlackBerry::WebKit::BackingStorePrivate::resetTiles): + (BlackBerry::WebKit::BackingStorePrivate::updateTiles): + (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion): + (BlackBerry::WebKit::BackingStorePrivate::mapFromTransformedContentsToTiles): + * WebCoreSupport/NotificationPresenterImpl.cpp: + (WebCore::NotificationPresenterImpl::cancel): + (WebCore::NotificationPresenterImpl::onPermission): + (WebCore::NotificationPresenterImpl::notificationClicked): + * WebCoreSupport/UserMediaClientImpl.cpp: + (WebCore::UserMediaClientImpl::cancelUserMediaRequest): + * WebKitSupport/AboutData.cpp: + (BlackBerry::WebKit::dumpJSCTypeCountSetToTableHTML): + * WebKitSupport/FrameLayers.cpp: + (BlackBerry::WebKit::FrameLayers::removeLayerByFrame): + (BlackBerry::WebKit::FrameLayers::commitOnWebKitThread): + (BlackBerry::WebKit::FrameLayers::calculateRootLayer): + +2012-10-05 Rob Buis <rbuis@rim.com> + + [BlackBerry] Implement TestRunner.setMockDeviceOrientation + https://bugs.webkit.org/show_bug.cgi?id=98542 + + Reviewed by Antonio Gomes. + + PR 120681 + + Provide framework for mock device motion. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::init): + * WebKitSupport/DumpRenderTreeSupport.cpp: + (toDeviceOrientationClientMock): + (DumpRenderTreeSupport::setMockDeviceOrientation): + * WebKitSupport/DumpRenderTreeSupport.h: + (DumpRenderTreeSupport): + +2012-10-05 Konrad Piascik <kpiascik@rim.com> + + [BlackBerry] Remove unnecessary html file. + https://bugs.webkit.org/show_bug.cgi?id=98531 + + Reviewed by Yong Li. + + We now just use Source/WebCore/inspector/front-end/inspector.html + instead. + + * WebCoreSupport/inspectorBB.html: Removed. + +2012-10-05 Antonio Gomes <agomes@rim.com> + + [BlackBerry] Find a proper fix for the WebPagePrivate::enqueueRenderingOfClippedContentOfScrollableNodeAfterInRegionScrolling hack + https://bugs.webkit.org/show_bug.cgi?id=98517 + PR #137382 + + Reviewed by Yong Li. + + We've generalized composited in-region scrolling, originally only applicable + to block elements, to inner frames (see PR #197093). Past that, we no longer + need to force repaints of offscreen areas when we finish scrolling, since translating + the Layer takes care of properly invalidating it. Thus, remove this method. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::notifyInRegionScrollStopped): + * Api/WebPage_p.h: + (WebPagePrivate): + +2012-10-05 Mike Fenton <mifenton@rim.com> + + [BlackBerry] Update default input support style for single line inputs. + https://bugs.webkit.org/show_bug.cgi?id=98510 + + Reviewed by Antonio Gomes. + + PR 219588. + + Update style calculations to eliminate automatic changes + by default on single line input fields. + + Reviewed Internally by Gen Mak. + + * WebKitSupport/InputHandler.cpp: + (BlackBerry::WebKit::inputStyle): + +2012-10-04 Simon Fraser <simon.fraser@apple.com> + + Final part of "sync" to "flush" renaming + https://bugs.webkit.org/show_bug.cgi?id=98430 + + Reviewed by Tim Horton. + + Change method names on GraphicsLayer and GraphicsLayerClient that + refer to "sync" to use the term "flush" instead, to be consistent + with the rest of the code. + + * Api/WebOverlay.cpp: + (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::notifyFlushRequired): + * Api/WebOverlay_p.h: + (WebOverlayPrivateWebKitThread): + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::notifyFlushRequired): + * Api/WebPage_p.h: + (WebPagePrivate): + * WebKitSupport/DefaultTapHighlight.cpp: + (BlackBerry::WebKit::DefaultTapHighlight::notifyFlushRequired): + * WebKitSupport/DefaultTapHighlight.h: + (DefaultTapHighlight): + * WebKitSupport/InspectorOverlayBlackBerry.cpp: + (BlackBerry::WebKit::InspectorOverlay::notifyFlushRequired): + * WebKitSupport/InspectorOverlayBlackBerry.h: + (InspectorOverlay): + * WebKitSupport/SelectionOverlay.cpp: + (BlackBerry::WebKit::SelectionOverlay::notifyFlushRequired): + * WebKitSupport/SelectionOverlay.h: + (SelectionOverlay): + +2012-10-04 Simon Fraser <simon.fraser@apple.com> + + Standardize on "flush" terminology for compositing layer flushing/syncing + https://bugs.webkit.org/show_bug.cgi?id=98321 + + Reviewed by Simon Fraser. + + Rename compositing-related methods that refer to "syncing" to instead + refer to "flushing". + + * WebCoreSupport/ChromeClientBlackBerry.cpp: + (WebCore::ChromeClientBlackBerry::scheduleCompositingLayerFlush): + * WebCoreSupport/ChromeClientBlackBerry.h: + (ChromeClientBlackBerry): + +2012-10-03 Antonio Gomes <agomes@rim.com> + + [BlackBerry] Exiting fullscreen does not set the correct scroll position (Part II) + https://bugs.webkit.org/show_bug.cgi?id=97917 + PR #212920 + + Reviewed by Yong Li. + Internally reviewed by Jacky Jiang. + + Inform the client of transform change so that we avoid + getting stuck on overscroll. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::setViewportSize): + +2012-10-03 Otto Derek Cheung <otcheung@rim.com> + + [BlackBerry] Implementing the NetworkInfo API for BB port + https://bugs.webkit.org/show_bug.cgi?id=98273 + + Reviewed by Rob Buis. + + Adding new class NetworkInfoClientBlackBerry to implement + NetworkInfoClient for the BlackBerry port. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::init): + * WebCoreSupport/NetworkInfoClientBlackBerry.cpp: Added. + (WebCore): + (WebCore::NetworkInfoClientBlackBerry::NetworkInfoClientBlackBerry): + (WebCore::NetworkInfoClientBlackBerry::startUpdating): + (WebCore::NetworkInfoClientBlackBerry::stopUpdating): + (WebCore::NetworkInfoClientBlackBerry::bandwidth): + (WebCore::NetworkInfoClientBlackBerry::metered): + (WebCore::NetworkInfoClientBlackBerry::onCurrentNetworkChange): + (WebCore::NetworkInfoClientBlackBerry::onCurrentCellularTypeChange): + * WebCoreSupport/NetworkInfoClientBlackBerry.h: Added. + (WebKit): + (WebCore): + (NetworkInfoClientBlackBerry): + (WebCore::NetworkInfoClientBlackBerry::~NetworkInfoClientBlackBerry): + +2012-10-02 Anders Carlsson <andersca@apple.com> + + Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory + https://bugs.webkit.org/show_bug.cgi?id=98217 + + Reviewed by Andreas Kling. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::overlayLayer): + +2012-10-02 Yong Li <yoli@rim.com> + + [BlackBerry] Prevent window.close() from closing pages that are not opened by JS + https://bugs.webkit.org/show_bug.cgi?id=98190 + + Reviewed by Antonio Gomes. + + RIM PR# 217812. + Only pages opened by JS can be closed by JS. + + * WebCoreSupport/ChromeClientBlackBerry.cpp: + (WebCore::ChromeClientBlackBerry::closeWindowSoon): + +2012-10-01 Brady Eidson <beidson@apple.com> + + Remove the Safari 2 -> Safari 3 icon database import code. + https://bugs.webkit.org/show_bug.cgi?id=98113 + + Reviewed by Maciej Stachowiak. + + Nuke the performImport() IconDatabaseClient method. + + * WebCoreSupport/IconDatabaseClientBlackBerry.cpp: + * WebCoreSupport/IconDatabaseClientBlackBerry.h: + (IconDatabaseClientBlackBerry): + +2012-10-01 Jakob Petsovits <jpetsovits@rim.com> + + [BlackBerry] Remove unused hasPendingScrollOrZoomEvent() interface. + https://bugs.webkit.org/show_bug.cgi?id=98107 + RIM PR 173292 + + Reviewed by George Staikos. + + This method is not referenced anywhere anymore, + so we should stop requiring it from WebPageClient + implementations. + + * Api/WebPageClient.h: + +2012-10-01 Mike Fenton <mifenton@rim.com> + + [BlackBerry] Remove suppressing of VKB hiding when processing changes. + https://bugs.webkit.org/show_bug.cgi?id=98023 + + Reviewed by Rob Buis. + + PR 215881. + + Allow JS to blur the input field while processing key handling. + + Reviewed Internally by Chris Hutten-Czapski + + * WebKitSupport/InputHandler.cpp: + (BlackBerry::WebKit::InputHandler::notifyClientOfKeyboardVisibilityChange): + +2012-09-28 Konrad Piascik <kpiascik@rim.com> + + [BlackBerry] Update the value of window.devicePixelRation when it is set programmatically + https://bugs.webkit.org/show_bug.cgi?id=97512 + + Reviewed by Rob Buis. + + RIM PR 213984 + Set the deviceScaleFactor of the page explicity when the + devicePixelRatio is changed. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::recomputeVirtualViewportFromViewportArguments): + (BlackBerry::WebKit::WebPagePrivate::didChangeSettings): + +2012-09-28 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> + + Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports + https://bugs.webkit.org/show_bug.cgi?id=97547 + + Reviewed by Adam Barth. + + Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used + inside WebCore::FrameLoaderClientBlackBerry::canShowMIMEType(). + + * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: + (WebCore::FrameLoaderClientBlackBerry::canShowMIMEType): + +2012-09-28 Rob Buis <rbuis@rim.com> + + [BlackBerry] Hard to tap on x to clear a text field + https://bugs.webkit.org/show_bug.cgi?id=97923 + + Reviewed by Antonio Gomes. + + Allow the shadow element for 'X' to be clickable and do not prefer + shadow content-editable div's over the 'X'. + + * WebKitSupport/FatFingers.cpp: + (BlackBerry::WebKit::FatFingers::isElementClickable): + +2012-09-28 Antonio Gomes <agomes@rim.com> + + [BlackBerry] Extend composited in-region scrolling to iframes/frames + https://bugs.webkit.org/show_bug.cgi?id=97922 + PR #197093 + + Reviewed by Yong Li. + Internaly reviewed by Arvid Nilsson. + + Add support for composited scrolling in a inner frame level: + + 1) When creating an InRegionScrollableArea, for a inner scrollable frame, + cache and camouflag the appropriated scroll layer (i.e. RenderLayerCompositor::scrollLayer); + + 2) Differentiate what type of scroll target we are at: BlockElement or + InnerFrame; + + 3) Change the signature of the public methods to support and newly passed + in ScrollTarget parameter; + As a side note, this parameter is needed in order to know what class to static_cast + the GraphicsLayer::client to: in the case of a composited scrollable inner frame, the client + is a RenderLayerCompositor; in case of a composited scrollable block element, the client + is a RenderLayerBacking. + + * Api/InRegionScroller.cpp: + (BlackBerry::WebKit::InRegionScroller::setScrollPositionWebKitThread): + (BlackBerry::WebKit::InRegionScrollerPrivate::setScrollPositionWebKitThread): + * Api/InRegionScroller.h: + * Api/InRegionScroller_p.h: + (InRegionScrollerPrivate): + * WebCoreSupport/ChromeClientBlackBerry.h: + (WebCore::ChromeClientBlackBerry::allowedCompositingTriggers): + * WebKitSupport/InRegionScrollableArea.cpp: + (BlackBerry::WebKit::InRegionScrollableArea::InRegionScrollableArea): + +2012-09-28 Antonio Gomes <agomes@rim.com> + + [BlackBerry] Exiting fullscreen does not set the correct scroll position + https://bugs.webkit.org/show_bug.cgi?id=97917 + PR #212920 + + Reviewed by Yong Li. + Internally reviewed by Jacky Jiang. + + Restore the zoom level and scroll position at the time when know + the fullscreen exit routine has ended (i.e. in ::setViewportSize + instead of ::exitFullScreenForElement). + + Also patch caches now the scroll position instead of only the + "x scroll position. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate): + (BlackBerry::WebKit::WebPagePrivate::setViewportSize): + (BlackBerry::WebKit::WebPagePrivate::enterFullScreenForElement): + (BlackBerry::WebKit::WebPagePrivate::exitFullScreenForElement): + * Api/WebPage_p.h: + (WebPagePrivate): + +2012-09-28 Kent Tamura <tkent@chromium.org> + + Clean up Localizer-related functions + https://bugs.webkit.org/show_bug.cgi?id=97899 + + Reviewed by Kentaro Hara. + + * WebCoreSupport/ColorPickerClient.cpp: + (WebCore::ColorPickerClient::localizer): Follow Document::getLocalizer renaming. + * WebCoreSupport/DatePickerClient.cpp: + (WebCore::SelectPopupClient::localizer): ditto. + * WebCoreSupport/SelectPopupClient.cpp: + (WebCore::SelectPopupClient::localizer): ditto. + +2012-09-28 Genevieve Mak <gmak@rim.com> + + [BLACKBERRY] Add isVisible method to WebTapHighlight + https://bugs.webkit.org/show_bug.cgi?id=97915 + + Reviewed by Rob Buis. + + Reviewed Internally By Andrew Lo + The isVisible() method lets us avoid dispatching to the webkit thread + if the tap highlight isn't visible. + Always clear tap highlight on Touch up when converting Touch Events + to Mouse Events. + + * Api/WebTapHighlight.h: + * WebKitSupport/DefaultTapHighlight.h: + (BlackBerry::WebKit::DefaultTapHighlight::isVisible): + * WebKitSupport/TouchEventHandler.cpp: + (BlackBerry::WebKit::TouchEventHandler::handleTouchPoint): + +2012-09-28 Andrew Lo <anlo@rim.com> + + [BlackBerry] Should suspend page's scripted animations when WebPage is invisible + https://bugs.webkit.org/show_bug.cgi?id=97856 + + Reviewed by Antonio Gomes. + + Suspend page animations when setting WebPage invisible, resume when visible. + Internal PR212788. + + * Api/WebPage.cpp: + (BlackBerry::WebKit::WebPagePrivate::setVisible): + +2012-09-28 Arvid Nilsson <anilsson@rim.com> + + [BlackBerry] Destroy thread-specific data for Platform::Graphics::Buffer on the right thread + https://bugs.webkit.org/show_bug.cgi?id=97674 + + Reviewed by Rob Buis. + + A new API was added to BlackBerry::Platform::Graphics for destroying + thread-specific data generated on the compositing thread when we blit + buffers. The buffers are otherwise created and destroyed on the WebKit + thread, which doesn't give platform any opportunity to destroy the + thread-specific data. + + This patch adds calls to the new API to avoid leaking resources. + + Reviewed internally by Jakob Petsovits and Filip Spacek. + + PR 214644 + + * WebKitSupport/SurfacePool.cpp: + (BlackBerry::WebKit::SurfacePool::initialize): + (BlackBerry::WebKit::SurfacePool::createPlatformGraphicsContext): + (BlackBerry::WebKit::SurfacePool::lockTileRenderingSurface): + (BlackBerry::WebKit::SurfacePool::releaseTileRenderingSurface): + (BlackBerry::WebKit::SurfacePool::initializeVisibleTileBuffer): + (BlackBerry::WebKit::SurfacePool::createBuffers): + (BlackBerry::WebKit::SurfacePool::releaseBuffers): + +2012-09-27 Kent Tamura <tkent@chromium.org> + + Use Localizer in PagePopupController + https://bugs.webkit.org/show_bug.cgi?id=97862 + + Reviewed by Hajime Morita. + + We need to implement PagePopupClient::localizer. These clients know the + host elements. Localizer implementations get Localizer objects from the + owner documents of the elements for the browser locale. + + * WebCoreSupport/ColorPickerClient.cpp: + (WebCore::ColorPickerClient::localizer): Added. + * WebCoreSupport/ColorPickerClient.h: + (ColorPickerClient): Declare "localizer." + * WebCoreSupport/DatePickerClient.cpp: + (WebCore::SelectPopupClient::localizer): Added. + * WebCoreSupport/DatePickerClient.h: + (DatePickerClient): Declare "localizer." + * WebCoreSupport/SelectPopupClient.cpp: + (WebCore::SelectPopupClient::localizer): Added. + * WebCoreSupport/SelectPopupClient.h: + (SelectPopupClient): Declare "localizer." + +2012-09-27 Charles Wei <charles.wei@torchmobile.com.cn> + + Empty URL gets through to acceptNavigationRequest() + https://bugs.webkit.org/show_bug.cgi?id=97076 + + Reviewed by George Staikos. + + Invalid URLs in iframe src results in an empty URL in platform request, we should reject + such URL as early as we identify it. + + * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: + (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForNavigationAction): + +2012-09-26 Jakob Petsovits <jpetsovits@rim.com> + + [BlackBerry] Remove blitContents() in favor of blitVisibleContents(). + https://bugs.webkit.org/show_bug.cgi?id=97718 + + Reviewed by Antonio Gomes. + + After the last calling sites of blitContents() have + been removed or reworked, the actual method itself + can now retire. All blits now go through + blitVisibleContents(). The knowledge that we always + blit the full visible surface can facilitate further + optimizations; we will get to that in time. + + * Api/BackingStore.cpp: + (BlackBerry::WebKit::BackingStorePrivate::suspendScreenAndBackingStoreUpdates): + (BlackBerry::WebKit::BackingStorePrivate::resumeScreenAndBackingStoreUpdates): + (BlackBerry::WebKit::BackingStorePrivate::blitVisibleContents): + * Api/BackingStore.h: + * Api/BackingStore_p.h: + (BackingStorePrivate): + * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: + (WebCore::FrameLoaderClientBlackBerry::transitionToCommittedForNewPage): + +2012-09-26 Mike Fenton <mifenton@rim.com> + + [BlackBerry] Update padding in ensureFocusTextElementVisible to be DPI independent. + https://bugs.webkit.org/show_bug.cgi?id=97684 + + Reviewed by Rob Buis. + + Update padding in ensureFocusTextElementVisible to be DPI + independent and relative to the current zoom level. + + Reviewed Internally by Gen Mak. + + * WebKitSupport/InputHandler.cpp: + (BlackBerry::WebKit::InputHandler::ensureFocusTextElementVisible): + 2012-09-25 Genevieve Mak <gmak@rim.com> Fat Fingers doesn't work on non-scrollable pages. |