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

Issue 801913002: Simplify PDFium by removing code that's not used in the open source repo. (Closed)

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

Description

Simplify PDFium by removing code that's not used in the open source repo. -remove parameter from FPDF_InitLibrary -remove a bunch of ifdefs that are unused R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/217ecf3b39f8d5c01260684848a8886c8ed2bf89

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -1942 lines) Patch
M BUILD.gn View 5 chunks +0 lines, -5 lines 0 comments Download
M core/include/fpdfapi/fpdf_module.h View 2 chunks +0 lines, -9 lines 0 comments Download
M core/src/fpdfapi/fpdf_basic_module.cpp View 1 chunk +0 lines, -34 lines 0 comments Download
M core/src/fpdfapi/fpdf_font/font_int.h View 2 chunks +0 lines, -4 lines 0 comments Download
M core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp View 7 chunks +1 line, -38 lines 0 comments Download
M core/src/fpdfapi/fpdf_font/fpdf_font_utility.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp View 2 chunks +0 lines, -11 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp View 9 chunks +0 lines, -94 lines 0 comments Download
D core/src/fpdfapi/fpdf_page/fpdf_page_parser_new.cpp View 1 chunk +0 lines, -822 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/pageint.h View 6 chunks +2 lines, -42 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 3 chunks +0 lines, -9 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render.cpp View 23 chunks +0 lines, -59 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp View 4 chunks +1 line, -35 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp View 13 chunks +0 lines, -83 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp View 2 chunks +0 lines, -10 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp View 2 chunks +0 lines, -12 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/render_int.h View 1 chunk +0 lines, -4 lines 0 comments Download
M core/src/fpdftext/fpdf_text.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M core/src/fpdftext/fpdf_text_int.cpp View 4 chunks +0 lines, -17 lines 0 comments Download
M core/src/fxcodec/libjpeg/fpdfapi_jerror.c View 2 chunks +0 lines, -13 lines 0 comments Download
M core/src/fxcodec/libjpeg/jmemsys.h View 3 chunks +1 line, -38 lines 0 comments Download
M core/src/fxge/agg/agg23/fx_agg_driver.cpp View 1 chunk +1 line, -1 line 1 comment Download
M core/src/fxge/apple/fx_apple_platform.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/src/fxge/apple/fx_mac_imp.cpp View 3 chunks +0 lines, -6 lines 0 comments Download
M core/src/fxge/dib/fx_dib_engine.cpp View 3 chunks +0 lines, -11 lines 0 comments Download
M core/src/fxge/dib/fx_dib_main.cpp View 7 chunks +0 lines, -10 lines 0 comments Download
M core/src/fxge/fx_freetype/fxft2.5.01/src/psnames/fxft_psmodule.c View 2 chunks +0 lines, -2 lines 0 comments Download
M core/src/fxge/ge/fx_ge_font.cpp View 4 chunks +1 line, -10 lines 0 comments Download
M core/src/fxge/ge/fx_ge_fontmap.cpp View 2 chunks +1 line, -3 lines 0 comments Download
D core/src/fxge/ge/fx_ge_linux.cpp View 1 chunk +0 lines, -259 lines 1 comment Download
M core/src/fxge/ge/fx_ge_text.cpp View 4 chunks +3 lines, -7 lines 0 comments Download
M core/src/fxge/win32/fx_win32_device.cpp View 4 chunks +23 lines, -29 lines 0 comments Download
D fpdfsdk/include/fpdfoom.h View 1 chunk +0 lines, -61 lines 0 comments Download
M fpdfsdk/include/fpdfview.h View 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/include/fsdk_define.h View 1 chunk +19 lines, -53 lines 0 comments Download
M fpdfsdk/src/fpdfeditpage.cpp View 2 chunks +1 line, -6 lines 0 comments Download
D fpdfsdk/src/fpdfoom.cpp View 1 chunk +0 lines, -27 lines 1 comment Download
M fpdfsdk/src/fpdfppo.cpp View 1 chunk +1 line, -6 lines 0 comments Download
M fpdfsdk/src/fpdfview.cpp View 5 chunks +1 line, -64 lines 0 comments Download
M fpdfsdk/src/javascript/Document.cpp View 2 chunks +0 lines, -7 lines 0 comments Download
M fpdfsdk/src/javascript/app.cpp View 2 chunks +0 lines, -20 lines 0 comments Download
M fpdfsdk/src/jsapi/fxjs_v8.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_FontMap.cpp View 1 chunk +1 line, -5 lines 0 comments Download
M pdfium.gyp View 5 chunks +0 lines, -5 lines 0 comments Download
M samples/pdfium_test.cc View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 9 (1 generated)
jam
https://codereview.chromium.org/801913002/diff/1/core/src/fxge/ge/fx_ge_linux.cpp File core/src/fxge/ge/fx_ge_linux.cpp (left): https://codereview.chromium.org/801913002/diff/1/core/src/fxge/ge/fx_ge_linux.cpp#oldcode11 core/src/fxge/ge/fx_ge_linux.cpp:11: #if (_FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ && (!defined(_FPDFAPI_MINI_))) this code is ...
6 years ago (2014-12-12 19:36:03 UTC) #2
Tom Sepez
I'm not sure its worth doing this cleanup against the origin/master branch, when we hope ...
6 years ago (2014-12-12 22:23:04 UTC) #3
jam
On 2014/12/12 22:23:04, Tom Sepez wrote: > I'm not sure its worth doing this cleanup ...
6 years ago (2014-12-12 22:35:45 UTC) #4
Tom Sepez
I'd keep the memory stuff as-is. I'm not sure we want to tie this to ...
6 years ago (2014-12-12 22:36:12 UTC) #5
jam
On 2014/12/12 22:36:12, Tom Sepez wrote: > I'd keep the memory stuff as-is. I'm not ...
6 years ago (2014-12-12 22:55:56 UTC) #6
Tom Sepez
On 2014/12/12 22:55:56, jam wrote: > On 2014/12/12 22:36:12, Tom Sepez wrote: > > I'd ...
6 years ago (2014-12-12 23:09:14 UTC) #7
Tom Sepez
I think its OK to land this as-is and take care of any other issues ...
6 years ago (2014-12-13 00:22:45 UTC) #8
jam
6 years ago (2014-12-13 00:42:24 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
217ecf3b39f8d5c01260684848a8886c8ed2bf89 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698