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

Issue 7374052: PDF: add support for named destinations.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by David Lattimore
Modified:
11 years, 2 months ago
CC:
skia-review_googlegroups.com, rmistry
Base URL:
http://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

PDF: add support for named destinations.

Patch Set 1 #

Total comments: 15

Patch Set 2 : PDF: add support for named destinations. #

Total comments: 22

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Allow annotations to be flattened and to pass through SkGPipe. #

Patch Set 7 : Fix a couple of type problems that were presenting as warnings on mac/windows. Change link destinat… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -39 lines) Patch
A gm/internal_links.cpp View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkAnnotation.h View 1 2 3 4 5 6 3 chunks +39 lines, -0 lines 0 comments Download
M include/pdf/SkPDFDevice.h View 1 2 3 4 5 chunks +20 lines, -2 lines 0 comments Download
M src/core/SkAnnotation.cpp View 1 2 2 chunks +35 lines, -7 lines 0 comments Download
M src/core/SkDevice.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 4 5 6 7 chunks +97 lines, -14 lines 0 comments Download
M src/pdf/SkPDFDocument.cpp View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/pdf/SkPDFPage.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/pdf/SkPDFPage.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/pipe/SkGPipePriv.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/pipe/SkGPipeRead.cpp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M src/ports/SkGlobalInitialization_default.cpp View 1 2 3 4 5 4 chunks +6 lines, -0 lines 0 comments Download
M tests/AnnotationTest.cpp View 1 2 2 chunks +38 lines, -15 lines 0 comments Download

Messages

