Commit Graph

  • 8440958bcf Ensure that the DEFINES build target constants, in gulpfile.js, cannot be changed Jonas Jenwald 2020-05-10 13:38:58 +02:00
  • 9118cea9f7 Enable the ESLint default-case-last rule, and tweak the existing use-isnan rule Jonas Jenwald 2020-05-10 11:33:44 +02:00
  • f8bff283f3 Update ESLint to version 7 Jonas Jenwald 2020-05-10 11:32:46 +02:00
  • 1ee63dc465
    Merge pull request #11889 from Snuffleupagus/_parsedAnnotations-move-catch Tim van der Meij 2020-05-10 00:22:13 +02:00
  • 73636e052a Handle errors individually for each annotation in the _parsedAnnotations getter Jonas Jenwald 2020-05-09 11:58:09 +02:00
  • 7823d593f9
    Merge pull request #11880 from Snuffleupagus/issue-11875 Tim van der Meij 2020-05-08 23:42:12 +02:00
  • bf2ce760f0
    Merge pull request #11873 from Snuffleupagus/eslint-assert Tim van der Meij 2020-05-08 00:01:30 +02:00
  • 9c341cfec6
    Merge pull request #11879 from Snuffleupagus/eslint-grouped-accessor-pairs Tim van der Meij 2020-05-07 23:53:26 +02:00
  • af1bb04662 Attempt to respect the "zoom" hash parameter, even when the "nameddest" parameter is present (issue 11875) Jonas Jenwald 2020-05-07 13:53:07 +02:00
  • 744af9eeb8 Enable the ESLint grouped-accessor-pairs rule Jonas Jenwald 2020-05-07 11:43:19 +02:00
  • e1f340a0c2 Use the ESLint no-restricted-syntax rule to ensure that assert is always called with two arguments Jonas Jenwald 2020-05-05 12:40:01 +02:00
  • 491904d30a
    Merge pull request #11872 from Snuffleupagus/issue-11871 Tim van der Meij 2020-05-04 22:19:27 +02:00
  • c32f145c94
    Merge pull request #11863 from brendandahl/unsupported-features Tim van der Meij 2020-05-04 22:09:13 +02:00
  • b1be33c96f Add more categories of unsupported features. Brendan Dahl 2020-04-30 15:27:37 -07:00
  • 4aabd063fc Gracefully handle annotation parsing errors in Page.getOperatorList (issue 11871) Jonas Jenwald 2020-05-04 16:51:08 +02:00
  • 2711f4bc8c
    Merge pull request #11869 from Snuffleupagus/gulpfile-cleanup Tim van der Meij 2020-05-03 16:14:16 +02:00
  • a9e7798ac6 Split the createBundle helper function, in gulpfile.js, into separate ones for the main/worker-thread files Jonas Jenwald 2020-05-03 11:27:22 +02:00
  • 21495c1dd1 Remove the gulp bundle task since it's unused and doesn't really make sense Jonas Jenwald 2020-05-03 11:14:14 +02:00
  • d822578450
    Merge pull request #11868 from Snuffleupagus/update-packages Tim van der Meij 2020-05-02 14:52:12 +02:00
  • 30bd3b24c2 Update l10n files Jonas Jenwald 2020-05-02 13:25:28 +02:00
  • 8fac59de96 Update npm packages Jonas Jenwald 2020-05-02 13:23:41 +02:00
  • 822939cace
    Merge pull request #11864 from Snuffleupagus/rm-react-example Tim van der Meij 2020-05-01 23:52:41 +02:00
  • 3dc0567a37 Remove the create-react-app example (issue 11729) Jonas Jenwald 2020-05-01 12:31:25 +02:00
  • b6f69d47b6
    Merge pull request #11834 from xelan/feature/preserve-error-types Tim van der Meij 2020-04-28 23:47:24 +02:00
  • f5fd24a61f Preserve error types during translation Andreas Erhard 2020-04-22 13:35:45 +02:00
  • 8fb82e939c
    Merge pull request #11853 from timvandermeij/acroform-names Tim van der Meij 2020-04-27 17:05:06 +02:00
  • 371e699905
    Include the name for interactive form elements roccobeno 2020-04-27 16:51:18 +02:00
  • d469b420a7
    Merge pull request #11807 from timvandermeij/puppeteer Tim van der Meij 2020-04-27 13:39:30 +02:00
  • 9ebb18f505
    Implement a command line flag to skip Chrome when running tests Tim van der Meij 2020-04-18 23:04:28 +02:00
  • 4834a276fd
    Introduce Puppeteer for handling browsers during tests Tim van der Meij 2020-04-18 17:46:58 +02:00
  • d86720b7dc
    Identify browsers using the name instead of the path Tim van der Meij 2020-04-18 16:12:50 +02:00
  • bf416db23d
    Merge pull request #11847 from Snuffleupagus/move-maybeValidDimensions Tim van der Meij 2020-04-26 13:39:33 +02:00
  • 911c33f025 Move the maybeValidDimensions check, used with JPEG images, to occur earlier (PR 11523 follow-up) Jonas Jenwald 2020-04-26 12:01:22 +02:00
  • 7363308b97
    Merge pull request #11845 from Snuffleupagus/less-createObjectURL Tim van der Meij 2020-04-24 23:12:37 +02:00
  • fd9f3d7d5e Let PDFAttachmentViewer._bindPdfLink fallback to downloading the PDF file, when opening the blobUrl fails Jonas Jenwald 2020-04-24 13:17:04 +02:00
  • cd666e3a37 Use the native URL.createObjectURL method in web/pdf_attachment_viewer.js Jonas Jenwald 2020-04-24 11:50:58 +02:00
  • 0baabf69db Use the native URL.createObjectURL method more in web/firefoxcom.js Jonas Jenwald 2020-04-24 11:29:33 +02:00
  • cd2878755b
    Merge pull request #11844 from Snuffleupagus/API-release-font-data Tim van der Meij 2020-04-24 00:11:25 +02:00
  • e23d5f6022
    Merge pull request #11837 from Snuffleupagus/webviewerloaded-top Tim van der Meij 2020-04-23 23:56:50 +02:00
  • c355f91d2e [api-minor] Immediately release the font.data property once the font been attached to the DOM (PR 11777 follow-up) Jonas Jenwald 2020-04-23 13:04:57 +02:00
  • c8feea6990
    Merge pull request #11835 from Snuffleupagus/PageViewport-rotation-validation Tim van der Meij 2020-04-22 23:49:13 +02:00
  • 6ec42061a0
    Merge pull request #11831 from Snuffleupagus/Travis-Node-LTS Tim van der Meij 2020-04-22 23:45:43 +02:00
  • 479173ce45 Always attempt to dispatch the "webviewerloaded" event at the embedding document (PR 10318 follow-up, issue 11829) Jonas Jenwald 2020-04-22 18:04:30 +02:00
  • cdc60402f6 [api-minor] Change PageViewport to throw when the rotation is not a multiple of 90 degrees Jonas Jenwald 2020-04-22 15:18:27 +02:00
  • 0874b49302 Use Node LTS releases to fix Travis CI builds (issue 10790) Jonas Jenwald 2020-04-21 23:57:01 +02:00
  • 571f287983
    Merge pull request #11825 from Snuffleupagus/extensions-viewer-less-AppOptions-lookup Tim van der Meij 2020-04-21 23:31:52 +02:00
  • a13db5d91a
    Merge pull request #11823 from Snuffleupagus/validateOS2Table-improvement Tim van der Meij 2020-04-21 00:20:46 +02:00
  • f243f0564e
    Merge pull request #11826 from Snuffleupagus/issue-11657 Tim van der Meij 2020-04-21 00:15:14 +02:00
  • 5733d9dd24 Add a new "openfile" keyboard shortcut (Ctrl+O), in GENERIC builds Jonas Jenwald 2020-04-20 15:55:02 +02:00
  • a8a22283c3 Change the "download" keyboard shortcut (Ctrl+S) handling, in GENERIC/CHROME builds, to utilize the EventBus (issue 11657) Jonas Jenwald 2020-04-20 15:48:34 +02:00
  • 256aae02d2 Avoid reading the "disablePreferences"/"locale" options, when initializing the viewer, in extension builds Jonas Jenwald 2020-04-20 13:09:33 +02:00
  • 695140728a [src/core/fonts.js] Improve the validateOS2Table function Jonas Jenwald 2020-04-19 11:17:36 +02:00
  • 033d27fc25 [src/core/fonts.js] Replace some unnecessary Stream.getUint16() calls with Stream.skip(2) instead Jonas Jenwald 2020-04-19 10:29:26 +02:00
  • 4fae1ac5c4 [src/core/fonts.js] Replace some unnecessary Stream.getBytes(...) calls with Stream.skip(...) instead Jonas Jenwald 2020-04-19 10:22:38 +02:00
  • 49f59eb627
    Merge pull request #11822 from Snuffleupagus/update-packages Tim van der Meij 2020-04-18 14:44:39 +02:00
  • cf58f787f1 Update l10n files Jonas Jenwald 2020-04-18 11:11:19 +02:00
  • d67c1899b5 Update npm packages Jonas Jenwald 2020-04-18 11:08:46 +02:00
  • 44da021012
    Merge pull request #11814 from tamuratak/svg_text_vertical Tim van der Meij 2020-04-18 00:34:39 +02:00
  • 7b23476e61
    Merge pull request #11818 from Snuffleupagus/eslint-dot-notation Tim van der Meij 2020-04-18 00:19:47 +02:00
  • c1733d2bcd
    Merge pull request #11819 from Snuffleupagus/decodeScan-rm-findNextFileMarker-call Tim van der Meij 2020-04-18 00:10:46 +02:00
  • 2a292c7910
    Merge pull request #11821 from timgates42/bugfix_typo_occurrences Tim van der Meij 2020-04-18 00:04:19 +02:00
  • 8795a34563
    docs: Fix simple typo, occurences -> occurrences Tim Gates 2020-04-18 07:53:18 +10:00
  • 518d26dfb4 [src/core/jpg.js] Remove redundant marker validation at the end of the decodeScan function (PR 11805 follow-up) Jonas Jenwald 2020-04-17 15:40:02 +02:00
  • 1cc3dbb694 Enable the dot-notation ESLint rule Jonas Jenwald 2020-04-17 12:06:27 +02:00
  • 32f9cabf82 Support the vertical writing mode with SVG backend. Takashi Tamura 2020-01-28 16:16:39 +09:00
  • c218e94f66
    Merge pull request #11813 from AndyTeas/patch-1 Tim van der Meij 2020-04-16 23:32:58 +02:00
  • 69b3ab4c41
    Suppress browser autofill on page number AndyTeas 2020-04-16 09:49:17 +01:00
  • 96923eb2a6
    Merge pull request #11805 from Snuffleupagus/issue-11794 Tim van der Meij 2020-04-16 00:08:58 +02:00
  • a7def05aa1
    Merge pull request #11810 from Snuffleupagus/fromCodePoint-followup Tim van der Meij 2020-04-16 00:08:16 +02:00
  • b9cce0e0c1
    Merge pull request #11806 from Snuffleupagus/pr-10738-followup Tim van der Meij 2020-04-15 23:32:08 +02:00
  • 44b4a74f48 A couple of small String.fromCodePoint improvements (PR 11698 and 11769 follow-up) Jonas Jenwald 2020-04-15 13:34:13 +02:00
  • 06f6f8719f Always skip over any additional, unexpected, RSTx (restart) markers in corrupt JPEG images (issue 11794) Jonas Jenwald 2020-04-12 12:27:11 +02:00
  • 26cffd03b0 [src/core/jpg.js] Remove some redundant marker validation during the MCU parsing in the decodeScan function Jonas Jenwald 2020-04-11 15:49:25 +02:00
  • 746eaf3154 [api-minor] Fix the return value of PDFDocumentProxy.getViewerPreferences when no viewer preferences are present (PR 10738 follow-up) Jonas Jenwald 2020-04-12 16:29:31 +02:00
  • 50bc4a18e8
    Merge pull request #11809 from Snuffleupagus/Prettier-2 Tim van der Meij 2020-04-14 22:57:23 +02:00
  • 426945b480 Update Prettier to version 2.0 Jonas Jenwald 2020-04-14 12:28:14 +02:00
  • a4dd081d7b
    Merge pull request #11800 from Snuffleupagus/rm-gitpod-README Tim van der Meij 2020-04-11 18:56:35 +02:00
  • 5234c22c29 Remove any mention of Gitpod from the README (issue 11732) Jonas Jenwald 2020-04-11 16:47:27 +02:00
  • 71d16686e4
    Merge pull request #11799 from Snuffleupagus/allSettled Tim van der Meij 2020-04-11 16:02:19 +02:00
  • ecbcde7ff3 Fail early, in modern GENERIC builds, if certain required browser functionality is missing (PR 11771 follow-up) Jonas Jenwald 2020-04-11 13:42:03 +02:00
  • 8527303858
    Merge pull request #11797 from Snuffleupagus/mozcentral-ignore-fallback-cursor-images Tim van der Meij 2020-04-10 21:27:41 +02:00
  • ddd90e671d Don't bundle the fallback grab/grabbing cursor images when running gulp mozcentral Jonas Jenwald 2020-04-10 17:55:06 +02:00
  • 12aba0f91a
    Merge pull request #11789 from Snuffleupagus/bug-792816 Brendan Dahl 2020-04-09 13:28:04 -07:00
  • 8521f70157 Add a new pdfjs.enablePermissions preference, off by default, to allow the PDF documents to disable copying in the viewer (bug 792816) Jonas Jenwald 2020-04-08 16:53:31 +02:00
  • 4fe92605b7
    Merge pull request #11727 from Snuffleupagus/issue-11713 Tim van der Meij 2020-04-07 23:13:02 +02:00
  • 91efde5246 Add a heuristic to scale even single-char text, when the horizontal/vertical scaling differs significantly (issue 11713) Jonas Jenwald 2020-03-22 14:09:08 +01:00
  • 70c54ab9d9
    Merge pull request #11746 from Snuffleupagus/issue-11740 Tim van der Meij 2020-04-07 00:10:12 +02:00
  • 9871ccc69f
    Merge pull request #11777 from Snuffleupagus/Font-exportData-2 Tim van der Meij 2020-04-06 22:54:14 +02:00
  • 2d46230d23 [api-minor] Change Font.exportData to, by default, stop exporting properties which are completely unused on the main-thread and/or in the API (PR 11773 follow-up) Jonas Jenwald 2020-04-03 11:51:46 +02:00
  • 8770ca3014 Make the decryptAscii helper function, in src/core/type1_parser.js, slightly more efficient Jonas Jenwald 2020-03-26 12:49:20 +01:00
  • 938d519192 Create the glyph mapping correctly for composite Type1, i.e. CIDFontType0, fonts (issue 11740) Jonas Jenwald 2020-03-25 14:06:01 +01:00
  • 6a8c591301 Improve detection of binary/ASCII eexec encrypted Type1 font programs in Type1Parser (issue 11740) Jonas Jenwald 2020-03-25 13:57:51 +01:00
  • 2619272d73 Change the signature of TranslatedFont, and convert it to a proper class Jonas Jenwald 2020-04-03 10:19:02 +02:00
  • 0400109b87
    Merge pull request #11773 from Snuffleupagus/Font-exportData-1 Tim van der Meij 2020-04-05 20:50:33 +02:00
  • 59f54b946d Ensure that all Font instances have the vertical property set to a boolean Jonas Jenwald 2020-04-01 13:40:35 +02:00
  • c5e1fd3fde Use "standard" shadowing in the Font.spaceWidth method Jonas Jenwald 2020-03-31 13:45:20 +02:00
  • a5e4cccf13 [api-minor] Prevent Font.exportData from exporting internal/unused properties Jonas Jenwald 2020-03-30 13:19:36 +02:00
  • 664f7de540 Change Font.exportData to use an explicit white-list of exportable properties Jonas Jenwald 2020-03-30 12:28:57 +02:00
  • 09cccd8ecc
    Merge pull request #11780 from Snuffleupagus/refactor-PDFViewerApplication-load Tim van der Meij 2020-04-05 15:46:36 +02:00
  • 9ef58347ed A couple of small improvements of the PDFViewerApplication.{_initializeMetadata, _initializePdfHistory} methods Jonas Jenwald 2020-04-05 11:15:21 +02:00