Diff
Modified: trunk/ChangeLog (170006 => 170007)
--- trunk/ChangeLog 2014-06-16 11:31:38 UTC (rev 170006)
+++ trunk/ChangeLog 2014-06-16 12:17:10 UTC (rev 170007)
@@ -1,3 +1,16 @@
+2014-06-16 Commit Queue <[email protected]>
+
+ Unreviewed, rolling out r170003.
+ https://bugs.webkit.org/show_bug.cgi?id=133938
+
+ This patch broke GTK build (Requested by kczech on #webkit).
+
+ Reverted changeset:
+
+ "[EFL] Platform support for WebSpeech feature."
+ https://bugs.webkit.org/show_bug.cgi?id=116438
+ http://trac.webkit.org/changeset/170003
+
2014-06-16 Krzysztof Czech <[email protected]>
[EFL] Platform support for WebSpeech feature.
Modified: trunk/Source/WebCore/CMakeLists.txt (170006 => 170007)
--- trunk/Source/WebCore/CMakeLists.txt 2014-06-16 11:31:38 UTC (rev 170006)
+++ trunk/Source/WebCore/CMakeLists.txt 2014-06-16 12:17:10 UTC (rev 170007)
@@ -15,7 +15,6 @@
"${WEBCORE_DIR}/Modules/plugins"
"${WEBCORE_DIR}/Modules/proximity"
"${WEBCORE_DIR}/Modules/quota"
- "${WEBCORE_DIR}/Modules/speech"
"${WEBCORE_DIR}/Modules/vibration"
"${WEBCORE_DIR}/Modules/webaudio"
"${WEBCORE_DIR}/Modules/webdatabase"
@@ -246,12 +245,6 @@
Modules/proximity/DeviceProximityEvent.idl
- Modules/speech/DOMWindowSpeechSynthesis.idl
- Modules/speech/SpeechSynthesis.idl
- Modules/speech/SpeechSynthesisEvent.idl
- Modules/speech/SpeechSynthesisUtterance.idl
- Modules/speech/SpeechSynthesisVoice.idl
-
Modules/vibration/NavigatorVibration.idl
Modules/webaudio/AnalyserNode.idl
@@ -886,12 +879,6 @@
Modules/proximity/DeviceProximityController.cpp
Modules/proximity/DeviceProximityEvent.cpp
- Modules/speech/DOMWindowSpeechSynthesis.cpp
- Modules/speech/SpeechSynthesis.cpp
- Modules/speech/SpeechSynthesisEvent.cpp
- Modules/speech/SpeechSynthesisUtterance.cpp
- Modules/speech/SpeechSynthesisVoice.cpp
-
Modules/vibration/NavigatorVibration.cpp
Modules/vibration/Vibration.cpp
@@ -1983,9 +1970,6 @@
platform/MemoryPressureHandler.cpp
platform/NotImplemented.cpp
platform/PlatformEvent.cpp
- platform/PlatformSpeechSynthesisUtterance.cpp
- platform/PlatformSpeechSynthesisVoice.cpp
- platform/PlatformSpeechSynthesizer.cpp
platform/PlatformStrategies.cpp
platform/RemoteCommandListener.cpp
platform/SystemSleepListener.cpp
Modified: trunk/Source/WebCore/ChangeLog (170006 => 170007)
--- trunk/Source/WebCore/ChangeLog 2014-06-16 11:31:38 UTC (rev 170006)
+++ trunk/Source/WebCore/ChangeLog 2014-06-16 12:17:10 UTC (rev 170007)
@@ -1,3 +1,16 @@
+2014-06-16 Commit Queue <[email protected]>
+
+ Unreviewed, rolling out r170003.
+ https://bugs.webkit.org/show_bug.cgi?id=133938
+
+ This patch broke GTK build (Requested by kczech on #webkit).
+
+ Reverted changeset:
+
+ "[EFL] Platform support for WebSpeech feature."
+ https://bugs.webkit.org/show_bug.cgi?id=116438
+ http://trac.webkit.org/changeset/170003
+
2014-06-16 Frédéric Wang <[email protected]>
Draw radicals with glyphs for better rendering.
Modified: trunk/Source/WebCore/PlatformEfl.cmake (170006 => 170007)
--- trunk/Source/WebCore/PlatformEfl.cmake 2014-06-16 11:31:38 UTC (rev 170006)
+++ trunk/Source/WebCore/PlatformEfl.cmake 2014-06-16 12:17:10 UTC (rev 170007)
@@ -437,10 +437,3 @@
${ATK_LIBRARIES}
)
endif ()
-
-if (ENABLE_SPEECH_SYNTHESIS)
- list(APPEND WebCore_SOURCES
- platform/efl/PlatformSpeechSynthesizerEfl.cpp
- platform/efl/PlatformSpeechSynthesisProviderEfl.cpp
- )
-endif ()
Modified: trunk/Source/WebCore/platform/PlatformSpeechSynthesizer.h (170006 => 170007)
--- trunk/Source/WebCore/platform/PlatformSpeechSynthesizer.h 2014-06-16 11:31:38 UTC (rev 170006)
+++ trunk/Source/WebCore/platform/PlatformSpeechSynthesizer.h 2014-06-16 12:17:10 UTC (rev 170007)
@@ -36,14 +36,8 @@
OBJC_CLASS WebSpeechSynthesisWrapper;
#endif
-#if PLATFORM(EFL)
namespace WebCore {
-class PlatformSpeechSynthesisProviderEfl;
-}
-#endif
-namespace WebCore {
-
enum SpeechBoundary {
SpeechWordBoundary,
SpeechSentenceBoundary
@@ -92,9 +86,6 @@
#if PLATFORM(COCOA)
RetainPtr<WebSpeechSynthesisWrapper> m_platformSpeechWrapper;
#endif
-#if PLATFORM(EFL)
- std::unique_ptr<PlatformSpeechSynthesisProviderEfl> m_platformSpeechWrapper;
-#endif
};
} // namespace WebCore
Deleted: trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.cpp (170006 => 170007)
--- trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.cpp 2014-06-16 11:31:38 UTC (rev 170006)
+++ trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.cpp 2014-06-16 12:17:10 UTC (rev 170007)
@@ -1,76 +0,0 @@
-/*
- * Copyright (C) 2014 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "PlatformSpeechSynthesisProviderEfl.h"
-
-#if ENABLE(SPEECH_SYNTHESIS)
-
-#include <NotImplemented.h>
-#include <PlatformSpeechSynthesisUtterance.h>
-#include <PlatformSpeechSynthesisVoice.h>
-#include <PlatformSpeechSynthesizer.h>
-
-namespace WebCore {
-
-PlatformSpeechSynthesisProviderEfl::PlatformSpeechSynthesisProviderEfl(PlatformSpeechSynthesizer* platformSpeechSynthesizer)
- : m_platformSpeechSynthesizer(platformSpeechSynthesizer)
-{
-}
-
-PlatformSpeechSynthesisProviderEfl::~PlatformSpeechSynthesisProviderEfl()
-{
-}
-
-void PlatformSpeechSynthesisProviderEfl::initializeVoiceList(Vector<RefPtr<PlatformSpeechSynthesisVoice>>& voiceList)
-{
- UNUSED_PARAM(voiceList);
- notImplemented();
-}
-
-void PlatformSpeechSynthesisProviderEfl::pause()
-{
- notImplemented();
-}
-
-void PlatformSpeechSynthesisProviderEfl::resume()
-{
- notImplemented();
-}
-
-void PlatformSpeechSynthesisProviderEfl::speak(PassRefPtr<PlatformSpeechSynthesisUtterance> utterance)
-{
- UNUSED_PARAM(utterance);
- notImplemented();
-}
-
-void PlatformSpeechSynthesisProviderEfl::cancel()
-{
- notImplemented();
-}
-
-} // namespace WebCore
-
-#endif
Deleted: trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.h (170006 => 170007)
--- trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.h 2014-06-16 11:31:38 UTC (rev 170006)
+++ trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.h 2014-06-16 12:17:10 UTC (rev 170007)
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2014 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef PlatformSpeechSynthesisProviderEfl_h
-#define PlatformSpeechSynthesisProviderEfl_h
-
-#if ENABLE(SPEECH_SYNTHESIS)
-
-#include <wtf/PassRefPtr.h>
-#include <wtf/Vector.h>
-
-namespace WebCore {
-
-class PlatformSpeechSynthesizer;
-class PlatformSpeechSynthesisUtterance;
-class PlatformSpeechSynthesisVoice;
-
-class PlatformSpeechSynthesisProviderEfl {
-public:
- explicit PlatformSpeechSynthesisProviderEfl(PlatformSpeechSynthesizer*);
- ~PlatformSpeechSynthesisProviderEfl();
-
- void initializeVoiceList(Vector<RefPtr<PlatformSpeechSynthesisVoice>>&);
- void pause();
- void resume();
- void speak(PassRefPtr<PlatformSpeechSynthesisUtterance>);
- void cancel();
-private:
- PlatformSpeechSynthesizer* m_platformSpeechSynthesizer;
-};
-
-} // namespace WebCore
-
-#endif // ENABLE(SPEECH_SYNTHESIS)
-
-#endif // PlatformSpeechSynthesisProviderEfl_h
Deleted: trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesizerEfl.cpp (170006 => 170007)
--- trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesizerEfl.cpp 2014-06-16 11:31:38 UTC (rev 170006)
+++ trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesizerEfl.cpp 2014-06-16 12:17:10 UTC (rev 170007)
@@ -1,76 +0,0 @@
-/*
- * Copyright (C) 2014 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "PlatformSpeechSynthesizer.h"
-
-#if ENABLE(SPEECH_SYNTHESIS)
-
-#include <PlatformSpeechSynthesisProviderEfl.h>
-#include <PlatformSpeechSynthesisUtterance.h>
-#include <PlatformSpeechSynthesisVoice.h>
-
-namespace WebCore {
-
-PlatformSpeechSynthesizer::PlatformSpeechSynthesizer(PlatformSpeechSynthesizerClient* client)
- : m_voiceListIsInitialized(false)
- , m_speechSynthesizerClient(client)
- , m_platformSpeechWrapper(std::make_unique<PlatformSpeechSynthesisProviderEfl>(this))
-
-{
-}
-
-PlatformSpeechSynthesizer::~PlatformSpeechSynthesizer()
-{
-}
-
-void PlatformSpeechSynthesizer::initializeVoiceList()
-{
- m_platformSpeechWrapper->initializeVoiceList(m_voiceList);
-}
-
-void PlatformSpeechSynthesizer::pause()
-{
- m_platformSpeechWrapper->pause();
-}
-
-void PlatformSpeechSynthesizer::resume()
-{
- m_platformSpeechWrapper->resume();
-}
-
-void PlatformSpeechSynthesizer::speak(PassRefPtr<PlatformSpeechSynthesisUtterance> utterance)
-{
- m_platformSpeechWrapper->speak(utterance);
-}
-
-void PlatformSpeechSynthesizer::cancel()
-{
- m_platformSpeechWrapper->cancel();
-}
-
-} // namespace WebCore
-
-#endif // ENABLE(SPEECH_SYNTHESIS)
Modified: trunk/Source/cmake/OptionsEfl.cmake (170006 => 170007)
--- trunk/Source/cmake/OptionsEfl.cmake 2014-06-16 11:31:38 UTC (rev 170006)
+++ trunk/Source/cmake/OptionsEfl.cmake 2014-06-16 12:17:10 UTC (rev 170007)
@@ -87,7 +87,6 @@
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REQUEST_ANIMATION_FRAME ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SECCOMP_FILTERS OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SHARED_WORKERS ON)
-WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SPEECH_SYNTHESIS OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SPELLCHECK ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TEMPLATE_ELEMENT ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TOUCH_EVENTS ON)
@@ -289,10 +288,6 @@
add_definitions(-DHAVE_ACCESSIBILITY=0)
endif ()
-if (ENABLE_SPEECH_SYNTHESIS)
- add_definitions(-DENABLE_SPEECH_SYNTHESIS=1)
-endif ()
-
if (ENABLE_FTL_JIT)
find_package(LLVM REQUIRED)
find_package(LIBCXXABI REQUIRED)
Modified: trunk/Source/cmake/WebKitFeatures.cmake (170006 => 170007)
--- trunk/Source/cmake/WebKitFeatures.cmake 2014-06-16 11:31:38 UTC (rev 170006)
+++ trunk/Source/cmake/WebKitFeatures.cmake 2014-06-16 12:17:10 UTC (rev 170007)
@@ -103,7 +103,6 @@
WEBKIT_OPTION_DEFINE(ENABLE_SCRIPTED_SPEECH "Toggle Scripted Speech API support" OFF)
WEBKIT_OPTION_DEFINE(ENABLE_SECCOMP_FILTERS "Toggle Linux seccomp filters for the WebProcess support" OFF)
WEBKIT_OPTION_DEFINE(ENABLE_SHARED_WORKERS "Toggle SharedWorkers support" OFF)
- WEBKIT_OPTION_DEFINE(ENABLE_SPEECH_SYNTHESIS "Toggle Speech Synthesis API support)" OFF)
WEBKIT_OPTION_DEFINE(ENABLE_SPELLCHECK "Toggle Spellchecking support (requires Enchant)" OFF)
WEBKIT_OPTION_DEFINE(ENABLE_SQL_DATABASE "Toggle SQL Database Support" ON)
WEBKIT_OPTION_DEFINE(ENABLE_SVG_FONTS "Toggle SVG fonts support (imples SVG support)" ON)