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

Issue 1197643002: Cleanup IFX_BidiChar (Closed)

Created:
5 years, 6 months ago by Lei Zhang
Modified:
5 years, 4 months ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Clean up IFX_BidiChar - Replace IFX_BidiChar with just CFX_BidiChar - Document implementation - Change out parameters to pointers - Remove dead code - Add an enum for bidi directions - Move several externs to a header - Add unit tests R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/2ae87d2e8ddff79d0e96aad3db97e090db21fb99

Patch Set 1 #

Total comments: 12

Patch Set 2 : redo CL #

Patch Set 3 : move gs_FX_TextLayout_CodeProperties to a header #

Patch Set 4 : address comments #

Patch Set 5 : rename #

Patch Set 6 : rename with similarity 20 #

Patch Set 7 : add tests, similarity 20 #

Total comments: 4

Patch Set 8 : address comments, similarity 20 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+301 lines, -372 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 4 chunks +3 lines, -3 lines 0 comments Download
M core/include/fxcrt/fx_arb.h View 1 2 3 4 1 chunk +0 lines, -24 lines 0 comments Download
A + core/include/fxcrt/fx_bidi.h View 1 2 3 4 5 6 1 chunk +40 lines, -14 lines 0 comments Download
M core/include/fxcrt/fx_ucd.h View 1 2 3 4 5 6 7 1 chunk +29 lines, -85 lines 0 comments Download
M core/src/fpdftext/fpdf_text.cpp View 1 2 3 4 2 chunks +8 lines, -8 lines 0 comments Download
M core/src/fpdftext/fpdf_text_int.cpp View 1 2 3 4 6 chunks +18 lines, -18 lines 0 comments Download
M core/src/fpdftext/text_int.h View 1 1 chunk +1 line, -1 line 0 comments Download
D core/src/fxcrt/fx_arabic.h View 1 1 chunk +0 lines, -33 lines 0 comments Download
M core/src/fxcrt/fx_arabic.cpp View 1 2 3 4 1 chunk +0 lines, -84 lines 0 comments Download
A + core/src/fxcrt/fx_bidi.cpp View 1 2 3 4 5 6 1 chunk +35 lines, -53 lines 0 comments Download
A core/src/fxcrt/fx_bidi_unittest.cpp View 1 2 3 4 5 6 1 chunk +136 lines, -0 lines 0 comments Download
M core/src/fxcrt/fx_ucddata.cpp View 1 2 3 4 5 6 7 4 chunks +15 lines, -4 lines 0 comments Download
M core/src/fxcrt/fx_unicode.cpp View 1 2 3 4 5 6 7 1 chunk +13 lines, -42 lines 0 comments Download
M pdfium.gyp View 1 2 3 4 5 6 7 4 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
Lei Zhang
5 years, 6 months ago (2015-06-19 20:10:22 UTC) #2
Tom Sepez
https://codereview.chromium.org/1197643002/diff/1/core/include/fxcrt/fx_arb.h File core/include/fxcrt/fx_arb.h (right): https://codereview.chromium.org/1197643002/diff/1/core/include/fxcrt/fx_arb.h#newcode31 core/include/fxcrt/fx_arb.h:31: // should not be called after this. nit: "may ...
5 years, 6 months ago (2015-06-19 20:30:33 UTC) #3
Tom Sepez
https://codereview.chromium.org/1197643002/diff/1/core/src/fxcrt/fx_arabic.cpp File core/src/fxcrt/fx_arabic.cpp (right): https://codereview.chromium.org/1197643002/diff/1/core/src/fxcrt/fx_arabic.cpp#newcode10 core/src/fxcrt/fx_arabic.cpp:10: extern const FX_DWORD gs_FX_TextLayout_CodeProperties[65536]; On 2015/06/19 20:30:32, Tom Sepez ...
5 years, 6 months ago (2015-06-19 21:36:11 UTC) #4
Tom Sepez
At the risk of "piling on", it would be cool if this were renamed to ...
5 years, 6 months ago (2015-06-20 01:10:26 UTC) #5
Tom Sepez
On 2015/06/20 01:10:26, Tom Sepez wrote: > At the risk of "piling on", it would ...
5 years, 5 months ago (2015-07-23 19:54:21 UTC) #6
Lei Zhang
Finally got back to finishing this CL. https://codereview.chromium.org/1197643002/diff/1/core/include/fxcrt/fx_arb.h File core/include/fxcrt/fx_arb.h (right): https://codereview.chromium.org/1197643002/diff/1/core/include/fxcrt/fx_arb.h#newcode31 core/include/fxcrt/fx_arb.h:31: // should ...
5 years, 4 months ago (2015-08-17 17:41:35 UTC) #7
Tom Sepez
lgtm https://codereview.chromium.org/1197643002/diff/120001/core/src/fxcrt/fx_ucddata.cpp File core/src/fxcrt/fx_ucddata.cpp (right): https://codereview.chromium.org/1197643002/diff/120001/core/src/fxcrt/fx_ucddata.cpp#newcode9 core/src/fxcrt/fx_ucddata.cpp:9: extern const FX_DWORD kTextLayout_CodeProperties[1 << (8 * sizeof(FX_WORD))] ...
5 years, 4 months ago (2015-08-17 18:55:16 UTC) #8
Lei Zhang
https://codereview.chromium.org/1197643002/diff/120001/core/src/fxcrt/fx_ucddata.cpp File core/src/fxcrt/fx_ucddata.cpp (right): https://codereview.chromium.org/1197643002/diff/120001/core/src/fxcrt/fx_ucddata.cpp#newcode9 core/src/fxcrt/fx_ucddata.cpp:9: extern const FX_DWORD kTextLayout_CodeProperties[1 << (8 * sizeof(FX_WORD))] = ...
5 years, 4 months ago (2015-08-17 22:01:26 UTC) #9
Tom Sepez
lgtm
5 years, 4 months ago (2015-08-17 23:06:36 UTC) #10
Lei Zhang
5 years, 4 months ago (2015-08-18 01:00:52 UTC) #11
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
2ae87d2e8ddff79d0e96aad3db97e090db21fb99 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698