1. 29 Oct, 2012 1 commit
  2. 27 Jan, 2011 1 commit
    • laszlo.1.gombos@nokia.com's avatar
      2011-01-27 Greg Coletta <greg.coletta@nokia.com> · 48183967
      laszlo.1.gombos@nokia.com authored
              Reviewed by Laszlo Gombos.
      
              Get rid of prefix header dependency for WebKit2 build system
              https://bugs.webkit.org/show_bug.cgi?id=50174
      
              Change the style checker so that it enforces config.h include for
              WebKit2.
      
              * Scripts/webkitpy/style/checker.py:
      
      2011-01-27  Greg Coletta  <greg.coletta@nokia.com>
      
              Reviewed by Laszlo Gombos.
      
              Get rid of prefix header dependency for WebKit2 build system
              https://bugs.webkit.org/show_bug.cgi?id=50174
      
              Guard EmptyProtocalDefinitions.h to make sure it's not included twice.
      
              * platform/mac/EmptyProtocolDefinitions.h:
      
      2011-01-27  Greg Coletta  <greg.coletta@nokia.com>
      
              Reviewed by Laszlo Gombos.
      
              Get rid of prefix header dependency for WebKit2 build system.
              https://bugs.webkit.org/show_bug.cgi?id=50174
      
              Add config.h include explicitelly.
      
              * Platform/CoreIPC/ArgumentDecoder.cpp:
              * Platform/CoreIPC/ArgumentEncoder.cpp:
              * Platform/CoreIPC/Attachment.cpp:
              * Platform/CoreIPC/BinarySemaphore.cpp:
              * Platform/CoreIPC/Connection.cpp:
              * Platform/CoreIPC/DataReference.cpp:
              * Platform/CoreIPC/gtk/ConnectionGtk.cpp:
              * Platform/CoreIPC/mac/ConnectionMac.cpp:
              * Platform/CoreIPC/qt/ConnectionQt.cpp:
              * Platform/CoreIPC/win/ConnectionWin.cpp:
              * Platform/Logging.cpp:
              * Platform/Module.cpp:
              * Platform/Region.cpp:
              * Platform/RunLoop.cpp:
              * Platform/WorkQueue.cpp:
              * Platform/cg/CGUtilities.cpp:
              * Platform/gtk/RunLoopGtk.cpp:
              * Platform/gtk/SharedMemoryGtk.cpp:
              * Platform/gtk/WorkQueueGtk.cpp:
              * Platform/mac/MachUtilities.cpp:
              * Platform/mac/SharedMemoryMac.cpp:
              * Platform/mac/WorkQueueMac.cpp:
              * Platform/qt/MappedMemoryPool.cpp:
              * Platform/qt/ModuleQt.cpp:
              * Platform/qt/RunLoopQt.cpp:
              * Platform/qt/WorkQueueQt.cpp:
              * Platform/win/ModuleWin.cpp:
              * Platform/win/RunLoopWin.cpp:
              * Platform/win/SharedMemoryWin.cpp:
              * Platform/win/WorkQueueWin.cpp:
              * PluginProcess/PluginControllerProxy.cpp:
              * PluginProcess/PluginProcess.cpp:
              * PluginProcess/WebProcessConnection.cpp:
              * Scripts/webkit2/messages.py:
              * Shared/API/c/WKArray.cpp:
              * Shared/API/c/WKCertificateInfo.cpp:
              * Shared/API/c/WKContextMenuItem.cpp:
              * Shared/API/c/WKData.cpp:
              * Shared/API/c/WKDictionary.cpp:
              * Shared/API/c/WKError.cpp:
              * Shared/API/c/WKImage.cpp:
              * Shared/API/c/WKMutableArray.cpp:
              * Shared/API/c/WKMutableDictionary.cpp:
              * Shared/API/c/WKNumber.cpp:
              * Shared/API/c/WKSecurityOrigin.cpp:
              * Shared/API/c/WKSerializedScriptValue.cpp:
              * Shared/API/c/WKString.cpp:
              * Shared/API/c/WKType.cpp:
              * Shared/API/c/WKURL.cpp:
              * Shared/API/c/WKURLRequest.cpp:
              * Shared/API/c/WKURLResponse.cpp:
              * Shared/API/c/WKUserContentURLPattern.cpp:
              * Shared/API/c/cf/WKStringCF.cpp:
              * Shared/API/c/cf/WKURLCF.cpp:
              * Shared/API/c/cf/WKURLRequestCF.cpp:
              * Shared/API/c/cf/WKURLResponseCF.cpp:
              * Shared/API/c/cg/WKImageCG.cpp:
              * Shared/API/c/win/WKCertificateInfoWin.cpp:
              * Shared/ChildProcess.cpp:
              * Shared/ImmutableArray.cpp:
              * Shared/ImmutableDictionary.cpp:
              * Shared/MutableArray.cpp:
              * Shared/MutableDictionary.cpp:
              * Shared/OriginAndDatabases.cpp:
              * Shared/PlatformPopupMenuData.cpp:
              * Shared/Plugins/NPIdentifierData.cpp:
              * Shared/Plugins/NPObjectMessageReceiver.cpp:
              * Shared/Plugins/NPObjectProxy.cpp:
              * Shared/Plugins/NPRemoteObjectMap.cpp:
              * Shared/Plugins/NPVariantData.cpp:
              * Shared/Plugins/Netscape/NetscapePluginModule.cpp:
              * Shared/Plugins/Netscape/win/NetscapePluginModuleWin.cpp:
              * Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:
              * Shared/Plugins/PluginProcessCreationParameters.cpp:
              * Shared/PrintInfo.cpp:
              * Shared/SessionState.cpp:
              * Shared/ShareableBitmap.cpp:
              * Shared/UpdateInfo.cpp:
              * Shared/VisitedLinkTable.cpp:
              * Shared/WebBackForwardListItem.cpp:
              * Shared/WebContextMenuItem.cpp:
              * Shared/WebContextMenuItemData.cpp:
              * Shared/WebError.cpp:
              * Shared/WebEvent.cpp:
              * Shared/WebEventConversion.cpp:
              * Shared/WebGeolocationPosition.cpp:
              * Shared/WebImage.cpp:
              * Shared/WebKeyboardEvent.cpp:
              * Shared/WebMemorySampler.cpp:
              * Shared/WebMouseEvent.cpp:
              * Shared/WebOpenPanelParameters.cpp:
              * Shared/WebPageCreationParameters.cpp:
              * Shared/WebPageGroupData.cpp:
              * Shared/WebPlatformTouchPoint.cpp:
              * Shared/WebPopupItem.cpp:
              * Shared/WebPreferencesStore.cpp:
              * Shared/WebProcessCreationParameters.cpp:
              * Shared/WebTouchEvent.cpp:
              * Shared/WebURLRequest.cpp:
              * Shared/WebURLResponse.cpp:
              * Shared/WebWheelEvent.cpp:
              * Shared/cairo/ShareableBitmapCairo.cpp:
              * Shared/cf/ArgumentCodersCF.cpp:
              * Shared/cg/ShareableBitmapCG.cpp:
              * Shared/gtk/ShareableBitmapGtk.cpp:
              * Shared/gtk/WebCoreArgumentCodersGtk.cpp:
              * Shared/mac/CommandLineMac.cpp:
              * Shared/mac/UpdateChunk.cpp:
              * Shared/qt/CleanupHandler.cpp:
              * Shared/qt/NativeWebKeyboardEventQt.cpp:
              * Shared/qt/ShareableBitmapQt.cpp:
              * Shared/qt/UpdateChunk.cpp:
              * Shared/qt/WebCoreArgumentCodersQt.cpp:
              * Shared/qt/WebEventFactoryQt.cpp:
              * Shared/qt/WebURLRequestQt.cpp:
              * Shared/qt/WebURLResponseQt.cpp:
              * Shared/win/CommandLineWin.cpp:
              * Shared/win/NativeWebKeyboardEventWin.cpp:
              * Shared/win/PlatformCertificateInfo.cpp:
              * Shared/win/UpdateChunk.cpp:
              * Shared/win/WebCoreArgumentCodersWin.cpp:
              * Shared/win/WebEventFactory.cpp:
              * Shared/win/WebURLRequestWin.cpp:
              * Shared/win/WebURLResponseWin.cpp:
              * UIProcess/API/C/WKAuthenticationChallenge.cpp:
              * UIProcess/API/C/WKAuthenticationDecisionListener.cpp:
              * UIProcess/API/C/WKBackForwardList.cpp:
              * UIProcess/API/C/WKBackForwardListItem.cpp:
              * UIProcess/API/C/WKContext.cpp:
              * UIProcess/API/C/WKCredential.cpp:
              * UIProcess/API/C/WKDatabaseManager.cpp:
              * UIProcess/API/C/WKDownload.cpp:
              * UIProcess/API/C/WKFormSubmissionListener.cpp:
              * UIProcess/API/C/WKFrame.cpp:
              * UIProcess/API/C/WKFramePolicyListener.cpp:
              * UIProcess/API/C/WKGeolocationManager.cpp:
              * UIProcess/API/C/WKGeolocationPermissionRequest.cpp:
              * UIProcess/API/C/WKGeolocationPosition.cpp:
              * UIProcess/API/C/WKInspector.cpp:
              * UIProcess/API/C/WKNavigationData.cpp:
              * UIProcess/API/C/WKOpenPanelParameters.cpp:
              * UIProcess/API/C/WKOpenPanelResultListener.cpp:
              * UIProcess/API/C/WKPage.cpp:
              * UIProcess/API/C/WKPageGroup.cpp:
              * UIProcess/API/C/WKPreferences.cpp:
              * UIProcess/API/C/WKProtectionSpace.cpp:
              * UIProcess/API/C/win/WKContextWin.cpp:
              * UIProcess/API/C/win/WKView.cpp:
              * UIProcess/API/C/win/WKViewPrivate.cpp:
              * UIProcess/API/cpp/qt/WKStringQt.cpp:
              * UIProcess/API/cpp/qt/WKURLQt.cpp:
              * UIProcess/API/qt/ClientImpl.cpp:
              * UIProcess/API/qt/qgraphicswkview.cpp:
              * UIProcess/API/qt/qwkcontext.cpp:
              * UIProcess/API/qt/qwkpage.cpp:
              * UIProcess/API/qt/qwkpreferences.cpp:
              * UIProcess/Authentication/AuthenticationChallengeProxy.cpp:
              * UIProcess/Authentication/AuthenticationDecisionListener.cpp:
              * UIProcess/Authentication/WebCredential.cpp:
              * UIProcess/Authentication/WebProtectionSpace.cpp:
              * UIProcess/BackingStore.cpp:
              * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:
              * UIProcess/Downloads/DownloadProxy.cpp:
              * UIProcess/DrawingAreaProxy.cpp:
              * UIProcess/DrawingAreaProxyImpl.cpp:
              * UIProcess/FindIndicator.cpp:
              * UIProcess/GeolocationPermissionRequestManagerProxy.cpp:
              * UIProcess/GeolocationPermissionRequestProxy.cpp:
              * UIProcess/Launcher/ProcessLauncher.cpp:
              * UIProcess/Launcher/ThreadLauncher.cpp:
              * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
              * UIProcess/Launcher/gtk/ThreadLauncherGtk.cpp:
              * UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
              * UIProcess/Launcher/qt/ThreadLauncherQt.cpp:
              * UIProcess/Launcher/win/ProcessLauncherWin.cpp:
              * UIProcess/Launcher/win/ThreadLauncherWin.cpp:
              * UIProcess/LayerBackedDrawingAreaProxy.cpp:
              * UIProcess/Plugins/PluginInfoStore.cpp:
              * UIProcess/Plugins/PluginProcessManager.cpp:
              * UIProcess/Plugins/PluginProcessProxy.cpp:
              * UIProcess/Plugins/gtk/PluginInfoStoreGtk.cpp:
              * UIProcess/Plugins/qt/PluginInfoStoreQt.cpp:
              * UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
              * UIProcess/ResponsivenessTimer.cpp:
              * UIProcess/TiledDrawingAreaProxy.cpp:
              * UIProcess/VisitedLinkProvider.cpp:
              * UIProcess/WebBackForwardList.cpp:
              * UIProcess/WebContext.cpp:
              * UIProcess/WebContextInjectedBundleClient.cpp:
              * UIProcess/WebContextMenuProxy.cpp:
              * UIProcess/WebDatabaseManagerProxy.cpp:
              * UIProcess/WebDatabaseManagerProxyClient.cpp:
              * UIProcess/WebDownloadClient.cpp:
              * UIProcess/WebEditCommandProxy.cpp:
              * UIProcess/WebFindClient.cpp:
              * UIProcess/WebFormClient.cpp:
              * UIProcess/WebFormSubmissionListenerProxy.cpp:
              * UIProcess/WebFrameListenerProxy.cpp:
              * UIProcess/WebFramePolicyListenerProxy.cpp:
              * UIProcess/WebFrameProxy.cpp:
              * UIProcess/WebGeolocationManagerProxy.cpp:
              * UIProcess/WebGeolocationProvider.cpp:
              * UIProcess/WebHistoryClient.cpp:
              * UIProcess/WebInspectorProxy.cpp:
              * UIProcess/WebLoaderClient.cpp:
              * UIProcess/WebNavigationData.cpp:
              * UIProcess/WebOpenPanelResultListenerProxy.cpp:
              * UIProcess/WebPageContextMenuClient.cpp:
              * UIProcess/WebPageGroup.cpp:
              * UIProcess/WebPageProxy.cpp:
              * UIProcess/WebPolicyClient.cpp:
              * UIProcess/WebPreferences.cpp:
              * UIProcess/WebProcessManager.cpp:
              * UIProcess/WebProcessProxy.cpp:
              * UIProcess/WebResourceLoadClient.cpp:
              * UIProcess/WebUIClient.cpp:
              * UIProcess/cf/WebBackForwardListCF.cpp:
              * UIProcess/cf/WebPageProxyCF.cpp:
              * UIProcess/cf/WebPreferencesCF.cpp:
              * UIProcess/gtk/TextCheckerGtk.cpp:
              * UIProcess/gtk/WebInspectorGtk.cpp:
              * UIProcess/gtk/WebPageProxyGtk.cpp:
              * UIProcess/gtk/WebPreferencesGtk.cpp:
              * UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp:
              * UIProcess/qt/TextCheckerQt.cpp:
              * UIProcess/qt/TiledDrawingAreaProxyQt.cpp:
              * UIProcess/qt/TiledDrawingAreaTileQt.cpp:
              * UIProcess/qt/WebContextMenuProxyQt.cpp:
              * UIProcess/qt/WebContextQt.cpp:
              * UIProcess/qt/WebInspectorProxyQt.cpp:
              * UIProcess/qt/WebPageProxyQt.cpp:
              * UIProcess/qt/WebPopupMenuProxyQt.cpp:
              * UIProcess/qt/WebPreferencesQt.cpp:
              * UIProcess/win/ChunkedUpdateDrawingAreaProxyWin.cpp:
              * UIProcess/win/LayerBackedDrawingAreaProxyWin.cpp:
              * UIProcess/win/TextCheckerWin.cpp:
              * UIProcess/win/WebContextMenuProxyWin.cpp:
              * UIProcess/win/WebContextWin.cpp:
              * UIProcess/win/WebInspectorProxyWin.cpp:
              * UIProcess/win/WebPageProxyWin.cpp:
              * UIProcess/win/WebPopupMenuProxyWin.cpp:
              * UIProcess/win/WebView.cpp:
              * WebKit2.xcodeproj/project.pbxproj:
              * WebProcess/Authentication/AuthenticationManager.cpp:
              * WebProcess/Downloads/Download.cpp:
              * WebProcess/Downloads/DownloadManager.cpp:
              * WebProcess/Downloads/cf/DownloadCFNet.cpp:
              * WebProcess/Downloads/curl/DownloadCurl.cpp:
              * WebProcess/Downloads/qt/DownloadQt.cpp:
              * WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp:
              * WebProcess/Geolocation/WebGeolocationManager.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundlePageGroup.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp:
              * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
              * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
              * WebProcess/InjectedBundle/InjectedBundle.cpp:
              * WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp:
              * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp:
              * WebProcess/InjectedBundle/InjectedBundleClient.cpp:
              * WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:
              * WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp:
              * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
              * WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
              * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
              * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
              * WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp:
              * WebProcess/InjectedBundle/gtk/InjectedBundleGtk.cpp:
              * WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp:
              * WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp:
              * WebProcess/InjectedBundle/win/InjectedBundleWin.cpp:
              * WebProcess/Plugins/Netscape/JSNPMethod.cpp:
              * WebProcess/Plugins/Netscape/JSNPObject.cpp:
              * WebProcess/Plugins/Netscape/NPJSObject.cpp:
              * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
              * WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp:
              * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
              * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
              * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
              * WebProcess/Plugins/Netscape/gtk/NetscapePluginGtk.cpp:
              * WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp:
              * WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
              * WebProcess/Plugins/Plugin.cpp:
              * WebProcess/Plugins/PluginProcessConnection.cpp:
              * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
              * WebProcess/Plugins/PluginProxy.cpp:
              * WebProcess/Plugins/PluginView.cpp:
              * WebProcess/WebCoreSupport/WebChromeClient.cpp:
              * WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
              * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
              * WebProcess/WebCoreSupport/WebDragClient.cpp:
              * WebProcess/WebCoreSupport/WebEditorClient.cpp:
              * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
              * WebProcess/WebCoreSupport/WebGeolocationClient.cpp:
              * WebProcess/WebCoreSupport/WebInspectorClient.cpp:
              * WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:
              * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
              * WebProcess/WebCoreSupport/WebPopupMenu.cpp:
              * WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp:
              * WebProcess/WebCoreSupport/gtk/WebContextMenuClientGtk.cpp:
              * WebProcess/WebCoreSupport/gtk/WebPopupMenuGtk.cpp:
              * WebProcess/WebCoreSupport/qt/WebContextMenuClientQt.cpp:
              * WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp:
              * WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.cpp:
              * WebProcess/WebCoreSupport/qt/WebPopupMenuQt.cpp:
              * WebProcess/WebCoreSupport/win/WebContextMenuClientWin.cpp:
              * WebProcess/WebCoreSupport/win/WebErrorsWin.cpp:
              * WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp:
              * WebProcess/WebKitMain.cpp:
              * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
              * WebProcess/WebPage/DecoderAdapter.cpp:
              * WebProcess/WebPage/DrawingArea.cpp:
              * WebProcess/WebPage/DrawingAreaImpl.cpp:
              * WebProcess/WebPage/EncoderAdapter.cpp:
              * WebProcess/WebPage/FindController.cpp:
              * WebProcess/WebPage/LayerBackedDrawingArea.cpp:
              * WebProcess/WebPage/PageOverlay.cpp:
              * WebProcess/WebPage/TiledDrawingArea.cpp:
              * WebProcess/WebPage/WebBackForwardListProxy.cpp:
              * WebProcess/WebPage/WebContextMenu.cpp:
              * WebProcess/WebPage/WebEditCommand.cpp:
              * WebProcess/WebPage/WebFrame.cpp:
              * WebProcess/WebPage/WebInspector.cpp:
              * WebProcess/WebPage/WebOpenPanelResultListener.cpp:
              * WebProcess/WebPage/WebPage.cpp:
              * WebProcess/WebPage/WebPageGroupProxy.cpp:
              * WebProcess/WebPage/gtk/WebInspectorGtk.cpp:
              * WebProcess/WebPage/mac/ChunkedUpdateDrawingAreaMac.cpp:
              * WebProcess/WebPage/qt/ChunkedUpdateDrawingAreaQt.cpp:
              * WebProcess/WebPage/qt/TiledDrawingAreaQt.cpp:
              * WebProcess/WebPage/qt/WebInspectorQt.cpp:
              * WebProcess/WebPage/qt/WebPageQt.cpp:
              * WebProcess/WebPage/win/ChunkedUpdateDrawingAreaWin.cpp:
              * WebProcess/WebPage/win/LayerBackedDrawingAreaWin.cpp:
              * WebProcess/WebPage/win/WebInspectorWin.cpp:
              * WebProcess/WebPage/win/WebPageWin.cpp:
              * WebProcess/WebProcess.cpp:
              * WebProcess/gtk/WebProcessGtk.cpp:
              * WebProcess/gtk/WebProcessMainGtk.cpp:
              * WebProcess/qt/WebProcessMainQt.cpp:
              * WebProcess/qt/WebProcessQt.cpp:
              * WebProcess/win/WebProcessMainWin.cpp:
              * WebProcess/win/WebProcessWin.cpp:
              * config.h: Copied from Source/WebKit2/WebKit2Prefix.h.
              * win/WebKit2Common.vsprops:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48183967
  3. 15 Jan, 2011 1 commit
    • abarth@webkit.org's avatar
      Move WebKit2 into Source · be159d97
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=52438
      
      Rubber-stamped by Eric Seidel.
      
      .: 
      
      Update reference to WebKit2.
      
      * DerivedSources.pro:
      * GNUmakefile.am:
      * Makefile:
      * Source/cmake/WebKitPackaging.cmake:
      * WebKit.pro:
      * configure.ac:
      
      Source/WebCore: 
      
      * WebCore.pro:
      
      Source/WebKit2: 
      
      * DerivedSources.pro:
      * GNUmakefile.am:
      * WebKit2.pro:
      * WebProcess.pro:
      * win/WebKit2.vcproj:
      * win/WebKit2WebProcess.vcproj:
      
      Tools: 
      
      * MiniBrowser/qt/MiniBrowser.pro:
      * Scripts/build-webkit:
      * Scripts/do-file-rename:
      * Scripts/do-webcore-rename:
      * Scripts/test-webkitpy:
      * Scripts/webkitdirs.pm:
      * Scripts/webkitpy/style/checker.py:
      * WebKitTestRunner/DerivedSources.pro:
      * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
      * WebKitTestRunner/qt/WebKitTestRunner.pro:
      
      WebKit/win: 
      
      Update reference to WebKit2.
      
      * WebKit.vcproj/WebKit.sln:
      
      Websites/bugs.webkit.org: 
      
      Remove WebKit2 from the list of top-level source directories.
      
      * PrettyPatch/PrettyPatch.rb:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be159d97
  4. 06 Oct, 2010 1 commit
    • andersca@apple.com's avatar
      Rename toRef/toWK to toAPI/toImpl · 0053508a
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=47281
      
      Reviewed by Sam Weinig.
      
      * Shared/API/c/WKArray.cpp:
      * Shared/API/c/WKCertificateInfo.cpp:
      * Shared/API/c/WKData.cpp:
      * Shared/API/c/WKDictionary.cpp:
      * Shared/API/c/WKError.cpp:
      * Shared/API/c/WKMutableArray.cpp:
      * Shared/API/c/WKMutableDictionary.cpp:
      * Shared/API/c/WKNumber.cpp:
      * Shared/API/c/WKSerializedScriptValue.cpp:
      * Shared/API/c/WKSharedAPICast.h:
      * Shared/API/c/WKString.cpp:
      * Shared/API/c/WKType.cpp:
      * Shared/API/c/WKURL.cpp:
      * Shared/API/c/WKURLRequest.cpp:
      * Shared/API/c/WKURLResponse.cpp:
      * Shared/API/c/cf/WKStringCF.cpp:
      * Shared/API/c/cf/WKURLCF.cpp:
      * Shared/API/c/cf/WKURLRequestCF.cpp:
      * Shared/API/c/cf/WKURLResponseCF.cpp:
      * Shared/API/c/mac/WKCertificateInfoMac.mm:
      * Shared/API/c/mac/WKURLRequestNS.mm:
      * Shared/API/c/mac/WKURLResponseNS.mm:
      * Shared/API/c/win/WKCertificateInfoWin.cpp:
      * UIProcess/API/C/WKAPICast.h:
      * UIProcess/API/C/WKBackForwardList.cpp:
      * UIProcess/API/C/WKBackForwardListItem.cpp:
      * UIProcess/API/C/WKContext.cpp:
      * UIProcess/API/C/WKFormSubmissionListener.cpp:
      * UIProcess/API/C/WKFrame.cpp:
      * UIProcess/API/C/WKFramePolicyListener.cpp:
      * UIProcess/API/C/WKNavigationData.cpp:
      * UIProcess/API/C/WKPage.cpp:
      * UIProcess/API/C/WKPageNamespace.cpp:
      * UIProcess/API/C/WKPreferences.cpp:
      * UIProcess/API/C/WKPreferencesPrivate.cpp:
      * UIProcess/API/C/win/WKContextWin.cpp:
      * UIProcess/API/C/win/WKView.cpp:
      * UIProcess/API/cpp/qt/WKStringQt.cpp:
      * UIProcess/API/cpp/qt/WKURLQt.cpp:
      * UIProcess/API/mac/PageClientImpl.mm:
      * UIProcess/API/mac/WKView.mm:
      * UIProcess/API/qt/ClientImpl.cpp:
      * UIProcess/API/qt/qwkpage.cpp:
      * UIProcess/GenericCallback.h:
      * UIProcess/WebContextInjectedBundleClient.cpp:
      * UIProcess/WebFormClient.cpp:
      * UIProcess/WebHistoryClient.cpp:
      * UIProcess/WebLoaderClient.cpp:
      * UIProcess/WebPolicyClient.cpp:
      * UIProcess/WebUIClient.cpp:
      * UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm:
      * UIProcess/mac/LayerBackedDrawingAreaProxyMac.mm:
      * UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
      * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp:
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
      * WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
      * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
      * WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp:
      * WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp:
      * WebProcess/InjectedBundle/win/InjectedBundleWin.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0053508a
  5. 26 Sep, 2010 1 commit
    • weinig@apple.com's avatar
      Move shared WebKit2 API (used by both bundle and main API) to WebKit2/Shared/API · e7ef4326
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=46587
      
      Reviewed by Anders Carlsson.
      
      WebKit2: 
      
      - Moves shared types (WKArrayRef, WKDictionaryRef, etc) to Shared/API/c.
      - Removes WKBundleBase.h and moves all opaque type declarations to WKBase.h (which
        moves to Shared/API/c).
      - Adds WKSharedAPICast.h which includes shared API casting logic and is included
        by both WKAPICast.h and WKBundleAPICast.h now. Moved to using macros for API 
        mappings to reduce verbosity.
      - Move windows c API files from UIProcess/API/win to UIProcess/API/C/win.
      
      * Shared/API: Added.
      * Shared/API/c: Added.
      * Shared/API/c/WKArray.cpp: Copied from UIProcess/API/C/WKArray.cpp.
      * Shared/API/c/WKArray.h: Copied from UIProcess/API/C/WKArray.h.
      * Shared/API/c/WKBase.h: Copied from UIProcess/API/C/WKBase.h.
      * Shared/API/c/WKCertificateInfo.cpp: Copied from UIProcess/API/C/WKCertificateInfo.cpp.
      * Shared/API/c/WKCertificateInfo.h: Copied from UIProcess/API/C/WKCertificateInfo.h.
      * Shared/API/c/WKData.cpp: Copied from UIProcess/API/C/WKData.cpp.
      * Shared/API/c/WKData.h: Copied from UIProcess/API/C/WKData.h.
      * Shared/API/c/WKDictionary.cpp: Copied from UIProcess/API/C/WKDictionary.cpp.
      * Shared/API/c/WKDictionary.h: Copied from UIProcess/API/C/WKDictionary.h.
      * Shared/API/c/WKError.cpp: Copied from UIProcess/API/C/WKError.cpp.
      * Shared/API/c/WKError.h: Copied from UIProcess/API/C/WKError.h.
      * Shared/API/c/WKMutableArray.cpp: Copied from UIProcess/API/C/WKMutableArray.cpp.
      * Shared/API/c/WKMutableArray.h: Copied from UIProcess/API/C/WKMutableArray.h.
      * Shared/API/c/WKMutableDictionary.cpp: Copied from UIProcess/API/C/WKMutableDictionary.cpp.
      * Shared/API/c/WKMutableDictionary.h: Copied from UIProcess/API/C/WKMutableDictionary.h.
      * Shared/API/c/WKNumber.cpp: Copied from UIProcess/API/C/WKNumber.cpp.
      * Shared/API/c/WKNumber.h: Copied from UIProcess/API/C/WKNumber.h.
      * Shared/API/c/WKSerializedScriptValue.cpp: Copied from UIProcess/API/C/WKSerializedScriptValue.cpp.
      * Shared/API/c/WKSerializedScriptValue.h: Copied from UIProcess/API/C/WKSerializedScriptValue.h.
      * Shared/API/c/WKSharedAPICast.h: Copied from UIProcess/API/C/WKAPICast.h.
      * Shared/API/c/WKString.cpp: Copied from UIProcess/API/C/WKString.cpp.
      * Shared/API/c/WKString.h: Copied from UIProcess/API/C/WKString.h.
      * Shared/API/c/WKType.cpp: Copied from UIProcess/API/C/WKType.cpp.
      * Shared/API/c/WKType.h: Copied from UIProcess/API/C/WKType.h.
      * Shared/API/c/WKURL.cpp: Copied from UIProcess/API/C/WKURL.cpp.
      * Shared/API/c/WKURL.h: Copied from UIProcess/API/C/WKURL.h.
      * Shared/API/c/WKURLRequest.cpp: Copied from UIProcess/API/C/WKURLRequest.cpp.
      * Shared/API/c/WKURLRequest.h: Copied from UIProcess/API/C/WKURLRequest.h.
      * Shared/API/c/WKURLResponse.cpp: Copied from UIProcess/API/C/WKURLResponse.cpp.
      * Shared/API/c/WKURLResponse.h: Copied from UIProcess/API/C/WKURLResponse.h.
      * Shared/API/c/cf: Copied from UIProcess/API/C/cf.
      * Shared/API/c/mac: Copied from UIProcess/API/C/mac.
      * Shared/API/c/win: Added.
      * Shared/API/c/win/WKBaseWin.h: Copied from UIProcess/API/win/WKBaseWin.h.
      * Shared/API/c/win/WKCertificateInfoWin.cpp: Copied from UIProcess/API/C/win/WKCertificateInfoWin.cpp.
      * Shared/API/c/win/WKCertificateInfoWin.h: Copied from UIProcess/API/C/win/WKCertificateInfoWin.h.
      * UIProcess/API/C/WKAPICast.h: Replaced.
      * UIProcess/API/C/WKArray.cpp: Removed.
      * UIProcess/API/C/WKArray.h: Removed.
      * UIProcess/API/C/WKBase.h: Removed.
      * UIProcess/API/C/WKCertificateInfo.cpp: Removed.
      * UIProcess/API/C/WKCertificateInfo.h: Removed.
      * UIProcess/API/C/WKData.cpp: Removed.
      * UIProcess/API/C/WKData.h: Removed.
      * UIProcess/API/C/WKDictionary.cpp: Removed.
      * UIProcess/API/C/WKDictionary.h: Removed.
      * UIProcess/API/C/WKError.cpp: Removed.
      * UIProcess/API/C/WKError.h: Removed.
      * UIProcess/API/C/WKMutableArray.cpp: Removed.
      * UIProcess/API/C/WKMutableArray.h: Removed.
      * UIProcess/API/C/WKMutableDictionary.cpp: Removed.
      * UIProcess/API/C/WKMutableDictionary.h: Removed.
      * UIProcess/API/C/WKNumber.cpp: Removed.
      * UIProcess/API/C/WKNumber.h: Removed.
      * UIProcess/API/C/WKSerializedScriptValue.cpp: Removed.
      * UIProcess/API/C/WKSerializedScriptValue.h: Removed.
      * UIProcess/API/C/WKString.cpp: Removed.
      * UIProcess/API/C/WKString.h: Removed.
      * UIProcess/API/C/WKType.cpp: Removed.
      * UIProcess/API/C/WKType.h: Removed.
      * UIProcess/API/C/WKURL.cpp: Removed.
      * UIProcess/API/C/WKURL.h: Removed.
      * UIProcess/API/C/WKURLRequest.cpp: Removed.
      * UIProcess/API/C/WKURLRequest.h: Removed.
      * UIProcess/API/C/WKURLResponse.cpp: Removed.
      * UIProcess/API/C/WKURLResponse.h: Removed.
      * UIProcess/API/C/cf: Removed.
      * UIProcess/API/C/cf/WKStringCF.cpp: Removed.
      * UIProcess/API/C/cf/WKStringCF.h: Removed.
      * UIProcess/API/C/cf/WKURLCF.cpp: Removed.
      * UIProcess/API/C/cf/WKURLCF.h: Removed.
      * UIProcess/API/C/cf/WKURLRequestCF.cpp: Removed.
      * UIProcess/API/C/cf/WKURLRequestCF.h: Removed.
      * UIProcess/API/C/cf/WKURLResponseCF.cpp: Removed.
      * UIProcess/API/C/cf/WKURLResponseCF.h: Removed.
      * UIProcess/API/C/mac: Removed.
      * UIProcess/API/C/mac/WKCertificateInfoMac.h: Removed.
      * UIProcess/API/C/mac/WKCertificateInfoMac.mm: Removed.
      * UIProcess/API/C/mac/WKURLRequestNS.h: Removed.
      * UIProcess/API/C/mac/WKURLRequestNS.mm: Removed.
      * UIProcess/API/C/mac/WKURLResponseNS.h: Removed.
      * UIProcess/API/C/mac/WKURLResponseNS.mm: Removed.
      * UIProcess/API/C/win/WKAPICastWin.h: Copied from UIProcess/API/win/WKAPICastWin.h.
      * UIProcess/API/C/win/WKBaseWin.h: Copied from UIProcess/API/win/WKBaseWin.h.
      * UIProcess/API/C/win/WKCertificateInfoWin.cpp: Removed.
      * UIProcess/API/C/win/WKCertificateInfoWin.h: Removed.
      * UIProcess/API/C/win/WKView.cpp: Copied from UIProcess/API/win/WKView.cpp.
      * UIProcess/API/C/win/WKView.h: Copied from UIProcess/API/win/WKView.h.
      * UIProcess/API/win: Removed.
      * UIProcess/API/win/WKAPICastWin.h: Removed.
      * UIProcess/API/win/WKBaseWin.h: Removed.
      * UIProcess/API/win/WKView.cpp: Removed.
      * UIProcess/API/win/WKView.h: Removed.
      * WebKit2.pro:
      * WebKit2.xcodeproj/project.pbxproj:
      * WebProcess/InjectedBundle/API/c/WKBundle.h:
      * WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
      * WebProcess/InjectedBundle/API/c/WKBundleBase.h: Removed.
      * WebProcess/InjectedBundle/API/c/WKBundleFrame.h:
      * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
      * WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.h:
      * WebProcess/InjectedBundle/API/c/WKBundleInitialize.h:
      * WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.h:
      * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
      * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:
      * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
      * WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.h:
      * WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.h:
      * win/WebKit2.vcproj:
      * win/WebKit2Generated.make:
      
      WebKitTools: 
      
      * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7ef4326
  6. 07 Sep, 2010 1 commit
    • andersca@apple.com's avatar
      Fix clang++ build. · ebb108c5
      andersca@apple.com authored
      Reviewed by Sam Weinig.
      
      * UIProcess/API/C/WKAPICast.h:
      Move all functions into the WebKit namespace.
      
      * UIProcess/API/C/cf/WKStringCF.cpp:
      Add using namespace WebKit.
      
      * WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
      Move all functions into the WebKit namespace.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebb108c5
  7. 16 Aug, 2010 1 commit
    • weinig@apple.com's avatar
      Remove #includes of <WebCore/PlatformString.h> in favor of <wtf/text/WTFString.h> · 7bf96830
      weinig@apple.com authored
      Reviewed by Gavin Barraclough.
      
      * Platform/Module.cpp:
      * Platform/Module.h:
      * Shared/CommandLine.h:
      * Shared/WebCoreArgumentCoders.h:
      * Shared/WebEvent.h:
      * Shared/WebNavigationDataStore.h:
      * Shared/WebPreferencesStore.h:
      * Shared/WebString.h:
      * Shared/WebURL.h:
      * Shared/mac/CommandLineMac.cpp:
      * Shared/qt/UpdateChunk.cpp:
      * UIProcess/API/C/WKContext.cpp:
      * UIProcess/API/C/cf/WKStringCF.cpp:
      * UIProcess/API/C/cf/WKURLCF.cpp:
      * UIProcess/API/cpp/qt/WKStringQt.cpp:
      * UIProcess/API/cpp/qt/WKURLQt.cpp:
      * UIProcess/API/mac/PageClientImpl.mm:
      * UIProcess/API/qt/qgraphicswkview.cpp:
      * UIProcess/Launcher/mac/ProcessLauncherMac.mm:
      * UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
      * UIProcess/Launcher/win/ProcessLauncherWin.cpp:
      * UIProcess/WebBackForwardListItem.cpp:
      * UIProcess/WebBackForwardListItem.h:
      * UIProcess/WebContext.h:
      * UIProcess/WebContextInjectedBundleClient.cpp:
      * UIProcess/WebFrameProxy.cpp:
      * UIProcess/WebFrameProxy.h:
      * UIProcess/WebPageProxy.h:
      * UIProcess/WebPolicyClient.cpp:
      * UIProcess/WebProcessProxy.cpp:
      * UIProcess/WebUIClient.cpp:
      * UIProcess/win/WebView.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      * WebProcess/InjectedBundle/InjectedBundle.h:
      * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
      * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
      * WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp:
      * WebProcess/Plugins/JSNPObject.cpp:
      * WebProcess/Plugins/NPJSObject.cpp:
      * WebProcess/Plugins/Netscape/NetscapePluginModule.cpp:
      * WebProcess/Plugins/Netscape/NetscapePluginModule.h:
      * WebProcess/WebCoreSupport/WebChromeClient.h:
      * WebProcess/WebKitMain.cpp:
      * WebProcess/win/WebProcessMainWin.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7bf96830
  8. 28 Jul, 2010 1 commit
    • weinig@apple.com's avatar
      Patch for https://bugs.webkit.org/show_bug.cgi?id=43097 · 97cb2fd1
      weinig@apple.com authored
      Make all objects in the WebKit2 API inherit from a single base class
      
      Reviewed by Anders Carlsson.
      
      - Adds an APIObject base class for all objects which can get vender through
        the C API to inherit from.
      - Adds a WebString class which wraps WebCore::String for now. I am not too fond of
        this solution, so we continue should iterate on it.
      - This is a first step toward make a CF-style base type (eg. CFTypeRef) for the C-API.
      
      * Shared/APIObject.h: Added.
      (WebKit::APIObject::APIObject):
      Base class for API objects.
      
      * Shared/ImmutableArray.h:
      Make inherit from APIObject.
      
      * Shared/WebString.h: Added.
      (WebKit::WebString::create):
      (WebKit::WebString::isNull):
      (WebKit::WebString::isEmpty):
      (WebKit::WebString::string):
      (WebKit::WebString::WebString):
      Wraps a WebCore::String so that it can be passed out to the API
      and still inherit from APIObject.
      
      * UIProcess/API/C/WKAPICast.h:
      (WebKit::WebStringAdaptor::WebStringAdaptor):
      (WebKit::WebStringAdaptor::operator WKStringRef):
      (WebKit::WebStringAdaptor::operator WKURLRef):
      Update conversion methods to deal in terms of WebStrings. Added WebStringAdaptor
      to ease passing strings to client functions.
      
      * UIProcess/API/C/WKContext.cpp:
      (WKContextCreateWithInjectedBundlePath):
      (WKContextPostMessageToInjectedBundle):
      (_WKContextSetAdditionalPluginPath):
      (_WKContextRegisterURLSchemeAsEmptyDocument): 
      Get the WebCore::String from the WebString.
      
      * UIProcess/API/C/WKPage.cpp:
      (WKPageLoadURL):
      Ditto.
      
      * UIProcess/API/C/WKString.cpp:
      (WKStringIsEmpty):
      Implement in terms of WebString.
      
      * UIProcess/API/C/WKURL.cpp:
      * UIProcess/API/C/cf/WKStringCF.cpp:
      (WKStringCreateWithCFString):
      (WKStringCopyCFString):
      Ditto.
          
      * UIProcess/API/C/cf/WKURLCF.cpp:
      (WKURLCreateWithCFURL):
      (WKURLCopyCFURL):
      Ditto.
      
      * UIProcess/WebBackForwardList.h:
      Make inherit from APIObject.
      
      * UIProcess/WebBackForwardListItem.h:
      Ditto.
      
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::didReceiveMessageFromInjectedBundle):
      (WebKit::WebContext::postMessageToInjectedBundle):
      (WebKit::WebContext::registerURLSchemeAsEmptyDocument):
      Use String instead of StringImpl to be consistent.
      
      * UIProcess/WebContext.h:
      Make inherit from APIObject.
      
      * UIProcess/WebFramePolicyListenerProxy.h:
      Ditto.
      
      * UIProcess/WebFrameProxy.h:
      Ditto.
      
      * UIProcess/WebNavigationData.h:
      Ditto.
      
      * UIProcess/WebPageNamespace.h:
      Ditto.
      
      * UIProcess/WebPageProxy.h:
      Ditto.
      
      * UIProcess/WebPreferences.h:
      Ditto.
      
      * UIProcess/WebUIClient.cpp:
      (WebKit::WebUIClient::runJavaScriptPrompt):
      Implement in terms of WebString.
      
      * UIProcess/win/WebView.h:
      Make inherit from APIObject.
      
      * WebKit2.xcodeproj/project.pbxproj:
      Add new files.
      
      * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
      (WKBundlePostMessage):
      Get the WebCore::String from the WebString.
      
      * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
      (WKBundleFramePauseAnimationOnElementWithId):
      Ditto.
      
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::postMessage):
      * WebProcess/InjectedBundle/InjectedBundle.h:
      Use String instead of StringImpl to be consistent.
      
      * WebProcess/WebPage/WebFrame.h:
      Make inherit from APIObject.
      
      * WebProcess/WebPage/WebPage.h:
      Make inherit from APIObject.
      
      * win/WebKit2.vcproj:
      Add new files.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97cb2fd1
  9. 27 Apr, 2010 2 commits
  10. 15 Apr, 2010 1 commit
  11. 09 Apr, 2010 1 commit
    • weinig@apple.com's avatar
      Fix for https://bugs.webkit.org/show_bug.cgi?id=37347 · 0664edbb
      weinig@apple.com authored
      Don't use CF types in the new C API
      
      Reviewed by Anders Carlsson.
      
      Replace all uses of CF types in the C API.
      - Replace CFStringRef with WKStringRef.
      - Replace CFURLRef with WKURLRef.
      
      * WebKit2.xcodeproj/project.pbxproj: Add new files.
      
      * Shared/KURLWrapper.h: Added. RefCounted wrapper around KURL.
      * UIProcess/API/C/WKAPICast.h: Add new conversions.
      * UIProcess/API/C/WKBase.h: Add new types.
      * UIProcess/API/C/WKFrame.cpp:
      * UIProcess/API/C/WKFrame.h: 
      * UIProcess/API/C/WKPage.cpp:
      * UIProcess/API/C/WKPage.h:
      Replace uses of CF types with WK equivalents.
      
      * UIProcess/API/C/WKString.cpp: Added.
      * UIProcess/API/C/WKString.h: Added.
      Represents a WebCore::StringImpl*.
      
      * UIProcess/API/C/WKURL.cpp: Added.
      * UIProcess/API/C/WKURL.h: Added.
      Represents a WebKit::KURLWrapper*.
      
      * UIProcess/API/C/cf: Added.
      * UIProcess/API/C/cf/WKStringCF.cpp: Added.
      * UIProcess/API/C/cf/WKStringCF.h: Added.
      * UIProcess/API/C/cf/WKURLCF.cpp: Added.
      * UIProcess/API/C/cf/WKURLCF.h: Added.
      CoreFoundation conversion files. Allows converting
       WKStringRef <-> CFStringRef
       WKURLRef <-> CFURLRef
      
      * UIProcess/ScriptReturnValueCallback.cpp:
      (WebKit::ScriptReturnValueCallback::performCallbackWithReturnValue):
      * UIProcess/ScriptReturnValueCallback.h:
      * UIProcess/WebFrameProxy.cpp:
      (WebKit::WebFrameProxy::didStartProvisionalLoad):
      (WebKit::WebFrameProxy::didCommitLoad):
      * UIProcess/WebFrameProxy.h:
      (WebKit::WebFrameProxy::url):
      (WebKit::WebFrameProxy::provisionalURL):
      * UIProcess/WebLoaderClient.cpp:
      (WebKit::WebLoaderClient::didReceiveTitleForFrame):
      * UIProcess/WebLoaderClient.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::close):
      (WebKit::WebPageProxy::didReceiveTitleForFrame):
      (WebKit::WebPageProxy::decidePolicyForNavigationAction):
      (WebKit::WebPageProxy::decidePolicyForNewWindowAction):
      (WebKit::WebPageProxy::decidePolicyForMIMEType):
      (WebKit::WebPageProxy::runJavaScriptAlert):
      (WebKit::WebPageProxy::didRunJavaScriptInMainFrame):
      (WebKit::WebPageProxy::processDidExit):
      * UIProcess/WebPageProxy.h:
      (WebKit::WebPageProxy::pageTitle):
      (WebKit::WebPageProxy::urlAtProcessExit):
      * UIProcess/WebPolicyClient.cpp:
      (WebKit::WebPolicyClient::decidePolicyForNavigationAction):
      (WebKit::WebPolicyClient::decidePolicyForNewWindowAction):
      (WebKit::WebPolicyClient::decidePolicyForMIMEType):
      * UIProcess/WebPolicyClient.h:
      * UIProcess/WebUIClient.cpp:
      (WebKit::WebUIClient::runJavaScriptAlert):
      * UIProcess/WebUIClient.h:
      Don't use CF types internally at all.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::frameLoaderDestroyed):
      Fix typo.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0664edbb
  12. 08 Apr, 2010 2 commits
    • weinig@apple.com's avatar
      Add WebKit2/UIProcess directory. · b945598b
      weinig@apple.com authored
      Patch by Anders Carlsson <andersca@apple.com> on 2010-04-08
      Reviewed by Sam Weinig.
      
      * UIProcess: Added.
      * UIProcess/API: Added.
      * UIProcess/API/C: Added.
      * UIProcess/API/C/WKAPICast.h: Added.
      * UIProcess/API/C/WKBase.h: Added.
      * UIProcess/API/C/WKContext.cpp: Added.
      * UIProcess/API/C/WKContext.h: Added.
      * UIProcess/API/C/WKFrame.cpp: Added.
      * UIProcess/API/C/WKFrame.h: Added.
      * UIProcess/API/C/WKFramePolicyListener.cpp: Added.
      * UIProcess/API/C/WKFramePolicyListener.h: Added.
      * UIProcess/API/C/WKPage.cpp: Added.
      * UIProcess/API/C/WKPage.h: Added.
      * UIProcess/API/C/WKPageNamespace.cpp: Added.
      * UIProcess/API/C/WKPageNamespace.h: Added.
      * UIProcess/API/C/WKPreferences.cpp: Added.
      * UIProcess/API/C/WKPreferences.h: Added.
      * UIProcess/API/C/WebKit2.h: Added.
      * UIProcess/API/mac: Added.
      * UIProcess/API/mac/PageClientImpl.h: Added.
      * UIProcess/API/mac/PageClientImpl.mm: Added.
      * UIProcess/API/mac/WKView.h: Added.
      * UIProcess/API/mac/WKView.mm: Added.
      * UIProcess/API/mac/WKViewInternal.h: Added.
      * UIProcess/API/win: Added.
      * UIProcess/API/win/WKAPICastWin.h: Added.
      * UIProcess/API/win/WKBaseWin.h: Added.
      * UIProcess/API/win/WKView.cpp: Added.
      * UIProcess/API/win/WKView.h: Added.
      * UIProcess/Launcher: Added.
      * UIProcess/Launcher/WebProcessLauncher.h: Added.
      * UIProcess/Launcher/mac: Added.
      * UIProcess/Launcher/mac/WebProcessLauncher.mm: Added.
      * UIProcess/Launcher/win: Added.
      * UIProcess/Launcher/win/WebProcessLauncher.cpp: Added.
      * UIProcess/PageClient.h: Added.
      * UIProcess/ProcessModel.h: Added.
      * UIProcess/ResponsivenessTimer.cpp: Added.
      * UIProcess/ResponsivenessTimer.h: Added.
      * UIProcess/ScriptReturnValueCallback.cpp: Added.
      * UIProcess/ScriptReturnValueCallback.h: Added.
      * UIProcess/WebContext.cpp: Added.
      * UIProcess/WebContext.h: Added.
      * UIProcess/WebFramePolicyListenerProxy.cpp: Added.
      * UIProcess/WebFramePolicyListenerProxy.h: Added.
      * UIProcess/WebFrameProxy.cpp: Added.
      * UIProcess/WebFrameProxy.h: Added.
      * UIProcess/WebLoaderClient.cpp: Added.
      * UIProcess/WebLoaderClient.h: Added.
      * UIProcess/WebPageNamespace.cpp: Added.
      * UIProcess/WebPageNamespace.h: Added.
      * UIProcess/WebPageProxy.cpp: Added.
      * UIProcess/WebPageProxy.h: Added.
      * UIProcess/WebPolicyClient.cpp: Added.
      * UIProcess/WebPolicyClient.h: Added.
      * UIProcess/WebPreferences.cpp: Added.
      * UIProcess/WebPreferences.h: Added.
      * UIProcess/WebProcessManager.cpp: Added.
      * UIProcess/WebProcessManager.h: Added.
      * UIProcess/WebProcessProxy.cpp: Added.
      * UIProcess/WebProcessProxy.h: Added.
      * UIProcess/WebUIClient.cpp: Added.
      * UIProcess/WebUIClient.h: Added.
      * UIProcess/mac: Added.
      * UIProcess/mac/DrawingAreaProxy.h: Added.
      * UIProcess/mac/DrawingAreaProxy.mm: Added.
      * UIProcess/mac/DrawingAreaProxyUpdateChunk.h: Added.
      * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm: Added.
      * UIProcess/win: Added.
      * UIProcess/win/DrawingAreaProxy.cpp: Added.
      * UIProcess/win/DrawingAreaProxy.h: Added.
      * UIProcess/win/WebView.cpp: Added.
      * UIProcess/win/WebView.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b945598b
    • weinig@apple.com's avatar
      Add WebKit2/Platform directory. · be9b95ca
      weinig@apple.com authored
      Reviewed by Anders Carlsson.
      
      * Platform: Added.
      * Platform/CoreIPC: Added.
      * Platform/CoreIPC/ArgumentDecoder.cpp: Added.
      * Platform/CoreIPC/ArgumentDecoder.h: Added.
      * Platform/CoreIPC/ArgumentEncoder.cpp: Added.
      * Platform/CoreIPC/ArgumentEncoder.h: Added.
      * Platform/CoreIPC/Arguments.h: Added.
      * Platform/CoreIPC/Attachment.cpp: Added.
      * Platform/CoreIPC/Attachment.h: Added.
      * Platform/CoreIPC/Connection.cpp: Added.
      * Platform/CoreIPC/Connection.h: Added.
      * Platform/CoreIPC/MessageID.h: Added.
      * Platform/CoreIPC/mac: Added.
      * Platform/CoreIPC/mac/ConnectionMac.cpp: Added.
      * Platform/CoreIPC/mac/MachPort.h: Added.
      * Platform/CoreIPC/win: Added.
      * Platform/CoreIPC/win/ConnectionWin.cpp: Added.
      * Platform/PlatformProcessIdentifier.h: Added.
      * Platform/RunLoop.cpp: Added.
      * Platform/RunLoop.h: Added.
      * Platform/WorkItem.h: Added.
      * Platform/WorkQueue.cpp: Added.
      * Platform/WorkQueue.h: Added.
      * Platform/mac: Added.
      * Platform/mac/RunLoopMac.mm: Added.
      * Platform/mac/WorkQueueMac.cpp: Added.
      * Platform/win: Added.
      * Platform/win/RunLoopWin.cpp: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be9b95ca
  13. 04 Mar, 2010 2 commits
    • ossy@webkit.org's avatar
      [Qt] Unreviewed buildfix after r55542 on Windows. · cf04bd9d
      ossy@webkit.org authored
      * WebCore.pro:
       - plugins/win/PluginDatabaseWin.cpp removed.
       - platform/win/WebCoreInstanceHandle.cpp added.
      
      * platform/win/WebCoreInstanceHandle.cpp: Remove explicit qualification in namespace declaration to make gcc happy.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf04bd9d
    • bdakin@apple.com's avatar
      WebCore: This fixes the layering violation I committed yesterday by moving · a67418ff
      bdakin@apple.com authored
      Page::instanceHandle into its own file just in the WebCore 
      namespace.
      
      Reviewed by Anders Carlsson.
      
      Added WebCoreInstanceHandle.h + .cpp and removed PageWin.cpp
      * WebCore.vcproj/WebCore.vcproj:
      * page/win/PageWin.cpp: Removed.
      
      Remove all instance handle code from Page.
      * page/Page.h:
      
      New files.
      * platform/win/WebCoreInstanceHandle.cpp: Added.
      * platform/win/WebCoreInstanceHandle.h: Added.
      (WebCore::setInstanceHandle):
      (WebCore::instanceHandle):
      
      Switch to WebCore::instanceHandle() instead of 
      Page::instanceHandle() and include the new header.
      * platform/graphics/win/WKCACFLayerRenderer.cpp:
      (WebCore::WKCACFLayerRenderer::acceleratedCompositingAvailable):
      * platform/win/PasteboardWin.cpp:
      (WebCore::Pasteboard::Pasteboard):
      * platform/win/PopupMenuWin.cpp:
      (WebCore::PopupMenu::show):
      (WebCore::PopupMenu::registerClass):
      * platform/win/SharedTimerWin.cpp:
      (WebCore::initializeOffScreenTimerWindow):
      * plugins/win/PluginViewWin.cpp:
      (WebCore::registerPluginView):
      (WebCore::PluginView::platformStart):
      
      WebKit/win: WebCore::Page::setInstanceHandle() is now just 
      WebCore::setInstanceHandle()
      
      Reviewed by Anders Carlsson.
      
      * WebKitDLL.cpp:
      (DllMain):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a67418ff
  14. 07 Jan, 2010 1 commit
    • mitz@apple.com's avatar
      Added Font::typesettingFeatures() and deployed it · 8c85d97b
      mitz@apple.com authored
      Reviewed by Sam Weinig.
      
      No change in funcitonality
      
      * WebCore.xcodeproj/project.pbxproj: Added TypesettingFeatures.h.
      * platform/graphics/Font.h:
      (WebCore::Font::typesettingFeatures): Added. Determines the typesetting
          features from the text redndering mode.
      * platform/graphics/FontFastPath.cpp:
      (WebCore::Font::canUseGlyphCache): Use typesettingFeatures().
      * platform/graphics/SimpleFontData.h:
      * platform/graphics/TypesettingFeatures.h: Added.
      * platform/graphics/mac/ComplexTextControllerATSUI.cpp:
      (WebCore::disableLigatures): Take TypesettingFeatures instead of
          TextRenderingMode.
      (WebCore::initializeATSUStyle): Ditto.
      (WebCore::ComplexTextController::collectComplexTextRunsForCharactersATSUI):
          Use typesettingFeatures().
      * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
      (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):
          Ditto.
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::getCFStringAttributes): Take
          TypesettingFeatures instead of TextRenderingMode.
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::RenderBlock::findNextLineBreak): Use TypesettingFeatures().
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c85d97b
  15. 18 Dec, 2009 1 commit
    • weinig@apple.com's avatar
      Add Mac WebKit side of the client based geolocation provider. · d633d844
      weinig@apple.com authored
      Reviewed by Dan Bernstein.
      
      WebKit: 
      
      * WebKit.xcodeproj/project.pbxproj:
      
      WebKit/mac: 
      
      * Misc/WebKitErrors.m:
      (registerErrors): Add Geolocation errors.
      * Misc/WebKitErrorsPrivate.h:
      * WebCoreSupport/WebGeolocationControllerClient.h: Added.
      (WebGeolocationControllerClient::webView):
      * WebCoreSupport/WebGeolocationControllerClient.mm: Added.
      (WebGeolocationControllerClient::WebGeolocationControllerClient):
      (WebGeolocationControllerClient::startUpdating):
      (WebGeolocationControllerClient::stopUpdating):
      (WebGeolocationControllerClient::lastPosition):
      Add implementation of the WebGeolocationControllerClient.
      
      * WebView/WebGeolocationPosition.h: Added.
      * WebView/WebGeolocationPosition.mm: Added.
      (-[WebGeolocationPositionInternal initWithCoreGeolocationPosition:]):
      (core):
      (-[WebGeolocationPosition initWithTimestamp:latitude:longitude:accuracy:]):
      * WebView/WebGeolocationPositionInternal.h: Added.
      Add an Objective-C wrapper for GeolocationPosition.
       
      * WebView/WebView.mm:
      (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]): Set the GeolocationControllerClient.
      (-[WebView _setGeolocationProvider:]): Set the GeolocationProvider
      (-[WebView _geolocationProvider]): Return the GeolocationProvider.
      (-[WebView _geolocationDidChangePosition:]): Notify WebCore that the position changed.
      (-[WebView _geolocationDidFailWithError:]): Notify WebCore that an error occured.
      * WebView/WebViewData.h:
      * WebView/WebViewPrivate.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d633d844
  16. 19 Nov, 2009 1 commit
    • ap@apple.com's avatar
      Reviewed by Darin Adler. · 13f65f3f
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=31690
              Make SocketStreamHandleCFNet work on Windows
      
              * WebCore.vcproj/WebCore.vcproj: Added LoaderRunLoopCF.
      
              * platform/network/ResourceHandle.h: Removed loaderRunLoop().
      
              * platform/network/cf/LoaderRunLoopCF.cpp: Added.
              (WebCore::emptyPerform):
              (WebCore::runLoaderThread):
              (WebCore::loaderRunLoop):
              * platform/network/cf/LoaderRunLoopCF.h: Added.
              Moved the run loop that we use for CFNetwork from ResourceHandle to its own file, because
              it's needed for more than just resource loading.
      
              * platform/network/cf/ResourceHandleCFNet.cpp: Use loaderRunLoop() from its new location.
      
              * platform/network/cf/DNSCFNet.cpp: (WebCore::DNSResolveQueue::resolve): Ditto.
      
              * platform/network/cf/SocketStreamHandle.h: Added static callbacks for forwarding events to
              main thread.
              * platform/network/cf/SocketStreamHandleCFNet.cpp:
              (WebCore::SocketStreamHandle::SocketStreamHandle): Use loaderRunLoop() on Windows instead of
              inoperable main run loop.
      
              (WebCore::MainThreadEventCallbackInfo::MainThreadEventCallbackInfo): 
              (WebCore::SocketStreamHandle::readStreamCallback):
              (WebCore::SocketStreamHandle::writeStreamCallback):
              (WebCore::SocketStreamHandle::readStreamCallbackMainThread):
              (WebCore::SocketStreamHandle::writeStreamCallbackMainThread):
              Forward stream events to main thread on Windows.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13f65f3f
  17. 10 Nov, 2009 2 commits
    • ap@apple.com's avatar
      Reviewed by Dan Bernstein. · 2ab1e6a4
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=31312
              Decouple authentication panel callbacks from ResourceHandle
      
              No change in functionality.
      
              SocketStreamHandle also needs to request credentials, so it's not appropriate to store
              ResourceHandle as delegate.
      
      WebCore:
              * WebCore.vcproj/WebCore.vcproj:
              * platform/network/AuthenticationClient.h: Added.
              Added a new interface for listening to authentication panel notifications.
      
              * WebCore.xcodeproj/project.pbxproj: Added AuthenticationClient.h. Let Visual Studio do what
              it wants with the project file.
      
              (WebCore::AuthenticationClient::ref): Using our usual method of exposing refcounting on an
              interface class.
              (WebCore::AuthenticationClient::deref): Ditto.
      
              * platform/network/ResourceHandle.h:
              (WebCore::ResourceHandle::refAuthenticationClient): Ditto.
              (WebCore::ResourceHandle::derefAuthenticationClient): Ditto.
      
              * platform/network/cf/AuthenticationCF.cpp:
              (WebCore::AuthenticationChallenge::AuthenticationChallenge):
              (WebCore::AuthenticationChallenge::platformCompare):
              * platform/network/cf/AuthenticationChallenge.h:
              (WebCore::AuthenticationChallenge::authenticationClient):
              * platform/network/chromium/AuthenticationChallenge.h:
              (WebCore::AuthenticationChallenge::authenticationClient):
              * platform/network/curl/AuthenticationChallenge.h:
              (WebCore::AuthenticationChallenge::authenticationClient):
              Keeping a reference to AuthenticationClient, not to ResourceHandle.
      
      WebKit:
              * WebCoreSupport/WebFrameLoaderClient.cpp:
              (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
              * WebURLAuthenticationChallenge.cpp:
              (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
              (WebURLAuthenticationChallenge::sender):
              * WebURLAuthenticationChallengeSender.cpp:
              (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
              (WebURLAuthenticationChallengeSender::createInstance):
              (WebURLAuthenticationChallengeSender::authenticationClient):
              * WebURLAuthenticationChallengeSender.h:
              * WebURLAuthenticationChallengeSenderCFNet.cpp:
              (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
              (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
              (WebURLAuthenticationChallengeSender::useCredential):
              Adjusted for WebCore changes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ab1e6a4
    • mitz@apple.com's avatar
      WebCore: WebCore part of making full-screen video pause during scrubbing. · 362023c1
      mitz@apple.com authored
      Reviewed by Eric Carlson and Darin Adler.
      
      * WebCore.Video.exp: Sorted and added HTMLMediaElement::beginScrubbing()
      and HTMLMediaElement::endScrubbing().
      
      WebKit/mac: WebKit part of making full-screen video pause during scrubbing.
      
      Reviewed by Eric Carlson and Darin Adler.
      
      * WebView/WebVideoFullscreenHUDWindowController.h: Added _isScrubbing
      ivar.
      * WebView/WebVideoFullscreenHUDWindowController.mm:
      (-[WebVideoFullscreenHUDWindowController dealloc]): Assert that
      _isScrubbing is NO.
      (-[WebVideoFullscreenHUDWindowController endScrubbing]): Call
      HTMLMediaElement::endScrubbing().
      (-[WebVideoFullscreenHUDWindowController timelinePositionChanged:]):
      If scrubbing has just begun, call HTMLMediaElement::beginScrubbing()
      and schedule -endScrubbing to be called when mouse tracking ends.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      362023c1
  18. 08 Nov, 2009 1 commit
    • mitz@apple.com's avatar
      Made the full-screen video HUD appear when playback stops, such as when · e0ff32d3
      mitz@apple.com authored
      the end of the video is reached.
      
      Reviewed by Eric Carlson.
      
      * WebView/WebVideoFullscreenHUDWindowController.h: Cleaned up.
      * WebView/WebVideoFullscreenHUDWindowController.mm:
      (-[WebVideoFullscreenHUDWindowController scheduleTimeUpdate]): Updated
      for the renaming of -updateRate to -updatePlayButton.
      (-[WebVideoFullscreenHUDWindowController updatePlayButton]): Renamed
      -updateRate to this.
      (-[WebVideoFullscreenHUDWindowController updateRate]): This method now
      responds to changes to the playback rate by updating the play button
      and showing or hiding the HUD as necessary.
      (-[WebVideoFullscreenHUDWindowController togglePlaying:]): Now only
      toggles playing. UI updates are driven by -updateRate being called.
      (-[WebVideoFullscreenHUDWindowController playing]): Cleaned up.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0ff32d3
  19. 02 Nov, 2009 2 commits
    • mitz@apple.com's avatar
      Made the remaining time display show negative zero at the end of the · 12da8133
      mitz@apple.com authored
      video.
      
      Reviewed by Anders Carlsson.
      
      Made other cleanup.
      
      * WebView/WebVideoFullscreenHUDWindowController.h: Reverted the types of
      _timeline and _volumeSlider to the more generic NSControl.
      * WebView/WebVideoFullscreenHUDWindowController.mm:
      (-[WebVideoFullscreenHUDWindowController scheduleTimeUpdate]): Cleaned
      up style.
      (-[WebVideoFullscreenHUDWindowController windowDidLoad]): Added an
      assertion that the cast to NSButton * is legal. Removed casts.
      (-[WebVideoFullscreenHUDWindowController updateTime]): Use
      -setValue:forKey: instead of an NSSlider method.
      (timeToString): Changed to support only non-negative values and
      simplified.
      (-[WebVideoFullscreenHUDWindowController remainingTimeText]): Always
      prepend a “-” to the time.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      12da8133
    • mitz@apple.com's avatar
      WebKit/mac: WebKit part of making the appearance of the full-screen video HUD match · 36413e0b
      mitz@apple.com authored
      QuickTime Player X’s HUD.
      
      Reviewed by John Sullivan.
      
      * WebView/WebVideoFullscreenHUDWindowController.h: Removed unnecessary
      #import statements, cleaned up style, and changed _timeline,
      _volumeSlider and _playButton to have more specific types.
      * WebView/WebVideoFullscreenHUDWindowController.mm: Updated #import
      statements.
      (webkit_CGFloor): Added this helper function.
      (-[WebVideoFullscreenHUDWindowController init]): Cleaned up style.
      (createTimeTextField): Changed to use the bold system font.
      (-[WebVideoFullscreenHUDWindowController windowDidLoad]): Changed the
      subviews’ metrics and the text fields’ text alignment.
      (-[WebVideoFullscreenHUDWindowController updateTime]): Avoid conversion
      from double to float.
      (stringToTimeTextAttributed): Removed this useless function that
      returned an NSAttributedString masquerading as an NSString.
      (-[WebVideoFullscreenHUDWindowController remainingTimeText]): Removed
      call to stringToTimeTextAttributed().
      (-[WebVideoFullscreenHUDWindowController elapsedTimeText]): Ditto.
      
      WebKitLibraries: WebKitSystemInterface part of making the appearance of the full-screen video HUD match
      QuickTime Player X’s HUD.
      
      Reviewed by John Sullivan.
      
      * libWebKitSystemInterfaceLeopard.a:
      * libWebKitSystemInterfaceSnowLeopard.a:
      * libWebKitSystemInterfaceTiger.a:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36413e0b
  20. 28 Oct, 2009 1 commit
    • eric.carlson@apple.com's avatar
      2009-10-28 Eric Carlson <eric.carlson@apple.com> · 9bfaaa38
      eric.carlson@apple.com authored
              Reviewed by Simon Fraser.
      
              <rdar://problem/7303145> 
              Can't exit full screen mode or restart movie after pressing command -R.
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::removedFromDocument):
              (WebCore::HTMLMediaElement::documentWillBecomeInactive):
                  Exit from fullscreen if necessary.
              * html/HTMLMediaElement.h:
      
      2009-10-28  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Simon Fraser.
      
              <rdar://problem/7303145> 
              Can't exit full screen mode or restart movie after pressing command -R.
      
              * WebView/WebVideoFullscreenController.mm:
              (-[WebVideoFullscreenController _requestExit]): 
                  New, call media element's exitFullscreen method.
              (-[WebVideoFullscreenController requestExitFullscreenWithAnimation:]): 
                  Call mediaElement->exitFullscreen() after a delay as it turns around and calls
                  WebVideoFullscreenController:exitFullscreen.
      
              * WebView/WebVideoFullscreenHUDWindowController.h:
              * WebView/WebVideoFullscreenHUDWindowController.mm:
              (-[WebVideoFullscreenHUDWindow resignFirstResponder]):
                  New, don't give up responder status.
              (-[WebVideoFullscreenHUDWindow performKeyEquivalent:]):
                  New, block all command key events.
              (-[WebVideoFullscreenHUDWindowController exitFullscreen:]):
                  Remember when we are in the process of exiting fullscreen, don't allow recursion.
      
              * WebView/WebView.mm:
              (-[WebView _exitFullscreen]):
                  Early return if fullscreen controller is nil.
      
              * WebView/WebWindowAnimation.h: 
                  Correct comment about _window retain status.
              * WebView/WebWindowAnimation.m:
              (-[WebWindowScaleAnimation dealloc]):
                  Don't release _window, we never reatained it.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9bfaaa38
  21. 22 Oct, 2009 1 commit
    • eric.carlson@apple.com's avatar
      2009-10-22 Eric Carlson <eric.carlson@apple.com> · 73e866e6
      eric.carlson@apple.com authored
              Reviewed by Dan Bernstein & Simon Fraser.
      
              <rdar://problem/7297717>
              https://bugs.webkit.org/show_bug.cgi?id=30323
              Play/pause button in full-screen video controller does not reflect current state
      
              * WebView/WebVideoFullscreenController.mm:
              (-[WebVideoFullscreenController setMediaElement:WebCore::]): Register for QTMovieRateDidChangeNotification
              (-[WebVideoFullscreenController rateChanged:]): Call HUD controller when rate changes.
      
              * WebView/WebVideoFullscreenHUDWindowController.h:
              * WebView/WebVideoFullscreenHUDWindowController.mm:
              (-[WebVideoFullscreenHUDWindowController scheduleTimeUpdate]): Call updateRate so play button
              reflects playback state.
              (-[WebVideoFullscreenHUDWindowController updateRate]): New, set play button state according to
              movie state.
              (-[WebVideoFullscreenHUDWindowController playingChanged:]): Only call [self playing] once.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73e866e6
  22. 05 Oct, 2009 2 commits
  23. 08 Sep, 2009 1 commit
  24. 27 Aug, 2009 1 commit
    • cmarrin@apple.com's avatar
      Final patch for Canvas 3D support · 4e7728f4
      cmarrin@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=28018
      
              This hooks everything up and provides a working implementation of
              Canvas 3D. I plumb the creation of the 3D canvas down to GraphicsLayer,
              passing the opaque context and texture pointers so a Canvas3DLayer can be
              created (more on that later). It also plumbs changes to the 3D canvas so
              that Canvas3DLayer can recomposite the results.
              
              A 3D Canvas element needs a RenderLayer and compositing layer to render.
              This is because it renders to an off-screen texture in the GPU and then
              hands it to a Canvas3DLayer, which is a subclass of CAOpenGLLayer, to
              render that texture as a 3D quad. This keeps everything in GPU memory to 
              maximize performance. When a CanvasRenderingContext3D is created it 
              forces a style recalc which creates the RenderLayer and compositing 
              layer if needed. 
              
              I repurposed an existing flag which was put in place for animation to accomplish 
              this. This flag is passed to setNeedsStyleRecalc(), and I renamed it from 
              AnimationStyleChange to SyntheticStyleChange. It essentially says that you need
              to do a complete style recalc, even though the style itself has not really
              changed.
              
              This patch also fixes a couple of bugs discovered when testing with 3d-canvas
              turned on. I also added a constructor DOMWindow.idl for CanvasRenderingContext3D.
              This is needed when making a JS wrapper for the object so the prototype 
              property can be set.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e7728f4
  25. 25 Aug, 2009 2 commits
  26. 24 Aug, 2009 1 commit
  27. 12 Aug, 2009 1 commit
    • darin@apple.com's avatar
      WebCore: Custom properties on DOM objects are lost after GC (as demonstrated by the gc-9.html test) · 55132112
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=28194
      
      Patch by Darin Adler <darin@apple.com> on 2009-08-12
      Reviewed by Geoff Garen.
      
      * GNUmakefile.am: Added the two new source files.
      * WebCore.gypi: Ditto.
      * WebCore.pro: Ditto.
      * WebCore.vcproj/WebCore.vcproj: Ditto.
      * WebCore.xcodeproj/project.pbxproj: Ditto.
      * WebCoreSources.bkl: Ditto.
      
      * bindings/js/JSCSSRuleListCustom.cpp: Added.
      (WebCore::JSCSSRuleList::markChildren): Call markDOMObjectWrapper
      on rules in the list.
      
      * bindings/js/JSCSSStyleDeclarationCustom.cpp:
      (WebCore::JSCSSStyleDeclaration::markChildren): Added. Call
      markDOMObjectWrapper on the CSSValue objects that are owned by the
      declaration as values of the properties.
      
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::isObservableThroughDOM): Added code to handle some
      cases where nodes are observable because they own objects that
      in turn have custom properties.
      
      * bindings/js/JSDOMBinding.h: Fix a typo in the header.
      
      * bindings/js/JSDocumentCustom.cpp:
      (WebCore::JSDocument::markChildren): Added call to markDOMObjectWrapper
      for implementation and styleSheets.
      
      * bindings/js/JSElementCustom.cpp:
      (WebCore::JSElement::markChildren): Added. Calls markDOMObjectWrapper
      for attributes and style.
      
      * bindings/js/JSHTMLCanvasElementCustom.cpp: Added.
      (WebCore::JSHTMLCanvasElement::markChildren): Call markDOMObjectWrapper
      on the rendering context.
      
      * bindings/js/JSStyleSheetCustom.cpp:
      (WebCore::JSStyleSheet::markChildren): Call markDOMObjectWrapper on
      items in the stylesheet.
      
      * bindings/js/JSStyleSheetListCustom.cpp:
      (WebCore::JSStyleSheetList::markChildren): Added. Calls
      markDOMObjectWrapper on stylesheets in the list.
      
      * css/CSSRuleList.idl: Added CustomMarkFunction.
      * css/CSSStyleDeclaration.idl: Ditto.
      * css/StyleSheetList.idl: Ditto.
      * dom/Element.idl: Ditto.
      * html/HTMLCanvasElement.idl: Ditto.
      
      * dom/Element.h: Made everything private that could be.
      Added access to the attributeMap that does returns
      the existing map without doing any of the lazy-updating work. This
      is needed to get at the existing attributes during garbage collection
      without having side effects.
      
      * html/HTMLCanvasElement.h: Cleaned up the header a bit, making
      members private. Added renderingContext2D function for use in
      JSHTMLCanvasElement::markChildren.
      
      LayoutTests: Custom properties on DOM objects are lost after GC (as demonstrated by the gc-9.html test)
      https://bugs.webkit.org/show_bug.cgi?id=28194
      
      Patch by Darin Adler <darin@apple.com> on 2009-08-12
      Reviewed by Geoff Garen.
      
      * fast/dom/gc-9-expected.txt: Regenerated.
      * fast/dom/gc-9.html: Updated to expect correct behavior instead of failures.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55132112
  28. 22 Sep, 2008 1 commit
    • mjs@apple.com's avatar
      JavaScriptCore: · a173abd0
      mjs@apple.com authored
      2008-09-22  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Dave Hyatt.
              
              Based on initial work by Darin Adler.
              
              - replace masqueradesAsUndefined virtual method with a flag in TypeInfo
              - use this to JIT inline code for eq_null and neq_null
              https://bugs.webkit.org/show_bug.cgi?id=20823
      
              0.5% speedup on SunSpider
              ~4% speedup on Richards benchmark
              
              * VM/CTI.cpp:
              (JSC::CTI::privateCompileMainPass):
              * VM/Machine.cpp:
              (JSC::jsTypeStringForValue):
              (JSC::jsIsObjectType):
              (JSC::Machine::privateExecute):
              (JSC::Machine::cti_op_is_undefined):
              * VM/Machine.h:
              * kjs/JSCell.h:
              * kjs/JSValue.h:
              * kjs/StringObjectThatMasqueradesAsUndefined.h:
              (JSC::StringObjectThatMasqueradesAsUndefined::create):
              (JSC::StringObjectThatMasqueradesAsUndefined::createStructureID):
              * kjs/StructureID.h:
              (JSC::StructureID::mutableTypeInfo):
              * kjs/TypeInfo.h:
              (JSC::TypeInfo::TypeInfo):
              (JSC::TypeInfo::masqueradesAsUndefined):
              * kjs/operations.cpp:
              (JSC::equal):
              * masm/X86Assembler.h:
              (JSC::X86Assembler::):
              (JSC::X86Assembler::setne_r):
              (JSC::X86Assembler::setnz_r):
              (JSC::X86Assembler::testl_i32m):
      
      WebCore:
      
      2008-09-22  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Dave Hyatt.
      
              Based on initial work by Darin Adler.
              
              - replace masqueradesAsUndefined virtual method with a flag in TypeInfo
              - use this to JIT inline code for eq_null and neq_null
              https://bugs.webkit.org/show_bug.cgi?id=20823
              
              * WebCore.xcodeproj/project.pbxproj:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/JSCSSStyleDeclarationCustom.cpp:
              (WebCore::JSCSSStyleDeclaration::nameGetter):
              * bindings/js/JSHTMLAllCollection.cpp: Added.
              (WebCore::):
              * bindings/js/JSHTMLAllCollection.h:
              (WebCore::JSHTMLAllCollection::createStructureID):
              (WebCore::JSHTMLAllCollection::toBoolean):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a173abd0
  29. 08 Jan, 2008 1 commit
    • mitz@apple.com's avatar
      Rubber-stamped by Sam Weinig. · 78333174
      mitz@apple.com authored
              - rename FontDataBaseClass.{cpp,h} back to FontData.{cpp,h}
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * editing/Editor.cpp:
              * platform/graphics/FontData.cpp: Copied from WebCore/platform/graphics/FontDataBaseClass.cpp.
              * platform/graphics/FontData.h: Copied from WebCore/platform/graphics/FontDataBaseClass.h.
              * platform/graphics/FontDataBaseClass.cpp: Removed.
              * platform/graphics/FontDataBaseClass.h: Removed.
              * platform/graphics/SegmentedFontData.h:
              * platform/graphics/SimpleFontData.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78333174
  30. 07 Jan, 2008 1 commit
    • mitz@apple.com's avatar
      WebCore: · 648b73b1
      mitz@apple.com authored
              Reviewed by Dave Hyatt.
      
              - <rdar://problem/5665216> Support the unicode-range property in @font-face rules
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/objc/DOM.mm:
              * bridge/mac/WebCoreAXObject.mm:
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSFontFace.cpp:
              (WebCore::CSSFontFace::fontLoaded): Changed to call the owning segmented
              font face.
              (WebCore::CSSFontFace::getFontData):
              * css/CSSFontFace.h:
              (WebCore::CSSFontFace::CSSFontFace):
              (WebCore::CSSFontFace::setSegmentedFontFace):
              * css/CSSFontFaceSource.cpp:
              (WebCore::CSSFontFaceSource::pruneTable): Removed the calls to
              GlyphPageTreeNode::pruneTreeCustomFontData because the fonts in the
              font table are not exposed in the glyph page tree. Only the segmented
              font is, and that is taken care of by the segmented font face.
              (WebCore::CSSFontFaceSource::getFontData):
              * css/CSSFontFaceSource.h:
              * css/CSSFontSelector.cpp:
              (WebCore::CSSFontSelector::addFontFaceRule): Changed to collect
              @font-face rules with the same family and traits into a single
              segmented font face, instead of just retaining the most recent one.
              (WebCore::CSSFontSelector::fontLoaded):
              (WebCore::CSSFontSelector::getFontData):
              * css/CSSFontSelector.h:
              * css/CSSGrammar.y:
              * css/CSSParser.cpp:
              (WebCore::CSSParser::parseValue):
              (WebCore::CSSParser::parseFontFaceUnicodeRange): Added. Parses a unicode
              range value.
              * css/CSSParser.h:
              * css/CSSPrimitiveValue.h:
              (WebCore::CSSPrimitiveValue::):
              * css/CSSPropertyNames.in:
              * css/CSSSegmentedFontFace.cpp: Added.
              (WebCore::CSSSegmentedFontFace::CSSSegmentedFontFace):
              (WebCore::CSSSegmentedFontFace::~CSSSegmentedFontFace):
              (WebCore::CSSSegmentedFontFace::pruneTable):
              (WebCore::CSSSegmentedFontFace::isLoaded):
              (WebCore::CSSSegmentedFontFace::isValid):
              (WebCore::CSSSegmentedFontFace::fontLoaded):
              (WebCore::CSSSegmentedFontFace::overlayRange):
              (WebCore::CSSSegmentedFontFace::getFontData):
              * css/CSSSegmentedFontFace.h: Added.
              (WebCore::FontFaceRange::FontFaceRange):
              (WebCore::FontFaceRange::from):
              (WebCore::FontFaceRange::to):
              (WebCore::FontFaceRange::fontFace):
              (WebCore::CSSSegmentedFontFace::fontSelector):
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * css/CSSUnicodeRangeValue.cpp: Added.
              (WebCore::CSSUnicodeRangeValue::~CSSUnicodeRangeValue):
              (WebCore::CSSUnicodeRangeValue::cssText):
              * css/CSSUnicodeRangeValue.h: Added.
              (WebCore::CSSUnicodeRangeValue::CSSUnicodeRangeValue):
              (WebCore::CSSUnicodeRangeValue::from):
              (WebCore::CSSUnicodeRangeValue::to):
              * css/SVGCSSFontFace.cpp:
              (WebCore::SVGCSSFontFace::getFontData):
              * css/SVGCSSFontFace.h:
              * editing/Editor.cpp:
              (WebCore::Editor::fontForSelection):
              * editing/Editor.h:
              * page/mac/FrameMac.mm:
              * page/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge fontForSelection:]):
              * platform/graphics/Font.cpp:
              (WebCore::WidthIterator::advance):
              (WebCore::Font::glyphDataForCharacter):
              (WebCore::Font::primaryFont): Changed to return the simple font data
              used for the space character.
              (WebCore::Font::fontDataAt):
              (WebCore::Font::fontDataForCharacters):
              (WebCore::Font::drawGlyphBuffer):
              * platform/graphics/Font.h:
              * platform/graphics/FontCache.cpp:
              (WebCore::FontCache::getCachedFontData):
              (WebCore::FontCache::getFontData):
              * platform/graphics/FontCache.h:
              * platform/graphics/FontData.cpp: Renamed to SimpleFontData.cpp
              * platform/graphics/FontData.h: Renamed to SimpleFontData.cpp.
              * platform/graphics/FontDataBaseClass.cpp: Added. This will be renamed
              FontData.cpp.
              (WebCore::FontData::~FontData):
              * platform/graphics/FontDataBaseClass.h: Added. This will be renamed
              FontData.h.
              * platform/graphics/FontFallbackList.cpp:
              (WebCore::FontFallbackList::determinePitch):
              (WebCore::FontFallbackList::fontDataAt):
              (WebCore::FontFallbackList::fontDataForCharacters):
              * platform/graphics/FontFallbackList.h:
              (WebCore::FontFallbackList::primaryFont):
              * platform/graphics/FontSelector.h:
              * platform/graphics/GlyphBuffer.h:
              (WebCore::GlyphBuffer::fontDataAt):
              (WebCore::GlyphBuffer::swap):
              (WebCore::GlyphBuffer::add):
              * platform/graphics/GlyphPageTreeNode.cpp:
              (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
              (WebCore::GlyphPageTreeNode::initializePage): Added code to initialize
              pages for segmented font data.
              (WebCore::GlyphPageTreeNode::getChild):
              (WebCore::GlyphPageTreeNode::pruneCustomFontData):
              * platform/graphics/GlyphPageTreeNode.h:
              (WebCore::GlyphPage::setGlyphDataForCharacter):
              (WebCore::GlyphPage::setGlyphDataForIndex):
              (WebCore::GlyphPageTreeNode::getRootChild):
              * platform/graphics/SegmentedFontData.cpp: Added.
              (WebCore::SegmentedFontData::~SegmentedFontData):
              (WebCore::SegmentedFontData::fontDataForCharacter):
              (WebCore::SegmentedFontData::containsCharacters):
              (WebCore::SegmentedFontData::isCustomFont):
              (WebCore::SegmentedFontData::isLoading):
              (WebCore::SegmentedFontData::isSegmented):
              * platform/graphics/SegmentedFontData.h: Added.
              (WebCore::FontDataRange::FontDataRange):
              (WebCore::FontDataRange::from):
              (WebCore::FontDataRange::to):
              (WebCore::FontDataRange::fontData):
              (WebCore::SegmentedFontData::appendRange):
              (WebCore::SegmentedFontData::numRanges):
              (WebCore::SegmentedFontData::rangeAt):
              * platform/graphics/SimpleFontData.cpp: Copied from WebCore/platform/graphics/FontData.cpp.
              (WebCore::SimpleFontData::SimpleFontData):
              (WebCore::SimpleFontData::~SimpleFontData):
              (WebCore::SimpleFontData::ascent):
              (WebCore::SimpleFontData::descent):
              (WebCore::SimpleFontData::widthForGlyph):
              (WebCore::SimpleFontData::fontDataForCharacter):
              (WebCore::SimpleFontData::isSegmented):
              * platform/graphics/SimpleFontData.h: Copied from WebCore/platform/graphics/FontData.h.
              (WebCore::SimpleFontData::isCustomFont):
              (WebCore::SimpleFontData::isLoading):
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::setPlatformFont):
              * platform/graphics/gtk/FontCacheGtk.cpp:
              (WebCore::FontCache::getFontDataForCharacters):
              * platform/graphics/gtk/FontDataGtk.cpp: Renamed to
              SimpleFontDataGtk.cpp.
              * platform/graphics/gtk/FontGtk.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp:
              (WebCore::GlyphPage::fill):
              * platform/graphics/gtk/SimpleFontDataGtk.cpp: Copied from WebCore/platform/graphics/gtk/FontDataGtk.cpp.
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::platformDestroy):
              (WebCore::SimpleFontData::smallCapsFontData):
              (WebCore::SimpleFontData::containsCharacters):
              (WebCore::SimpleFontData::determinePitch):
              (WebCore::SimpleFontData::platformWidthForGlyph):
              (WebCore::SimpleFontData::setFont):
              * platform/graphics/mac/FontCacheMac.mm:
              (WebCore::FontCache::getFontDataForCharacters):
              * platform/graphics/mac/FontDataMac.mm: Renamed to SimpleFontDataMac.mm.
              * platform/graphics/mac/FontMac.mm:
              (WebCore::initializeATSUStyle):
              (WebCore::overrideLayoutOperation):
              (WebCore::ATSULayoutParameters::initialize):
              (WebCore::Font::drawGlyphs):
              * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
              (WebCore::GlyphPage::fill):
              * platform/graphics/mac/SimpleFontDataMac.mm: Copied from WebCore/platform/graphics/mac/FontDataMac.mm.
              (WebCore::initFontData):
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::platformDestroy):
              (WebCore::SimpleFontData::smallCapsFontData):
              (WebCore::SimpleFontData::containsCharacters):
              (WebCore::SimpleFontData::determinePitch):
              (WebCore::SimpleFontData::platformWidthForGlyph):
              (WebCore::SimpleFontData::checkShapesArabic):
              * platform/graphics/qt/FontDataQt.cpp: Renamed to SimpleFontDataQt.cpp.
              * platform/graphics/qt/GlyphPageTreeNodeQt.cpp:
              (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
              * platform/graphics/qt/SimpleFontDataQt.cpp: Copied from WebCore/platform/graphics/qt/FontDataQt.cpp.
              * platform/graphics/win/FontCacheWin.cpp:
              (WebCore::FontCache::getFontDataForCharacters):
              * platform/graphics/win/FontDataWin.cpp: Renamed to
              SimpleFontDataWin.cpp.
              * platform/graphics/win/FontWin.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/graphics/win/GlyphPageTreeNodeWin.cpp:
              (WebCore::GlyphPage::fill):
              * platform/graphics/win/SimpleFontDataWin.cpp: Copied from WebCore/platform/graphics/win/FontDataWin.cpp.
              (WebCore::SimpleFontData::setShouldApplyMacAscentHack):
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::platformDestroy):
              (WebCore::SimpleFontData::smallCapsFontData):
              (WebCore::SimpleFontData::containsCharacters):
              (WebCore::SimpleFontData::determinePitch):
              (WebCore::SimpleFontData::platformWidthForGlyph):
              (WebCore::SimpleFontData::scriptFontProperties):
              * platform/graphics/wx/FontCacheWx.cpp:
              (WebCore::FontCache::getFontDataForCharacters):
              * platform/graphics/wx/FontDataWx.cpp: Renamed to SimpleFontDataWx.cpp.
              * platform/graphics/wx/FontWx.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/graphics/wx/GlyphMapWx.cpp:
              (WebCore::GlyphPage::fill):
              * platform/graphics/wx/SimpleFontDataWx.cpp: Copied from WebCore/platform/graphics/wx/FontDataWx.cpp.
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::platformDestroy):
              (WebCore::SimpleFontData::smallCapsFontData):
              (WebCore::SimpleFontData::containsCharacters):
              (WebCore::SimpleFontData::determinePitch):
              (WebCore::SimpleFontData::platformWidthForGlyph):
              * platform/mac/FileChooserMac.mm:
              * platform/mac/PopupMenuMac.mm:
              * platform/mac/WebCoreTextRenderer.mm:
              * platform/win/PopupMenuWin.cpp:
              * platform/win/UniscribeController.cpp:
              (WebCore::UniscribeController::advance):
              (WebCore::UniscribeController::itemizeShapeAndPlace):
              (WebCore::UniscribeController::shapeAndPlaceItem):
              (WebCore::UniscribeController::shape):
              * platform/win/UniscribeController.h:
              * svg/SVGFont.cpp:
              (WebCore::Font::drawGlyphsWithSVGFont):
              * svg/SVGFontElement.cpp:
              (WebCore::SVGFontElement::collectGlyphs):
              * svg/SVGFontFaceElement.cpp:
              (WebCore::SVGFontFaceElement::createFontData):
              * svg/SVGFontFaceElement.h:
              * svg/SVGGlyphElement.cpp:
      
      WebKit/mac:
      
              Reviewed by Dave Hyatt.
      
              - <rdar://problem/5665216> Support the unicode-range property in @font-face rules
      
              * Misc/WebNSAttributedStringExtras.mm:
      
      WebKit/win:
      
              Reviewed by Dave Hyatt.
      
              - <rdar://problem/5665216> Support the unicode-range property in @font-face rules
      
              * WebView.cpp:
              (WebView::setShouldApplyMacFontAscentHack):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      648b73b1
  31. 15 Jan, 2007 1 commit
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · 8eddecf9
      eseidel authored
              Reviewed by bdash.
      
              Update header guards to follow new style guidelines using new clean-header-guards script.
      
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGPODTypeWrapper.h:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_css.h:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_domnode.h:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_traversal.h:
              * bindings/js/kjs_window.h:
              * bridge/EditorClient.h:
              * bridge/History.h:
              * css/CSSStyleSheet.h:
              * css/CSSValue.h:
              * css/CSSValueList.h:
              * css/DashboardRegion.h:
              * css/FontFamilyValue.h:
              * css/FontValue.h:
              * css/MediaFeatureNames.h:
              * css/MediaList.h:
              * css/Pair.h:
              * css/RectImpl.h:
              * css/ShadowValue.h:
              * css/StyleBase.h:
              * css/StyleList.h:
              * css/StyleSheet.h:
              * css/StyleSheetList.h:
              * css/cssstyleselector.h:
              * dom/BeforeTextInsertedEvent.h:
              * dom/CDATASection.h:
              * dom/CharacterData.h:
              * dom/ChildNodeList.h:
              * dom/Comment.h:
              * dom/DOMImplementation.h:
              * dom/DocPtr.h:
              * dom/Document.h:
              * dom/DocumentFragment.h:
              * dom/DocumentMarker.h:
              * dom/DocumentType.h:
              * dom/EditingText.h:
              * dom/Entity.h:
              * dom/EntityReference.h:
              * dom/EventNames.h:
              * dom/EventTargetNode.h:
              * dom/NameNodeList.h:
              * dom/NamedNodeMap.h:
              * dom/Node.h:
              * dom/NodeList.h:
              * dom/Notation.h:
              * dom/Position.h:
              * dom/ProcessingInstruction.h:
              * dom/Range.h:
              * dom/StyleElement.h:
              * dom/Text.h:
              * editing/AppendNodeCommand.h:
              * editing/ApplyStyleCommand.h:
              * editing/BreakBlockquoteCommand.h:
              * editing/CommandByName.h:
              * editing/CompositeEditCommand.h:
              * editing/DeleteButton.h:
              * editing/DeleteButtonController.h:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.h:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.h:
              * editing/InsertNodeBeforeCommand.h:
              * editing/InsertParagraphSeparatorCommand.h:
              * editing/InsertTextCommand.h:
              * editing/JoinTextNodesCommand.h:
              * editing/MergeIdenticalElementsCommand.h:
              * editing/ModifySelectionListLevel.h:
              * editing/MoveSelectionCommand.h:
              * editing/RemoveCSSPropertyCommand.h:
              * editing/RemoveNodeAttributeCommand.h:
              * editing/RemoveNodeCommand.h:
              * editing/RemoveNodePreservingChildrenCommand.h:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * editing/SplitElementCommand.h:
              * editing/SplitTextNodeCommand.h:
              * editing/SplitTextNodeContainingElementCommand.h:
              * editing/TextGranularity.h:
              * editing/TypingCommand.h:
              * editing/WrapContentsInDummySpanCommand.h:
              * history/BackForwardList.h:
              * history/HistoryItem.h:
              * history/HistoryItemTimer.h:
              * history/PageCache.h:
              * html/CanvasGradient.h:
              * html/CanvasPattern.h:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.h:
              * html/FormDataList.h:
              * html/HTMLAnchorElement.h:
              * html/HTMLAppletElement.h:
              * html/HTMLAreaElement.h:
              * html/HTMLBRElement.h:
              * html/HTMLBaseElement.h:
              * html/HTMLBaseFontElement.h:
              * html/HTMLBlockquoteElement.h:
              * html/HTMLBodyElement.h:
              * html/HTMLButtonElement.h:
              * html/HTMLCanvasElement.h:
              * html/HTMLCollection.h:
              * html/HTMLDListElement.h:
              * html/HTMLDirectoryElement.h:
              * html/HTMLDivElement.h:
              * html/HTMLElement.h:
              * html/HTMLElementFactory.h:
              * html/HTMLEmbedElement.h:
              * html/HTMLFieldSetElement.h:
              * html/HTMLFontElement.h:
              * html/HTMLFormCollection.h:
              * html/HTMLFormElement.h:
              * html/HTMLFrameSetElement.h:
              * html/HTMLGenericFormElement.h:
              * html/HTMLHRElement.h:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadingElement.h:
              * html/HTMLHtmlElement.h:
              * html/HTMLImageElement.h:
              * html/HTMLImageLoader.h:
              * html/HTMLInputElement.h:
              * html/HTMLIsIndexElement.h:
              * html/HTMLKeygenElement.h:
              * html/HTMLLIElement.h:
              * html/HTMLLabelElement.h:
              * html/HTMLLegendElement.h:
              * html/HTMLLinkElement.h:
              * html/HTMLMapElement.h:
              * html/HTMLMarqueeElement.h:
              * html/HTMLMenuElement.h:
              * html/HTMLMetaElement.h:
              * html/HTMLModElement.h:
              * html/HTMLNameCollection.h:
              * html/HTMLOListElement.h:
              * html/HTMLObjectElement.h:
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptionElement.h:
              * html/HTMLOptionsCollection.h:
              * html/HTMLParagraphElement.h:
              * html/HTMLParamElement.h:
              * html/HTMLParser.h:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.h:
              * html/HTMLQuoteElement.h:
              * html/HTMLScriptElement.h:
              * html/HTMLSelectElement.h:
              * html/HTMLStyleElement.h:
              * html/HTMLTableCaptionElement.h:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableColElement.h:
              * html/HTMLTableElement.h:
              * html/HTMLTablePartElement.h:
              * html/HTMLTableRowElement.h:
              * html/HTMLTableSectionElement.h:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextFieldInnerElement.h:
              * html/HTMLTitleElement.h:
              * html/HTMLUListElement.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.h:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGCircleElement.h:
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDOMImplementation.h:
              * ksvg2/svg/SVGDefsElement.h:
              * ksvg2/svg/SVGDescElement.h:
              * ksvg2/svg/SVGDocument.h:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLengthList.h:
              * ksvg2/svg/SVGLineElement.h:
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPathSegArc.h:
              * ksvg2/svg/SVGPathSegClosePath.h:
              * ksvg2/svg/SVGPathSegCurvetoCubic.h:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * ksvg2/svg/SVGPathSegLineto.h:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
              * ksvg2/svg/SVGPathSegLinetoVertical.h:
              * ksvg2/svg/SVGPathSegList.h:
              * ksvg2/svg/SVGPathSegMoveto.h:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGPointList.h:
              * ksvg2/svg/SVGPolyElement.h:
              * ksvg2/svg/SVGPolygonElement.h:
              * ksvg2/svg/SVGPolylineElement.h:
              * ksvg2/svg/SVGPreserveAspectRatio.h:
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.h:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGScriptElement.h:
              * ksvg2/svg/SVGSetElement.h:
              * ksvg2/svg/SVGStopElement.h:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGStyleElement.h:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledLocatableElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.h:
              * ksvg2/svg/SVGSymbolElement.h:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTextContentElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPositioningElement.h:
              * ksvg2/svg/SVGTitleElement.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.h:
              * ksvg2/svg/SVGUnitTypes.h:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.h:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.h:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocumentLoader.h:
              * loader/Request.h:
              * loader/SubresourceLoader.h:
              * loader/icon/IconDataCache.h:
              * loader/icon/IconDatabase.h:
              * loader/icon/IconLoader.h:
              * loader/icon/SQLDatabase.h:
              * loader/icon/SQLStatement.h:
              * loader/icon/SQLTransaction.h:
              * page/Frame.h:
              * page/FrameLoadRequest.h:
              * page/FrameTree.h:
              * page/FrameView.h:
              * page/PageState.h:
              * page/Plugin.h:
              * page/qt/FrameQt.h:
              * page/qt/FrameQtClient.h:
              * platform/Arena.h:
              * platform/ArrayImpl.h:
              * platform/Cursor.h:
              * platform/DeprecatedArray.h:
              * platform/DeprecatedCString.h:
              * platform/FileChooser.h:
              * platform/Font.h:
              * platform/FontCache.h:
              * platform/FontData.h:
              * platform/FontDescription.h:
              * platform/FontFamily.h:
              * platform/GlyphBuffer.h:
              * platform/GlyphMap.h:
              * platform/GlyphWidthMap.h:
              * platform/Logging.h:
              * platform/Pasteboard.h:
              * platform/PlatformString.h:
              * platform/PlugInInfoStore.h:
              * platform/PopupMenu.h:
              * platform/PopupMenuClient.h:
              * platform/ScrollBar.h:
              * platform/ScrollView.h:
              * platform/SearchPopupMenu.h:
              * platform/Shared.h:
              * platform/Sound.h:
              * platform/SystemTime.h:
              * platform/Timer.h:
              * platform/Widget.h:
              * platform/cf/RetainPtr.h:
              * platform/gdk/ChromeClientGdk.h:
              * platform/gdk/FontPlatformData.h:
              * platform/gdk/FrameGdk.h:
              * platform/gdk/KeyboardCodes.h:
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/RenderThemeGdk.h:
              * platform/graphics/BitmapImage.h:
              * platform/graphics/Color.h:
              * platform/graphics/FloatPoint.h:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/FloatRect.h:
              * platform/graphics/Icon.h:
              * platform/graphics/Image.h:
              * platform/graphics/ImageAnimationObserver.h:
              * platform/graphics/ImageBuffer.h:
              * platform/graphics/ImageSource.h:
              * platform/graphics/IntPoint.h:
              * platform/graphics/IntRect.h:
              * platform/graphics/IntSize.h:
              * platform/graphics/IntSizeHash.h:
              * platform/graphics/PathTraversalState.h:
              * platform/graphics/Pen.h:
              * platform/graphics/qt/ImageDecoderQt.h:
              * platform/graphics/svg/SVGImage.h:
              * platform/graphics/svg/SVGImageEmptyClients.h:
              * platform/graphics/svg/SVGPaintServer.h:
              * platform/graphics/svg/SVGPaintServerGradient.h:
              * platform/graphics/svg/SVGPaintServerLinearGradient.h:
              * platform/graphics/svg/SVGPaintServerPattern.h:
              * platform/graphics/svg/SVGPaintServerRadialGradient.h:
              * platform/graphics/svg/SVGPaintServerSolid.h:
              * platform/graphics/svg/SVGResource.h:
              * platform/graphics/svg/SVGResourceClipper.h:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/SVGResourceMarker.h:
              * platform/graphics/svg/SVGResourceMasker.h:
              * platform/graphics/svg/cg/CgSupport.h:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/mac/FontPlatformData.h:
              * platform/mac/PlatformScrollBar.h:
              * platform/network/AuthenticationChallenge.h:
              * platform/network/Credential.h:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ProtectionSpace.h:
              * platform/network/ResourceError.h:
              * platform/network/ResourceRequest.h:
              * platform/network/ResourceResponse.h:
              * platform/network/cf/FormDataStreamCFNet.h:
              * platform/network/cf/ResourceRequestCFNet.h:
              * platform/network/cf/ResourceResponseCFNet.h:
              * platform/network/gdk/ResourceHandleManager.h:
              * platform/network/mac/AuthenticationMac.h:
              * platform/network/mac/FormDataStreamMac.h:
              * platform/network/qt/ResourceHandleManagerKDE.h:
              * platform/network/qt/ResourceHandleManagerQt.h:
              * platform/network/win/ResourceHandleWin.h:
              * platform/qt/FontPlatformData.h:
              * platform/qt/KeyboardCodes.h:
              * platform/qt/PlatformScrollBar.h:
              * platform/qt/ScrollViewCanvasQt.h:
              * platform/qt/SharedTimerQt.h:
              * platform/win/FontPlatformData.h:
              * platform/win/PlatformScrollBar.h:
              * rendering/AutoTableLayout.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.h:
              * rendering/InlineBox.h:
              * rendering/InlineFlowBox.h:
              * rendering/Length.h:
              * rendering/ListMarkerBox.h:
              * rendering/RenderBox.h:
              * rendering/RenderMenuList.h:
              * rendering/RenderPart.h:
              * rendering/RenderPartObject.h:
              * rendering/RenderPath.h:
              * rendering/RenderReplaced.h:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.h:
              * rendering/RenderStyle.h:
              * rendering/RenderTableCol.h:
              * rendering/RenderThemeWin.h:
              * rendering/bidi.h:
              * xml/DOMParser.h:
              * xml/XPathEvaluator.h:
              * xml/XPathExpression.h:
              * xml/XPathExpressionNode.h:
              * xml/XPathFunctions.h:
              * xml/XPathNSResolver.h:
              * xml/XPathNamespace.h:
              * xml/XPathParser.h:
              * xml/XPathPath.h:
              * xml/XPathPredicate.h:
              * xml/XPathResult.h:
              * xml/XPathStep.h:
              * xml/XPathUtil.h:
              * xml/XPathValue.h:
              * xml/XPathVariableReference.h:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.h:
              * xml/xmlhttprequest.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8eddecf9
  32. 20 Oct, 2006 1 commit
    • aliceli1's avatar
      WebCore: · 5a36ed98
      aliceli1 authored
              Reviewed by Maciej.
      
              This is the initial foundation for the EditingController class and
              everything else it needs to work.  The idea is that the Frame has an
              EditingController object that it calls to handle editing commands, the
              most simple examples being copy/paste.  This controller will handle
              these editing commands in WebCore, and only hand off to WebKit to call
              editing delegates (to the let the app intercept editing actions if it
              wants to).  Thus we need a platform-specific client to which the
              EditingController hands off the delegate calls, 
              WebCoreEditingControllerClient.  On the WebCore side this is an 
              abstract base class, and on the WebKit(Mac) side this is an ObjC++
              subclass, WebEditingControllerClient.  How does the EditingController
              get a handle to its platform-specific client?  In WebKit, the creator
              of a platform-specific Frame creates the client (which is ref-counted)
              and passes it down the chain of constructors until it gets back to the
              EditingController, which then refs it in its constructor and derefs in
              its destructor.
              
              No Layout tests needed.
              
              * WebCore.xcodeproj/project.pbxproj:
              Added files and made DomRangeInternal.h and EditingClient.h private headers, necessary for WebKit to compile
      
              * bridge/EditorClient.h: Added.
              (WebCore::EditorClient::~EditorClient):
      
              * bridge/mac/FrameMac.h:
              Added an EditingClient to the constructor, to pass down to Frame constructor
      
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::FrameMac):
              Passed client down to Frame constructor
              
              * bridge/mac/WebCoreFrameBridge.h:
              Added an EditingClient to the constructor, to pass down to FrameMac constructor
              
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge initMainFrameWithPage:withEditorClient:]):
              (-[WebCoreFrameBridge initSubframeWithOwnerElement:withEditorClient:]):
              Passed client down to FrameMac constructor
              
              * editing/Editor.cpp: Added.
              Mostly stuf implementations of the following functions, except for a couple.  These are all needed by cut, copy, paste, delete.
              (WebCore::generalPasteboard):
              (WebCore::Editor::canCopy):
              (WebCore::Editor::canCut):
              (WebCore::Editor::canDelete):
              (WebCore::Editor::canDeleteRange):
              (WebCore::Editor::canPaste):
              (WebCore::Editor::canSmartCopyOrDelete):
              (WebCore::Editor::deleteSelection):
              (WebCore::Editor::deleteSelectionWithSmartDelete):
              (WebCore::Editor::isSelectionRichlyEditable):
              (WebCore::Editor::pasteAsPlainTextWithPasteboard):
              (WebCore::Editor::pasteWithPasteboard):
              (WebCore::Editor::selectedRange):
              (WebCore::Editor::shouldDeleteRange):
              (WebCore::Editor::tryDHTMLCopy):
              (WebCore::Editor::tryDHTMLCut):
              (WebCore::Editor::tryDHTMLPaste):
              (WebCore::Editor::writeSelectionToPasteboard):
              (WebCore::Editor::Editor):
              (WebCore::Editor::~Editor):
              (WebCore::Editor::cut):
              (WebCore::Editor::copy):
              (WebCore::Editor::paste):
              (WebCore::Editor::performDelete):
              
              * editing/Editor.h: Added.
              
              * page/Frame.h:
              Added an EditingClient to the constructor, to pass down to Editor constructor
      
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              Passed down to Editor constructor
              (WebCore::Frame::editor):
              Accessfor for Editor stored in FramePrivate
              
              * page/FramePrivate.h:
              (WebCore::FramePrivate::FramePrivate):
              Added an Editor object to the FramePrivate data
              
              * platform/Sound.h: Added.
              Made a platform-independent accessor to a beep function
              
              * platform/mac/SoundMac.mm: Added.
              (WebCore::systemBeep):
              calls mac system beep
      
      WebKit:
      
              Reviewed by Maciej.
      
              Adding knowledge of EditorClient to WebKit
      
              * WebCoreSupport/WebEditorClient.h: Added.
      
              * WebCoreSupport/WebEditorClient.mm: Added.
              (WebEditorClient::WebEditorClient):
              (WebEditorClient::~WebEditorClient):
              (WebEditorClient::shouldDeleteRange):
              Implementation of mac EditorClient
      
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge initMainFrameWithPage:frameName:view:]):
              (-[WebFrameBridge initSubframeWithOwnerElement:frameName:view:]):
              create an editor client to pass down the chain of constructors
      
              * WebKit.xcodeproj/project.pbxproj:
              Added related EditorClient files
      
              * WebKitPrefix.h:
              Added tiger build flag in order to make certain private headers from webcore compile successfully
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a36ed98
  33. 09 Jul, 2006 1 commit
    • darin's avatar
      Reviewed by Tim Hatcher. · f4b05b29
      darin authored
              - put more into the WebCore namespace
              - removed unused code for plain text fields
      
              Put more classes, class templates, enums, functions, and constants into
              the WebCore namespace, including all the headers in the platform directory.
      
              Removed lots of unneeded "WebCore::" qualifiers and "using" directives.
      
              Added some "WebCore::" qualifiers in a few places.
      
              Removed "uses WebCore::" in headers that we said we'd remove "when
              everything is in the WebCore namespace".
      
              * bindings/js/JSDOMParser.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSXSLTProcessor.cpp:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOM.mm:
              * bridge/History.h:
              * bridge/JavaAppletWidget.h:
              * bridge/mac/FormDataMac.h:
              * bridge/mac/FormDataMac.mm:
              * bridge/mac/WebCoreAXObject.mm:
              * bridge/mac/WebCoreEncodings.mm:
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreIconDatabaseBridge.mm:
              * bridge/mac/WebCorePageState.h:
              * bridge/mac/WebCoreScriptDebugger.mm:
              * bridge/mac/WebCoreSettings.h:
              * css/CSSGrammar.y:
              * css/CSSPageRule.cpp:
              * css/CSSPageRule.h:
              * css/MediaList.cpp:
              * css/cssstyleselector.h:
              * dom/Clipboard.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/EventTargetNode.h:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Position.h:
              * dom/Range.cpp:
              * dom/XMLTokenizer.cpp:
              * editing/AppendNodeCommand.h:
              * editing/ApplyStyleCommand.cpp:
              * editing/BreakBlockquoteCommand.cpp:
              * editing/BreakBlockquoteCommand.h:
              * editing/CompositeEditCommand.cpp:
              * editing/CompositeEditCommand.h:
              * editing/CreateLinkCommand.h:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.h:
              * editing/FormatBlockCommand.h:
              * editing/HTMLInterchange.cpp:
              * editing/HTMLInterchange.h:
              * editing/IndentOutdentCommand.h:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.h:
              * editing/InsertListCommand.h:
              * editing/InsertNodeBeforeCommand.h:
              * editing/InsertTextCommand.cpp:
              * editing/InsertTextCommand.h:
              * editing/JSEditor.cpp:
              * editing/JSEditor.h:
              * editing/JoinTextNodesCommand.h:
              * editing/MergeIdenticalElementsCommand.cpp:
              * editing/MergeIdenticalElementsCommand.h:
              * editing/ModifySelectionListLevel.h:
              * editing/MoveSelectionCommand.h:
              * editing/RebalanceWhitespaceCommand.h:
              * editing/RemoveNodeAttributeCommand.h:
              * editing/RemoveNodeCommand.h:
              * editing/RemoveNodePreservingChildrenCommand.h:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * editing/SplitElementCommand.cpp:
              * editing/SplitElementCommand.h:
              * editing/SplitTextNodeCommand.cpp:
              * editing/SplitTextNodeCommand.h:
              * editing/SplitTextNodeContainingElementCommand.h:
              * editing/TypingCommand.cpp:
              * editing/TypingCommand.h:
              * editing/UnlinkCommand.h:
              * editing/VisiblePosition.cpp:
              * editing/WrapContentsInDummySpanCommand.cpp:
              * editing/WrapContentsInDummySpanCommand.h:
              * editing/markup.cpp:
              * editing/markup.h:
              * html/HTMLAnchorElement.cpp:
              * html/HTMLBodyElement.cpp:
              * html/HTMLButtonElement.h:
              * html/HTMLCollection.h:
              * html/HTMLDocument.h:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLFormElement.cpp:
              * html/HTMLFormElement.h:
              * html/HTMLFrameElement.cpp:
              * html/HTMLFrameSetElement.cpp:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLLabelElement.cpp:
              * html/HTMLObjectElement.cpp:
              * html/HTMLObjectElement.h:
              * html/HTMLTableElement.cpp:
              * html/HTMLTablePartElement.cpp:
              * icon/IconDatabase.h:
              * kcanvas/KCanvasPath.h:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/RenderSVGContainer.cpp:
              * kcanvas/RenderSVGText.h:
              * kcanvas/device/KRenderingPaintServer.h:
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerSolid.cpp:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/svg/SVGElement.cpp:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGPoint.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGTRefElement.cpp:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.cpp:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/svgpathparser.cpp:
              * ksvg2/svg/svgpathparser.h:
              * loader/Cache.h:
              * loader/DocLoader.h:
              * loader/LoaderFunctions.h:
              * loader/mac/LoaderFunctionsMac.mm:
              * page/Frame.h:
              * page/FrameView.h:
              * page/Page.h:
              * page/Settings.h:
              * platform/AffineTransform.cpp:
              * platform/AffineTransform.h:
              * platform/Arena.cpp:
              * platform/Arena.h:
              * platform/CookieJar.h:
              * platform/DeprecatedCString.cpp:
              * platform/DeprecatedCString.h:
              * platform/DeprecatedPtrList.h:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedPtrListImpl.h:
              * platform/DeprecatedPtrQueue.h:
              * platform/DeprecatedString.cpp:
              * platform/DeprecatedString.h:
              * platform/DeprecatedStringList.cpp:
              * platform/DeprecatedStringList.h:
              * platform/DeprecatedValueList.h:
              * platform/DeprecatedValueListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FileButton.h:
              * platform/FloatPoint.h:
              * platform/FloatRect.h:
              * platform/FloatSize.h:
              * platform/FontData.h:
              * platform/FontFallbackList.h:
              * platform/GraphicsContext.h:
              * platform/IntPoint.h:
              * platform/IntRect.h:
              * platform/IntSize.h:
              * platform/KURL.cpp:
              * platform/KURL.h:
              * platform/ListBox.h:
              * platform/Logging.cpp:
              * platform/Logging.h:
              * platform/Pen.h:
              * platform/PopUpButton.h:
              * platform/RegularExpression.cpp:
              * platform/RegularExpression.h:
              * platform/SSLKeyGenerator.h:
              * platform/ScrollBar.h:
              * platform/SegmentedString.h:
              * platform/Shared.h:
              * platform/Slider.h:
              * platform/StringImpl.h:
              * platform/TextBox.h:
              * platform/TextField.h:
              * platform/TextStream.cpp:
              * platform/TextStream.h:
              * platform/TransferJob.h:
              * platform/TransferJobClient.h:
              * platform/Widget.h:
              * platform/cg/AffineTransformCG.cpp:
              * platform/mac/ClipboardMac.h:
              * platform/mac/ClipboardMac.mm:
              * platform/mac/DeprecatedStringListMac.mm:
              * platform/mac/FontCacheMac.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/ListBoxMac.mm:
              * platform/mac/PopUpButtonMac.mm:
              * platform/mac/SSLKeyGeneratorMac.mm:
              * platform/mac/TextBoxMac.mm:
              * platform/mac/TextFieldMac.mm:
              * platform/mac/WebCoreTextArea.h:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.h:
              * platform/mac/WebCoreTextField.mm:
              * rendering/DeprecatedRenderSelect.h:
              * rendering/RenderArena.cpp:
              * rendering/RenderArena.h:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBox.cpp:
              * rendering/RenderContainer.cpp:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlow.cpp:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLineEdit.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderStyle.cpp:
              * rendering/RenderStyle.h:
              * rendering/RenderText.cpp:
              * rendering/RenderTextFragment.cpp:
              * rendering/RenderTheme.h:
              * rendering/RenderTreeAsText.cpp:
              * rendering/RenderTreeAsText.h:
              * rendering/RenderView.h:
              * rendering/bidi.h:
              * xml/XSLStyleSheet.cpp:
              * xml/XSLTProcessor.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4b05b29