Commit Graph

  • ce1acff5f0
    Update translations Tim van der Meij 2019-08-24 20:05:47 +02:00
  • 56ae7a6690
    Merge pull request #11069 from Snuffleupagus/getoplist-stream Tim van der Meij 2019-08-24 19:31:00 +02:00
  • 711040ecc5 Stop re-throwing errors in the 'GetOperatorList' and 'GetTextContent' handlers, in src/core/worker.js Jonas Jenwald 2019-08-19 13:02:52 +02:00
  • 66e0dd1b06 Use streams for OperatorList chunking (issue 10023) Yury Delendik 2017-11-09 19:58:43 -06:00
  • ee75fc1298
    Merge pull request #11092 from Snuffleupagus/textLayer-expandTextDivs-padding Tim van der Meij 2019-08-24 14:45:21 +02:00
  • 42213f6a2c
    Merge pull request #11093 from Priestch/shorthand_after_print Tim van der Meij 2019-08-24 14:36:53 +02:00
  • 000780d27e Use shorthand method signature for afterPrint in web/app.js Priestch 2019-08-24 17:48:33 +08:00
  • 29a2516e4c [TextLayer] Use an Array to build the total padding, rather than concatenating Strings, in expandTextDivs Jonas Jenwald 2019-08-23 23:24:57 +02:00
  • edbebb8bf7
    Merge pull request #11090 from Snuffleupagus/textLayer-expandTextDivs-transform Tim van der Meij 2019-08-23 23:12:42 +02:00
  • d1ef08e147
    Merge pull request #11091 from Snuffleupagus/textLayer-expandTextDivs-valid-padding Tim van der Meij 2019-08-23 23:08:39 +02:00
  • 932fcacff8 [TextLayer] Only handle positive padding values in expandTextDivs Jonas Jenwald 2019-08-22 17:35:48 +02:00
  • 37e8a8189b [TextLayer] Use an Array to build the total transform, rather than concatenating Strings, in expandTextDivs Jonas Jenwald 2019-08-22 18:40:15 +02:00
  • 490deb1b65
    Merge pull request #11086 from Snuffleupagus/textLayer-originalTransform Tim van der Meij 2019-08-22 23:09:07 +02:00
  • 31f319301d
    Merge pull request #11087 from brendandahl/disable-links Brendan Dahl 2019-08-22 11:13:11 -07:00
  • a519ceffee [TextLayer] Use template strings when updating the font property in the _layoutText method Jonas Jenwald 2019-08-22 13:27:09 +02:00
  • 6afe3221b7 [TextLayer] Only cache the originalTransform when enhanceTextSelection is enabled Jonas Jenwald 2019-08-22 13:26:28 +02:00
  • 98e989116c Add a way to disable external links. Brendan Dahl 2019-08-20 14:43:24 -07:00
  • 52c6b3c138
    Merge pull request #11079 from Snuffleupagus/textLayer-memory Tim van der Meij 2019-08-20 22:48:10 +02:00
  • 78f9ab53fc
    Merge pull request #11081 from dhuang612/document-pdfjs-dist/webpack Tim van der Meij 2019-08-20 22:38:58 +02:00
  • d52d1e2d09 added in information about pdfjs/webpack dhuang612 2019-08-19 15:36:06 -04:00
  • 431a264126 [TextLayer] Reduce the amount of intermediary strings in expandTextDivs Jonas Jenwald 2019-08-19 12:09:18 +02:00
  • 45dfad8640 [TextLayer] Only cache the current textDiv style when enhanceTextSelection is enabled Jonas Jenwald 2019-08-19 11:02:56 +02:00
  • 852fc955bd
    Merge pull request #11076 from Snuffleupagus/XRef-fetch-isRef/cache Tim van der Meij 2019-08-18 14:44:31 +02:00
  • 1cd9a28c81 Replace the XRef.cache Array with a Map instead Jonas Jenwald 2019-08-17 11:44:51 +02:00
  • 34a53b9f5d Inline the isRef checks in the various XRef.fetch related methods Jonas Jenwald 2019-08-17 11:06:27 +02:00
  • 1565d1849d
    Merge pull request #11073 from brendandahl/code-point Tim van der Meij 2019-08-17 13:26:35 +02:00
  • c8129b8787 Move polyfill for codePointAt to String prototype. Brendan Dahl 2019-08-16 14:32:43 -07:00
  • 20181b65d4
    Merge pull request #11070 from Snuffleupagus/Parser-getObj-rm-isString Tim van der Meij 2019-08-16 22:54:55 +02:00
  • 40d3916f31 Reduce the number of temporary variables in the Parser.getObj method Jonas Jenwald 2019-08-16 13:47:12 +02:00
  • 7728a6630c Inline the isString check in the Parser.getObj method Jonas Jenwald 2019-08-16 10:20:43 +02:00
  • 02dcd20263
    Merge pull request #11064 from Snuffleupagus/Util-class Tim van der Meij 2019-08-11 20:57:11 +02:00
  • 7f456b3e2e Replace of all usages of var with let/const in the src/shared/util.js file Jonas Jenwald 2019-08-11 14:10:29 +02:00
  • f6c4a1f080 Convert Util to a class with static methods Jonas Jenwald 2019-08-11 13:56:15 +02:00
  • 7ee370a394 Remove the skipEmpty parameter from Util.intersect (PR 11059 follow-up) Jonas Jenwald 2019-08-11 13:40:58 +02:00
  • 85acc9acac
    Merge pull request #11062 from Snuffleupagus/misc-viewer-cleanup Tim van der Meij 2019-08-11 13:48:35 +02:00
  • 446ce88f81 Remove the non-PRODUCTION only 'disablebcmaps' hash parameter Jonas Jenwald 2019-08-10 15:40:33 +02:00
  • 04a3dc65e4 Move the sidebar toggleButton event listener into PDFSidebar Jonas Jenwald 2019-08-10 15:38:33 +02:00
  • fbe8c6127c
    Merge pull request #11059 from Snuffleupagus/boundingBox-more-validation Tim van der Meij 2019-08-09 22:39:01 +02:00
  • 85b570adfb
    Merge pull request #11057 from Snuffleupagus/issue-11052 Tim van der Meij 2019-08-09 22:02:34 +02:00
  • d637b25e36 Fallback gracefully when encountering corrupt PDF files with empty /MediaBox and /CropBox entries Jonas Jenwald 2019-08-08 15:54:46 +02:00
  • 0f78fdb229 Handle some corrupt/truncated JPEG images that are missing the EOI (End of Image) marker (issue 11052) Jonas Jenwald 2019-08-08 10:31:48 +02:00
  • aaef00ce5d
    Merge pull request #11051 from Snuffleupagus/view-array-compare Tim van der Meij 2019-08-07 23:16:02 +02:00
  • e9b7996f2f Actually compare the cropBox and mediaBox correctly in the Page.view getter Jonas Jenwald 2019-08-07 17:04:26 +02:00
  • bb5e98195d
    Merge pull request #11047 from Snuffleupagus/issue-11045 Tim van der Meij 2019-08-06 22:50:36 +02:00
  • e1aed05c44
    Merge pull request #11049 from brendandahl/telem-add-time Brendan Dahl 2019-08-06 11:53:08 -07:00
  • 47077f8de9 Add page rendered timestamp to telemetry. Brendan Dahl 2019-08-06 09:46:33 -07:00
  • 5ac9c7c384 Support corrupt PDF files with invalid/non-existent Group /CS entries (issue 11045) Jonas Jenwald 2019-08-05 14:40:48 +02:00
  • a666f1ef00
    Merge pull request #11048 from Snuffleupagus/linkService-compact-pagesRefCache Tim van der Meij 2019-08-05 22:44:00 +02:00
  • 9acaaf5126 Use more compact keys in PDFLinkService._pagesRefCache Jonas Jenwald 2019-08-05 17:56:09 +02:00
  • be70ee236d
    Merge pull request #11013 from timvandermeij/annotations-quadpoints Tim van der Meij 2019-08-04 16:06:10 +02:00
  • 6c05a7653d
    Merge pull request #11038 from Snuffleupagus/getStats-objects Tim van der Meij 2019-08-02 22:08:37 +02:00
  • 0276385e6e [api-minor] Fix completely broken getStats method by returning stats in Objects, rather than in Arrays (PR 11029 follow-up) Jonas Jenwald 2019-08-02 13:55:37 +02:00
  • 9c8fe3142a
    Merge pull request #11034 from Snuffleupagus/cancel-with-AbortException Tim van der Meij 2019-08-02 00:18:44 +02:00
  • e0b38bed3c
    Merge pull request #11029 from brendandahl/pdfjs-telemetry-update Tim van der Meij 2019-08-02 00:11:02 +02:00
  • 2754b09888
    Merge pull request #11033 from Snuffleupagus/viewer-close-updateLoadingIndicatorState Tim van der Meij 2019-08-01 23:36:55 +02:00
  • 31d71808e7 [api-minor] Update telemetry to use 'categorical' histograms. Brendan Dahl 2019-07-31 11:42:34 -07:00
  • a3150166ec Ensure that ReadableStreams are cancelled with actual Errors Jonas Jenwald 2019-08-01 16:31:32 +02:00
  • cb1394c13d Ensure that the loading indicator, in the pageNumber input, is hidden when the viewer is closed Jonas Jenwald 2019-08-01 16:17:34 +02:00
  • d909b86b28
    Merge pull request #11020 from Snuffleupagus/issue-11016 Tim van der Meij 2019-07-31 23:33:34 +02:00
  • c5d837d2fe
    Merge pull request #11019 from wangsongyan/master Tim van der Meij 2019-07-31 23:24:08 +02:00
  • c61205d980 decode filename when match an urlencode filename from contentDispositionFilename wangsongyan 2019-07-30 11:37:10 +08:00
  • 9ad50521b1 Add a work-around, in glyphlist.js, for bad PDF generators which use a non-standard /f_f string in the Encoding dictionary when referring to the ff ligature (issue 11016) Jonas Jenwald 2019-07-30 16:48:27 +02:00
  • 323b2eabcf
    Merge pull request #11012 from Snuffleupagus/EvaluatorPreprocessor-read-fewer-function-calls Tim van der Meij 2019-07-29 22:32:02 +02:00
  • 38ccb43436 Reduce the number of function calls in EvaluatorPreprocessor.read Jonas Jenwald 2019-07-28 16:24:58 +02:00
  • 9114004d5b
    [api-minor] Implement quadpoints for annotations in the core layer Tim van der Meij 2019-07-27 20:57:52 +02:00
  • 9b72089886
    Merge pull request #11003 from Snuffleupagus/webViewerWheel-supportedKeys Tim van der Meij 2019-07-23 22:28:36 +02:00
  • e066db47dc
    Merge pull request #10996 from Snuffleupagus/app-conditional-findbar Tim van der Meij 2019-07-23 22:22:31 +02:00
  • 1eed5b7235 Ensure that setting the zoomDisabledTimeout isn't skipped, regardless of the supported zoom keys, when handling mouse wheel events (PR 7097 follow-up) Jonas Jenwald 2019-07-23 17:36:45 +02:00
  • 46b61ff12e Avoid creating a PDFFindBar instance, in the Firefox built-in viewer, when not actually necessary Jonas Jenwald 2019-07-21 13:42:03 +02:00
  • 1f287ec486
    Merge pull request #11001 from Snuffleupagus/Parser-shift-rm-isCmd Tim van der Meij 2019-07-22 22:32:53 +02:00
  • ff90aa4323 Inline the isCmd check in the Parser.shift method Jonas Jenwald 2019-07-22 11:40:00 +02:00
  • 71d9f5f860
    Merge pull request #10995 from Snuffleupagus/app-rm-one-setFileSize Tim van der Meij 2019-07-21 12:42:26 +02:00
  • 53a854bb0a Remove an unnecessary PDFDocumentProperties.setFileSize call, relevant for the Firefox built-in viewer, and use the "normal" code-path in PDFViewerApplication.open instead Jonas Jenwald 2019-07-21 11:38:17 +02:00
  • a1a667809f
    Merge pull request #10993 from Snuffleupagus/AppOption-docBaseUrl Tim van der Meij 2019-07-20 13:57:52 +02:00
  • ba2c042a75 Add the docBaseUrl API parameter to AppOptions in the viewer Jonas Jenwald 2019-07-20 13:39:34 +02:00
  • 0cc0789af3
    Merge pull request #10986 from Snuffleupagus/inline-ensureByte-ensureRange Tim van der Meij 2019-07-19 22:51:21 +02:00
  • acef5bfd16
    Merge pull request #10979 from Snuffleupagus/firefox-zoomreset Tim van der Meij 2019-07-19 22:42:07 +02:00
  • b964df53da
    Merge pull request #10990 from Snuffleupagus/onBeforeDraw-onAfterDraw Tim van der Meij 2019-07-19 22:35:41 +02:00
  • 98c4c646cb
    Merge pull request #10987 from mozilla/dependabot/npm_and_yarn/js-yaml-3.13.1 Tim van der Meij 2019-07-19 22:25:13 +02:00
  • 366eebeb0f Refactor the onBeforeDraw/onAfterDraw functionality used in BaseViewer and PDFPageView Jonas Jenwald 2019-07-19 12:40:49 +02:00
  • 808f7db586
    Bump js-yaml from 3.12.0 to 3.13.1 dependabot[bot] 2019-07-19 00:04:03 +00:00
  • b5254f2745 Attempt to significantly reduce the number of ChunkedStream.{ensureByte, ensureRange} calls by inlining the this.progressiveDataLength checks at the call-sites Jonas Jenwald 2019-07-18 16:24:25 +02:00
  • d1af8bd196 Slightly more simplified dispatching of the 'findbarclose' events in firefoxcom.js Jonas Jenwald 2019-07-18 14:28:49 +02:00
  • 8e5aa484fb [Firefox] Re-factor the 'zoomreset' message handling in the viewer (PR 10652 follow-up) Jonas Jenwald 2019-07-17 11:59:56 +02:00
  • 6e96a158f4
    Merge pull request #10820 from vlastimilmaca/annot-irt-rt-states Tim van der Meij 2019-07-17 23:34:31 +02:00
  • fe49f0f766 Annotations - Implement parsing of IRT, RT, State and StateModel vlastimilmaca 2019-05-14 21:14:35 +02:00
  • bf60fe88d0
    Merge pull request #10974 from Snuffleupagus/refactor-get-fingerprint Tim van der Meij 2019-07-15 22:29:37 +02:00
  • bea15b6ce5 Simplify the PDFDocument.fingerprint method slightly Jonas Jenwald 2019-07-15 11:26:07 +02:00
  • c7de6dbe41 Update the fingerprint API unit-tests to explicitly check for the expected result Jonas Jenwald 2019-07-15 11:19:17 +02:00
  • 13ebfec903
    Merge pull request #10969 from Snuffleupagus/api-test-stopAtErrors Tim van der Meij 2019-07-14 14:47:57 +02:00
  • 766d076dcb
    Merge pull request #10970 from Snuffleupagus/MessageHandler-simplify-finalize Tim van der Meij 2019-07-14 14:45:15 +02:00
  • b548bafef7 Simplify, and inline, the finalize function in the MessageHandler class Jonas Jenwald 2019-07-13 17:47:39 +02:00
  • c7fb7116d6 Add an API unit-test for the stopAtErrors option (PRs 8240 and 8922 follow-up) Jonas Jenwald 2019-07-13 16:06:05 +02:00
  • b01cc55cfd
    Merge pull request #10968 from Snuffleupagus/MessageHandler-rm-useless-wrapReason Tim van der Meij 2019-07-13 14:30:02 +02:00
  • 17116917f7 Remove useless wrapReason calls in the MessageHandler class Jonas Jenwald 2019-07-13 13:08:29 +02:00
  • 421bf62849
    Merge pull request #10966 from brendandahl/pagerendered-time Tim van der Meij 2019-07-12 23:24:10 +02:00
  • 60b8b7a8d2 Add timestamp to the page rendered event. Brendan Dahl 2019-07-12 14:08:23 -07:00
  • e3496041b5
    Merge pull request #10950 from monchouchou/master Tim van der Meij 2019-07-12 23:05:37 +02:00
  • ed3954fc7a
    Merge pull request #10851 from brendandahl/shading-bbox Tim van der Meij 2019-07-12 22:52:07 +02:00
  • 87f36e3520
    Merge pull request #10850 from brendandahl/scale-line-width Tim van der Meij 2019-07-12 22:50:32 +02:00