[webkit-changes] [WebKit/WebKit] 761e29: Port the remaining editing related types to the ne...

Gavin noreply at github.com
Tue Jan 24 12:14:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 761e29f6a5fd18be9dd2d161de77239d1368e986
      https://github.com/WebKit/WebKit/commit/761e29f6a5fd18be9dd2d161de77239d1368e986
  Author: Gavin Phillips <gavin.p at apple.com>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M Source/WebCore/Headers.cmake
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/editing/CompositionHighlight.h
    M Source/WebCore/editing/FontAttributeChanges.cpp
    M Source/WebCore/editing/FontAttributeChanges.h
    M Source/WebCore/editing/FontAttributes.h
    M Source/WebCore/editing/FontShadow.h
    M Source/WebCore/editing/TextManipulationController.cpp
    M Source/WebCore/editing/TextManipulationController.h
    A Source/WebCore/editing/TextManipulationControllerExclusionRule.h
    A Source/WebCore/editing/TextManipulationControllerManipulationFailure.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm

  Log Message:
  -----------
  Port the remaining editing related types to the new serialization format
https://bugs.webkit.org/show_bug.cgi?id=251025
rdar://104574856

Reviewed by Ryosuke Niwa.

This change ports the remaining editing base types to the new serialization
format. This includes:
    - FontShadow
    - CompositionHighlight
    - FontChanges
    - FontAttributeChanges
    - TextManipulationControllerExclusionRule
    - TextManipulationControllerExclusionRule::Type
    - TextManipulationControllerExclusionRule::ElementRule
    - TextManipulationControllerExclusionRule::AttributeRule
    - TextManipulationControllerExclusionRule::ClassRule
    - TextManipulationControllerManipulationFailure
    - TextManipulationControllerManipulationFailure::Type

* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/editing/CompositionHighlight.h:
(WebCore::CompositionHighlight::encode const): Deleted.
(WebCore::CompositionHighlight::decode): Deleted.
* Source/WebCore/editing/FontAttributeChanges.cpp:
(WebCore::FontChanges::FontChanges):
(WebCore::FontAttributeChanges::FontAttributeChanges):
* Source/WebCore/editing/FontAttributeChanges.h:
(WebCore::FontChanges::encode const): Deleted.
(WebCore::FontChanges::decode): Deleted.
(WebCore::FontAttributeChanges::encode const): Deleted.
(WebCore::FontAttributeChanges::decode): Deleted.
* Source/WebCore/editing/FontAttributes.h:
* Source/WebCore/editing/FontShadow.h:
(WebCore::FontShadow::encode const): Deleted.
(WebCore::FontShadow::decode): Deleted.
* Source/WebCore/editing/TextManipulationController.cpp:
(WebCore::TextManipulationControllerExclusionRule::match const):
(WebCore::TextManipulationController::completeManipulation):
(WebCore::TextManipulationController::replace):
(WebCore::TextManipulationController::ExclusionRule::match const): Deleted.
* Source/WebCore/editing/TextManipulationController.h:
(WebCore::TextManipulationController::startObservingParagraphs):
(WebCore::TextManipulationController::ExclusionRule::encode const): Deleted.
(WebCore::TextManipulationController::ExclusionRule::decode): Deleted.
(WebCore::TextManipulationController::ExclusionRule::ElementRule::encode const): Deleted.
(WebCore::TextManipulationController::ExclusionRule::ElementRule::decode): Deleted.
(WebCore::TextManipulationController::ExclusionRule::AttributeRule::encode const): Deleted.
(WebCore::TextManipulationController::ExclusionRule::AttributeRule::decode): Deleted.
(WebCore::TextManipulationController::ExclusionRule::ClassRule::encode const): Deleted.
(WebCore::TextManipulationController::ExclusionRule::ClassRule::decode): Deleted.
(WebCore::TextManipulationController::ManipulationFailure::encode const): Deleted.
(WebCore::TextManipulationController::ManipulationFailure::decode): Deleted.
* Source/WebCore/editing/TextManipulationControllerExclusionRule.h: Copied from Source/WebCore/editing/FontShadow.h.
* Source/WebCore/editing/TextManipulationControllerManipulationFailure.h: Copied from Source/WebCore/editing/FontShadow.h.
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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




More information about the webkit-changes mailing list