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

Issue 2545593002: Encode lcms files as utf-8 (Closed)

Created:
4 years ago by scottmg
Modified:
4 years ago
Reviewers:
Tom Sepez, brucedawson
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Encode lcms files as utf-8 The diff isn't well displayed in Rietveld, and I had to do some interpretation here, as it wasn't clear what code page these files were pretending to use. The left quotes were 0x92, the right quote + \n had been converted to ?, and the negative infinity was 0x96. (I assume maybe Mac something.) In any case, I tried to interpret the comments and make them something sensible. In the worst case, it's "only" comments that are broken, as no actual code was modified. R=tsepez@chromium.org, brucedawson@chroium.org BUG=637203, 454858 Committed: https://pdfium.googlesource.com/pdfium/+/8b6a0a540563c6308fa03df34c90257e0bb65598

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -16 lines) Patch
A third_party/lcms2-2.6/0013-utf8.patch View 1 chunk +99 lines, -0 lines 0 comments Download
M third_party/lcms2-2.6/README.pdfium View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/lcms2-2.6/src/cmscgats.c View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/lcms2-2.6/src/cmstypes.c View 4 chunks +8 lines, -6 lines 0 comments Download
M third_party/lcms2-2.6/src/cmsvirt.c View 1 chunk +8 lines, -8 lines 2 comments Download

Messages

Total messages: 16 (9 generated)
scottmg
The CQ still can't handle these files, so they'll have to be `git cl land`ed. ...
4 years ago (2016-11-30 20:34:23 UTC) #5
scottmg
Looks like Bruce, John, and Lei are all out this week. Tom? :)
4 years ago (2016-12-01 20:33:36 UTC) #8
Tom Sepez
LGTM otherwise. Bots still red, looks like patch issue. https://codereview.chromium.org/2545593002/diff/1/third_party/lcms2-2.6/src/cmsvirt.c File third_party/lcms2-2.6/src/cmsvirt.c (right): https://codereview.chromium.org/2545593002/diff/1/third_party/lcms2-2.6/src/cmsvirt.c#newcode615 third_party/lcms2-2.6/src/cmsvirt.c:615: ...
4 years ago (2016-12-01 21:06:14 UTC) #11
scottmg
Are you able to land? Or give me permission to git cl land? I don't ...
4 years ago (2016-12-01 21:13:56 UTC) #12
Tom Sepez
On 2016/12/01 21:13:56, scottmg wrote: > Are you able to land? Or give me permission ...
4 years ago (2016-12-02 17:44:49 UTC) #13
scottmg
Committed patchset #1 (id:1) manually as 8b6a0a540563c6308fa03df34c90257e0bb65598 (presubmit successful).
4 years ago (2016-12-02 18:39:15 UTC) #15
scottmg
4 years ago (2016-12-02 18:39:26 UTC) #16
Message was sent while issue was closed.
On 2016/12/02 17:44:49, Tom Sepez wrote:
> On 2016/12/01 21:13:56, scottmg wrote:
> > Are you able to land? Or give me permission to git cl land? I don't think
> these
> > characters will work through the CQ which is why the bots are red.
> > 
> >
>
https://codereview.chromium.org/2545593002/diff/1/third_party/lcms2-2.6/src/c...
> > File third_party/lcms2-2.6/src/cmsvirt.c (right):
> > 
> >
>
https://codereview.chromium.org/2545593002/diff/1/third_party/lcms2-2.6/src/c...
> > third_party/lcms2-2.6/src/cmsvirt.c:615: //If  R'sRGB,G'sRGB, B'sRGB <
0.04045
> > On 2016/12/01 21:06:14, Tom Sepez wrote:
> > > nit:  can we lose the ' here?
> > 
> > I thought it was supposed to be how Rprime was used to drive R. Does that
seem
> > right to you?
> 
> Ok, RsRGB' then?  As you like. 
> You appear to be a pdfium committer, git cl land --bypass-hooks not working
for
> you?

Oops, I'm a goof. I just assumed I wasn't. Yes, landing worked fine, thanks.

Powered by Google App Engine
This is Rietveld 408576698