Commit Graph

  • a12f78154c Use the native URL.createObjectURL method in web/debugger.js Jonas Jenwald 2020-01-28 21:00:33 +01:00
  • f5a617a334 Make the decodeHuffman function, in src/core/jpg.js, slightly more efficient Jonas Jenwald 2020-01-28 14:23:58 +01:00
  • 78afefbfb4 Add a README file to the /lib folder in pdfjs-dist (issue 11539) Jonas Jenwald 2020-01-28 11:26:40 +01:00
  • 474fe1757e
    Merge pull request #11508 from Snuffleupagus/jpg-default-marker Tim van der Meij 2020-01-26 21:32:13 +01:00
  • 3a251db6a3
    Merge pull request #11535 from Snuffleupagus/Popup-annotation-render-last Tim van der Meij 2020-01-26 21:31:52 +01:00
  • 62b2b984cc Render Popup annotations last, once all other annotations have been rendered (issue 11362) Jonas Jenwald 2020-01-25 16:53:34 +01:00
  • 427df2dfd7 Send the verbosity level when setting up fake workers (issue 11536) Jonas Jenwald 2020-01-26 12:21:23 +01:00
  • 13930e5202 Simplify the handling of unsupported/incorrect markers in src/core/jpg.js Jonas Jenwald 2020-01-13 13:32:23 +01:00
  • 3775b711ed
    Merge pull request #11482 from Snuffleupagus/more-core-utils Tim van der Meij 2020-01-25 21:38:34 +01:00
  • cbbda9d883
    Merge pull request #11515 from Snuffleupagus/cache-fallback-font Tim van der Meij 2020-01-25 21:32:28 +01:00
  • 188b320e18 Convert src/core/jpg.js to use the readUint16 helper function in src/core/core_utils.js, rather than re-implementing it twice Jonas Jenwald 2020-01-07 20:22:14 +01:00
  • 3f031f69c2 Move additional worker-thread only functions from src/shared/util.js and into a src/core/core_utils.js instead Jonas Jenwald 2020-01-07 19:59:16 +01:00
  • 794744c3fa
    Merge pull request #11534 from Snuffleupagus/prefer-const Tim van der Meij 2020-01-25 00:25:36 +01:00
  • 83bdb525a4 Fix remaining linting errors, from enabling the prefer-const ESLint rule globally Jonas Jenwald 2020-01-24 13:21:16 +01:00
  • 9e262ae7fa Enable the ESLint prefer-const rule globally (PR 11450 follow-up) Jonas Jenwald 2020-01-24 09:48:21 +01:00
  • d2d9441373
    Merge pull request #11489 from Snuffleupagus/rm-FIREFOX-define Tim van der Meij 2020-01-24 23:59:13 +01:00
  • 9791d7e4d3
    Merge pull request #11533 from Snuffleupagus/rm-useOnlyCssZoom-hash Tim van der Meij 2020-01-23 23:34:31 +01:00
  • 9a6ee1b7f2 Remove the "useOnlyCssZoom" (debugging) hash parameter Jonas Jenwald 2020-01-23 12:11:58 +01:00
  • 0f3e87911f Return early in PDFViewerApplication._parseHashParameters when the hash is empty Jonas Jenwald 2020-01-23 12:05:43 +01:00
  • 668a29aa45
    Merge pull request #11497 from Snuffleupagus/Promise-allSettled Tim van der Meij 2020-01-22 23:06:54 +01:00
  • a88dec197f
    Merge pull request #11511 from Snuffleupagus/eslint-no-nested-ternary Tim van der Meij 2020-01-22 22:52:59 +01:00
  • be5b0096b2
    Merge pull request #11502 from Snuffleupagus/prettier-followup-fixes Tim van der Meij 2020-01-22 22:35:46 +01:00
  • 0d3146d09d
    Merge pull request #11529 from Snuffleupagus/examples-css-tab Tim van der Meij 2020-01-22 22:23:02 +01:00
  • 60f0c5ac70
    Merge pull request #11510 from Snuffleupagus/skip-FBF-tests-Chrome-makeref Brendan Dahl 2020-01-22 11:45:05 -08:00
  • 3b78f4e8f8 Fix a couple of cases where Prettier broke existing formatting (PR 11446 follow-up) Jonas Jenwald 2020-01-11 11:41:18 +01:00
  • c5a932a9d6 Display the CSS tab in the interactive examples (issue 11506 follow-up) Jonas Jenwald 2020-01-22 00:31:01 +01:00
  • 809b96b40c Hide .notdef glyphs in non-embedded Type1 fonts and don't ignore Widths Jani Pehkonen 2020-01-21 20:36:41 +02:00
  • a39943554a Simplify, and tweak, a couple of PDFJSDev checks Jonas Jenwald 2020-01-08 15:33:11 +01:00
  • 7322a24ce4 Remove the FIREFOX build flag, since it's completely unused Jonas Jenwald 2020-01-08 13:57:31 +01:00
  • ead03b513c
    Merge pull request #11522 from Snuffleupagus/viewer-reportTelemetry Tim van der Meij 2020-01-20 23:33:49 +01:00
  • f171d99799 Ensure that the viewer telemetry reporting, and fallback code, runs in development mode and GENERIC builds Jonas Jenwald 2020-01-20 11:37:54 +01:00
  • ccf327538b
    Merge pull request #11519 from tamuratak/enable_eslint_import_extensions Tim van der Meij 2020-01-19 17:37:19 +01:00
  • 918f0ff60b
    Merge pull request #11521 from Snuffleupagus/rm-supportsDocumentColors Tim van der Meij 2020-01-19 17:24:55 +01:00
  • 1097fa156c
    Merge pull request #11520 from Snuffleupagus/workerSrc-docs Tim van der Meij 2020-01-19 17:18:40 +01:00
  • a977882f54 Remove the supportsDocumentColors warning in MOZCENTRAL builds (bug 844349 follow-up) Jonas Jenwald 2020-01-15 17:53:06 +01:00
  • ee87e898db Update the GlobalWorkerOptions.workerSrc JSDoc comment Jonas Jenwald 2020-01-19 12:31:58 +01:00
  • 00ce7898a2 Enable import/extensions of ESlint plugin to enforce all import have a .js file extension. Related to #11465. Takashi Tamura 2020-01-16 13:32:11 +09:00
  • 9ab7c280aa Cache the fallback font dictionary on the PartialEvaluator (PR 11218 follow-up) Jonas Jenwald 2020-01-16 15:08:25 +01:00
  • 090ff116d4 Ensure that full clean-up is always run when handling the "Terminate" message in src/core/worker.js Jonas Jenwald 2020-01-16 14:55:08 +01:00
  • 1b87b1c384 Re-factor the various ExternalServices, used in the default viewer, to classes with static methods Jonas Jenwald 2020-01-15 14:26:47 +01:00
  • c591826f3b Enable the no-nested-ternary ESLint rule (PR 11488 follow-up) Jonas Jenwald 2020-01-12 19:47:13 +01:00
  • 78917bab91 Update src/display/{annotation_layer.js, svg.js} to determine the fontWeight in the same way as with canvas (PR 6091 and 7839 follow-up) Jonas Jenwald 2020-01-12 18:54:10 +01:00
  • 6590cc32f2 Extract the subroutine bias computation into a helper function in src/core/font_renderer.js Jonas Jenwald 2020-01-14 15:28:37 +01:00
  • 6ab3ba9519 Skip failing FBF tests in Google Chrome when running makeref on the bots Jonas Jenwald 2020-01-13 21:05:22 +01:00
  • 40f531ee87
    Merge pull request #11503 from Snuffleupagus/issue-11499 Tim van der Meij 2020-01-12 19:38:17 +01:00
  • 611ac78341
    Merge pull request #11504 from Snuffleupagus/issue-11457 Tim van der Meij 2020-01-12 19:31:59 +01:00
  • ba1d8d8728
    Merge pull request #11505 from Snuffleupagus/eslint-no-unneeded-ternary Tim van der Meij 2020-01-12 19:28:11 +01:00
  • ecd3de83f8 Enable the ESLint no-unneeded-ternary rule Jonas Jenwald 2020-01-12 14:50:52 +01:00
  • 2e5faa8edc Add direction: ltr; to the canvases used in examples/learning, to ensure correct text rendering (issue 11457) Jonas Jenwald 2020-01-12 12:25:23 +01:00
  • 34e7d42ce6 Add helper functions to reduce unnecessary duplication when fetching l10n messages in PDFThumbnailView Jonas Jenwald 2020-01-11 14:28:29 +01:00
  • 16a94412e4 Remove the unused id properties from page and thumbnail canvas/image DOM elements (issue 11499) Jonas Jenwald 2020-01-11 13:55:13 +01:00
  • 2942233c9c Add support for Promise.allSettled Jonas Jenwald 2020-01-10 14:35:12 +01:00
  • 4729fdc0e9
    Merge pull request #11488 from Snuffleupagus/web-no-nested-ternary Tim van der Meij 2020-01-08 23:19:26 +01:00
  • 1ceffac9c5 Enable the no-nested-ternary ESLint rule in the web/ directory Jonas Jenwald 2020-01-08 11:56:10 +01:00
  • 93aa613db7
    Merge pull request #11465 from Snuffleupagus/import-file-extension Tim van der Meij 2020-01-06 23:24:43 +01:00
  • 3772e30f9e
    Merge pull request #11474 from Snuffleupagus/pdfjs-dist-rm-dependencies Tim van der Meij 2020-01-06 23:07:53 +01:00
  • 049a464372
    Merge pull request #11466 from Snuffleupagus/telemetry-generator-parsing Tim van der Meij 2020-01-06 22:55:30 +01:00
  • f0999d271c
    Merge pull request #11472 from Snuffleupagus/license_header_year Tim van der Meij 2020-01-06 22:48:09 +01:00
  • a0cf67d52f [api-minor] Remove the Webpack-only npm dependencies from pdfjs-dist (PR 11418 follow-up) Jonas Jenwald 2020-01-05 18:26:01 +01:00
  • 94f084958a Update the year in the license_header files Jonas Jenwald 2020-01-04 13:15:17 +01:00
  • 36881e3770 Ensure that all import and require statements, in the entire code-base, have a .js file extension Jonas Jenwald 2020-01-02 12:00:16 +01:00
  • 299ba44bb9 [Firefox] Slightly simplify how the generator is determined, when sending telemetry data from the viewer Jonas Jenwald 2020-01-02 23:19:14 +01:00
  • b833f84307
    Merge pull request #11463 from Snuffleupagus/bug-1606566 Rob Wu 2020-01-01 23:02:42 +01:00
  • bee941b0d2 [Firefox] Ensure that telemetry will be correctly recorded even when the PDF header is missing (bug 1606566) Jonas Jenwald 2020-01-01 20:41:15 +01:00
  • 10716aab59
    Merge pull request #11447 from timvandermeij/css-color-simplifications Tim van der Meij 2020-01-01 15:37:49 +01:00
  • e3c0181357
    Convert all six-digit HEX colors to RGBA colors Tim van der Meij 2019-12-25 16:19:14 +01:00
  • 403a994556
    Convert all three-digit HEX colors to RGBA colors Tim van der Meij 2019-12-25 16:16:13 +01:00
  • d002637405
    Convert all named colors to RGBA colors Tim van der Meij 2019-12-25 14:44:05 +01:00
  • 2c2fc36c54
    Normalize all RGBA colors Tim van der Meij 2019-12-25 14:23:22 +01:00
  • dd1c8a9149
    Convert all RGB colors to RGBA colors Tim van der Meij 2019-12-25 14:19:09 +01:00
  • 3717dcdf57
    Convert all HSLA colors to RGBA colors Tim van der Meij 2019-12-25 14:15:39 +01:00
  • 0bdb1ab202
    Convert all HSL colors to RGBA colors Tim van der Meij 2019-12-25 13:28:04 +01:00
  • 3b44861197
    Merge pull request #11455 from Snuffleupagus/update-packages Tim van der Meij 2019-12-28 20:35:44 +01:00
  • cac953f5a9 Update l10n files Jonas Jenwald 2019-12-28 20:00:03 +01:00
  • 05129deb00 Update npm packages Jonas Jenwald 2019-12-28 19:57:25 +01:00
  • a0fe7a77d6
    Merge pull request #11454 from Snuffleupagus/move-SegoeUISymbol Tim van der Meij 2019-12-28 13:37:36 +01:00
  • f8ab8c4d3a Move the SegoeUISymbol font to the getNonStdFontMap (PR 8698 follow-up) Jonas Jenwald 2019-12-28 10:59:03 +01:00
  • 47ab4b839f
    Merge pull request #11450 from Snuffleupagus/eslint-web-prefer-const Tim van der Meij 2019-12-27 12:12:51 +01:00
  • d9a5d50664 Fix remaining linting errors, from enabling the prefer-const ESLint rule in the web/ directory Jonas Jenwald 2019-12-27 00:32:40 +01:00
  • 5d14e68bec Enable the ESLint prefer-const rule in the web/ directory Jonas Jenwald 2019-12-27 00:22:32 +01:00
  • 9c767e3875
    Merge pull request #11449 from Snuffleupagus/AutoPrintRegExp Tim van der Meij 2019-12-27 00:53:51 +01:00
  • d9d856020f Move the regular expression, used with auto printing in the viewer, to web/ui_utils.js and also use it in the API unit-tests Jonas Jenwald 2019-12-26 16:13:49 +01:00
  • db8fcdf34a
    Merge pull request #11445 from timvandermeij/openaction-print-unit-test Tim van der Meij 2019-12-27 00:19:42 +01:00
  • dfe42a5ca4
    Include a unit test for OpenAction dictionaries without Type entries (PR 11443 follow-up) Tim van der Meij 2019-12-24 23:42:42 +01:00
  • 81af207428
    Merge pull request #11446 from Snuffleupagus/prettier Tim van der Meij 2019-12-26 23:35:56 +01:00
  • a63f7ad486 Fix the linting errors, from the Prettier auto-formatting, that ESLint --fix couldn't handle Jonas Jenwald 2019-12-25 20:03:46 +01:00
  • de36b2aaba Enable auto-formatting of the entire code-base using Prettier (issue 11444) Jonas Jenwald 2019-12-25 15:59:37 +01:00
  • 8ec1dfde49 Add // prettier-ignore comments to prevent re-formatting of certain data structures Jonas Jenwald 2019-12-25 15:54:34 +01:00
  • c3a1c67950
    Merge pull request #11443 from Snuffleupagus/issue-11442 Tim van der Meij 2019-12-24 23:17:37 +01:00
  • 11b56ad0f7
    Merge pull request #11423 from Snuffleupagus/bug-1605526 Tim van der Meij 2019-12-24 22:44:31 +01:00
  • c54bdab4aa
    Merge pull request #11432 from wojtekmaj/preferences-const Tim van der Meij 2019-12-24 19:43:42 +01:00
  • 0f641e66cc
    Merge pull request #11433 from wojtekmaj/pdf-thumbnail-viewer-const Tim van der Meij 2019-12-24 19:31:34 +01:00
  • 70e3345cb4 Support OpenAction dictionaries without Type entries when parsing Print actions (issue 11442) Jonas Jenwald 2019-12-24 10:19:59 +01:00
  • 1a708d8993
    Merge pull request #11430 from wojtekmaj/text-layer-builder-const Tim van der Meij 2019-12-24 00:09:51 +01:00
  • a6188a5c98
    Merge pull request #11431 from wojtekmaj/secondary-toolbar-const Tim van der Meij 2019-12-24 00:03:58 +01:00
  • bcf8ae3527
    Merge pull request #11437 from wojtekmaj/create-headers Tim van der Meij 2019-12-23 23:55:34 +01:00
  • 32c3434c31
    Merge pull request #11440 from Snuffleupagus/stats-pdfBug-tweak-test Tim van der Meij 2019-12-23 23:44:55 +01:00
  • 934d7cbc23
    Merge pull request #11436 from wojtekmaj/npm-audit-fix Tim van der Meij 2019-12-23 23:41:25 +01:00
  • b4d95f3763 Tweak the "gets page stats after rendering page, with pdfBug set" unit-test to remove an intermittent failure on Travis Jonas Jenwald 2019-12-23 22:57:01 +01:00
  • b5281e56c8
    Merge pull request #11429 from wojtekmaj/toolbar-const Tim van der Meij 2019-12-23 22:42:06 +01:00