Total messages: 29
edisonn
lgtm + a comment https://codereview.appspot.com/7374052/diff/1/tests/AnnotationTest.cpp File tests/AnnotationTest.cpp (right): https://codereview.appspot.com/7374052/diff/1/tests/AnnotationTest.cpp#newcode96 tests/AnnotationTest.cpp:96: if (rawOutput[i + 0] == ...
11 years, 2 months ago (2013-02-25 18:18:11 UTC) #1
David Lattimore
https://codereview.appspot.com/7374052/diff/1/tests/AnnotationTest.cpp File tests/AnnotationTest.cpp (right): https://codereview.appspot.com/7374052/diff/1/tests/AnnotationTest.cpp#newcode96 tests/AnnotationTest.cpp:96: if (rawOutput[i + 0] == '/' && On 2013/02/25 ...
11 years, 2 months ago (2013-02-25 20:48:13 UTC) #2
edisonn
https://codereview.appspot.com/7374052/diff/1/tests/AnnotationTest.cpp File tests/AnnotationTest.cpp (right): https://codereview.appspot.com/7374052/diff/1/tests/AnnotationTest.cpp#newcode96 tests/AnnotationTest.cpp:96: if (rawOutput[i + 0] == '/' && then instead ...
11 years, 2 months ago (2013-02-25 21:12:12 UTC) #3
reed1
Seems like we want a larger sort of test as well, perhaps one connected to ...
11 years, 2 months ago (2013-02-25 21:28:05 UTC) #4
Steve VanDeBogart
https://codereview.appspot.com/7374052/diff/1/include/core/SkAnnotation.h File include/core/SkAnnotation.h (right): https://codereview.appspot.com/7374052/diff/1/include/core/SkAnnotation.h#newcode98 include/core/SkAnnotation.h:98: * Annotate the canvas by associating a name with ...
11 years, 2 months ago (2013-02-25 23:16:41 UTC) #5
epoger
On 2013/02/25 21:28:05, reed1 wrote: > Seems like we want a larger sort of test ...
11 years, 2 months ago (2013-02-26 16:15:28 UTC) #6
reed1
On 2013/02/26 16:15:28, epoger wrote: > On 2013/02/25 21:28:05, reed1 wrote: > > Seems like ...
11 years, 2 months ago (2013-02-26 16:30:53 UTC) #7
David Lattimore
I got through most of the changes requested yesterday, including writing a basic GM. Just ...
11 years, 2 months ago (2013-02-26 20:44:43 UTC) #8
David Lattimore
I think I've addressed all comments. I added a GM. I wasn't sure about doing ...
11 years, 2 months ago (2013-02-27 00:24:53 UTC) #9
Steve VanDeBogart
Thanks for the update. Basically just some nits below. https://codereview.appspot.com/7374052/diff/15001/src/core/SkAnnotation.cpp File src/core/SkAnnotation.cpp (right): https://codereview.appspot.com/7374052/diff/15001/src/core/SkAnnotation.cpp#newcode58 src/core/SkAnnotation.cpp:58: ...
11 years, 2 months ago (2013-02-27 02:14:36 UTC) #10
David Lattimore
https://codereview.appspot.com/7374052/diff/15001/src/core/SkAnnotation.cpp File src/core/SkAnnotation.cpp (right): https://codereview.appspot.com/7374052/diff/15001/src/core/SkAnnotation.cpp#newcode58 src/core/SkAnnotation.cpp:58: static void SkAnnotatePaint(SkPaint& paint, const char* key, SkData* value) ...
11 years, 2 months ago (2013-02-27 04:26:03 UTC) #11
Steve VanDeBogart
https://codereview.appspot.com/7374052/diff/15001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.appspot.com/7374052/diff/15001/src/pdf/SkPDFDevice.cpp#newcode1313 src/pdf/SkPDFDevice.cpp:1313: bool SkPDFDevice::handleAnnotations(const SkPoint* points, size_t count, On 2013/02/27 02:14:36, ...
11 years, 2 months ago (2013-02-27 21:17:59 UTC) #12
David Lattimore
https://codereview.appspot.com/7374052/diff/15001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.appspot.com/7374052/diff/15001/src/pdf/SkPDFDevice.cpp#newcode1313 src/pdf/SkPDFDevice.cpp:1313: bool SkPDFDevice::handleAnnotations(const SkPoint* points, size_t count, On 2013/02/27 21:17:59, ...
11 years, 2 months ago (2013-02-27 22:21:31 UTC) #13
Steve VanDeBogart
LGTM
11 years, 2 months ago (2013-02-27 22:23:21 UTC) #14
David Lattimore
Thanks for the review. Is there anything else I need to do with the GM ...
11 years, 2 months ago (2013-02-27 22:31:44 UTC) #15
Steve VanDeBogart
On 2013/02/27 22:31:44, David Lattimore wrote: > Thanks for the review. Is there anything else ...
11 years, 2 months ago (2013-02-27 22:53:50 UTC) #16
Steve VanDeBogart
And thanks for making the change. Feature development on the PDF backend is on-demand and ...
11 years, 2 months ago (2013-02-27 22:55:46 UTC) #17
epoger
On 2013/02/27 22:55:46, Steve VanDeBogart wrote: > And thanks for making the change. Feature development ...
11 years, 2 months ago (2013-02-28 19:21:07 UTC) #18
epoger
> I haven't reviewed the code myself, but Steve's LGTM and 20 hours without > ...
11 years, 2 months ago (2013-02-28 19:44:42 UTC) #19
David Lattimore
Continuing discussion started at https://codereview.chromium.org/12382023/. The new GM I added is failing with: ---- internal_links_comparison-serialize: ...
11 years, 2 months ago (2013-02-28 23:43:08 UTC) #20
Steve VanDeBogart
On 2013/02/28 23:43:08, David Lattimore wrote: > Continuing discussion started at https://codereview.chromium.org/12382023/. > > The ...
11 years, 2 months ago (2013-02-28 23:46:28 UTC) #21
reed1
I think the righter fix is to flatten the no-draw-bit along with the annotation.
11 years, 2 months ago (2013-03-01 04:07:55 UTC) #22
David Lattimore
On 2013/03/01 04:07:55, reed1 wrote: > I think the righter fix is to flatten the ...
11 years, 2 months ago (2013-03-01 04:17:09 UTC) #23
David Lattimore
Figured out what was going on. There are two problems. 1) SkAnnotation, SkDataSet and SkData ...
11 years, 2 months ago (2013-03-01 06:22:30 UTC) #24
reed1
We should support flattening of annotation and its payload (SkData, etc.), but they do not ...
11 years, 2 months ago (2013-03-01 12:30:57 UTC) #25
David Lattimore
SkAnnotation already inherited from Flattenable, so that wasn't any trouble. I've registered SkAnnotation, SkData and ...
11 years, 2 months ago (2013-03-04 01:44:04 UTC) #26
reed1
lgtm
11 years, 2 months ago (2013-03-04 16:25:45 UTC) #27
epoger
Patched into a writeable checkout as https://codereview.chromium.org/12466008 ; I'll run a couple of trybots there ...
11 years, 2 months ago (2013-03-05 19:15:23 UTC) #28
epoger
11 years, 2 months ago (2013-03-06 15:53:38 UTC) #29
We encountered problems when we landed patchset 5 as
https://codereview.chromium.org/12466008 ...

Now trying patchset 7 as https://codereview.chromium.org/12533009/
Sign in to reply to this message.

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