Adopt is/toHTMLImageElement for code cleanup
[WebKit-https.git] / Source / WebKit / blackberry / ChangeLog
index 798d2b0..0535d11 100644 (file)
@@ -1,3 +1,957 @@
+2013-06-28  Kangil Han  <kangil.han@samsung.com>
+
+        Adopt is/toHTMLImageElement for code cleanup
+        https://bugs.webkit.org/show_bug.cgi?id=118182
+
+        Reviewed by Andreas Kling.
+
+        To enhance readability, this patch adopts is/toHTMLImageElement.
+        This also helps out to reduce duplicated use of static_cast.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::webContext):
+        (BlackBerry::WebKit::WebPagePrivate::blockZoomRectForNode):
+        (BlackBerry::WebKit::WebPage::blockZoom):
+        * WebKitSupport/FatFingers.cpp:
+        (BlackBerry::WebKit::FatFingers::isElementClickable):
+
+2013-06-27  Kangil Han  <kangil.han@samsung.com>
+
+        Adopt is/toHTMLInputElement for code cleanup
+        https://bugs.webkit.org/show_bug.cgi?id=118130
+
+        Reviewed by Antti Koivisto.
+
+        To enhance readability, this patch adopts is/toHTMLInputElement.
+        This also helps out to reduce duplicated use of static_cast.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::webContext):
+        (BlackBerry::WebKit::WebPagePrivate::blockZoomRectForNode):
+        * WebCoreSupport/CredentialTransformData.cpp:
+        (WebCore::CredentialTransformData::findPasswordFormFields):
+        * WebCoreSupport/EditorClientBlackBerry.cpp:
+        (WebCore::EditorClientBlackBerry::shouldSpellCheckFocusedField):
+        * WebKitSupport/DOMSupport.cpp:
+        (BlackBerry::WebKit::DOMSupport::isPasswordElement):
+        (BlackBerry::WebKit::DOMSupport::inputElementText):
+        (BlackBerry::WebKit::DOMSupport::isDateTimeInputField):
+        (BlackBerry::WebKit::DOMSupport::isColorInputField):
+        (BlackBerry::WebKit::DOMSupport::elementIdOrNameIndicatesNoAutocomplete):
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::InputHandler::elementType):
+        (BlackBerry::WebKit::InputHandler::setInputValue):
+        (BlackBerry::WebKit::InputHandler::extractedTextRequest):
+        (BlackBerry::WebKit::InputHandler::showTextInputTypeSuggestionBox):
+
+2013-06-27  Nima Ghanavatian  <nghanavatian@blackberry.com>
+
+        [BlackBerry] We should clear all markers when input changes a word
+        https://bugs.webkit.org/show_bug.cgi?id=118136
+        JIRA115313.
+
+        For the case where a letter is added to the middle of a misspelled word, we were
+        sending incorrect offsets to clear spelling markers. However, since this
+        expanded the current word, it overlaps entirely the previous spelling marker so
+        no issue is found. However, if the keypress is backspace, the incorrect range
+        is smaller, causing an overlap which recreates the marker over the last character.
+        Setting shouldEraseMarkersAfterChangeSelection to follow continuous spell checking,
+        which will clear all markers regardless of overlap.
+        This patch also sustains spelling markers after the user taps to move the caret onto
+        the word, which is a nice gain as it was asked for previously.
+
+        Reviewed by Rob Buis.
+
+        Internally Reviewed by Mike Fenton
+
+        * WebCoreSupport/EditorClientBlackBerry.cpp:
+        (WebCore::EditorClientBlackBerry::shouldEraseMarkersAfterChangeSelection):
+
+2013-06-26  Carlos Garcia Campos  <cargarcia@blackberry.com>
+
+        [BlackBerry] Handle testRunner.setCustomPolicyDelegate()
+        https://bugs.webkit.org/show_bug.cgi?id=117982
+
+        Reviewed by Rob Buis.
+
+        Take custom policy into account when deciding the policy for
+        navigation actions.
+
+        Fixes test fast/loader/onload-policy-ignore-for-frame.html.
+
+        * Api/DumpRenderTreeClient.h:
+        * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
+        (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForNavigationAction):
+        If custom policy is enabled ignore the navigation action when it's
+        not permissive.
+
+2013-06-26  Kangil Han  <kangil.han@samsung.com>
+
+        Adopt is/toHTMLAreaElement for code cleanup
+        https://bugs.webkit.org/show_bug.cgi?id=117980
+
+        Reviewed by Antonio Gomes.
+
+        To enhance readibility, this patch adopts is/toHTMLAreaElement.
+        This also helps out to reduce duplicated use of static_cast.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::webContext):
+        * WebKitSupport/TouchEventHandler.cpp:
+        (BlackBerry::WebKit::elementForTapHighlight):
+
+2013-06-26  Jacky Jiang  <zhajiang@blackberry.com>
+
+        [BlackBerry] ASSERT(!m_tileMatrixNeedsUpdate) in BackingStorePrivate::render()
+        https://bugs.webkit.org/show_bug.cgi?id=118062
+
+        Reviewed by Rob Buis.
+        Internally reviewed by Jakob Petsovits.
+
+        JIRA426949
+        requestLayoutIfNeeded() can cause zoomAboutPoint() when the layout
+        is finished and make the tile matrix stale. We need requestLayoutIfNeeded()
+        before we updateTileMatrixIfNeeded() so that we can fix the ASSERT and
+        also pass the valid TileIndexList to render().
+
+        * Api/BackingStore.cpp:
+        (BlackBerry::WebKit::BackingStorePrivate::resumeScreenUpdates):
+        (BlackBerry::WebKit::BackingStorePrivate::render):
+
+2013-06-25  Kangil Han  <kangil.han@samsung.com>
+
+        Adopt is/toHTMLAnchorElement for code cleanup
+        https://bugs.webkit.org/show_bug.cgi?id=117973
+
+        Reviewed by Andreas Kling.
+
+        To enhance readibility, this patch adopts is/toHTMLAnchorElement.
+        This also helps out to reduce duplicated use of static_cast.
+
+        * WebKitSupport/FatFingers.cpp:
+        (BlackBerry::WebKit::FatFingers::isElementClickable):
+
+2013-06-24  Kangil Han  <kangil.han@samsung.com>
+
+        Adopt is/toHTMLFormElement for code cleanup
+        https://bugs.webkit.org/show_bug.cgi?id=117937
+
+        Reviewed by Andreas Kling.
+
+        This refers to http://src.chromium.org/viewvc/blink?view=revision&revision=152859
+
+        To enhance readibility, this patch adopts is/toHTMLFormElement.
+        This also helps out to reduce duplicated use of static_cast.
+
+        * WebCoreSupport/CredentialManager.cpp:
+        (WebCore::CredentialManager::autofillPasswordForms):
+
+2013-06-24  Jakob Petsovits  <jpetsovits@blackberry.com>
+
+        [BlackBerry] Only resume root layer commits for visible WebPages
+        https://bugs.webkit.org/show_bug.cgi?id=117956
+        https://jira.bbqnx.net/browse/BRWSR-12047
+        JIRA428381
+
+        Reviewed by George Staikos.
+
+        In r150629, the code from that change introduced to
+        suspend and resume root layer commits would not take into
+        account whether the page is actually visible.
+
+        Because application activation state is usually conveyed
+        to all or any WebPages, this would mean on transitioning
+        into an active application state, we were resuming
+        root layer commits that might have previously been
+        disabled for visibility reasons.
+
+        Fix this by going through a single function that knows
+        by itself whether to suspend or resume root layer commits,
+        so the calling code doesn't have a chance to get it wrong.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPage::setVisible):
+        (BlackBerry::WebKit::WebPagePrivate::notifyAppActivationStateChange):
+        (BlackBerry::WebKit::WebPagePrivate::updateRootLayerCommitEnabled):
+        * Api/WebPage_p.h:
+        (WebPagePrivate):
+
+2013-06-20  Nima Ghanavatian  <nghanavatian@blackberry.com>
+
+        [BlackBerry] Send the correct offsets for misspelled words.
+        https://bugs.webkit.org/show_bug.cgi?id=117846
+
+        JIRA116916.
+        When the caret is placed after a word, the offsets were calculated around
+        the proceeding space. As such, words that end a sentence worked correctly, but
+        midsentence words did not. The 'startOfWord' was calculated for the space ahead
+        and not for the word before it. Now finding the start of the word correctly and
+        calculating the end from there.
+
+        Reviewed by Rob Buis.
+
+        Internally reviewed by Genevieve Mak.
+
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::InputHandler::requestSpellingCheckingOptions):
+
+2013-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [BlackBerry] Handle testRunner.setWillSendRequestReturnsNull() in DRT
+        https://bugs.webkit.org/show_bug.cgi?id=117827
+
+        Reviewed by Rob Buis.
+
+        Add DumpRenderTreeClient::willSendRequestForFrame() to handle
+        dispatchWillSendRequest() in DRT.
+
+        Fixes tests
+        fast/loader/onload-willSendRequest-null-for-script.html and
+        fast/loader/willSendRequest-null-for-preload.html.
+
+        * Api/DumpRenderTreeClient.h:
+        * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
+        (WebCore::FrameLoaderClientBlackBerry::dispatchWillSendRequest):
+
+2013-06-19  Jakob Petsovits  <jpetsovits@blackberry.com>
+
+        [BlackBerry] Prevent loss of tile buffers in BackingStorePrivate::render()
+        https://bugs.webkit.org/show_bug.cgi?id=117799
+        https://jira.bbqnx.net/browse/BRWSR-11712
+        JIRA413289
+
+        Reviewed by Carlos Garcia Campos.
+
+        Discovered by Xuefei Ren.
+
+        If, in rare cases, renderContents() returns false,
+        the for() loop in render() will take a tile buffer from
+        the surface pool but due to aborting the iteration early,
+        won't put it into the new tile map. In order to prevent
+        losing the buffer, we need to put it back into the
+        surface pool before continuing.
+
+        * Api/BackingStore.cpp:
+        (BlackBerry::WebKit::BackingStorePrivate::render):
+
+2013-06-17  Tiancheng Jiang  <tijiang@rim.com>
+
+        Cache FatFinger Text Result.
+        https://bugs.webkit.org/show_bug.cgi?id=107403.
+
+        Reviewed by Rob Buis.
+
+        Internally Reviewed by Genevieve Mak.
+        Cache the FatFinger text result for later use in TouchEventHandler.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::contextNode):
+        * WebKitSupport/SelectionHandler.cpp:
+        (BlackBerry::WebKit::SelectionHandler::selectAtPoint):
+        * WebKitSupport/TouchEventHandler.h:
+        (BlackBerry::WebKit::TouchEventHandler::cacheTextResult):
+        (TouchEventHandler):
+
+2013-06-14  Alberto Garcia  <agarcia@igalia.com>
+
+        [BlackBerry] Remove implementation of ContextMenu classes
+        https://bugs.webkit.org/show_bug.cgi?id=114860
+
+        Reviewed by Rob Buis.
+
+        This code is not being used so we can safely remove it.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::init):
+        * WebCoreSupport/ContextMenuClientBlackBerry.cpp: Removed.
+        * WebCoreSupport/ContextMenuClientBlackBerry.h: Removed.
+
+2013-06-14  Arvid Nilsson  <anilsson@rim.com>
+
+        [BlackBerry] LayerTiler fails to tile really big layers
+        https://bugs.webkit.org/show_bug.cgi?id=117211
+
+        Reviewed by Carlos Garcia Campos.
+
+        PR 273550
+
+        Adapt to changes in LayerCompositingThreadClient interface.
+
+        * Api/WebOverlay.cpp:
+        (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::drawTextures):
+        * Api/WebOverlay_p.h:
+        (WebOverlayLayerCompositingThreadClient):
+
+2013-06-12  Leo Yang  <leoyang@rim.com>
+
+        [BlackBerry] Use RefPtr for HTMLInputElement inside CredentialTransformData
+        https://bugs.webkit.org/show_bug.cgi?id=117553
+
+        Reviewed by Carlos Garcia Campos.
+
+        In CredentialTransformData we should use RefPtr for
+        m_userNameElement, m_passwordElement and m_oldPasswordElement
+        because otherwise the elements could go away when the form
+        elements get destroyed.
+
+        Also add *const* for the parameter of CredentialTransformData::findPasswordFormFields().
+
+        No functionalities changed no new tests.
+
+        * WebCoreSupport/CredentialTransformData.cpp:
+        (WebCore::CredentialTransformData::findPasswordFormFields):
+        (WebCore::CredentialTransformData::locateSpecificPasswords):
+        * WebCoreSupport/CredentialTransformData.h:
+
+2013-06-12  Alberto Garcia  <agarcia@igalia.com>
+
+        [BlackBerry] Remove dead WebDOM code
+        https://bugs.webkit.org/show_bug.cgi?id=113370
+
+        Reviewed by Anders Carlsson.
+
+        BlackBerry PR 347565
+        Internally reviewed by Charles Wei.
+
+        * Api/WebPage.cpp:
+        * Api/WebPage.h:
+        * WebCoreSupport/AboutDataEnableFeatures.in:
+        * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
+
+2013-06-12  Jakob Petsovits  <jpetsovits@blackberry.com>
+
+        [BlackBerry] Smarter algorithm to determine the backingstore rect
+        https://bugs.webkit.org/show_bug.cgi?id=117451
+
+        JIRA115644
+        https://jira.bbqnx.net/browse/BRWSR-7028
+
+        Reviewed by Rob Buis.
+
+        So far, the backingstore tile geometry allocation was
+        pretty straightforward: We would start off from the
+        current viewport and append all available tiles into
+        the current scrolling direction from there.
+
+        This will usually work well enough, but has the downside
+        of discarding all the tiles in the opposite direction.
+        Also, tiles very close to the viewport will often get
+        discarded even if the user only scrolls very slowly.
+
+        This patch completely revamps the algorithm for
+        determining where the backingstore should be positioned.
+
+        The general idea is that we construct a "desired rect"
+        based on the viewport and inflate it into all four
+        directions according to the current scroll momentum.
+        This rectangle will be similarly large as a backingstore
+        tile geometry rectangle might be, by using the
+        approximate number of pixels that are available in the
+        given number of tiles.
+
+        The proportions for extending the rectangle from the
+        viewport are influenced by different factors, including
+        scroll momentum, viewport ratio, available space in the
+        overall contents rectangle, and natural bias for the
+        "down" direction.
+
+        In practice, this results in a backingstore that is
+        roughly evenly distributed around the viewport when no
+        movement is happening, and will gradually narrow down
+        and extend into the scroll direction at a higher momentum.
+
+        The final tile geometry is constructed by trying fit
+        the tiles into the desired rect in a way that maximizes
+        the area of its intersection. There are a few parameters
+        that can be tweaked, the ones in this patch seem to
+        handle most cases well enough to minimize checkerboarding.
+
+        As an additional bonus, a rectangle-based tiling strategy
+        can more easily be adopted for accelerated compositing,
+        which currently operates on a simpler algorithm that also
+        inflates the viewport but does not take scrolling into
+        account.
+
+        * Api/BackingStore.cpp:
+        (BlackBerry::WebKit::BackingStorePrivate::BackingStorePrivate):
+        (BlackBerry::WebKit::BackingStorePrivate::expandedContentsSize):
+        (WebKit):
+        (BlackBerry::WebKit::BackingStorePrivate::nonOverscrolled):
+        (BlackBerry::WebKit::BackingStorePrivate::enclosingTileRect):
+        (BlackBerry::WebKit::BackingStorePrivate::desiredBackingStoreRect):
+        (BlackBerry::WebKit::BackingStorePrivate::mergeDesiredBackingStoreRect):
+        (BlackBerry::WebKit::BackingStorePrivate::largestTileRectForDesiredRect):
+        (BlackBerry::WebKit::BackingStorePrivate::scrollBackingStore):
+        (BlackBerry::WebKit::BackingStorePrivate::createSurfaces):
+        * Api/BackingStore_p.h:
+        (BackingStorePrivate):
+
+2013-06-12  Zan Dobersek  <zdobersek@igalia.com>
+
+        Remove memoryInfoEnabled, quantizedMemoryInfoEnabled settings
+        https://bugs.webkit.org/show_bug.cgi?id=117512
+
+        Reviewed by Darin Adler.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::init): Remove the call to Settings::setMemoryInfoEnabled, the setting is being removed.
+
+2013-06-06  Genevieve Mak  <gmak@rim.com>
+
+        [BlackBerry] Crash in InRegionScrollerPrivate::clearDocumentData
+        https://bugs.webkit.org/show_bug.cgi?id=117317
+
+        Reviewed by Rob Buis.
+
+        PR #348994
+        Need to check the scrollableArea instead of asserting because in this case for the
+        selection subframe it is allowed to be null.
+
+        * Api/InRegionScroller.cpp:
+        (BlackBerry::WebKit::InRegionScrollerPrivate::clearDocumentData):
+
+2013-06-05  Bear Travis  <betravis@adobe.com>
+
+        [CSS Exclusions][CSS Shapes] Split CSS Exclusions & Shapes compile & runtime flags
+        https://bugs.webkit.org/show_bug.cgi?id=117172
+
+        Reviewed by Alexandru Chiculita.
+
+        Adding the CSS_SHAPES compile flag.
+
+        * WebCoreSupport/AboutDataEnableFeatures.in:
+
+2013-06-05  Genevieve Mak  <gmak@rim.com>
+
+        [BlackBerry] Deleting the pendingSelectionCandidate on the wrong thread causes an assert.
+        https://bugs.webkit.org/show_bug.cgi?id=117276
+
+        Reviewed by Rob Buis.
+
+        Reviewed Internally by Nima Ghanavatian.
+        PR #342399
+        Store and delete the selectionScrollView in webkit which is what we already do for
+        scrolling subframes.
+
+        * Api/InRegionScroller.cpp:
+        (BlackBerry::WebKit::InRegionScrollerPrivate::InRegionScrollerPrivate):
+        (BlackBerry::WebKit::InRegionScrollerPrivate::resetSelectionScrollView):
+        (WebKit):
+        (BlackBerry::WebKit::InRegionScrollerPrivate::clearDocumentData):
+        (BlackBerry::WebKit::InRegionScrollerPrivate::calculateInRegionScrollableAreasForPoint):
+        (BlackBerry::WebKit::InRegionScrollerPrivate::updateSelectionScrollView):
+        (BlackBerry::WebKit::InRegionScrollerPrivate::firstScrollableInRegionForNode):
+        * Api/InRegionScroller_p.h:
+        (InRegionScrollerPrivate):
+
+2013-06-05  Tiancheng Jiang  <tijiang@rim.com>
+
+        [BlackBerry] Make image clickable when it has anchor as parent node.
+        https://bugs.webkit.org/show_bug.cgi?id=117271
+
+        Reviewed by Rob Buis.
+
+        BlackBerry PR 345995
+        Internally Reviewed by Genevieve Mak.
+        * WebKitSupport/FatFingers.cpp:
+        (BlackBerry::WebKit::FatFingers::isElementClickable):
+
+2013-06-05  Mike Fenton  <mifenton@rim.com>
+
+        [BlackBerry] Selection handles are inverted on directional selections
+        https://bugs.webkit.org/show_bug.cgi?id=117269
+
+        Reviewed by Rob Buis.
+
+        PR 336178
+
+        Don't invert the handles leave them in the visual order.
+
+        Internally Reviewed by Nima Ghanavatian.
+
+        * WebKitSupport/SelectionHandler.cpp:
+        (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
+
+2013-06-03  Andrew Lo  <anlo@rim.com>
+
+        [BlackBerry] Expose show debug borders setting through BlackBerry::WebKit::WebPage
+        https://bugs.webkit.org/show_bug.cgi?id=117167
+
+        Reviewed by Rob Buis.
+        Internally reviewed by Arvid Nilsson.
+
+        Add WebKit::WebPage API for setting whether to show accelerated compositing
+        debug borders.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPage::setShowDebugBorders):
+        (WebKit):
+        * Api/WebPage.h:
+
+2013-06-03  Mike Fenton  <mifenton@rim.com>
+
+        [BlackBerry] Selection handles are not cleared when displaying error pages.
+        https://bugs.webkit.org/show_bug.cgi?id=117158
+
+        Reviewed by Carlos Garcia Campos.
+
+        PR 342159.
+
+        Add explicit cancel of selection state when loading an error page
+        as it is not always cleared.
+
+        Internally Reviewed by Nima Ghanavatian.
+
+        * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
+        (WebCore::FrameLoaderClientBlackBerry::dispatchDidFailProvisionalLoad):
+
+2013-06-03  Mike Fenton  <mifenton@rim.com>
+
+        [BlackBerry] ROI details are not always cleared when using back navigation.
+        https://bugs.webkit.org/show_bug.cgi?id=117159
+
+        Reviewed by Carlos Garcia Campos.
+
+        PR 328557.
+
+        Secondary change to ensure when restoreViewState is triggered
+        ROI is reset.
+
+        Internally Reviewed by Nima Ghanavatian.
+
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::InputHandler::restoreViewState):
+
+2013-05-29  Otto Derek Cheung  <otcheung@rim.com>
+
+        [BlackBerry] Add more cellular technologies into the NetworkInfo enum
+        https://bugs.webkit.org/show_bug.cgi?id=116982
+
+        PR 340189
+        Reviewed by Rob Buis.
+
+        Provide more specific bandwidth speeds on different network
+        services our devices provide.
+
+        * WebCoreSupport/NetworkInfoClientBlackBerry.cpp:
+        (WebCore):
+        (WebCore::NetworkInfoClientBlackBerry::bandwidth):
+
+2013-05-29  Yong Li  <yoli@rim.com>
+
+        [BlackBerry] about:memory should use malloc_stats instead of mallinfo
+        https://bugs.webkit.org/show_bug.cgi?id=96420
+
+        Reviewed by Rob Buis.
+
+        PR 206297
+        Use mallopt to get malloc_stats.
+
+        * WebKitSupport/AboutData.cpp:
+        (BlackBerry::WebKit::mallocStats):
+        (BlackBerry::WebKit::memoryPage):
+        (BlackBerry::WebKit::MemoryTracker::updateMemoryPeaks):
+
+2013-05-29  Nima Ghanavatian  <nghanavatian@blackberry.com>
+
+        [BlackBerry] Notify client of selection deletion
+        https://bugs.webkit.org/show_bug.cgi?id=116843
+
+        Reviewed by Rob Buis.
+
+        Internally reviewed by Mike Fenton.
+
+        PR342106
+        Our change guard was preventing caret change notification to be sent to IMF.
+        This put us out of state when a selection was deleted because it is not a simple
+        single character deletion. Ensure that selection deletions always send a caret
+        update.
+
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::InputHandler::deleteSelection):
+        (BlackBerry::WebKit::InputHandler::deleteTextRelativeToCursor):
+        (BlackBerry::WebKit::InputHandler::deleteText):
+
+2013-05-29  Rob Buis  <rbuis@rim.com>
+
+        [BlackBerry] Use StringBuilder instead of + operator to build strings in AboutData
+        https://bugs.webkit.org/show_bug.cgi?id=116954
+
+        Reviewed by Carlos Garcia Campos.
+
+        PR 206152
+        Internally reviewed by Konrad Piascik
+
+        * WebKitSupport/AboutData.cpp:
+        (BlackBerry::WebKit::configPage):
+        (BlackBerry::WebKit::dumpJSCTypeCountSetToTableHTML):
+        (BlackBerry::WebKit::mallocStats):
+        (BlackBerry::WebKit::memoryPage):
+        (BlackBerry::WebKit::memoryPeaksToHtmlTable):
+        (BlackBerry::WebKit::memoryLivePage):
+
+2013-05-29  Jakob Petsovits  <jpetsovits@blackberry.com>
+
+        [BlackBerry] Use lazily-backed backingstore tiles
+        https://bugs.webkit.org/show_bug.cgi?id=116879
+        Internal PR 344523
+
+        Reviewed by Carlos Garcia Campos.
+        Informally reviewed by Arvid Nilsson and Mike Lattanzio.
+
+        As a consequence, also don't use fixed-size
+        shared pixmap buffers for these tiles anymore.
+
+        * WebKitSupport/AboutData.cpp:
+        (BlackBerry::WebKit::configPage):
+        * WebKitSupport/BackingStoreTile.cpp:
+        (BlackBerry::WebKit::TileBuffer::nativeBuffer):
+        * WebKitSupport/SurfacePool.cpp:
+        (BlackBerry::WebKit::SurfacePool::initialize):
+        * WebKitSupport/SurfacePool.h:
+        (SurfacePool):
+
+2013-05-29  Kent Tamura  <tkent@chromium.org>
+
+        Remove ENABLE_INPUT_MULTIPLE_FIELDS_UI.
+        https://bugs.webkit.org/show_bug.cgi?id=116796
+
+        Reviewed by Ryosuke Niwa.
+
+        * WebCoreSupport/AboutDataEnableFeatures.in:
+
+2013-05-28  Arvid Nilsson  <anilsson@rim.com>
+
+        [BlackBerry] Fix style issues in BlackBerry accelerated compositing backend
+        https://bugs.webkit.org/show_bug.cgi?id=116604
+
+        Reviewed by Carlos Garcia Campos.
+
+        Adapt to the removal of "get" prefix from getters in the WebKit- and
+        compositing-thread layer classes.
+
+        * Api/WebOverlay.cpp:
+        (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::pixelViewportRect):
+        * Api/WebPageCompositor.cpp:
+        (BlackBerry::WebKit::WebPageCompositorPrivate::attachOverlays):
+        (BlackBerry::WebKit::WebPageCompositorPrivate::removeOverlay):
+        (BlackBerry::WebKit::WebPageCompositorPrivate::findFixedElementRect):
+
+2013-05-28  Andreas Kling  <akling@apple.com>
+
+        Document::setFocusedNode() should be setFocusedElement().
+        <http://webkit.org/b/116857>
+
+        Reviewed by Antti Koivisto.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::focusNodeRect):
+        (BlackBerry::WebKit::WebPagePrivate::contextNode):
+        (BlackBerry::WebKit::WebPagePrivate::clearFocusNode):
+        (BlackBerry::WebKit::WebPage::setNodeFocus):
+        * WebCoreSupport/EditorClientBlackBerry.cpp:
+        (WebCore::EditorClientBlackBerry::shouldSpellCheckFocusedField):
+        (WebCore::EditorClientBlackBerry::shouldChangeSelectedRange):
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::InputHandler::focusedNodeChanged):
+        * WebKitSupport/SelectionHandler.cpp:
+        (BlackBerry::WebKit::SelectionHandler::setCaretPosition):
+        (BlackBerry::WebKit::SelectionHandler::extendSelectionToFieldBoundary):
+        (BlackBerry::WebKit::SelectionHandler::updateOrHandleInputSelection):
+        (BlackBerry::WebKit::SelectionHandler::clipPointToVisibleContainer):
+        (BlackBerry::WebKit::SelectionHandler::inputNodeOverridesTouch):
+        (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
+
+2013-05-28  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        Unreviewed. Fix BlackBerry debug build after r150756.
+
+        * WebKitSupport/PagePopup.cpp:
+        (BlackBerry::WebKit::PagePopup::writeDocument): Fix typo in
+        assert.
+
+2013-05-27  Nima Ghanavatian  <nghanavatian@blackberry.com>
+
+        [BlackBerry] Clear supression flag when caret changes aren't propogated through
+        https://bugs.webkit.org/show_bug.cgi?id=116840
+
+        Reviewed by Rob Buis.
+
+        Internally reviewed by Mike Fenton.
+
+        PR339965
+        We set and clear the flag upon every use. This leaves us vulnerable if
+        1. midway through processing the selection change event is dismissed and
+        2. we don't receive a TouchRelease event
+        One example of this is while dragging the FCC handle we start typing. To
+        safeguard against this, if the process change guard is set during a
+        selection change event, we send out to clear the flag status before returning.
+
+        * Api/WebPageClient.h:
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::InputHandler::selectionChanged):
+
+2013-05-27  Andy Chen  <andchen@blackberry.com>
+
+        [BlackBerry] Find-on-page should be able to convert the active match to selection when clearing all matches
+        https://bugs.webkit.org/show_bug.cgi?id=116837
+
+        Reviewed by Rob Buis.
+
+        PR 291903
+        Internally reviewed by Mike Fenton.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPage::findNextString):
+        * Api/WebPage.h:
+        * WebKitSupport/InPageSearchManager.cpp:
+        (BlackBerry::WebKit::InPageSearchManager::findNextString):
+        (BlackBerry::WebKit::InPageSearchManager::clearTextMatches):
+        * WebKitSupport/InPageSearchManager.h:
+        (InPageSearchManager):
+
+2013-05-27  Eli Fidler  <efidler@rim.com>
+
+        [BlackBerry] Fix subframe target added to new requests
+        https://bugs.webkit.org/show_bug.cgi?id=116602
+
+        Reviewed by Rob Buis.
+
+        In some cases we might be adding TargetIsMainFrame to a subframe
+        request causing an isMainFrame assert.
+
+        * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
+        (WebCore::FrameLoaderClientBlackBerry::dispatchWillSendRequest):
+        Check we are actually loading the main frame before setting
+        ResourceRequest::TargetIsMainFrame target.
+
+2013-05-27  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [BlackBerry] REGRESSION(r150071): Animation performance issues in some websites with CSS transforms
+        https://bugs.webkit.org/show_bug.cgi?id=116724
+
+        Reviewed by Rob Buis.
+
+        Add another bool variable m_previousFrameDone to make sure we
+        don't start a new frame until the previous one has been done. Also
+        make sure we pass the animation start time to
+        serviceScriptedAnimations().
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate): Initialize
+        m_previousFrameDone and m_monotonicAnimationStartTime.
+        (BlackBerry::WebKit::WebPagePrivate::animationFrameChanged):
+        Return early if previous frame is not done. Otherwise set
+        m_previousFrameDone to false and save the animation start time.
+        (BlackBerry::WebKit::WebPagePrivate::serviceAnimations): Call
+        serviceScriptedAnimations() passing the saved animation start time
+        and reset m_animationScheduled and m_previousFrameDone.
+        (BlackBerry::WebKit::WebPagePrivate::handleServiceScriptedAnimationsOnMainThread):
+        Call WebPagePrivate::serviceAnimations().
+        * Api/WebPage_p.h:
+        (WebPagePrivate):
+
+2013-05-27  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [BlackBerry] Remove encoding parameter from FrameLoaderClientBlackBerry::receivedData()
+        https://bugs.webkit.org/show_bug.cgi?id=116598
+
+        Reviewed by Rob Buis.
+
+        It's no longer needed since the encoder now checks the override encoding.
+
+        * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
+        (WebCore::FrameLoaderClientBlackBerry::committedLoad): Call
+        receivedData() passing the DocumentLoader instead of the text
+        encoding.
+        (WebCore::FrameLoaderClientBlackBerry::receivedData): Call
+        DocumentLoader::commitData() directly.
+        * WebCoreSupport/FrameLoaderClientBlackBerry.h:
+        (FrameLoaderClientBlackBerry):
+
+2013-05-27  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [BlackBerry] Move PagePopup implementation to WebKitSupport
+        https://bugs.webkit.org/show_bug.cgi?id=116824
+
+        Reviewed by Rob Buis.
+
+        After r150434 PagePopup implementation in BlackBerry port is
+        independent from WebCore. The classes are now in the
+        BlackBerry::WebKit namespace so they can be moved from
+        WebCoresupport to WebKitSupport and renamed to remove the
+        BlackBerry suffix which is now redundant. Also, now that the
+        implementation is not shared, it can be simplified a bit more.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate): Update to
+        API changes.
+        (BlackBerry::WebKit::WebPage::initPopupWebView): Ditto.
+        (BlackBerry::WebKit::WebPagePrivate::openPagePopup): Ditto.
+        (BlackBerry::WebKit::WebPagePrivate::closePagePopup): Ditto.
+        (BlackBerry::WebKit::WebPagePrivate::hasOpenedPopup): Ditto.
+        * Api/WebPage.h:
+        (WebKit): Ditto.
+        * Api/WebPage_p.h:
+        (WebKit): Ditto.
+        (WebPagePrivate): Rename m_selectPopup as m_pagePopup, since it
+        can also point to a color picker or date picker page popup. Also
+        use RefPtr instead of raw pointer.
+        * WebKitSupport/ColorPickerClient.cpp: Renamed from Source/WebKit/blackberry/WebCoreSupport/ColorPickerClient.cpp.
+        (BlackBerry::WebKit::ColorPickerClient::ColorPickerClient):
+        (BlackBerry::WebKit::ColorPickerClient::generateHTML):
+        (BlackBerry::WebKit::ColorPickerClient::setValueAndClosePopup):
+        Return early if popup has been closed already.
+        (BlackBerry::WebKit::ColorPickerClient::didClosePopup):
+        * WebKitSupport/ColorPickerClient.h: Renamed from Source/WebKit/blackberry/WebCoreSupport/ColorPickerClient.h.
+        * WebKitSupport/DatePickerClient.cpp: Renamed from Source/WebKit/blackberry/WebCoreSupport/DatePickerClient.cpp.
+        (BlackBerry::WebKit::DatePickerClient::DatePickerClient):
+        (BlackBerry::WebKit::DatePickerClient::~DatePickerClient):
+        (BlackBerry::WebKit::DatePickerClient::generateHTML):
+        (BlackBerry::WebKit::DatePickerClient::setValueAndClosePopup):
+        Return early if popup has been closed already.
+        (BlackBerry::WebKit::DatePickerClient::didClosePopup):
+        (BlackBerry::WebKit::DatePickerClient::generateDateLabels):
+        * WebKitSupport/DatePickerClient.h: Renamed from Source/WebKit/blackberry/WebCoreSupport/DatePickerClient.h.
+        * WebKitSupport/PagePopup.cpp: Renamed from Source/WebKit/blackberry/WebCoreSupport/PagePopupBlackBerry.cpp.
+        (BlackBerry::WebKit::PagePopup::PagePopup):
+        (BlackBerry::WebKit::PagePopup::~PagePopup):
+        (BlackBerry::WebKit::PagePopup::initialize): Renamed as initialize
+        and made void, since it always returned true and the callers
+        ignored the return value.
+        (BlackBerry::WebKit::PagePopup::writeDocument): Renamed from
+        generateHTML for consistency with PagePopupClient::writeDocument()
+        and to avoid confusion with generateHTML method in the clients
+        that create the HTML contents but they don't write the document.
+        (BlackBerry::WebKit::PagePopup::setValueAndClosePopupCallback):
+        Make it static member of PagePopup since the JS object now holds a
+        reference of PagePopup instance as private data.
+        (BlackBerry::WebKit::popUpExtensionInitialize): Take a reference
+        of the PagePopup instance saved as private data of the JS object.
+        (BlackBerry::WebKit::popUpExtensionFinalize): Unref the PagePopup
+        instance saved as private data of the JS object.
+        (BlackBerry::WebKit::PagePopup::installDOMFunction): Instead of
+        saving the client as private data of the JS object using a wrapper
+        refcounted object, save the PagePopup instance that is now
+        refcounted and access the client from the PagePopup instance in
+        the callback.
+        (BlackBerry::WebKit::PagePopup::close): Renamed from closePagePopup
+        since PagePopup::closePagePopup was a bit redundant.
+        * WebKitSupport/PagePopup.h: Renamed from Source/WebKit/blackberry/WebCoreSupport/PagePopupBlackBerry.h.
+        (BlackBerry::WebKit::PagePopup::create): Static member to create
+        instances of PagePopup now that it's refcounted.
+        * WebKitSupport/PagePopupClient.cpp: Renamed from Source/WebKit/blackberry/WebCoreSupport/PagePopupBlackBerryClient.cpp.
+        (BlackBerry::WebKit::PagePopupClient::PagePopupClient):
+        (BlackBerry::WebKit::PagePopupClient::closePopup):
+        (BlackBerry::WebKit::PagePopupClient::didClosePopup):
+        (BlackBerry::WebKit::PagePopupClient::contentSize):
+        (BlackBerry::WebKit::PagePopupClient::writeDocument):
+        * WebKitSupport/PagePopupClient.h: Renamed from Source/WebKit/blackberry/WebCoreSupport/PagePopupBlackBerryClient.h.
+        * WebKitSupport/SelectPopupClient.cpp: Renamed from Source/WebKit/blackberry/WebCoreSupport/SelectPopupClient.cpp.
+        (BlackBerry::WebKit::SelectPopupClient::SelectPopupClient):
+        (BlackBerry::WebKit::SelectPopupClient::~SelectPopupClient):
+        (BlackBerry::WebKit::SelectPopupClient::generateHTML):
+        (BlackBerry::WebKit::SelectPopupClient::setValueAndClosePopup):
+        Return early if popup has been closed already.
+        (BlackBerry::WebKit::SelectPopupClient::didClosePopup):
+        (BlackBerry::WebKit::SelectPopupClient::notifySelectionChange):
+        * WebKitSupport/SelectPopupClient.h: Renamed from Source/WebKit/blackberry/WebCoreSupport/SelectPopupClient.h.
+
+2013-05-26  Jakob Petsovits  <jpetsovits@blackberry.com>
+
+        [BlackBerry] Make screen updates dependent on the existence of a drawing buffer.
+        https://bugs.webkit.org/show_bug.cgi?id=116539
+        Internal PR 330917
+
+        Reviewed by Carlos Garcia Campos.
+        Internally reviewed by Xiaobo Wang and Arvid Nilsson.
+
+        This reduces complexity by relying on the current state,
+        rather than the suspend counter, which in turn makes it
+        possible to simplify the code in setCompositor().
+
+        * Api/BackingStore.cpp:
+        (BlackBerry::WebKit::BackingStorePrivate::updateSuspendScreenUpdateState):
+        (BlackBerry::WebKit::BackingStorePrivate::createSurfaces):
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::setCompositor):
+
+2013-05-26  Kent Tamura  <tkent@chromium.org>
+
+        Remove ENABLE_CALENDAR_PICKER
+        https://bugs.webkit.org/show_bug.cgi?id=116795
+
+        Reviewed by Ryosuke Niwa.
+
+        * WebCoreSupport/AboutDataEnableFeatures.in:
+        The list was wrong. Blackberry port doesn't use CALENDAR_PICKER code.
+
+2013-05-26  Andreas Kling  <akling@apple.com>
+
+        FocusController::setFocusedNode() should be setFocusedElement().
+        <http://webkit.org/b/116780>
+
+        Reviewed by Antti Koivisto.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::clearFocusNode):
+        (BlackBerry::WebKit::WebPage::setNodeFocus):
+        * WebKitSupport/SelectionHandler.cpp:
+        (BlackBerry::WebKit::SelectionHandler::selectObject):
+
+2013-05-24  Anders Carlsson  <andersca@apple.com>
+
+        Remove PagePopup code
+        https://bugs.webkit.org/show_bug.cgi?id=116732
+
+        Reviewed by Andreas Kling.
+
+        * WebCoreSupport/AboutDataEnableFeatures.in:
+        Remove PAGE_POPUP.
+
+2013-05-24  Mike Fenton  <mifenton@rim.com>
+
+        [BlackBerry] Fix bad type warning in InputHandler log.
+        https://bugs.webkit.org/show_bug.cgi?id=116720
+
+        Reviewed by Carlos Garcia Campos.
+
+        Fix warning in inputLog string.
+
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::InputHandler::handleKeyboardInput):
+
+2013-05-24  Mike Fenton  <mifenton@rim.com>
+
+        [BlackBerry] Respect tabindex when using form controls.
+        https://bugs.webkit.org/show_bug.cgi?id=116676
+
+        Reviewed by Xan Lopez.
+
+        PR 337419.
+
+        Update form control navigation tracking to take tabindex
+        order into account when calculating next and previous nodes.
+
+        The order to follow is tab index 1 - N, followed by all items
+        without a tab index or tab index 0 in rendering order to match
+        with standard desktop behavior.
+
+        Internally Reviewed by Genevieve Mak and Nima Ghanavatian.
+
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::InputHandler::updateFormState):
+
+2013-05-24  Jeff Rogers  <jrogers@rim.com>
+
+        [BlackBerry] Remove SKIA leftovers from WebPage.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=116656
+
+        Reviewed by Rob Buis.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::setLoadState):
+
 2013-05-23  Xiaobo Wang  <xiaobwang@blackberry.com>
 
         [BlackBerry] Need to suspend/resume RootLayerCommit when the application becomes inactive/active