Rename current concrete IDB implementation to "Legacy".
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Sep 2015 21:01:41 +0000 (21:01 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Sep 2015 21:01:41 +0000 (21:01 +0000)
commitf6953a26bd3ef20cf6ca5313fd3db4ea9267e53f
treea6f75fb150efcf1f4548cbcaef21603efc1f0c5d
parent1b4242d5313cec4db1acb060e1efcfb527d2fb32
Rename current concrete IDB implementation to "Legacy".
https://bugs.webkit.org/show_bug.cgi?id=149118

Reviewed by Alex Christensen.

Source/WebCore:

No new tests (No change in behavior).

This patch makes IDL bindings abstract.
It then renames the current concrete implementations of the bindings from "IDB" to "Legacy".
Finally it moves those files and their support classes to a "legacy" subfolder.

* CMakeLists.txt:
* Modules/indexeddb/DOMWindowIndexedDatabase.cpp:
* Modules/indexeddb/IDBAny.cpp:
* Modules/indexeddb/IDBAny.h:
* Modules/indexeddb/IDBCursor.cpp:
* Modules/indexeddb/IDBCursor.h:
* Modules/indexeddb/IDBCursor.idl:
* Modules/indexeddb/IDBCursorWithValue.cpp:
* Modules/indexeddb/IDBCursorWithValue.h:
* Modules/indexeddb/IDBCursorWithValue.idl:
* Modules/indexeddb/IDBDatabase.cpp:
* Modules/indexeddb/IDBDatabase.h:
* Modules/indexeddb/IDBDatabase.idl:
* Modules/indexeddb/IDBFactory.cpp:
* Modules/indexeddb/IDBFactory.h:
* Modules/indexeddb/IDBFactory.idl:
* Modules/indexeddb/IDBIndex.cpp:
* Modules/indexeddb/IDBIndex.h:
* Modules/indexeddb/IDBIndex.idl:
* Modules/indexeddb/IDBObjectStore.cpp:
* Modules/indexeddb/IDBObjectStore.h:
* Modules/indexeddb/IDBObjectStore.idl:
* Modules/indexeddb/IDBOpenDBRequest.cpp:
* Modules/indexeddb/IDBOpenDBRequest.h:
* Modules/indexeddb/IDBOpenDBRequest.idl:
* Modules/indexeddb/IDBRequest.cpp:
* Modules/indexeddb/IDBRequest.h:
* Modules/indexeddb/IDBRequest.idl:
* Modules/indexeddb/IDBTransaction.cpp:
* Modules/indexeddb/IDBTransaction.h:
* Modules/indexeddb/IDBTransaction.idl:
* Modules/indexeddb/IDBVersionChangeEvent.cpp:
* Modules/indexeddb/IDBVersionChangeEvent.h:
* Modules/indexeddb/legacy/IDBCallbacks.h: Renamed from Source/WebCore/Modules/indexeddb/IDBCallbacks.h.
* Modules/indexeddb/legacy/IDBCursorBackend.cpp: Renamed from Source/WebCore/Modules/indexeddb/IDBCursorBackend.cpp.
* Modules/indexeddb/legacy/IDBCursorBackend.h: Renamed from Source/WebCore/Modules/indexeddb/IDBCursorBackend.h.
* Modules/indexeddb/legacy/IDBCursorBackendOperations.cpp: Renamed from Source/WebCore/Modules/indexeddb/IDBCursorBackendOperations.cpp.
* Modules/indexeddb/legacy/IDBCursorBackendOperations.h: Renamed from Source/WebCore/Modules/indexeddb/IDBCursorBackendOperations.h.
* Modules/indexeddb/legacy/IDBDatabaseBackend.cpp: Renamed from Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp.
* Modules/indexeddb/legacy/IDBDatabaseBackend.h: Renamed from Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.h.
* Modules/indexeddb/legacy/IDBDatabaseCallbacks.h: Renamed from Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacks.h.
* Modules/indexeddb/legacy/IDBDatabaseCallbacksImpl.cpp: Renamed from Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp.
* Modules/indexeddb/legacy/IDBDatabaseCallbacksImpl.h: Renamed from Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.h.
* Modules/indexeddb/legacy/IDBFactoryBackendInterface.h: Renamed from Source/WebCore/Modules/indexeddb/IDBFactoryBackendInterface.h.
* Modules/indexeddb/legacy/IDBPendingDeleteCall.h: Renamed from Source/WebCore/Modules/indexeddb/IDBPendingDeleteCall.h.
* Modules/indexeddb/legacy/IDBPendingOpenCall.h: Renamed from Source/WebCore/Modules/indexeddb/IDBPendingOpenCall.h.
* Modules/indexeddb/legacy/IDBPendingTransactionMonitor.cpp: Renamed from Source/WebCore/Modules/indexeddb/IDBPendingTransactionMonitor.cpp.
* Modules/indexeddb/legacy/IDBPendingTransactionMonitor.h: Renamed from Source/WebCore/Modules/indexeddb/IDBPendingTransactionMonitor.h.
* Modules/indexeddb/legacy/IDBTransactionBackend.cpp: Renamed from Source/WebCore/Modules/indexeddb/IDBTransactionBackend.cpp.
* Modules/indexeddb/legacy/IDBTransactionBackend.h: Renamed from Source/WebCore/Modules/indexeddb/IDBTransactionBackend.h.
* Modules/indexeddb/legacy/IDBTransactionBackendOperations.cpp: Renamed from Source/WebCore/Modules/indexeddb/IDBTransactionBackendOperations.cpp.
* Modules/indexeddb/legacy/IDBTransactionBackendOperations.h: Renamed from Source/WebCore/Modules/indexeddb/IDBTransactionBackendOperations.h.
* Modules/indexeddb/legacy/IDBTransactionCoordinator.cpp: Renamed from Source/WebCore/Modules/indexeddb/IDBTransactionCoordinator.cpp.
* Modules/indexeddb/legacy/IDBTransactionCoordinator.h: Renamed from Source/WebCore/Modules/indexeddb/IDBTransactionCoordinator.h.
* Modules/indexeddb/legacy/LegacyAny.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBAny.cpp.
* Modules/indexeddb/legacy/LegacyAny.h: Added.
* Modules/indexeddb/legacy/LegacyCursor.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBCursor.cpp.
* Modules/indexeddb/legacy/LegacyCursor.h: Copied from Source/WebCore/Modules/indexeddb/IDBCursor.h.
* Modules/indexeddb/legacy/LegacyCursorWithValue.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBCursorWithValue.cpp.
* Modules/indexeddb/legacy/LegacyCursorWithValue.h: Copied from Source/WebCore/Modules/indexeddb/IDBCursorWithValue.h.
* Modules/indexeddb/legacy/LegacyDatabase.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBDatabase.cpp.
* Modules/indexeddb/legacy/LegacyDatabase.h: Copied from Source/WebCore/Modules/indexeddb/IDBDatabase.h.
* Modules/indexeddb/legacy/LegacyFactory.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBFactory.cpp.
* Modules/indexeddb/legacy/LegacyFactory.h: Copied from Source/WebCore/Modules/indexeddb/IDBFactory.h.
* Modules/indexeddb/legacy/LegacyIndex.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBIndex.cpp.
* Modules/indexeddb/legacy/LegacyIndex.h: Added.
* Modules/indexeddb/legacy/LegacyObjectStore.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp.
* Modules/indexeddb/legacy/LegacyObjectStore.h: Copied from Source/WebCore/Modules/indexeddb/IDBObjectStore.h.
* Modules/indexeddb/legacy/LegacyOpenDBRequest.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.cpp.
* Modules/indexeddb/legacy/LegacyOpenDBRequest.h: Copied from Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h.
* Modules/indexeddb/legacy/LegacyRequest.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBRequest.cpp.
* Modules/indexeddb/legacy/LegacyRequest.h: Copied from Source/WebCore/Modules/indexeddb/IDBRequest.h.
* Modules/indexeddb/legacy/LegacyTransaction.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBTransaction.cpp.
* Modules/indexeddb/legacy/LegacyTransaction.h: Copied from Source/WebCore/Modules/indexeddb/IDBTransaction.h.
* Modules/indexeddb/legacy/LegacyVersionChangeEvent.cpp: Copied from Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.cpp.
* Modules/indexeddb/legacy/LegacyVersionChangeEvent.h: Copied from Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h.
* WebCore.xcodeproj/project.pbxproj:
* WebCore.vcxproj/WebCore.vcxproj:

Source/WebKit2:

* CMakeLists.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
81 files changed:
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/Modules/indexeddb/DOMWindowIndexedDatabase.cpp
Source/WebCore/Modules/indexeddb/IDBAny.cpp
Source/WebCore/Modules/indexeddb/IDBAny.h
Source/WebCore/Modules/indexeddb/IDBCursor.cpp
Source/WebCore/Modules/indexeddb/IDBCursor.h
Source/WebCore/Modules/indexeddb/IDBCursor.idl
Source/WebCore/Modules/indexeddb/IDBCursorWithValue.cpp
Source/WebCore/Modules/indexeddb/IDBCursorWithValue.h
Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl
Source/WebCore/Modules/indexeddb/IDBDatabase.cpp
Source/WebCore/Modules/indexeddb/IDBDatabase.h
Source/WebCore/Modules/indexeddb/IDBDatabase.idl
Source/WebCore/Modules/indexeddb/IDBFactory.cpp
Source/WebCore/Modules/indexeddb/IDBFactory.h
Source/WebCore/Modules/indexeddb/IDBFactory.idl
Source/WebCore/Modules/indexeddb/IDBIndex.cpp
Source/WebCore/Modules/indexeddb/IDBIndex.h
Source/WebCore/Modules/indexeddb/IDBIndex.idl
Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp
Source/WebCore/Modules/indexeddb/IDBObjectStore.h
Source/WebCore/Modules/indexeddb/IDBObjectStore.idl
Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.cpp
Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h
Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl
Source/WebCore/Modules/indexeddb/IDBRequest.cpp
Source/WebCore/Modules/indexeddb/IDBRequest.h
Source/WebCore/Modules/indexeddb/IDBRequest.idl
Source/WebCore/Modules/indexeddb/IDBTransaction.cpp
Source/WebCore/Modules/indexeddb/IDBTransaction.h
Source/WebCore/Modules/indexeddb/IDBTransaction.idl
Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.cpp
Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h
Source/WebCore/Modules/indexeddb/legacy/IDBCallbacks.h [moved from Source/WebCore/Modules/indexeddb/IDBCallbacks.h with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBCursorBackend.cpp [moved from Source/WebCore/Modules/indexeddb/IDBCursorBackend.cpp with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBCursorBackend.h [moved from Source/WebCore/Modules/indexeddb/IDBCursorBackend.h with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBCursorBackendOperations.cpp [moved from Source/WebCore/Modules/indexeddb/IDBCursorBackendOperations.cpp with 99% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBCursorBackendOperations.h [moved from Source/WebCore/Modules/indexeddb/IDBCursorBackendOperations.h with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBDatabaseBackend.cpp [moved from Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBDatabaseBackend.h [moved from Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.h with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBDatabaseCallbacks.h [moved from Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacks.h with 96% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBDatabaseCallbacksImpl.cpp [moved from Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp with 96% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBDatabaseCallbacksImpl.h [moved from Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.h with 95% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBFactoryBackendInterface.h [moved from Source/WebCore/Modules/indexeddb/IDBFactoryBackendInterface.h with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBPendingDeleteCall.h [moved from Source/WebCore/Modules/indexeddb/IDBPendingDeleteCall.h with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBPendingOpenCall.h [moved from Source/WebCore/Modules/indexeddb/IDBPendingOpenCall.h with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBPendingTransactionMonitor.cpp [moved from Source/WebCore/Modules/indexeddb/IDBPendingTransactionMonitor.cpp with 93% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBPendingTransactionMonitor.h [moved from Source/WebCore/Modules/indexeddb/IDBPendingTransactionMonitor.h with 95% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBTransactionBackend.cpp [moved from Source/WebCore/Modules/indexeddb/IDBTransactionBackend.cpp with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBTransactionBackend.h [moved from Source/WebCore/Modules/indexeddb/IDBTransactionBackend.h with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBTransactionBackendOperations.cpp [moved from Source/WebCore/Modules/indexeddb/IDBTransactionBackendOperations.cpp with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBTransactionBackendOperations.h [moved from Source/WebCore/Modules/indexeddb/IDBTransactionBackendOperations.h with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBTransactionCoordinator.cpp [moved from Source/WebCore/Modules/indexeddb/IDBTransactionCoordinator.cpp with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/IDBTransactionCoordinator.h [moved from Source/WebCore/Modules/indexeddb/IDBTransactionCoordinator.h with 100% similarity]
Source/WebCore/Modules/indexeddb/legacy/LegacyAny.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyAny.h [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.h [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyCursorWithValue.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyCursorWithValue.h [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyDatabase.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyDatabase.h [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyFactory.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyFactory.h [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyIndex.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyIndex.h [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.h [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyOpenDBRequest.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyOpenDBRequest.h [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.h [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.h [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyVersionChangeEvent.cpp [new file with mode: 0644]
Source/WebCore/Modules/indexeddb/legacy/LegacyVersionChangeEvent.h [new file with mode: 0644]
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebKit2/CMakeLists.txt
Source/WebKit2/ChangeLog