Changeset 141387 in webkit


Ignore:
Timestamp:
Jan 31, 2013 12:38:25 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r141110.
http://trac.webkit.org/changeset/141110
https://bugs.webkit.org/show_bug.cgi?id=108349

This patch broke WK2-EFL unit tests (Requested by grzegorz on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-31

Source/WebCore:

  • platform/text/TextChecking.h:

(WebCore):

Source/WebKit/efl:

  • WebCoreSupport/EditorClientEfl.h:

Source/WebKit2:

  • UIProcess/efl/TextCheckerEfl.cpp:
  • WebProcess/WebCoreSupport/WebEditorClient.h:
  • WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp:

LayoutTests:

  • platform/efl-wk2/TestExpectations:
Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r141386 r141387  
     12013-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
    1122013-01-31  Kentaro Hara  <haraken@chromium.org>
    213
  • trunk/LayoutTests/platform/efl-wk2/TestExpectations

    r141294 r141387  
    317317Bug(EFL) fast/events/touch/basic-single-touch-events.html [ Failure ]
    318318
    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 
    322319# Needs grammar checking
    323320Bug(EFL) editing/spelling/grammar-edit-word.html [ Failure ]
  • trunk/Source/WebCore/ChangeLog

    r141383 r141387  
     12013-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
    1132013-01-31  Kentaro Hara  <haraken@chromium.org>
    214
  • trunk/Source/WebCore/platform/text/TextChecking.h

    r141110 r141387  
    4040#define WTF_USE_GRAMMAR_CHECKING 1
    4141
    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)
    4343#define WTF_USE_UNIFIED_TEXT_CHECKING 1
    4444#endif
  • trunk/Source/WebKit/efl/ChangeLog

    r141238 r141387  
     12013-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
    1122013-01-30  Huang Dongsung  <luxtella@company100.net>
    213
  • trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.h

    r141110 r141387  
    150150    virtual void setInputMethodState(bool enabled);
    151151    virtual void requestCheckingOfString(WTF::PassRefPtr<WebCore::TextCheckingRequest>) { }
    152 #if USE(UNIFIED_TEXT_CHECKING)
    153     virtual void checkTextOfParagraph(const UChar*, int, TextCheckingTypeMask, Vector<TextCheckingResult>&) { }
    154 #endif
    155152    virtual TextCheckerClient* textChecker() { return this; }
    156153
  • trunk/Source/WebKit2/ChangeLog

    r141384 r141387  
     12013-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
    1142013-01-31  Jae Hyun Park  <jae.park@company100.net>
    215
  • trunk/Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp

    r141110 r141387  
    125125}
    126126
    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 #else
    151     UNUSED_PARAM(spellDocumentTag);
    152     UNUSED_PARAM(text);
    153     UNUSED_PARAM(length);
    154     UNUSED_PARAM(checkingTypes);
    155 #endif
    156     return paragraphCheckingResult;
    157 }
    158 #endif
    159 
    160127void TextChecker::checkSpellingOfString(int64_t spellDocumentTag, const UChar* text, uint32_t length, int32_t& misspellingLocation, int32_t& misspellingLength)
    161128{
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebEditorClient.h

    r141110 r141387  
    138138    virtual String getAutoCorrectSuggestionForMisspelledWord(const String& misspelledWord) OVERRIDE;
    139139    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)
    141141    virtual void checkTextOfParagraph(const UChar* text, int length, WebCore::TextCheckingTypeMask checkingTypes, Vector<WebCore::TextCheckingResult>& results) OVERRIDE;
    142142#endif
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp

    r141110 r141387  
    6161}
    6262
    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));
    6663}
    67 
    68 }
Note: See TracChangeset for help on using the changeset viewer.