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

Issue 7891020: Make autofill regular expressions unicode again. (Closed)

Created:
9 years, 3 months ago by tony
Modified:
9 years, 3 months ago
CC:
chromium-reviews, GeorgeY
Visibility:
Public.

Description

Make autofill regular expressions unicode again. Instead of compiling the source file with UTF8 directly, run it through a python script that rewrites the UTF8 into C literals. BUG=95858 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101236

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 1

Patch Set 3 : fix typos #

Patch Set 4 : remove extra gyp change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -977 lines) Patch
A build/escape_unicode.py View 1 chunk +55 lines, -0 lines 0 comments Download
M chrome/browser/autofill/address_field.cc View 12 chunks +20 lines, -207 lines 0 comments Download
A chrome/browser/autofill/autofill_regex_constants.h View 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_regex_constants.cc.utf8 View 1 2 1 chunk +297 lines, -0 lines 0 comments Download
M chrome/browser/autofill/credit_card_field.cc View 7 chunks +10 lines, -133 lines 0 comments Download
M chrome/browser/autofill/email_field.cc View 1 chunk +2 lines, -21 lines 0 comments Download
M chrome/browser/autofill/name_field.cc View 6 chunks +14 lines, -80 lines 0 comments Download
M chrome/browser/autofill/phone_field.cc View 4 chunks +11 lines, -73 lines 0 comments Download
D chrome/browser/autofill/regular_expressions.txt View 1 chunk +0 lines, -463 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
tony
9 years, 3 months ago (2011-09-13 21:27:14 UTC) #1
Ilya Sherman
http://codereview.chromium.org/7891020/diff/12/chrome/browser/autofill/address_field.cc File chrome/browser/autofill/address_field.cc (right): http://codereview.chromium.org/7891020/diff/12/chrome/browser/autofill/address_field.cc#newcode28 chrome/browser/autofill/address_field.cc:28: string16 attention_ignored = UTF8ToUTF16(autofill::kAttentionIgnoredRe); nit: Since we're generating these ...
9 years, 3 months ago (2011-09-13 22:06:05 UTC) #2
tony
On 2011/09/13 22:06:05, Ilya Sherman wrote: > http://codereview.chromium.org/7891020/diff/12/chrome/browser/autofill/address_field.cc > File chrome/browser/autofill/address_field.cc (right): > > http://codereview.chromium.org/7891020/diff/12/chrome/browser/autofill/address_field.cc#newcode28 ...
9 years, 3 months ago (2011-09-13 22:28:07 UTC) #3
Ilya Sherman
On 2011/09/13 22:28:07, tony wrote: > On 2011/09/13 22:06:05, Ilya Sherman wrote: > > > ...
9 years, 3 months ago (2011-09-13 23:02:23 UTC) #4
tony
On 2011/09/13 23:02:23, Ilya Sherman wrote: > On 2011/09/13 22:28:07, tony wrote: > > On ...
9 years, 3 months ago (2011-09-13 23:08:55 UTC) #5
dhollowa
I'd actually prefer to keep the intermediate output as escaped utf8 because it is a ...
9 years, 3 months ago (2011-09-13 23:26:26 UTC) #6
Ilya Sherman
On 2011/09/13 23:26:26, dhollowa wrote: > I'd actually prefer to keep the intermediate output as ...
9 years, 3 months ago (2011-09-13 23:36:32 UTC) #7
dhollowa
> What do you mean by "compatible with text editors"? Escaped UTF-16 would be largely ...
9 years, 3 months ago (2011-09-13 23:48:03 UTC) #8
dhollowa
On 2011/09/13 23:48:03, dhollowa wrote: > > What do you mean by "compatible with text ...
9 years, 3 months ago (2011-09-14 00:27:05 UTC) #9
tony
On 2011/09/14 00:27:05, dhollowa wrote: > On 2011/09/13 23:48:03, dhollowa wrote: > > > What ...
9 years, 3 months ago (2011-09-14 16:44:18 UTC) #10
dhollowa
Yes, I'm fine with \x##. I don't see the new changes however. On 2011/09/14 16:44:18, ...
9 years, 3 months ago (2011-09-14 17:12:16 UTC) #11
tony
On 2011/09/14 17:12:16, dhollowa wrote: > Yes, I'm fine with \x##. I don't see the ...
9 years, 3 months ago (2011-09-14 17:33:24 UTC) #12
dhollowa
On 2011/09/14 17:33:24, tony wrote: > On 2011/09/14 17:12:16, dhollowa wrote: > > Yes, I'm ...
9 years, 3 months ago (2011-09-14 18:05:45 UTC) #13
tony
On 2011/09/14 18:05:45, dhollowa wrote: > On 2011/09/14 17:33:24, tony wrote: > > On 2011/09/14 ...
9 years, 3 months ago (2011-09-14 18:13:06 UTC) #14
dhollowa
On 2011/09/14 18:13:06, tony wrote: > On 2011/09/14 18:05:45, dhollowa wrote: > > On 2011/09/14 ...
9 years, 3 months ago (2011-09-14 18:30:18 UTC) #15
commit-bot: I haz the power
9 years, 3 months ago (2011-09-15 03:35:55 UTC) #16
Change committed as 101236

Powered by Google App Engine
This is Rietveld 408576698