Changeset 141387 in webkit
- Timestamp:
- Jan 31, 2013 12:38:25 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r141386 r141387 1 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r141110. 4 http://trac.webkit.org/changeset/141110 5 https://bugs.webkit.org/show_bug.cgi?id=108349 6 7 This patch broke WK2-EFL unit tests (Requested by grzegorz on 8 #webkit). 9 10 * platform/efl-wk2/TestExpectations: 11 1 12 2013-01-31 Kentaro Hara <haraken@chromium.org> 2 13 -
trunk/LayoutTests/platform/efl-wk2/TestExpectations
r141294 r141387 317 317 Bug(EFL) fast/events/touch/basic-single-touch-events.html [ Failure ] 318 318 319 # On Linux, should be able to get spelling suggestions without selecting the misspelled word when unified text checker is enabled.320 webkit.org/b/107684 editing/spelling/context-menu-suggestions.html [ Failure ]321 322 319 # Needs grammar checking 323 320 Bug(EFL) editing/spelling/grammar-edit-word.html [ Failure ] -
trunk/Source/WebCore/ChangeLog
r141383 r141387 1 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r141110. 4 http://trac.webkit.org/changeset/141110 5 https://bugs.webkit.org/show_bug.cgi?id=108349 6 7 This patch broke WK2-EFL unit tests (Requested by grzegorz on 8 #webkit). 9 10 * platform/text/TextChecking.h: 11 (WebCore): 12 1 13 2013-01-31 Kentaro Hara <haraken@chromium.org> 2 14 -
trunk/Source/WebCore/platform/text/TextChecking.h
r141110 r141387 40 40 #define WTF_USE_GRAMMAR_CHECKING 1 41 41 42 #if (PLATFORM(MAC) && (PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060)) || PLATFORM(BLACKBERRY) || PLATFORM(EFL)42 #if (PLATFORM(MAC) && (PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060)) || PLATFORM(BLACKBERRY) 43 43 #define WTF_USE_UNIFIED_TEXT_CHECKING 1 44 44 #endif -
trunk/Source/WebKit/efl/ChangeLog
r141238 r141387 1 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r141110. 4 http://trac.webkit.org/changeset/141110 5 https://bugs.webkit.org/show_bug.cgi?id=108349 6 7 This patch broke WK2-EFL unit tests (Requested by grzegorz on 8 #webkit). 9 10 * WebCoreSupport/EditorClientEfl.h: 11 1 12 2013-01-30 Huang Dongsung <luxtella@company100.net> 2 13 -
trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.h
r141110 r141387 150 150 virtual void setInputMethodState(bool enabled); 151 151 virtual void requestCheckingOfString(WTF::PassRefPtr<WebCore::TextCheckingRequest>) { } 152 #if USE(UNIFIED_TEXT_CHECKING)153 virtual void checkTextOfParagraph(const UChar*, int, TextCheckingTypeMask, Vector<TextCheckingResult>&) { }154 #endif155 152 virtual TextCheckerClient* textChecker() { return this; } 156 153 -
trunk/Source/WebKit2/ChangeLog
r141384 r141387 1 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r141110. 4 http://trac.webkit.org/changeset/141110 5 https://bugs.webkit.org/show_bug.cgi?id=108349 6 7 This patch broke WK2-EFL unit tests (Requested by grzegorz on 8 #webkit). 9 10 * UIProcess/efl/TextCheckerEfl.cpp: 11 * WebProcess/WebCoreSupport/WebEditorClient.h: 12 * WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp: 13 1 14 2013-01-31 Jae Hyun Park <jae.park@company100.net> 2 15 -
trunk/Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp
r141110 r141387 125 125 } 126 126 127 #if USE(UNIFIED_TEXT_CHECKING)128 Vector<TextCheckingResult> TextChecker::checkTextOfParagraph(int64_t spellDocumentTag, const UChar* text, int length, uint64_t checkingTypes)129 {130 Vector<TextCheckingResult> paragraphCheckingResult;131 #if ENABLE(SPELLCHECK)132 if (checkingTypes & TextCheckingTypeSpelling) {133 int offset = 0;134 while (offset < length) {135 int32_t misspellingLocation = -1;136 int32_t misspellingLength = 0;137 checkSpellingOfString(spellDocumentTag, text + offset, length - offset, misspellingLocation, misspellingLength);138 if (!misspellingLength)139 break;140 141 TextCheckingResult misspellingResult;142 misspellingResult.type = TextCheckingTypeSpelling;143 misspellingResult.location = offset + misspellingLocation;144 misspellingResult.length = misspellingLength;145 paragraphCheckingResult.append(misspellingResult);146 147 offset += misspellingLocation + misspellingLength;148 }149 }150 #else151 UNUSED_PARAM(spellDocumentTag);152 UNUSED_PARAM(text);153 UNUSED_PARAM(length);154 UNUSED_PARAM(checkingTypes);155 #endif156 return paragraphCheckingResult;157 }158 #endif159 160 127 void TextChecker::checkSpellingOfString(int64_t spellDocumentTag, const UChar* text, uint32_t length, int32_t& misspellingLocation, int32_t& misspellingLength) 161 128 { -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebEditorClient.h
r141110 r141387 138 138 virtual String getAutoCorrectSuggestionForMisspelledWord(const String& misspelledWord) OVERRIDE; 139 139 virtual void checkGrammarOfString(const UChar*, int length, Vector<WebCore::GrammarDetail>&, int* badGrammarLocation, int* badGrammarLength) OVERRIDE; 140 #if PLATFORM(MAC) || PLATFORM(EFL)140 #if PLATFORM(MAC) 141 141 virtual void checkTextOfParagraph(const UChar* text, int length, WebCore::TextCheckingTypeMask checkingTypes, Vector<WebCore::TextCheckingResult>& results) OVERRIDE; 142 142 #endif -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp
r141110 r141387 61 61 } 62 62 63 void WebEditorClient::checkTextOfParagraph(const UChar* text, int length, WebCore::TextCheckingTypeMask checkingTypes, Vector<TextCheckingResult>& results)64 {65 m_page->sendSync(Messages::WebPageProxy::CheckTextOfParagraph(String(text, length), checkingTypes), Messages::WebPageProxy::CheckTextOfParagraph::Reply(results));66 63 } 67 68 }
Note: See TracChangeset
for help on using the changeset viewer.