Skip to content
  • abarth@webkit.org's avatar
    Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE) · 1d28bb52
    abarth@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=68205
    
    Reviewed by Eric Seidel.
    
    .: 
    
    * Source/cmake/OptionsEfl.cmake:
    * Source/cmake/OptionsWinCE.cmake:
    * Source/cmakeconfig.h.cmake:
    * configure.ac:
    
    Source/JavaScriptCore: 
    
    * Configurations/FeatureDefines.xcconfig:
    * wtf/Platform.h:
    
    Source/WebCore: 
    
    As discussed on webkit-dev.
    
    * CMakeLists.txt:
    * Configurations/FeatureDefines.xcconfig:
    * GNUmakefile.am:
    * GNUmakefile.list.am:
    * UseJSC.cmake:
    * bindings/generic/RuntimeEnabledFeatures.cpp:
    * bindings/generic/RuntimeEnabledFeatures.h:
    * bindings/js/JSCustomSQLStatementErrorCallback.cpp:
    * bindings/js/JSDOMBinding.cpp:
    (WebCore::setDOMException):
    * bindings/js/JSExceptionBase.cpp:
    (WebCore::toExceptionBase):
    * bindings/js/JSInjectedScriptHostCustom.cpp:
    (WebCore::JSInjectedScriptHost::databaseId):
    * bindings/js/JSSQLResultSetRowListCustom.cpp:
    * bindings/js/JSSQLTransactionCustom.cpp:
    * bindings/js/JSSQLTransactionSyncCustom.cpp:
    * bindings/scripts/test/CPP/WebDOMTestCallback.cpp:
    * bindings/scripts/test/CPP/WebDOMTestCallback.h:
    * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
    * bindings/scripts/test/JS/JSTestCallback.cpp:
    * bindings/scripts/test/JS/JSTestCallback.h:
    * bindings/scripts/test/ObjC/DOMTestCallback.mm:
    * bindings/scripts/test/TestCallback.idl:
    * bindings/scripts/test/V8/V8TestCallback.cpp:
    * bindings/scripts/test/V8/V8TestCallback.h:
    * bindings/v8/V8Proxy.cpp:
    (WebCore::V8Proxy::setDOMException):
    * bindings/v8/V8Proxy.h:
    * bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp:
    * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    (WebCore::V8InjectedScriptHost::databaseIdCallback):
    * bindings/v8/custom/V8SQLResultSetRowListCustom.cpp:
    * bindings/v8/custom/V8SQLTransactionCustom.cpp:
    * bindings/v8/custom/V8SQLTransactionSyncCustom.cpp:
    * dom/Document.cpp:
    * dom/Document.h:
    * dom/ExceptionCode.cpp:
    (WebCore::getExceptionCodeDescription):
    * dom/ExceptionCode.h:
    * dom/ScriptExecutionContext.cpp:
    (WebCore::ScriptExecutionContext::ScriptExecutionContext):
    (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
    * dom/ScriptExecutionContext.h:
    * features.pri:
    * history/PageCache.cpp:
    (WebCore::logCanCacheFrameDecision):
    (WebCore::PageCache::canCachePageContainingThisFrame):
    * inspector/InjectedScriptHost.cpp:
    (WebCore::InjectedScriptHost::InjectedScriptHost):
    (WebCore::InjectedScriptHost::disconnect):
    * inspector/InjectedScriptHost.h:
    (WebCore::InjectedScriptHost::init):
    * inspector/InspectorController.cpp:
    (WebCore::InspectorController::InspectorController):
    (WebCore::InspectorController::connectFrontend):
    (WebCore::InspectorController::disconnectFrontend):
    (WebCore::InspectorController::restoreInspectorStateFromCookie):
    * inspector/InspectorController.h:
    * inspector/InspectorDatabaseAgent.cpp:
    * inspector/InspectorDatabaseInstrumentation.h:
    * inspector/InspectorDatabaseResource.cpp:
    * inspector/InspectorDatabaseResource.h:
    * inspector/InspectorInstrumentation.cpp:
    (WebCore::InspectorInstrumentation::didCommitLoadImpl):
    * inspector/InspectorInstrumentation.h:
    * inspector/InstrumentingAgents.h:
    (WebCore::InstrumentingAgents::InstrumentingAgents):
    * inspector/WorkerInspectorController.cpp:
    (WebCore::WorkerInspectorController::WorkerInspectorController):
    (WebCore::WorkerInspectorController::connectFrontend):
    * loader/EmptyClients.h:
    * loader/FrameLoader.cpp:
    (WebCore::FrameLoader::stopLoading):
    * page/ChromeClient.h:
    * page/DOMWindow.cpp:
    * page/DOMWindow.h:
    * page/DOMWindow.idl:
    * platform/sql/SQLiteAuthorizer.cpp:
    * platform/sql/SQLiteDatabase.cpp:
    * platform/sql/SQLiteFileSystem.cpp:
    * platform/sql/SQLiteStatement.cpp:
    * platform/sql/SQLiteTransaction.cpp:
    * storage/AbstractDatabase.cpp:
    * storage/AbstractDatabase.h:
    * storage/ChangeVersionWrapper.cpp:
    * storage/ChangeVersionWrapper.h:
    * storage/Database.cpp:
    * storage/Database.h:
    * storage/Database.idl:
    * storage/DatabaseAuthorizer.cpp:
    * storage/DatabaseCallback.h:
    * storage/DatabaseCallback.idl:
    * storage/DatabaseDetails.h:
    * storage/DatabaseSync.cpp:
    * storage/DatabaseSync.h:
    * storage/DatabaseSync.idl:
    * storage/DatabaseTask.cpp:
    * storage/DatabaseTask.h:
    * storage/DatabaseThread.cpp:
    * storage/DatabaseThread.h:
    * storage/DatabaseTracker.cpp:
    * storage/DatabaseTracker.h:
    * storage/DatabaseTrackerClient.h:
    * storage/OriginQuotaManager.cpp:
    * storage/OriginQuotaManager.h:
    * storage/OriginUsageRecord.cpp:
    * storage/OriginUsageRecord.h:
    * storage/SQLCallbackWrapper.h:
    * storage/SQLError.h:
    * storage/SQLError.idl:
    * storage/SQLException.h:
    * storage/SQLException.idl:
    * storage/SQLResultSet.cpp:
    * storage/SQLResultSet.h:
    * storage/SQLResultSet.idl:
    * storage/SQLResultSetRowList.cpp:
    * storage/SQLResultSetRowList.h:
    * storage/SQLResultSetRowList.idl:
    * storage/SQLStatement.cpp:
    * storage/SQLStatement.h:
    * storage/SQLStatementCallback.h:
    * storage/SQLStatementCallback.idl:
    * storage/SQLStatementErrorCallback.h:
    * storage/SQLStatementErrorCallback.idl:
    * storage/SQLStatementSync.cpp:
    * storage/SQLStatementSync.h:
    * storage/SQLTransaction.cpp:
    * storage/SQLTransaction.h:
    * storage/SQLTransaction.idl:
    * storage/SQLTransactionCallback.h:
    * storage/SQLTransactionCallback.idl:
    * storage/SQLTransactionClient.cpp:
    * storage/SQLTransactionClient.h:
    * storage/SQLTransactionCoordinator.cpp:
    * storage/SQLTransactionCoordinator.h:
    * storage/SQLTransactionErrorCallback.h:
    * storage/SQLTransactionErrorCallback.idl:
    * storage/SQLTransactionSync.cpp:
    * storage/SQLTransactionSync.h:
    * storage/SQLTransactionSync.idl:
    * storage/SQLTransactionSyncCallback.h:
    * storage/SQLTransactionSyncCallback.idl:
    * storage/chromium/DatabaseObserver.h:
    * storage/chromium/DatabaseTrackerChromium.cpp:
    * storage/chromium/QuotaTracker.cpp:
    * storage/chromium/QuotaTracker.h:
    * storage/chromium/SQLTransactionClientChromium.cpp:
    * workers/WorkerContext.cpp:
    * workers/WorkerContext.h:
    * workers/WorkerContext.idl:
    * workers/WorkerThread.cpp:
    (WebCore::WorkerThreadShutdownStartTask::performTask):
    (WebCore::WorkerThread::stop):
    
    Source/WebKit/chromium: 
    
    * src/DatabaseObserver.cpp:
    * src/WebDatabase.cpp:
    (WebKit::WebDatabase::updateDatabaseSize):
    (WebKit::WebDatabase::updateSpaceAvailable):
    (WebKit::WebDatabase::resetSpaceAvailable):
    (WebKit::WebDatabase::closeDatabaseImmediately):
    * src/WebRuntimeFeatures.cpp:
    (WebKit::WebRuntimeFeatures::enableDatabase):
    (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
    
    Source/WebKit/efl: 
    
    * WebCoreSupport/ChromeClientEfl.cpp:
    * WebCoreSupport/ChromeClientEfl.h:
    * ewk/ewk_settings.cpp:
    (ewk_settings_web_database_default_quota_get):
    (ewk_settings_web_database_path_set):
    (ewk_settings_web_database_path_get):
    
    Source/WebKit/gtk: 
    
    * WebCoreSupport/ChromeClientGtk.cpp:
    * WebCoreSupport/ChromeClientGtk.h:
    * webkit/webkitsecurityorigin.cpp:
    (webkit_security_origin_get_web_database_usage):
    (webkit_security_origin_get_web_database_quota):
    (webkit_security_origin_set_web_database_quota):
    (webkit_security_origin_get_all_web_databases):
    * webkit/webkitwebdatabase.cpp:
    (webkit_web_database_get_display_name):
    (webkit_web_database_get_expected_size):
    (webkit_web_database_get_size):
    (webkit_web_database_get_filename):
    (webkit_web_database_remove):
    (webkit_remove_all_web_databases):
    (webkit_get_web_database_directory_path):
    (webkit_set_web_database_directory_path):
    * webkit/webkitwebview.cpp:
    (webkit_web_view_update_settings):
    (webkit_web_view_settings_notify):
    
    Source/WebKit/haiku: 
    
    * WebCoreSupport/ChromeClientHaiku.h:
    
    Source/WebKit/mac: 
    
    * Storage/WebDatabaseManager.mm:
    * Storage/WebDatabaseManagerInternal.h:
    * Storage/WebDatabaseManagerPrivate.h:
    * Storage/WebDatabaseQuotaManager.mm:
    (-[WebDatabaseQuotaManager usage]):
    (-[WebDatabaseQuotaManager quota]):
    (-[WebDatabaseQuotaManager setQuota:]):
    * Storage/WebDatabaseTrackerClient.h:
    * Storage/WebDatabaseTrackerClient.mm:
    * WebCoreSupport/WebChromeClient.h:
    * WebCoreSupport/WebChromeClient.mm:
    * WebCoreSupport/WebSecurityOrigin.mm:
    (-[WebSecurityOrigin usage]):
    (-[WebSecurityOrigin quota]):
    (-[WebSecurityOrigin setQuota:]):
    * WebView/WebFrame.mm:
    (-[WebFrame _cacheabilityDictionary]):
    * WebView/WebView.mm:
    (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]):
    (-[WebView _preferencesChanged:]):
    
    Source/WebKit/qt: 
    
    * Api/qwebdatabase.cpp:
    (QWebDatabase::displayName):
    (QWebDatabase::expectedSize):
    (QWebDatabase::size):
    (QWebDatabase::fileName):
    (QWebDatabase::removeDatabase):
    (QWebDatabase::removeAllDatabases):
    * Api/qwebsecurityorigin.cpp:
    (QWebSecurityOrigin::databaseUsage):
    (QWebSecurityOrigin::databaseQuota):
    (QWebSecurityOrigin::setDatabaseQuota):
    (QWebSecurityOrigin::allOrigins):
    (QWebSecurityOrigin::databases):
    * Api/qwebsettings.cpp:
    (QWebSettingsPrivate::apply):
    (QWebSettings::setOfflineStoragePath):
    (QWebSettings::offlineStoragePath):
    * WebCoreSupport/ChromeClientQt.cpp:
    * WebCoreSupport/ChromeClientQt.h:
    
    Source/WebKit/win: 
    
    * ForEachCoClass.h:
    * WebCoreSupport/WebChromeClient.cpp:
    * WebCoreSupport/WebChromeClient.h:
    * WebDatabaseManager.cpp:
    * WebDatabaseManager.h:
    * WebSecurityOrigin.cpp:
    (WebSecurityOrigin::usage):
    (WebSecurityOrigin::quota):
    (WebSecurityOrigin::setQuota):
    * WebView.cpp:
    (WebView::initWithFrame):
    (WebView::notifyPreferencesChanged):
    
    Source/WebKit/wince: 
    
    * WebCoreSupport/ChromeClientWinCE.cpp:
    * WebCoreSupport/ChromeClientWinCE.h:
    
    Source/WebKit/wx: 
    
    * WebKitSupport/ChromeClientWx.cpp:
    * WebKitSupport/ChromeClientWx.h:
    * WebView.cpp:
    (wxWebView::Create):
    (wxWebView::SetDatabaseDirectory):
    (wxWebView::GetDatabaseDirectory):
    (wxWebView::SetDatabasesEnabled):
    (wxWebView::AreDatabasesEnabled):
    
    Source/WebKit2: 
    
    * WebProcess/WebCoreSupport/WebChromeClient.cpp:
    * WebProcess/WebCoreSupport/WebChromeClient.h:
    * WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::updatePreferences):
    * WebProcess/WebProcess.cpp:
    (WebKit::WebProcess::initializeWebProcess):
    
    WebKitLibraries: 
    
    * win/tools/vsprops/FeatureDefines.vsprops:
    * win/tools/vsprops/FeatureDefinesCairo.vsprops:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1d28bb52