.:
[EFL] Turn on ENABLE_GAMEPAD_DEPRECATED option.
https://bugs.webkit.org/show_bug.cgi?id=136110

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2014-08-22
Reviewed by Gyuyoung Kim.

Turn on ENABLE_GAMEPAD_DEPRECATED option for the WK2 Efl.

* Source/cmake/OptionsEfl.cmake:

Source/WebCore:
[EFL] Fix build break caused by ENABLE_GAMEPAD_DEPRECATED.
https://bugs.webkit.org/show_bug.cgi?id=136110

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2014-08-22
Reviewed by Gyuyoung Kim.

WebCore_INCLUDE_DIRECTORY for gamepad was removed from WK2 Efl in order to fix build break when ENABLE_GAMEPAD_DEPRECATED is on.

No new tests because no functional changes.

* PlatformEfl.cmake:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove LevelDB.
https://bugs.webkit.org/show_bug.cgi?id=136170

Patch by Renato Nagy <nagy.renato@stud.u-szeged.hu> on 2014-08-22
Reviewed by Gyuyoung Kim.

Source/ThirdParty:

* leveldb/AUTHORS: Removed.
* leveldb/LICENSE: Removed.
* leveldb/Makefile: Removed.
* leveldb/NEWS: Removed.
* leveldb/README: Removed.
* leveldb/TODO: Removed.
* leveldb/build_detect_platform: Removed.
* leveldb/db/builder.cc: Removed.
* leveldb/db/builder.h: Removed.
* leveldb/db/c.cc: Removed.
* leveldb/db/c_test.c: Removed.
* leveldb/db/corruption_test.cc: Removed.
* leveldb/db/db_bench.cc: Removed.
* leveldb/db/db_impl.cc: Removed.
* leveldb/db/db_impl.h: Removed.
* leveldb/db/db_iter.cc: Removed.
* leveldb/db/db_iter.h: Removed.
* leveldb/db/db_test.cc: Removed.
* leveldb/db/dbformat.cc: Removed.
* leveldb/db/dbformat.h: Removed.
* leveldb/db/dbformat_test.cc: Removed.
* leveldb/db/filename.cc: Removed.
* leveldb/db/filename.h: Removed.
* leveldb/db/filename_test.cc: Removed.
* leveldb/db/leveldb_main.cc: Removed.
* leveldb/db/log_format.h: Removed.
* leveldb/db/log_reader.cc: Removed.
* leveldb/db/log_reader.h: Removed.
* leveldb/db/log_test.cc: Removed.
* leveldb/db/log_writer.cc: Removed.
* leveldb/db/log_writer.h: Removed.
* leveldb/db/memtable.cc: Removed.
* leveldb/db/memtable.h: Removed.
* leveldb/db/repair.cc: Removed.
* leveldb/db/skiplist.h: Removed.
* leveldb/db/skiplist_test.cc: Removed.
* leveldb/db/snapshot.h: Removed.
* leveldb/db/table_cache.cc: Removed.
* leveldb/db/table_cache.h: Removed.
* leveldb/db/version_edit.cc: Removed.
* leveldb/db/version_edit.h: Removed.
* leveldb/db/version_edit_test.cc: Removed.
* leveldb/db/version_set.cc: Removed.
* leveldb/db/version_set.h: Removed.
* leveldb/db/version_set_test.cc: Removed.
* leveldb/db/write_batch.cc: Removed.
* leveldb/db/write_batch_internal.h: Removed.
* leveldb/db/write_batch_test.cc: Removed.
* leveldb/doc/bench/db_bench_sqlite3.cc: Removed.
* leveldb/doc/bench/db_bench_tree_db.cc: Removed.
* leveldb/doc/benchmark.html: Removed.
* leveldb/doc/doc.css: Removed.
* leveldb/doc/impl.html: Removed.
* leveldb/doc/index.html: Removed.
* leveldb/doc/log_format.txt: Removed.
* leveldb/doc/table_format.txt: Removed.
* leveldb/helpers/memenv/memenv.cc: Removed.
* leveldb/helpers/memenv/memenv.h: Removed.
* leveldb/helpers/memenv/memenv_test.cc: Removed.
* leveldb/include/leveldb/c.h: Removed.
* leveldb/include/leveldb/cache.h: Removed.
* leveldb/include/leveldb/comparator.h: Removed.
* leveldb/include/leveldb/db.h: Removed.
* leveldb/include/leveldb/env.h: Removed.
* leveldb/include/leveldb/filter_policy.h: Removed.
* leveldb/include/leveldb/iterator.h: Removed.
* leveldb/include/leveldb/options.h: Removed.
* leveldb/include/leveldb/slice.h: Removed.
* leveldb/include/leveldb/status.h: Removed.
* leveldb/include/leveldb/table.h: Removed.
* leveldb/include/leveldb/table_builder.h: Removed.
* leveldb/include/leveldb/write_batch.h: Removed.
* leveldb/port/README: Removed.
* leveldb/port/atomic_pointer.h: Removed.
* leveldb/port/port.h: Removed.
* leveldb/port/port_example.h: Removed.
* leveldb/port/port_posix.cc: Removed.
* leveldb/port/port_posix.h: Removed.
* leveldb/port/thread_annotations.h: Removed.
* leveldb/port/win/stdint.h: Removed.
* leveldb/table/block.cc: Removed.
* leveldb/table/block.h: Removed.
* leveldb/table/block_builder.cc: Removed.
* leveldb/table/block_builder.h: Removed.
* leveldb/table/filter_block.cc: Removed.
* leveldb/table/filter_block.h: Removed.
* leveldb/table/filter_block_test.cc: Removed.
* leveldb/table/format.cc: Removed.
* leveldb/table/format.h: Removed.
* leveldb/table/iterator.cc: Removed.
* leveldb/table/iterator_wrapper.h: Removed.
* leveldb/table/merger.cc: Removed.
* leveldb/table/merger.h: Removed.
* leveldb/table/table.cc: Removed.
* leveldb/table/table_builder.cc: Removed.
* leveldb/table/table_test.cc: Removed.
* leveldb/table/two_level_iterator.cc: Removed.
* leveldb/table/two_level_iterator.h: Removed.
* leveldb/util/arena.cc: Removed.
* leveldb/util/arena.h: Removed.
* leveldb/util/arena_test.cc: Removed.
* leveldb/util/bloom.cc: Removed.
* leveldb/util/bloom_test.cc: Removed.
* leveldb/util/cache.cc: Removed.
* leveldb/util/cache_test.cc: Removed.
* leveldb/util/coding.cc: Removed.
* leveldb/util/coding.h: Removed.
* leveldb/util/coding_test.cc: Removed.
* leveldb/util/comparator.cc: Removed.
* leveldb/util/crc32c.cc: Removed.
* leveldb/util/crc32c.h: Removed.
* leveldb/util/crc32c_test.cc: Removed.
* leveldb/util/env.cc: Removed.
* leveldb/util/env_posix.cc: Removed.
* leveldb/util/env_test.cc: Removed.
* leveldb/util/filter_policy.cc: Removed.
* leveldb/util/hash.cc: Removed.
* leveldb/util/hash.h: Removed.
* leveldb/util/histogram.cc: Removed.
* leveldb/util/histogram.h: Removed.
* leveldb/util/logging.cc: Removed.
* leveldb/util/logging.h: Removed.
* leveldb/util/mutexlock.h: Removed.
* leveldb/util/options.cc: Removed.
* leveldb/util/posix_logger.h: Removed.
* leveldb/util/random.h: Removed.
* leveldb/util/status.cc: Removed.
* leveldb/util/testharness.cc: Removed.
* leveldb/util/testharness.h: Removed.
* leveldb/util/testutil.cc: Removed.
* leveldb/util/testutil.h: Removed.

