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

Issue 1761673002: Enable XFA-Forms for the PDFium plugin (Closed)

Created:
4 years, 9 months ago by Tom Sepez
Modified:
4 years, 9 months ago
Reviewers:
Nico, rpop
CC:
chromium-reviews, pawliger, Lei Zhang, dsinclair, Oliver Chang, Wei Li, laforge
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable XFA-Forms for the PDFium plugin. This is a change to gather stability, performance, and size data and will be rolled back by 2016-03-15. This is the gyp portion of the change; the GN variables controlling the same things currently reside in the pdfium product itsef. Committed: https://crrev.com/afa43e7fa9754cff9ceb6969c665830a79a84c5b Cr-Commit-Position: refs/heads/master@{#379622}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M build/common.gypi View 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 28 (8 generated)
Tom Sepez
Requires pdfium to be rolled past https://codereview.chromium.org/1763493002/ before landing this change.
4 years, 9 months ago (2016-03-02 23:56:48 UTC) #3
Nico
lgtm Does this change binary size much? Binary size monitoring is currently broken, so please ...
4 years, 9 months ago (2016-03-03 00:11:05 UTC) #4
Tom Sepez
On 2016/03/03 00:11:05, Nico wrote: > lgtm > > Does this change binary size much? ...
4 years, 9 months ago (2016-03-03 00:25:37 UTC) #5
Nico
…that sounds kind of prohibitively large. How on earth can this be 3MB? On Wed, ...
4 years, 9 months ago (2016-03-03 00:38:48 UTC) #6
Tom Sepez
It adds about 160K LOC.
4 years, 9 months ago (2016-03-03 00:50:58 UTC) #7
Nico
That too sounds unreasonably large. This is a very nice feature, but I'm not sure ...
4 years, 9 months ago (2016-03-03 00:56:09 UTC) #8
chromium-reviews
It implements the 1500 page spec at http://partners.adobe.com/public/developer/en/xml/xfa_spec_3_3.pdf On Wed, Mar 2, 2016 at 4:56 ...
4 years, 9 months ago (2016-03-03 00:57:25 UTC) #9
Tom Sepez
We've asked about stripping it down before, and its authors have always said that would ...
4 years, 9 months ago (2016-03-03 00:59:02 UTC) #10
Nico
Is all of that spec used in practice? Is it possible to download this on ...
4 years, 9 months ago (2016-03-03 01:05:01 UTC) #11
Tom Sepez
Just to be sure my baseline sizes are reasonable, for a release build on linux ...
4 years, 9 months ago (2016-03-03 02:19:09 UTC) #12
jschuh
The product decision to support the full XFA spec was made quite a while ago, ...
4 years, 9 months ago (2016-03-03 14:08:47 UTC) #13
Nico
On 2016/03/03 14:08:47, jschuh (very slow) wrote: > The product decision to support the full ...
4 years, 9 months ago (2016-03-03 19:06:36 UTC) #14
rpop
On 2016/03/03 19:06:36, Nico wrote: > On 2016/03/03 14:08:47, jschuh (very slow) wrote: > > ...
4 years, 9 months ago (2016-03-03 20:49:33 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1761673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1761673002/1
4 years, 9 months ago (2016-03-07 16:40:19 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/184979)
4 years, 9 months ago (2016-03-07 18:03:49 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1761673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1761673002/1
4 years, 9 months ago (2016-03-07 18:57:57 UTC) #22
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-07 20:13:26 UTC) #24
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/afa43e7fa9754cff9ceb6969c665830a79a84c5b Cr-Commit-Position: refs/heads/master@{#379622}
4 years, 9 months ago (2016-03-07 20:15:10 UTC) #26
Nico
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1773043002/ by thakis@chromium.org. ...
4 years, 9 months ago (2016-03-08 02:13:34 UTC) #27
Tom Sepez
4 years, 9 months ago (2016-03-08 16:56:32 UTC) #28
Message was sent while issue was closed.
On 2016/03/08 02:13:34, Nico wrote:
> A revert of this CL (patchset #1 id:1) has been created in
> https://codereview.chromium.org/1773043002/ by mailto:thakis@chromium.org.
> 
> The reason for reverting is: Fails to build with clang-cl with very very scary
> warnings:
> 
> In file included from
> ..\..\third_party\pdfium\xfa/src/fxfa/src/app/xfa_ffapp.h:15:
> ..\..\third_party\pdfium\xfa/src/fgas/include/fx_fnt.h(131,23) :  error: first
> operand of this 'memcmp' call is a pointer to dynamic class
'_FX_FONTSIGNATURE';
> vtable pointer will be compared [-Werror,-Wdynamic-class-memaccess]
>          FXSYS_memcmp(&left.FontSignature, &right.FontSignature,
>          ~~~~~~~~~~~~ ^
> ..\..\third_party\pdfium\xfa/src/fgas/include/fx_fnt.h(131,23) :  note:
> explicitly cast the pointer to silence this warning
>          FXSYS_memcmp(&left.FontSignature, &right.FontSignature,
>                       ^
>                       (void*)
> 
> Reverting for now..

I filed this as pdfium:429.

Powered by Google App Engine
This is Rietveld 408576698