[Pkg-javascript-commits] [pdf.js] branch upstream updated (1f1c741 -> e314a67)
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 06:47:03 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 1f1c741 Imported Upstream version 1.1.215+dfsg
new 3d729a2 Version 1.1.215
new 7dcd615 Merge pull request #6131 from yurydelendik/version1.1.215
new 99415a7 Update l10n files.
new bc865b9 Ensure that we fetch all indirect objects (i.e. |Ref|s) in ColorSpace_parseToIR
new d504cde Merge pull request #6134 from Snuffleupagus/ColorSpace-parseToIR-fetchIfRef
new 46a8485 Ignore paint form XObject when the name is missing (issue 4558)
new 18e1a14 Merge pull request #6138 from Snuffleupagus/issue-4558
new 38955d4 Further improvements of the getStats and getDownloadInfo unit tests
new 548e4b4 Merge pull request #6147 from Snuffleupagus/api-improved-unittests-getStats-getDownloadInfo
new 7b77408 Add a reduced test-case for issue 4909
new e9a6d44 Merge pull request #6146 from Snuffleupagus/issue-4909-test
new 5f50f8b Localization updates (June 29, 2015)
new 1b370da Merge pull request #6150 from timvandermeij/l10n-update
new ffeba9c Move the page switching code into `set currentPageNumber` in `PDFViewer` instead of placing it in the `pagechange` event handler
new 1da0b3a Merge pull request #6140 from Snuffleupagus/move-pagechange-into-PDFViewer
new 1b847df Using pdfjs-dist as a library for b2g viewer.
new f3c3b1f Removes B2G preprocessing directives.
new 0a744fb Merge pull request #5947 from yurydelendik/b2g-viewer
new 88b2059 Implement annotation border style class and constants
new 9ba4f74 Implement setBorderStyle for annotations
new 9550c00 Transform old implementation to new implementation of border styles
new 6007a57 Add tests and documentation for the annotation border style class
new 98339f6 Merge pull request #5585 from timvandermeij/annotation-layer-borderstyle
new a5cfb0a Update Adobe CMaps URL and license
new 9bb2908 Merge pull request #6155 from LilyBin/cmap
new aa3a64e Skip mapping of CIDFontType2 glyphs when the font either has a |IdentityToUnicodeMap| or a |toUnicodeMap| with 65536 elements (issue 5677)
new d8e2014 Merge pull request #6135 from Snuffleupagus/issue-5677-v2
new 2e63dcd Feature-test moz-chunked-arraybuffer before use
new 9ad6af4 Merge pull request #5531 from Rob--W/moz-chunked-only-moz
new 0787182 Adds more characters to the PUA range
new e3b3481 Merge pull request #6171 from yurydelendik/usepua
new 2932f7c Zoom relative to cursor position via mouse wheel
new 3ffed9d Merge pull request #6170 from Rob--W/zoom-at-cursor
new 60fc462 Add more reduced test-cases for PR 6171
new 93bc8ea Merge pull request #6173 from Snuffleupagus/pr-6171-tests
new 4367dd5 [CRX] Ignore PDFs from responses to POST requests
new 7a6a3f1 Merge pull request #6176 from Rob--W/crx-ignore-embed-6174
new 6b2810f Pass in a `PDFViewer` instance to `PDFPresentationMode` and use it to eliminate all references to `PDFViewerApplication`
new 56e3a66 Merge pull request #6177 from Snuffleupagus/pdfPresentationMode-pdfViewer
new 5aa1d9f Remove InteractiveAnnotation abstraction
new 9e08737 Merge pull request #6178 from timvandermeij/remove-interactive-annotation
new 0b53307 Bug 1179262 - Remove PlayPreview registration from PDF Viewer.
new 5aaf18d Merge pull request #6169 from yurydelendik/rm-playpreview
new 3a6eed6 Do not draw a border if neither a Border nor a BS entry is present
new e5b7258 Merge pull request #6180 from timvandermeij/border-regression
new f9dd731 fontLoadPromises -> fontsToLoad
new 8e59528 Merge pull request #6175 from Rob--W/font-loading-promises
new c7a5da3 Add --downloadOnly flag to test.js
new 31976b9 Merge pull request #6181 from Rob--W/test-downloadOnly
new 93a6592 [Firefox] Replace the CPOW with asynchronous messages for the Fallback bar
new eb2ad11 Merge pull request #5918 from Snuffleupagus/remove-fallback-cpow
new d0c071a Prevent re-rendering of pages because of rounding errors when computing the scale value
new ba38454 Merge pull request #5460 from Snuffleupagus/limit-internal-scale-values-precision
new 1c0115a Remove the `currentScaleValue` getter from `PDFViewerApplication` (issue 6158)
new ccfafea Merge pull request #6182 from Snuffleupagus/remove-PDFViewerApplication-get-currentScaleValue
new 35ee1e1 Refactor the 'resize' event handler in viewer.js (issue 6158)
new c9b6b69 Merge pull request #6192 from Snuffleupagus/viewer-resize-update-scale
new d047730 Add a supplemental glyph map for non-embedded ArialBlack fonts (issue 5801)
new 5af49f8 Merge pull request #6166 from Snuffleupagus/issue-5801-2
new 456ad43 Issue a warning instead of an error for long Names
new 6c1906f Merge pull request #6193 from Rob--W/long-name-is-warning-not-error
new 5cb1587 Remove `PDFViewerApplication.updateScaleControls` (issue 6158)
new d091263 Merge pull request #6195 from Snuffleupagus/viewer-remove-updateScaleControls
new fd29bb0 Subtract start offset for xrefs in recovery mode
new 7d4303b Merge pull request #6194 from Rob--W/recover-mode-start-offset
new ac3233b Use "private" properties in PDFViewer_scrollPageIntoView
new 4364b37 Simplify the SimpleLinkService and use it to pass in a linkService instance in DefaultAnnotationsLayerFactory
new d9975ea Move annotation related CSS rules from pdf_viewer.css to its own file
new 535b7c2 Merge pull request #6110 from Snuffleupagus/issue-6056
new e211c25 Improve robustness of stream parser (invalid length)
new dde3e4a Merge pull request #6197 from Rob--W/issue6108
new 2608757 Simplify the code that resets the value of the `pageNumber` element in `PDFViewerApplication.setInitialView`
new 9f5abd7 Merge pull request #6199 from Snuffleupagus/viewer-setInitialView-simpler-pageNumber-reset
new 5cce737 Use taskkill to stop the browser on Windows
new e498bbc Merge pull request #6198 from Rob--W/windows-taskkill
new 940bedf Add a unit-test that attempts to fetch a non-existent named destination
new 7df78f9 Slightly more efficient `getDestination`
new 1416a1b Merge pull request #6187 from Snuffleupagus/more-efficient-getDestination
new e5477c3 Simplify nextMissingChunk(), getEndChunk()
new 367794f Merge pull request #4990 from fkaelberer/refactor_chunked_stream
new 0c08113 Remove `PDFViewerApplication.setScale` and further simplify the `scalechange` event handler (issue 6158)
new 76d225d Merge pull request #6207 from Snuffleupagus/viewer-remove-setScale
new 28f40b1 Fetch all indirect objects (i.e. `Ref`s) in `NameTree_getAll` and `NameTree_get` (issue 6204)
new 2817f00 Merge pull request #6208 from Snuffleupagus/issue-6204
new a2e9845 Refactor annotation color handling and add unit tests
new cf6d40f Merge pull request #6214 from timvandermeij/annotation-color
new d940078 Make sure that the document is rendered on zooming and rotation for `PDFViewer` instances using the `defaultRenderingQueue`
new b35cbaa Merge pull request #6157 from Snuffleupagus/components-update-on-setScale-and-pagesRotation
new cbc715e Fixing find toolbar checkboxes not being accessible through keyboard navigation
new d5772fa Merge pull request #6221 from Thunderforge/{find-toolbar-checkbox-keyboard-accessibility}
new d68eb15 Update fonttools location and version (issue 6223)
new 6dfe19d Merge pull request #6226 from Snuffleupagus/fonttools
new c718d1a Ignore double negative in `Lexer_getNumber` (issue 6218)
new 4b6e272 Merge pull request #6220 from Snuffleupagus/issue-6218
new 465611a More cleanup regarding annotation border styles
new 7065c1b Merge pull request #6215 from timvandermeij/annotation-border-fixes
new ffbe669 [CRX] Respect download requests in main frame
new 91ab010 Merge pull request #6201 from Rob--W/crx-dont-force-no-download
new 62cf653 Tests: Resolve -b to full path in webbrowser.js
new b627a1a Add --testfilter (-t) flag to run a specific test
new dbd2ef0 Merge pull request #6196 from Rob--W/run-specific-test
new 8ba73cb Improve getWorkerSrcFiles (builder.js)
new 1d4e450 make.js: Less greedy comment stripping
new f8af4d6 Fix preprocessor: nesting, error & tests
new a58393f Merge pull request #6189 from Rob--W/improved-build-tools
new 995c5ba Simplify annotation data passing
new d3e90cf Merge pull request #6232 from timvandermeij/annotations-data-passing
new 93d82e2 Move handling of the 'custom' scale value from pdf_viewer.js to viewer.js
new c42613b Merge pull request #6235 from Snuffleupagus/move-custom-scale-handling
new 980aa10 Refactor annotation rectangle code and add unit tests
new 8623421 Merge pull request #6239 from timvandermeij/annotation-rectangle
new 299d05e Prevent documents from intermittently opening with the zoom level set to 1% (issue 6253)
new fa53cd6 Use `DEFAULT_SCALE_VALUE` as default when fetching the `zoom` parameter from `PDFViewerApplication.store` (i.e. `ViewHistory`)
new 2105346 Merge pull request #6254 from Snuffleupagus/issue-6253
new d5232f5 Ensure that the viewer always receives focus when the HOME/END keys are pressed (bug 1186842)
new 8275dff Reduce code duplication in the 'keydown' event handler in `viewer.js`, by re-factoring the code which ensures that the `viewerContainer` is focused
new d162dba Merge pull request #6256 from Snuffleupagus/bug-1186842
new 9c510bd Remove unused globals and updateViewarea function from viewer.js
new 45810e0 Merge pull request #6257 from timvandermeij/viewer-cleanup
new 94d9a27 Update l10n files
new 385e2e5 Check if the `Decode` entry is non-default when deciding if JPEG images are natively supported/decodable (issue 6238)
new 61f9052 Merge pull request #6240 from Snuffleupagus/issue-6238
new 47f2c14 Optimize text layer: Avoid unneeded .textContent
new 0c15f8a Merge pull request #6268 from Rob--W/text-layer-optimize-access
new c676ecb Detect scripted auto-print requests
new d08895d Merge pull request #6236 from Rob--W/print-javascript-action
new 4f920ad Refactor annotation code to use a factory
new e876dd8 Merge pull request #6273 from timvandermeij/annotation-factory
new 55bc98a Rename `PatternType` to `ShadingType` to avoid confusion
new 31456a5 Merge pull request #6285 from Snuffleupagus/rename-PatternType-to-ShadingType
new a9d0e42 Keep the Link annotation's data URL on one line
new 28130b9 Merge pull request #6281 from timvandermeij/data-url
new 7fe2442 Ensure that we don't use the same typed array for both `coords` and `colors` in Mesh `figures` (issue 6287)
new 1d65daf Correctly access `colorSpace.numComps` in `MeshStreamReader` (issue 6287)
new 72ecbec Merge pull request #6292 from Snuffleupagus/issue-6287
new 0a024b5 Adjust the heuristics used to detect OpenType font file with CFF data (bug 1186827, bug 1182130, issue 6264)
new 977397e Merge pull request #6270 from Snuffleupagus/opentype-cff-2
new c3c6d50 Improve robustness of builder (esp. on Windows)
new cc0805a Reduce verbosity of output in test/webbrowser.js
new a32d521 Merge pull request #6222 from Rob--W/botio-robustness
new c85fa00 fix handling of flags 1-3 in coons shading
new 1da7e89 Merge pull request #6304 from CodingFabian/fixup-6303
new c3b7ed4 Apply hover style to .overlayButton not only when hovered, but also when focused (issue #6261)
new 1f94d84 Merge pull request #6308 from dsprenkels/issue_6261
new 6d1e0f7 fix handling of flags 1-3 in tensor shading
new f1e35fc Merge pull request #6310 from THausherr/patch-1
new 297f760 Add a `PDFLinkService` instance to the "simpleviewer" component example
new 1f9466e Add a couple of CSS hacks in order for `scrollIntoView` to work in the "simpleviewer" component example
new 9f9b76a Merge pull request #6282 from Snuffleupagus/simpleviewer-linkService
new 14f1ea0 Test case for tensor shading PR 6310
new 9e9df56 Merge pull request #6315 from timvandermeij/shading-testcase
new e314a67 Imported Upstream version 1.1.366+dfsg
The 152 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:
.gitmodules | 2 +-
examples/components/simpleviewer.html | 6 +
examples/components/simpleviewer.js | 15 +-
extensions/b2g/viewer.css | 18 +-
extensions/b2g/viewer.html | 214 +---------
extensions/b2g/viewer.js | 349 ++++++++++++++++
extensions/chromium/contentscript.js | 13 +
extensions/chromium/pdfHandler.js | 12 +-
extensions/firefox/bootstrap.js | 9 +
extensions/firefox/content/PdfJs.jsm | 22 +-
extensions/firefox/content/PdfStreamConverter.jsm | 19 +-
extensions/firefox/content/PdfjsChromeUtils.jsm | 30 +-
extensions/firefox/content/PdfjsContentUtils.jsm | 4 +-
external/builder/builder.js | 158 +++++--
.../builder/fixtures/confusing-comment-expected.js | 4 +
external/builder/fixtures/confusing-comment.js | 6 +
external/builder/fixtures/elif-expected.js | 1 +
external/builder/fixtures/elif.js | 4 +
external/builder/fixtures/else-expected.js | 1 +
external/builder/fixtures/else.js | 3 +
external/builder/fixtures/error-expected.js | 1 +
external/builder/fixtures/error-false-expected.js | 2 +
external/builder/fixtures/error-false.js | 5 +
external/builder/fixtures/error.js | 5 +
external/builder/fixtures/expand-expected.html | 1 +
external/builder/fixtures/expand.html | 1 +
external/builder/fixtures/if-empty-expected.js | 1 +
external/builder/fixtures/if-empty.js | 6 +
.../fixtures/if-false-elif-false-else-expected.js | 2 +
.../builder/fixtures/if-false-elif-false-else.js | 8 +
.../fixtures/if-false-elif-true-else-expected.js | 2 +
.../builder/fixtures/if-false-elif-true-else.js | 8 +
.../builder/fixtures/if-false-else-expected.js | 2 +
external/builder/fixtures/if-false-else.js | 6 +
external/builder/fixtures/if-nested-expected.js | 6 +
external/builder/fixtures/if-nested.js | 19 +
external/builder/fixtures/if-true-else-expected.js | 2 +
external/builder/fixtures/if-true-else.js | 6 +
external/builder/fixtures/if-unclosed-expected.js | 1 +
external/builder/fixtures/if-unclosed.js | 3 +
external/builder/fixtures/include-expected.html | 5 +
.../fixtures/include-non-existent-expected.html | 1 +
.../builder/fixtures/include-non-existent.html | 2 +
external/builder/fixtures/include.html | 5 +
external/builder/fixtures/js-comment-expected.js | 4 +
external/builder/fixtures/js-comment.js | 6 +
.../builder/fixtures/undefined-define-expected.js | 2 +
external/builder/fixtures/undefined-define.js | 6 +
.../builder/fixtures/unsupported-ifdef-expected.js | 1 +
external/builder/fixtures/unsupported-ifdef.js | 5 +
external/builder/test.js | 54 +++
l10n/ach/viewer.properties | 2 +-
l10n/bn-BD/chrome.properties | 1 +
l10n/bn-BD/viewer.properties | 5 +
l10n/bs/chrome.properties | 17 +-
l10n/bs/viewer.properties | 70 +++-
l10n/el/chrome.properties | 18 +-
l10n/el/viewer.properties | 150 ++++---
l10n/eo/viewer.properties | 6 +-
l10n/es-ES/viewer.properties | 4 +-
l10n/fa/viewer.properties | 2 +-
l10n/mr/viewer.properties | 2 +
l10n/pt-BR/viewer.properties | 2 +-
l10n/pt-PT/viewer.properties | 18 +-
l10n/ro/viewer.properties | 2 +-
l10n/sl/viewer.properties | 4 +-
l10n/sq/viewer.properties | 10 +-
l10n/th/viewer.properties | 4 +-
l10n/tn/viewer.properties | 3 +
l10n/vi/chrome.properties | 1 +
l10n/vi/viewer.properties | 56 ++-
make.js | 73 ++--
package.json | 1 +
pdfjs.config | 6 +-
src/core/annotation.js | 455 ++++++++++++++-------
src/core/chunked_stream.js | 26 +-
src/core/colorspace.js | 8 +-
src/core/core.js | 18 +-
src/core/evaluator.js | 4 +
src/core/fonts.js | 89 ++--
src/core/murmurhash3.js | 2 +-
src/core/network.js | 50 ++-
src/core/obj.js | 82 ++--
src/core/parser.js | 27 +-
src/core/pattern.js | 124 +++---
src/core/stream.js | 7 +-
src/display/annotation_helper.js | 88 +++-
src/display/api.js | 9 +-
src/display/font_loader.js | 11 +-
src/shared/util.js | 12 +-
test/driver.js | 11 +-
test/pdfs/.gitignore | 16 +
test/pdfs/annotation-border-styles.pdf | Bin 0 -> 89833 bytes
test/pdfs/bug1001080.pdf | Bin 0 -> 12423 bytes
test/pdfs/bug1151216.pdf | Bin 0 -> 17254 bytes
test/pdfs/bug1175962.pdf | Bin 0 -> 20894 bytes
test/pdfs/bug1186827.pdf | Bin 0 -> 45013 bytes
test/pdfs/coons-allflags-withfunction.pdf | Bin 0 -> 3285 bytes
test/pdfs/issue215.pdf | Bin 0 -> 82195 bytes
test/pdfs/issue2948.pdf | Bin 0 -> 23038 bytes
test/pdfs/issue4909.pdf | Bin 0 -> 12688 bytes
test/pdfs/issue5540.pdf | Bin 0 -> 17459 bytes
test/pdfs/issue5677.pdf | Bin 0 -> 194851 bytes
test/pdfs/issue6069.pdf | 28 ++
test/pdfs/issue6106.pdf | 70 ++++
test/pdfs/issue6108.pdf | 28 ++
test/pdfs/issue6231_1.pdf | Bin 0 -> 23748 bytes
test/pdfs/issue6238.pdf.link | 1 +
test/pdfs/tensor-allflags-withfunction.pdf | Bin 0 -> 3381 bytes
test/test.js | 47 ++-
test/test_manifest.json | 102 +++++
test/testutils.js | 14 +-
test/unit/annotation_layer_spec.js | 156 +++++++
test/unit/api_spec.js | 58 ++-
test/unit/evaluator_spec.js | 11 +
test/unit/parser_spec.js | 7 +
test/unit/unit_test.html | 1 +
test/webbrowser.js | 150 +++++--
web/annotations_layer_builder.css | 64 +++
web/annotations_layer_builder.js | 5 +-
web/default_preferences.js | 5 -
web/pdf_presentation_mode.js | 25 +-
web/pdf_viewer.component.js | 3 +-
web/pdf_viewer.css | 52 +--
web/pdf_viewer.js | 77 ++--
web/preferences.js | 20 +-
web/text_layer_builder.js | 2 +-
web/ui_utils.js | 3 +-
web/view_history.js | 13 +-
web/viewer.css | 1 +
web/viewer.html | 15 +-
web/viewer.js | 216 ++++------
132 files changed, 2592 insertions(+), 1146 deletions(-)
create mode 100644 extensions/b2g/viewer.js
create mode 100644 external/builder/fixtures/confusing-comment-expected.js
create mode 100644 external/builder/fixtures/confusing-comment.js
create mode 100644 external/builder/fixtures/elif-expected.js
create mode 100644 external/builder/fixtures/elif.js
create mode 100644 external/builder/fixtures/else-expected.js
create mode 100644 external/builder/fixtures/else.js
create mode 100644 external/builder/fixtures/error-expected.js
create mode 100644 external/builder/fixtures/error-false-expected.js
create mode 100644 external/builder/fixtures/error-false.js
create mode 100644 external/builder/fixtures/error.js
create mode 100644 external/builder/fixtures/expand-expected.html
create mode 100644 external/builder/fixtures/expand.html
create mode 100644 external/builder/fixtures/if-empty-expected.js
create mode 100644 external/builder/fixtures/if-empty.js
create mode 100644 external/builder/fixtures/if-false-elif-false-else-expected.js
create mode 100644 external/builder/fixtures/if-false-elif-false-else.js
create mode 100644 external/builder/fixtures/if-false-elif-true-else-expected.js
create mode 100644 external/builder/fixtures/if-false-elif-true-else.js
create mode 100644 external/builder/fixtures/if-false-else-expected.js
create mode 100644 external/builder/fixtures/if-false-else.js
create mode 100644 external/builder/fixtures/if-nested-expected.js
create mode 100644 external/builder/fixtures/if-nested.js
create mode 100644 external/builder/fixtures/if-true-else-expected.js
create mode 100644 external/builder/fixtures/if-true-else.js
create mode 100644 external/builder/fixtures/if-unclosed-expected.js
create mode 100644 external/builder/fixtures/if-unclosed.js
create mode 100644 external/builder/fixtures/include-expected.html
create mode 100644 external/builder/fixtures/include-non-existent-expected.html
create mode 100644 external/builder/fixtures/include-non-existent.html
create mode 100644 external/builder/fixtures/include.html
create mode 100644 external/builder/fixtures/js-comment-expected.js
create mode 100644 external/builder/fixtures/js-comment.js
create mode 100644 external/builder/fixtures/undefined-define-expected.js
create mode 100644 external/builder/fixtures/undefined-define.js
create mode 100644 external/builder/fixtures/unsupported-ifdef-expected.js
create mode 100644 external/builder/fixtures/unsupported-ifdef.js
create mode 100644 external/builder/test.js
create mode 100644 test/pdfs/annotation-border-styles.pdf
create mode 100644 test/pdfs/bug1001080.pdf
create mode 100644 test/pdfs/bug1151216.pdf
create mode 100644 test/pdfs/bug1175962.pdf
create mode 100644 test/pdfs/bug1186827.pdf
create mode 100644 test/pdfs/coons-allflags-withfunction.pdf
create mode 100644 test/pdfs/issue215.pdf
create mode 100644 test/pdfs/issue2948.pdf
create mode 100644 test/pdfs/issue4909.pdf
create mode 100644 test/pdfs/issue5540.pdf
create mode 100644 test/pdfs/issue5677.pdf
create mode 100644 test/pdfs/issue6069.pdf
create mode 100644 test/pdfs/issue6106.pdf
create mode 100644 test/pdfs/issue6108.pdf
create mode 100644 test/pdfs/issue6231_1.pdf
create mode 100644 test/pdfs/issue6238.pdf.link
create mode 100644 test/pdfs/tensor-allflags-withfunction.pdf
create mode 100644 test/unit/annotation_layer_spec.js
create mode 100644 web/annotations_layer_builder.css
--
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