Commit Graph

  • 06d1ff5af4 Tweak the MMType1 font detection in getFontFileType to improve font telemetry (PR 9961 follow-up) Jonas Jenwald 2018-08-08 12:18:37 +02:00
  • 13b98746d9
    Merge pull request #9964 from Snuffleupagus/node-MissingPDFException Tim van der Meij 2018-08-06 23:42:24 +02:00
  • f78efd883e Attempt to throw MissingPDFException when applicable in node_stream.js (issue 9791) Jonas Jenwald 2018-08-05 20:19:13 +02:00
  • c8ee63319d
    Merge pull request #9965 from timvandermeij/updates Tim van der Meij 2018-08-05 21:35:22 +02:00
  • f6eaa99cb2
    Reword test reporter message Tim van der Meij 2018-08-05 21:21:39 +02:00
  • 0a2ec871b6
    Update packages Tim van der Meij 2018-08-05 21:20:37 +02:00
  • fa40c068af
    Update translations Tim van der Meij 2018-08-05 21:15:58 +02:00
  • 4111871ac5
    Merge pull request #9958 from brendandahl/always-fallback Tim van der Meij 2018-08-05 19:58:48 +02:00
  • eec7e185d9
    Merge pull request #9961 from Snuffleupagus/getFontFileType Tim van der Meij 2018-08-05 17:30:10 +02:00
  • 27e8a2f6fe
    Merge pull request #9959 from brendandahl/test-util Tim van der Meij 2018-08-05 16:53:37 +02:00
  • b65d0450f5
    Merge pull request #9960 from brendandahl/strict-verify Tim van der Meij 2018-08-05 16:44:12 +02:00
  • 3177f6aa55 Parse the font file to determine the correct type/subtype, rather than relying on the (often incorrect) data in the font dictionary Jonas Jenwald 2018-08-05 10:34:14 +02:00
  • 9bbca04579 Add a (basic) isCFFFile helper function to detect CFF font files Jonas Jenwald 2018-08-05 10:34:06 +02:00
  • f4db38aadf Update the TrueType font file detection to also recognize the Mac specific header 'true' Jonas Jenwald 2018-08-05 10:33:56 +02:00
  • 482ea2af32 Fail when MD5 of test files fails on bots. Brendan Dahl 2018-08-03 17:48:47 -07:00
  • 8b3ed473c1 Utility script to add a reference test. Brendan Dahl 2018-08-03 17:24:24 -07:00
  • 5f67a6a237 Always fallback to system font on font failure. Brendan Dahl 2018-08-03 16:47:45 -07:00
  • 444976bcd5
    Merge pull request #9956 from brendandahl/allow-zero-progress Tim van der Meij 2018-08-04 00:19:02 +02:00
  • f19ee127a3
    Merge pull request #9874 from boundlesshq/master Tim van der Meij 2018-08-03 23:43:23 +02:00
  • ee9a5c1269
    Merge pull request #9954 from Snuffleupagus/rm-PDFImage-Filter-warn Tim van der Meij 2018-08-03 23:21:14 +02:00
  • d762567bcf Allow loaded progress of 0 in unit tests. Brendan Dahl 2018-08-03 10:11:35 -07:00
  • a504befc76 Stop warning for non-Name /Filter entries in the PDFImage constructor (PR 9897 follow-up) Jonas Jenwald 2018-08-03 09:59:18 +02:00
  • 8a4be24645
    Merge pull request #9948 from Snuffleupagus/url-polyfill-unit-tests Tim van der Meij 2018-08-02 23:32:07 +02:00
  • e5e96e434f
    Merge pull request #9946 from brianholle/CalRGB_Conversion_Fix Brendan Dahl 2018-08-02 11:24:34 -07:00
  • 2a665ebad4 Removed Extraneous Matrix Check in CalRGB Conversion Brian 2018-08-02 10:16:42 -07:00
  • f8388710e6 Add (basic) unit-tests for the non-global URL constructor (PR 9868 follow-up) Jonas Jenwald 2018-08-02 10:32:06 +02:00
  • 716acf63d4
    Merge pull request #9938 from Snuffleupagus/issue-9915 Tim van der Meij 2018-08-02 00:11:18 +02:00
  • 20fddef5ba
    Merge pull request #9897 from Snuffleupagus/issue-9650 Rob Wu 2018-08-02 00:03:23 +02:00
  • 3ce420131f Prefer the Width/Height of the image data, rather than the image dictionary, for JPEG 2000 images (issue 9650) Jonas Jenwald 2018-07-15 18:53:08 +02:00
  • 17f65908ae Add more validation of the /Filter entry, in image dictionaries, to the PDFImage constructor Jonas Jenwald 2018-07-15 18:32:05 +02:00
  • 690bcc8c8a Add a reduced, eq, test-case for issue 9915 Jonas Jenwald 2018-07-27 16:57:58 +02:00
  • 17eac2d48a Ensure that Type0, i.e. composite, OpenType fonts with CFF tables are *not* treated as CFF fonts if their glyph mapping is non-default (issue 9915) Jonas Jenwald 2018-07-27 16:33:30 +02:00
  • cfdb597e4a Ensure that the CIDSystemInfo strings, in Type0 fonts, are correctly decoded Jonas Jenwald 2018-07-27 16:19:57 +02:00
  • 3521424576
    Merge pull request #9920 from Snuffleupagus/getMetadata-linearization Tim van der Meij 2018-07-29 20:23:22 +02:00
  • f45450bd78
    Merge pull request #9931 from Snuffleupagus/refactor-getPage Tim van der Meij 2018-07-29 19:33:46 +02:00
  • a2c317f12b
    Merge pull request #9925 from Snuffleupagus/StreamsSequenceStream-maybeLength Tim van der Meij 2018-07-29 16:52:34 +02:00
  • d19e13ee2e
    Merge pull request #9936 from Snuffleupagus/BasePreferences-validate Tim van der Meij 2018-07-29 16:16:48 +02:00
  • 39846a6de3
    Merge pull request #9935 from Snuffleupagus/builtInCMapCache-cleanup-regression Tim van der Meij 2018-07-29 16:07:45 +02:00
  • ec3728b540 Use the Linearization dictionary, if it exists, when fetching the first Page Jonas Jenwald 2018-07-25 20:50:25 +02:00
  • fbb25ff4e2 Move getPage, on the worker side, from Catalog and into PDFDocument instead Jonas Jenwald 2018-07-25 16:53:47 +02:00
  • 81b471c781 [Regression] Convert Catalog.builtInCMapCache into a Map, instead of an Object, to ensure that it's correctly reset (PR 8064 follow-up) Jonas Jenwald 2018-07-25 16:11:48 +02:00
  • 08b05b9fda Validate the Preferences when fetching them from storage Jonas Jenwald 2018-07-28 13:19:35 +02:00
  • 780cbadcd7 Stop re-loading the Preferences in PDFViewerApplication.open, and remove the BasePreferences.reload method Jonas Jenwald 2018-07-28 13:14:02 +02:00
  • c31ddf7edc [api-minor] Include export value for checkboxes bion 2018-07-06 17:51:10 -07:00
  • d6f378fbaf
    Merge pull request #9933 from perlun/patch-1 Tim van der Meij 2018-07-28 00:09:24 +02:00
  • 82f1d3c82a
    README.md: suggest usage of https instead of git protocol Per Lundberg 2018-07-27 23:26:59 +03:00
  • 522040d130 Expose the Linearization status in the document properties dialog Jonas Jenwald 2018-07-24 16:24:30 +02:00
  • 928b89382e [api-minor] Add an IsLinearized property to the PDFDocument.documentInfo getter, to allow accessing the linearization status through the API (via PDFDocumentProxy.getMetadata) Jonas Jenwald 2018-07-24 15:02:14 +02:00
  • 8a4466139b Simplify the DocumentInfoValidators definition Jonas Jenwald 2018-07-24 14:37:43 +02:00
  • 2d51bce941 Remove unnecessary stream.length check from PDFDocument.linearization Jonas Jenwald 2018-07-24 14:31:06 +02:00
  • 51b0e60f9b
    Merge pull request #9924 from ErikNijland/master Yury Delendik 2018-07-26 08:35:52 -05:00
  • 32bfa55d98 Attempt to estimate the minimum required buffer length when initializing StreamsSequenceStream instances Jonas Jenwald 2018-07-26 13:10:43 +02:00
  • 26c734e493
    fix(browser): zlib is not available in browser Erik Nijland 2018-07-26 12:01:10 +02:00
  • 3f4c2d6733
    Merge pull request #9917 from Snuffleupagus/Preference-getAll Tim van der Meij 2018-07-25 22:40:40 +02:00
  • 34957ec8eb Add a BasePreferences.getAll method and use it to fetch all Preferences at once in PDFViewerApplication._readPreferences Jonas Jenwald 2018-07-23 20:12:30 +02:00
  • c3433aea48 Remove a (now) unnecessary externalLinkTarget check in PDFViewerApplication._readPreferences Jonas Jenwald 2018-07-23 20:12:24 +02:00
  • c6a0ae08f1 Ensure that the externalLinkTarget option is correctly set when the viewer is embedded (PR 9479 follow-up) Jonas Jenwald 2018-07-23 20:12:19 +02:00
  • 5b17fe81dc
    Merge pull request #9913 from Snuffleupagus/no-restricted-globals Tim van der Meij 2018-07-24 23:39:12 +02:00
  • 36b683ca55 Provide custom messages for the no-restricted-globals ESLint rule, and refactor the .eslintrc files (PR 9868 follow-up) Jonas Jenwald 2018-07-22 16:15:36 +02:00
  • 1aaeaf3338
    Merge pull request #9904 from RonLek/master Tim van der Meij 2018-07-22 14:55:35 +02:00
  • 2ce489c16f
    Merge pull request #9900 from Snuffleupagus/issue-8884 Tim van der Meij 2018-07-22 14:42:30 +02:00
  • 8afc4ce258 Modified Examples to work without systemjs RonLek 2018-07-21 01:32:55 +05:30
  • 8ec99b200c Prevent Metadata/XML parsing from breaking PDFDocumentProxy.getMetadata when no XML root document is found (issue 8884) Jonas Jenwald 2018-07-17 23:18:31 +02:00
  • 7e13977669
    Merge pull request #9898 from Snuffleupagus/rm-createPromiseCapability-waitOnEventOrTimeout Tim van der Meij 2018-07-16 22:55:53 +02:00
  • 647fa74793 Change waitOnEventOrTimeout, in web/ui_utils.js, to return a regular Promise and remove the createPromiseCapability import Jonas Jenwald 2018-07-16 13:40:51 +02:00
  • 61db85ab64
    Merge pull request #9886 from Snuffleupagus/bug-1473809 Tim van der Meij 2018-07-15 17:23:52 +02:00
  • b56081c5f8
    Merge pull request #9887 from Snuffleupagus/rm-Util-inherit Tim van der Meij 2018-07-14 23:58:38 +02:00
  • 1f245c247f
    Merge pull request #9881 from Snuffleupagus/rm-instanceof-Array Tim van der Meij 2018-07-14 23:47:12 +02:00
  • 8e76d26e5b Move the toRoman helper function out of the Util scope Jonas Jenwald 2018-07-10 10:45:25 +02:00
  • c1c49badff Remove the, now unused, Util.inherit helper function Jonas Jenwald 2018-07-09 15:15:42 +02:00
  • 2b25deb84c Prevent errors in sanitizeTTProgram, during parsing of CALL functions, when encountering invalid functions stack deltas (bug 1473809) Jonas Jenwald 2018-07-09 22:11:46 +02:00
  • bf6d45f85a Convert CMap and IdentityCMap to ES6 classes Jonas Jenwald 2018-07-08 22:41:52 +02:00
  • b773b356af Convert NameOrNumberTree, NameTree, and NumberTree to ES6 classes Jonas Jenwald 2018-07-08 22:31:31 +02:00
  • ba1af46709 Convert CompiledFont, TrueTypeCompiled, and Type2Compiled to ES6 classes Jonas Jenwald 2018-07-08 22:16:05 +02:00
  • 775763a091 Ensure that CompiledFont.compileGlyph always returns an Array (PR 6141 follow-up) Jonas Jenwald 2018-07-08 21:36:20 +02:00
  • 646d81cd09
    Merge pull request #9837 from timvandermeij/unreachable Tim van der Meij 2018-07-09 21:10:36 +02:00
  • 61186698c3 Replace the remaining occurences of instanceof Array with Array.isArray() Jonas Jenwald 2018-07-09 13:11:35 +02:00
  • 200e3d6bd8 Update the various ESLint packages to their latest versions Jonas Jenwald 2018-07-09 12:52:55 +02:00
  • 907c7f190b
    Convert src/code/pdf_manager.js to ES6 classes/syntax Tim van der Meij 2018-06-23 21:34:31 +02:00
  • 31012570ea
    Merge pull request #9868 from Snuffleupagus/url-polyfill Tim van der Meij 2018-07-08 16:29:53 +02:00
  • 7e1f727685
    Merge pull request #9877 from Snuffleupagus/scroll-spread-hide Tim van der Meij 2018-07-08 15:59:02 +02:00
  • 9c06338258
    Merge pull request #9880 from timvandermeij/jp-JP-mac Tim van der Meij 2018-07-08 15:47:23 +02:00
  • 8a6b7373a0
    Remove the jp-JP-mac locale Tim van der Meij 2018-07-08 15:40:38 +02:00
  • 9c613a3563
    Merge pull request #9879 from timvandermeij/readme Tim van der Meij 2018-07-08 15:37:32 +02:00
  • 1024615ecb
    Correct the instructions in the README file for examples/mobile-viewer Tim van der Meij 2018-07-08 15:32:06 +02:00
  • d8c2bcc93a Temporarily disable the Spread mode buttons when horizontal scrolling is enabled Jonas Jenwald 2018-07-08 10:56:06 +02:00
  • 36d6255866 Hide the Scroll/Spread mode buttons when the viewer is a PDFSinglePageViewer instance Jonas Jenwald 2018-07-08 10:56:01 +02:00
  • 46e1d5daa4 Simplify resetting of the SecondaryToolbar Scroll/Spread mode buttons, and add a missing comment in PDFCursorTools Jonas Jenwald 2018-07-08 10:55:56 +02:00
  • b39a2ba57a
    Merge pull request #9866 from Snuffleupagus/gulp-server-private-browsing Tim van der Meij 2018-07-04 22:32:12 +02:00
  • a9ce4e8417 Stop exposing the URL polyfill in the global scope Jonas Jenwald 2018-07-03 18:32:39 +02:00
  • 8f0cc07116 Prevent the development viewer, started with gulp server, from breaking completely in Private Browsing mode Jonas Jenwald 2018-07-02 14:01:45 +02:00
  • 42922c9ae5
    Merge pull request #9861 from Snuffleupagus/PDFFindController-firstPagePromise Tim van der Meij 2018-07-02 23:30:37 +02:00
  • 39a1fce59b Refactor PDFFindController to use the 'pagesinit' event, dispatched on the eventBus, to resolve the _firstPagePromise Jonas Jenwald 2018-07-01 15:58:53 +02:00
  • 872c6e4af0
    Merge pull request #9858 from Snuffleupagus/scrollMode-refactor Tim van der Meij 2018-06-30 22:13:42 +02:00
  • 4fbad9ab68
    Merge pull request #9860 from timvandermeij/readme Tim van der Meij 2018-06-30 21:54:19 +02:00
  • fa7eb95eed
    Update the localization README to indicate that the translations are imported from the Nightly channel Tim van der Meij 2018-06-30 21:47:44 +02:00
  • ce430bdfb5
    Merge pull request #9859 from timvandermeij/updates Tim van der Meij 2018-06-30 21:38:57 +02:00
  • ac401c65a0
    Update packages Tim van der Meij 2018-06-30 20:39:31 +02:00
  • 5baec1eeb4
    Update translations Tim van der Meij 2018-06-30 20:17:36 +02:00
  • ff26d419dd Ensure that Scroll/Spread mode buttons are correctly reset, when the document is closed Jonas Jenwald 2018-06-30 14:54:33 +02:00