Commit Graph

  • d5ee083050 * use square brackets for optional properties in the JSDoc comments of src/display/api.js Takashi Tamura 2019-10-08 20:34:17 +09:00
  • cead77ef3a
    Merge pull request #11186 from Snuffleupagus/issue-9655 Tim van der Meij 2019-10-06 19:50:43 +02:00
  • a21f60415d
    Merge pull request #11213 from Snuffleupagus/importl10n-fetch-langCodes Tim van der Meij 2019-10-06 19:44:10 +02:00
  • 5fb3eb7728
    Merge pull request #11212 from Snuffleupagus/MessageHandler-deleteStreamController Tim van der Meij 2019-10-06 19:23:13 +02:00
  • dee3da69d4 Have gulp importl10n list locales which may be candidates for removal Jonas Jenwald 2019-10-06 17:55:48 +02:00
  • 8d74a9ae7f Update l10n files Jonas Jenwald 2019-10-06 17:19:02 +02:00
  • ed71ec3785 Update the gulp importl10n command to fetch the active language codes Jonas Jenwald 2019-10-06 17:14:45 +02:00
  • eabedab38e [MessageHandler] Add a non-PRODUCTION/TESTING check to ensure that wrapReason is called with a valid reason Jonas Jenwald 2019-10-06 14:07:53 +02:00
  • 9201c8dad4 [MessageHandler] Convert the deleteStreamController helper function to a "private" method instead Jonas Jenwald 2019-10-06 13:52:25 +02:00
  • f5be2d62a3 Improve the heuristics, in PartialEvaluator._buildSimpleFontToUnicode, for glyphNames of the Cdd{d}/cdd{d} format (issue 9655) Jonas Jenwald 2019-09-29 23:50:58 +02:00
  • 0786363b7c
    Merge pull request #11198 from Snuffleupagus/PDFSidebarResizer-fixes Tim van der Meij 2019-10-05 19:00:04 +02:00
  • 4a1fc62d6c
    Merge pull request #11202 from timvandermeij/bump Tim van der Meij 2019-10-03 23:54:14 +02:00
  • 117daf0280
    Bump versions in pdfjs.config Tim van der Meij 2019-10-03 23:49:48 +02:00
  • 32d16ab5f6 [PDFSidebarResizer] Re-factor the resize event listener to improve readability Jonas Jenwald 2019-10-03 12:24:19 +02:00
  • 9e4552d792 [PDFSidebarResizer] Refactor the clamping in _updateWidth Jonas Jenwald 2019-10-03 12:03:45 +02:00
  • c1cfe2881b [PDFSidebarResizer] Skip the CSS.supports checks for MOZCENTRAL builds Jonas Jenwald 2019-10-03 11:55:13 +02:00
  • 4ae3f9fcf6
    Merge pull request #11187 from Snuffleupagus/image-Error-classes v2.3.200 Tim van der Meij 2019-10-01 23:24:58 +02:00
  • 572abdcb4a Convert the various image decoder ...Errors to classes extending BaseException (PR 11185 follow-up) Jonas Jenwald 2019-10-01 13:10:14 +02:00
  • 8c4f4b5eec
    Merge pull request #11182 from Snuffleupagus/disableWorker-disable-Dict-postMessage Tim van der Meij 2019-09-29 15:09:42 +02:00
  • 06e4eb4714
    Merge pull request #11185 from Snuffleupagus/Exception-classes Tim van der Meij 2019-09-29 15:06:22 +02:00
  • 5d93fda4f2 Convert the various ...Exceptions to proper classes, to reduce code duplication Jonas Jenwald 2019-09-29 01:18:48 +02:00
  • 3f8fee371b Forbid sending of Dicts and Streams, with postMessage, when workers are disabled Jonas Jenwald 2019-09-26 16:04:41 +02:00
  • cd909c531f
    Merge pull request #11169 from Snuffleupagus/Dict-inline-Ref-checks Tim van der Meij 2019-09-24 23:33:37 +02:00
  • f762d59ad2
    Merge pull request #11173 from Snuffleupagus/ReadableStream-polyfill Tim van der Meij 2019-09-24 23:22:17 +02:00
  • 2cac68467f Reduce the number of function calls in the Dict class Jonas Jenwald 2019-09-22 13:16:38 +02:00
  • 44f4cd529d
    Merge pull request #11171 from Snuffleupagus/Dict-get-consistent-return-type Tim van der Meij 2019-09-23 22:51:17 +02:00
  • 0ee373f9cc Replace the bundled ReadableStream polyfill with the web-streams-polyfill npm package (issue 11157) Jonas Jenwald 2019-09-23 21:55:55 +02:00
  • 7f18c57c12 Fix the inconsistent return types for Dict.{get, getAsync} Jonas Jenwald 2019-09-23 11:41:19 +02:00
  • 9596d702a9
    Merge pull request #11168 from timvandermeij/updates Tim van der Meij 2019-09-21 14:05:14 +02:00
  • 27dee5e911
    Update translations and packages Tim van der Meij 2019-09-21 13:41:59 +02:00
  • bdd28fd717
    Remove unmaintained localizations Tim van der Meij 2019-09-21 13:31:42 +02:00
  • e91836f832
    Merge pull request #11165 from Snuffleupagus/eslint-return-rules Tim van der Meij 2019-09-20 21:59:25 +02:00
  • b822356c03 Enable a couple of return related ESLint rules Jonas Jenwald 2019-09-20 14:23:41 +02:00
  • c289f3a969
    Merge pull request #11146 from timvandermeij/core-js Tim van der Meij 2019-09-19 23:30:08 +02:00
  • a03727892e
    Merge pull request #11163 from stof/patch-1 Tim van der Meij 2019-09-19 23:26:02 +02:00
  • 4e79404d4b
    Fix the link in the doc website Christophe Coevoet 2019-09-19 18:03:40 +02:00
  • 1f5ebfbf0c
    Replace our URL polyfill with the one from core-js Tim van der Meij 2019-09-15 16:43:50 +02:00
  • c71a291317
    Upgrade core-js to version 3.2.1 Tim van der Meij 2019-09-15 16:29:46 +02:00
  • 3da680cdfc
    Merge pull request #11158 from janpe2/gradient-stops Tim van der Meij 2019-09-19 13:15:11 +02:00
  • 58e5f36666
    Merge pull request #11159 from Snuffleupagus/issue-11150 Tim van der Meij 2019-09-19 13:14:27 +02:00
  • 7af66c8c12
    Merge pull request #11155 from Snuffleupagus/MessageHandler-misc-cleanup Tim van der Meij 2019-09-18 23:51:53 +02:00
  • af22dc9b0c For Type1 fonts, replace missing font dictionary /Widths entries with ones from the font data (issue 11150) Jonas Jenwald 2019-09-18 09:44:18 +02:00
  • 911df237f3 Avoid floating point inaccuracy in gradient color stops Jani Pehkonen 2019-09-17 21:01:17 +03:00
  • 4bd79ec4b3 Inline the resolveOrReject helper function at its call-sites in MessageHandler, and rename an error key to reason Jonas Jenwald 2019-09-17 14:11:23 +02:00
  • 0617984b59 Remove unnecessary data.streamId accesses in MessageHandler._processStreamMessage, and use a constant object shape in MessageHandler.sendWithStream Jonas Jenwald 2019-09-17 10:02:56 +02:00
  • d7c7f15551
    Merge pull request #11145 from timvandermeij/updates Tim van der Meij 2019-09-15 15:43:31 +02:00
  • 8c53b67ec8
    Update packages Tim van der Meij 2019-09-15 15:35:32 +02:00
  • 7ce36644e3
    Update translations Tim van der Meij 2019-09-15 15:31:44 +02:00
  • 822847f9ca
    Merge pull request #11106 from Snuffleupagus/getOperatorList-cancel Tim van der Meij 2019-09-15 14:47:21 +02:00
  • 281ed33e43 Abort, with a small delay, getOperatorList on the worker-thread when rendering is cancelled (PR 11069 follow-up) Jonas Jenwald 2019-08-21 16:19:24 +02:00
  • b86bdefcd9
    Merge pull request #11142 from Snuffleupagus/webL10n-rm-fireL10nReadyEvent Tim van der Meij 2019-09-13 23:13:03 +02:00
  • 6d1595b669 Stop dispatching a "localized" event from the webL10n library, since it's unused and may clash with the default viewer Jonas Jenwald 2019-09-13 12:33:37 +02:00
  • 12ff252751
    Merge pull request #11134 from Snuffleupagus/addLinkAttributes-assert-url Tim van der Meij 2019-09-11 23:56:06 +02:00
  • 2d2ec11c55
    Merge pull request #11138 from Rob--W/issue11137-ignore-non-loadable-embeds Tim van der Meij 2019-09-11 23:48:39 +02:00
  • 501e0b3db7 [CRX] Ignore auto-generated <embed> from Chrome Rob Wu 2019-09-11 15:56:02 +02:00
  • 00efff532c Ensure that addLinkAttributes is always called with a valid url parameter Jonas Jenwald 2019-09-11 13:17:41 +02:00
  • b2856b16a5
    Merge pull request #11130 from Snuffleupagus/GetOperatorList-enqueue-signature Tim van der Meij 2019-09-10 23:30:34 +02:00
  • 7f55676c94
    Merge pull request #11133 from Snuffleupagus/ESLint_no-async-promise-executor Tim van der Meij 2019-09-10 23:29:26 +02:00
  • 2351fee957 Enable the no-async-promise-executor ESLint rule Jonas Jenwald 2019-09-10 19:32:45 +02:00
  • 4fa60f006b
    Merge pull request #11129 from Snuffleupagus/animationStarted-setInitialView Tim van der Meij 2019-09-09 22:38:54 +02:00
  • 12e1c91f73 Don't enqueue unused properties when sending 'GetOperatorList' data from the worker-thread (PR 11069 follow-up) Jonas Jenwald 2019-09-09 17:35:24 +02:00
  • e7baf2ab61 Prevent "offsetParent is not set -- cannot scroll" errors when the viewer loads in e.g. a hidden <iframe> Jonas Jenwald 2019-09-08 14:13:50 +02:00
  • 4bf61197fa
    Merge pull request #11127 from Snuffleupagus/eslint-plugin-mozilla Tim van der Meij 2019-09-07 21:04:11 +02:00
  • d63da81e7c Update the eslint-plugin-mozilla to the latest version (PR 10905 follow-up) Jonas Jenwald 2019-09-07 12:37:13 +02:00
  • 37d5b80ba8
    Merge pull request #11118 from Snuffleupagus/FetchBuiltInCMap-sendWithStream Tim van der Meij 2019-09-06 22:56:14 +02:00
  • a79cb2d5f1
    Merge pull request #11123 from Snuffleupagus/rm-api-postMessageTransfers Tim van der Meij 2019-09-06 22:51:31 +02:00
  • 7dea3f9389 [api-minor] Remove the postMessageTransfers parameter, and thus the ability to manually disable transferring of data, from the API Jonas Jenwald 2019-09-05 10:42:30 +02:00
  • f0534b9b51 Adjust the values sent, with the 'test' message, by the WorkerMessageHandler.setup method Jonas Jenwald 2019-09-05 10:30:09 +02:00
  • 7212ff4eea Stop checking for the response property, on XMLHttpRequest, when setting up the WorkerMessageHandler Jonas Jenwald 2019-09-05 10:08:54 +02:00
  • f11a4ba750 Transfer, rather than copy, CMap data to the worker-thread Jonas Jenwald 2019-09-04 11:20:14 +02:00
  • 7e37eb42ad
    Merge pull request #11115 from Snuffleupagus/MessageHandler-postMessage-wrapReason Tim van der Meij 2019-09-03 23:23:58 +02:00
  • 74f5a59f43 Ensure that the cancel/error methods on Streams are always called with valid reason arguments Jonas Jenwald 2019-09-02 13:28:19 +02:00
  • 02bdacef42 Ensure that Errors are handled correctly when using postMessage with Streams in MessageHandler Jonas Jenwald 2019-09-02 13:18:39 +02:00
  • e59b11860d
    Merge pull request #11108 from timvandermeij/es6-annotations Tim van der Meij 2019-09-02 23:13:24 +02:00
  • 2866c8a39e
    Use more ES6 syntax in src/core/annotation.js Tim van der Meij 2019-08-31 17:07:29 +02:00
  • c37a2c0408
    Merge pull request #11112 from Snuffleupagus/TESTING-rm-version-warn Tim van der Meij 2019-09-02 22:22:33 +02:00
  • 71477dc5b1
    Merge pull request #11111 from Snuffleupagus/MessageHandler-resolveCall Tim van der Meij 2019-09-02 22:19:31 +02:00
  • 229f6f34d1 Remove the API/Worker version warning message in TESTING mode Jonas Jenwald 2019-09-01 16:43:58 +02:00
  • cd82b81bc7 Inline the resolveCall helper function at its call-sites in MessageHandler Jonas Jenwald 2019-09-01 12:25:31 +02:00
  • 10165c070e
    Merge pull request #11110 from Snuffleupagus/MessageHandler-scope Tim van der Meij 2019-09-01 12:27:08 +02:00
  • 055f03938b Remove support for the scope parameter in the MessageHandler.on method Jonas Jenwald 2019-08-31 14:16:06 +02:00
  • 49018482dc
    Use more ES6 syntax in src/display/annotation_layer.js Tim van der Meij 2019-08-31 16:40:39 +02:00
  • d1e6d427cd
    Merge pull request #11107 from Snuffleupagus/MessageHandler-postMessage Tim van der Meij 2019-08-31 00:06:17 +02:00
  • f71ea2de0e Remove the makeReasonSerializable helper function, and use wrapReason instead, in src/shared/message_handler.js Jonas Jenwald 2019-08-30 19:22:27 +02:00
  • 4e6a9b54c7 Change the internal stream property, as sent when Streams are used, from a String to a Number Jonas Jenwald 2019-08-30 13:26:39 +02:00
  • 252a3e35fb Reduce the amount of unnecessary function calls and object allocations, in MessageHandler, when using Streams Jonas Jenwald 2019-08-30 11:59:04 +02:00
  • ae0d9e8c2a Replace some instances of implicit function.bind(this) usage, in src/display/api.js, with arrow functions instead Jonas Jenwald 2019-08-30 11:35:05 +02:00
  • 3dfce2d4ef
    Merge pull request #11104 from Snuffleupagus/textLayer-style Tim van der Meij 2019-08-28 23:25:58 +02:00
  • 9f592ebf25
    Merge pull request #11102 from mozilla/dependabot/npm_and_yarn/mixin-deep-1.3.2 Tim van der Meij 2019-08-28 23:11:31 +02:00
  • 667e548e5f [TextLayer] Remove setAttribute usage in appendText (issue 8066) Jonas Jenwald 2019-08-28 16:17:30 +02:00
  • 106b239c5d [TextLayer] Avoid unnecessary font updates in _layoutText (PR 11097 follow-up) Jonas Jenwald 2019-08-28 16:08:06 +02:00
  • 594c49c571
    Bump mixin-deep from 1.3.1 to 1.3.2 dependabot[bot] 2019-08-28 00:33:12 +00:00
  • 184d416639
    Merge pull request #11097 from Snuffleupagus/textLayer-measure-width Tim van der Meij 2019-08-25 16:08:51 +02:00
  • d64b49831d
    Merge pull request #11095 from timvandermeij/api-attachments-unit-test Tim van der Meij 2019-08-25 15:22:51 +02:00
  • 09df1ee0ce
    Include a reduced, non-linked PDF file for the attachments API unit test Tim van der Meij 2019-08-24 19:57:35 +02:00
  • 97d3294d3d
    Merge pull request #11096 from timvandermeij/updates Tim van der Meij 2019-08-25 15:05:52 +02:00
  • a1398048e5 [TextLayer] Simplify building of the *expanded* transform in expandTextDivs Jonas Jenwald 2019-08-25 12:39:46 +02:00
  • b68f7bb404 [TextLayer] Only measure the width of the text, in _layoutText, for multi-char text divs Jonas Jenwald 2019-08-25 12:32:49 +02:00
  • 215c546fd5
    Upgrade to eslint version 6 Tim van der Meij 2019-08-24 20:21:10 +02:00
  • d9cd890228
    Update packages Tim van der Meij 2019-08-24 20:08:09 +02:00