Commit Graph

  • f000417ce0 [Firefox addon] Stop bundling src/core/network.js into the FIREFOX/MOZCENTRAL builds (PR 7322 follow-up) Jonas Jenwald 2017-01-23 22:14:34 +01:00
  • ca74e15a46 Merge pull request #7988 from Snuffleupagus/eslint-more-rules-2 Yury Delendik 2017-01-23 14:28:12 -06:00
  • f77c52291e Enable the no-empty-pattern/no-floating-decimal/no-self-compare/no-delete-var/no-new-object ESLint rules Jonas Jenwald 2017-01-23 14:49:38 +01:00
  • fc2d8c15e8 Adds noopener and nofollow to rel attribute of hyperlinks. Yury Delendik 2017-01-23 10:34:27 -06:00
  • fd1affa78a Merge pull request #7982 from Snuffleupagus/addon-es6 Yury Delendik 2017-01-23 09:53:37 -06:00
  • 857e360a42 Merge pull request #7977 from Snuffleupagus/paintedViewport-regression Yury Delendik 2017-01-23 09:41:35 -06:00
  • a47fc2f8f3 Merge pull request #7985 from yurydelendik/ie9-doc-ready Jonas Jenwald 2017-01-23 16:37:23 +01:00
  • a9cf281723 Fixes IE9 document.readyState and input.type=number issues. Yury Delendik 2017-01-23 09:23:13 -06:00
  • 52360694b0
    Remove ids from viewer page and thumbnail divs Dave House 2017-01-18 17:02:11 -07:00
  • 9eb9065c79 Ensure that we use the *correct* paintedViewport in PDFPageView.cssTransform, to avoid visual glitches on quick rotations (PR 7738 follow-up) Jonas Jenwald 2017-01-21 12:27:57 +01:00
  • 3ec99f0e12 [Firefox addon] Convert the code to be ES6 friendly, in order to better agree with mozilla-central coding conventions (issue 7957) Jonas Jenwald 2017-01-22 18:07:53 +01:00
  • 1948a53ebb Merge pull request #7973 from Snuffleupagus/eslint_spaced-comment Tim van der Meij 2017-01-22 21:58:42 +01:00
  • 17dd2e6b20 Merge pull request #7979 from Snuffleupagus/eslint-more-rules Tim van der Meij 2017-01-22 20:53:26 +01:00
  • 54d55e8b7a Merge pull request #7980 from mukulmishra18/lint-errors Jonas Jenwald 2017-01-22 00:49:20 +01:00
  • 4e38200030 Fix #7978: Fixes ESLint yoda rule for the URL polyfill. Mukul Mishra 2017-01-21 22:47:28 +05:30
  • 82ea7e6e6e Enable the no-unsafe-finally/no-octal/no-useless-call ESLint rules Jonas Jenwald 2017-01-21 17:08:25 +01:00
  • f8e793f8c2 Merge pull request #7974 from Snuffleupagus/eslint_no-lone-blocks Tim van der Meij 2017-01-19 22:35:38 +01:00
  • 31684e6918 Enable the no-lone-blocks ESLint rule Jonas Jenwald 2017-01-19 18:29:50 +01:00
  • 4626fc8342 Enable the spaced-comment ESLint rule Jonas Jenwald 2017-01-19 16:26:32 +01:00
  • a917443ae6 Merge pull request #7965 from Snuffleupagus/bug-1331081 Tim van der Meij 2017-01-17 22:26:26 +01:00
  • 70c1a6b120 [Bug 1331081] omit addEventListener/removeEventListener's third parameter when it's false Jonas Jenwald 2017-01-17 17:45:46 +01:00
  • c1703e977d Merge pull request #7960 from Snuffleupagus/eslint_space-unary-ops Tim van der Meij 2017-01-16 22:18:39 +01:00
  • 0dff8f3600 Adjust the space-unary-ops ESLint rule to comply with mozilla-central lint rules Jonas Jenwald 2017-01-16 17:19:25 +01:00
  • c0a47fddcc Update l10n files Jonas Jenwald 2017-01-16 09:54:50 +01:00
  • 9b111c9157 Merge pull request #7956 from Snuffleupagus/bug-1330147 Yury Delendik 2017-01-13 08:06:18 -06:00
  • 54a64863e2 [Bug 1330147] removeObserver calls should not supply a third parameter Jonas Jenwald 2017-01-13 11:34:26 +01:00
  • 76b4c8fae1 Merge pull request #7954 from yurydelendik/bug1329182 Yury Delendik 2017-01-12 19:41:44 -06:00
  • 1f424e561d [Bug 1329182] remove trailing newURI null parameters Yury Delendik 2017-01-12 19:40:51 -06:00
  • b8cd14336e Merge pull request #7913 from Snuffleupagus/addon-minimum-firefox45 Yury Delendik 2017-01-12 15:12:27 -06:00
  • 1fda987a4c Merge pull request #7904 from Snuffleupagus/issue-7901 Tim van der Meij 2017-01-12 21:55:57 +01:00
  • c0d7029039 Merge pull request #7951 from Snuffleupagus/FileAttachmentAnnotation-simplified-unittest Yury Delendik 2017-01-12 12:27:26 -06:00
  • e88c9c75db Simplify the FileAttachmentAnnotation unit-test to avoid having to use the entire API in the test Jonas Jenwald 2017-01-12 14:11:22 +01:00
  • 7c3a63bae0 Rename annotation_layer_spec.js to annotation_spec.js since the unit-tests only cover src/core/annotation.js functionality Jonas Jenwald 2017-01-12 19:00:53 +01:00
  • 1af35a6d88 Merge pull request #7948 from Skaty/fix-bidi-fraction Yury Delendik 2017-01-12 10:40:08 -06:00
  • 857a5da8f1 Fix inverted calculation of RTL text percentage in bidi. Syed Abdullah 2017-01-12 00:04:54 +08:00
  • 00ab0abd4e Merge pull request #7945 from yurydelendik/mv-locale-cmaps Jonas Jenwald 2017-01-11 14:05:21 +01:00
  • 393740e2ae Merge pull request #7869 from PedroPachecoInf/master Yury Delendik 2017-01-10 12:37:26 -06:00
  • f1abd834d8 Moves locale and cmaps tasks to gulpfile. Yury Delendik 2017-01-10 11:50:38 -06:00
  • 493853031b Fixes issue #6071. jazzchipc 2016-12-04 19:44:12 +00:00
  • e5cea05881 Merge pull request #7944 from yurydelendik/rm-defpref Jonas Jenwald 2017-01-10 17:19:26 +01:00
  • cf7a9f99c8 Merge pull request #7943 from Snuffleupagus/fixtures-test-fixes Yury Delendik 2017-01-10 08:58:37 -06:00
  • 930a28d879 Better DOMContentLoaded handling. Yury Delendik 2017-01-10 08:49:08 -06:00
  • ac2d4abf39 Removes web/default_preferences.js file. Yury Delendik 2017-01-10 08:33:32 -06:00
  • 3aa37ae8bc Add the external/builder/fixtures/ directory to .eslintignore, to avoid having to disable various lint rules locally Jonas Jenwald 2017-01-10 14:39:53 +01:00
  • fe9a561d45 Actually increment the errors counter on failures in test-fixtures.js/test_fixtures_esprima.js, so that the test runners won't incorrectly report that the tests passed Jonas Jenwald 2017-01-10 14:32:40 +01:00
  • cf00516f04 Rename the external/builder/test*.js files to make it more obvious what they test Jonas Jenwald 2017-01-10 14:27:05 +01:00
  • ca0ebdfa56 Merge pull request #7942 from yurydelendik/rm-deadcode Jonas Jenwald 2017-01-10 13:31:47 +01:00
  • 77b7b84d1e Removes rest of 'no-else-return' comments. Yury Delendik 2017-01-09 19:13:36 -06:00
  • 6265bb6038 Fixes preprocessor testing and adds deadcode removal. Yury Delendik 2017-01-09 13:15:09 -06:00
  • f828f07ccd Merge pull request #7941 from Snuffleupagus/Page-idFactory Tim van der Meij 2017-01-10 00:25:48 +01:00
  • 642d8621ef Replace direct lookup of uniquePrefix/idCounters, in Page instances, with an idFactory containing an createObjId method instead Jonas Jenwald 2017-01-08 16:51:30 +01:00
  • e259bc2c16 Merge pull request #7939 from yurydelendik/unittesttravis Tim van der Meij 2017-01-09 23:14:17 +01:00
  • 098acb1269 Merge pull request #7935 from Snuffleupagus/eslint_no-else-return Tim van der Meij 2017-01-09 23:03:48 +01:00
  • c45300e06c Enables some unit tests on travis. Yury Delendik 2017-01-09 15:43:45 -06:00
  • 4046d67fde Enable the no-else-return ESLint rule Jonas Jenwald 2016-12-16 13:05:33 +01:00
  • 049d7fa277 Merge pull request #7934 from porlan1/master Yury Delendik 2017-01-09 11:27:31 -06:00
  • d9e1cb7955 unit test files as UMD modules porlan1 2017-01-09 11:40:57 -05:00
  • 15f75a5585 [Firefox addon] Remove the registerAddonHistogram fallback code for Firefox versions 36 (and below) from PdfJsTelemetry-addon.jsm Jonas Jenwald 2016-12-23 12:47:33 +01:00
  • 9434c023ab [Firefox addon] Change the minimum supported version to Firefox 45, i.e. the current ESR version, and remove no longer necessary fallback code Jonas Jenwald 2016-12-23 12:30:10 +01:00
  • aabfb7788a Merge pull request #7926 from Snuffleupagus/api-onPassword-abort/throw-Promise Jonas Jenwald 2017-01-04 10:44:18 +01:00
  • 14b8523314 Refactor the password handling so that it's stored in the PdfManagers, instead of in the XRef Jonas Jenwald 2017-01-03 12:39:38 +01:00
  • 27513cd23b [api-minor] Ensure that the getDocument Promise is rejected if the loadingTask is destroyed, or an Error is thrown, inside of the onPassword callback (issue 7806) Jonas Jenwald 2016-12-31 13:59:07 +01:00
  • 4e62562a36 Update l10n files Jonas Jenwald 2017-01-02 13:26:09 +01:00
  • 59afb4b9f0 Merge pull request #7920 from Snuffleupagus/bug-1157493-followup Jonas Jenwald 2016-12-29 10:52:31 +01:00
  • ddea9a6b04 Improve the handling of Encoding dictionary, with Differences array, in PartialEvaluator_preEvaluateFont Jonas Jenwald 2016-12-28 00:06:54 +01:00
  • 22f0a04df0 Merge pull request #7829 from Snuffleupagus/finishPaintTask-promise Tim van der Meij 2016-12-27 23:51:06 +01:00
  • e963971244 Further adjust the heuristics used to detect OpenType font files with CFF data, to ensure that all Type0 fonts are handled the same way regardless of font Subtype (issue 7901) Jonas Jenwald 2016-12-20 16:42:15 +01:00
  • 3b3a179486 Merge pull request #7879 from rossj/highlight-fix Yury Delendik 2016-12-19 09:18:13 -06:00
  • 33063a486e Update l10n files Jonas Jenwald 2016-12-19 11:10:14 +01:00
  • 73e0daed6c Let finishPaintTask in pdf_page_view.js return a promise instead, to avoid having to throw in the paintTask.promise rejection handler, and don't reject the PDFPageView_draw promise when rendering is cancelled Jonas Jenwald 2016-11-18 21:52:25 +01:00
  • 017e9b98d1 Merge pull request #7898 from timvandermeij/acroforms-checkbox-radiobutton Tim van der Meij 2016-12-17 21:22:15 +01:00
  • a428899b3c Button widget annotations: improve unit tests, simplify code and remove labels Tim van der Meij 2016-12-15 23:49:46 +01:00
  • 77148c7880 Button widget annotations: implement radio button value fetching according to the specification Tim van der Meij 2016-12-15 22:58:27 +01:00
  • 0c9a06c020 Button widget annotations: implement reference testing Tim van der Meij 2016-12-15 22:15:38 +01:00
  • ba012c7a68 Button widget annotations: implement checkboxes and radio buttons benweet 2016-11-04 12:01:42 +00:00
  • d0893b0c48 Merge pull request #7900 from Snuffleupagus/choiceWidget-Opt-indirect-objects Tim van der Meij 2016-12-17 20:29:43 +01:00
  • bd91f34513 Ensure that we handle indirect objects in all types of Opt entries in ChoiceWidget annotation dictionaries Jonas Jenwald 2016-12-17 13:34:18 +01:00
  • a719b71e59 Merge pull request #7897 from Snuffleupagus/eslint-switch Tim van der Meij 2016-12-16 22:40:41 +01:00
  • c850968fa7 Remove globals that are now unnecessary thanks to the use of various ESLint environments (e.g. Node, ShellJS, Jasmine) Jonas Jenwald 2016-12-15 18:10:43 +01:00
  • 2f3805efbc Switch to using ESLint, instead of JSHint, for linting Jonas Jenwald 2016-12-15 15:52:29 +01:00
  • 4537590033 Consitently apply textAdvanceScale during building of textContentItems for improved highlighting. Fixes #7878. Ross Johnson 2016-12-06 16:07:16 -06:00
  • b629be05bd Merge pull request #7886 from Snuffleupagus/viewer-async-initialization Jonas Jenwald 2016-12-14 17:30:40 +01:00
  • a96b0f80dd Convert the only remaining consumer (in hand_tool.js) of the 'localized' event to use the localized Promise instead, and only re-dispatch the 'localized' event on the eventBus for GENERIC builds Jonas Jenwald 2016-12-08 14:44:12 +01:00
  • 648024f5d0 Don't call bindEvents() until PDFViewerApplication has been initialized, and move binding of window event listeners to a helper method, to prevent errors if an event manages to arrive too soon Jonas Jenwald 2016-12-08 16:28:40 +01:00
  • 849f5dde9d Move the Preferences initialization/fetching code to the top of PDFViewerApplication.initialize, to enable using them when initializing e.g. the viewer components Jonas Jenwald 2016-12-08 13:30:21 +01:00
  • 2c1436f6cb Refactor PDFViewerApplication.initialize into two methods, one that reads the Preferences and one that initializes the various viewer components Jonas Jenwald 2016-12-10 23:10:08 +01:00
  • 7d8fa1385d Merge pull request #7890 from Snuffleupagus/pre-eslint-fixes Tim van der Meij 2016-12-14 01:16:24 +01:00
  • 28e50cfa21 Fix errors reported by the space-infix-ops ESLint rule Jonas Jenwald 2016-12-11 10:43:09 +01:00
  • 68bf47d55d Fix errors reported by the space-before-function-paren ESLint rule Jonas Jenwald 2016-12-11 10:53:17 +01:00
  • 551eb263e3 Fix errors reported by the semi-spacing ESLint rule Jonas Jenwald 2016-12-10 22:15:23 +01:00
  • aae27e76bb Fix errors reported by the no-multiple-empty-lines ESLint rule Jonas Jenwald 2016-12-10 21:47:52 +01:00
  • efbb1e9b1c Fix errors reported by the new-cap ESLint rule Jonas Jenwald 2016-12-10 21:33:39 +01:00
  • c36468cbce Fix errors reported by the keyword-spacing ESLint rule Jonas Jenwald 2016-12-12 20:18:48 +01:00
  • 86ba634c97 Fix errors reported by the key-spacing ESLint rule Jonas Jenwald 2016-12-10 21:17:11 +01:00
  • 6606540fe4 Fix errors reported by the func-call-spacing ESLint rule Jonas Jenwald 2016-12-10 21:10:29 +01:00
  • ad915f8af1 Fix errors reported by the comma-spacing ESLint rule Jonas Jenwald 2016-12-10 19:58:36 +01:00
  • 66d2637b3f Fix errors reported by the yoda ESLint rule Jonas Jenwald 2016-12-10 17:23:46 +01:00
  • e53ab844cc Fix errors reported by the no-useless-concat ESLint rule Jonas Jenwald 2016-12-10 14:57:41 +01:00
  • 3820946301 Fix (most) errors reported by the no-multi-spaces ESLint rule Jonas Jenwald 2016-12-10 14:28:27 +01:00
  • 328e7397ea Fix errors reported by the no-extra-bind ESLint rule Jonas Jenwald 2016-12-10 13:58:06 +01:00