Commit Graph

121 Commits

Author SHA1 Message Date
Yury Delendik
df4fadeaf5 Unknown length support; reports download error 2012-08-20 17:16:04 -05:00
Yury Delendik
9cc5fc4e38 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into loadingbychrome
Conflicts:
	web/viewer.js
2012-08-15 10:17:30 -05:00
Yury Delendik
4de0d31318 Finds correct window/notification box for fallback message 2012-08-09 17:07:41 -05:00
Yury Delendik
fc3efa9b16 FF17 getSimpleCodebasePrincipal name change 2012-08-01 16:39:51 -05:00
Yury Delendik
c905191de2 Implements loading PDF data by extension/chrome 2012-07-31 12:21:07 -05:00
Brendan Dahl
f16c6f19aa Address moz central comments for ff16. 2012-07-13 16:14:37 -07:00
Brendan Dahl
87d9651eb7 Fix fallback after new download. 2012-06-04 17:33:27 -07:00
Brendan Dahl
16b1fa1e98 Merge upstream. 2012-06-04 11:16:02 -07:00
Brendan Dahl
da94701c7b Addresses review feedback from mozilla central. See bugzilla bug 752676. 2012-06-04 09:38:22 -07:00
Yury Delendik
769bbf20e1 Merge pull request #1781 from brendandahl/app-pref
GH Portion of the Control pdf.js and Other PDF Plugins using Application Preferences bug
2012-06-01 16:46:48 -07:00
Brendan Dahl
6175e4b526 Use already downloaded data for the open with/save as dialog. 2012-06-01 14:17:09 -07:00
Brendan Dahl
3d7f01d9ca Add global pref to enable/disable. Control pdf.js in application preferences. Add Artur's mochi tests. 2012-05-31 11:16:06 -07:00
Artur Adib
92465b41c5 EXT_PREFIX --> PREF_PREFIX 2012-05-29 12:14:12 -04:00
Artur Adib
9597efb3f4 merge upstream 2012-05-29 11:54:11 -04:00
Brendan Dahl
2da12930a6 Merge branch 'master' of github.com:mozilla/pdf.js into fallback-ui
Conflicts:
	extensions/firefox/components/PdfStreamConverter.js