Source/WebCore:

* CMakeLists.txt:
* Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::createIndex):
* Modules/indexeddb/IDBTransactionCoordinator.cpp:
(WebCore::IDBTransactionCoordinator::canRunTransaction):
(WebCore::doScopesOverlap): Deleted.
* Modules/indexeddb/leveldb/IDBBackingStoreCursorLevelDB.cpp: Removed.
* Modules/indexeddb/leveldb/IDBBackingStoreCursorLevelDB.h: Removed.
* Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp: Removed.
* Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h: Removed.
* Modules/indexeddb/leveldb/IDBBackingStoreTransactionLevelDB.cpp: Removed.
* Modules/indexeddb/leveldb/IDBBackingStoreTransactionLevelDB.h: Removed.
* Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp: Removed.
* Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h: Removed.
* Modules/indexeddb/leveldb/IDBIndexWriterLevelDB.cpp: Removed.
* Modules/indexeddb/leveldb/IDBIndexWriterLevelDB.h: Removed.
* Modules/indexeddb/leveldb/IDBLevelDBCoding.cpp: Removed.
* Modules/indexeddb/leveldb/IDBLevelDBCoding.h: Removed.
* Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.cpp: Removed.
* Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h: Removed.
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* platform/DatabaseStrategy.cpp:
(WebCore::DatabaseStrategy::createIDBFactoryBackend):
* platform/leveldb/LevelDBComparator.h: Removed.
* platform/leveldb/LevelDBDatabase.cpp: Removed.
* platform/leveldb/LevelDBDatabase.h: Removed.
* platform/leveldb/LevelDBIterator.h: Removed.
* platform/leveldb/LevelDBSlice.h: Removed.
* platform/leveldb/LevelDBTransaction.cpp: Removed.
* platform/leveldb/LevelDBTransaction.h: Removed.
* platform/leveldb/LevelDBWriteBatch.cpp: Removed.
* platform/leveldb/LevelDBWriteBatch.h: Removed.

Tools:

* Scripts/webkitpy/common/config/watchlist:
* Scripts/webkitpy/style/checker.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Try to fix the Mac build using the internal SDK.

