1. 09 May, 2013 40 commits
    • ch.dumez@sisa.samsung.com's avatar
      Unreviewed build fix after r149836. · a9a1b17b
      ch.dumez@sisa.samsung.com authored
      It broke at least EFL and GTK builds. Move new static members initialization
      outside the class. Those need to have a definition outside the class because
      their address is used (e.g. CodeCacheMap::nonGlobalWorkingSetMaxEntries).
      
      * runtime/CodeCache.cpp:
      (JSC):
      * runtime/CodeCache.h:
      (CodeCacheMap):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9a1b17b
    • andersca@apple.com's avatar
      Enable UI process storage · c9c36dbe
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115879
      <rdar://problem/12239765>
      
      Reviewed by Beth Dakin.
      
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      Flip the switch.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9c36dbe
    • andersca@apple.com's avatar
      Remove extra spaces between right angle brackets in template declarations · c2550692
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115877
      
      Reviewed by Beth Dakin.
      
      C++11 doesn't require spaces between right angle brackets so remove all of them.
      
      * NetworkProcess/FileAPI/NetworkBlobRegistry.cpp:
      (WebKit::NetworkBlobRegistry::registerBlobURL):
      (WebKit::NetworkBlobRegistry::sandboxExtensions):
      * NetworkProcess/FileAPI/NetworkBlobRegistry.h:
      (NetworkBlobRegistry):
      * NetworkProcess/HostRecord.h:
      (HostRecord):
      * NetworkProcess/NetworkConnectionToWebProcess.cpp:
      (WebKit::NetworkConnectionToWebProcess::didReceiveMessage):
      (WebKit::NetworkConnectionToWebProcess::didClose):
      (WebKit::NetworkConnectionToWebProcess::registerBlobURL):
      * NetworkProcess/NetworkConnectionToWebProcess.h:
      (NetworkConnectionToWebProcess):
      * NetworkProcess/NetworkProcess.h:
      (NetworkProcess):
      * NetworkProcess/NetworkResourceLoadScheduler.cpp:
      (WebKit::NetworkResourceLoadScheduler::servePendingRequests):
      (WebKit::NetworkResourceLoadScheduler::removeScheduledLoaders):
      * NetworkProcess/NetworkResourceLoadScheduler.h:
      * NetworkProcess/SchedulableLoader.cpp:
      (WebKit::SchedulableLoader::SchedulableLoader):
      * NetworkProcess/SchedulableLoader.h:
      (SchedulableLoader):
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (Connection::SyncMessageState):
      (CoreIPC::Connection::waitForMessage):
      (CoreIPC::Connection::processIncomingMessage):
      * Platform/CoreIPC/Connection.h:
      (Connection):
      * Platform/WorkQueue.h:
      (WorkQueue):
      * PluginProcess/PluginProcess.h:
      (PluginProcess):
      * Scripts/webkit2/messages_unittest.py:
      (CoreIPC):
      * Shared/BlockingResponseMap.h:
      (BlockingResponseMap):
      * Shared/ChildProcessProxy.h:
      (ChildProcessProxy):
      * Shared/ImmutableArray.cpp:
      (WebKit::ImmutableArray::ImmutableArray):
      * Shared/ImmutableArray.h:
      (WebKit::ImmutableArray::adopt):
      (ImmutableArray):
      * Shared/ImmutableDictionary.cpp:
      (WebKit::ImmutableDictionary::keys):
      * Shared/ImmutableDictionary.h:
      (ImmutableDictionary):
      * Shared/Network/CustomProtocols/CustomProtocolManager.h:
      (CustomProtocolManager):
      * Shared/SecurityOriginData.cpp:
      (WebKit::performAPICallbackWithSecurityOriginDataVector):
      * Shared/SessionState.cpp:
      * Shared/StatisticsData.h:
      (StatisticsData):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageDecoder::baseDecode):
      * Shared/WebArchive.cpp:
      (WebKit::WebArchive::WebArchive):
      (WebKit::WebArchive::subresources):
      (WebKit::WebArchive::subframeArchives):
      * Shared/WebContextMenuItem.cpp:
      (WebKit::WebContextMenuItem::submenuItemsAsImmutableArray):
      * Shared/WebOpenPanelParameters.cpp:
      (WebKit::WebOpenPanelParameters::acceptMIMETypes):
      (WebKit::WebOpenPanelParameters::selectedFileNames):
      * Shared/mac/ArgumentCodersMac.mm:
      (CoreIPC::encode):
      * SharedWorkerProcess/SharedWorkerProcess.h:
      (SharedWorkerProcess):
      * UIProcess/API/mac/WKPrintingView.h:
      (WebFrameProxy):
      * UIProcess/API/mac/WKPrintingView.mm:
      (-[WKPrintingView _drawPreview:]):
      * UIProcess/API/mac/WKView.mm:
      (WebKit):
      * UIProcess/Downloads/DownloadProxyMap.cpp:
      (WebKit::DownloadProxyMap::processDidClose):
      * UIProcess/Downloads/DownloadProxyMap.h:
      (DownloadProxyMap):
      * UIProcess/GeolocationPermissionRequestManagerProxy.h:
      (GeolocationPermissionRequestManagerProxy):
      * UIProcess/Launcher/mac/DynamicLinkerEnvironmentExtractor.h:
      (DynamicLinkerEnvironmentExtractor):
      * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
      (CustomProtocolManagerProxy):
      * UIProcess/Network/NetworkProcessProxy.h:
      (NetworkProcessProxy):
      * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.h:
      (NotificationPermissionRequestManagerProxy):
      * UIProcess/Notifications/WebNotificationManagerProxy.h:
      (WebNotificationManagerProxy):
      * UIProcess/Plugins/PluginProcessManager.h:
      (PluginProcessManager):
      * UIProcess/Plugins/PluginProcessProxy.h:
      (PluginProcessProxy):
      * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
      (WebKit::WebPluginSiteDataManager::didGetSitesWithData):
      * UIProcess/Plugins/WebPluginSiteDataManager.h:
      (WebPluginSiteDataManager):
      * UIProcess/SharedWorkers/SharedWorkerProcessManager.h:
      (SharedWorkerProcessManager):
      * UIProcess/SharedWorkers/SharedWorkerProcessProxy.h:
      (SharedWorkerProcessProxy):
      * UIProcess/StatisticsRequest.cpp:
      (WebKit::StatisticsRequest::completedRequest):
      * UIProcess/Storage/StorageManager.cpp:
      (StorageManager::StorageArea):
      (WebKit::StorageManager::StorageArea::dispatchEvents):
      (StorageManager::SessionStorageNamespace):
      (WebKit::StorageManager::SessionStorageNamespace::getOrCreateStorageArea):
      (WebKit::StorageManager::SessionStorageNamespace::cloneTo):
      (WebKit::StorageManager::createLocalStorageMap):
      (WebKit::StorageManager::createSessionStorageMap):
      (WebKit::StorageManager::destroyStorageMap):
      (WebKit::StorageManager::invalidateConnectionInternal):
      (WebKit::StorageManager::findStorageArea):
      (WebKit::StorageManager::getOrCreateLocalStorageNamespace):
      * UIProcess/Storage/StorageManager.h:
      (StorageManager):
      * UIProcess/WebApplicationCacheManagerProxy.h:
      (WebApplicationCacheManagerProxy):
      * UIProcess/WebBackForwardList.cpp:
      (WebKit::WebBackForwardList::addItem):
      (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
      (WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):
      (WebKit::WebBackForwardList::clear):
      * UIProcess/WebBackForwardList.h:
      (WebKit):
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::createNewWebProcess):
      (WebKit::WebContext::enableProcessTermination):
      (WebKit::WebContext::pluginInfoStoreDidLoadPlugins):
      * UIProcess/WebContext.h:
      (WebContext):
      * UIProcess/WebCookieManagerProxy.cpp:
      (WebKit::WebCookieManagerProxy::didGetHostnamesWithCookies):
      * UIProcess/WebCookieManagerProxy.h:
      (WebCookieManagerProxy):
      * UIProcess/WebDatabaseManagerProxy.cpp:
      (WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
      (WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins):
      * UIProcess/WebDatabaseManagerProxy.h:
      (WebDatabaseManagerProxy):
      * UIProcess/WebFormClient.cpp:
      (WebKit::WebFormClient::willSubmitForm):
      * UIProcess/WebFormClient.h:
      (WebFormClient):
      * UIProcess/WebKeyValueStorageManagerProxy.h:
      (WebKeyValueStorageManagerProxy):
      * UIProcess/WebLoaderClient.cpp:
      (WebKit::WebLoaderClient::didChangeBackForwardList):
      * UIProcess/WebLoaderClient.h:
      (WebLoaderClient):
      * UIProcess/WebMediaCacheManagerProxy.cpp:
      (WebKit::WebMediaCacheManagerProxy::didGetHostnamesWithMediaCache):
      * UIProcess/WebMediaCacheManagerProxy.h:
      (WebMediaCacheManagerProxy):
      * UIProcess/WebPageContextMenuClient.cpp:
      (WebKit::WebPageContextMenuClient::showContextMenu):
      * UIProcess/WebPageProxy.cpp:
      (ExceededDatabaseQuotaRecords):
      (WebKit::WebPageProxy::relatedPages):
      (WebKit::WebPageProxy::didChangeBackForwardList):
      (WebKit::WebPageProxy::handleWheelEvent):
      (WebKit::WebPageProxy::processNextQueuedWheelEvent):
      (WebKit::WebPageProxy::findStringMatches):
      (WebKit::WebPageProxy::willSubmitForm):
      (WebKit::WebPageProxy::pluginInformationDictionary):
      (WebKit::WebPageProxy::didFindStringMatches):
      (WebKit::WebPageProxy::didReceiveEvent):
      * UIProcess/WebPageProxy.h:
      (WebPageProxy):
      * UIProcess/WebPageProxy.messages.in:
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::disconnect):
      (WebKit::WebProcessProxy::didClose):
      (WebKit::WebProcessProxy::didBecomeUnresponsive):
      (WebKit::WebProcessProxy::interactionOccurredWhileUnresponsive):
      (WebKit::WebProcessProxy::didBecomeResponsive):
      (WebKit::WebProcessProxy::disconnectFramesFromPage):
      (WebKit::WebProcessProxy::frameCountInPage):
      * UIProcess/WebProcessProxy.h:
      (WebProcessProxy):
      * UIProcess/WebResourceCacheManagerProxy.h:
      (WebResourceCacheManagerProxy):
      * UIProcess/mac/WebContextMenuProxyMac.mm:
      (WebKit::populateNSMenu):
      (WebKit::nsMenuItemVector):
      * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
      (WebKit::WebApplicationCacheManager::getApplicationCacheOrigins):
      * WebProcess/Geolocation/WebGeolocationManager.cpp:
      (WebKit::WebGeolocationManager::didChangePosition):
      (WebKit::WebGeolocationManager::didFailToDeterminePosition):
      * WebProcess/IconDatabase/WebIconDatabaseProxy.h:
      (WebIconDatabaseProxy):
      * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm:
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::originsWithApplicationCache):
      * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp:
      (WebKit::InjectedBundleBackForwardListItem::children):
      * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
      (WebKit::InjectedBundlePageEditorClient::getPasteboardDataForRange):
      * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.h:
      (InjectedBundlePageEditorClient):
      * WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
      (WebKit::InjectedBundlePageFormClient::willSendSubmitEvent):
      (WebKit::InjectedBundlePageFormClient::willSubmitForm):
      * WebProcess/InjectedBundle/InjectedBundlePageFormClient.h:
      (InjectedBundlePageFormClient):
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
      (WebKit::InjectedBundlePageLoaderClient::featuresUsedInPage):
      * WebProcess/Network/WebResourceLoadScheduler.cpp:
      (WebKit::WebResourceLoadScheduler::internallyFailedLoadTimerFired):
      (WebKit::WebResourceLoadScheduler::networkProcessCrashed):
      * WebProcess/Network/WebResourceLoadScheduler.h:
      (WebResourceLoadScheduler):
      * WebProcess/Notifications/NotificationPermissionRequestManager.h:
      (NotificationPermissionRequestManager):
      * WebProcess/Notifications/WebNotificationManager.h:
      (WebNotificationManager):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::invalidate):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h:
      (NPRuntimeObjectMap):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::stopAllStreams):
      * WebProcess/Plugins/Netscape/NetscapePlugin.h:
      (NetscapePlugin):
      * WebProcess/Plugins/Netscape/NetscapePluginStream.h:
      (NetscapePluginStream):
      * WebProcess/Plugins/PDF/SimplePDFPlugin.mm:
      (getAllScriptsInPDFDocument):
      (WebKit::SimplePDFPlugin::runScriptsInPDFDocument):
      * WebProcess/Plugins/PluginProcessConnectionManager.h:
      (PluginProcessConnectionManager):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::cancelAllStreams):
      * WebProcess/Plugins/PluginView.h:
      (PluginView):
      * WebProcess/Storage/StorageAreaMap.cpp:
      (WebKit::StorageAreaMap::dispatchSessionStorageEvent):
      (WebKit::StorageAreaMap::dispatchLocalStorageEvent):
      * WebProcess/Storage/StorageNamespaceImpl.cpp:
      (WebKit::StorageNamespaceImpl::storageArea):
      * WebProcess/Storage/StorageNamespaceImpl.h:
      (StorageNamespaceImpl):
      * WebProcess/Storage/WebKeyValueStorageManager.cpp:
      (WebKit::keyValueStorageOriginIdentifiers):
      * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
      (WebKit::WebDatabaseManager::getDatabasesByOrigin):
      (WebKit::WebDatabaseManager::getDatabaseOrigins):
      * WebProcess/WebCoreSupport/WebEditorClient.cpp:
      (WebKit::WebEditorClient::getClientPasteboardDataForRange):
      * WebProcess/WebCoreSupport/WebEditorClient.h:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
      * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
      (WebKit::WebEditorClient::documentFragmentFromAttributedString):
      * WebProcess/WebPage/EventDispatcher.h:
      (EventDispatcher):
      * WebProcess/WebPage/FindController.cpp:
      (WebKit::FindController::findStringMatches):
      * WebProcess/WebPage/FindController.h:
      (FindController):
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::childFrames):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::trackedRepaintRects):
      * WebProcess/WebPage/WebPage.h:
      (WebKit):
      (WebPage):
      * WebProcess/WebPage/mac/LayerTreeHostMac.h:
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
      (TiledCoreAnimationDrawingArea):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::visitedLinkStateChanged):
      (WebKit::WebProcess::allVisitedLinkStateChanged):
      (WebKit::WebProcess::focusedWebPage):
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::didClose):
      (WebKit::WebProcess::webPageGroup):
      (WebKit::addCaseFoldedCharacters):
      (WebKit::getWebCoreMemoryCacheStatistics):
      (WebKit::WebProcess::setTextCheckerState):
      * WebProcess/WebProcess.h:
      (WebProcess):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2550692
    • andersca@apple.com's avatar
      Implement WebPlatformStrategies::transientLocalStorageNamespace · 99cf7460
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115876
      <rdar://problem/13852871>
      
      Reviewed by Beth Dakin.
      
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      (WebKit::WebPlatformStrategies::transientLocalStorageNamespace):
      Return a session storage namespace for a random page when UI process storage is enabled,
      otherwise call the base class implementation.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99cf7460
    • roger_fong@apple.com's avatar
      Unreviewed mac gardening. · 629e8254
      roger_fong@apple.com authored
      * platform/mac/inspector/command-line-api-expected.txt: Removed.
      * platform/mac/inspector/console: Added.
      * platform/mac/inspector/console/command-line-api-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      629e8254
    • ch.dumez@sisa.samsung.com's avatar
      [NoInterfaceObject] extended attribute should be removed for several interfaces · b973ffd0
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115852
      
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      Remove [NoInterfaceObject] extended attribute from the following Web IDL
      interfaces: SecurityPolicy, History, Location, Navigator, Performance,
      PerformanceEntry, PerformanceMark, PerformanceMeasure, PerformanceNavigation,
      PerformanceResourceTiming, PerformanceTiming and Screen.
      
      These interfaces should not have the [NoInterfaceObject] extended attribute
      according to their respective specifications:
      - http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-history-interface
      - http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-location-interface
      - https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#securitypolicy
      - http://www.w3.org/html/wg/drafts/html/master/webappapis.html#the-navigator-object
      - http://www.w3.org/TR/navigation-timing/#performance
      - https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PerformanceTimeline/Overview.html#sec-PerformanceEntry-interface
      - http://www.w3.org/TR/navigation-timing/#performancenavigation
      - http://www.w3.org/TR/navigation-timing/#performancetiming
      - http://www.w3.org/TR/user-timing/#performancemark
      - http://www.w3.org/TR/user-timing/#performancemeasure
      - http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetiming
      - http://dev.w3.org/csswg/cssom-view/#the-screen-interface
      
      The new behavior is consistent with the specifications, Firefox and soon Blink.
      
      No new tests, already covered by existing tests.
      
      * page/DOMSecurityPolicy.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/Navigator.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceMark.idl:
      * page/PerformanceMeasure.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      
      LayoutTests:
      
      Rebaseline several layout tests whose output has changed now that a few more
      global constructors are exposed.
      
      * fast/dom/dom-constructors-expected.txt:
      * fast/js/global-constructors-attributes-expected.txt:
      * platform/efl/fast/js/global-constructors-attributes-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b973ffd0
    • robert@webkit.org's avatar
      REGRESSION (Safari 3-Safari 4): Replaced element with percent height in table has incorrect height · 619744e4
      robert@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=26394
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Text controls or any object that has scrollable content should not flex inside a table cell.
      This makes our behaviour the same as IE, FF and Opera (Presto).
      
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::layoutRows):
      
      LayoutTests:
      
      * fast/replaced/table-percent-height-text-controls-expected.txt: Renamed from LayoutTests/platform/mac/fast/replaced/table-percent-height-text-controls-expected.txt.
      * fast/replaced/table-percent-height-text-controls.html:
      * platform/gtk/fast/replaced/table-percent-height-text-controls-expected.txt: Removed.
      * platform/qt/fast/replaced/table-percent-height-text-controls-expected.txt: Removed.
      * platform/win/fast/replaced/table-percent-height-text-controls-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      619744e4
    • paroga@webkit.org's avatar
      [DRT] Replace JavaScriptThreadingPthreads.cpp with JavaScriptThreading.cpp · 332bfe0d
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92505
      
      Reviewed by Brent Fulgham.
      
      * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
      * DumpRenderTree/JavaScriptThreading.cpp: Copied from DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp.
      (javaScriptThreadsMutex):
      (javaScriptThreads):
      (runJavaScriptThread):
      (startJavaScriptThreads):
      (stopJavaScriptThreads):
      * DumpRenderTree/pthreads: Removed.
      * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      332bfe0d
    • andersca@apple.com's avatar
      Build fix. · 84f10ac1
      andersca@apple.com authored
      * WebCore.exp.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84f10ac1
    • commit-queue@webkit.org's avatar
      Update srcipt paths in editing/shadow/rightclick-on-meter-in-shadow-crash.html · 9eb36d1f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96223
      
      Patch by Xiaobo Wang <xbwang@torchmobile.com.cn> on 2013-05-09
      Reviewed by Rob Buis.
      
      The original paths don't exist at all.
      
      * editing/shadow/rightclick-on-meter-in-shadow-crash.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9eb36d1f
    • andersca@apple.com's avatar
      Add a StorageStrategy hook for creating transient local storage namespaces · 668179f9
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115870
      
      Reviewed by Geoffrey Garen.
      
      * WebCore.exp.in:
      Export symbol needed by WebKit2.
      
      * dom/Document.cpp:
      (WebCore::Document::topOrigin):
      * dom/Document.h:
      * dom/ScriptExecutionContext.h:
      * workers/WorkerContext.h:
      Remove const qualifier from topOrigin() to avoid ugly const_casts when assigning into a RefPtr<SecurityOrigin> variable.
      
      * page/PageGroup.cpp:
      (WebCore::PageGroup::transientLocalStorage):
      Do a single hash lookup instead of three and use the SecurityOrigin itself as the hash key instead of a string representation of it.
      
      * page/PageGroup.h:
      Update HashMap declaration.
      
      * storage/StorageNamespace.cpp:
      (WebCore::StorageNamespace::transientLocalStorageNamespace):
      Add new implementation that will optionally call out to the storage strategy.
      
      * storage/StorageNamespaceImpl.cpp:
      (WebCore::StorageNamespaceImpl::transientLocalStorageNamespace):
      Move the default implementation here from PageGroup.
      
      * storage/StorageStrategy.cpp:
      (WebCore::StorageStrategy::transientLocalStorageNamespace):
      Call the default implementation.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      668179f9
    • enrica@apple.com's avatar
      A change in system environment should force all CSS properties to be recomputed. · 8aba7518
      enrica@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115872
      <rdar://problem/13781171>
      
      Reviewed by Antti Koivisto.
      
      When a change in the global environment occurs, for example system colors,
      we need to make sure all the CSS properties are recomputed and not fetched
      from the cache. For this reason we invalidate the properties cache.
      I've also renamed the function to give it a more meaningful name.
              
      * page/Page.cpp:
      (WebCore::Page::updateStyleForAllPagesAfterGlobalChangeInEnvironment):
      * page/Page.h:
      * rendering/RenderTheme.cpp:
      (WebCore::RenderTheme::platformColorsDidChange):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8aba7518
    • antti@apple.com's avatar
      Reoptimize free-standing :focus/link/visited/-webkit-any-link selectors. · c39af226
      antti@apple.com authored
      <http://webkit.org/b/115590>
      
      Reviewed by Darin Adler.
      
      Common pseudo selectors should go into their respective rule buckets instead of ending up in the universal one.
      
      * css/RuleSet.cpp:
      (WebCore::RuleSet::findBestRuleSetAndAdd):
              
          Check tag selectors with * local name (usually created for namespace) for a suitable narrower bucket too.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c39af226
    • roger_fong@apple.com's avatar
      Unreviewed mac port gardening. · 16f82489
      roger_fong@apple.com authored
      * platform/mac-lion/fast/js: Added.
      * platform/mac-lion/fast/js/global-constructors-attributes-expected.txt: Added.
      * platform/mac/inspector/command-line-api-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16f82489
    • oliver@apple.com's avatar
      Code cache stores bogus var references for functions in eval code · 0c14001a
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115747
      
      Reviewed by Mark Hahnenberg.
      
      Source/JavaScriptCore:
      
      Non-global eval now uses a per-CodeBlock cache, and only use it
      when we're at the top of a function's scope.  This means that we
      will no longer cache the parsing of a single string across
      multiple functions, and we won't cache when we're nested inside
      constructs like |with| and |catch| where previously we would, which
      is good because caching in those cases is unsound.
      
      * bytecode/EvalCodeCache.h:
      (JSC):
      (JSC::EvalCodeCache::getSlow):
      (JSC::EvalCodeCache::get):
      * bytecode/UnlinkedCodeBlock.h:
      (JSC::UnlinkedCodeBlock::codeCacheForEval):
      (UnlinkedCodeBlock):
      (RareData):
      * debugger/Debugger.cpp:
      (JSC::evaluateInGlobalCallFrame):
      * debugger/DebuggerCallFrame.cpp:
      (JSC::DebuggerCallFrame::evaluate):
      * interpreter/Interpreter.cpp:
      (JSC::eval):
      * runtime/CodeCache.cpp:
      (JSC::CodeCache::CodeCache):
      (JSC::CodeCache::generateBytecode):
      (JSC):
      (JSC::CodeCache::getCodeBlock):
      * runtime/CodeCache.h:
      (JSC::CodeCacheMap::CodeCacheMap):
      (CodeCacheMap):
      (JSC::CodeCacheMap::canPruneQuickly):
      (JSC::CodeCacheMap::prune):
      (JSC::CodeCache::create):
      (CodeCache):
      * runtime/Executable.cpp:
      (JSC::EvalExecutable::EvalExecutable):
      (JSC::EvalExecutable::compileInternal):
      * runtime/Executable.h:
      (JSC::EvalExecutable::create):
      (EvalExecutable):
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::createEvalCodeBlock):
      * runtime/JSGlobalObject.h:
      (JSGlobalObject):
      * runtime/JSGlobalObjectFunctions.cpp:
      (JSC::globalFuncEval):
      * runtime/VM.cpp:
      (JSC::VM::VM):
      * runtime/VM.h:
      (VM):
      
      LayoutTests:
      
      Many tests
      
      * fast/js/eval-cache-scoped-lookup-expected.txt: Added.
      * fast/js/eval-cache-scoped-lookup.html: Added.
      * fast/js/script-tests/eval-cache-scoped-lookup.js: Added.
      (first):
      (a.string_appeared_here.second):
      (third):
      (fifth):
      (sixth):
      (seventh):
      (eighth):
      (nineth):
      (tenth):
      (eleventh):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c14001a
    • mhahnenberg@apple.com's avatar
      Fixing botched rebase of ChangeLog · 22b46160
      mhahnenberg@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22b46160
    • mhahnenberg@apple.com's avatar
      DFGArrayMode::fromObserved is too liberal when it sees different Array and NonArray shapes · 3ebd59e4
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115805
      
      Source/JavaScriptCore: 
      
      Reviewed by Geoffrey Garen.
      
      It checks the observed ArrayModes to see if we have seen any ArrayWith* first. If so, it assumes it's 
      an Array::Array, even if we've also observed any NonArrayWith* in the ArrayProfile. This leads to the 
      code generated by jumpSlowForUnwantedArrayMode to check the indexing type against (shape | IsArray) 
      instead of just shape, which can cause us to exit a lot in the case that we saw a NonArray.
      
      To fix this we need to add a case that checks for both ArrayWith* and NonArrayWith* cases first, which 
      should then use Array::PossiblyArray, then do the checks we were already doing.
      
      * bytecode/ArrayProfile.h:
      (JSC::hasSeenArray):
      (JSC::hasSeenNonArray):
      * dfg/DFGArrayMode.cpp:
      (JSC::DFG::ArrayMode::fromObserved):
      
      LayoutTests: 
      
      Added regression test for array access over polymorphic array vs. non-array indexing types.
      With the fix, we get 3.666x faster on this microbenchmark.
      
      Reviewed by Geoffrey Garen.
      
      * fast/js/regress/array-nonarray-polymorphic-access-expected.txt: Added.
      * fast/js/regress/array-nonarray-polymorphic-access.html: Added.
      * fast/js/regress/script-tests/array-nonarray-polymorphic-access.js: Added.
      (f):
      (run):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ebd59e4
    • darin@apple.com's avatar
      RenderQuote has giant function for language to quotes map · f60da4ea
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115807
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore:
      
      * rendering/RenderQuote.cpp:
      (WebCore::RenderQuote::RenderQuote): Updated for m_isAttached name change.
      (WebCore::RenderQuote::~RenderQuote): Updated for name change, and also split
      assertion with && in it into two separate assertions.
      (WebCore::checkNumberOfDistinctQuoteCharacters): Added. Helper function that is used
      to check that the number of distinct quote characters is small enough to fit into
      our fixed size array below.
      (WebCore::quotesForLanguage): Replaces the old quotesDataLanguageMap function.
      Returns a pointer to a struct that contains the four quote characters. This new
      function doesn't have the massive amount of code that the old one did. We use the
      standard library bsearch function to do a binary search.
      (WebCore::stringForQuoteCharacter): Added. This returns a string for a given quote
      character; one string for any given character.
      (WebCore::quotationMarkString): Added. Returns the string for the quotation mark.
      (WebCore::apostropheStringImpl): Added. Returns the string for the apostrophe.
      (WebCore::RenderQuote::originalText): Rewrote this to include all the logic that
      used to be in the quotesData function.
      (WebCore::RenderQuote::attachQuote): Tweak assertions as above. Removed unneeded
      special case for the first quote in a RenderView; sharing the code is better and
      there is no significant performance difference. Also use m_isAttached directly
      when looking at predecessores so there is no need for an isAttached function.
      (WebCore::RenderQuote::detachQuote): Updated assertions and for name change.
      (WebCore::RenderQuote::updateDepth): Ditto.
      
      * rendering/RenderQuote.h: Removed unneeded includes. Marked the class FINAL since
      we call the originalText function in the class and we don't want to do a virtual
      function dispatch for that. Removed uneeded const from an argument. Removed a
      stray semicolon. Removed the quotesData and isAttached functions, since they are no
      longer needed. Renamed m_attached to m_isAttached.
      
      * rendering/style/QuotesData.cpp: Removed the overload of QuotesData::create that
      takes four quote strings. This was only used to build up the quotes table.
      * rendering/style/QuotesData.h: Ditto.
      
      Source/WTF:
      
      * wtf/unicode/CharacterNames.h: Added a couple of character names.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f60da4ea
    • andersca@apple.com's avatar
      Use explicit qualifiers for names in the std:: namespace · 9df93280
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115868
      
      Reviewed by Andreas Kling.
      
      * Shared/mac/ArgumentCodersMac.mm:
      (CoreIPC::encode):
      * UIProcess/API/C/WKPluginSiteDataManager.cpp:
      (WKPluginSiteDataManagerClearAllSiteData):
      * UIProcess/Plugins/PluginInfoStore.cpp:
      (WebKit::PluginInfoStore::findPluginForExtension):
      * UIProcess/WebFrameProxy.cpp:
      * UIProcess/WebProcessProxy.cpp:
      * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
      (WebKit::parsePostBuffer):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::loadURL):
      * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
      (WebKit::NetscapePluginStream::deliverDataToPlugin):
      * WebProcess/Plugins/PDF/SimplePDFPlugin.mm:
      * WebProcess/WebPage/DrawingAreaImpl.cpp:
      * WebProcess/WebPage/FindController.cpp:
      (WebKit::FindController::countStringMatches):
      (WebKit::FindController::updateFindUIAfterPageScroll):
      * WebProcess/WebPage/WebPage.cpp:
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::drawPDFPage):
      * WebProcess/mac/WebProcessMac.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9df93280
    • mifenton@rim.com's avatar
      [BlackBerry] Style updates required based on new check-webkit-style · 5d58f0b4
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115857
      
      Reviewed by Rob Buis.
      
      Update iInRegionScroller, WebKitTextCodec and WebPageCompositor
      to match check-webkit-style updates.
      
      * Api/InRegionScroller.cpp:
      (BlackBerry::WebKit::InRegionScrollerPrivate::setScrollPositionCompositingThread):
      * Api/InRegionScroller_p.h:
      * Api/WebKitTextCodec.cpp:
      (BlackBerry::WebKit::transcode):
      * Api/WebPageCompositor.cpp:
      (BlackBerry::WebKit::WebPageCompositor::render):
      * Api/WebPageCompositor.h:
      * Api/WebPageCompositor_p.h:
      (WebPageCompositorPrivate):
      * Api/WebSettings_p.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d58f0b4
    • commit-queue@webkit.org's avatar
      shouldUsePluginDocument() needs to be respected when a document is created · e1bdd7fb
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=110308
      
      Patch by Max Feil <mfeil@rim.com> on 2013-05-09
      Reviewed by Rob Buis.
      
      Source/WebCore:
      
      In DOMImplementation::createDocument() we should create
      a PluginDocument for mime types that return "true" for
      shouldAlwaysUsePluginDocument(), even if there is no pluginData
      for them. This lets a client choose plugins for which the "missing
      plugin" text or icon should appear more consistently. Otherwise
      plugins referenced by iFrames will be treated as an HTMLDocument,
      possibly resulting in binary files rendered as gibberish text.
      
      Layout test platform/blackberry/plugins/swf-as-src-of-iframe.html
      
      * dom/DOMImplementation.cpp:
      (WebCore::DOMImplementation::createDocument):
      
      Source/WebKit/blackberry:
      
      This patch implements shouldAlwaysUsePluginDocument() in the
      BlackBerry frame loader client. It is called in several places
      within WebCore to determine whether a PluginDocument should
      be created.
      
      * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
      (WebCore::FrameLoaderClientBlackBerry::shouldAlwaysUsePluginDocument):
      (WebCore):
      (WebCore::FrameLoaderClientBlackBerry::createPlugin):
      * WebCoreSupport/FrameLoaderClientBlackBerry.h:
      (FrameLoaderClientBlackBerry):
      
      Source/WebKit/win:
      
      Renaming shouldUsePluginDocument() to shouldAlwaysUsePluginDocument()
      for clarity.
      
      * WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebFrameLoaderClient::shouldAlwaysUsePluginDocument):
      * WebCoreSupport/WebFrameLoaderClient.h:
      (WebFrameLoaderClient):
      
      Source/WebKit2:
      
      Renaming shouldUsePluginDocument() to shouldAlwaysUsePluginDocument()
      for clarity.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::shouldAlwaysUsePluginDocument):
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
      (WebFrameLoaderClient):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1bdd7fb
    • timothy@apple.com's avatar
      Fix an exception when hovering native functions while paused in the debugger. · c3bf6a10
      timothy@apple.com authored
      https://webkit.org/b/115866
      rdar://problem/13681982
      
      Reviewed by Darin Adler and Joseph Pecoraro.
      
      * inspector/InjectedScriptSource.js:
      (InjectedScript.prototype.getFunctionDetails): Return an error if the details
      is null or undefined.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3bf6a10
    • darin@apple.com's avatar
      [Mac] CFError leak under Objective-C garbage collection · a8a5b67f
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115862
      
      Reviewed by Benjamin Poulain.
      
      * platform/network/mac/ResourceErrorMac.mm:
      (WebCore::ResourceError::nsError): Use adoptCF instead of adoptNS since
      the CFError needs a CFRelease, not an -[NSObject release].
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8a5b67f
    • commit-queue@webkit.org's avatar
      BlackBerry: fix call to PluginLayerWebKitThread::setHolePunchRect() · 6462d789
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114953
      
      Patch by Alberto Garcia <agarcia@igalia.com> on 2013-05-09
      Reviewed by Rob Buis.
      
      data->layer needs a cast in order to call setHolePunchRect().
      
      * plugins/blackberry/NPCallbacksBlackBerry.cpp:
      (WebCore::npSetHolePunchHandler):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6462d789
    • mifenton@rim.com's avatar
      [BlackBerry] Style updates required based on new check-webkit-style · 6108d190
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115857
      
      Reviewed by Rob Buis.
      
      Update SelectionHandler to match check-webkit-style updates.
      
      * WebKitSupport/SelectionHandler.cpp:
      (BlackBerry::WebKit::shouldExtendSelectionInDirection):
      (BlackBerry::WebKit::SelectionHandler::extendSelectionToFieldBoundary):
      (BlackBerry::WebKit::SelectionHandler::updateOrHandleInputSelection):
      (BlackBerry::WebKit::adjustCaretRects):
      (BlackBerry::WebKit::SelectionHandler::clipPointToVisibleContainer):
      (BlackBerry::WebKit::regionRectListContainsPoint):
      * WebKitSupport/SelectionHandler.h:
      (SelectionHandler):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6108d190
    • commit-queue@webkit.org's avatar
      [BlackBerry] Set up logging buffer on start of jsc executable · 5107b95e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114688
      
      Patch by Joe Mason <jmason@blackberry.com> on 2013-05-09
      Reviewed by Rob Buis.
      
      Internal PR: 322715
      Internally Reviewed By: Jeff Rogers
      
      * jsc.cpp:
      (main): call BB::Platform::setupApplicationLogging
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5107b95e
    • mifenton@rim.com's avatar
      [BlackBerry] Style updates required based on new check-webkit-style · ac9df19f
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115857
      
      Reviewed by Rob Buis.
      
      Update WebCore/platform/graphics BlackBerry sources
      to match check-webkit-style updates.
      
      Internally reviewed by Jakob Petsovits.
      
      * platform/graphics/blackberry/CanvasLayerWebKitThread.cpp:
      * platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
      (WebCore::GraphicsContext3D::readPixelsIMG):
      (WebCore::GraphicsContext3D::paintToCanvas):
      * platform/graphics/blackberry/GraphicsLayerBlackBerry.cpp:
      (WebCore::GraphicsLayerBlackBerry::updateLayerPosition):
      * platform/graphics/blackberry/IntRectBlackBerry.cpp:
      (WebCore::IntRect::IntRect):
      * platform/graphics/blackberry/LayerCompositingThread.h:
      (WTF::::deref):
      * platform/graphics/blackberry/LayerFilterRenderer.cpp:
      (WebCore::LayerFilterRenderer::initializeSharedGLObjects):
      (WebCore::LayerFilterRenderer::actionsForOperations):
      (WebCore::LayerFilterRenderer::applyActions):
      * platform/graphics/blackberry/LayerRenderer.cpp:
      (WebCore::LayerRenderer::setViewport):
      (WebCore::LayerRenderer::compositeBuffer):
      (WebCore::LayerRenderer::drawColor):
      (WebCore::LayerRenderer::compositeLayersRecursive):
      * platform/graphics/blackberry/LayerWebKitThread.cpp:
      (WebCore::LayerWebKitThread::setFrame):
      * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
      (WebCore::MediaPlayerPrivate::play):
      (WebCore::MediaPlayerPrivate::waitMetadataTimerFired):
      * platform/image-decoders/blackberry/JPEGImageDecoder.cpp:
      (WebCore::JPEGImageDecoder::JPEGImageDecoder):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac9df19f
    • mifenton@rim.com's avatar
      [BlackBerry] Style updates required based on new check-webkit-style · 6a843183
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115857
      
      Reviewed by Rob Buis.
      
      Update WebCore/platform/network/blackberry
      to match check-webkit-style updates.
      
      * platform/network/blackberry/NetworkJob.cpp:
      (WebCore::NetworkJob::initialize):
      (WebCore::NetworkJob::handleSetCookieHeader):
      (WebCore::NetworkJob::sendResponseIfNeeded):
      (WebCore::NetworkJob::shouldSendClientData):
      * platform/network/blackberry/NetworkJob.h:
      (NetworkJob):
      * platform/network/blackberry/NetworkManager.cpp:
      (WebCore::NetworkManager::startJob):
      * platform/network/blackberry/rss/RSSFilterStream.cpp:
      (WebCore::isRSSContent):
      (WebCore::transcode):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a843183
    • mifenton@rim.com's avatar
      [BlackBerry] Style updates required based on new check-webkit-style · 8a66f36a
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115857
      
      Reviewed by Rob Buis.
      
      Update WebCore/platform/blackberry to match check-webkit-style updates.
      
      No functional changes.
      
      * platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.h:
      * platform/blackberry/CookieManager.cpp:
      (WebCore::CookieManager::getRawCookies):
      * platform/blackberry/CookieMap.h:
      (WebCore::CookieMap::count):
      * platform/blackberry/CookieParser.cpp:
      (WebCore::CookieParser::parseOneCookie):
      * platform/blackberry/LoggingBlackBerry.cpp:
      * platform/blackberry/PageClientBlackBerry.h:
      (Platform):
      (Graphics):
      (WebCore):
      * platform/blackberry/ParsedCookie.cpp:
      (WebCore::ParsedCookie::appendWebCoreCookie):
      * platform/blackberry/RenderThemeBlackBerry.cpp:
      (WebCore::RenderThemeBlackBerry::paintSearchFieldCancelButton):
      (WebCore::RenderThemeBlackBerry::paintButton):
      (WebCore::RenderThemeBlackBerry::paintSliderThumb):
      * platform/blackberry/SSLKeyGeneratorBlackBerry.cpp:
      (WebCore::signedPublicKeyAndChallengeString):
      * platform/blackberry/ScrollAnimatorBlackBerry.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a66f36a
    • msaboff@apple.com's avatar
      JSC: There should be a disassembler for ARM Thumb 2 · ac9f0e52
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115827
      
      Reviewed by Filip Pizlo.
      
      Source/JavaScriptCore: 
      
      Added a new disassembler for ARMv7 Thumb2 instructions for use by the JSC debugging
      and profiling code.  The opcode coverage is currently not complete.  It covers all
      of the integer instructions JSC currently emits, but only a limited number of
      floating point opcodes.  Currently that is just the 64 bit vmov and vmsr instructions.
      
      The disassembler is structured as a base opcode class ARMv7DOpcode with sub-classes
      for each instruction group.  There is a public format method that does the bulk of
      the disassembly work.  There are two broad sub-classes, ARMv7D16BitOpcode and
      ARMv7D32BitOpcode, for the 16 bit and 32 bit opcodes.  There are sub-classes under
      those two classes for individual and related groups of opcodes.  Instructions are
      "dispatched" to the right subclass via two arrays of linked lists in the inner classes
      OpcodeGroup.  There is one such inner class for each ARMv7D16BitOpcode and ARMv7D32BitOpcode.
      Each OpcodeGroup has a mask and a pattern that it applies to the instruction to determine
      that it matches a particular group.  OpcodeGroup uses a static method to reinterpret_cast
      the Opcode object to the right base class for the instruction group for formatting.
      The cast eliminates the need of allocating an object for each decoded instruction.
      Unknown instructions are formatted as ".word 1234" or ".long 12345678" depending whether
      the instruction is 16 or 32 bit.
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * disassembler/ARMv7: Added.
      * disassembler/ARMv7/ARMv7DOpcode.cpp: Added.
      (ARMv7Disassembler):
      (OpcodeGroupInitializer):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::init):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::startITBlock):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::saveITConditionAt):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::fetchOpcode):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::disassemble):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::bufferPrintf):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendInstructionName):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendRegisterName):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendRegisterList):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendFPRegisterName):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::init):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::doDisassemble):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::defaultFormat):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddRegisterT2::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSPPlusImmediate::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractImmediate3::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractImmediate8::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchConditionalT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchExchangeT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchT2::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeCompareImmediateT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeCompareRegisterT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeCompareRegisterT2::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegisterT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeGeneratePCRelativeAddress::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadFromLiteralPool::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterImmediate::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterOffsetT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterSPRelative::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLogicalImmediateT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscAddSubSP::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscBreakpointT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscByteHalfwordOps::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscCompareAndBranch::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscHint16::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscIfThenT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscPushPop::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMoveImmediateT1::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMoveRegisterT1::format):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::init):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::doDisassemble):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::defaultFormat):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeConditionalBranchT3::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchOrBranchLink::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingModifiedImmediate::appendModifiedImmediate):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingModifiedImmediate::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingShiftedReg::appendImmShift):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingShiftedReg::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeFPTransfer::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeFPTransfer::appendFPRegister):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegShift::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegExtend::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegParallel::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegMisc::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeHint32::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadRegister::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadSignedImmediate::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadUnsignedImmediate::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeUnmodifiedImmediate::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataPushPopSingle::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeStoreSingleImmediate12::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeStoreSingleImmediate8::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeStoreSingleRegister::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMOVDoublePrecision::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMOVSinglePrecision::format):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMSR::format):
      * disassembler/ARMv7/ARMv7DOpcode.h: Added.
      (ARMv7Disassembler):
      (ARMv7DOpcode):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::ARMv7DOpcode):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::is32BitInstruction):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::isFPInstruction):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::conditionName):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::shiftName):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::inITBlock):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::startingITBlock):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::endITBlock):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendInstructionNameNoITBlock):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendSeparator):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendCharacter):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendString):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendShiftType):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendSignedImmediate):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendUnsignedImmediate):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendPCRelativeOffset):
      (JSC::ARMv7Disassembler::ARMv7DOpcode::appendShiftAmount):
      (ARMv7D16BitOpcode):
      (OpcodeGroup):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::OpcodeGroup::OpcodeGroup):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::OpcodeGroup::setNext):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::OpcodeGroup::next):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::OpcodeGroup::matches):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::OpcodeGroup::format):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::rm):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::rd):
      (JSC::ARMv7Disassembler::ARMv7D16BitOpcode::opcodeGroupNumber):
      (ARMv7DOpcodeAddRegisterT2):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddRegisterT2::rdn):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddRegisterT2::rm):
      (ARMv7DOpcodeAddSPPlusImmediate):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSPPlusImmediate::rd):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSPPlusImmediate::immediate8):
      (ARMv7DOpcodeAddSubtract):
      (ARMv7DOpcodeAddSubtractT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractT1::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractT1::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractT1::rm):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractT1::rn):
      (ARMv7DOpcodeAddSubtractImmediate3):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractImmediate3::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractImmediate3::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractImmediate3::immediate3):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractImmediate3::rn):
      (ARMv7DOpcodeAddSubtractImmediate8):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractImmediate8::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractImmediate8::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractImmediate8::rdn):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeAddSubtractImmediate8::immediate8):
      (ARMv7DOpcodeBranchConditionalT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchConditionalT1::condition):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchConditionalT1::offset):
      (ARMv7DOpcodeBranchExchangeT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchExchangeT1::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchExchangeT1::rm):
      (ARMv7DOpcodeBranchT2):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchT2::immediate11):
      (ARMv7DOpcodeCompareImmediateT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeCompareImmediateT1::rn):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeCompareImmediateT1::immediate8):
      (ARMv7DOpcodeCompareRegisterT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeCompareRegisterT1::rn):
      (ARMv7DOpcodeCompareRegisterT2):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeCompareRegisterT2::rn):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeCompareRegisterT2::rm):
      (ARMv7DOpcodeDataProcessingRegisterT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegisterT1::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegisterT1::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegisterT1::rm):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegisterT1::rdn):
      (ARMv7DOpcodeGeneratePCRelativeAddress):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeGeneratePCRelativeAddress::rd):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeGeneratePCRelativeAddress::immediate8):
      (ARMv7DOpcodeLoadFromLiteralPool):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadFromLiteralPool::rt):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadFromLiteralPool::immediate8):
      (ARMv7DOpcodeLoadStoreRegisterImmediate):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterImmediate::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterImmediate::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterImmediate::immediate5):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterImmediate::rn):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterImmediate::rt):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterImmediate::scale):
      (ARMv7DOpcodeLoadStoreRegisterImmediateWordAndByte):
      (ARMv7DOpcodeLoadStoreRegisterImmediateHalfWord):
      (ARMv7DOpcodeLoadStoreRegisterOffsetT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterOffsetT1::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterOffsetT1::opB):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterOffsetT1::rm):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterOffsetT1::rn):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterOffsetT1::rt):
      (ARMv7DOpcodeLoadStoreRegisterSPRelative):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterSPRelative::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterSPRelative::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterSPRelative::rt):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadStoreRegisterSPRelative::immediate8):
      (ARMv7DOpcodeLogicalImmediateT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLogicalImmediateT1::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLogicalImmediateT1::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLogicalImmediateT1::immediate5):
      (ARMv7DOpcodeMiscAddSubSP):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscAddSubSP::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscAddSubSP::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscAddSubSP::immediate7):
      (ARMv7DOpcodeMiscByteHalfwordOps):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscByteHalfwordOps::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscByteHalfwordOps::op):
      (ARMv7DOpcodeMiscBreakpointT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscBreakpointT1::immediate8):
      (ARMv7DOpcodeMiscCompareAndBranch):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscCompareAndBranch::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscCompareAndBranch::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscCompareAndBranch::immediate6):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscCompareAndBranch::rn):
      (ARMv7DOpcodeMiscHint16):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscHint16::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscHint16::opA):
      (ARMv7DOpcodeMiscIfThenT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscIfThenT1::firstCondition):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscIfThenT1::mask):
      (ARMv7DOpcodeMiscPushPop):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscPushPop::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscPushPop::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMiscPushPop::registerMask):
      (ARMv7DOpcodeMoveImmediateT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMoveImmediateT1::rd):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMoveImmediateT1::immediate8):
      (ARMv7DOpcodeMoveRegisterT1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMoveRegisterT1::rd):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeMoveRegisterT1::rm):
      (ARMv7D32BitOpcode):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::OpcodeGroup::OpcodeGroup):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::OpcodeGroup::setNext):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::OpcodeGroup::next):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::OpcodeGroup::matches):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::OpcodeGroup::format):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::rd):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::rm):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::rn):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::rt):
      (JSC::ARMv7Disassembler::ARMv7D32BitOpcode::opcodeGroupNumber):
      (ARMv7DOpcodeBranchRelative):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchRelative::sBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchRelative::j1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchRelative::j2):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchRelative::immediate11):
      (ARMv7DOpcodeConditionalBranchT3):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeConditionalBranchT3::offset):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeConditionalBranchT3::condition):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeConditionalBranchT3::immediate6):
      (ARMv7DOpcodeBranchOrBranchLink):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchOrBranchLink::offset):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchOrBranchLink::immediate10):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeBranchOrBranchLink::isBL):
      (ARMv7DOpcodeDataProcessingLogicalAndRithmetic):
      (ARMv7DOpcodeDataProcessingModifiedImmediate):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingModifiedImmediate::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingModifiedImmediate::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingModifiedImmediate::sBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingModifiedImmediate::immediate12):
      (ARMv7DOpcodeDataProcessingShiftedReg):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingShiftedReg::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingShiftedReg::sBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingShiftedReg::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingShiftedReg::immediate5):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingShiftedReg::type):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingShiftedReg::tbBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingShiftedReg::tBit):
      (ARMv7DOpcodeDataProcessingReg):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingReg::op1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingReg::op2):
      (ARMv7DOpcodeDataProcessingRegShift):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegShift::opName):
      (ARMv7DOpcodeDataProcessingRegExtend):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegExtend::opExtendName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegExtend::opExtendAndAddName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegExtend::rotate):
      (ARMv7DOpcodeDataProcessingRegParallel):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegParallel::opName):
      (ARMv7DOpcodeDataProcessingRegMisc):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataProcessingRegMisc::opName):
      (ARMv7DOpcodeHint32):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeHint32::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeHint32::isDebugHint):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeHint32::debugOption):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeHint32::op):
      (ARMv7DOpcodeFPTransfer):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeFPTransfer::opH):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeFPTransfer::opL):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeFPTransfer::rt):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeFPTransfer::opC):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeFPTransfer::opB):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeFPTransfer::vd):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeFPTransfer::vn):
      (ARMv7DOpcodeDataLoad):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataLoad::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataLoad::op):
      (ARMv7DOpcodeLoadRegister):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadRegister::immediate2):
      (ARMv7DOpcodeLoadSignedImmediate):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadSignedImmediate::pBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadSignedImmediate::uBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadSignedImmediate::wBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadSignedImmediate::immediate8):
      (ARMv7DOpcodeLoadUnsignedImmediate):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLoadUnsignedImmediate::immediate12):
      (ARMv7DOpcodeLongMultipleDivide):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::smlalOpName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::smlaldOpName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::smlsldOpName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::rdLo):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::rdHi):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::op1):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::op2):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::nBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeLongMultipleDivide::mBit):
      (ARMv7DOpcodeDataPushPopSingle):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataPushPopSingle::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataPushPopSingle::op):
      (ARMv7DOpcodeDataStoreSingle):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataStoreSingle::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeDataStoreSingle::op):
      (ARMv7DOpcodeStoreSingleImmediate12):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeStoreSingleImmediate12::immediate12):
      (ARMv7DOpcodeStoreSingleImmediate8):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeStoreSingleImmediate8::pBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeStoreSingleImmediate8::uBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeStoreSingleImmediate8::wBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeStoreSingleImmediate8::immediate8):
      (ARMv7DOpcodeStoreSingleRegister):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeStoreSingleRegister::immediate2):
      (ARMv7DOpcodeUnmodifiedImmediate):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeUnmodifiedImmediate::opName):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeUnmodifiedImmediate::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeUnmodifiedImmediate::shBit):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeUnmodifiedImmediate::bitNumOrSatImmediate):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeUnmodifiedImmediate::immediate5):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeUnmodifiedImmediate::immediate12):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeUnmodifiedImmediate::immediate16):
      (ARMv7DOpcodeVMOVDoublePrecision):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMOVDoublePrecision::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMOVDoublePrecision::rt2):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMOVDoublePrecision::rt):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMOVDoublePrecision::vm):
      (ARMv7DOpcodeVMOVSinglePrecision):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMOVSinglePrecision::op):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMOVSinglePrecision::rt2):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMOVSinglePrecision::rt):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMOVSinglePrecision::vm):
      (ARMv7DOpcodeVMSR):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMSR::opL):
      (JSC::ARMv7Disassembler::ARMv7DOpcodeVMSR::rt):
      * disassembler/ARMv7Disassembler.cpp: Added.
      (JSC::tryToDisassemble):
      
      Source/WTF: 
      
      Added a new disassembler for ARMv7 Thumb2 instructions for use by the JSC debugging
      and profiling code.  Enabled the disassembler for IOS bulds.
      
      * wtf/Platform.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac9f0e52
    • mifenton@rim.com's avatar
      [BlackBerry] Style updates required based on new check-webkit-style · 757e8854
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115857
      
      Reviewed by Rob Buis.
      
      Update WebPage and WebPageClient to match check-webkit-style updates.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::init):
      (BlackBerry::WebKit::WebPage::executeJavaScriptInIsolatedWorld):
      (BlackBerry::WebKit::WebPagePrivate::zoomAboutPoint):
      (BlackBerry::WebKit::WebPagePrivate::calculateReflowedScrollPosition):
      (BlackBerry::WebKit::WebPagePrivate::centerOfVisibleContentsRect):
      (BlackBerry::WebKit::WebPage::assignFocus):
      (BlackBerry::WebKit::WebPagePrivate::resumeBackingStore):
      (BlackBerry::WebKit::WebPagePrivate::setViewportSize):
      (BlackBerry::WebKit::WebPage::deleteTextRelativeToCursor):
      (BlackBerry::WebKit::WebPage::addVisitedLink):
      (BlackBerry::WebKit::WebPagePrivate::findPatternStringForUrl):
      (BlackBerry::WebKit::WebPage::notifySwipeEvent):
      (BlackBerry::WebKit::WebPage::notifyScreenPowerStateChanged):
      (BlackBerry::WebKit::WebPagePrivate::commitRootLayerIfNeeded):
      (BlackBerry::WebKit::WebPagePrivate::setRootLayerWebKitThread):
      (BlackBerry::WebKit::WebPagePrivate::releaseLayerResourcesCompositingThread):
      * Api/WebPageClient.h:
      * Api/WebPage_p.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      757e8854
    • mifenton@rim.com's avatar
      [BlackBerry] Style updates required based on new check-webkit-style · 4686b464
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115857
      
      Reviewed by Rob Buis.
      
      Update BackingStore to match check-webkit-style updates.
      
      Internally reviewed by Jakob Petsovits.
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::bestDivisor):
      (BlackBerry::WebKit::BackingStorePrivate::repaint):
      (BlackBerry::WebKit::BackingStorePrivate::shouldMoveLeft):
      (BlackBerry::WebKit::BackingStorePrivate::shouldMoveRight):
      (BlackBerry::WebKit::BackingStorePrivate::shouldMoveUp):
      (BlackBerry::WebKit::BackingStorePrivate::shouldMoveDown):
      (BlackBerry::WebKit::BackingStorePrivate::canMoveLeft):
      (BlackBerry::WebKit::BackingStorePrivate::canMoveRight):
      (BlackBerry::WebKit::BackingStorePrivate::canMoveUp):
      (BlackBerry::WebKit::BackingStorePrivate::canMoveDown):
      (BlackBerry::WebKit::BackingStorePrivate::indexOfTile):
      (BlackBerry::WebKit::BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion):
      (BlackBerry::WebKit::BackingStorePrivate::scrollBackingStore):
      (BlackBerry::WebKit::BackingStoreGeometry::originOfTile):
      (BlackBerry::WebKit::BackingStore::repaint):
      * Api/BackingStore_p.h:
      (BackingStoreGeometry):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4686b464
    • mifenton@rim.com's avatar
      [BlackBerry] Style updates required based on new check-webkit-style · 28fe0aa6
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115857
      
      Reviewed by Rob Buis.
      
      Update ChromeClientBlackBerry, CredentialManager, FrameLoaderClientBlackBerry,
      GeolocationClientBlackBerry and IconDatabaseClientBlackberry to
      match check-webkit-style updates.
      
      * WebCoreSupport/ChromeClientBlackBerry.h:
      (ChromeClientBlackBerry):
      * WebCoreSupport/CredentialManager.h:
      (CredentialManager):
      * WebCoreSupport/CredentialTransformData.cpp:
      * WebCoreSupport/FrameLoaderClientBlackBerry.h:
      (WebCore::FrameLoaderClientBlackBerry::assignIdentifierToInitialRequest):
      (FrameLoaderClientBlackBerry):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDidReceiveAuthenticationChallenge):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDidCancelAuthenticationChallenge):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDidReceiveContentLength):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDidFinishLoading):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDidFailLoading):
      * WebCoreSupport/GeolocationClientBlackBerry.cpp:
      (GeolocationClientBlackBerry::onLocationUpdate):
      * WebCoreSupport/GeolocationClientBlackBerry.h:
      (GeolocationClientBlackBerry):
      * WebCoreSupport/IconDatabaseClientBlackBerry.cpp:
      (WebCore::IconDatabaseClientBlackBerry::initIconDatabase):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28fe0aa6
    • crogers@google.com's avatar
      Require use of AudioBus::create() to avoid ref-counting issues · e3249593
      crogers@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115836
      
      Reviewed by Andreas Kling.
      
      There were a couple of places still embedding raw AudioBus objects as
      member variables or local variables causing ref-counting problems
      now that AudioBus is ref-counted.  Make AudioBus constructor private
      to enforce use of AudioBus::create().
      
      Adapted from Blink patch:
      https://chromiumcodereview.appspot.com/14628008/
      
      * Modules/webaudio/AudioDestinationNode.h:
      (WebCore::AudioDestinationNode::LocalAudioInputProvider::LocalAudioInputProvider):
      (WebCore::AudioDestinationNode::LocalAudioInputProvider::set):
      (WebCore::AudioDestinationNode::LocalAudioInputProvider::provideInput):
      (LocalAudioInputProvider):
      * Modules/webaudio/AudioNodeInput.cpp:
      (WebCore::AudioNodeInput::AudioNodeInput):
      (WebCore::AudioNodeInput::updateInternalBus):
      * Modules/webaudio/AudioNodeOutput.cpp:
      (WebCore::AudioNodeOutput::AudioNodeOutput):
      (WebCore::AudioNodeOutput::updateInternalBus):
      * Modules/webaudio/AudioParam.cpp:
      (WebCore::AudioParam::calculateFinalValues):
      * Modules/webaudio/ConvolverNode.cpp:
      (WebCore::ConvolverNode::setBuffer):
      * Modules/webaudio/MediaStreamAudioDestinationNode.cpp:
      (WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode):
      (WebCore::MediaStreamAudioDestinationNode::process):
      * Modules/webaudio/MediaStreamAudioDestinationNode.h:
      * Modules/webaudio/OfflineAudioDestinationNode.cpp:
      (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode):
      * Modules/webaudio/ScriptProcessorNode.cpp:
      (WebCore::ScriptProcessorNode::ScriptProcessorNode):
      (WebCore::ScriptProcessorNode::process):
      * Modules/webaudio/ScriptProcessorNode.h:
      (ScriptProcessorNode):
      * platform/audio/AudioBus.cpp:
      (WebCore::AudioBus::create):
      (WebCore):
      (WebCore::AudioBus::AudioBus):
      (WebCore::AudioBus::createBufferFromRange):
      (WebCore::AudioBus::createBySampleRateConverting):
      (WebCore::AudioBus::createByMixingToMono):
      * platform/audio/AudioBus.h:
      (AudioBus):
      * platform/audio/AudioFIFO.cpp:
      (WebCore::AudioFIFO::AudioFIFO):
      (WebCore::AudioFIFO::consume):
      (WebCore::AudioFIFO::push):
      * platform/audio/AudioFIFO.h:
      (AudioFIFO):
      * platform/audio/AudioPullFIFO.cpp:
      (WebCore::AudioPullFIFO::AudioPullFIFO):
      (WebCore::AudioPullFIFO::fillBuffer):
      * platform/audio/AudioPullFIFO.h:
      (AudioPullFIFO):
      * platform/audio/AudioResampler.cpp:
      (WebCore::AudioResampler::AudioResampler):
      (WebCore::AudioResampler::configureChannels):
      * platform/audio/MultiChannelResampler.cpp:
      * platform/audio/Reverb.cpp:
      (WebCore::Reverb::initialize):
      * platform/audio/SincResampler.cpp:
      (WebCore::SincResampler::consumeSource):
      (WebCore):
      * platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
      (WebCore::AudioDestinationGStreamer::AudioDestinationGStreamer):
      * platform/audio/gstreamer/AudioDestinationGStreamer.h:
      (AudioDestinationGStreamer):
      * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
      (WebCore::AudioFileReader::createBus):
      * platform/audio/ios/AudioDestinationIOS.cpp:
      (WebCore::AudioDestinationIOS::AudioDestinationIOS):
      (WebCore::AudioDestinationIOS::render):
      * platform/audio/ios/AudioDestinationIOS.h:
      (AudioDestinationIOS):
      * platform/audio/mac/AudioDestinationMac.cpp:
      (WebCore::AudioDestinationMac::AudioDestinationMac):
      (WebCore::AudioDestinationMac::render):
      * platform/audio/mac/AudioDestinationMac.h:
      (AudioDestinationMac):
      * platform/audio/mac/AudioFileReaderMac.cpp:
      (WebCore::AudioFileReader::createBus):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3249593
    • zhajiang@rim.com's avatar
      Fix some compiler warnings (miscellaneous) · 3c3b47e4
      zhajiang@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=80790
      
      Patch by Jacky Jiang <zhajiang@blackberry.com> on 2013-05-09.
      Reviewed by Rob Buis.
      
      Fix the following warnings for BlackBerry:
      InRegionScroller.cpp:286:39: warning: suggest parentheses around
      assignment used as truth value [-Wparentheses].
      InRegionScroller.cpp:349:39: warning: suggest parentheses around
      assignment used as truth value [-Wparentheses].
      InRegionScroller.cpp:456:82: warning: suggest parentheses around '&&'
      within '||' [-Wparentheses].
      InRegionScrollableArea.cpp:134:16: warning: suggest explicit braces to
      avoid ambiguous 'else' [-Wparentheses].
      SelectionHandler.cpp:390:109: warning: suggest parentheses around '&&'
      within '||' [-Wparentheses].
      SelectionOverlay.cpp:56:47: warning: comparison between signed and
      unsigned integer expressions [-Wsign-compare].
      
      * Api/InRegionScroller.cpp:
      (BlackBerry::WebKit::InRegionScrollerPrivate::calculateInRegionScrollableAreasForPoint):
      (BlackBerry::WebKit::InRegionScrollerPrivate::firstScrollableInRegionForNode):
      (BlackBerry::WebKit::InRegionScrollerPrivate::canScrollRenderBox):
      * WebKitSupport/InRegionScrollableArea.cpp:
      (BlackBerry::WebKit::InRegionScrollableArea::InRegionScrollableArea):
      * WebKitSupport/SelectionHandler.cpp:
      (BlackBerry::WebKit::SelectionHandler::extendSelectionToFieldBoundary):
      * WebKitSupport/SelectionOverlay.cpp:
      (BlackBerry::WebKit::SelectionOverlay::draw):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c3b47e4
    • mifenton@rim.com's avatar
      [BlackBerry] Style updates required based on new check-webkit-style · f4080a7c
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115857
      
      Reviewed by Rob Buis.
      
      Update ColorPickerClient and PagePopupBlackBerry
      to match check-webkit-style updates.
      
      * WebCoreSupport/ColorPickerClient.cpp:
      (WebCore::ColorPickerClient::generateHTML):
      * WebCoreSupport/PagePopupBlackBerry.cpp:
      (WebCore::setValueAndClosePopupCallback):
      (WebCore::PagePopupBlackBerry::installDOMFunction):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4080a7c
    • commit-queue@webkit.org's avatar
      [BlackBerry] Upstream the input popups · 96336ad8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114608
      
      Patch by Alberto Garcia <agarcia@igalia.com> on 2013-05-09
      Reviewed by Rob Buis.
      
      This patch contains contributions from many members of the
      BlackBerry WebKit team, including:
      
      Chris Hutten-Czapski
      David Hoon
      Jessica Cao
      Rob Buis
      Tiancheng Jiang
      
      Source/WebCore:
      
      * Resources/blackberry/colorControlBlackBerry.css: Added.
      (.color-picker-popup-area):
      (.color-picker-content):
      (.color-picker-block):
      (#color-picker-swatch-block):
      (.color-picker-switcher):
      (.color-picker-check-mark):
      (.color-picker-option):
      (.color-picker-button):
      (.color-picker-highlight):
      (input):
      (.color-picker-sharp):
      (.color-picker-off):
      (.color-picker-inactive-font):
      (.color-picker-row):
      (.color-picker-hex-style):
      (.color-picker-input):
      (.color-picker-well):
      (.color-picker-input .color-picker-well):
      (.color-picker-slider):
      (.color-picker-slider-output):
      (.color-picker-range):
      (.color-picker-range::-webkit-slider-thumb):
      (.color-picker-range::-webkit-slider-thumb:active):
      (.red-ranger-bg):
      (.green-ranger-bg):
      (.blue-ranger-bg):
      (@media only screen and (height: 768px)):
      (@media only screen and (height: 720px)):
      * Resources/blackberry/colorControlBlackBerry.js: Added.
      (.):
      * Resources/blackberry/popupControlBlackBerry.css:
      (body):
      (.popup-area):
      (.popup-header):
      (.popup-content):
      (.popup-buttons):
      (.popup-button):
      (@media only screen and (width: 720px) and (height: 720px)):
      * Resources/blackberry/selectControlBlackBerry.css:
      (.popup-content):
      (@media (min-height: 918px)):
      (.option):
      (@media only screen and (width: 720px) and (height: 720px)):
      (.contents):
      (.option:active):
      (.selected):
      (.selected .contents::after):
      (.text):
      (.disabled):
      (.optgroup):
      (.optgroup-option):
      * Resources/blackberry/selectControlBlackBerry.js:
      (.):
      * Resources/blackberry/timeControlBlackBerry.css: Added.
      (#popup-content-time):
      (.column):
      (.column:not(:last-child)):
      (.cell):
      (.yearmonthdate .cell div:last-child):
      (.row-highlight-container):
      (.row-highlight-filler):
      (.row-highlight):
      (.tall-bit):
      (@media only screen and (width: 720px) and (height: 720px)):
      * Resources/blackberry/timeControlBlackBerry.js: Added.
      (.):
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/ColorPickerClient.cpp:
      (WebCore):
      (WebCore::ColorPickerClient::generateHTML):
      * WebCoreSupport/DatePickerClient.cpp:
      (WebCore):
      (WebCore::DatePickerClient::generateHTML):
      (WebCore::DatePickerClient::generateDateLabels):
      * WebCoreSupport/DatePickerClient.h:
      (DatePickerClient):
      * WebCoreSupport/SelectPopupClient.cpp:
      (WebCore):
      (WebCore::SelectPopupClient::generateHTML):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96336ad8
    • rwlbuis@webkit.org's avatar
      [BlackBerry] texmap code generates warnings · 37537f53
      rwlbuis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115815
      
      Patch by Rob Buis <rbuis@rim.com> on 2013-05-09
      Reviewed by Benjamin Poulain.
      
      Add USE(TEXTURE_MAPPER) guards since Source/WebCore/CMakeLists.txt includes
      these files unconditionally.
      
      * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
      * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
      * platform/graphics/texmap/TextureMapper.h:
      * platform/graphics/texmap/TextureMapperBackingStore.cpp:
      * platform/graphics/texmap/TextureMapperBackingStore.h:
      * platform/graphics/texmap/TextureMapperFPSCounter.cpp:
      * platform/graphics/texmap/TextureMapperFPSCounter.h:
      * platform/graphics/texmap/TextureMapperGL.cpp:
      * platform/graphics/texmap/TextureMapperGL.h:
      * platform/graphics/texmap/TextureMapperLayer.cpp:
      * platform/graphics/texmap/TextureMapperLayer.h:
      * platform/graphics/texmap/TextureMapperTile.cpp:
      * platform/graphics/texmap/TextureMapperTile.h:
      * platform/graphics/texmap/TextureMapperTiledBackingStore.cpp:
      * platform/graphics/texmap/TextureMapperTiledBackingStore.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37537f53
    • commit-queue@webkit.org's avatar
      PluginDatabase: add plugin directory for the BlackBerry port. · ddbb4694
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114943
      
      Patch by Alberto Garcia <agarcia@igalia.com> on 2013-05-09
      Reviewed by Rob Buis.
      
      XP_UNIX is defined for the BlackBerry port, but we don't want to
      share the same code here.
      
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::defaultPluginDirectories):
      (WebCore::PluginDatabase::isPreferredPluginDirectory):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ddbb4694
    • mifenton@rim.com's avatar
      [BlackBerry] Style updates required based on new check-webkit-style · 246c3acb
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115857
      
      Reviewed by Rob Buis.
      
      Update DOMSupport to match check-webkit-style updates.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::isTextInputElement):
      (BlackBerry::WebKit::DOMSupport::isPasswordElement):
      (BlackBerry::WebKit::DOMSupport::convertPointToFrame):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      246c3acb