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

Issue 1005693006: Roll harfbuzz-ng to 0.9.40 (Closed)

Created:
5 years, 9 months ago by eae
Modified:
5 years, 9 months ago
Reviewers:
behdad
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Roll harfbuzz-ng to 0.9.40 Update the bundled version of harfbuzz-ng in third_party to 0.9.40 which is the latest release. This includes a variety of fixes and also has the two MacOS CoreText reverse_range fixes that we've already cherry picked. TBR=behdad@chromium.org Committed: https://crrev.com/745ff3a6e89a36a8f1b867e3875d352bf5f57505 Cr-Commit-Position: refs/heads/master@{#321873}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+850 lines, -724 lines) Patch
M third_party/harfbuzz-ng/NEWS View 2 chunks +71 lines, -0 lines 0 comments Download
M third_party/harfbuzz-ng/README View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/harfbuzz-ng/README.chromium View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-buffer.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh View 17 chunks +36 lines, -36 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ft.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-open-file-private.hh View 5 chunks +10 lines, -5 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-open-type-private.hh View 16 chunks +50 lines, -46 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-cmap-table.hh View 12 chunks +23 lines, -12 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-head-table.hh View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-hhea-table.hh View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-hmtx-table.hh View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-layout.cc View 4 chunks +75 lines, -30 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh View 21 chunks +74 lines, -23 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-layout-gdef-table.hh View 10 chunks +20 lines, -10 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh View 39 chunks +92 lines, -154 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh View 24 chunks +52 lines, -119 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh View 32 chunks +177 lines, -203 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-layout-jstf-table.hh View 4 chunks +8 lines, -4 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-layout-private.hh View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-maxp-table.hh View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-name-table.hh View 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic-win1256.hh View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar-machine.hh View 10 chunks +19 lines, -19 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea-machine.hh View 10 chunks +17 lines, -17 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/harfbuzz-ng/src/hb-private.hh View 4 chunks +29 lines, -29 lines 0 comments Download
M third_party/harfbuzz-ng/src/hb-set-private.hh View 3 chunks +56 lines, -1 line 0 comments Download
M third_party/harfbuzz-ng/src/hb-version.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005693006/1
5 years, 9 months ago (2015-03-23 19:24:04 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-23 22:23:18 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/745ff3a6e89a36a8f1b867e3875d352bf5f57505 Cr-Commit-Position: refs/heads/master@{#321873}
5 years, 9 months ago (2015-03-23 22:23:51 UTC) #5
brucedawson
Possible issues in hb-buffer-deserialize-text.hh? I was investigating a Harfbuzz compiler warning (from VC++'s /analyze) and ...
5 years, 9 months ago (2015-03-26 17:27:31 UTC) #6
behdad_google
5 years, 9 months ago (2015-03-26 18:15:11 UTC) #7
Message was sent while issue was closed.
On 2015/03/26 17:27:31, brucedawson wrote:
> Possible issues in hb-buffer-deserialize-text.hh?
> 
> I was investigating a Harfbuzz compiler warning (from VC++'s /analyze) and the
> warning referred to a non-existent source file. That struck me as odd. I
> eventually tracked this down to the #line directives that are in many Harfbuzz
> header files. In particular, hb-buffer-deserialize-text.hh contains lines such
> as:
> 
>     #line 43 "hb-buffer-deserialize-text.rl"
> 
> This causes odd warning paths such as:
> 
>     out\debug\hb-buffer-deserialize-text.rl(47) : warning C6001: Using
> uninitialized memory 'pos'.
> 
> Note that VC++ has trusted the #line directive and then reported the path as
if
> the file was in the current directory. This is very confusing and I wanted to
> suggest that the 144 #line directives in Harfbuzz should be removed,
especially
> since they refer to files that do not exist in the Chromium code base.
> 
> As for the warning, it occurs on line 504 of hb-buffer-deserialize-text.hh:
> 
>     buffer->pos[buffer->len - 1] = pos;
> 
> I don't know whether it is a legitimate warning. I think that in general it is
> worthwhile to just initialize POD local variables when they are declared. That
> makes it entirely a non-issue, and local variable initialization is extremely
> cheap.

The warning is harmless.  But fixed anyway:
https://github.com/behdad/harfbuzz/commit/aee685086c8fde6f6c4590e483a177c19f2...

Thanks.

Powered by Google App Engine
This is Rietveld 408576698