Jonas Jenwald
9f63fa4b07
Address review comments from Bug 1148192 - Update pdf.js to version 1.1.24
...
See https://bugzilla.mozilla.org/show_bug.cgi?id=1148192#c3 .
2015-04-06 16:26:23 +02:00
Jonas Jenwald
b721e902dc
Remove unused |getChromeWindow| function from PdfStreamConverter.jsm
2015-03-24 18:58:20 +01:00
Jonas Jenwald
133cfc78fa
Remove obsolete CPOW code from PdfjsContentUtils.jsm (PR 5749 followup)
...
This code is unused since PR 5749, and according to https://github.com/mozilla/pdf.js/pull/5749#discussion_r25931841 it should be removed.
2015-03-24 18:36:05 +01:00
Yury Delendik
5cbb5004a3
Merge pull request #5749 from krizsa/removeCPOWs
...
Bug 1072350 - Removing CPOWs used by Find events.
2015-03-24 11:59:06 -05:00
Yury Delendik
ed243cf02f
Using newChannel2 instead of newChannel in the extension.
2015-03-09 19:40:19 -05:00
Gabor Krizsanits
595be5cb4f
Bug 1072350 - Removing CPOWs used by Find events.
2015-03-08 17:21:06 +01:00
Collin Anderson
54e984c763
cleaned whitespace
2015-02-17 11:07:37 -05:00
Jonas Jenwald
801902c6cc
Fix lint error: extensions/firefox/content/PdfStreamConverter.jsm: line 384, col 63, Expected '===' and instead saw '=='.
2015-01-22 20:58:04 +01:00
Jonas Jenwald
8389f1d792
Merge pull request #5511 from gijsk/patch-1
...
Bug 639134 - update check for document colors
2015-01-22 20:43:50 +01:00
Rob Wu
1b043bfd5a
Chrome extension: Add options page
2015-01-14 00:01:29 +01:00
Gijs
1d674d3e8f
Bug 639134 - update check for document colors
...
This checks for both prefs on the understanding that we need to work on older versions of Firefox. If that isn't the case, the first part of the if isn't necessary. This should only land if bug 639134 is resolved - I'd make the patch part of that bug, but AIUI pdfjs's canonical repo is on github, so...
2014-11-26 23:25:03 +00:00
Jonas Jenwald
4da57c3b85
Fix code style in extensions/firefox/content/PdfStreamConverter.jsm
2014-11-06 23:49:51 +01:00
Jonas Jenwald
8921606b68
Fix code style in extensions/firefox/content/PdfJsTelemetry-addon.jsm
2014-11-06 23:49:50 +01:00
Jonas Jenwald
80503e4197
Fix code style in extensions/firefox/content/PdfJsTelemetry.jsm
2014-11-06 23:37:34 +01:00
Jonas Jenwald
ac0f48c2fc
Fix code style in extensions/firefox/content/PdfJs-stub.jsm
2014-11-06 23:37:34 +01:00
Jonas Jenwald
c4c5c2222b
Fix code style in extensions/firefox/content/PdfjsContentUtils.jsm
2014-11-06 23:37:33 +01:00
Jonas Jenwald
3370b18e0b
Fix code style in extensions/firefox/content/PdfjsChromeUtils.jsm
2014-11-06 23:37:33 +01:00
Jonas Jenwald
9ed3e1e545
Fix code style in extensions/firefox/content/PdfJs.jsm
2014-11-06 23:37:32 +01:00
Brendan Dahl
1480850045
Merge pull request #5428 from yurydelendik/regaddon
...
Bug 1076909 - change args order in registerAddonHistogram.
2014-11-06 14:34:51 -08:00
Yury Delendik
4d4ef11978
Bug 1076909 - change args order in registerAddonHistogram.
2014-11-06 15:27:28 -06:00
araghava
e2c001c19d
[issue 5440] fix rtl direction bug for full language codes
2014-10-26 17:16:56 -04:00
Brendan Dahl
8445ff1e45
Merge pull request #5402 from yurydelendik/streammem
...
Refactors PdfDataLister buffering.
2014-10-13 14:26:50 -07:00
Yury Delendik
63444aa4b3
Refactors PdfDataLister buffering.
2014-10-13 15:27:05 -05:00
Yury Delendik
55957a7d30
Merge pull request #5395 from Snuffleupagus/getTabForBrowser
...
[Firefox] Use getTabForBrowser instead of _getTabForBrowser if possible
2014-10-13 09:16:36 -05:00
Jim Mathies
fc3721ce2d
Bug 1071709 - 5-30% TART / Session Restore regressions on Inbound (v.35) september 22 from rev d3a7f765152f
2014-10-10 23:04:49 +02:00
Jonas Jenwald
a34e7aa8fe
[Firefox] Use getTabForBrowser instead of _getTabForBrowser if possible
2014-10-10 22:26:52 +02:00
Yury Delendik
56d11fc26b
Merge pull request #5364 from Rob--W/firefox-pbu_isWindowPrivate
...
Firefox addon: Use isContentWindowPrivate instead of isWindowPrivate if available
2014-10-01 17:05:23 -05:00
Rob Wu
4fe92f6d01
addon: isWindowPrivate -> isContentWindowPrivate
...
As of Firefox 35, isContentWindowPrivate should be used for DOM windows instead of isWindowPrivate.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1069059 and
http://hg.mozilla.org/mozilla-central/diff/324798b60ba3/toolkit/modules/PrivateBrowsingUtils.jsm
Without this fix, you will get the following error message when Firefox+PDF.js is started:
>
WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.jsm:25:14
ChromeActions.prototype.isInPrivateBrowsing@resource://pdf.js/PdfStreamConverter.jsm:237:12
xhr_onreadystatechange@resource://pdf.js/PdfStreamConverter.jsm:545:30
NetworkManager_requestRange@resource://pdf.js/network.js:95:7
NetworkManager_requestRange@resource://pdf.js/network.js:81:14
RangedChromeActions_requestDataRange@resource://pdf.js/PdfStreamConverter.jsm:596:1
RequestListener.prototype.receive@resource://pdf.js/PdfStreamConverter.jsm:705:5
PdfStreamConverter.prototype.onStartRequest/proxy.onStopRequest/<@resource://pdf.js/PdfStreamConverter.jsm:909:11
FirefoxComClosure/<.request@resource://pdf.js/web/viewer.js:529:14
PdfDataRangeTransport_requestDataRange@resource://pdf.js/web/viewer.js:2977:9
transportDataRange@resource://pdf.js/build/pdf.js:2122:13
messageHandlerComObjOnMessage@resource://pdf.js/build/pdf.js:1219:9
2014-10-01 23:50:03 +02:00
Yury Delendik
c0e933682a
Disables streaming in the extension when length is undefined.
2014-10-01 14:16:50 -05:00
Yury Delendik
a95123188a
Disables hash options when PDFBug is disabled and fixed streaming regressions.
2014-09-26 11:49:18 -05:00
Brendan Dahl
9c56c6f9f6
Merge pull request #5263 from yurydelendik/stream
...
Implement streaming using moz-chunk-arraybuffer
2014-09-25 16:40:28 -07:00
Brendan Dahl
678fb0ea9f
Merge pull request #5314 from yurydelendik/issue5313
...
Fixes names collisions in content.js
2014-09-23 14:01:53 -07:00
Tim van der Meij
6f3ae49b8c
Adds pdfBugEnabled to the Chrome extension preferences
2014-09-20 10:24:04 +02:00
Yury Delendik
c3f191a27c
Implement streaming using moz-chunk-arraybuffer
2014-09-19 19:05:25 -05:00
Yury Delendik
63b7fa5634
Merge branch 'issue-4954' of https://github.com/Snuffleupagus/pdf.js into hashes
...
Conflicts:
web/viewer.js
2014-09-19 18:25:11 -05:00
Jim Mathies
b399f19426
Bug 1064496 review changes
2014-09-19 15:31:21 -05:00
Yury Delendik
861a7615ff
Adds preprocessor directive to the X-Content-Security-Policy stuff
2014-09-19 15:18:37 -05:00
Yury Delendik
dd48d1c352
Fixes names collisions in content.js
2014-09-19 13:58:12 -05:00
Jonas Jenwald
8d27f38c64
Rename |_isPrefAllowed| to |_ensurePreferenceAllowed| in extensions/firefox/content/PdfjsChromeUtils.jsm
2014-09-18 15:06:34 +02:00
Jonas Jenwald
dbe756c406
Update the license header in extensions/firefox/content/pdfjschildbootstrap.js; see https://bugzilla.mozilla.org/show_bug.cgi?id=942707#c99
2014-09-18 12:08:48 +02:00
Jonas Jenwald
c00951e3e4
Add back pdfBugEnabled pref check in the |log| function in extensions/firefox/content/PdfStreamConverter.jsm
2014-09-18 12:08:48 +02:00
Jonas Jenwald
3ac9bd063d
Fix setPreferences regression from the e10s patch (PR 5115)
2014-09-18 12:08:47 +02:00
Brendan Dahl
f6745d5b03
Merge pull request #5115 from yurydelendik/e10s
...
Firefox pdf viewer support for e10s (Bug 942707).
2014-09-17 14:28:41 -07:00
Yury Delendik
1cda4c7a4b
Loading PDF.js extension into e10s windows
2014-09-17 16:14:04 -05:00
Yury Delendik
7ae7fd3d1a
Adds DEFAULT_PREFERENCES to the PdfjsChromeUtils
2014-09-08 15:53:01 -05:00
Yury Delendik
782ed5cb67
Lint error fix for pdfjschildbootstrap.js
2014-09-08 15:44:21 -05:00
Rob Wu
7938081e81
streamsPrivate API change.
...
Since 25 February 2014 (crbug.com/345882)
2014-09-06 00:41:08 +02:00
Jim Mathies
f2096fe23f
Firefox pdf viewer support for e10s (Bug 942707).
2014-09-05 17:33:52 -05:00
Rob Wu
1055350425
Chrome extension: Isolate pageAction logic
...
Remove pageAction logic from extension router, and put it in a
separate file. The pageAction URL parsing logic has been simplified,
and all pageAction-related files have been moved to a separate directory.
2014-08-22 23:00:39 +02:00
Yan Or
d8bc16362c
Bug 1054590 - [pdf.js] Update to use gaia-header
2014-08-15 17:57:07 -07:00