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

Issue 14408: Port the spell checker to posix. (Closed)

Created:
12 years ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Port the spell checker to posix. It all builds but does not link yet. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=7109

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -60 lines) Patch
M base/basictypes.h View 3 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/browser.scons View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/spellcheck_unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/spellcheck_worditerator.h View 5 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/spellcheck_worditerator.cc View 9 chunks +13 lines, -11 lines 0 comments Download
M chrome/browser/spellchecker.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker.cc View 1 10 chunks +22 lines, -24 lines 0 comments Download
M chrome/common/render_messages.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Evan Stade
http://codereview.chromium.org/14408/diff/1/4 File chrome/browser/spellchecker.cc (left): http://codereview.chromium.org/14408/diff/1/4#oldcode27 Line 27: #include "chrome/common/win_util.h" All these deleted headers were apparently ...
12 years ago (2008-12-13 00:12:02 UTC) #1
Peter Kasting
LGTM, Except I feel uneasy about string16, but I don't know much http://codereview.chromium.org/14408/diff/1/2 File base/basictypes.h ...
12 years ago (2008-12-13 01:14:39 UTC) #2
Evan Stade
Who wrote this initially? (svn blame says initial commit) Can we get their opinion on ...
12 years ago (2008-12-13 20:22:06 UTC) #3
Peter Kasting
On 2008/12/13 20:22:06, Evan Stade wrote: > Who wrote this initially? (svn blame says initial ...
12 years ago (2008-12-13 21:30:55 UTC) #4
Evan Stade
> > Use http://svn/v to get older history (only available internally). k sweet. > Well, ...
12 years ago (2008-12-15 07:20:38 UTC) #5
Evan Stade
> by the way, can we change this parameter name from |word| to |words| or ...
12 years ago (2008-12-15 07:21:22 UTC) #6
Peter Kasting
On 2008/12/15 07:20:38, Evan Stade wrote: > > Well, you changed one actual usage to ...
12 years ago (2008-12-15 17:52:12 UTC) #7
Evan Stade
> The only reasons I'm suggesting doing this separately are because updating > basictypes.h to ...
12 years ago (2008-12-15 18:06:50 UTC) #8
Peter Kasting
On 2008/12/15 18:06:50, Evan Stade wrote: > The only changes to basictypes.h is documentation, there ...
12 years ago (2008-12-15 18:08:41 UTC) #9
sidchat (Google)
Sorry to chip in late. The Spell Check code changes look good to me, although ...
12 years ago (2008-12-15 18:20:56 UTC) #10
Evan Stade
Added brettw. I'm concerned about the misspell_location and misspell_length parameters. If we actually pass in ...
12 years ago (2008-12-15 18:29:21 UTC) #11
Peter Kasting
On 2008/12/15 18:29:21, Evan Stade wrote: > I'm concerned about the misspell_location and misspell_length parameters. ...
12 years ago (2008-12-15 18:52:22 UTC) #12
Evan Stade
>wstring doesn't bugs unless code assumes wchar_t is 16 bits (which this code >doesn't). We ...
12 years ago (2008-12-15 19:28:11 UTC) #13
Peter Kasting
On 2008/12/15 19:28:11, Evan Stade wrote: > This code does assume 16 bits: unorm_* requires ...
12 years ago (2008-12-15 19:35:04 UTC) #14
Evan Stade
> > This code does assume 16 bits: unorm_* requires 16-bit UTF-16 characters. It > ...
12 years ago (2008-12-15 19:56:14 UTC) #15
Evan Martin
12 years ago (2008-12-16 19:34:35 UTC) #16
I found base/word_iterator.cc, which has a gnarly #if defined(WCHAR_T_IS_UTF16)
and makes me sad.

After going back and forth with Tony a bit about this, I think this change is
fine.  We'll probably need to figure out our plan for wchar for the rest of the
world soon.

http://codereview.chromium.org/14408/diff/1/4
File chrome/browser/spellchecker.cc (right):

http://codereview.chromium.org/14408/diff/1/4#newcode353
Line 353: MSVC_SUPPRESS_WARNING(4355)  // Okay to pass "this" here.
I feel like there might be a macro that is explicitly for this case, but I
forget what it is.  Maybe it lives in compiler_specific.h.

Powered by Google App Engine
This is Rietveld 408576698