* bindings/objc/PublicDOMInterfaces.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[TexMap] Only notify of a required flush on the first layer property change
https://bugs.webkit.org/show_bug.cgi?id=136104

Reviewed by Martin Robinson.

The GraphicsLayer's client should only be notified that a flush is required
when the first change of one of the layer's properties is initiated, instead
of requesting the flush on every such change.

* platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
(WebCore::GraphicsLayerTextureMapper::notifyChange):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Clean up build warnings: control reaches end of non-void function
https://bugs.webkit.org/show_bug.cgi?id=135889

Reviewed by Alexey Proskuryakov.

* bindings/js/JSCryptoAlgorithmDictionary.cpp:
(WebCore::JSCryptoAlgorithmDictionary::createParametersForEncrypt):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForDecrypt):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForSign):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForVerify):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForDigest):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForGenerateKey):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForDeriveKey):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForDeriveBits):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForImportKey):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForExportKey):
* crypto/CryptoKey.cpp:
(WebCore::CryptoKey::type):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove uses of CrossThreadTask in ThreadableWebSocketChannelClientWrapper, WorkerThreadableWebSocketChannel
https://bugs.webkit.org/show_bug.cgi?id=133954

Reviewed by Darin Adler.

Replace uses of CrossThreadTask with C++11 lambdas in the ThreadableWebSocketChannelClientWrapper
and WorkerThreadableWebSocketChannel classes.

* Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
(WebCore::ThreadableWebSocketChannelClientWrapper::didConnect):
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessage):
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData):
(WebCore::ThreadableWebSocketChannelClientWrapper::didUpdateBufferedAmount):
(WebCore::ThreadableWebSocketChannelClientWrapper::didStartClosingHandshake):
(WebCore::ThreadableWebSocketChannelClientWrapper::didClose):
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageError):
(WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasks):
(WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasksCallback): Deleted.
(WebCore::ThreadableWebSocketChannelClientWrapper::didConnectCallback): Deleted.
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageCallback): Deleted.
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryDataCallback): Deleted.
(WebCore::ThreadableWebSocketChannelClientWrapper::didUpdateBufferedAmountCallback): Deleted.
(WebCore::ThreadableWebSocketChannelClientWrapper::didStartClosingHandshakeCallback): Deleted.
(WebCore::ThreadableWebSocketChannelClientWrapper::didCloseCallback): Deleted.
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageErrorCallback): Deleted.
* Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
* Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
(WebCore::WorkerThreadableWebSocketChannel::Peer::send):
(WebCore::WorkerThreadableWebSocketChannel::Peer::bufferedAmount):
(WebCore::WorkerThreadableWebSocketChannel::Peer::didConnect):
(WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessage):
(WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData):
(WebCore::WorkerThreadableWebSocketChannel::Peer::didUpdateBufferedAmount):
(WebCore::WorkerThreadableWebSocketChannel::Peer::didStartClosingHandshake):
(WebCore::WorkerThreadableWebSocketChannel::Peer::didClose):
(WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessageError):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadInitialize):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::connect):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::send):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::bufferedAmount):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::close):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::fail):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::disconnect):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::suspend):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::resume):
(WebCore::workerGlobalScopeDidSend): Deleted.
(WebCore::workerGlobalScopeDidGetBufferedAmount): Deleted.
(WebCore::workerGlobalScopeDidConnect): Deleted.
(WebCore::workerGlobalScopeDidReceiveMessage): Deleted.
(WebCore::workerGlobalScopeDidReceiveBinaryData): Deleted.
(WebCore::workerGlobalScopeDidUpdateBufferedAmount): Deleted.
(WebCore::workerGlobalScopeDidStartClosingHandshake): Deleted.
(WebCore::workerGlobalScopeDidClose): Deleted.
(WebCore::workerGlobalScopeDidReceiveMessageError): Deleted.
(WebCore::WorkerThreadableWebSocketChannel::mainThreadConnect): Deleted.
(WebCore::WorkerThreadableWebSocketChannel::mainThreadSend): Deleted.
(WebCore::WorkerThreadableWebSocketChannel::mainThreadSendArrayBuffer): Deleted.
(WebCore::WorkerThreadableWebSocketChannel::mainThreadSendBlob): Deleted.
(WebCore::WorkerThreadableWebSocketChannel::mainThreadBufferedAmount): Deleted.
(WebCore::WorkerThreadableWebSocketChannel::mainThreadClose): Deleted.
(WebCore::WorkerThreadableWebSocketChannel::mainThreadFail): Deleted.
(WebCore::WorkerThreadableWebSocketChannel::mainThreadDestroy): Deleted.
(WebCore::WorkerThreadableWebSocketChannel::mainThreadSuspend): Deleted.
(WebCore::WorkerThreadableWebSocketChannel::mainThreadResume): Deleted.
* Modules/websockets/WorkerThreadableWebSocketChannel.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172887 268f45cc-cd09-0410-ab3c-d52691b4dbfc