aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/pdfviewer.gyp
Commit message (Collapse)AuthorAge
* Remove the comments settings for vim tab width and expansion variables.Gravatar commit-bot@chromium.org2013-12-02
| | | | | | | | | | | | | | | | | | These add unnecessary bloat for everyone to carry around, so we just remove them now. The same change was made in chromium by Tony in http://codereview.chromium.org/7310019 - crrev.com/92046 BUG=None TEST=./gyp_skia R=mtklein@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/92673003 git-svn-id: http://skia.googlecode.com/svn/trunk@12443 2bbb7eff-a529-9590-31e7-b0007b416f81
* Pdfviewer refactoring.Gravatar scroggo@google.com2013-11-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly superficial changes, to help me make sure I understand the code while making modifications. SkPdfRenderer: First class I'm modifying. Move it into include/ and src/ directories. Inherit from SkNoncopyable. Replace load() with factory function which returns NULL if the load fails. Remove unload() and loaded(), which no longer make sense, since the factory will return NULL on a failure to load, and unload() happens on destruction. Use a const char* for loading a PDF, following the convention of SkStream::NewFromFile. Remove unnecessary call to sqrt in SkPDFNativeRenderToBitmap. Also in SkPDFNativeRenderToBitmap, use an appropriate SkScalar macro to convert to an integer. Use this-> when calling member functions. pdf_viewer_main.cpp: Call the new interface for SkPdfRenderer. gyp files: Refer to the new location of SkPdfRenderer. R=edisonn@google.com Review URL: https://codereview.chromium.org/59493011 git-svn-id: http://skia.googlecode.com/svn/trunk@12296 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: (cleanup) put the gyp for library code in a separate fileGravatar edisonn@google.com2013-08-16
| | | | | | Review URL: https://codereview.chromium.org/23038004 git-svn-id: http://skia.googlecode.com/svn/trunk@10779 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: 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: 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: 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: 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
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10385 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
* pdfviewer: path for outputs are relative to some other folder, make them ↵Gravatar edisonn@google.com2013-07-24
| | | | | | | | absolute. Review URL: https://codereview.chromium.org/19808012 git-svn-id: http://skia.googlecode.com/svn/trunk@10318 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
* pdfviewer: All NulCanvas (does not draw operations), TrackDevice (trackes ↵Gravatar edisonn@google.com2013-07-22
| | | | | | | | what pixels have been changed) Review URL: https://codereview.chromium.org/19793006 git-svn-id: http://skia.googlecode.com/svn/trunk@10236 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: measure mem usage, command line flags library.Gravatar edisonn@google.com2013-07-11
| | | | | | Review URL: https://codereview.chromium.org/18562010 git-svn-id: http://skia.googlecode.com/svn/trunk@9996 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdf viewer: refactor, add -w parameter to pdfviewer, add -n to remove ↵Gravatar edisonn@google.com2013-07-10
| | | | | | | | extenassion page when there is a single page (so skdiff can be run easily) and fix a bug (SkPdfobject should not reset on destruct) Review URL: https://codereview.chromium.org/18435007 git-svn-id: http://skia.googlecode.com/svn/trunk@9983 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdf viewer: fix a few warnings, and enable warning as errorsGravatar edisonn@google.com2013-07-10
| | | | | | Review URL: https://codereview.chromium.org/18293012 git-svn-id: http://skia.googlecode.com/svn/trunk@9966 2bbb7eff-a529-9590-31e7-b0007b416f81
* Native PDF parser implementation - don't try it on pdfs that are not ↵Gravatar edisonn@google.com2013-07-10
| | | | | | | | generated by skia, Crome Print Preview or Chrome Save As Pdf - it will crash as mising xref, pdfs with updates, and other features are not supported yer. Review URL: https://codereview.chromium.org/18323019 git-svn-id: http://skia.googlecode.com/svn/trunk@9962 2bbb7eff-a529-9590-31e7-b0007b416f81
* isolate podofo to prepare for native parser, autogenerate PDF API during buildGravatar edisonn@google.com2013-07-02
| | | | | | Review URL: https://codereview.chromium.org/18042005 git-svn-id: http://skia.googlecode.com/svn/trunk@9879 2bbb7eff-a529-9590-31e7-b0007b416f81
* refactor folders to make prepare for native pdf parserGravatar edisonn@google.com2013-06-28
| | | | | | Review URL: https://codereview.chromium.org/18179007 git-svn-id: http://skia.googlecode.com/svn/trunk@9825 2bbb7eff-a529-9590-31e7-b0007b416f81
* refactoring for pdf viewer libGravatar edisonn@google.com2013-06-26
| | | | | | Review URL: https://codereview.chromium.org/17856004 git-svn-id: http://skia.googlecode.com/svn/trunk@9773 2bbb7eff-a529-9590-31e7-b0007b416f81
* Basic support for Type3 Fonts in Pdf + various refactoringsGravatar edisonn@google.com2013-06-25
| | | | | | Review URL: https://codereview.chromium.org/17748002 git-svn-id: http://skia.googlecode.com/svn/trunk@9757 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-06-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9501 2bbb7eff-a529-9590-31e7-b0007b416f81
* simple podofo and skia based pdf viewerGravatar edisonn@google.com2013-06-10
Review URL: https://codereview.chromium.org/16295031 git-svn-id: http://skia.googlecode.com/svn/trunk@9494 2bbb7eff-a529-9590-31e7-b0007b416f81