Commit Graph

  • d7d1f23826 Zero the width/height of the temporary canvas used during TextLayer rendering Jonas Jenwald 2019-03-01 03:32:40 +01:00
  • 34022d2fd1
    Merge pull request #10591 from brendandahl/fix-charset Brendan Dahl 2019-02-28 17:22:29 -08:00
  • 9559d57636
    Merge pull request #10595 from Snuffleupagus/JpegDecode-zero-tmpCanvas Tim van der Meij 2019-02-28 23:41:22 +01:00
  • 39fa26ea33
    Merge pull request #10597 from Snuffleupagus/isFontSubpixelAAEnabled-canvas-cleanup Tim van der Meij 2019-02-28 23:37:24 +01:00
  • 85537fac4d
    Merge pull request #10599 from Snuffleupagus/upgrade-webpack Tim van der Meij 2019-02-28 23:32:29 +01:00
  • af5597b7e5
    Merge pull request #10573 from Snuffleupagus/type3-avoid-truncation Tim van der Meij 2019-02-28 23:25:45 +01:00
  • 5750a7e557 Update Webpack to the latest stable version (4.29.6) Jonas Jenwald 2019-02-28 14:27:43 +01:00
  • 0f24bb73a6 Revert "Try to *temporarily* hack around the __non_webpack_require__ bug (issue 10177)" Jonas Jenwald 2019-02-28 14:26:14 +01:00
  • b61b4d3229 Ensure that the temporary canvas created in CanvasGraphics.isFontSubpixelAAEnabled will be cleared Jonas Jenwald 2019-02-28 14:06:56 +01:00
  • 4687cc85ac Zero the width/height of the temporary canvas used during JpegDecode (issue 10594) Jonas Jenwald 2019-02-28 12:05:11 +01:00
  • 8a596ef5d5 Add unique glyph names for CFF fonts. Brendan Dahl 2019-02-26 15:57:46 -08:00
  • 21d70b19c2
    Merge pull request #10585 from Snuffleupagus/cmap-fetch Tim van der Meij 2019-02-27 23:45:20 +01:00
  • f664e074c9 Avoid using the Fetch API, in GENERIC builds, for unsupported protocols (issue 10587) Jonas Jenwald 2019-02-26 20:24:06 +01:00
  • cbc07f985b Load built-in CMap files using the Fetch API when possible Jonas Jenwald 2019-02-24 15:22:25 +01:00
  • df7756d2a4
    Merge pull request #10589 from Snuffleupagus/custom_spec-node Tim van der Meij 2019-02-26 23:47:49 +01:00
  • c5cf3ab808 Run the custom_spec unit-tests in Node.js/Travis (PR 10537 follow-up) Jonas Jenwald 2019-02-26 20:07:06 +01:00
  • 52e8e9b059 Fix missing moveTos in SVG paths Jani Pehkonen 2019-02-26 20:00:35 +02:00
  • 652059056c
    Merge pull request #10582 from Snuffleupagus/web-finally Tim van der Meij 2019-02-25 23:58:47 +01:00
  • 954bebb3c3 Use Promise.prototype.finally in the PDFRenderingQueue.renderView method Jonas Jenwald 2019-02-25 12:20:51 +01:00
  • de56518799
    Merge pull request #10577 from Snuffleupagus/util-split Tim van der Meij 2019-02-24 19:43:40 +01:00
  • 77a7e04d68
    Merge pull request #10578 from Snuffleupagus/non_webpack_require Tim van der Meij 2019-02-24 19:06:25 +01:00
  • 220b56717e
    Merge pull request #10579 from Snuffleupagus/PDFSidebar-signature Tim van der Meij 2019-02-24 15:53:43 +01:00
  • 1753f91c6b Re-factor the PDFSidebar constructor to simplify its call-site (PR 10123 follow-up) Jonas Jenwald 2019-02-24 13:12:23 +01:00
  • 3a09a2f7a5 Update the year in the license_header files Jonas Jenwald 2019-02-23 16:42:07 +01:00
  • db5dc14158 Move worker-thread only functions from src/shared/util.js and into a new src/core/core_utils.js file Jonas Jenwald 2019-02-23 16:14:31 +01:00
  • c67ad32554 Update Webpack to the latest stable version (4.29.5) Jonas Jenwald 2019-02-23 21:11:46 +01:00
  • 6f67e39a0a Try to *temporarily* hack around the __non_webpack_require__ bug (issue 10177) Jonas Jenwald 2019-02-23 20:50:27 +01:00
  • a1f7517996 Rename the src/display/dom_utils.js file to src/display/display_utils.js Jonas Jenwald 2019-02-23 15:41:02 +01:00
  • fb774a65b0 Avoid truncating/breaking some Type3 glyphs in compileType3Glyph (bug 1245391, issue 10568) Jonas Jenwald 2019-02-21 16:25:34 +01:00
  • ece6a31a44
    Merge pull request #10560 from timvandermeij/updates Tim van der Meij 2019-02-17 17:38:49 +01:00
  • a4fd6aa947
    Update packages Tim van der Meij 2019-02-17 16:44:36 +01:00
  • 01ac6cd8c6
    Update translations Tim van der Meij 2019-02-17 16:40:22 +01:00
  • ff74a66672
    Merge pull request #10558 from Snuffleupagus/PDFDataRangeTransport-tests Tim van der Meij 2019-02-17 16:06:55 +01:00
  • a0354494bd Re-factor the PDFDataRangeTransport unit-tests and enable them in Node.js/Travis Jonas Jenwald 2019-02-17 14:38:41 +01:00
  • 507e0a4907 Add a new DOMFileReaderFactory helper to the unit-tests, and re-factor NodeFileReaderFactory to be asynchronous Jonas Jenwald 2019-02-17 12:34:37 +01:00
  • 43491c19ee
    Merge pull request #10548 from Snuffleupagus/generate-default_preferences Tim van der Meij 2019-02-16 20:02:59 +01:00
  • b6f58191ca
    Merge pull request #10554 from Snuffleupagus/rendering-cancelled Tim van der Meij 2019-02-16 19:41:59 +01:00
  • 50afff9918
    Merge pull request #10556 from Snuffleupagus/documentInfo-collection Tim van der Meij 2019-02-16 19:26:44 +01:00
  • ac7522d34b
    Merge pull request #10557 from timvandermeij/config Tim van der Meij 2019-02-16 19:09:42 +01:00
  • 77de6ee1f6
    Bump versions in pdfjs.config Tim van der Meij 2019-02-16 19:07:23 +01:00
  • 599dcf5a44 Fix {PDFPageView, PDFThumbnailView}.cancelRendering to avoid visual artifacts when called directly Jonas Jenwald 2019-02-14 18:47:32 +01:00
  • 1ded729130 Simplify the updatetextlayermatches event handling in TextLayerBuilder Jonas Jenwald 2019-02-14 18:13:23 +01:00
  • 60f6d49ff7 [api-minor] Expose the existence of a Collection dictionary via the getMetadata API method (issue 10555) Jonas Jenwald 2019-02-15 14:42:50 +01:00
  • 0f0650f426 Generate the default_preferences.json file from AppOptions Jonas Jenwald 2019-02-13 14:00:23 +01:00
  • 81f5835cd7
    Merge pull request #10539 from Snuffleupagus/fallback-disableFontFace-v2 v2.1.266 Brendan Dahl 2019-02-12 12:08:01 -08:00
  • a045a00af3
    Merge pull request #10540 from Snuffleupagus/viewOnLoad-pref-schema-type Tim van der Meij 2019-02-12 00:14:01 +01:00
  • 1d90c76097
    Merge pull request #10537 from timvandermeij/unittest Tim van der Meij 2019-02-12 00:12:29 +01:00
  • 9fa7ae1397
    Merge pull request #10545 from timvandermeij/undo-bump Tim van der Meij 2019-02-12 00:07:38 +01:00
  • 67f3e48832
    Undo the pdfjs.config version bumps Tim van der Meij 2019-02-12 00:05:51 +01:00
  • 2b4709d1a8 [Chrome extension] Add missing "type" entry for the viewOnLoad preference in the preferences_schema.json file (PR 10502 follow-up) Jonas Jenwald 2019-02-11 10:43:08 +01:00
  • b6d090cc14 Fallback to the built-in font renderer when font loading fails Jonas Jenwald 2019-02-11 00:47:56 +01:00
  • 13230a1123 Remove the ability to pass in more than one font to BaseFontLoader.bind Jonas Jenwald 2019-02-10 14:11:23 +01:00
  • af3fcca88d Convert BaseFontLoader.bind to be async, and only utilize BaseFontLoader._queueLoadingCallback when actually necessary Jonas Jenwald 2019-02-10 14:01:49 +01:00
  • 7c91e94b19
    Implement the NodeCanvasFactory class to execute more unit tests in Node.js Tim van der Meij 2019-02-10 19:29:38 +01:00
  • b6eddc40b5
    Write unit tests for the string32 and toRomanNumerals utility functions Tim van der Meij 2019-02-10 18:58:52 +01:00
  • dfe7d9bc26
    Merge pull request #10530 from a4lg/fix-copytext-outofucs2 Tim van der Meij 2019-02-10 16:22:45 +01:00
  • 6757b6e2d0
    Merge pull request #10534 from Snuffleupagus/dist-link Tim van der Meij 2019-02-10 15:14:59 +01:00
  • 96ba6afd47 Fix copying on supplementary plane characters Tsukasa OI 2019-02-09 06:53:16 +00:00
  • 62d7332d49 Try to hack-around the broken pdfjs-dist links, such that they will point to the main library releases (issue 10391) Jonas Jenwald 2019-02-09 17:21:27 +01:00
  • eb7fc2625f
    Merge pull request #10533 from timvandermeij/bump Tim van der Meij 2019-02-09 15:26:10 +01:00
  • 554d50563f
    Bump the version number in pdfjs.config Tim van der Meij 2019-02-09 15:23:51 +01:00
  • 14c012b650
    Merge pull request #10532 from timvandermeij/bump Tim van der Meij 2019-02-09 15:06:47 +01:00
  • 6a40f2fc62
    Bump base version and version prefix in pdfjs.config Tim van der Meij 2019-02-09 14:59:48 +01:00
  • 2b6e6364ef
    Merge pull request #10527 from Snuffleupagus/classList-add-remove Tim van der Meij 2019-02-08 22:40:16 +01:00
  • 3bcf9187ec Add a polyfill for classList.{add, remove} with more than one parameter Jonas Jenwald 2019-02-08 13:31:14 +01:00
  • 7d24fc34f9
    Merge pull request #10525 from Snuffleupagus/more-classList-toggle Tim van der Meij 2019-02-06 23:53:43 +01:00
  • 19795597a2 Convert more code to use classList.toggle with the force parameter Jonas Jenwald 2019-02-06 17:18:45 +01:00
  • c0d6e46e39
    Merge pull request #10502 from Snuffleupagus/adjust-onLoad-prefs Tim van der Meij 2019-02-04 23:54:14 +01:00
  • 9f9d87c3ce
    Merge pull request #10517 from Snuffleupagus/rm-currentScript-polyfill Tim van der Meij 2019-02-03 15:42:30 +01:00
  • 614e502227 [api-minor] Remove the document.currentScript polyfill Jonas Jenwald 2019-02-03 14:09:24 +01:00
  • 80495e61b7
    Merge pull request #10515 from Snuffleupagus/createPromiseCapability-settled Tim van der Meij 2019-02-02 15:41:25 +01:00
  • 22468817e1 Add a settled property, tracking the fulfilled/rejected stated of the Promise, to createPromiseCapability Jonas Jenwald 2019-02-02 13:10:06 +01:00
  • ef634b51e1 Re-factor how the "compatibility" values are specified in AppOptions Jonas Jenwald 2019-02-02 10:09:05 +01:00
  • 9d8342002c Move the PDFHistory initialization into a helper method in PDFViewerApplication Jonas Jenwald 2019-02-02 10:08:56 +01:00
  • 4d4c98d1eb Attempt to migrate the old showPreviousViewOnLoad/disablePageMode preferences to the new viewOnLoad preference Jonas Jenwald 2019-02-02 10:08:45 +01:00
  • 6806248030 Modify a number of the viewer preferences, whose current default value is 0, such that they behave as expected with the view history Jonas Jenwald 2019-01-27 12:07:38 +01:00
  • dd4620530d Change PDFSidebar.switchView to act as a wrapper for a "private" PDFSidebar._switchView method Jonas Jenwald 2019-02-02 10:03:30 +01:00
  • 291e62b41e
    Merge pull request #10508 from Snuffleupagus/issue-8276 Tim van der Meij 2019-01-29 22:46:36 +01:00
  • 2b0b6178f7 Clean-up after the gets operatorList with JPEG image (issue 4888) unit-test Jonas Jenwald 2019-01-29 14:25:47 +01:00
  • 6f94a05a29 Do the final text scaling correctly in flushTextContentItem (issue 8276) Jonas Jenwald 2019-01-29 14:24:48 +01:00
  • 55b12f5fd9
    Merge pull request #10504 from Snuffleupagus/eslint-no-useless-catch Tim van der Meij 2019-01-28 22:37:14 +01:00
  • 86472e9981 Enable the no-useless-catch ESLint rule Jonas Jenwald 2019-01-28 11:00:09 +01:00
  • 1f3e7700d2
    Merge pull request #10499 from Snuffleupagus/renderTask-error-cleanup Tim van der Meij 2019-01-27 15:12:59 +01:00
  • d03d990e2e
    Merge pull request #10501 from Snuffleupagus/getVisibleElements-avoid-unnecessary-backtrack Tim van der Meij 2019-01-27 15:06:13 +01:00
  • b50a512660 In getVisibleElements, check firstVisibleElementInd rather than numViews before backtracking (PR 10443 follow-up) Jonas Jenwald 2019-01-27 14:50:16 +01:00
  • 5081063b9e Attempt to clean-up/restore pending rendering operations when errors occurs while a RenderTask runs (PR 10202 follow-up) Jonas Jenwald 2019-01-26 10:12:32 +01:00
  • 40863eb275
    Merge pull request #10489 from Snuffleupagus/single-page-scrollIntoView Tim van der Meij 2019-01-25 23:09:09 +01:00
  • 1eee1c5d2e
    Merge pull request #10494 from Snuffleupagus/ColorSpace-isDefaultDecode Tim van der Meij 2019-01-25 22:43:28 +01:00
  • 29f36d7a1b Reduce unnecessary duplication of the isDefaultDecode methods on ColorSpace instances Jonas Jenwald 2019-01-25 08:19:26 +01:00
  • e2701d5422
    Merge pull request #10482 from janpe2/indexed-decode Tim van der Meij 2019-01-24 23:46:55 +01:00
  • 0d3c8d86a2
    Merge pull request #10492 from Snuffleupagus/issue-10491 Tim van der Meij 2019-01-24 23:46:26 +01:00
  • 41fbc71ef9 Ensure that XRef.indexObjects can handle object numbers with zero-padding (issue 10491) Jonas Jenwald 2019-01-24 22:27:36 +01:00
  • 48e4adf770 Try to simplify the PDFSinglePageViewer._scrollIntoView method slightly, by unconditionally ensuring that rendering always occurs Jonas Jenwald 2019-01-23 09:13:49 +01:00
  • 06cda4c2e7 Move additional code/methods into BaseViewer and have the extending classes override/extend methods as necessary Jonas Jenwald 2019-01-23 09:11:06 +01:00
  • 9128335c4d
    Merge pull request #10484 from Snuffleupagus/rm-mozcentral-streams Tim van der Meij 2019-01-23 22:30:42 +01:00
  • f3da413ea5
    Merge pull request #10483 from Snuffleupagus/mobile-viewer-PDFHistory-init Tim van der Meij 2019-01-23 22:20:14 +01:00
  • 249b199ff1 Stop bundling the ReadableStream polyfill in MOZCENTRAL builds (PR 10470 follow-up) Jonas Jenwald 2019-01-23 20:18:23 +01:00
  • f06b2e4e9f Update the mobile-viewer example to use the new PDFHistory.initialize format (PR 10423 follow-up) Jonas Jenwald 2019-01-23 15:27:19 +01:00
  • 26121177ab Implement Decode entry in Indexed images Jani Pehkonen 2019-01-22 19:59:36 +02:00
  • d614cabfa0
    Merge pull request #10480 from Snuffleupagus/debugger-FontInspector Brendan Dahl 2019-01-22 10:02:58 -08:00