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

Issue 9545017: Adds a hy-phen-ator. (Closed)

Created:
8 years, 9 months ago by Hironori Bono
Modified:
8 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Adds a hy-phen-ator. This change adds a project file for the hyphen library and a Hyphenator class, which encapsulates the library. (This class is not integrated into Chrome, though.) BUG=47083 TEST=HyphenatorTest.HyphenateWords Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146964

Patch Set 1 : #

Total comments: 20

Patch Set 2 : #

Total comments: 21

Patch Set 3 : #

Patch Set 4 : #

Total comments: 3

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+653 lines, -8 lines) Patch
M content/content_renderer.gypi View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A content/renderer/hyphenator/hyphenator.h View 1 2 3 4 1 chunk +66 lines, -0 lines 0 comments Download
A content/renderer/hyphenator/hyphenator.cc View 1 2 3 4 1 chunk +231 lines, -0 lines 0 comments Download
A content/renderer/hyphenator/hyphenator_unittest.cc View 1 2 1 chunk +90 lines, -0 lines 0 comments Download
M third_party/hyphen/README.chromium View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download
A third_party/hyphen/google.patch View 1 chunk +148 lines, -0 lines 0 comments Download
M third_party/hyphen/hyph_en_US.dic View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/hyphen/hyphen.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/hyphen/hyphen.c View 1 2 3 4 5 6 chunks +69 lines, -6 lines 0 comments Download
A third_party/hyphen/hyphen.gyp View 1 2 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Hironori Bono
Greetings Tony, I split my hyphenation change into a few changes because it becomes huge. ...
8 years, 9 months ago (2012-03-02 06:59:37 UTC) #1
tony
This is cool! Can you provide some perf times for loading the dictionary and time ...
8 years, 9 months ago (2012-03-05 18:59:00 UTC) #2
Hironori Bono
Greetings Tony, Many thanks for your review and comments. Also sorry for my slow response. ...
8 years, 9 months ago (2012-03-12 09:11:25 UTC) #3
Hironori Bono
Greeting Tony, Sorry for my slow update. I have finally moved this Hyphenator class to ...
8 years, 5 months ago (2012-06-28 09:32:49 UTC) #4
tony
http://codereview.chromium.org/9545017/diff/41002/content/renderer/hyphenator/hyphenator.cc File content/renderer/hyphenator/hyphenator.cc (right): http://codereview.chromium.org/9545017/diff/41002/content/renderer/hyphenator/hyphenator.cc#newcode101 content/renderer/hyphenator/hyphenator.cc:101: // } I don't think the code example is ...
8 years, 5 months ago (2012-06-28 20:06:44 UTC) #5
jochen (gone - plz use gerrit)
content drive-by comments http://codereview.chromium.org/9545017/diff/41002/content/renderer/hyphenator/hyphenator.cc File content/renderer/hyphenator/hyphenator.cc (right): http://codereview.chromium.org/9545017/diff/41002/content/renderer/hyphenator/hyphenator.cc#newcode51 content/renderer/hyphenator/hyphenator.cc:51: }; DISALLOW_COPY_AND_ASSIGN http://codereview.chromium.org/9545017/diff/41002/content/renderer/hyphenator/hyphenator.cc#newcode114 content/renderer/hyphenator/hyphenator.cc:114: }; DISALLOW_COPY_AND_ASSIGN ...
8 years, 5 months ago (2012-07-02 15:33:01 UTC) #6
Hironori Bono
Greetings Tony and Jochen, Thanks for your review and comments. Even though I have applied ...
8 years, 5 months ago (2012-07-10 09:22:09 UTC) #7
jochen (gone - plz use gerrit)
http://codereview.chromium.org/9545017/diff/41002/content/renderer/hyphenator/hyphenator.h File content/renderer/hyphenator/hyphenator.h (right): http://codereview.chromium.org/9545017/diff/41002/content/renderer/hyphenator/hyphenator.h#newcode35 content/renderer/hyphenator/hyphenator.h:35: class CONTENT_EXPORT Hyphenator { On 2012/07/10 09:22:09, Hironori Bono ...
8 years, 5 months ago (2012-07-10 09:46:06 UTC) #8
tony
LGTM http://codereview.chromium.org/9545017/diff/24010/content/renderer/hyphenator/hyphenator.cc File content/renderer/hyphenator/hyphenator.cc (right): http://codereview.chromium.org/9545017/diff/24010/content/renderer/hyphenator/hyphenator.cc#newcode201 content/renderer/hyphenator/hyphenator.cc:201: if (!rule_map_->Initialize(rule_file_)) Oh, I see, rule_file_ is a ...
8 years, 5 months ago (2012-07-10 17:30:00 UTC) #9
jam
lgtm my personal preference would be to inline the classes in the cc file, because ...
8 years, 5 months ago (2012-07-11 00:16:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hbono@chromium.org/9545017/29006
8 years, 5 months ago (2012-07-13 06:53:22 UTC) #11
commit-bot: I haz the power
Failed to apply patch for content/content_renderer.gypi: While running patch -p0 --forward --force; patching file content/content_renderer.gypi ...
8 years, 5 months ago (2012-07-13 06:53:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hbono@chromium.org/9545017/47003
8 years, 5 months ago (2012-07-13 07:17:48 UTC) #13
Hironori Bono
Greetings Jochen, Tony and John, Thanks for your review and comments. I have applied you ...
8 years, 5 months ago (2012-07-13 08:11:35 UTC) #14
commit-bot: I haz the power
Try job failure for 9545017-47003 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-13 08:52:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hbono@chromium.org/9545017/48002
8 years, 5 months ago (2012-07-17 05:49:34 UTC) #16
commit-bot: I haz the power
Try job failure for 9545017-48002 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-17 06:46:48 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hbono@chromium.org/9545017/48002
8 years, 5 months ago (2012-07-17 07:52:52 UTC) #18
commit-bot: I haz the power
Change committed as 146964
8 years, 5 months ago (2012-07-17 08:57:03 UTC) #19
Agrawal
8 years, 5 months ago (2012-07-17 17:48:58 UTC) #20
FYI

HyphenatorTest.HyphenateWords fails on Android.

http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Linux%20Android/...



On Tue, Jul 17, 2012 at 1:57 AM, <commit-bot@chromium.org> wrote:

> Change committed as 146964
>
>
https://chromiumcodereview.**appspot.com/9545017/<https://chromiumcodereview....
>

Powered by Google App Engine
This is Rietveld 408576698