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

Issue 1366593002: Support linearized loading (Closed)

Created:
5 years, 3 months ago by jun_fang
Modified:
5 years, 2 months ago
Reviewers:
Tom Sepez, Lei Zhang
CC:
pdfium-reviews_googlegroups.com, 'jbreiden_google.com, kai_jing, steven_wu
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Support linearized loading BUG=N/A

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+626 lines, -144 lines) Patch
M BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M core/include/fpdfapi/fpdf_parser.h View 3 chunks +21 lines, -18 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 18 chunks +490 lines, -74 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp View 2 chunks +6 lines, -2 lines 0 comments Download
A core/src/fpdfapi/fpdf_parser/parser_int.h View 1 chunk +49 lines, -0 lines 0 comments Download
M fpdfsdk/src/fpdf_dataavail.cpp View 3 chunks +14 lines, -14 lines 0 comments Download
M fpdfsdk/src/fpdf_dataavail_embeddertest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/fpdfview_embeddertest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M pdfium.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M public/fpdf_dataavail.h View 4 chunks +25 lines, -25 lines 0 comments Download
M testing/embedder_test.cpp View 3 chunks +15 lines, -7 lines 0 comments Download
A testing/resources/feature_linearized_loading.pdf View Binary file 0 comments Download

Messages

Total messages: 4 (1 generated)
jun_fang
Hi Tom and Lei, I submitted a new patch for you to review. All review ...
5 years, 3 months ago (2015-09-23 12:41:53 UTC) #2
Tom Sepez
On 2015/09/23 12:41:53, jun_fang wrote: > Hi Tom and Lei, > > I submitted a ...
5 years, 3 months ago (2015-09-23 19:01:13 UTC) #3
jun_fang
5 years, 3 months ago (2015-09-24 12:45:02 UTC) #4
On 2015/09/23 19:01:13, Tom Sepez wrote:
> On 2015/09/23 12:41:53, jun_fang wrote:
> > Hi Tom and Lei,
> > 
> > I submitted a new patch for you to review. All review comments have been
> > addressed.
> 
> Why did you choose to go to a new patch?  If you created a new branch, then
> you can use 
> $ git cl issue 1353093003
> to cause it to upload to the old isse number, so that the comments aren't
lost.
> 
> That aside, I'm concerned that were parsing a new binary format, and there is
> only the one positive example as a test case.  Where are the tests that show
> what happens when pathologically mangled input is presented to your decoder?
> 
> In particular, it should be possible to create a unit test for ReadHintTables
> and
> friends, where we feed desired bitstreams from the test harness into the
> decoder.

OK. Let's still use https://codereview.chromium.org/1353093003/.

Powered by Google App Engine
This is Rietveld 408576698