Commit Graph

  • 37c88bfaed
    Bump versions in pdfjs.config Tim van der Meij 2021-04-05 15:56:18 +02:00
  • 228adbf673
    Merge pull request #13172 from Snuffleupagus/cleanup-keepFonts v2.8.335 Tim van der Meij 2021-04-05 14:21:34 +02:00
  • 11f2eab4b8
    Merge pull request #13179 from Snuffleupagus/more-Set Tim van der Meij 2021-04-05 14:06:53 +02:00
  • 3698bc1287
    Merge pull request #13175 from Snuffleupagus/app-close-save Tim van der Meij 2021-04-05 14:03:18 +02:00
  • 3f90565272
    Merge pull request #13177 from Snuffleupagus/update-packages Tim van der Meij 2021-04-05 13:31:30 +02:00
  • 16fd838f52 Convert the renderTasks, used in PDFPageProxy.render/PDFPageProxy.getOperatorList, to a Set Jonas Jenwald 2021-04-01 18:21:10 +02:00
  • 68d3a333ac Change the seenStyles object, in PartialEvaluator.getTextContent, to a Set Jonas Jenwald 2021-04-01 18:08:20 +02:00
  • 3d9f6ec0f9 Update l10n files Jonas Jenwald 2021-04-04 11:04:05 +02:00
  • f4727f0fec Update npm packages Jonas Jenwald 2021-04-04 10:53:29 +02:00
  • 3f59d4201a [GENERIC viewer] Avoid data loss in forms, by triggering saving when the document is closed (issue 12257) Jonas Jenwald 2021-04-03 15:36:34 +02:00
  • 5b28a0bf97 Re-factor the download/save-methods, on PDFViewerApplication, to make full use of async/await Jonas Jenwald 2021-04-03 15:33:14 +02:00
  • 5cf116a958
    Merge pull request #13169 from Snuffleupagus/DefaultAppearanceEvaluator-fontName Tim van der Meij 2021-04-02 20:43:22 +02:00
  • 232fbd28e1 Re-factor the PDFDocumentProxy.cleanup unit-tests to use async/await Jonas Jenwald 2021-04-02 12:26:46 +02:00
  • a2bc6481a0 [api-minor] Add an option, in PDFDocumentProxy.cleanup, to allow fonts to remain attached to the DOM Jonas Jenwald 2021-04-02 12:26:39 +02:00
  • 48ff20493f Mark some internal PDFDocumentProxy-properties as "private" Jonas Jenwald 2021-04-02 12:26:32 +02:00
  • 0eb1433c78 [api-minor] Change the format of the fontName-property, in defaultAppearanceData, on Annotation-instances (PR 12831 follow-up) Jonas Jenwald 2021-04-01 15:19:45 +02:00
  • ca7f546828
    Merge pull request #12908 from calixteman/11918 Tim van der Meij 2021-03-31 21:56:31 +02:00
  • a0cfb0841f Slightly rescale lineWidth to workaround chrome rendering issue Calixte Denizet 2021-01-25 19:25:05 +01:00
  • 5a64157a2f
    Merge pull request #13168 from janpe2/ttf-uni-glyphs Tim van der Meij 2021-03-31 21:35:13 +02:00
  • 1a4af17d07
    Merge pull request #13165 from Snuffleupagus/Annotation-rm-defaultAppearance-export Tim van der Meij 2021-03-31 21:30:50 +02:00
  • 5be0fbe8f1
    Merge pull request #13166 from Snuffleupagus/getDocument-URL Tim van der Meij 2021-03-31 21:20:08 +02:00
  • 70915d34ed
    Merge pull request #13157 from Snuffleupagus/webViewerOpenFileViaURL-cleanup Tim van der Meij 2021-03-31 20:24:08 +02:00
  • 2fb4d02ea5
    Merge pull request #13158 from Snuffleupagus/rm-URL-polyfill Tim van der Meij 2021-03-31 20:22:02 +02:00
  • d47b30ef54
    Merge pull request #13156 from Snuffleupagus/outline-destRef-null Tim van der Meij 2021-03-31 20:20:35 +02:00
  • b6babb0d95
    Merge pull request #13161 from mozilla/dependabot/npm_and_yarn/y18n-3.2.2 Tim van der Meij 2021-03-31 20:19:01 +02:00
  • 0117ee5071 Use post table when Encoding has only Differences Fixes #13107 In the issue, some TrueType glyph names have the format uniXXXX. Font's Encoding dictionary has the entry Differences but no BaseEncoding. uniXXXX names are converted to glyph indices using font's post table but currently that is done only when BaseEncoding exists. We must enable the conversion also when only Differences exists. Jani Pehkonen 2021-03-31 16:32:30 +03:00
  • db1e1612df [api-minor] Support proper URL-objects, in addition to URL-strings, in getDocument Jonas Jenwald 2021-03-31 16:21:41 +02:00
  • 27add0f1f3 Re-factor the source parsing, in getDocument, to use switch rather than if...else Jonas Jenwald 2021-03-31 16:21:37 +02:00
  • 9c6770748c Move the PDFDocumentStats typedef closer to its usage Jonas Jenwald 2021-03-31 16:21:22 +02:00
  • b3528868c1
    XFA - Add support for few ui elements (#13115) calixteman 2021-03-31 15:42:21 +02:00
  • 3df24254e3 [api-minor] Stop exposing the *raw* defaultAppearance-string on Annotation-instances Jonas Jenwald 2021-03-31 14:48:28 +02:00
  • 38acde8375 Use template strings, to reduce unnecessary verbosity in a few warn(...) calls in src/core/annotation.js Jonas Jenwald 2021-03-31 14:40:21 +02:00
  • 84d7cccb1d
    JS - Handle correctly hierarchy of fields (#13133) calixteman 2021-03-30 17:50:35 +02:00
  • 9e2572e4f8
    Bump y18n from 3.2.1 to 3.2.2 dependabot[bot] 2021-03-30 11:50:58 +00:00
  • 75a6b2fa13
    Improve handling of *linked* test-cases for the unit/integration suites (#13160) Jonas Jenwald 2021-03-30 13:24:04 +02:00
  • fa86a192f9 Remove the URL polyfill Jonas Jenwald 2021-03-29 17:47:51 +02:00
  • 32b7bbaced Remove the file://-URL special-case from webViewerOpenFileViaURL Jonas Jenwald 2021-03-28 18:15:17 +02:00
  • 0a03843e5f Re-factor the pre-processor statements used with webViewerOpenFileViaURL Jonas Jenwald 2021-03-28 18:09:43 +02:00
  • 14fc9db73d Prevent errors, in PDFOutlineViewer._getPageNumberToDestHash, for invalid destRef values (PR 12777 follow-up) Jonas Jenwald 2021-03-28 17:36:51 +02:00
  • 1a2cdaffc5
    Merge pull request #13152 from calixteman/13130 Tim van der Meij 2021-03-28 15:11:55 +02:00
  • 34542d814f
    Merge pull request #13155 from Snuffleupagus/rotation-normalization Tim van der Meij 2021-03-28 15:05:07 +02:00
  • 19c2dfbb96 Move rotation normalization from PDFViewerApplication and into BaseViewer Jonas Jenwald 2021-03-28 14:12:13 +02:00
  • 68e0db735b
    Merge pull request #13154 from calixteman/update_quickjs Tim van der Meij 2021-03-28 14:11:58 +02:00
  • 9296ee6986 Skip extra objects in object stream in using offsets Calixte Denizet 2021-03-27 18:45:48 +01:00
  • a256948b30 Update quickjs to revision b5e62895c619d4ffc75c9d822c8d85f1ece77e5b Calixte Denizet 2021-03-28 12:43:39 +02:00
  • ba76dd4000
    Merge pull request #13056 from Snuffleupagus/Doc-WillClose Tim van der Meij 2021-03-26 22:00:40 +01:00
  • 69c88d119d
    Merge pull request #13138 from Snuffleupagus/PDFHistory-pushPage-dest Tim van der Meij 2021-03-26 21:57:51 +01:00
  • 5bb163424b
    Merge pull request #13144 from Snuffleupagus/GrabToPan-matches Tim van der Meij 2021-03-26 21:47:32 +01:00
  • b11b7aaa38 [GrabToPan] Use Element.matches() rather than prefixed ...matchesSelector versions Jonas Jenwald 2021-03-25 22:33:17 +01:00
  • ebd2dfbae0
    Merge pull request #13145 from emilio/print-oversized Tim van der Meij 2021-03-26 21:33:52 +01:00
  • 0b6b8ef42b
    Merge pull request #13140 from Snuffleupagus/GrabToPan-cleanup Tim van der Meij 2021-03-26 21:28:12 +01:00
  • 81c602c61c
    Set CFF header to 4 when writing it because it contains 4 elements (#13149) calixteman 2021-03-26 18:23:18 +01:00
  • 81c7f905bc print: Improve rendering of oversized pages. Emilio Cobos Álvarez 2021-03-26 08:51:53 +01:00
  • 34184a89f9 Remove *unconditional* browser sniffing in web/grab_to_pan.js Jonas Jenwald 2021-03-25 15:51:57 +01:00
  • 3c3cbe78ae Remove the remaining IE-specific checks from web/grab_to_pan.js (PR 12328 follow-up) Jonas Jenwald 2021-03-25 15:36:37 +01:00
  • 63471bcbbe
    XFA - Convert some template properties into CSS ones (#13082) calixteman 2021-03-25 13:02:39 +01:00
  • a10f87c7ea [PDFHistory] Correctly simulate an internal destination in the pushPage-method (PR 12493 follow-up) Jonas Jenwald 2021-03-24 22:07:29 +01:00
  • 685a60055e [PDFHistory] Reduce unnecessary duplication, by introducing a helper-method for validating pageNumbers Jonas Jenwald 2021-03-24 13:55:56 +01:00
  • 9d0ce6e79f
    Merge pull request #13128 from Snuffleupagus/BasePreferences-loops Tim van der Meij 2021-03-24 20:47:45 +01:00
  • 0ff92fb9c8
    Merge pull request #13135 from eltociear/patch-1 Tim van der Meij 2021-03-24 20:42:05 +01:00
  • 0de15d59b8
    Fix typo in pdf_history.js Ikko Ashimine 2021-03-24 23:18:40 +09:00
  • be52183211 Remove some *indirect* loops in the BasePreferences.getAll-method Jonas Jenwald 2021-03-22 14:30:03 +01:00
  • 4b27f58625 Re-factor how the BasePreferences.prefs-property is initialized Jonas Jenwald 2021-03-22 14:19:50 +01:00
  • d426ffdad9
    Merge pull request #13125 from Snuffleupagus/BaseViewer-enableXfa Tim van der Meij 2021-03-21 13:50:30 +01:00
  • 8e736e4f98
    Merge pull request #13126 from Snuffleupagus/update-packages Tim van der Meij 2021-03-21 13:48:00 +01:00
  • eeda2215d7 Remove redundant done-callback functions from unit-tests which are async Jonas Jenwald 2021-03-21 11:33:39 +01:00
  • 4814e23310 Add (temporary) Swedish localizations for the page_landmark/loading strings (PR 13118 follow-up) Jonas Jenwald 2021-03-21 11:06:41 +01:00
  • 36e79edfaf Update l10n files Jonas Jenwald 2021-03-21 11:01:59 +01:00
  • 3eb7a6b66f Update npm packages Jonas Jenwald 2021-03-21 11:00:02 +01:00
  • 35a088ffc1 Don't provide the enableXfa parameter to the BaseViewer constructor, and avoid the fallback bar with enableXfa = true set (PR 13069 follow-up) Jonas Jenwald 2021-03-21 10:41:22 +01:00
  • c6b44d1516
    Merge pull request #13117 from Snuffleupagus/defaultPreferences-builds Tim van der Meij 2021-03-20 18:40:29 +01:00
  • 39b485f69f
    Merge pull request #13124 from Snuffleupagus/animationStarted-Node Tim van der Meij 2021-03-20 18:18:32 +01:00
  • 71e61c3533 Tweak the pre-processor condition, for Node.js environments, in the animationStarted helper (issue 13057) Jonas Jenwald 2021-03-20 13:34:38 +01:00
  • 7bcfabc43c Fix an edge-case related to compatibility-values in various AppOptions-methods Jonas Jenwald 2021-03-19 16:10:31 +01:00
  • 18bc59eb34 [Chromium extension] Remove the special handling of the "disableTelemetry" preference Jonas Jenwald 2021-03-18 16:26:55 +01:00
  • b48dc06148 [gulpfile] Move common functionality, in buildLib and buildDefaultPreferences, to a helper function Jonas Jenwald 2021-03-20 13:06:38 +01:00
  • 56e1d7746a Re-factor the default preferences generation to support build targets (PR 10548) Jonas Jenwald 2021-03-18 14:33:54 +01:00
  • d775616fd4
    Merge pull request #13118 from brendandahl/page-aria Tim van der Meij 2021-03-19 23:17:55 +01:00
  • 8269ddbd16
    Merge pull request #13105 from Snuffleupagus/BasePdfManager-parseDocBaseUrl Tim van der Meij 2021-03-19 23:03:20 +01:00
  • e7e0ecf9c8
    Merge pull request #13113 from Snuffleupagus/scripting-PresentationMode-events Tim van der Meij 2021-03-19 22:52:15 +01:00
  • 92d3a93897
    Merge pull request #13116 from Snuffleupagus/enableScripting-true Tim van der Meij 2021-03-19 22:48:57 +01:00
  • 8a820ac151
    Merge pull request #13120 from Snuffleupagus/enablePrintAutoRotate-true Tim van der Meij 2021-03-19 22:45:56 +01:00
  • 9fb0f3b0da Add landmark region and aria-label for each page. Brendan Dahl 2021-03-18 16:10:54 -07:00
  • 1fa5ce7f48 Ignore some *scripting* events which don't make sense in PresentationMode Jonas Jenwald 2021-03-17 16:07:10 +01:00
  • 30c06849d8 Rotate landscape pages, during printing, by default in the viewer (enablePrintAutoRotate = true) Jonas Jenwald 2021-03-19 12:27:23 +01:00
  • 1de466896d Remove one loop from BaseViewer.getPagesOverview Jonas Jenwald 2021-03-19 12:19:29 +01:00
  • 3ce94a9f6d Change how landscape pages are rotated, for printing, with enablePrintAutoRotate = true set Jonas Jenwald 2021-03-19 12:09:41 +01:00
  • 57e7557235
    Actually reset the PDFPageProxy._xfaPromise property as intended (PR 13069 follow-up) (#13119) Jonas Jenwald 2021-03-19 11:31:54 +01:00
  • 24e598a895
    XFA - Add a layer to display XFA forms (#13069) calixteman 2021-03-19 10:11:40 +01:00
  • 2d727e6e68 Enable scripting by default in the viewer (PR 13053 follow-up) Jonas Jenwald 2021-03-17 21:03:24 +01:00
  • c4c7216171 Improve memory usage around the BasePdfManager.docBaseUrl parameter (PR 7689 follow-up) Jonas Jenwald 2021-03-16 11:56:39 +01:00
  • bd9dee1544 Move the getPdfFilenameFromUrl helper function from web/ui_utils.js and into src/display/display_utils.js Jonas Jenwald 2021-03-16 11:56:31 +01:00
  • a164941351
    Merge pull request #13106 from Snuffleupagus/LineAnnotation-empty-Rect Tim van der Meij 2021-03-16 19:47:21 +01:00
  • d92b77e87f
    Ensure that printing, triggered from scripting, won't accidentally throw in PDFScriptingManager._updateFromSandbox (#13104) Jonas Jenwald 2021-03-16 14:22:39 +01:00
  • dd3797a325
    Merge pull request #13102 from emilio/print-small-page Brendan Dahl 2021-03-15 18:51:42 -07:00
  • 5099f1977f Support LineAnnotations with empty /Rect-entries (issue 6564) Jonas Jenwald 2021-03-15 16:16:49 +01:00
  • 1d70bfe6e6 print: RFC: Center when printing a PDF with smaller size than the output page. Emilio Cobos Álvarez 2021-03-14 15:54:37 +01:00
  • eb92ed12f2
    Merge pull request #13100 from emilio/container-overflow Tim van der Meij 2021-03-14 15:53:50 +01:00
  • 93c062669c
    Merge pull request #13101 from emilio/print-bogus-supports Tim van der Meij 2021-03-14 15:29:40 +01:00
  • b932eaf6a7 print: Remove invalid @supports condition. Emilio Cobos Álvarez 2021-03-14 15:00:04 +01:00