aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer
Commit message (Collapse)AuthorAge
* pdfviewer: if the resources are missing, exit (right now inheritance is not ↵Gravatar edisonn@google.com2013-08-22
| | | | | | | | implemented) Review URL: https://codereview.chromium.org/23125015 git-svn-id: http://skia.googlecode.com/svn/trunk@10875 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: when q start, and an operator is called, it should not be able to ↵Gravatar edisonn@google.com2013-08-22
| | | | | | | | see operands before q. nest/unnest are similar with pop/push - simulates a stack of stacks, in a single stack Review URL: https://codereview.chromium.org/23033022 git-svn-id: http://skia.googlecode.com/svn/trunk@10873 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: add macros to automatically check number and type of parametersGravatar edisonn@google.com2013-08-22
| | | | | | Review URL: https://codereview.chromium.org/23038021 git-svn-id: http://skia.googlecode.com/svn/trunk@10872 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-08-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10871 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo ↵Gravatar edisonn@google.com2013-08-21
| | | | | | | | with foo_DEFINED to match skia project Review URL: https://codereview.chromium.org/23361009 git-svn-id: http://skia.googlecode.com/svn/trunk@10854 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-08-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10842 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r10830 (Split SkDevice out of SkRasterDevice) until we can get ↵Gravatar robertphillips@google.com2013-08-20
| | | | | | Chromium ready. git-svn-id: http://skia.googlecode.com/svn/trunk@10835 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: check in pdfapi classesGravatar edisonn@google.com2013-08-20
| | | | | | Review URL: https://codereview.chromium.org/22900010 git-svn-id: http://skia.googlecode.com/svn/trunk@10834 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split SkDevice out of SkBitmapDeviceGravatar robertphillips@google.com2013-08-20
| | | | | | | | https://codereview.chromium.org/22978012/ git-svn-id: http://skia.googlecode.com/svn/trunk@10830 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: remove one #include to STL, that is not neededGravatar edisonn@google.com2013-08-16
| | | | | | Review URL: https://codereview.chromium.org/23082004 git-svn-id: http://skia.googlecode.com/svn/trunk@10783 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: update interface of derived canvas and device, to reflect lastest ↵Gravatar edisonn@google.com2013-08-16
| | | | | | | | changes in the interfaces. Review URL: https://codereview.chromium.org/23048006 git-svn-id: http://skia.googlecode.com/svn/trunk@10780 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: code cleanup - remove STL usageGravatar edisonn@google.com2013-08-16
| | | | | | Review URL: https://codereview.chromium.org/23258004 git-svn-id: http://skia.googlecode.com/svn/trunk@10772 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: workaround gyp issue with multiple files, not being translated ↵Gravatar edisonn@google.com2013-08-14
| | | | | | | | into an array in linux (works in mac, as per spec) Review URL: https://codereview.chromium.org/23157003 git-svn-id: http://skia.googlecode.com/svn/trunk@10726 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: make pdfviewer compile on macGravatar edisonn@google.com2013-08-14
| | | | | | Review URL: https://codereview.chromium.org/23163007 git-svn-id: http://skia.googlecode.com/svn/trunk@10721 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: 1) debug code for drawText (show magenta background for text, to ↵Gravatar edisonn@google.com2013-08-14
| | | | | | | | show text even when we fail to load/show it), 2) some cleanup: refactor and rename classes and files Review URL: https://codereview.chromium.org/23020003 git-svn-id: http://skia.googlecode.com/svn/trunk@10716 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: remove text save/restore (not needed) and verify that colorspace ↵Gravatar edisonn@google.com2013-08-08
| | | | | | | | dictionary exists before using it Review URL: https://codereview.chromium.org/22436003 git-svn-id: http://skia.googlecode.com/svn/trunk@10639 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: add ability to run on gpuGravatar edisonn@google.com2013-08-08
| | | | | | Review URL: https://codereview.chromium.org/22684002 git-svn-id: http://skia.googlecode.com/svn/trunk@10638 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: remove save/restore used with q/Q operators (we already do there ↵Gravatar edisonn@google.com2013-08-08
| | | | | | | | save and restore) Review URL: https://codereview.chromium.org/22678003 git-svn-id: http://skia.googlecode.com/svn/trunk@10636 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: absolute minimal; to al least render (even if poorly) ICC based ↵Gravatar edisonn@google.com2013-08-07
| | | | | | | | color spaces, based on RGB Review URL: https://codereview.chromium.org/22624002 git-svn-id: http://skia.googlecode.com/svn/trunk@10630 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: fix font rotation issuesGravatar edisonn@google.com2013-08-07
| | | | | | Review URL: https://codereview.chromium.org/22407005 git-svn-id: http://skia.googlecode.com/svn/trunk@10617 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: /Pattern color space, uses the matrix of the last content stream, ↵Gravatar edisonn@google.com2013-08-07
| | | | | | | | not the global matrix. Review URL: https://codereview.chromium.org/22460004 git-svn-id: http://skia.googlecode.com/svn/trunk@10595 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: load image pain settings (like transparency), pass the page ↵Gravatar edisonn@google.com2013-08-06
| | | | | | | | number, report failure if at least one render fails, and check that xref section starts with xref keyword. Review URL: https://codereview.chromium.org/22465006 git-svn-id: http://skia.googlecode.com/svn/trunk@10588 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: remove debug tracesGravatar edisonn@google.com2013-08-05
| | | | | | Review URL: https://codereview.chromium.org/22284004 git-svn-id: http://skia.googlecode.com/svn/trunk@10551 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: debug code for crashGravatar edisonn@google.com2013-08-05
| | | | | | Review URL: https://codereview.chromium.org/22269002 git-svn-id: http://skia.googlecode.com/svn/trunk@10548 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: add virtual destructor for SkPdfFontGravatar edisonn@google.com2013-08-05
| | | | | | Review URL: https://codereview.chromium.org/22239002 git-svn-id: http://skia.googlecode.com/svn/trunk@10541 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: fix typoGravatar edisonn@google.com2013-08-05
| | | | | | Review URL: https://codereview.chromium.org/22076007 git-svn-id: http://skia.googlecode.com/svn/trunk@10540 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: set backdround to transparent, and add an app to chop transparent ↵Gravatar edisonn@google.com2013-08-05
| | | | | | | | content in png files. Review URL: https://codereview.chromium.org/21981008 git-svn-id: http://skia.googlecode.com/svn/trunk@10538 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: add indexed rbg image support, enhanche caching(setData) for ↵Gravatar edisonn@google.com2013-08-05
| | | | | | | | SkPdfObject Review URL: https://codereview.chromium.org/21738005 git-svn-id: http://skia.googlecode.com/svn/trunk@10534 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: implementation of one type of pattern - simple tile patern, ↵Gravatar edisonn@google.com2013-08-02
| | | | | | | | colored, with xstep and ystep positive. Review URL: https://codereview.chromium.org/21919003 git-svn-id: http://skia.googlecode.com/svn/trunk@10523 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: debug the parameters for snc, and for resolveReferenceGravatar edisonn@google.com2013-08-01
| | | | | | Review URL: https://codereview.chromium.org/21604003 git-svn-id: http://skia.googlecode.com/svn/trunk@10498 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: finish implementation of SkPdfObject.toString(), and include in ↵Gravatar edisonn@google.com2013-08-01
| | | | | | | | debugging traces we leave when rendering. Review URL: https://codereview.chromium.org/20628008 git-svn-id: http://skia.googlecode.com/svn/trunk@10494 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: remove simple implementation for non-isolated groups. will be ↵Gravatar edisonn@google.com2013-08-01
| | | | | | | | implemented in skia most probably. also it is not generated by SkPDFDevice Review URL: https://codereview.chromium.org/21537003 git-svn-id: http://skia.googlecode.com/svn/trunk@10479 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: transparency groups - implementation of non-isolated and ↵Gravatar edisonn@google.com2013-07-31
| | | | | | | | non-knockout flags Review URL: https://codereview.chromium.org/21288002 git-svn-id: http://skia.googlecode.com/svn/trunk@10467 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: more prerequired work to have examples working for transparency ↵Gravatar edisonn@google.com2013-07-30
| | | | | | | | work items. Review URL: https://codereview.chromium.org/21252003 git-svn-id: http://skia.googlecode.com/svn/trunk@10438 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: add doPage function, cet stream from ContentsGravatar edisonn@google.com2013-07-30
| | | | | | Review URL: https://codereview.chromium.org/21049009 git-svn-id: http://skia.googlecode.com/svn/trunk@10433 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: fix condition for element in array, reset back the default color ↵Gravatar edisonn@google.com2013-07-30
| | | | | | | | to white, and verify type before value in PDF API mapper Review URL: https://codereview.chromium.org/21017004 git-svn-id: http://skia.googlecode.com/svn/trunk@10427 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: load files with missing xref (we need in order to help with ↵Gravatar edisonn@google.com2013-07-29
| | | | | | | | testing, as most good pdfx in the whild miss the xref). add period as a valid character to start a real value. Review URL: https://codereview.chromium.org/21096006 git-svn-id: http://skia.googlecode.com/svn/trunk@10423 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: more plumming for soft masks, blend modes and transparency groupsGravatar edisonn@google.com2013-07-29
| | | | | | Review URL: https://codereview.chromium.org/21125002 git-svn-id: http://skia.googlecode.com/svn/trunk@10419 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: fix a few warningsGravatar edisonn@google.com2013-07-28
| | | | | | Review URL: https://codereview.chromium.org/20662003 git-svn-id: http://skia.googlecode.com/svn/trunk@10404 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: gs operator implementation: dashing and fontGravatar edisonn@google.com2013-07-28
| | | | | | Review URL: https://codereview.chromium.org/20810002 git-svn-id: http://skia.googlecode.com/svn/trunk@10403 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: limit the characters we support in ToUnicode, to 0xffffGravatar edisonn@google.com2013-07-25
| | | | | | Review URL: https://codereview.chromium.org/20538002 git-svn-id: http://skia.googlecode.com/svn/trunk@10377 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: set the default background to transparent (to match ↵Gravatar edisonn@google.com2013-07-25
| | | | | | | | render_picture default), and fix a bug a with corrupt diffs Review URL: https://codereview.chromium.org/20526002 git-svn-id: http://skia.googlecode.com/svn/trunk@10376 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: update drawBitmap, and fic a gyp issue: gyp does not run in a ↵Gravatar edisonn@google.com2013-07-25
| | | | | | | | consistent way on various palt forms, and it generates some files in ../../../foo instead of ../foo - Solution: use the (inconvenient) Shared intermediary directory that should work on all platforms. Review URL: https://codereview.chromium.org/20328002 git-svn-id: http://skia.googlecode.com/svn/trunk@10359 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10340 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: fix path shortcuts in python script, use os.path.join()Gravatar edisonn@google.com2013-07-24
| | | | | | Review URL: https://codereview.chromium.org/19623007 git-svn-id: http://skia.googlecode.com/svn/trunk@10334 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: sets module is deprecated. use setGravatar edisonn@google.com2013-07-24
| | | | | | Review URL: https://codereview.chromium.org/20101002 git-svn-id: http://skia.googlecode.com/svn/trunk@10332 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: explicitely use set, instead of dictionary, fails to compile in ↵Gravatar edisonn@google.com2013-07-24
| | | | | | | | some versions of python. Review URL: https://codereview.chromium.org/19804010 git-svn-id: http://skia.googlecode.com/svn/trunk@10320 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: remove dependency on picture_utils. add utility function to ↵Gravatar edisonn@google.com2013-07-24
| | | | | | | | render SkStream into bitmap. Review URL: https://codereview.chromium.org/20087003 git-svn-id: http://skia.googlecode.com/svn/trunk@10314 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting r10251 (Implement crop rect for SkImageFilter) due to ↵Gravatar robertphillips@google.com2013-07-24
| | | | | | Chromium-side unit test failures git-svn-id: http://skia.googlecode.com/svn/trunk@10304 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10299 2bbb7eff-a529-9590-31e7-b0007b416f81