Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(298)

Issue 4650060: Update Catalog object to have the capability of placing substitutes. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by arthurhsu
Modified:
12 years, 10 months ago
CC:
skia-review_googlegroups.com, reed1
Base URL:
http://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Update Catalog object to have the capability of placing substitutes. Separate from CR 4633050. Note for Steve: I'm not a committer, so if you need this fast, please help commit if LGTM'ed. BUG=none TEST=none

Patch Set 1 #

Patch Set 2 : Update per comments #

Total comments: 41

Patch Set 3 : Update per code review #

Total comments: 42

Patch Set 4 : Update per code review #

Total comments: 36

Patch Set 5 : Update per code review #

Total comments: 16

Patch Set 6 : Update per code review #

Patch Set 7 : Update per code review #

Total comments: 4

Patch Set 8 : Update per code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -26 lines) Patch
M include/pdf/SkPDFCatalog.h View 1 2 3 4 5 6 7 2 chunks +35 lines, -0 lines 0 comments Download
M include/pdf/SkPDFTypes.h View 1 2 3 4 3 chunks +16 lines, -9 lines 0 comments Download
M src/pdf/SkPDFCatalog.cpp View 1 2 3 4 5 6 7 3 chunks +83 lines, -2 lines 0 comments Download
M src/pdf/SkPDFDocument.cpp View 1 2 3 4 5 chunks +12 lines, -7 lines 0 comments Download
M src/pdf/SkPDFTypes.cpp View 1 2 3 4 chunks +10 lines, -4 lines 0 comments Download
M tests/PDFPrimitivesTest.cpp View 1 2 3 4 5 6 7 6 chunks +55 lines, -4 lines 0 comments Download

Messages

