Commit Graph

  • 3067917582
    Merge pull request #12004 from Snuffleupagus/worker-class Tim van der Meij 2020-06-17 23:23:17 +02:00
  • 880a0a0f59 Convert the code in src/core/cff_parser.js to use ES6 classes Jonas Jenwald 2020-06-16 12:33:21 +02:00
  • fb9b574f3d Convert the code in src/core/worker.js to use ES6 classes Jonas Jenwald 2020-06-16 11:44:33 +02:00
  • 6bb64da1c3
    Merge pull request #12002 from Snuffleupagus/cff-encodeNumber Tim van der Meij 2020-06-15 23:49:14 +02:00
  • 87b089ba42 Lazily initialize, and cache, the regular expression used in CFFCompiler.encodeFloat Jonas Jenwald 2020-06-15 13:24:20 +02:00
  • 517d92a121 Simplify the "is integer" checks in CFFCompiler.encodeNumber Jonas Jenwald 2020-06-15 13:18:43 +02:00
  • a91f24cda9
    Merge pull request #12001 from Snuffleupagus/cache-ColorSpace-locally Tim van der Meij 2020-06-14 13:20:13 +02:00
  • 5c39de805c Add local caching of ColorSpaces, by name, in PartialEvaluator.getOperatorList (issue 2504) Jonas Jenwald 2020-06-13 14:12:40 +02:00
  • 6fb08271b4
    Merge pull request #12000 from Snuffleupagus/buildImage-errors Tim van der Meij 2020-06-14 00:20:43 +02:00
  • 8f7128da15
    Merge pull request #11999 from Snuffleupagus/update-packages Tim van der Meij 2020-06-14 00:11:42 +02:00
  • 4b51bcc733 Ensure that PDFImage.buildImage won't accidentally swallow errors, e.g. from ColorSpace parsing (issue 6707, PR 11601 follow-up) Jonas Jenwald 2020-06-13 14:41:34 +02:00
  • 960d639dee Update l10n files Jonas Jenwald 2020-06-13 10:39:20 +02:00
  • 603a9e3ea3 Update npm packages Jonas Jenwald 2020-06-13 10:36:11 +02:00
  • c809f00b3b
    Merge pull request #11997 from Snuffleupagus/nullish-coalescing Tim van der Meij 2020-06-13 00:07:32 +02:00
  • d75a068212
    Merge pull request #11969 from emalysz/11961-unsupported-feature-telemetry-error Tim van der Meij 2020-06-13 00:04:05 +02:00
  • b4ae958ca4 Add basic support for the nullish coalescing operator ?? Jonas Jenwald 2020-06-12 15:08:51 +02:00
  • 05fe9c85b6 For #11961: collect telemetry on all unique unsupported features that trigger fallback error. Emma Malysz 2020-06-04 11:01:41 -07:00
  • 973936f469
    Merge pull request #11993 from Snuffleupagus/OperatorList-dependencies-set Tim van der Meij 2020-06-11 23:43:10 +02:00
  • 63a7aaa6f6
    Merge pull request #11992 from Snuffleupagus/preprocessor-rm-HTML-comment-trailing-whitespace Tim van der Meij 2020-06-11 23:40:39 +02:00
  • 10f31bb46d Change the dependencies property, on OperatorList instances, from an Object to a Set Jonas Jenwald 2020-06-11 16:26:24 +02:00
  • 02a1d0f6c5 Remove the unused intent/pageIndex properties from OperatorList instances (PR 11069 follow-up) Jonas Jenwald 2020-06-11 16:05:38 +02:00
  • 85a67456ed Prevent the (old) preprocessor from appending trailing whitespace when removing closing HTML comments Jonas Jenwald 2020-06-11 12:15:18 +02:00
  • c9934de87c
    Merge pull request #11987 from Snuffleupagus/svg-paintImageXObject-GlobalImageCache Tim van der Meij 2020-06-10 23:37:45 +02:00
  • 00d45fce33 Update SVGGraphics to account for globally cached images (PR 11912 follow-up) Jonas Jenwald 2020-06-10 15:31:26 +02:00
  • a327f386ff
    Merge pull request #11985 from Snuffleupagus/rm-isEmptyObj Tim van der Meij 2020-06-10 00:01:14 +02:00
  • 88fdb482b0 Move the isEmptyObj helper function from src/shared/util.js to test/unit/test_utils.js Jonas Jenwald 2020-06-09 16:48:03 +02:00
  • 159e13c4e4 Convert the ChunkedStreamManager.promisesByRequest property to a Map Jonas Jenwald 2020-06-09 16:25:41 +02:00
  • dda7a5d1b7 Convert the ChunkedStreamManager.requestsByChunk property to a Map Jonas Jenwald 2020-06-09 16:06:26 +02:00
  • 17e23ffb33 Convert the ChunkedStreamManager.chunksNeededByRequest property to a Map (containing Sets) Jonas Jenwald 2020-06-09 11:46:56 +02:00
  • a4fa4554d6
    Merge pull request #11977 from timvandermeij/refset Tim van der Meij 2020-06-07 23:15:35 +02:00
  • 4c2e056796
    Convert the RefSet primitive to a proper class and use a Set internally Tim van der Meij 2020-06-07 18:51:05 +02:00
  • 4c36dadfe2
    Merge pull request #11978 from timvandermeij/unit-test-primitives Tim van der Meij 2020-06-07 18:58:17 +02:00
  • 550a38f1ba
    Improve unit test coverage for primitives Tim van der Meij 2020-06-07 15:06:54 +02:00
  • 4cfeda31fa
    Merge pull request #11976 from Snuffleupagus/rm-dead-network-code Tim van der Meij 2020-06-07 17:27:06 +02:00
  • 466d10f6fc Remove unused methods from NetworkManager, in src/display/network.js Jonas Jenwald 2020-06-07 16:03:32 +02:00
  • 2bd0690fdd
    Convert var to const/let in test/unit_primitives_spec.js Tim van der Meij 2020-06-07 15:04:24 +02:00
  • c97200ff59
    Merge pull request #11974 from Snuffleupagus/sendImgData Tim van der Meij 2020-06-07 13:53:26 +02:00
  • b779507370
    Merge pull request #11963 from tamuratak/srgb_conv Tim van der Meij 2020-06-07 13:09:41 +02:00
  • df7d8c74ca Extract the actual sending of image data from the PartialEvaluator.buildPaintImageXObject method Jonas Jenwald 2020-06-07 12:01:51 +02:00
  • aff0d56326 Remove an unnecessary RefSetCache.prototype.has() call from GlobalImageCache.getData Jonas Jenwald 2020-06-07 11:56:04 +02:00
  • 7acb112ca9 Optimization: Avoid calling Math.pow if possible when calculating the transfer function of the CalRGB color space since calling Math.pow is expensive. Takashi Tamura 2020-06-02 22:26:39 +09:00
  • 039307f88c
    Merge pull request #11972 from Snuffleupagus/ChunkedStream-loadedChunks-Set Tim van der Meij 2020-06-06 00:12:14 +02:00
  • 891c706aa8
    Merge pull request #11953 from emalysz/11838-fallback-after-click Tim van der Meij 2020-06-06 00:03:19 +02:00
  • b7272a34eb Change the loadedChunks property, on ChunkedStream instances, from an Array to a Set Jonas Jenwald 2020-06-05 14:10:51 +02:00
  • 7aa1b2d418
    Merge pull request #11964 from aplum/fix-webpack-import Tim van der Meij 2020-06-04 23:56:49 +02:00
  • ad261a2da4
    Merge pull request #11967 from havocbcn/jpg-rgb Tim van der Meij 2020-06-04 23:53:45 +02:00
  • 802aa14a99 Jpeg encoded with RGB -instead of YCbCr- write the components index as "RGB" in ASCII to say it so Carlos Rodríguez 2020-06-04 08:43:46 +02:00
  • 6e9d158a98 For #11838: trigger fallback bar after user clicks in pdf Emma Malysz 2020-06-01 10:28:30 -07:00
  • 3b9031f6a3 Fix pdfjs-dist/webpack causing errors with certain configs Alex Plumley 2020-06-03 14:50:41 -04:00
  • 96ad60f116
    Merge pull request #11958 from Snuffleupagus/rm-getOpenActionDestination Tim van der Meij 2020-06-02 23:51:55 +02:00
  • 64378fc366 [api-minor] Remove the deprecated PDFDocumentProxy.getOpenActionDestination method (PR 11644 follow-up) Jonas Jenwald 2020-06-02 12:25:15 +02:00
  • 8fc1126b5a
    Merge pull request #11948 from timvandermeij/bump Tim van der Meij 2020-06-01 12:51:06 +02:00
  • a98b81f8ae
    Bump versions in pdfjs.config and update the getting started page of the website for the new release Tim van der Meij 2020-06-01 12:45:04 +02:00
  • 0974d60523
    Merge pull request #11947 from Snuffleupagus/GlobalImageCache-assert-not-inline v2.5.207 Tim van der Meij 2020-06-01 11:39:40 +02:00
  • af815e417d Ensure that that we don't attempt to cache *inline* images in the GlobalImageCache (PR 11912 follow-up) Jonas Jenwald 2020-06-01 00:55:10 +02:00
  • 5879710327
    Merge pull request #11945 from Snuffleupagus/update-packages Tim van der Meij 2020-05-30 14:24:25 +02:00
  • f2cbd5de42 Update l10n files Jonas Jenwald 2020-05-30 11:01:34 +02:00
  • da482310ee Update npm packages Jonas Jenwald 2020-05-30 10:58:10 +02:00
  • 878619956b
    Merge pull request #11943 from Snuffleupagus/cleanup-preprocessCSS Tim van der Meij 2020-05-29 23:52:25 +02:00
  • d7dee0ea1c Remove the hasPrefixedFirefox functionality from the external/builder/builder.js file Jonas Jenwald 2020-05-29 17:18:16 +02:00
  • ce234ab3c7 Remove the deprecatedInMozcentral functionality from the external/builder/builder.js file Jonas Jenwald 2020-05-29 17:14:38 +02:00
  • fe5689705d
    Merge pull request #11930 from Snuffleupagus/LocalImageCache Tim van der Meij 2020-05-28 00:12:37 +02:00
  • efc2588d12
    Merge pull request #11940 from Snuffleupagus/pdf.js-export-comments Tim van der Meij 2020-05-27 23:58:53 +02:00
  • 15493ebdc3
    Merge pull request #11939 from Snuffleupagus/acorn-7 Tim van der Meij 2020-05-27 23:57:58 +02:00
  • 4d60430b1c Add comments to the export list in the src/pdf.js file (PR 11914 follow-up) Jonas Jenwald 2020-05-27 13:52:41 +02:00
  • 6a1490faa7 Update Acorn to version 7 Jonas Jenwald 2020-05-27 11:51:22 +02:00
  • 4ef547f400 Improve caching of empty /XObjects in the PartialEvaluator.getTextContent method Jonas Jenwald 2020-05-26 09:47:59 +02:00
  • d62c9181bd Improve the *local* image caching in PartialEvaluator.getOperatorList Jonas Jenwald 2020-05-23 13:55:31 +02:00
  • 9d38dd4e8b
    Merge pull request #11927 from timvandermeij/svg-fill-opacity-shading Tim van der Meij 2020-05-24 14:29:22 +02:00
  • f14215da37
    Implement fill opacity for shading patterns in the SVG back-end Tim van der Meij 2020-05-24 13:53:29 +02:00
  • 3b615e4ca3
    Merge pull request #11601 from Snuffleupagus/rm-nativeImageDecoderSupport Tim van der Meij 2020-05-23 15:33:46 +02:00
  • cd6d089489
    Merge pull request #11926 from Snuffleupagus/GlobalImageCache-clear-onlyData Tim van der Meij 2020-05-23 12:21:38 +02:00
  • 8af70d75aa Allow GlobalImageCache.clear to, optionally, only remove the actual data (PR 11912 follow-up) Jonas Jenwald 2020-05-23 11:21:32 +02:00
  • 973f39b558
    Merge pull request #11924 from Snuffleupagus/issue-11922 Tim van der Meij 2020-05-23 00:32:12 +02:00
  • 56ebf01ae0 Avoid hanging the worker-thread for CMap data with ridiculously large ranges (issue 11922) Jonas Jenwald 2020-05-22 14:07:28 +02:00
  • ebef67b354 Stop building any src/ files during the gulp default_preferences task Jonas Jenwald 2020-03-21 12:53:20 +01:00
  • 18e0b10d3c [api-minor] Remove the disableCreateObjectURL option from the getDocument parameters, since it's now unused in the API Jonas Jenwald 2020-01-29 11:37:52 +01:00
  • cc4cc8b11b Remove the, now unused, releaseImageResources helper function Jonas Jenwald 2020-01-29 11:14:01 +01:00
  • 0351852d74 [api-minor] Decode all JPEG images with the built-in PDF.js decoder in src/core/jpg.js Jonas Jenwald 2020-01-20 12:10:16 +01:00
  • 4a3a24b002
    Merge pull request #11912 from Snuffleupagus/GlobalImageCache Tim van der Meij 2020-05-21 23:54:28 +02:00
  • dda6626f40 Attempt to cache repeated images at the document, rather than the page, level (issue 11878) Jonas Jenwald 2020-05-18 14:17:56 +02:00
  • 604a6f96aa
    Merge pull request #11919 from Snuffleupagus/less-SystemJS Tim van der Meij 2020-05-20 14:50:26 +02:00
  • 8d56a69e74 Reduce usage of SystemJS, in the development viewer, even further Jonas Jenwald 2020-05-19 18:00:23 +02:00
  • a5c60cdd31
    Merge pull request #11914 from Snuffleupagus/less-require Tim van der Meij 2020-05-20 13:28:44 +02:00
  • e2c3312416 Convert the src/pdf.js and src/pdf.worker.js files to use standard import/export statements Jonas Jenwald 2020-05-19 15:13:43 +02:00
  • d4d933538b Re-factor setPDFNetworkStreamFactory, in src/display/api.js, to also accept an asynchronous function Jonas Jenwald 2020-05-19 15:10:05 +02:00
  • 0960e6c0b5
    Merge pull request #11917 from Snuffleupagus/bug-1632644 Tim van der Meij 2020-05-20 12:55:20 +02:00
  • 93e7f630c1 Remove unnecessary empty string fallback from the getPDFFileNameFromURL call in web/pdf_document_properties.js (PR 10114 follow-up) Jonas Jenwald 2020-05-20 11:30:03 +02:00
  • 108258a8f8 [Firefox] Allow PDF attachments to, once again, be opened directly in the browser (bug 1632644) Jonas Jenwald 2020-05-20 11:27:29 +02:00
  • 6ffcedc24b
    Merge pull request #11911 from Snuffleupagus/getDefaultPreferences-rm-SystemJS Tim van der Meij 2020-05-16 23:48:28 +02:00
  • 8f24415a46 Remove the SystemJS dependency from the web/preferences.js file Jonas Jenwald 2020-05-16 16:00:19 +02:00
  • 34218ed192
    Merge pull request #11910 from Snuffleupagus/update-packages Tim van der Meij 2020-05-16 14:31:20 +02:00
  • c12c92e598 Update l10n files Jonas Jenwald 2020-05-16 11:47:08 +02:00
  • 4f6664f3f5 Update npm packages Jonas Jenwald 2020-05-16 11:44:41 +02:00
  • 887d2f2948 Update the eslint-plugin-unicorn package Jonas Jenwald 2020-05-16 11:43:21 +02:00
  • 15087c35d1
    Merge pull request #11905 from Snuffleupagus/less-require Tim van der Meij 2020-05-15 11:28:10 +02:00
  • ec0ab91a2b Reduce the usage of require statements in code-paths not protected by pre-processor and/or run-time checks Jonas Jenwald 2020-05-14 15:55:11 +02:00
  • 8b9492a5c4
    Merge pull request #11892 from Snuffleupagus/minified-es5 Tim van der Meij 2020-05-11 23:17:52 +02:00
  • fd80bc8178
    Merge pull request #11890 from Snuffleupagus/eslint-7 Tim van der Meij 2020-05-11 23:11:08 +02:00
  • 9b71ccb13b Add a minified-es5 gulp task (issue 11858) Jonas Jenwald 2020-05-10 13:41:42 +02:00