Commit Graph

  • fc607e35de
    Merge pull request #10350 from Snuffleupagus/sig-fieldValue-null Tim van der Meij 2018-12-12 23:01:53 +01:00
  • c13a426eed
    Merge pull request #10351 from Snuffleupagus/tab-switch-no-wheel-zoom Tim van der Meij 2018-12-12 22:50:11 +01:00
  • 437fb8a8a7 Ignore the fieldValue for Signature annotations, since they're currently unsupported (issue 10374) Jonas Jenwald 2018-12-12 11:04:41 +01:00
  • 5d594885de Attempt to ignore mouse wheel zooming during tab switches (bug 1503412) Jonas Jenwald 2018-12-12 13:46:47 +01:00
  • cad0e61262
    Merge pull request #10337 from wojtekmaj/turn-on-eslint-in-examples Tim van der Meij 2018-12-11 23:44:54 +01:00
  • d9bf3d320f
    Merge pull request #10295 from wojtekmaj/eslint-plugin-mozilla-update Tim van der Meij 2018-12-11 23:35:43 +01:00
  • 9e3f7ac7fa Manually fix remaining ESLint errors Wojciech Maj 2018-12-06 14:02:39 +01:00
  • ef1f255649 ESLint --fix Wojciech Maj 2018-12-06 13:55:15 +01:00
  • 80d7ff4912 Turn on ESLint in examples directory, apply examples-specific exceptions Wojciech Maj 2018-12-06 13:54:38 +01:00
  • e70a22a854 Update eslint-plugin-mozilla to ^1.0.1 Wojciech Maj 2018-11-23 14:40:05 +01:00
  • 2f4c7e01f5
    Merge pull request #10304 from april/master Tim van der Meij 2018-12-10 23:18:30 +01:00
  • 64cb8c6b98
    Add protection against directory traversal attacks April King 2018-12-10 12:59:04 -06:00
  • 45c0197465
    Merge pull request #10330 from janpe2/svg-line-width-zero Tim van der Meij 2018-12-07 23:34:27 +01:00
  • 5b8c51c1bf
    Merge pull request #10340 from Snuffleupagus/history-tryPushCurrentPosition-viewer-modes Tim van der Meij 2018-12-07 23:18:00 +01:00
  • 89e479dd6c Tweak the PDFHistory._tryPushCurrentPosition method to work better with the different Scroll/Spread viewer modes Jonas Jenwald 2018-12-07 12:55:19 +01:00
  • ddabeb0645 Handle line width of zero in SVG Jani Pehkonen 2018-12-04 16:05:32 +02:00
  • 9a1e51af24
    Merge pull request #10323 from Snuffleupagus/unittestcli Tim van der Meij 2018-12-02 14:56:06 +01:00
  • 08584efdfe Test the code as-is, in Node.js/Travis, rather than its Babel translated version Jonas Jenwald 2018-12-01 18:08:32 +01:00
  • 4ff3435517
    Merge pull request #10322 from felipeaugustox/patch-1 Tim van der Meij 2018-12-01 14:44:57 +01:00
  • 1a75647a27
    Remove unuseful variable Felipe augusto 2018-12-01 01:44:18 -02:00
  • c91f437eaa
    Merge pull request #10318 from Snuffleupagus/disablePreferences Tim van der Meij 2018-11-30 22:40:10 +01:00
  • 0dc995c7e0 In GENERIC builds, dispatch a "webviewerloaded" event (from the webViewerLoad function) before initializing the viewer Jonas Jenwald 2018-11-29 11:32:48 +01:00
  • d9743e462d Replace the OVERRIDES list in PDFViewerApplication._readPreferences with a disablePreferences, in GENERIC builds, `AppOption instead Jonas Jenwald 2018-11-29 11:31:49 +01:00
  • 1cb7cc9bf4
    Merge pull request #10300 from timvandermeij/updates-followup Tim van der Meij 2018-11-24 21:54:00 +01:00
  • e15a9797e3
    Include forgotten changes after Wintersmith update Tim van der Meij 2018-11-24 21:39:54 +01:00
  • 327cf38a94
    Merge pull request #10299 from timvandermeij/updates Tim van der Meij 2018-11-24 21:13:59 +01:00
  • 2f2d5776e7
    Update translations Tim van der Meij 2018-11-24 21:03:40 +01:00
  • 498eaadcfb
    Update packages Tim van der Meij 2018-11-24 21:00:22 +01:00
  • 87e3fb8413
    Merge pull request #10275 from Snuffleupagus/trees-get-binary-search Tim van der Meij 2018-11-24 20:51:12 +01:00
  • d0fec7c6fb Fix NameOrNumberTree.get to actually perform a binary search to find the requested key Jonas Jenwald 2018-11-20 13:24:43 +01:00
  • b9b8cef04b
    Merge pull request #10293 from wojtekmaj/babel-7 Tim van der Meij 2018-11-23 23:36:58 +01:00
  • 33fa33ec75
    Merge pull request #10292 from wojtekmaj/replace-uglify-es-with-terser Tim van der Meij 2018-11-23 23:14:47 +01:00
  • 34e79189d2
    Merge pull request #10294 from wojtekmaj/eslint-plugin-import Tim van der Meij 2018-11-23 23:12:42 +01:00
  • b46ec5195f Update Babel to 7.x Wojciech Maj 2018-11-23 12:52:29 +01:00
  • 9921f92a36 Enable eslint-plugin-import to prevent unresolved paths Wojciech Maj 2018-11-23 13:50:28 +01:00
  • 616135962a Fix badly formatted .eslintrc Wojciech Maj 2018-11-23 13:49:58 +01:00
  • 01727e0fcc Replace UglifyJS with Terser Wojciech Maj 2018-11-23 12:06:07 +01:00
  • 7b4f3035d2
    Merge pull request #10274 from Snuffleupagus/out-of-order-trees Tim van der Meij 2018-11-21 22:57:44 +01:00
  • fdad0a0b0b Fallback to an exhaustive search, in corrupt PDF files, for NameTrees/NumberTrees that are not correctly ordered (issue 10272) Jonas Jenwald 2018-11-20 12:34:25 +01:00
  • 9e990f6f3e Repair CFF fonts if stem hints are in wrong order Jani Pehkonen 2018-11-20 18:50:37 +02:00
  • 6ebdbb244f
    Merge pull request #10246 from Snuffleupagus/api-classes Tim van der Meij 2018-11-18 19:41:41 +01:00
  • ac6b94c9dd Replace the remaining occurences, in src/display/api.js, of var with let/const Jonas Jenwald 2018-11-08 16:24:20 +01:00
  • 061f7bd2f3 Convert PDFWorker, in src/display/api.js, to an ES6 class Jonas Jenwald 2018-11-08 16:22:26 +01:00
  • 02e77a39ec Convert InternalRenderTask, in src/display/api.js, to an ES6 class Jonas Jenwald 2018-11-08 14:33:56 +01:00
  • 5a0d64a6de Convert PDFPageProxy, in src/display/api.js, to an ES6 class Jonas Jenwald 2018-11-08 14:13:42 +01:00
  • 2c003a82d5 Convert RenderTask, in src/display/api.js, to an ES6 class Jonas Jenwald 2018-11-08 13:46:02 +01:00
  • ef8e5fd77c Convert PDFDocumentLoadingTask, in src/display/api.js, to an ES6 class Jonas Jenwald 2018-11-08 13:40:06 +01:00
  • 5f15dc2023 Use span instead of div in the text layer PalmerAL 2018-11-18 08:54:08 -06:00
  • 4e3d694451
    Merge pull request #10264 from timvandermeij/updates Tim van der Meij 2018-11-17 23:45:44 +01:00
  • 016c2761da
    Resolve deprecation warnings for Jasmine Tim van der Meij 2018-11-17 22:59:10 +01:00
  • fd3b780a74
    Update packages Tim van der Meij 2018-11-17 21:32:10 +01:00
  • 5df4d29b0f
    Update translations Tim van der Meij 2018-11-17 21:37:36 +01:00
  • 3770073955
    Merge pull request #10256 from Snuffleupagus/invalid-pageNumber-errors Tim van der Meij 2018-11-17 20:25:32 +01:00
  • 9a47a86565 Attempt to tweak the error messages, in BaseViewer, for invalid pageNumbers/pageLabels (bug 1505824) Jonas Jenwald 2018-11-14 16:16:09 +01:00
  • e3e7ccc3e2
    Merge pull request #10255 from Snuffleupagus/renderMatches-less-scrollMatchIntoView Tim van der Meij 2018-11-16 23:04:00 +01:00
  • 9a677ce51a Avoid unnecessary PDFFindController.scrollMatchIntoView calls in TextLayerBuilder._renderMatches when highlightAll is set (PR 10201 follow-up) Jonas Jenwald 2018-11-14 15:15:56 +01:00
  • 960213cb69
    Merge pull request #10244 from dardinier/fix-webpack-example Tim van der Meij 2018-11-12 23:31:09 +01:00
  • 2011345315 Update versions in webpack example Alexis Dardinier 2018-11-09 09:43:23 +01:00
  • 4724ebbcf1
    Merge pull request #10231 from Snuffleupagus/find-no-scroll-highlightAll Tim van der Meij 2018-11-10 20:37:47 +01:00
  • 5b1b5730a1
    Merge pull request #10220 from Snuffleupagus/find-less-scrolling Tim van der Meij 2018-11-10 20:29:02 +01:00
  • 5706961452
    Merge pull request #10223 from Snuffleupagus/find-reset-on-query-change Tim van der Meij 2018-11-10 20:10:22 +01:00
  • b9c03cd667
    Merge pull request #10245 from Snuffleupagus/scrollPageIntoView Tim van der Meij 2018-11-09 23:02:17 +01:00
  • 06609b5337 Prevent errors if PDFFindController.executeCommand is ever called without a state object Jonas Jenwald 2018-11-05 11:10:31 +01:00
  • 8afb550218 When the search query changes, regardless of the search command, always re-calculate matches (bug 1030622) Jonas Jenwald 2018-11-05 11:05:42 +01:00
  • de6b0fd12d Stop scrolling the document when "Highlight All" is toggled in the findbar (issue 5561) Jonas Jenwald 2018-10-30 11:08:16 +01:00
  • fd87f13521 Only scroll search results into view as a result of an actual find operation, and not when the user scrolls/zooms/rotates the document (bug 1237076, issue 6746) Jonas Jenwald 2018-10-30 11:08:09 +01:00
  • e16e072cb3 Directly call _setCurrentPageNumber when updating the Scroll/Spread modes in BaseViewer Jonas Jenwald 2018-11-09 10:16:40 +01:00
  • 2e38b7d00b Update BaseViewer.scrollPageIntoView to always validate the pageNumber parameter Jonas Jenwald 2018-11-09 09:45:09 +01:00
  • 2194aef03e
    Merge pull request #10238 from Snuffleupagus/interfaces Tim van der Meij 2018-11-08 23:28:46 +01:00
  • 0dfedacc6d
    Merge pull request #10233 from Snuffleupagus/PDFObjects-class Tim van der Meij 2018-11-08 23:22:48 +01:00
  • 6bb7492fae Simply export the various interface definitions, rather than disabling ESLint, in web/interfaces.js Jonas Jenwald 2018-11-08 13:18:18 +01:00
  • 4829f567c1 Move the interface definitions out of src/core/worker.js and into their own file Jonas Jenwald 2018-11-08 13:14:12 +01:00
  • 60da2d882b [api-minor] Refactor/simplify the PDFObject class Jonas Jenwald 2018-11-07 14:36:29 +01:00
  • d32321d84f Convert PDFObjects, in src/display/api.js, to an ES6 class Jonas Jenwald 2018-11-07 14:17:14 +01:00
  • 3e342554d1
    Merge pull request #10228 from morille/patch-2 Tim van der Meij 2018-11-07 23:51:01 +01:00
  • 744a693554
    Merge pull request #10219 from Snuffleupagus/ps-parser-class Tim van der Meij 2018-11-07 23:15:01 +01:00
  • 13b0ca6b2a Don't detect nw.js as node.js Romain Petit 2018-11-06 15:56:17 +01:00
  • a963d139dc Convert src/core/ps_parser.js to use ES6 classes Jonas Jenwald 2018-11-03 16:25:53 +01:00
  • 45758dd2d5
    Merge pull request #10217 from Snuffleupagus/findagain-position-reset Tim van der Meij 2018-11-03 16:05:41 +01:00
  • d805d799ff For repeated 'findagain' operations, attempt to reset the search position if the user has e.g. scrolled in the document (issue 4141) Jonas Jenwald 2018-10-30 11:08:26 +01:00
  • d7941b4ce7 Add a helper method, in PDFFindController, to determine if matches need to be re-calculated when a new search operation occurs Jonas Jenwald 2018-11-03 11:52:48 +01:00
  • af99d1dc08 Attempt to improve readability of PDFFindController.executeCommand by (slightly) refactoring the code responsible for calling PDFFindController._nextMatch Jonas Jenwald 2018-10-30 11:08:03 +01:00
  • ec76aa531e
    Merge pull request #10202 from Snuffleupagus/issue-10200 Tim van der Meij 2018-11-02 23:11:47 +01:00
  • f6bc93402e
    Merge pull request #10096 from Snuffleupagus/rm-attachDOMEventsToEventBus Tim van der Meij 2018-11-01 23:27:26 +01:00
  • 4b9d0a67d2 Inline the 'scalechanging' event dispatching in BaseViewer._setScaleUpdatePages Jonas Jenwald 2018-09-20 23:27:10 +02:00
  • e2e9657ed0 Remove the attachDOMEventsToEventBus functionality, since EventBus instances are able to re-dispatch events to the DOM (PR 10019, bug 1492849 follow-up) Jonas Jenwald 2018-09-20 20:51:50 +02:00
  • 7053b5a146
    Merge pull request #10203 from Snuffleupagus/canvasInRendering-WeakSet Tim van der Meij 2018-10-31 22:59:20 +01:00
  • bb5f261c58
    Merge pull request #10201 from Snuffleupagus/find-less-updatePage Tim van der Meij 2018-10-31 22:29:40 +01:00
  • f23dba1c10 Change canvasInRendering to a WeakSet instead of a WeakMap Jonas Jenwald 2018-10-31 18:15:23 +01:00
  • f77b463339 Attempt to clean-up/restore pending rendering operations on RenderTask.cancel (issue 10200) Jonas Jenwald 2018-10-31 16:22:17 +01:00
  • 014b7a3147 Reduce the number of redundant updatetextlayermatches events dispatched when calculating matches in PDFFindController Jonas Jenwald 2018-10-31 15:54:10 +01:00
  • 42b7bb4751
    Merge pull request #10190 from Snuffleupagus/_getCurrentVisiblePage Tim van der Meij 2018-10-29 23:19:32 +01:00
  • 74b5d0b022
    Merge pull request #10196 from Snuffleupagus/findbarclose-findagain-highlightAll Tim van der Meij 2018-10-29 23:12:37 +01:00
  • 96abb4bbe7 [Regression] Ensure that "Highlight All" is propagated to all pages for 'findagain' events where the findbar was previously closed (PR 10100 follow-up) Jonas Jenwald 2018-10-29 16:15:28 +01:00
  • 2a79bcbe45 Add a helper method for _getVisiblePages, in BaseViewer, for the case where only a single page is displayed in the viewer Jonas Jenwald 2018-10-24 12:29:56 +02:00
  • 991a574c60
    Merge pull request #10184 from Snuffleupagus/findbarclose-abort Tim van der Meij 2018-10-28 14:01:03 +01:00
  • 04ce2afd4a
    Merge pull request #10182 from Snuffleupagus/TextLayerBuilder-rm-findController-checks Tim van der Meij 2018-10-28 13:45:01 +01:00
  • a77ac5fa23
    Merge pull request #10185 from Snuffleupagus/find-less-normalization Tim van der Meij 2018-10-28 13:31:15 +01:00
  • ed4ac1bc67
    Merge pull request #10162 from janpe2/svg-normalize-bbox Tim van der Meij 2018-10-28 13:18:48 +01:00
  • c76c9878be
    Merge pull request #10188 from timvandermeij/download-button Tim van der Meij 2018-10-27 21:01:13 +02:00