Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Issue 1833413002: [All-in-one patch] Implement own grapheme boundary breaker for editing. (Closed)

Created:
4 years, 9 months ago by Seigo Nonaka
Modified:
4 years, 8 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement own grapheme boundary breaker for editing. Followings are differences from the previous grapheme breaker: - Follows latest(including proposed) grapheme breaker spec: Unicode Standard Annex #29 http://www.unicode.org/reports/tr29 - Removed Tamil exception rule from Indic syllable composition. Introduced by https://bugs.webkit.org/show_bug.cgi?id=15790 Neither bug nor change description doesn't mention about Tamil exception but latest Unicode standards doesn't have exception. - Revive Rule GB9b rule: don't break after Prepend property. Introduced by https://bugs.webkit.org/show_bug.cgi?id=24342 It is safe to revive this rule since Thai characters no longer have Prepend property since Unicode 6.1. Note that there are no character having Prepend property until Unicode 9.0 after Unicode 6.1 BUG=594923 R=yosin

Patch Set 1 : #

Total comments: 14

Patch Set 2 : Addressed comments #

Total comments: 1

Patch Set 3 : [WIP] introduce Forward/Backward GraphemeBoundaryStateMachine #

Patch Set 4 : Upload All-in-one patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4041 lines, -83 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/EditingUtilities.cpp View 1 2 3 4 chunks +10 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp View 1 2 3 11 chunks +40 lines, -50 lines 0 comments Download
A + third_party/WebKit/Source/core/editing/state_machines/BackwardGraphemeBoundaryStateMachine.h View 1 2 3 3 chunks +28 lines, -18 lines 0 comments Download
A third_party/WebKit/Source/core/editing/state_machines/BackwardGraphemeBoundaryStateMachine.cpp View 1 2 3 1 chunk +190 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/state_machines/BackwardGraphemeBoundaryStateMachineTest.cpp View 1 2 3 1 chunk +723 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/state_machines/ForwardGraphemeBoundaryStateMachine.h View 1 2 3 1 chunk +80 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/state_machines/ForwardGraphemeBoundaryStateMachine.cpp View 1 2 3 1 chunk +206 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/state_machines/ForwardGraphemeBoundaryStateMachineTest.cpp View 1 2 3 1 chunk +2428 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/state_machines/StateMachineUtil.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/state_machines/StateMachineUtil.cpp View 1 2 3 1 chunk +140 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/state_machines/StateMachineUtilTest.cpp View 1 2 3 1 chunk +165 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Seigo Nonaka
Hi Yosi-san, Could you kindly take a look? Thank you.
4 years, 8 months ago (2016-03-28 08:00:09 UTC) #3
yosin_UTC9
https://codereview.chromium.org/1833413002/diff/20001/third_party/WebKit/Source/core/DEPS File third_party/WebKit/Source/core/DEPS (right): https://codereview.chromium.org/1833413002/diff/20001/third_party/WebKit/Source/core/DEPS#newcode12 third_party/WebKit/Source/core/DEPS:12: "+third_party/icu/source/common/unicode", MEMO: This change is also in http://crrev.com/1839613002, Move ...
4 years, 8 months ago (2016-03-28 09:34:49 UTC) #4
Seigo Nonaka
Thank you for your quick review. I addressed your comments. please take an another look. ...
4 years, 8 months ago (2016-03-28 13:42:19 UTC) #5
yosin_UTC9
Sorry for changing my mind... m(_ _)m https://codereview.chromium.org/1833413002/diff/40001/third_party/WebKit/Source/core/editing/EditingUtilities.cpp File third_party/WebKit/Source/core/editing/EditingUtilities.cpp (right): https://codereview.chromium.org/1833413002/diff/40001/third_party/WebKit/Source/core/editing/EditingUtilities.cpp#newcode583 third_party/WebKit/Source/core/editing/EditingUtilities.cpp:583: bool isGraphemeBreak(const ...
4 years, 8 months ago (2016-03-29 01:27:30 UTC) #6
Seigo Nonaka
4 years, 8 months ago (2016-04-03 19:31:33 UTC) #8
I'm sorry for super slow reply.

I'd like to split this CL into four.

Introduce core common logic:
https://codereview.chromium.org/1856603002/

Introduce backward movement logic:
https://codereview.chromium.org/1853033002/

Introduce forward movement logic:
https://codereview.chromium.org/1857633002/

Replace implementation:
https://codereview.chromium.org/1855813002/

As the all-in-one patch, I uploaded latest patch set to this.

Thank you for all your support.

Powered by Google App Engine
This is Rietveld 408576698