Total messages: 14
Steve VanDeBogart
http://codereview.appspot.com/4650060/diff/2001/include/pdf/SkPDFCatalog.h File include/pdf/SkPDFCatalog.h (right): http://codereview.appspot.com/4650060/diff/2001/include/pdf/SkPDFCatalog.h#newcode118 include/pdf/SkPDFCatalog.h:118: SkTDArray<struct SubstituteMapping> fObjectMap; Lets make fObjectMap include Sub or ...
12 years, 10 months ago (2011-06-30 01:34:50 UTC) #1
Chris Guillory
I just did a quick glance at this. http://codereview.appspot.com/4650060/diff/2001/include/pdf/SkPDFCatalog.h File include/pdf/SkPDFCatalog.h (right): http://codereview.appspot.com/4650060/diff/2001/include/pdf/SkPDFCatalog.h#newcode90 include/pdf/SkPDFCatalog.h:90: Nit: ...
12 years, 10 months ago (2011-06-30 03:40:41 UTC) #2
Steve VanDeBogart
http://codereview.appspot.com/4650060/diff/2001/include/pdf/SkPDFTypes.h File include/pdf/SkPDFTypes.h (right): http://codereview.appspot.com/4650060/diff/2001/include/pdf/SkPDFTypes.h#newcode51 include/pdf/SkPDFTypes.h:51: /** Based on catalog data, emit the proper object. ...
12 years, 10 months ago (2011-06-30 16:00:25 UTC) #3
arthurhsu
http://codereview.appspot.com/4650060/diff/2001/include/pdf/SkPDFCatalog.h File include/pdf/SkPDFCatalog.h (right): http://codereview.appspot.com/4650060/diff/2001/include/pdf/SkPDFCatalog.h#newcode90 include/pdf/SkPDFCatalog.h:90: On 2011/06/30 03:40:41, Chris Guillory wrote: > Nit: Extra ...
12 years, 10 months ago (2011-06-30 23:32:40 UTC) #4
Steve VanDeBogart
http://codereview.appspot.com/4650060/diff/2001/src/pdf/SkPDFCatalog.cpp File src/pdf/SkPDFCatalog.cpp (right): http://codereview.appspot.com/4650060/diff/2001/src/pdf/SkPDFCatalog.cpp#newcode173 src/pdf/SkPDFCatalog.cpp:173: addObject(resourceList[i], onFirstPage); On 2011/06/30 23:32:40, arthurhsu wrote: > On ...
12 years, 10 months ago (2011-07-01 00:32:16 UTC) #5
arthurhsu
http://codereview.appspot.com/4650060/diff/9001/include/pdf/SkPDFCatalog.h File include/pdf/SkPDFCatalog.h (right): http://codereview.appspot.com/4650060/diff/9001/include/pdf/SkPDFCatalog.h#newcode73 include/pdf/SkPDFCatalog.h:73: /** Give the substitute object (i.e. subsetted font object) ...
12 years, 10 months ago (2011-07-01 03:31:53 UTC) #6
Steve VanDeBogart
Getting close... http://codereview.appspot.com/4650060/diff/9001/include/pdf/SkPDFCatalog.h File include/pdf/SkPDFCatalog.h (right): http://codereview.appspot.com/4650060/diff/9001/include/pdf/SkPDFCatalog.h#newcode112 include/pdf/SkPDFCatalog.h:112: SkRefPtr<SkPDFObject> fSubstitute; On 2011/07/01 03:31:53, arthurhsu wrote: ...
12 years, 10 months ago (2011-07-01 18:52:47 UTC) #7
arthurhsu
http://codereview.appspot.com/4650060/diff/9001/include/pdf/SkPDFCatalog.h File include/pdf/SkPDFCatalog.h (right): http://codereview.appspot.com/4650060/diff/9001/include/pdf/SkPDFCatalog.h#newcode112 include/pdf/SkPDFCatalog.h:112: SkRefPtr<SkPDFObject> fSubstitute; On 2011/07/01 18:52:47, Steve VanDeBogart wrote: > ...
12 years, 10 months ago (2011-07-01 21:27:22 UTC) #8
Chris Guillory
Thanks for the email explanation. I'd need an in person explanation in order to provide ...
12 years, 10 months ago (2011-07-01 22:52:49 UTC) #9
Steve VanDeBogart
http://codereview.appspot.com/4650060/diff/12001/include/pdf/SkPDFCatalog.h File include/pdf/SkPDFCatalog.h (right): http://codereview.appspot.com/4650060/diff/12001/include/pdf/SkPDFCatalog.h#newcode81 include/pdf/SkPDFCatalog.h:81: bool onFirstPage); On 2011/07/01 21:27:22, arthurhsu wrote: > On ...
12 years, 10 months ago (2011-07-02 01:12:37 UTC) #10
arthurhsu
http://codereview.appspot.com/4650060/diff/12001/include/pdf/SkPDFCatalog.h File include/pdf/SkPDFCatalog.h (right): http://codereview.appspot.com/4650060/diff/12001/include/pdf/SkPDFCatalog.h#newcode81 include/pdf/SkPDFCatalog.h:81: bool onFirstPage); On 2011/07/02 01:12:38, Steve VanDeBogart wrote: > ...
12 years, 10 months ago (2011-07-06 20:11:58 UTC) #11
Steve VanDeBogart
http://codereview.appspot.com/4650060/diff/12001/src/pdf/SkPDFCatalog.cpp File src/pdf/SkPDFCatalog.cpp (right): http://codereview.appspot.com/4650060/diff/12001/src/pdf/SkPDFCatalog.cpp#newcode36 src/pdf/SkPDFCatalog.cpp:36: SkPDFObject* SkPDFCatalog::addObject(SkPDFObject* obj, bool onFirstPage) { On 2011/07/06 20:11:59, ...
12 years, 10 months ago (2011-07-06 22:21:22 UTC) #12
arthurhsu
http://codereview.appspot.com/4650060/diff/12001/src/pdf/SkPDFCatalog.cpp File src/pdf/SkPDFCatalog.cpp (right): http://codereview.appspot.com/4650060/diff/12001/src/pdf/SkPDFCatalog.cpp#newcode36 src/pdf/SkPDFCatalog.cpp:36: SkPDFObject* SkPDFCatalog::addObject(SkPDFObject* obj, bool onFirstPage) { On 2011/07/06 22:21:22, ...
12 years, 10 months ago (2011-07-06 22:56:54 UTC) #13
Steve VanDeBogart
12 years, 10 months ago (2011-07-06 23:31:50 UTC) #14
Committed as r1812.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b