Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9840948a2ed4bca3b59b39f320610bff4e0133c4
      
https://github.com/WebKit/WebKit/commit/9840948a2ed4bca3b59b39f320610bff4e0133c4
  Author: Megan Gardner <[email protected]>
  Date:   2025-12-04 (Thu, 04 Dec 2025)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/PAL/pal/spi/mac/NSSpellCheckerSPI.h
    M Source/WebCore/editing/Editor.cpp
    M Source/WebCore/editing/SpellChecker.cpp
    M Source/WebCore/editing/SpellChecker.h
    M Source/WebCore/loader/EmptyClients.cpp
    M Source/WebCore/platform/text/TextCheckerClient.h
    M Source/WebKit/Shared/Cocoa/WebPreferencesDefaultValuesCocoa.mm
    M Source/WebKit/Shared/WebPreferencesDefaultValues.h
    M Source/WebKit/UIProcess/TextChecker.cpp
    M Source/WebKit/UIProcess/TextChecker.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/WebPageProxy.messages.in
    M Source/WebKit/UIProcess/ios/TextCheckerIOS.mm
    M Source/WebKit/UIProcess/mac/TextCheckerMac.mm
    M Source/WebKit/WebProcess/WebCoreSupport/WebEditorClient.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebEditorClient.h
    M Source/WebKitLegacy/mac/WebCoreSupport/WebEditorClient.h
    M Source/WebKitLegacy/mac/WebCoreSupport/WebEditorClient.mm
    M Tools/TestRunnerShared/cocoa/LayoutTestSpellChecker.mm

  Log Message:
  -----------
  Mac support for extended proofreading.
https://bugs.webkit.org/show_bug.cgi?id=302917
rdar://165075699

Reviewed by Aditya Keerthi and Abrar Rahman Protyasha.

Add support for extended proofreading.

Test: editing/input/cocoa/extended-proofreading.html
* LayoutTests/editing/input/cocoa/extended-proofreading-expected.txt: Added.
* LayoutTests/editing/input/cocoa/extended-proofreading.html: Added.
* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/PAL/pal/spi/mac/NSSpellCheckerSPI.h:
* Source/WebCore/editing/Editor.cpp:
(WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
* Source/WebCore/editing/SpellChecker.cpp:
(WebCore::SpellCheckRequest::didSucceed):
(WebCore::SpellCheckRequest::setExistingResults):
(WebCore::SpellChecker::requestExtendedCheckingFor):
(WebCore::containsGrammarResult):
(WebCore::containsAdditionalGrammarResults):
(WebCore::SpellChecker::didCheck):
(WebCore::SpellChecker::didCheckSucceed):
(WebCore::SpellChecker::didCheckCancel):
* Source/WebCore/editing/SpellChecker.h:
* Source/WebCore/loader/EmptyClients.cpp:
(WebCore::EmptyEditorClient::EmptyTextCheckerClient::requestExtendedCheckingOfString):
* Source/WebCore/platform/text/TextCheckerClient.h:
* Source/WebKit/UIProcess/TextChecker.cpp:
(WebKit::TextChecker::requestExtendedCheckingOfString):
* Source/WebKit/UIProcess/TextChecker.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::requestExtendedCheckingOfString):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/UIProcess/WebPageProxy.messages.in:
* Source/WebKit/UIProcess/ios/TextCheckerIOS.mm:
(WebKit::TextChecker::requestExtendedCheckingOfString):
* Source/WebKit/UIProcess/mac/TextCheckerMac.mm:
(WebKit::convertExtendedCheckingResults):
(WebKit::TextChecker::requestExtendedCheckingOfString):
* Source/WebKit/WebProcess/WebCoreSupport/WebEditorClient.cpp:
(WebKit::WebEditorClient::requestExtendedCheckingOfString):
* Source/WebKit/WebProcess/WebCoreSupport/WebEditorClient.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebEditorClient.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebEditorClient.mm:
(WebEditorClient::requestExtendedCheckingOfString):
* Tools/TestRunnerShared/cocoa/LayoutTestSpellChecker.mm:
(-[LayoutTestSpellChecker 
requestGrammarCheckingOfString:range:language:options:completionHandler:]):

Canonical link: https://commits.webkit.org/303913@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to