Commit Graph

  • 160cfc4084 Slightly simplify the lookup of data in Dict.{get, getAsync, has} Jonas Jenwald 2020-01-31 11:39:48 +01:00
  • af8c371fa9 Update l10n files Jonas Jenwald 2020-03-06 13:08:15 +01:00
  • 824e5c8156 Update npm packages Jonas Jenwald 2020-03-06 13:06:21 +01:00
  • 01fb309a2a [api-minor] Add more general OpenAction support (PR 10334 follow-up, issue 11642) Jonas Jenwald 2020-02-28 14:54:07 +01:00
  • 0fb44f5dd6 Move the dispatchDOMEvent functionality out from the EventBus and add a deprecation warning for the eventBusDispatchToDOM option/preference (PR 11631 follow-up) Jonas Jenwald 2020-03-05 12:18:50 +01:00
  • 3ed1bc917d Update the waitOnEventOrTimeout helper function to handle internal events consistently with the rest of the viewer components (PR 11631 follow-up) Jonas Jenwald 2020-03-05 12:00:44 +01:00
  • 25693c6b6d
    Merge pull request #11664 from Snuffleupagus/bug-1619595 Tim van der Meij 2020-03-04 23:12:33 +01:00
  • ecbe0076fc Prevent the zoom dropdown icon from being overridden when the element is :active (bug 1619595) Jonas Jenwald 2020-03-04 15:56:08 +01:00
  • c95b9b1e17
    Merge pull request #11653 from Snuffleupagus/ensureStateFont Tim van der Meij 2020-03-03 23:33:13 +01:00
  • b56e058b4b
    Merge pull request #11660 from janpe2/type1notdef Tim van der Meij 2020-03-03 23:26:24 +01:00
  • 71e7686950 Fix Type1 font parsing when .notdef is not at index zero Jani Pehkonen 2020-03-03 21:55:51 +02:00
  • 65e514e063 Ensure that there's always a setFont (Tf) operator before text rendering operators (issue 11651) Jonas Jenwald 2020-03-02 15:34:00 +01:00
  • 52749d1f0d
    Merge pull request #11631 from Snuffleupagus/getGlobalEventBus-deprecate Tim van der Meij 2020-03-02 23:30:07 +01:00
  • 8ea8fa5958
    Merge pull request #11654 from Snuffleupagus/BaseFontLoader-isFontLoadingAPISupported Tim van der Meij 2020-03-02 23:19:53 +01:00
  • 1ad65cf405 Simplify the BaseFontLoader.isFontLoadingAPISupported getter Jonas Jenwald 2020-03-02 19:53:50 +01:00
  • d6b67cd28a Fix the horizontal scaling of texts with SVG backend. #10988 Takashi Tamura 2020-01-31 06:55:26 +09:00
  • d60c1f68b7
    Merge pull request #11556 from tamuratak/vertical_h_scaling Tim van der Meij 2020-03-01 18:33:14 +01:00
  • d8c9f119b0 Fix the vertical writing mode with horizontal scaling. #11555. It is not valid to multiply textHScale when the writing mode is vertical. Takashi Tamura 2020-01-31 23:22:54 +09:00
  • e6d8899827
    Merge pull request #11590 from brendandahl/riot Brendan Dahl 2020-02-28 09:09:29 -08:00
  • 594a8dfac4 Update links from IRC to Matrix. Brendan Dahl 2020-02-12 13:24:44 -08:00
  • e1586016c5
    Merge pull request #11577 from Snuffleupagus/Pages-tree-refs Tim van der Meij 2020-02-27 23:36:11 +01:00
  • 175a6fc64c
    Merge pull request #11608 from Snuffleupagus/ignoreDestinationZoom Tim van der Meij 2020-02-27 23:23:13 +01:00
  • 4a1b056c82 Re-factor the EventBus to allow servicing of "external" event listeners *after* the viewer components have updated Jonas Jenwald 2020-02-26 23:33:27 +01:00
  • 9a437a158f [api-minor] Deprecate getGlobalEventBus and update the "viewer components" examples accordingly Jonas Jenwald 2020-02-26 17:16:30 +01:00
  • 03f5dd2cf2 Add a ignoreDestinationZoom option/preference to allow users to preserve the current zoom level when navigating to internal destinations (issue 5064, 11606) Jonas Jenwald 2020-02-17 14:04:55 +01:00
  • 965ebe63fd
    Merge pull request #11540 from tamuratak/charspacing Tim van der Meij 2020-02-26 22:26:27 +01:00
  • bde78cda33
    Merge pull request #11630 from Snuffleupagus/README-gitpod Tim van der Meij 2020-02-26 22:09:28 +01:00
  • ac6bb2e103 Attempt to clarify, and improve the wording of, the Gitpod section of the README Jonas Jenwald 2020-02-26 13:45:36 +01:00
  • 30e0f028b5
    Merge pull request #11625 from Snuffleupagus/issue-11451 Tim van der Meij 2020-02-25 23:18:19 +01:00
  • c55d30a715 Use the same non-embedded Wingdings fallback for fonts named "Wingdings-Regular" too (PR 5463 follow-up, issue 11451) Jonas Jenwald 2020-02-24 17:34:15 +01:00
  • dd893d59d9
    Merge pull request #11623 from Snuffleupagus/eslint-disallow-new-primitives Tim van der Meij 2020-02-22 21:32:04 +01:00
  • bf09d79eea Use the ESLint no-restricted-syntax rule to prevent direct usage of new Cmd()/new Name()/new Ref() Jonas Jenwald 2020-02-22 20:53:47 +01:00
  • c3c3b8cd81 Add a heuristic, in src/core/jpg.js, to handle JPEG images with a wildly incorrect SOF (Start of Frame) scanLines parameter (issue 10880) Jonas Jenwald 2020-01-18 12:53:40 +01:00
  • 5494f7d5bc Add basic validation of the scanLines parameter in JPEG images, before delegating decoding to the browser Jonas Jenwald 2020-01-09 21:39:31 +01:00
  • 3472b671e7
    Merge pull request #11621 from Snuffleupagus/update-packages Tim van der Meij 2020-02-21 22:37:24 +01:00
  • 7f1e15e088
    Merge pull request #11620 from Snuffleupagus/RefSetCache-forEach-rm-thisArg Tim van der Meij 2020-02-21 22:35:22 +01:00
  • ed01158127 Update l10n files Jonas Jenwald 2020-02-21 17:40:08 +01:00
  • e7242e69c4 Update npm packages Jonas Jenwald 2020-02-21 17:38:22 +01:00
  • 6b44ae2170 Remove the unused thisArg from RefSetCache.forEach Jonas Jenwald 2020-02-21 14:23:05 +01:00
  • 3c7b7be100 Prevent circular references in the /Pages tree Jonas Jenwald 2020-02-08 17:43:53 +01:00
  • e2b30e9e9c
    Merge pull request #11607 from Snuffleupagus/app-initializedPromise Tim van der Meij 2020-02-19 00:02:07 +01:00
  • 54484bd3c3
    Merge pull request #11616 from Snuffleupagus/demo-link Tim van der Meij 2020-02-18 23:48:44 +01:00
  • e242cfdd9b Attempt to improve/clarify the "Online demo" section of the README Jonas Jenwald 2020-02-18 12:35:10 +01:00
  • 16c261fada Update the PDF.js web page to link to both versions of the demo viewer (PR 11241 follow-up) Jonas Jenwald 2020-02-18 12:19:33 +01:00
  • e6aaf097b6
    Merge pull request #11605 from Snuffleupagus/eslint-fix-arg Tim van der Meij 2020-02-17 23:22:46 +01:00
  • 44587f3459 Add a PDFViewerApplication.initializedPromise property to allow (easier) tracking of when the default viewer has been initialized Jonas Jenwald 2020-02-17 12:49:56 +01:00
  • 1c76ef7888 Update gulp lint to support passing of the --fix argument on the command line Jonas Jenwald 2020-02-16 15:10:28 +01:00
  • 64351caf1f
    Merge pull request #11602 from Snuffleupagus/gulp-lint-chromium Tim van der Meij 2020-02-16 13:42:09 +01:00
  • 9fd2402321 Move validation of chromium/preferences_schema.json to its own gulp task Jonas Jenwald 2020-02-16 10:42:07 +01:00
  • 4092aa9fbd
    Merge pull request #11604 from Snuffleupagus/eslint-prefer-starts-ends-with Tim van der Meij 2020-02-16 13:17:27 +01:00
  • f6c813710a
    Merge pull request #11603 from Snuffleupagus/eslint-no-buffer-constructor Tim van der Meij 2020-02-16 13:13:54 +01:00
  • bc31a4be5d Enable the unicorn/prefer-starts-ends-with ESLint plugin rule Jonas Jenwald 2020-02-16 12:41:53 +01:00
  • 6ebd851d27 Enable the no-buffer-constructor ESLint rule Jonas Jenwald 2020-02-16 12:21:40 +01:00
  • f6ffc2bf37
    Merge pull request #11598 from Snuffleupagus/polyfill-Map-Set-iteration Tim van der Meij 2020-02-14 23:24:20 +01:00
  • cb01a7de09
    Merge pull request #11241 from Snuffleupagus/modern-builds Tim van der Meij 2020-02-14 23:22:08 +01:00
  • c97c778f8f [api-minor] Produce non-translated/non-polyfilled builds by default Jonas Jenwald 2019-10-14 21:19:31 +02:00
  • 4a76ab352c Add polyfills to support iteration of Map and Set Jonas Jenwald 2020-02-14 13:33:53 +01:00
  • cd3f2d49e6
    Merge pull request #11596 from Snuffleupagus/metadata-map Tim van der Meij 2020-02-13 23:01:51 +01:00
  • 12400489c2
    Merge pull request #11593 from Snuffleupagus/LoopbackPort-postMessage-compatibility Tim van der Meij 2020-02-13 22:56:59 +01:00
  • 5cdfff4a47 Re-factor how Metadata class instances store its data internally Jonas Jenwald 2020-02-13 17:45:38 +01:00
  • 3f1568b51a A couple of small improvements of the Metadata._repair method Jonas Jenwald 2020-02-13 17:20:52 +01:00
  • a5db4e985a Remove LoopbackPort.postMessage special-case for polyfilled TypedArrays Jonas Jenwald 2020-02-13 12:46:29 +01:00
  • 993a1d7825
    Merge pull request #11586 from Snuffleupagus/expandTextDivs-padding Tim van der Meij 2020-02-12 23:47:02 +01:00
  • 7b0836ca75 [TextLayer] Immediately set the padding, rather than checking if it's empty, in expandTextDivs Jonas Jenwald 2020-02-11 15:52:36 +01:00
  • 512dbe3060 Fix text spacing with vertical fonts. #7687 and #11526. Takashi Tamura 2020-01-27 11:03:27 +09:00
  • 10be0997a7
    Merge pull request #11582 from Snuffleupagus/Array-fail-on-enumerable-properties Tim van der Meij 2020-02-10 20:45:25 +01:00
  • ae5a34c520 [api-minor] Ensure that the Array.prototype doesn't contain any enumerable properties Jonas Jenwald 2020-02-10 13:54:09 +01:00
  • dced0a3821
    Merge pull request #11579 from Snuffleupagus/issue-11578 Tim van der Meij 2020-02-09 17:33:09 +01:00
  • 61056a9238
    Merge pull request #11551 from Snuffleupagus/issue-11549 Tim van der Meij 2020-02-09 17:32:35 +01:00
  • 2fb4076e05 Merge pull request #11568 from Snuffleupagus/PDF-header-validation Tim van der Meij 2020-02-09 17:16:25 +01:00
  • 102af0f915 Merge pull request #11547 from Snuffleupagus/convertCmykToRgb-scale Tim van der Meij 2020-02-09 17:06:23 +01:00
  • f178805412 Merge pull request #11557 from Snuffleupagus/_getLinearizedBlockData-xScaleBlockOffset Tim van der Meij 2020-02-09 16:54:28 +01:00
  • 7948faf675 Merge pull request #11573 from Snuffleupagus/api-cleanup-returns Tim van der Meij 2020-02-08 20:42:28 +01:00
  • 45e2ab80e4 Merge pull request #11570 from Snuffleupagus/zoom_adjustScaleWidth Tim van der Meij 2020-02-08 20:31:58 +01:00
  • a73a38029c Merge pull request #11569 from Snuffleupagus/rm-most-setAttribute Tim van der Meij 2020-02-08 20:13:56 +01:00
  • 7937165537 Ignore spaces when normalizing the font name in Font.fallbackToSystemFont (issue 11578) Jonas Jenwald 2020-02-08 19:51:16 +01:00
  • b54c1fe395 Re-factor Toolbar._adjustScaleWidth to improve/simplify how the zoom dropdown width is calculated Jonas Jenwald 2020-02-06 14:22:14 +01:00
  • 7117ee03d6 [api-minor] Change PDFDocumentProxy.cleanup/PDFPageProxy.cleanup to return data Jonas Jenwald 2020-02-07 15:48:58 +01:00
  • 88c35d872f Ensure that the PDF header contains an actual number (PR 11463 follow-up) Jonas Jenwald 2020-02-05 13:59:47 +01:00
  • a5fec297c0
    Merge pull request #11567 from Snuffleupagus/css-variables Tim van der Meij 2020-02-06 23:20:45 +01:00
  • e12e83702d
    Merge pull request #11559 from bhasto/curveto2-fix Tim van der Meij 2020-02-06 23:10:41 +01:00
  • 09a6e17d22
    Merge pull request #11528 from janpe2/type1-nonemb-notdef Brendan Dahl 2020-02-06 13:30:07 -08:00
  • 5cbd44b628 Replace most remaining Element.setAttribute("style", ...) usage with Element.style = ... instead Jonas Jenwald 2020-02-05 22:02:13 +01:00
  • 102142537f Update the left/right CSS calculation for the sidebarContainer HTML element to enable IE11 compatibility Jonas Jenwald 2020-02-05 00:34:44 +01:00
  • cb61bdee34 Add support for CSS variables using the PostCSS CSS Variables package (issue 11462) Jonas Jenwald 2020-02-04 22:28:38 +01:00
  • 393aed9978 Fix how curveTo2 (v operator) is translated to SVG Branislav Hašto 2020-02-02 17:03:29 +01:00
  • d6754d1e22
    Merge pull request #11554 from Snuffleupagus/update-packages Tim van der Meij 2020-02-02 13:52:03 +01:00
  • 4d5aa99c88
    Merge pull request #11558 from Snuffleupagus/GrabToPan-eslint Tim van der Meij 2020-02-02 13:34:34 +01:00
  • 6558be3a68 Remove the eslint-disable no-var rule from the web/grab_to_pan.js file Jonas Jenwald 2020-02-02 08:58:28 +01:00
  • a4440a1c6b Avoid re-calculating the xScaleBlockOffset when not necessary in JpegImage._getLinearizedBlockData Jonas Jenwald 2020-02-01 11:42:22 +01:00
  • 9ac5395ca4 Update l10n files Jonas Jenwald 2020-01-31 15:02:59 +01:00
  • 763f1425d5 Update npm packages Jonas Jenwald 2020-01-31 14:04:49 +01:00
  • 4c54395ff6 Allow skipping of errors when reading broken/corrupt ToUnicode data (issue 11549) Jonas Jenwald 2020-01-30 13:13:51 +01:00
  • 517ccb7a39
    Merge pull request #11546 from tamuratak/radialaxial Tim van der Meij 2020-01-29 23:00:41 +01:00
  • ce4f41d06a Use fewer multiplications in JpegImage._convertCmykToRgb Jonas Jenwald 2020-01-29 18:20:26 +01:00
  • 0b701e7950 Fix the indices of arguments for RadialAxial. It is related to #10646. Takashi Tamura 2020-01-29 18:00:06 +09:00
  • 89d345c7bd
    Merge pull request #11542 from Snuffleupagus/dist-lib-readme Tim van der Meij 2020-01-28 22:59:04 +01:00
  • 6d5de7e808
    Merge pull request #11545 from Snuffleupagus/debugger-createObjectURL Tim van der Meij 2020-01-28 22:57:04 +01:00
  • 7ae504222f
    Merge pull request #11544 from Snuffleupagus/decodeHuffman Tim van der Meij 2020-01-28 22:54:46 +01:00
  • e9dc179673
    Merge pull request #11537 from Snuffleupagus/setupFakeWorker-configure Tim van der Meij 2020-01-28 22:50:30 +01:00