Commit Graph

  • 46840c5650
    Merge pull request #14602 from Snuffleupagus/rm-isString Jonas Jenwald 2022-02-26 17:28:08 +01:00
  • 99cd24ce3e Remove the isString helper function Jonas Jenwald 2022-02-23 17:02:19 +01:00
  • 6bd4e0f5af Re-factor the PDFDocument.documentInfo method Jonas Jenwald 2022-02-23 16:57:03 +01:00
  • 620174a23c
    Merge pull request #14606 from Snuffleupagus/standard-FullscreenAPI Tim van der Meij 2022-02-26 15:49:15 +01:00
  • f782f5e5bb
    Merge pull request #14607 from Snuffleupagus/wrapReason-unreachable Tim van der Meij 2022-02-26 15:37:29 +01:00
  • cf7ce0aa7e
    Merge pull request #14600 from Snuffleupagus/getPageIndex-more-validation Tim van der Meij 2022-02-26 15:30:00 +01:00
  • 0808376a72
    Merge pull request #14599 from Snuffleupagus/Cmd-Name-validate-arg Tim van der Meij 2022-02-26 15:25:00 +01:00
  • 9b9609a6d8 [JPEG 2000] Add support for resetContextProbabilities (bug 1731483) Jeff Muizelaar 2022-02-26 12:27:39 +01:00
  • 4157d771c0
    Merge pull request #14609 from brendandahl/misc-reftest Jonas Jenwald 2022-02-26 10:43:36 +01:00
  • e7787ee838
    Merge pull request #14608 from brendandahl/no-close Jonas Jenwald 2022-02-26 10:42:45 +01:00
  • c5404bee0e Improvements to the reftest analyzer. Brendan Dahl 2022-02-25 11:13:46 -08:00
  • a969440af8 Don't close window from test driver. Brendan Dahl 2022-02-25 09:55:52 -08:00
  • 46369e4aa5 Fix some issues with lineWidth < 1 after transform (bug 1753075, bug 1743245, bug 1710019) - it aims to fix: - https://bugzilla.mozilla.org/show_bug.cgi?id=1753075; - https://bugzilla.mozilla.org/show_bug.cgi?id=1743245; - https://bugzilla.mozilla.org/show_bug.cgi?id=1710019; - issue #13211; - issue #14521. - previously we were trying to adjust lineWidth to have something correct after the current transform is applied but this approach was not correct because finally the pixel is rescaled with the same factors in both directions. And sometimes those factors must be different (see bug 1753075). - So the idea of this patch is to apply a scale matrix to the current transform just before setting lineWidth and stroking. This scale matrix is computed in order to ensure that after transform, a pixel will have its two thickness greater than 1. Calixte Denizet 2022-02-05 22:33:54 +01:00
  • 28fc8248f0 Simplify the wrapReason helper function Jonas Jenwald 2022-02-25 16:53:28 +01:00
  • 9d773c1499 Only support the standard, unprefixed, Fullscreen API in the default viewer Jonas Jenwald 2022-02-25 15:36:45 +01:00
  • cadc4d2f61 Replace all "private" methods in PDFPresentationMode with proper ones Jonas Jenwald 2022-02-25 14:49:12 +01:00
  • b753271ca6
    Merge pull request #14605 from Snuffleupagus/font-test-atob-btoa Jonas Jenwald 2022-02-25 11:50:03 +01:00
  • f4e78d9b38 Simplify the decodeFontData/encodeFontData font-test helper functions Jonas Jenwald 2022-02-25 11:30:22 +01:00
  • 889b761f22
    Merge pull request #14545 from brendandahl/output-scale Jonas Jenwald 2022-02-24 21:56:54 +01:00
  • f5c3abb8f7 Generate test images at different output scales. Brendan Dahl 2022-02-07 14:40:21 -08:00
  • 172d007598 [api-minor] Add validation for the PDFDocumentProxy.getPageIndex method Jonas Jenwald 2022-02-24 12:01:51 +01:00
  • 2be8036eb7 [api-minor] Reduce duplication in the "gets non-existent page" unit-test Jonas Jenwald 2022-02-24 11:20:27 +01:00
  • 5e6b4626ed Fix canvas state getting out of sync from smasks. (bug 1755507) v2.13.94_beta Brendan Dahl 2022-02-15 16:44:50 -08:00
  • ec87995050 Ensure that Cmd/Name is only initialized with string arguments Jonas Jenwald 2022-02-23 22:39:12 +01:00
  • 2bb96a708c
    Merge pull request #14598 from Snuffleupagus/rm-isBool Tim van der Meij 2022-02-23 20:36:56 +01:00
  • 409cbfc817
    Merge pull request #14597 from Snuffleupagus/Dict-set-validate-key Tim van der Meij 2022-02-23 20:31:36 +01:00
  • 1672c3a731
    Merge pull request #14588 from Snuffleupagus/rm-old-test-CSS Tim van der Meij 2022-02-23 20:28:26 +01:00
  • 1b51e10c9c
    Merge pull request #14595 from Snuffleupagus/structuredClone-comment-support Tim van der Meij 2022-02-23 20:27:35 +01:00
  • 3704283f5b Remove the isBool helper function Jonas Jenwald 2022-02-23 12:25:13 +01:00
  • 82f1ee1755 Re-factor the Catalog.viewerPreferences method Jonas Jenwald 2022-02-23 12:20:35 +01:00
  • a2f9031e9a Ensure that Dict.set only accepts string keys Jonas Jenwald 2022-02-22 15:52:12 +01:00
  • b2f6844ce3
    Merge pull request #14596 from Snuffleupagus/rm-isNum Jonas Jenwald 2022-02-22 16:06:47 +01:00
  • 48985bd221 Update the support information for structuredClone (PR 14392 follow-up) Jonas Jenwald 2022-02-22 12:30:54 +01:00
  • 05edd91bdb Remove the isNum helper function Jonas Jenwald 2022-02-22 11:55:34 +01:00
  • edd024c9e7
    Merge pull request #14594 from Snuffleupagus/more-instanceof Jonas Jenwald 2022-02-21 20:59:34 +01:00
  • b282814e38 Prefer instanceof Name rather than calling isName() with one argument Jonas Jenwald 2022-02-21 12:45:00 +01:00
  • 4df82ad31e Prefer instanceof Dict rather than calling isDict() with one argument Jonas Jenwald 2022-02-21 12:44:56 +01:00
  • 67b658e8d5 Prefer instanceof Cmd rather than calling isCmd() with *one* argument Jonas Jenwald 2022-02-21 12:44:51 +01:00
  • 40edd235ea Remove old prefixed CSS rules used with text tests Jonas Jenwald 2022-02-20 18:01:22 +01:00
  • 3635a9a333
    Merge pull request #14585 from Snuffleupagus/PDFObjects-private Tim van der Meij 2022-02-20 14:53:58 +01:00
  • dce10de083
    Merge pull request #14584 from Snuffleupagus/update-packages Tim van der Meij 2022-02-20 14:46:25 +01:00
  • bad15894fc Improve the JSDocs for the PDFObjects class Jonas Jenwald 2022-02-20 12:52:28 +01:00
  • f4712bc0ad Simplify the data stored on PDFObjects-instances Jonas Jenwald 2022-02-20 12:33:33 +01:00
  • beecde3229 Introduce (some) private properties/methods in the PDFObjects class Jonas Jenwald 2022-02-20 12:17:10 +01:00
  • 21f1d1ace2 Update l10n files Jonas Jenwald 2022-02-20 10:10:21 +01:00
  • 55b78bb240 Update npm packages Jonas Jenwald 2022-02-20 10:08:23 +01:00
  • fbed707592
    Merge pull request #14577 from Snuffleupagus/rm-isRef Jonas Jenwald 2022-02-19 15:47:01 +01:00
  • 2cb2f633ac Remove the isRef helper function Jonas Jenwald 2022-02-18 12:11:45 +01:00
  • df0aa1a9c4
    Merge pull request #14575 from Snuffleupagus/rm-isStream Tim van der Meij 2022-02-19 14:59:19 +01:00
  • 8e234a16d4
    Merge pull request #14578 from Snuffleupagus/rm-backingStorePixelRatio Tim van der Meij 2022-02-19 14:54:30 +01:00
  • 65d679a3a6
    Merge pull request #14580 from Snuffleupagus/PixelsPerInch-class Tim van der Meij 2022-02-19 14:49:50 +01:00
  • 964601ba39
    Merge pull request #14581 from Snuffleupagus/Driver-parseQueryString Tim van der Meij 2022-02-19 14:47:37 +01:00
  • dde4e43b4a Use the (viewer) parseQueryString helper function in the reference tests Jonas Jenwald 2022-02-19 09:41:04 +01:00
  • 05efe3017b Change PixelsPerInch to a class with static properties (issue 14579) Jonas Jenwald 2022-02-19 09:05:40 +01:00
  • 530af48b8e
    Merge pull request #14569 from brendandahl/smask-state Jonas Jenwald 2022-02-18 19:35:58 +01:00
  • 36cb82e517 Convert the getOutputScale helper function into a OutputScale class Jonas Jenwald 2022-02-18 16:38:25 +01:00
  • 0928d26d54 Replace the scaled property, in the getOutputScale return, with a getter Jonas Jenwald 2022-02-17 22:28:03 +01:00
  • 0159ec0a12 Remove the backingStorePixelRatio-part of the getOutputScale helper function Jonas Jenwald 2022-02-17 22:21:59 +01:00
  • 7def6d12c8 Fix canvas state getting out of sync from smasks. (bug 1755507) Brendan Dahl 2022-02-15 16:44:50 -08:00
  • 1a31855977 Remove the isStream helper function Jonas Jenwald 2022-02-17 13:45:42 +01:00
  • d9a3a24353
    Merge pull request #14566 from Snuffleupagus/misc-viewer-cleanup Tim van der Meij 2022-02-16 20:33:30 +01:00
  • ff6d9c74cc
    Merge pull request #14572 from Snuffleupagus/_collectJS-string-check Jonas Jenwald 2022-02-16 14:44:30 +01:00
  • fd319e94b3 Add a missing string-check in the _collectJS helper function Jonas Jenwald 2022-02-16 13:43:42 +01:00
  • 996396a914 Change PasswordPrompt.close to an async method Jonas Jenwald 2022-02-14 12:13:30 +01:00
  • 2dececf445 Remove the typeof navigator-checks in the web/app_options.js file Jonas Jenwald 2022-02-14 12:01:30 +01:00
  • d5f048abe0
    Merge pull request #14563 from calixteman/search_eol calixteman 2022-02-14 10:30:45 +01:00
  • 18f4e560ae [Search] Some matches were incorrectly shifted because of some '-\n' - it aims to fix #14562; - 'X-\n' were not correctly positioned; - when X is a diacritic (e.g. in "sä-\n", which is decomposed into "sa¨-\n") we must handle both things: - diacritics on the one hand; - "-\n" on the other hand. Calixte Denizet 2022-02-13 16:55:56 +01:00
  • 263c89581f
    Merge pull request #14564 from calixteman/bug1755201 calixteman 2022-02-13 21:48:57 +01:00
  • 18e3a98c2b [api-minor] Don't add in the text content the chars which are out-of-page (bug 1755201) - it aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1755201; - if the glyph position is not within the view then skip it. Calixte Denizet 2022-02-13 19:39:40 +01:00
  • 78246719f8
    Merge pull request #14559 from Snuffleupagus/revert-9505 Tim van der Meij 2022-02-13 14:10:22 +01:00
  • c37d785b2a
    Merge pull request #14560 from Snuffleupagus/Node-ReadableStream-polyfill Tim van der Meij 2022-02-13 14:08:22 +01:00
  • 7ee531d918
    Merge pull request #14558 from Snuffleupagus/getFilenameFromContentDispositionHeader-TextDecoder Tim van der Meij 2022-02-13 14:02:50 +01:00
  • 99fde3cf86
    Merge pull request #14557 from Snuffleupagus/issue-14555 Tim van der Meij 2022-02-13 14:01:02 +01:00
  • b89595fd20 [api-minor] Remove the, in legacy builds, bundled ReadableStream polyfill Jonas Jenwald 2022-02-12 17:30:39 +01:00
  • 911021002e Revert "Don't block origin-less blob:-URLs in hosted viewer" Jonas Jenwald 2022-02-12 11:32:10 +01:00
  • d642d34500 Remove the UTF-8 fallback, when TextDecoder is missing, from the Content-Disposition parser Jonas Jenwald 2022-02-12 10:30:25 +01:00
  • 06190dbbb3 Remove unnecessary font-size CSS rule from the html element (issue 14555, PR 3794 follow-up) Jonas Jenwald 2022-02-11 19:44:03 +01:00
  • e9fd67a3f6
    Merge pull request #14551 from Snuffleupagus/mv-createObjectURL Tim van der Meij 2022-02-11 19:40:25 +01:00
  • b87a243222 [api-minor] Stop exposing the createObjectURL helper function in the API Jonas Jenwald 2022-02-10 11:42:50 +01:00
  • 0daab88a48 Update two display_utils unit-tests to use native functionality rather than the createObjectURL helper function Jonas Jenwald 2022-02-10 11:42:42 +01:00
  • f8b2a99ddc
    Merge pull request #14543 from Snuffleupagus/bug-1753983 Brendan Dahl 2022-02-09 14:06:35 -08:00
  • d57f3a13d7
    Merge pull request #14547 from Snuffleupagus/xfa_bug1720182-file Tim van der Meij 2022-02-09 19:45:18 +01:00
  • d3d63cb471
    Merge pull request #14548 from Snuffleupagus/bug-1754421 Tim van der Meij 2022-02-09 19:41:22 +01:00
  • 1f0fb270b1 [api-minor] Ensure that the PDFDocumentLoadingTask-promise is rejected when cancelling the PasswordPrompt (bug 1754421) Jonas Jenwald 2022-02-09 13:48:29 +01:00
  • 188752e5f0 Update the test Driver to fail on duplicate files Jonas Jenwald 2022-02-08 16:59:18 +01:00
  • 60efae96fd Update the file used with the xfa_bug1720182 test-case Jonas Jenwald 2022-02-08 14:05:53 +01:00
  • 64f3dbeb48 Let Lexer.getNumber treat a single minus sign as zero (bug 1753983) Jonas Jenwald 2022-02-07 16:14:45 +01:00
  • acc758c40c
    Merge pull request #14538 from Snuffleupagus/update-compat Tim van der Meij 2022-02-06 14:11:33 +01:00
  • 200615d515
    Merge pull request #14539 from mozilla/dependabot/npm_and_yarn/simple-get-3.1.1 Tim van der Meij 2022-02-06 13:28:31 +01:00
  • a26ac162b6
    Bump simple-get from 3.1.0 to 3.1.1 dependabot[bot] 2022-02-06 12:14:16 +00:00
  • a4864d0dc2
    Merge pull request #14537 from Snuffleupagus/update-packages Tim van der Meij 2022-02-06 13:13:32 +01:00
  • 03f5f6a421 [api-minor] Update the minimum supported browser versions Jonas Jenwald 2022-02-06 12:49:54 +01:00
  • 86949cc930 Update l10n files Jonas Jenwald 2022-02-06 11:34:26 +01:00
  • 38f6e675bc Update the @javascript-obfuscator/escodegen package to the latest version Jonas Jenwald 2022-02-06 11:26:07 +01:00
  • 5f7b96c957 Update npm packages Jonas Jenwald 2022-02-06 11:24:14 +01:00
  • 48139a0059
    Merge pull request #14530 from Snuffleupagus/findResultsCount-height Tim van der Meij 2022-02-05 14:47:45 +01:00
  • 97619ba949
    Merge pull request #14532 from Snuffleupagus/rm-moz-fullscreen-prefixes Tim van der Meij 2022-02-05 14:44:09 +01:00
  • ca663d4af9
    Merge pull request #14535 from Snuffleupagus/findbar-label-casing Tim van der Meij 2022-02-05 14:42:09 +01:00
  • cd7fe27468 [GENERIC viewer] Use consistent casing, for the labels, in the findbar Jonas Jenwald 2022-02-05 11:10:53 +01:00
  • eee057ccd5 [GENERIC viewer] Remove the moz-prefixed FullScreen API usage from the viewer Jonas Jenwald 2022-02-04 12:29:47 +01:00