[Pkg-javascript-commits] [pdf.js] branch upstream updated (e314a67 -> 3e9a04c)

David Prévot taffit at moszumanska.debian.org
Fri Sep 25 03:04:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a change to branch upstream
in repository pdf.js.

      from  e314a67   Imported Upstream version 1.1.366+dfsg
       new  4f3f983   Removes PdfRedirector.js and PlayPreview support.
       new  5c1122c   Merge pull request #6321 from yurydelendik/remove-pdfredirector
       new  0d16b44   Version 1.1.366
       new  47aec95   Merge pull request #6325 from yurydelendik/version1.1.366
       new  5c26e5e   Move handling of the 'pagemode' hash parameter into `viewer.js` to restore the functionality
       new  76cfd10   Fix 'namedaction' regression that breaks the 'Find' action
       new  de979f1   Merge pull request #6314 from Snuffleupagus/pagemode-regression
       new  f063c78   Prevent switching to disabled views (i.e. outline or attachments) in the sidebar
       new  26b9205   Merge pull request #6327 from Snuffleupagus/viewer-sidebar-prevent-switching-to-disabled-views
       new  b0a8c0f   cmaps: Use cmap.forEach instead of Array.forEach
       new  00b798d   Merge pull request #6329 from Rob--W/cmap-sparse
       new  ee5ce4b   Fix typo in `drawFigures`, in webgl.js, which causes shadingPatterns with `figure.type === triangles` to render incorrectly
       new  8bc8eb1   Merge pull request #6354 from Snuffleupagus/webgl-shadingPattern-drawFigures-triangles-typo
       new  20b46aa   Fixes supportsMozChunked for node.js
       new  88bf193   Merge pull request #6349 from yurydelendik/node-mozchunk
       new  2d6b15d   [CRX] Do not load local files in non-local frames
       new  775d4e6   Teach users how to enable access to local files.
       new  cf1d398   Add translations of "Allow access to file URLs"
       new  4ac8863   Restore extension tab after reload
       new  32e7a8a   Don't reload after updating if a tab is in use
       new  421289c   Merge pull request #6233 from Rob--W/crx-local-files
       new  3fa5f6c   Only take the fast-path in `PDFImage_createImageData` for un-masked JPEG images with "standard" colour spaces (issue 6364)
       new  2597e3f   Add a linked test-case for issue 4890
       new  f9c2783   Merge pull request #6366 from Snuffleupagus/issue-6364
       new  341c5e9   [PATCH] Add fallback for font loading when eval disabled
       new  c56dc9a   Merge pull request #6141 from skalnik/fix-font-csp-issues
       new  1e3078d   Serialize errors before invoking postMessage
       new  ede5235   Merge pull request #6332 from Rob--W/postMessage-error
       new  78dbf56   Update l10n files
       new  0cd4cc4   api/getDocument : handle ArrayBuffer check for PDF binary data (byteLength)
       new  b11bc72   Merge pull request #6370 from castevinz/fix-getdocument-pdfBytes-check
       new  5128603   Also check `maybeLength` when deciding if a stream is empty in `Parser_makeFilter` (issue 6360)
       new  23cb01c   Merge pull request #6372 from Snuffleupagus/issue-6360
       new  56a43a3   Make `XRef_indexObjects` more robust against bad PDF files (issue 5752)
       new  5dcd409   Merge pull request #6375 from Snuffleupagus/more-robust-XRef_indexObjects
       new  99d2948   Adjust which TrueType (3, 1) glyphs we attempt to skip mapping of (issue 6336)
       new  88e0326   Merge pull request #6337 from Snuffleupagus/issue-6336
       new  a6d10af   Add `disableStream` to the list of preferences read by `PDFViewerApplication.initialize` (issue 6361)
       new  b2ad0ba   Merge pull request #6362 from Snuffleupagus/issue-6361
       new  d1411fa   Add locatization notes for the DocumentProperties strings with parameters
       new  63ed681   Merge pull request #6369 from Snuffleupagus/localization-notes-document-properties
       new  8c3b823   Don't catch `MissingDataException` in `Parser_tryShift`
       new  582573b   Merge pull request #6358 from Snuffleupagus/Parser_tryShift-missingDataException
       new  7c99224   Allow outline to be collapsed / shown via icon.
       new  70fd360   Merge pull request #6242 from Rob--W/outline-collapsible
       new  b1950d3   Use the Retina assets for `outlineItemToggler` when in HiDPI mode
       new  50b15b8   Merge pull request #6388 from Snuffleupagus/outlineItemToggler-use-retina-assets
       new  2df1b7b   Switch `expanded/collapsed` in the names of the `treeitem-*` assets
       new  c6ba5ea   Merge pull request #6390 from Snuffleupagus/rename-treeitem-assets
       new  593ea00   Fix typo in `test_manifest.json` that prevents test-case `issue1419.pdf` from running
       new  b3c00f2   Merge pull request #6395 from Snuffleupagus/issue-1419-enable-test
       new  0dde085   Add a unit-test for skipping `paintXObject` if `Subtype === PS` (PR 4861)
       new  f518bbc   Merge pull request #6401 from Snuffleupagus/paintXObject-subtype-PS-unit-test
       new  f814fdc   Add a warning when we encounter an empty stream in `Parser_makeFilter`
       new  b42b894   Merge pull request #6386 from Snuffleupagus/Parser_makeFilter-warn-on-empty-stream
       new  0edb520   Add unit-tests for Linearization dictionary parsing (PR 5023 follow-up)
       new  943efea   Merge pull request #6404 from Snuffleupagus/linearization-unit-tests
       new  ba9fcce   Add a reduced test-case for issue 6113
       new  61459c7   Merge pull request #6403 from Snuffleupagus/issue-6113-test
       new  3ae49e1   Slightly improved test coverage for vertical text
       new  678b662   Merge pull request #6399 from Snuffleupagus/vertical-text-taro
       new  de83de0   Set TZ=UTC before calls to zip
       new  8f1b065   Merge pull request #6402 from DavidPrevot/reproducible
       new  09b825d   Add a (linked) `load` test for PR 4731
       new  8a27b8d   Merge pull request #6405 from Snuffleupagus/pr-4731-load-test
       new  b1cf4d9   Avoid more allocations for RTL text in bidi.js
       new  0020f33   Merge pull request #6357 from Snuffleupagus/bidi-result
       new  e16fc48   Add (linked) ´load` tests for PR 1976 and 4606
       new  52dc7f3   Merge pull request #6417 from Snuffleupagus/XRef-linked-load-tests
       new  cfd5a64   Ensure that the clipping path is reset when the state is restored (issue 6413)
       new  b4ade44   Add a reduced test-case for issue 6413
       new  2a0e078   Merge pull request #6414 from Snuffleupagus/issue-6413
       new  0fb31a4   Fallback in `readCmapTable`, instead of using `error`, for TrueType fonts with unsupported cmap formats (bug 1200096)
       new  238e16f   Merge pull request #6407 from Snuffleupagus/bug-1200096
       new  da1b9df   Adjust the `min-width` of outline items and use more consistent `border-radius` (PR 6242 follow-up)
       new  1936851   Merge pull request #6421 from Snuffleupagus/outline-CSS-tweaks
       new  9f80060   Add mirrored triangle (TOC item icon)
       new  3daae40   Merge pull request #6423 from Rob--W/issue-6422-toc-triangles
       new  29a1cdb   Only choose a (3, 1) cmap table for TrueType fonts that have an encoding specified (issue 6410)
       new  ded4f31   Merge pull request #6425 from Snuffleupagus/issue-6410
       new  b7d1bed   Add a utility function, for the viewer, that removes `null` (\x00) characters (issue 6416)
       new  f1652cb   Merge pull request #6431 from Snuffleupagus/issue-6416
       new  c5c8b23   Add unit-tests for `stringToPDFString`
       new  767bad8   Merge pull request #6433 from Snuffleupagus/stringToPDFString-unit-tests
       new  de6a74f   Add a reduced test-case for PR 4922
       new  b360fd1   Merge pull request #6420 from Snuffleupagus/pr-4922-test
       new  5853553   Make `get fingerprint` slightly more robust against corrupt PDF files
       new  12b0b97   Merge pull request #6427 from Snuffleupagus/slightly-more-robust-get-fingerprint
       new  161def7   Convert canvas thumbnails to PNG #6299
       new  dffb2ef   Merge pull request #6299 from zinking/6035_png_thumb_nail
       new  ebce928   Extract the conversion from `canvas` to `image` into a helper function in `PDFThumbnailView`
       new  555c792   Prevent `setImage` from failing to display small thumbnails, by adding a missing `canvas` to `image` conversion
       new  d7a90d8   Delete, and clear, the `image` in `PDFThumbnailView_reset`
       new  0976840   Merge pull request #6441 from Snuffleupagus/pr-6299-follow-up
       new  1b50932   Don't show thumbnails until the `canvas` to `image` conversion is done (issue 6442)
       new  11a0e1c   Merge pull request #6443 from Snuffleupagus/issue-6442
       new  fef46a2   Update l10n files
       new  297984e   Add unit-tests for `removeNullCharacters` (PR 6431 follow-up)
       new  abf9a76   Merge pull request #6447 from Snuffleupagus/issue-6416-unit-test
       new  c043a6e   Replace the unavailable linked test-case for issue 3205 with a reduced test-case
       new  e68a5c0   Merge pull request #6435 from Snuffleupagus/issue-3205-reduced-test
       new  2564827   Fix text spacing with vertical fonts (#6387)
       new  f06aa6a   Merge pull request #6391 from CodingFabian/fix-vertical-kernings-6387
       new  3e9a04c   Imported Upstream version 1.1.469+dfsg

The 104 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 extensions/chromium/extension-router.js            |  22 +++
 extensions/chromium/pdfHandler.html                |   1 +
 extensions/chromium/pdfHandler.js                  |  48 ++++++
 .../chromium/{pdfHandler.html => restoretab.html}  |  11 +-
 extensions/chromium/restoretab.js                  |  33 ++++
 extensions/chromium/suppress-update.js             |  29 ++++
 extensions/firefox/bootstrap.js                    |  24 +--
 extensions/firefox/content/PdfJs.jsm               |   2 +-
 extensions/firefox/content/PdfRedirector.jsm       | 137 ----------------
 l10n/ak/viewer.properties                          |   2 +
 l10n/as/viewer.properties                          |   2 +
 l10n/bg/viewer.properties                          |   2 +-
 l10n/bn-BD/viewer.properties                       |  23 +++
 l10n/cy/chrome.properties                          |   2 +-
 l10n/el/chrome.properties                          |   2 +-
 l10n/el/viewer.properties                          |  74 ++++-----
 l10n/en-US/viewer.properties                       |   6 +
 l10n/en-ZA/viewer.properties                       |   2 +
 l10n/he/chrome.properties                          |   3 +-
 l10n/he/viewer.properties                          |  23 ++-
 l10n/hi-IN/viewer.properties                       |   1 +
 l10n/hy-AM/viewer.properties                       |   2 +-
 l10n/ka/chrome.properties                          |   3 -
 l10n/ka/viewer.properties                          |  78 ++--------
 l10n/ko/chrome.properties                          |   2 +-
 l10n/ko/viewer.properties                          |   8 +-
 l10n/ku/viewer.properties                          |   2 +
 l10n/lg/viewer.properties                          |   2 +
 l10n/mai/chrome.properties                         |   1 -
 l10n/mai/viewer.properties                         |   4 +-
 l10n/mn/viewer.properties                          |  10 +-
 l10n/nn-NO/viewer.properties                       |   2 +-
 l10n/nso/viewer.properties                         |  28 ++--
 l10n/or/viewer.properties                          |   2 +
 l10n/pt-BR/viewer.properties                       |   2 +-
 l10n/pt-PT/viewer.properties                       |   2 +-
 l10n/ro/chrome.properties                          |   2 +-
 l10n/ro/viewer.properties                          |  10 +-
 l10n/sah/viewer.properties                         |   2 +
 l10n/ta-LK/viewer.properties                       |   2 +
 l10n/tl/viewer.properties                          |  13 +-
 l10n/vi/viewer.properties                          |   2 +-
 l10n/xh/viewer.properties                          |   2 +-
 l10n/zu/viewer.properties                          |  26 ++--
 make.js                                            |   6 +-
 pdfjs.config                                       |   4 +-
 src/core/bidi.js                                   |   7 +-
 src/core/core.js                                   |   9 +-
 src/core/evaluator.js                              |  38 +++--
 src/core/font_renderer.js                          |  60 ++++---
 src/core/fonts.js                                  |  29 ++--
 src/core/image.js                                  |   5 +-
 src/core/network.js                                |   7 +-
 src/core/obj.js                                    |  17 +-
 src/core/parser.js                                 |   6 +-
 src/display/api.js                                 |  10 ++
 src/display/canvas.js                              |  11 +-
 src/display/font_loader.js                         |  49 +++++-
 src/display/webgl.js                               |   2 +-
 src/shared/util.js                                 |   4 +
 test/pdfs/.gitignore                               |   8 +
 test/pdfs/bug1200096.pdf                           | Bin 0 -> 117519 bytes
 test/pdfs/issue1940.pdf.link                       |   1 +
 test/pdfs/issue3205.pdf.link                       |   2 -
 test/pdfs/issue3205r.pdf                           | Bin 0 -> 126273 bytes
 test/pdfs/issue4890.pdf.link                       |   1 +
 test/pdfs/issue5752.pdf.link                       |   1 +
 test/pdfs/issue6113.pdf                            | Bin 0 -> 5248 bytes
 test/pdfs/issue6336.pdf                            | Bin 0 -> 10224 bytes
 test/pdfs/issue6360.pdf.link                       |   1 +
 test/pdfs/issue6364.pdf.link                       |   1 +
 test/pdfs/issue6387.pdf                            | Bin 0 -> 66117 bytes
 test/pdfs/issue6410.pdf                            | Bin 0 -> 211633 bytes
 test/pdfs/issue6413.pdf                            | Bin 0 -> 3385 bytes
 test/pdfs/pr4606.pdf.link                          |   1 +
 test/pdfs/pr4731.pdf.link                          |   1 +
 test/pdfs/pr4922.pdf                               | Bin 0 -> 63472 bytes
 test/test_manifest.json                            | 134 +++++++++++++++-
 test/unit/evaluator_spec.js                        |  24 ++-
 test/unit/parser_spec.js                           | 173 ++++++++++++++++++++-
 test/unit/ui_utils_spec.js                         |  13 +-
 test/unit/util_spec.js                             |  24 ++-
 web/chrome-i18n-allow-access-to-file-urls.json     |  54 +++++++
 web/chromecom.js                                   | 117 +++++++++++++-
 web/images/treeitem-collapsed-rtl.png              | Bin 0 -> 183 bytes
 web/images/treeitem-collapsed-rtl at 2x.png           | Bin 0 -> 205 bytes
 web/images/treeitem-collapsed.png                  | Bin 0 -> 128 bytes
 web/images/treeitem-collapsed at 2x.png               | Bin 0 -> 149 bytes
 web/images/treeitem-expanded.png                   | Bin 0 -> 125 bytes
 web/images/treeitem-expanded at 2x.png                | Bin 0 -> 172 bytes
 web/pdf_attachment_view.js                         |   4 +-
 web/pdf_link_service.js                            |  12 +-
 web/pdf_outline_view.js                            |  62 +++++++-
 web/pdf_thumbnail_view.js                          |  48 +++++-
 web/ui_utils.js                                    |   6 +
 web/viewer-snippet-chrome-overlays.html            |  26 ++++
 web/viewer.css                                     |  68 +++++++-
 web/viewer.html                                    |   3 +
 web/viewer.js                                      |  58 +++++--
 99 files changed, 1296 insertions(+), 467 deletions(-)
 copy extensions/chromium/{pdfHandler.html => restoretab.html} (58%)
 create mode 100644 extensions/chromium/restoretab.js
 create mode 100644 extensions/chromium/suppress-update.js
 delete mode 100644 extensions/firefox/content/PdfRedirector.jsm
 create mode 100644 test/pdfs/bug1200096.pdf
 create mode 100644 test/pdfs/issue1940.pdf.link
 delete mode 100644 test/pdfs/issue3205.pdf.link
 create mode 100644 test/pdfs/issue3205r.pdf
 create mode 100644 test/pdfs/issue4890.pdf.link
 create mode 100644 test/pdfs/issue5752.pdf.link
 create mode 100644 test/pdfs/issue6113.pdf
 create mode 100644 test/pdfs/issue6336.pdf
 create mode 100644 test/pdfs/issue6360.pdf.link
 create mode 100644 test/pdfs/issue6364.pdf.link
 create mode 100644 test/pdfs/issue6387.pdf
 create mode 100644 test/pdfs/issue6410.pdf
 create mode 100644 test/pdfs/issue6413.pdf
 create mode 100644 test/pdfs/pr4606.pdf.link
 create mode 100644 test/pdfs/pr4731.pdf.link
 create mode 100644 test/pdfs/pr4922.pdf
 create mode 100644 web/chrome-i18n-allow-access-to-file-urls.json
 create mode 100644 web/images/treeitem-collapsed-rtl.png
 create mode 100644 web/images/treeitem-collapsed-rtl at 2x.png
 create mode 100644 web/images/treeitem-collapsed.png
 create mode 100644 web/images/treeitem-collapsed at 2x.png
 create mode 100644 web/images/treeitem-expanded.png
 create mode 100644 web/images/treeitem-expanded at 2x.png
 create mode 100644 web/viewer-snippet-chrome-overlays.html

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list