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

Issue 1471323004: Inflict PPDF_ENABLE_XFA ifdefs on XFA core/ (Closed)

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

Description

Patch Set 1 #

Total comments: 18
Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -1 line) Patch
M core/include/fpdfdoc/fpdf_doc.h View 1 chunk +2 lines, -0 lines 2 comments Download
M core/include/fxcodec/fx_codec.h View 9 chunks +29 lines, -0 lines 8 comments Download
M core/include/fxcodec/fx_codec_def.h View 4 chunks +6 lines, -0 lines 0 comments Download
M core/include/fxcrt/fx_basic.h View 8 chunks +10 lines, -0 lines 0 comments Download
M core/include/fxcrt/fx_ext.h View 3 chunks +4 lines, -0 lines 0 comments Download
M core/include/fxcrt/fx_stream.h View 2 chunks +2 lines, -0 lines 0 comments Download
M core/include/fxcrt/fx_ucd.h View 5 chunks +12 lines, -0 lines 2 comments Download
M core/include/fxge/fx_font.h View 10 chunks +20 lines, -0 lines 0 comments Download
M core/src/fpdfdoc/doc_form.cpp View 2 chunks +2 lines, -0 lines 4 comments Download
M core/src/fpdfdoc/doc_formfield.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M core/src/fpdftext/fpdf_text_int.cpp View 4 chunks +69 lines, -0 lines 0 comments Download
M core/src/fpdftext/text_int.h View 1 chunk +6 lines, -0 lines 0 comments Download
M core/src/fxcodec/codec/codec_int.h View 4 chunks +8 lines, -0 lines 0 comments Download
M core/src/fxcodec/codec/fx_codec.cpp View 3 chunks +9 lines, -1 line 2 comments Download
M core/src/fxcodec/codec/fx_codec_jpeg.cpp View 4 chunks +8 lines, -0 lines 0 comments Download
M core/src/fxcrt/extension.h View 2 chunks +2 lines, -0 lines 0 comments Download
M core/src/fxcrt/fx_basic_buffer.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M core/src/fxcrt/fx_extension.cpp View 4 chunks +4 lines, -0 lines 0 comments Download
M core/src/fxcrt/fx_unicode.cpp View 3 chunks +4 lines, -0 lines 0 comments Download
M core/src/fxge/dib/fx_dib_convert.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fxge/ge/fx_ge_font.cpp View 8 chunks +24 lines, -0 lines 0 comments Download
M core/src/fxge/ge/fx_ge_fontmap.cpp View 4 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
Tom Sepez
Lei, for review.
5 years ago (2015-11-24 22:15:11 UTC) #2
Lei Zhang
Still looking... https://codereview.chromium.org/1471323004/diff/1/core/include/fpdfdoc/fpdf_doc.h File core/include/fpdfdoc/fpdf_doc.h (right): https://codereview.chromium.org/1471323004/diff/1/core/include/fpdfdoc/fpdf_doc.h#newcode835 core/include/fpdfdoc/fpdf_doc.h:835: #endif Blank line below rather than above? ...
5 years ago (2015-11-24 23:36:04 UTC) #4
Lei Zhang
https://codereview.chromium.org/1471323004/diff/1/core/src/fpdfdoc/doc_form.cpp File core/src/fpdfdoc/doc_form.cpp (right): https://codereview.chromium.org/1471323004/diff/1/core/src/fpdfdoc/doc_form.cpp#newcode389 core/src/fpdfdoc/doc_form.cpp:389: #endif These 2 needs to be labeled. https://codereview.chromium.org/1471323004/diff/1/core/src/fxcodec/codec/fx_codec.cpp File ...
5 years ago (2015-11-24 23:38:10 UTC) #5
Tom Sepez
This is a fully-automated patch. I restrained myself from doing any of these cleanups. I ...
5 years ago (2015-11-24 23:39:50 UTC) #6
Tom Sepez
https://codereview.chromium.org/1471323004/diff/1/core/include/fxcodec/fx_codec.h File core/include/fxcodec/fx_codec.h (right): https://codereview.chromium.org/1471323004/diff/1/core/include/fxcodec/fx_codec.h#newcode253 core/include/fxcodec/fx_codec.h:253: #ifndef PDF_ENABLE_XFA Making this purely "additive" (by that I ...
5 years ago (2015-11-25 00:12:06 UTC) #7
Lei Zhang
On 2015/11/25 00:12:06, Tom Sepez wrote: > https://codereview.chromium.org/1471323004/diff/1/core/include/fxcodec/fx_codec.h > File core/include/fxcodec/fx_codec.h (right): > > https://codereview.chromium.org/1471323004/diff/1/core/include/fxcodec/fx_codec.h#newcode253 ...
5 years ago (2015-11-25 00:18:25 UTC) #8
Tom Sepez
> It's kind of meh. I wonder if we can move |pAttribute| to after pContext ...
5 years ago (2015-11-25 00:22:32 UTC) #9
Lei Zhang
On 2015/11/25 00:22:32, Tom Sepez wrote: > > It's kind of meh. I wonder if ...
5 years ago (2015-11-25 00:24:02 UTC) #10
Tom Sepez
I'd like to land this as-is and tidy up in the next CL, without making ...
5 years ago (2015-11-25 18:51:46 UTC) #11
Lei Zhang
ok, lgtm
5 years ago (2015-11-25 20:01:21 UTC) #12
Tom Sepez
Committed patchset #1 (id:1) manually as 5c4c193fd4b6dd0657abf5e74125f9887f91d720 (presubmit successful).
5 years ago (2015-11-25 20:15:43 UTC) #14
Tom Sepez
https://codereview.chromium.org/1471323004/diff/1/core/src/fpdfdoc/doc_form.cpp File core/src/fpdfdoc/doc_form.cpp (right): https://codereview.chromium.org/1471323004/diff/1/core/src/fpdfdoc/doc_form.cpp#newcode389 core/src/fpdfdoc/doc_form.cpp:389: #endif Am I blind? I see no matching ifdef!
5 years ago (2015-11-25 21:01:39 UTC) #15
Lei Zhang
5 years ago (2015-11-25 21:20:21 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/1471323004/diff/1/core/src/fpdfdoc/doc_form.cpp
File core/src/fpdfdoc/doc_form.cpp (right):

https://codereview.chromium.org/1471323004/diff/1/core/src/fpdfdoc/doc_form.c...
core/src/fpdfdoc/doc_form.cpp:389: #endif
On 2015/11/25 21:01:39, Tom Sepez wrote:
> Am I blind?  I see no matching ifdef!

#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ on line 333, thus the need for
#endif  // FOO

Powered by Google App Engine
This is Rietveld 408576698