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

Issue 1423103002: XFA: Manual merge of Clean up IFX_BidiChar (Closed)

Created:
5 years, 1 month ago by Lei Zhang
Modified:
5 years, 1 month ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium@xfa
Target Ref:
refs/heads/xfa
Visibility:
Public.

Description

XFA: Manual merge of 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 Original CL: https://codereview.chromium.org/1197643002 This version does not remove fx_arb.h and fx_arabic.h, as there is code on the XFA branch that still uses parts of it. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/ee02ea37e8f85920885600d56df706d690e648ff

Patch Set 1 #

Patch Set 2 : missing files #

Total comments: 4

Patch Set 3 : rebase #

Patch Set 4 : add missing build entries #

Patch Set 5 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+539 lines, -299 lines) Patch
M BUILD.gn View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M core/include/fxcrt/fx_arb.h View 1 2 3 4 3 chunks +14 lines, -28 lines 0 comments Download
A core/include/fxcrt/fx_bidi.h View 1 1 chunk +59 lines, -0 lines 0 comments Download
M core/include/fxcrt/fx_ucd.h View 1 chunk +1 line, -17 lines 0 comments Download
M core/src/fpdftext/fpdf_text.cpp View 2 chunks +8 lines, -8 lines 0 comments Download
M core/src/fpdftext/fpdf_text_int.cpp View 6 chunks +18 lines, -18 lines 0 comments Download
M core/src/fpdftext/text_int.h View 1 chunk +1 line, -1 line 0 comments Download
M core/src/fxcrt/fx_arabic.h View 1 2 3 4 2 chunks +3 lines, -23 lines 0 comments Download
M core/src/fxcrt/fx_arabic.cpp View 1 2 3 4 6 chunks +202 lines, -181 lines 0 comments Download
A core/src/fxcrt/fx_bidi.cpp View 1 1 chunk +66 lines, -0 lines 0 comments Download
A core/src/fxcrt/fx_bidi_unittest.cpp View 1 chunk +136 lines, -0 lines 0 comments Download
M core/src/fxcrt/fx_unicode.cpp View 1 chunk +25 lines, -23 lines 0 comments Download
M pdfium.gyp View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
Lei Zhang
- Some pieces of the original CL has been merged already. - fx_arb.h / fx_arabic.* ...
5 years, 1 month ago (2015-10-27 02:36:46 UTC) #2
Tom Sepez
I think you need to add new unittest to .gyp/.gn files.
5 years, 1 month ago (2015-10-27 16:34:35 UTC) #3
Tom Sepez
https://codereview.chromium.org/1423103002/diff/20001/core/include/fxcrt/fx_arb.h File core/include/fxcrt/fx_arb.h (right): https://codereview.chromium.org/1423103002/diff/20001/core/include/fxcrt/fx_arb.h#newcode14 core/include/fxcrt/fx_arb.h:14: #ifdef __cplusplus nit: this file won't compile under C ...
5 years, 1 month ago (2015-10-27 16:41:06 UTC) #4
Tom Sepez
Let me know when you get this to land; I'd like to re-generate the core ...
5 years, 1 month ago (2015-10-29 17:12:52 UTC) #5
Lei Zhang
On 2015/10/27 16:34:35, Tom Sepez wrote: > I think you need to add new unittest ...
5 years, 1 month ago (2015-10-29 21:51:39 UTC) #6
Tom Sepez
lgtm
5 years, 1 month ago (2015-10-29 21:56:15 UTC) #7
Lei Zhang
uh, still need to address your comments, PTAL at PS 5. https://codereview.chromium.org/1423103002/diff/20001/core/include/fxcrt/fx_arb.h File core/include/fxcrt/fx_arb.h (right): ...
5 years, 1 month ago (2015-10-29 21:59:06 UTC) #8
Tom Sepez
still lgtm. The others were kinda optional.
5 years, 1 month ago (2015-10-29 22:00:55 UTC) #9
Lei Zhang
5 years, 1 month ago (2015-10-29 22:02:01 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
ee02ea37e8f85920885600d56df706d690e648ff (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698