Commit Graph

  • 835b5ffddd Only check isType3Font the first time that TranslatedFont.loadType3Data is called Jonas Jenwald 2020-07-27 13:00:24 +02:00
  • f3ff526019 Send/receive Type3 images the same way as other globally-cached images Jonas Jenwald 2020-07-26 18:05:38 +02:00
  • 7c9d0d5939 Improve how Type3-fonts with dependencies are handled Jonas Jenwald 2020-07-26 12:23:28 +02:00
  • c7eb79ca66
    Merge pull request #12125 from timvandermeij/puppeteer Tim van der Meij 2020-07-26 21:55:33 +02:00
  • 65e76a3c6b
    Fix a bug in the temporary folder check in the test runner Tim van der Meij 2020-07-26 14:50:37 +02:00
  • c7c6c90062
    Limit the allowed versions for Jasmine and Puppeteer Tim van der Meij 2020-07-26 20:34:14 +02:00
  • 01e2610cf4
    Merge pull request #12126 from Snuffleupagus/unittest-shall_fail_cleanup Tim van der Meij 2020-07-26 14:33:12 +02:00
  • 86a8fd9810 Attempt to reduce intermittent failures in the "cleans up document resources during rendering of page" unit-test Jonas Jenwald 2020-07-26 13:54:41 +02:00
  • 7ffbda3396
    Merge pull request #12124 from Snuffleupagus/unittest-browser-name Tim van der Meij 2020-07-26 14:02:25 +02:00
  • e4ad91be05 Include the browser name when printing unit-test results Jonas Jenwald 2020-07-26 12:54:16 +02:00
  • 311ca6e796
    Merge pull request #12122 from Snuffleupagus/update-packages Tim van der Meij 2020-07-26 12:34:29 +02:00
  • ca61910a2c Update l10n files Jonas Jenwald 2020-07-26 11:17:35 +02:00
  • 47ab676225 Update npm packages Jonas Jenwald 2020-07-26 11:15:21 +02:00
  • bf539deada
    Merge pull request #12106 from calixteman/storage Tim van der Meij 2020-07-24 23:49:37 +02:00
  • 584902dbf8 Add an annotation storage in order to save annotation data in acroforms Calixte Denizet 2020-07-22 13:55:52 +02:00
  • 7b0c52fdfe
    Merge pull request #12114 from Snuffleupagus/viewer-PDFJSDev-cleanup Tim van der Meij 2020-07-23 23:47:26 +02:00
  • 1c809c87af Remove a couple of unnecessary PDFJSDev checks from the viewer Jonas Jenwald 2020-07-23 18:06:02 +02:00
  • d69fb446bf
    Merge pull request #12023 from escapewindow/issue9297 Tim van der Meij 2020-07-17 19:48:14 +02:00
  • 90689cf08e
    Merge pull request #12101 from Snuffleupagus/Dict-size-getRawValues Tim van der Meij 2020-07-17 19:22:07 +02:00
  • 04db9d902f ignore isFirstPagePortrait in getPagesOverview Aki Sasaki 2020-06-24 16:04:42 -07:00
  • 684a7b89ac Remove unnecessary duplication in the addChildren helper function (used by the ObjectLoader) Jonas Jenwald 2020-07-17 13:50:02 +02:00
  • ea8e432c45 Add a getRawValues method, to Dict instances, to provide an easier way of getting all *raw* values Jonas Jenwald 2020-07-17 12:57:34 +02:00
  • 6381b5b08f Add a size getter, to Dict instances, to provide an easier way of checking the number of entries Jonas Jenwald 2020-07-16 11:57:50 +02:00
  • e63d1ebff5
    Merge pull request #12087 from Snuffleupagus/LocalGStateCache Tim van der Meij 2020-07-17 16:02:45 +02:00
  • c55122c828
    Merge pull request #12089 from timvandermeij/refsetcache Tim van der Meij 2020-07-17 15:38:09 +02:00
  • b19a1796ac
    Convert RefSetCache to a proper class and to use a Map internally Tim van der Meij 2020-07-12 12:00:42 +02:00
  • 29adbb7cd7
    Implement unit tests for the RefSetCache primitive Tim van der Meij 2020-07-12 11:51:27 +02:00
  • a604973cc7
    Merge pull request #12085 from tamuratak/fix_isnodejs Tim van der Meij 2020-07-17 13:29:59 +02:00
  • 7d26f4147f
    Merge pull request #12099 from Snuffleupagus/hasBlendModes-RefSet Tim van der Meij 2020-07-17 12:37:37 +02:00
  • b3480842b3 Use a RefSet, rather than a plain Object, for tracking already processed nodes in PartialEvaluator.hasBlendModes Jonas Jenwald 2020-07-15 12:05:05 +02:00
  • 03547b5633 Change PartialEvaluator.setGState to an async method Jonas Jenwald 2020-07-15 14:25:24 +02:00
  • f20aeb9343 Slightly simplify the code in PartialEvaluator.hasBlendModes, e.g. by using for...of loops Jonas Jenwald 2020-07-15 11:51:45 +02:00
  • 15fa3f8518 Remove a redundant /XObject stream dictionary objId check in PartialEvaluator.hasBlendModes (PR 6971 follow-up) Jonas Jenwald 2020-07-15 12:30:30 +02:00
  • 84476da26e Handle lookup errors "silently" in PartialEvaluator.hasBlendModes (PR 11680 follow-up) Jonas Jenwald 2020-07-14 13:00:35 +02:00
  • 981ff41b5f Add local caching of non-font Graphics State (ExtGState) data in PartialEvaluator.getTextContent Jonas Jenwald 2020-07-11 14:05:53 +02:00
  • 90eb579713 Add local caching of "simple" Graphics State (ExtGState) data in PartialEvaluator.getOperatorList (issue 2813) Jonas Jenwald 2020-07-11 13:52:11 +02:00
  • 6c39aff374
    Merge pull request #12090 from Snuffleupagus/rm-not-xobj Tim van der Meij 2020-07-13 23:50:08 +02:00
  • cf0ed3c30a
    Merge pull request #12092 from Snuffleupagus/update-packages Tim van der Meij 2020-07-13 23:45:35 +02:00
  • 8256981aca Update l10n files Jonas Jenwald 2020-07-13 11:08:28 +02:00
  • 20ad4337ac Fix *most* vulnerabilities reported by npm audit Jonas Jenwald 2020-07-13 11:06:47 +02:00
  • fac5b5ff0c Update npm packages Jonas Jenwald 2020-07-13 11:05:50 +02:00
  • d4d7ac1b88 Stop special-casing the (very unlikely) "no /XObject found"-scenario, when parsing OPS.paintXObject operators, in PartialEvaluator.{getOperatorList, getTextContent} Jonas Jenwald 2020-07-12 16:34:05 +02:00
  • 473ea1f1a4 Make the detection of Node.js environments on Electron strict. The main process and its child processes should be detected as Node.js environments. Takashi Tamura 2020-07-11 14:11:36 +09:00
  • 7dabc5ecc8
    Merge pull request #12063 from Snuffleupagus/issue-10989 Tim van der Meij 2020-07-11 00:05:11 +02:00
  • c11fc3acfc
    Merge pull request #12083 from Snuffleupagus/ColorSpace-rm-IR Tim van der Meij 2020-07-11 00:00:45 +02:00
  • d18cf47419 Remove the special handling, used when creating Indexed ColorSpaces, for the case where the lookup-data is a Stream Jonas Jenwald 2020-07-10 16:12:20 +02:00
  • ea6a0e4435 Remove the IR (internal representation) part of the ColorSpace parsing Jonas Jenwald 2020-07-10 16:01:33 +02:00
  • 38cf49bb81
    Merge pull request #12070 from Snuffleupagus/createFontId Tim van der Meij 2020-07-09 23:44:33 +02:00
  • 72d71ba6a5
    Merge pull request #12056 from Snuffleupagus/_delayedFallback Tim van der Meij 2020-07-09 00:10:40 +02:00
  • f9157ec243 Unconditionally report telemetry, in the viewer, regardless of build target Jonas Jenwald 2020-07-08 15:35:09 +02:00
  • 625f8a6f51 Refactor/simplify the "delayedFallback" handling in the default viewer Jonas Jenwald 2020-07-04 11:29:46 +02:00
  • 780faf6b26
    Merge pull request #12072 from mozilla/dependabot/npm_and_yarn/npm-6.14.6 Tim van der Meij 2020-07-08 00:14:02 +02:00
  • 82b1930452
    Bump npm from 6.14.5 to 6.14.6 dependabot[bot] 2020-07-07 19:25:19 +00:00
  • 4cc6797f17 Re-factor the idFactory functionality, used in the core/-code, and move the fontID generation into it Jonas Jenwald 2020-07-07 16:00:05 +02:00
  • cf8daaf78b
    Merge pull request #12060 from Snuffleupagus/evaluator-class Tim van der Meij 2020-07-06 23:50:36 +02:00
  • 1d66fce781 Tweak the heuristic, in src/core/jpg.js, that handles JPEG images with a wildly incorrect SOF (Start of Frame) scanLines parameter (issue 10989) Jonas Jenwald 2020-07-06 13:02:41 +02:00
  • c95fbb6e21 Convert the code in src/core/evaluator.js to use standard classes Jonas Jenwald 2020-07-05 12:20:10 +02:00
  • 32a0b6fa73 Move some constants and helper functions out of the PartialEvaluator closure Jonas Jenwald 2020-07-05 12:06:56 +02:00
  • c4255fdbfd
    Merge pull request #12059 from Snuffleupagus/image-class Tim van der Meij 2020-07-05 14:08:55 +02:00
  • 4ef43ca44b
    Merge pull request #12057 from Snuffleupagus/BaseLocalCache-onlyRefs Tim van der Meij 2020-07-05 14:05:45 +02:00
  • 59da1d5829 Convert the code in src/core/image.js to use ES6 classes Jonas Jenwald 2020-07-05 09:34:14 +02:00
  • 85ced3fbfd Allow BaseLocalCache to, optionally, only allocate storage for caching of references (PR 12034 follow-up) Jonas Jenwald 2020-07-04 14:52:10 +02:00
  • 29548ad498
    Merge pull request #12034 from Snuffleupagus/Function-local-cache-3 Tim van der Meij 2020-07-04 12:05:15 +02:00
  • ca719ecaa4 Add local caching of Functions, by reference, in the PDFFunctionFactory (issue 2541) Jonas Jenwald 2020-06-28 13:12:24 +02:00
  • 1f7175542e
    Merge pull request #12039 from Snuffleupagus/Node-utils Tim van der Meij 2020-07-04 00:42:52 +02:00
  • 4a7e29865d [api-minor] Use the NodeCanvasFactory/NodeCMapReaderFactory classes as defaults in Node.js environments (issue 11900) Jonas Jenwald 2020-06-29 13:18:51 +02:00
  • fe3df495cc
    Merge pull request #12040 from wojtekmaj/replace-non-inclusive Brendan Dahl 2020-07-01 15:41:41 -07:00
  • ec635b822a
    Merge pull request #12044 from Snuffleupagus/issue-12010 Tim van der Meij 2020-07-02 00:16:28 +02:00
  • fef24658e7 Adjust the heuristics used when dealing with rectangles, i.e. re operators, with zero width/height (issue 12010) Jonas Jenwald 2020-06-30 12:18:06 +02:00
  • 75fed02630
    Merge pull request #12043 from Snuffleupagus/issue-4260-test Tim van der Meij 2020-07-01 23:51:21 +02:00
  • 3359739ffe
    Merge pull request #12036 from Snuffleupagus/test-renderTaskOnContinue Tim van der Meij 2020-07-01 23:48:37 +02:00
  • 4097c83602
    Merge pull request #12049 from Snuffleupagus/eslint_no-promise-executor-return Tim van der Meij 2020-07-01 23:44:28 +02:00
  • 4bc5bc454e Enable the no-promise-executor-return ESLint rule Jonas Jenwald 2020-07-01 13:01:39 +02:00
  • e451cabe37 Add a reduced test-case for issue 4260 (PR 4521 follow-up) Jonas Jenwald 2020-06-30 09:24:01 +02:00
  • bce306f168
    Merge pull request #12041 from sylvestre/patch-1 Brendan Dahl 2020-06-29 13:36:06 -07:00
  • 529062a61b
    Replace Mozilla Labs by just Mozilla Sylvestre Ledru 2020-06-29 17:48:35 +02:00
  • 78970bbbe1
    Replace non-inclusive "whitelist" term with "allowlist" Wojciech Maj 2020-06-29 17:15:14 +02:00
  • 4a5b68e077 Add at least *some* test-coverage for the RenderTask.onContinue functionality Jonas Jenwald 2020-06-28 20:14:03 +02:00
  • 9993397e30
    Merge pull request #12032 from Snuffleupagus/update-packages Tim van der Meij 2020-06-28 15:24:53 +02:00
  • 93b1887512 Update l10n files Jonas Jenwald 2020-06-27 11:37:41 +02:00
  • ff3fbb91b9 Fix *most* vulnerabilities reported by npm audit Jonas Jenwald 2020-06-27 11:32:51 +02:00
  • 1d6d1c78ae Update npm packages Jonas Jenwald 2020-06-27 11:30:30 +02:00
  • d8d6a98418
    Merge pull request #12028 from Snuffleupagus/issue-11124 Tim van der Meij 2020-06-26 23:34:54 +02:00
  • 43c2219517
    Merge pull request #12024 from DylanLacey/update_needle Tim van der Meij 2020-06-26 23:15:51 +02:00
  • 28d2ada59c Attempt to detect inline images which contain "EI" sequence in the actual image data (issue 11124) Jonas Jenwald 2020-06-26 12:36:28 +02:00
  • f2b295882f Update Needle to 2.5.0 or greater. Dylan Lacey 2020-06-25 13:54:54 +10:00
  • 276d917b7c
    Merge pull request #12012 from Snuffleupagus/ColorSpace-parse-cache Tim van der Meij 2020-06-25 00:06:32 +02:00
  • b8e1352934 Stop passing in unnecessary parameters when parsing the Alternate entry of ICCBased ColorSpaces (PR 9659 follow-up) Jonas Jenwald 2020-06-23 22:08:08 +02:00
  • 19d7976483 Improve (local) caching of parsed ColorSpaces (PR 12001 follow-up) Jonas Jenwald 2020-06-17 18:45:11 +02:00
  • 51e87b9248 Add a proper LocalColorSpaceCache class, rather than piggybacking on the image one (PR 12001 follow-up) Jonas Jenwald 2020-06-17 18:29:50 +02:00
  • e22bc483a5 Re-factor ColorSpace.parse to take a parameter object, rather than a bunch of (randomly) ordered parameters Jonas Jenwald 2020-06-17 18:17:43 +02:00
  • ac4a5c3ace
    Merge pull request #12021 from Snuffleupagus/move-fetchBuiltInCMap Tim van der Meij 2020-06-24 23:44:52 +02:00
  • f0708717a9 Move the fetchBuiltInCMap method to the PartialEvaluator.prototype Jonas Jenwald 2020-06-24 17:23:41 +02:00
  • c1cb9ee9fc
    Merge pull request #12016 from Snuffleupagus/issue-8078 Tim van der Meij 2020-06-21 19:38:27 +02:00
  • 3c81b5e26e
    Merge pull request #12017 from Snuffleupagus/api-intentStates-Map Tim van der Meij 2020-06-21 19:30:34 +02:00
  • 4cb0c032f3 Convert the PDFPageProxy.intentStates property from an Object to a Map Jonas Jenwald 2020-06-21 16:42:39 +02:00
  • cabc2cc4fc Add a InternalRenderTask.completed getter and use it to simplify PDFPageProxy._destroy Jonas Jenwald 2020-06-21 15:38:09 +02:00
  • a04a5d8325 Tweak the loop in ChunkedStreamManager.abort to clarify what's being iterated (PR 11985 follow-up) Jonas Jenwald 2020-06-21 11:29:05 +02:00
  • e18fa3fc45 Tweak the QueueOptimizer to recognize OPS.paintImageMaskXObject operators as *repeated* when the "skew" transformation matrix elements are non-zero (issue 8078) Jonas Jenwald 2020-06-20 11:34:41 +02:00
  • 8cfdfb237a
    Merge pull request #12005 from Snuffleupagus/cff-class Tim van der Meij 2020-06-17 23:30:28 +02:00