2012-05-24 14:01:10 -07:00
Brendan Dahl
5d67183b4d Fix notification from showing up in wrong window. 2012-05-23 16:54:55 -07:00
Brendan Dahl
ee54c0bfe4 Remove disable option. Change download wording to open. 2012-05-23 16:16:48 -07:00
Brendan Dahl
4bee4c6ee8 Use different id's for moz central and extension. 2012-05-23 15:57:14 -07:00
Artur Adib
6cd9ae01cc Enable/disable search via about:config pref 2012-05-21 11:15:24 -04:00
Brendan Dahl
080c3e79fc Merge upstream. Use new l10n. 2012-05-15 10:33:01 -07:00
Brendan Dahl
5afef149ea Merge pull request #1690 from yurydelendik/stringbundle-1
Loading extension resources via stringbundle
2012-05-14 17:24:55 -07:00
Brendan Dahl
034583e1a1 Add new severity log info(). Change severity of some log messages. Trigger fallback on errors and warnings for extension. 2012-05-14 17:19:09 -07:00
Jakob Miland
bf64240dc3 SeaMonkey support without SMILE 2012-05-12 15:16:53 +02:00
Yury Delendik
d9f995f9ca Change pdfviewer->pdf.js for chrome://;new line 2012-05-11 17:35:43 -05:00
Yury Delendik
7d648cfa13 Lint errors 2012-05-11 15:18:46 -05:00
Yury Delendik
56b3a7086e Remove unused code 2012-05-11 14:42:20 -05:00
Yury Delendik
6323c8e084 Loading extension resources via stringbundle 2012-05-11 14:39:11 -05:00
Brendan Dahl
fca6f352e4 Add firefox ui fallback on error/unsupported feature. 2012-05-10 15:54:58 -07:00
Yury Delendik
52832894f5 Merge pull request #1673 from brendandahl/fallback
Add fallback option for the extension.
2012-05-10 13:10:46 -07:00
Gavin Sharp
117582b2ea fix review comments from bdahl 2012-05-10 10:05:24 -07:00
Gavin Sharp
b607147368 Issue 1682: don't use FUEL in pdf.js 2012-05-09 17:04:52 -07:00
Brendan Dahl
c1f73b96a4 Use open with/save as dialog for fallback and download. 2012-05-08 16:11:50 -07:00
Brendan Dahl
982c7a0f7e Add fallback option for the extension. 2012-05-08 13:05:33 -07:00
Yury Delendik
32e9eb35fe Using web browsers locale in the extension mode 2012-05-01 20:37:03 -05:00
Brendan Dahl
f72c04b373 Fix extension comment nits. 2012-04-16 14:33:11 -07:00
Brendan Dahl
a794319845 Add url check. 2012-03-23 14:48:50 -07:00
Brendan Dahl
11e84b2b7b Remove duplicaten dom window func. 2012-03-23 14:32:19 -07:00
Brendan Dahl
22c858c2ec Use a different way to add the event listener. 2012-03-23 14:28:09 -07:00
Brendan Dahl
84568ee46d Address mc extension code review. 2012-03-20 09:39:33 -07:00
notmasteryet
6186ab6004 Whitelist GET 2012-03-14 18:43:20 -05:00
Brendan Dahl
abf8fe39ac Only enable pdfDebug for the extension if a pref is set. 2012-03-14 15:34:12 -07:00
notmasteryet
0ea87068ed Skipping HTTP POST requests in the addon 2012-02-22 21:52:29 -06:00
Brendan Dahl
fb31dc3f86 Fix some nits. 2012-02-07 17:54:40 -08:00
Brendan Dahl
b867aa9922 Switch to constant for max database length. 2012-02-07 16:44:03 -08:00
Brendan Dahl
1af9a72011 Make the add-on truly restartless. 2012-02-07 16:39:07 -08:00
Brendan Dahl
9a1741f466 Protect against a malicious setDatabase. Remove unneeded save data. 2012-02-06 21:04:53 -08:00
Brendan Dahl
7a17676b06 Better way to add custom event listener. 2012-02-06 16:06:18 -08:00
Brendan Dahl
b6f05fb8c6 Throw exception for sync version. Don't use const. 2012-02-06 13:23:18 -08:00
Brendan Dahl
4994faa3c1 Use services where possible. 2012-02-03 16:49:44 -08:00
notmasteryet
84f69eb27f Fix HTTP redirection for the extension 2012-02-02 18:29:08 -06:00
Brendan Dahl
6cf3109329 Address review concerns. 2012-01-31 17:53:42 -08:00
Brendan Dahl
f46b0474ce Change name to reflect what it is now. Change GUID. 2012-01-27 11:02:27 -08:00
Brendan Dahl
e7a0a2e129 Better way to listen to events and verify them. 2012-01-27 10:53:07 -08:00
Brendan Dahl
0d839c1c59 Fix how we're storing settings and change how the save pdf works. 2012-01-25 17:40:08 -08:00
Brendan Dahl
858aab008f Fix the download button. 2012-01-24 21:33:03 -08:00
Brendan Dahl
4d3057aba7 Fix lint. 2012-01-23 17:52:53 -08:00
Brendan Dahl
178b89342a Switch to stream converter for extension. 2012-01-23 16:50:45 -08:00
Artur Adib
f2d54d3207 Replacing URL flag format 2011-11-08 20:02:28 -05:00
gigaherz
2d8b0f7677 Properly fix the previous commit. 2011-10-31 21:18:41 +01:00
gigaherz
0d02ab5098 The extension should urlencode the pdf when sending it over to the viewer. 2011-10-31 20:44:29 +01:00
Vivien Nicolas
0331847927 Add support for disabling the firefox extension on the fly 2011-10-31 13:18:30 +01:00
Vivien Nicolas
63099565a3 fix spacing issue (lint) 2011-10-19 16:17:02 +02:00
Vivien Nicolas
f3dc4206ee Make the 'download' button behavior more robust 2011-10-19 06:29:14 +02:00
Vivien Nicolas
6d2c5414bf Add a download button in case the extension is not enough 2011-10-19 03:20:50 +02:00
Vivien Nicolas
931192fb79 Remove useless code since the extension is loaded into a privileged chrome:// scope 2011-10-18 01:28:57 +02:00
Kalervo Kujala
5a3d85bf53 Fix small lint issues. 2011-10-15 14:20:15 +03:00
Kalervo Kujala
06cdba3526 Name anonymous functions. 2011-10-04 22:21:40 +03:00
Vivien Nicolas
132ee01bc0 Merge with upstream 2011-09-28 13:21:07 +02:00
Vivien Nicolas
556727f2f5 Firefox extension now use the default loading indicator 2011-09-28 12:53:53 +02:00
Kalervo Kujala
753bfcf7c7 Fix lint warnings. 2011-09-27 22:15:06 +03:00
Vivien Nicolas
e18ddc9c97 Initial import of the Firefox extension 2011-09-07 00:00:24 +02:00