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

Issue 10975: Case folding mappings (Closed)

Created:
12 years, 1 month ago by Christian Plesner Hansen
Modified:
9 years, 7 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

- Added case folding mappings to unibrow. They are currently affected by bug 149, as are our other mappings, but should be correct for all letters that don't case-fold more than 2^11 code points away. - Also, took the opportunity to remove some unused predicates.

Patch Set 1 #

Patch Set 2 : Replaced case folding with canonicalization #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -221 lines) Patch
M src/runtime.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/unicode.h View 1 4 chunks +14 lines, -32 lines 0 comments Download
M src/unicode.cc View 1 7 chunks +83 lines, -188 lines 0 comments Download
M test/cctest/test-regexp.cc View 1 1 chunk +31 lines, -0 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
Christian Plesner Hansen
12 years, 1 month ago (2008-11-16 12:15:26 UTC) #1
Christian Plesner Hansen
12 years, 1 month ago (2008-11-16 12:15:47 UTC) #2
Lasse Reichstein
LGTM. I haven't tried to understand the automatically generated code. http://codereview.chromium.org/10975/diff/1/4 File src/unicode.h (right): http://codereview.chromium.org/10975/diff/1/4#newcode253 ...
12 years, 1 month ago (2008-11-17 07:35:33 UTC) #3
Christian Plesner Hansen
http://codereview.chromium.org/10975/diff/1/4 File src/unicode.h (right): http://codereview.chromium.org/10975/diff/1/4#newcode253 Line 253: static int Convert(uchar c, No, this is case ...
12 years, 1 month ago (2008-11-17 07:48:57 UTC) #4
Lasse Reichstein
http://codereview.chromium.org/10975/diff/1/4 File src/unicode.h (right): http://codereview.chromium.org/10975/diff/1/4#newcode253 Line 253: static int Convert(uchar c, Ok. Have we checked ...
12 years, 1 month ago (2008-11-17 08:14:35 UTC) #5
Christian Plesner Hansen
http://codereview.chromium.org/10975/diff/1/4 File src/unicode.h (right): http://codereview.chromium.org/10975/diff/1/4#newcode253 Line 253: static int Convert(uchar c, Unicode defines several mappings, ...
12 years, 1 month ago (2008-11-17 08:26:21 UTC) #6
Christian Plesner Hansen
I have uploaded a new version of the code that implements canonicalize as specified in ...
12 years, 1 month ago (2008-11-17 09:35:39 UTC) #7
Lasse Reichstein
LGTM! We are not officially bug-compatible with the standard :) http://codereview.chromium.org/10975/diff/802/606 File test/cctest/test-regexp.cc (right): http://codereview.chromium.org/10975/diff/802/606#newcode725 ...
12 years, 1 month ago (2008-11-17 10:30:42 UTC) #8
Christian Plesner Hansen
12 years, 1 month ago (2008-11-17 10:47:33 UTC) #9
http://codereview.chromium.org/10975/diff/802/606
File test/cctest/test-regexp.cc (right):

http://codereview.chromium.org/10975/diff/802/606#newcode725
Line 725: char upper = lower + ('A' - 'a');
Certainly would; I've added it.

Powered by Google App Engine
This is Rietveld 408576698