Yury Delendik
ab63f96a91
Adds telemetry to record embedding usages
2014-06-16 16:41:04 -05:00
Yury Delendik
0cd28ebfa3
Telemetry for used stream and font types
2014-06-16 16:41:04 -05:00
Jonas Jenwald
1ba31a6cb7
Add pdfBugEnabled to the default preferences
2014-06-16 21:46:39 +02:00
Yury Delendik
7ac1c6b034
Reporting print usage
2014-06-14 15:55:21 -05:00
Yury Delendik
75d9ae9cd3
PdfRedirector checks if plugin is still in PlayPreview mode
2014-06-02 09:27:28 -05:00
Yury Delendik
68b037ffb0
Add preprocessor directives for the extension; and refactor FirefoxCom callback
2014-05-28 10:24:06 -05:00
Gijs Kruitbosch
da93e65d8c
Bug 1015115 - switch to cloneInto in pdf.js, r?yury
2014-05-28 10:22:49 -05:00
Jonas Jenwald
f386501937
Update overlay stubs for the B2G viewer
2014-05-25 21:33:15 +02:00
Tim van der Meij
6d330250da
Merge pull request #4549 from Rob--W/crx-pdf-embed-object
...
<object> / <embed> support in Chrome / Opera
2014-05-14 20:55:11 +02:00
Michał Gołębiowski
e625af3fef
Remove type="text/javascript" from script tags.
...
"text/javascript" is not a correct MIME type (the correct one is
"application/javascript") but it's not even needed; all browsers default
to the correct type and treat it as executable JS when type is ommited.
Since not all browsers recognize the "application/javascript" MIME type
the only way to both stay compliant and to support all popular browsers
is to omit the type. It's also shorter this way.
2014-05-13 02:41:01 +02:00
Tim van der Meij
dc214e1c06
Merge pull request #4738 from Rob--W/allow-unsafe-eval
...
Allow unsafe-eval to fix font renderer in Chromium extension
2014-05-09 23:52:30 +02:00
Rob Wu
3fdd334a73
<object> / <embed> support in Chromium extension
2014-05-09 15:46:12 +02:00
Yury Delendik
9f9454d2ae
Refactors new extension find bar code to support old FF versions
2014-05-08 09:05:28 -05:00
Adam Dane [:hobophobe]
bc66c8119e
Add getFindBar for Fx extension
2014-05-07 18:45:24 -05:00
Rob Wu
d126be9a61
Allow unsafe-eval to fix font renderer in crx
...
Fixes #4660
2014-05-05 12:11:35 +02:00
Tim van der Meij
c566feb721
Providing content type for attachment downloads
2014-04-25 23:30:51 +02:00
Samuel Chantaraud
5bb937c5d7
Added fake button and view to b2g viewer
2014-04-18 12:26:08 -04:00
Samuel Chantaraud
25ee0e8572
Preliminary attachments support
...
Added a partial Filespec support
Added getAttachments in API
Added a new attachments view in UI (with a new icon by @shorlander)
2014-04-18 12:11:00 -04:00
Yury Delendik
b39f0c311c
Refactors history and how the database is stored
2014-04-03 13:23:18 -05:00
Jonas Jenwald
4c9c43f82b
Modify {get, set}Preferences in PdfStreamConverter.jsm to support async
2014-04-03 10:17:35 +02:00
Rob Wu
ae32f31eb4
Use redirectUrl at onHeadersReceived if available.
...
http://crbug.com/280464 has been resolved, so we can now use redirectUrl at
onHeadersReceived.
For backwards-compatibility, the code for the original method has not been
removed, and a feature detection script was added that detects whether the
desired feature is available.
2014-03-30 00:25:37 +01:00
Rob Wu
d04f81b964
Improved FTP support for Chromium extension
2014-03-30 00:08:02 +01:00
Jonas Jenwald
3fee5345b9
[Firefox] Only load 'PdfStreamConverter' and 'PdfRedirector' when PDF.js is enabled
2014-03-27 16:01:13 +01:00
Jonas Jenwald
f6cfab0061
[Firefox] Stop importing default_preferences.js as a module and include it instead
2014-03-26 00:37:32 +01:00
Yury Delendik
dbbe702be5
Merge pull request #4501 from Snuffleupagus/firefox-lazy-load-network
...
[Firefox] Lazy load network.js in PdfStreamConverter.js
2014-03-25 18:11:24 -05:00
Jonas Jenwald
2b5fb59b67
Fix coding style in extensions/firefox/bootstrap.js
2014-03-22 21:48:00 +01:00
Jonas Jenwald
597d388930
Fix coding style in extensions/firefox/tools/l10n.js
2014-03-22 21:45:08 +01:00
Jonas Jenwald
2017f7925e
[Firefox] Lazy load network.js in PdfStreamConverter.js
2014-03-21 17:39:55 +01:00
Tim van der Meij
3b3e96575e
Merge pull request #4454 from brendandahl/gaia-css-clean
...
Fix gaia css lint errors.
2014-03-14 22:50:51 +01:00
Jonas Jenwald
ba8a59034c
Merge pull request #4426 from timvandermeij/extensions-chromium-syntax
...
Making extensions/chromium/*.js adhere to the style guide
2014-03-14 12:48:31 +01:00
Brendan Dahl
df25bea817
Fix gaia css lint errors.
2014-03-13 17:16:25 -07:00
Yury Delendik
452e71b4b0
Makes firefox extension's l10n get() behavior similar to webL10n
2014-03-13 17:37:10 -05:00
Tim van der Meij
241cb7999d
Making extensions/chromium/chrome.tabs.executeScriptInFrame.js adhere to the style guide
2014-03-09 23:29:34 +01:00
Tim van der Meij
8d2068dc6f
Making extensions/chromium/extension-router.js adhere to the style guide
2014-03-09 23:14:01 +01:00
Tim van der Meij
c29350219e
Making extensions/chromium/pdfHandler.js adhere to the style guide
2014-03-09 23:12:12 +01:00
Tim van der Meij
ce6e269d02
Making extensions/chromium/pdfHandler-v2.js adhere to the style guide and fixing a small lint issue in pdfHandler-vcros.js
2014-03-09 23:07:42 +01:00
Tim van der Meij
8ec46e6413
Making extensions/chromium/pdfHandler-vcros.js adhere to the style guide
2014-03-09 22:56:38 +01:00
Jonas Jenwald
c158894d94
Improve handling of preferences in Firefox
2014-03-05 11:58:12 +01:00
Yury Delendik
192f09cd69
Merge pull request #4343 from brendandahl/ff-cleanup
...
Use only one resource url for moz central build.
2014-03-04 20:29:27 -06:00
Mitar
2c82e720b8
Updated to current latest stable version of jshint.
2014-03-01 13:31:25 -08:00
Brendan Dahl
b8f7bcaf02
Use only one resource url for moz central build.
2014-02-27 14:11:39 -08:00
Brendan Dahl
0af0c6c99d
Merge pull request #4229 from Rob--W/crx-stream-progress
...
Get progress bar for PDF streams in Chromium by passing the expected content length to the page
2014-02-26 11:12:34 -08:00
Tim van der Meij
569bb131e5
Merge pull request #4328 from Snuffleupagus/b2g-remove-pageNumber-spinner
...
[B2G] Remove the spinner from the pageNumber field
2014-02-24 21:52:14 +01:00
Brendan Dahl
cc46cea7cb
Merge pull request #4262 from yurydelendik/issue4257
...
Removes -moz-box-sizing usage
2014-02-24 12:47:27 -08:00
Jonas Jenwald
78e2d7cceb
[B2G] Remove the spinner from the pageNumber field
2014-02-15 16:02:53 +01:00
Gabriele Svelto
f4d54517c4
Bug 972435 - Recompress all PNG assets
2014-02-13 17:57:10 +01:00
Yury Delendik
4563f6cd58
Merge pull request #4191 from Rob--W/crx-chrome-os
...
Register PDF Viewer as PDF handler in Chrome OS's file browser
2014-02-11 12:51:36 -06:00
Yury Delendik
894c82cec9
Removes -moz-box-sizing usage
2014-02-10 15:06:03 -06:00
Yury Delendik
3fa15c0f46
Merge pull request #4241 from brendandahl/csp
...
Remove inline script warnings.
2014-02-03 14:24:27 -08:00
Brendan Dahl
e477958b74
Remove inline script warnings.
2014-02-03 14:14:54 -08:00
Rob Wu
a01556665e
Firefox addon: Let XHR respect private mode
2014-01-31 22:23:45 +01:00
Rob Wu
eaf7daf7db
[CRX] Pass expected length of stream to viewer
...
To get a progress bar for POST/FTP requests in Chromium.
2014-01-30 23:03:15 +01:00
Rob Wu
7f0fc8557e
[CRX] Support <embed type="application/pdf">
2014-01-26 00:33:06 +01:00
Rob Wu
60fb28caf0
Register as File browser handler in Chrome OS
2014-01-25 22:37:19 +01:00
Rob Wu
aeaf11ca43
[CRX] Fall back to sender.tab.url if !tab.url
...
sender.url is relatively new (Chromium 29)
( https://chromiumcodereview.appspot.com/14301016 )
2014-01-25 20:15:43 +01:00
Rob Wu
fa965269ea
Remove unused file from Chromium extension
...
extensions/chromium/patch-worker.js was already redundant
since edd4bae903
.
2014-01-23 19:26:23 +01:00
Yury Delendik
ba1eb4d1d1
Merge pull request #4126 from Rob--W/crx-using-streams-api
...
Chromium extension using streamsPrivate API!
2014-01-22 05:12:07 -08:00
Jonas Jenwald
181e06f30a
Fix regression that disabled the "Open With Different Viewer" button on the fallback bar
2014-01-16 13:49:39 +01:00
Rob Wu
b754f9d878
Make streamsPrivate optional; remove manifest key
...
Use streamsPrivate API when available.
When the API is not available, the extension will still work on
on http/https/file URLs, but not for POST requests or FTP.
As of writing, the Chromium project has still not whitelisted
the PDF Viewer extension in the Chrome Web Store.
(extension ID oemmndcbldboiebfnladdacbdfmadadm)
Request to whitelist PDF.js in Chromium:
https://code.google.com/p/chromium/issues/detail?id=326949
Opera 19 has whitelisted the PDF Viewer extension from
https://addons.opera.com/extensions/details/pdf-viewer/
(extension ID encfpfilknmenlmjemepncnlbbjlabkc)
(https://github.com/Rob--W/pdf.js/issues/1#issuecomment-32357302 )
If you want to test the streamsPrivate feature in Chrome,
edit the build/extensions/manifest.json and add the "key" again
(see this commit for the value of this "key" field).
2014-01-16 00:30:39 +01:00
Rob Wu
af31ace940
Work-around for http://crbug.com/276898
...
When a new incognito session is started, the onExecuteMimeTypeHandler event is
often not dispatched in time. Instead, it's triggered in the non-incognito profile.
This commit offers a work-around that allows new incognito instances to view PDF files.
2014-01-15 23:04:29 +01:00
Rob Wu
94ba01c8aa
Use tab-specific stream storage
...
Also:
- Use webNavigation.getAllFrames to find out whether the navigation has
already started. This is (at least) needed for top-level navigation to
a stream. The webNavigation.onErrorOccurred event has become obsolete,
and has been removed.
2014-01-15 23:04:29 +01:00
Rob Wu
32313b9149
Insert dummy content script at every location.
...
This is needed for propagating the extension's permissions
to the extension's iframe, in the rare event that the PDF is
loaded in a sub frame, and the extension does not have access to the
top frame. For instance, when a http:-PDF file is embedded in a
local file, while "Allow access to local URLs" is disabled.
Note: Propagating permissions by inserting content scripts is an
undocumented feature (http://crbug.com/302548 ).
Whenever it breaks, the issue (cross-domain permissions for XHR)
can be solved by using a content script that gets the blob using
the XMLHttpRequest API, followed by `postMessage` (via transferables)
to efficiently pass the arraybuffer back to the PDF Viewer.
2014-01-15 23:04:29 +01:00
Rob Wu
cdadb0db4d
Proof of concept using chrome.streamsPrivate API
...
This method captures all application/pdf streams, loads the viewer
and passes the stream to the PDF.js viewer.
This commit shows a proof of concept using the chrome.streamsPrivate API.
Advantages of new method:
- Access to the response body of the original request, thus fewer
network requests.
- PDFs from non-GET requests (e.g. POST) are now supported.
- FTP files are also supported.
Possible improvements:
- Use declared content scripts instead of dynamic chrome.tabs.executeScript.
This allows the extension to render the viewer in frames when the
extension is disallowed to run executeScript for the top URL.
- Use chrome.declarativeWebRequest instead of webRequest, and replace
background page with event page (don't forget to profile the
difference & will the background/event page still work as intended?).
2014-01-15 23:04:15 +01:00
Rob Wu
18e4d32c11
Update chrome.tabs.executeScriptInFrame dependency
...
References:
- https://github.com/Rob--W/chrome-api/issues/1
- 4c5a598c0b...f211d2d679
2014-01-13 21:21:02 +01:00
Brendan Dahl
5d080a03bb
Show a different warning for PDF’s with forms.
2014-01-07 16:03:45 -08:00
fkaelberer
1b35bf6c5e
Recompressed PNG assets
2014-01-02 21:11:01 +01:00
Yury Delendik
02671decf2
Merge pull request #4066 from Rob--W/crx-pageaction-html-typo
...
Added missing <html> tag to page action
2014-01-02 10:22:56 -08:00
Yury Delendik
85281d3afc
Merge pull request #4059 from glasserc/add-conkeror
...
add support for Conkeror
2014-01-02 09:45:26 -08:00
Rob Wu
ac8b8079a4
Added missing <html> tag to page action
2014-01-02 18:44:38 +01:00
Rob Wu
e20bc529c8
Remove superfluos <!DOCTYPE html> from page action
...
Fixes #4064
2014-01-02 18:04:47 +01:00
Ethan Glasser-Camp
9b887f5bf3
add support for Conkeror
2013-12-29 16:06:55 -05:00
Rob Wu
8526d3c600
[CRX] Add a pageAction to omnibox showing PDF URL
...
In Chromium extensions, the viewer's URL looks like this:
chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/http://example.com/file.pdf
Furthermore, the PDF Viewer itself can also add something to the reference fragment:
chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/http://example.com/file.pdf#page=2
Consequently, it is difficult to copy a clean URL (e.g. for sharing over mail)
without having to tidy-up the URL manually.
This commit solves this issue by adding a button to the omnibox,
which shows the clean PDF URL on click.
2013-12-16 19:00:32 +01:00
Rob Wu
91dd664732
[CRX] Reload extension tab after session restore
2013-11-22 11:44:43 +01:00
Yury Delendik
124eb30e8d
Merge pull request #3936 from brendandahl/initial-data
...
Leave initial request open until the viewer is ready to switch to range requests.
2013-11-21 06:22:24 -08:00
Jonas Jenwald
ba67158c94
Fix error in 'PdfStreamConverter.js' that prevents the user from setting a boolean preference to false
2013-11-19 01:33:48 +01:00
Jonas Jenwald
60610cd625
Implement default preferences
2013-11-18 23:51:06 +01:00
Brendan Dahl
0385131a9a
Leave initial request open until the viewer is ready to switch to range requests.
2013-11-18 11:17:26 -08:00
Brendan Dahl
ca1806025c
Merge pull request #3794 from brendandahl/b2g-fix
...
Fix the B2G viewer and enable bot preview.
2013-10-17 14:14:17 -07:00
Rob Wu
83b780af81
[CRX] Show nicely formatted URL in omnibox
...
Before commit:
chrome-extension://EXTENSIONID/content/web/viewer.html?file=http%3A%2F%2Fexample.com%2Ffile.pdf
After commit:
chrome-extension://EXTENSIONID/http://example/file.pdf
Technical details:
- The extension's background page uses the webRequest API to intercept
requests for <extension host>/<real path to pdf>, and redirect it to
the viewer's URL.
- viewer.js uses history.replaceState to rewrite the URL, so that it's
easier for users to recognize and copy-paste URLs.
- The fake paths /http:, /https:, /file:, etc. have been added to the
web_accessible_resources section of the manifest file, in order to
avoid seeing chrome-extension://invalid/ instead of the actual URL
when using history back/forward to navigate from/to the PDF viewer.
- Since the relative path resolving doesn't work because relative URLs
are inaccurate, a <base> tag has been added. This method has already
been proven to work in the Firefox add-on.
Notes:
- This commit has been cherry-picked from crx-using-streams-api.
- Need to merge https://github.com/mozilla/pdf.js/pull/3582 to deal with
a bug in Chrome <=30
- In Chrome, getting the contents of a FTP file is not possible, so
there's no support for FTP files, even though the extension router
recognizes the ftp: scheme.
2013-10-16 23:14:46 +02:00
Rob Wu
e9cb91de39
[CRX] split:incognito is used, so update file:-handler
...
The current stable Chromium version is 29. Since the critical
bug that prevented use of incognito:split has been fixed, and
incognito:split is actually used, it's safe to drop the code
that disables the extension in incognito mode.
( fixed bug = http:/crbug.com/224094 )
2013-10-16 23:14:43 +02:00
Rob Wu
edd4bae903
[CRX] Change Viewer insertion method
...
And use split incognito mode
Previous method:
- Rewrite content type to XHTML, followed by a content script
to cancel and replace the document with the viewer.
( https://github.com/mozilla/pdf.js/pull/3017 )
New method:
- Cancel loading of the document, followed by a redirect to the viewer
Disadvantage of new method:
- URLs are no longer "nice". This will be addressed by cherry-picking
a commit from the crx-using-streams-api branch.
Advantages of new method:
- Idle time is minimal. In some cases (with large documents),
it took too much time before the content script was activated.
During this period, the page looked blank, and the contents of
the PDF file were still retrieved and **discarded**.
With the new method, the idle time is minimal, because the request
is immediately cancelled.
- No FOUXEP (Flash of unhidden XML error page), because the XHTML
Content-Type hack is no longer used.
2013-10-16 23:14:16 +02:00
Rob Wu
820b95416b
chrome.runtime -> chrome.extension when needed
...
Some Ubuntu users are still stuck at Chromium 25.
2013-10-14 17:52:49 +02:00
Rob Wu
6070a37788
chrome.extension -> chrome.runtime for Ubuntu
...
Addresses issue #3800 , where a bug specific to Ubuntu builds of Chromium
break PDF.js
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1232575
2013-10-13 12:23:31 +02:00
Brendan Dahl
c79acf5861
Fix the B2G viewer and enable bot preview.
2013-10-09 15:04:58 -07:00
Brendan Dahl
6f61a9c83e
Merge pull request #3727 from brendandahl/css-zoom2
...
Use css to initially scale on zoom.
2013-10-08 20:34:22 -07:00
Brendan Dahl
df249da923
Use css to initially scale on zoom.
2013-10-02 09:05:46 -07:00
Jonas Jenwald
8ae2205783
[B2G] Remove the remaining occurrences of -webkit prefixes from the CSS
2013-09-29 20:45:11 +02:00
Yury Delendik
71012c6c6c
Properly resolves relative src for the embed tags
2013-09-25 15:18:38 -05:00
Brendan Dahl
d00157d3ab
Merge pull request #3587 from debloper/master
...
Stripping down some CSS prefixes [#868160 ]
2013-08-26 12:59:32 -07:00
Andreas Bovens
f2ad0f73d7
Renaming of extensions/chrome folder to extensions/chromium, and small tweak to manifest.json description as per #3600
2013-08-21 18:11:35 +02:00
Yury Delendik
0d1c5ece40
Merge pull request #3601 from jmozmoz/unregister
...
Really call unregister for _pdfRedirectorFactory (fixing issue #3598 )
2013-08-21 08:57:49 -07:00
jmozmoz
4cd33bf460
Really call unregister for _pdfRedirectorFactory (fixing issue #3598 )
2013-08-21 17:35:50 +02:00
Yury Delendik
bde863a8ac
Merge pull request #3573 from Rob--W/crx-view-local-files
...
[CRX] Fixes to view local files again
2013-08-21 07:37:32 -07:00
Yury Delendik
ba23a9e8f9
Adds initial telemetry probes
2013-08-16 09:53:05 -05:00
Soumya Deb
de52e711f8
Unprefixing CSS as current browsers support
2013-08-16 14:18:37 +05:30
Rob Wu
a4dd4b1789
[CRX] Fixes to view local files again
...
pdfHandler-local.js references the isPdfDownloadable function from
pdfHandler.js, but the function didn't expect that the responseHeaders
property was absent. Added a check to prevent a runtime error when a
local file is displayed in a frame, and show local PDF files again.
Local files are rendered on the chrome-extension:-protocol. The previous
method of getting the PDF URL was incorrect, this has been fixed as well.
2013-08-14 23:50:51 +02:00
Brendan Dahl
820145da05
Merge pull request #3523 from yurydelendik/csp
...
Bug 889320 - [CSP] removes inlined styles and scripts, also HTTP headers
2013-08-06 13:10:33 -07:00
Alive Kuo
334c7d4d8f
Remove MozTT reference
2013-08-05 10:55:37 +08:00
Yury Delendik
7a43492e5f
[CSP] remove HTTP CSP Headers
2013-07-30 21:00:47 -05:00
Brendan Dahl
592a498dd7
Merge pull request #3515 from Rob--W/crx-webnav-strip-hash
...
[CRX] Strip location fragment from URL in the UrlFilter of the webNavigation API
2013-07-29 10:07:59 -07:00
Rob Wu
4f5e15695a
[CRX] Strip #... from URL in filter
...
Otherwise the PDF Viewer is not rendered for URLs that contain a #-character.
2013-07-27 12:05:03 +02:00
Rob Wu
f67a66c108
Disable Chrome extension for non-GET requests
2013-07-27 11:26:55 +02:00
Brendan Dahl
e015ab0d81
Lower the priority of the notification bar to INFO.
2013-07-22 11:50:03 -07:00
Yury Delendik
e6be2666de
Merge pull request #3484 from Rob--W/crx-improved-navigation-detection
...
[Chrome extension] Improved navigation detection by using webNavigation instead of tabs API.
2013-07-18 06:32:22 -07:00
Rob Wu
ec956d97c9
[CRX] Delay render of viewer if needed...
...
Sometimes, the viewer did not render for PDF files in an iframe,
because document.readyState not reaching "complete".
Deferring window.stop() until the root element is placed in the
document fixes the problem (typically a few ten milliseconds).
2013-07-17 23:25:31 +02:00
Brendan Dahl
31dab67a34
Merge pull request #3479 from RudyLu/mutlires_1.5
...
Bug 881152 - hdpi/xhdpi resolution assets and layout for PDF Viewer app
2013-07-17 10:56:34 -07:00
Rob Wu
ec5ef58b84
[CRX] Improved navigation detection.
...
A user reported that the PDF Viewer is not rendered on Dropbox,
(Chrome on Mac OS X). This is apparently caused by the fact that the
PDF file is loaded in an iframe in such a way that the tabs.onUpdated
event is not triggered.
This patch switches to the webNavigation event API, which improves the
reliability of the navigation detection.
Unfortunately Opera 15 does not support the webNavigation API, so the
old (tabs.onUpdated) method is used (feature-detection is used, so
whenever Opera decides to implement this API, it will profit from it).
2013-07-17 19:04:10 +02:00
Brendan Dahl
78d3b600d4
Merge pull request #3430 from Rob--W/crx-download-pdf
...
Chrome extension: Do not intercept PDF downloads if it's target is a frame
2013-07-16 16:13:30 -07:00
Rudy Lu
f9706b345b
Bug 881152 - hdpi/xhdpi resolution assets and layout for PDF Viewer app
...
1. Add 1.5x assets
2. specify the background size of page number section
2013-07-16 20:44:06 +08:00
Brendan Dahl
077f08fa6d
Merge pull request #3456 from brendandahl/cap-image-size
...
Limit image size to 1024*1024 for b2g.
2013-07-11 11:44:51 -07:00
Rob Wu
84ae29c21d
Improve suggested filename on download
...
For all of the following URLs, "file.pdf" will be suggested:
http://.../file.pdf
http://.../download.aspx?file=file.pdf&whatever
http://.../get.pdf?name=file.pdf&whatever
http://.../single-page-app#view=file.pdf
http://.../download.aspx?file=%2Fpath%2Fto%2Ffile.pdf&whatever
Fixes #3161
2013-07-10 21:50:56 +02:00
Brendan Dahl
bcc085ec52
Limit image size to 1024*1024 for b2g.
2013-07-10 09:52:37 -07:00
Yury Delendik
666da95b37
Merge pull request #3450 from brendandahl/fix-mimetype-check
...
Bug 879161 - Fix pdf.js mimetype check.
2013-07-09 10:01:18 -07:00
Rob Wu
cc04cf5d1f
Configurable IMAGE_DIR for annotations
...
The Chrome extension activates PDF.js by inserting the script tags
in a document whose URL and location origin is identical to the PDF
file.
Because of this, the path './images/' was resolved relatively to the
location of the PDF file instead of the extension.
To fix this, the IMAGE_DIR constant is moved outside the local scope,
to allow extensions/chrome/insertviewer.js to override the value.
Originally, the IMAGE_DIR variable was a global variable, but commit
f8f4b3f45d
moved the global variable
to the local scope, causing the extension to malfunction.
Impact: low, the only consequence is that some rarely used images
were not visible.
Trivial test:
At the center of page 2, the annotation icon
(images/annotation-comment.svg) should be visible:
http://linorg.usp.br/CTAN/macros/latex/contrib/pdfcomment/doc/pdfcomment.pdf
2013-07-09 16:24:25 +02:00
Brendan Dahl
7eae88669a
Bug 879161 - Fix pdf.js mimetype check.
2013-07-08 11:09:50 -07:00
Rob Wu
be012ed1df
[CRX] Don't intercept download of PDF attachment
...
Fixes #3426
2013-07-01 19:17:05 +02:00
Rob Wu
efcf2aed6e
[Chrome extension] Added JSDocs to pdfHandler.js
...
And a small refactor to reduce the LOC in the onHeadersReceived
callback, to improve the readability of the code.
2013-07-01 19:16:45 +02:00
Yury Delendik
3461d02d05
Enforces trailing spaces
2013-07-01 11:25:46 -05:00
Brendan Dahl
4e831233a4
Merge pull request #3408 from brendandahl/fix-multiresolution
...
[B2G] UI tweak for multi-resolution devices support on B2G
2013-06-28 10:11:18 -07:00
Brendan Dahl
aafb5d44ae
Make the progress bar small and on the top.
2013-06-28 09:59:47 -07:00
Vladan Djeric
0fae231526
Avoid triggering plugin list initialization on startup (Bugzilla 881575)
2013-06-14 19:09:23 -04:00
Brendan Dahl
c2bdd7b295
Simplify getting the pdf url.
2013-06-03 11:40:07 -07:00
Brendan Dahl
24204cc153
Merge pull request #2498 from ehsan/pbcleanup
...
Simplify ChromeActions.isInPrivateBrowsing to not rely on the global PB service
2013-05-30 13:26:11 -07:00
Rex Lee
3e480f84a6
[B2G] UI tweak for multi-resolution devices support on B2G
2013-05-17 17:52:04 +08:00
Mack Duan
f8f4b3f45d
Refactor code for annotations
2013-05-07 14:22:13 -04:00
Yury Delendik
a081c2d0f1
Merge pull request #3124 from mduan/issue3118-1
...
Update loading bar during onprogress of range requests
2013-05-03 16:51:32 -07:00
Ehsan Akhgari
926c783ee0
Simplify ChromeActions.isInPrivateBrowsing to not rely on the global PB service
2013-04-27 12:25:27 -04:00
Simon Kornblith
f524eaefe2
Remove DOM window URI check
...
Per discussion in #2937
2013-04-24 21:02:33 -04:00
Mack Duan
1daf9c984e
Disable range request if content-length is unknown
2013-04-22 15:49:39 -07:00
Yury Delendik
8ae5d2745c
Merge pull request #3131 from mduan/issue3122
...
Only perform range requests for identity Content-Encoding
2013-04-22 09:20:32 -07:00
Mack Duan
c5084d9e8a
Update loading bar during onprogress of range requests
2013-04-22 08:46:58 -07:00
Mack Duan
e0d4b322cf
Only perform range requests for identity Content-Encoding
2013-04-22 08:36:54 -07:00
Jakob Miland
d86fe6b301
Save datalistener in memory
2013-04-21 17:14:10 +02:00
Mack Duan
27fe18e8c6
Address brendan's comments
2013-04-18 00:16:53 -07:00
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
2013-04-12 16:13:22 -07:00
Rob Wu
57e6238a6e
Enable Web Worker again in Chrome extension
...
Previously, Web Workers were not created because of a security
policy which does not respect relaxed privileges.
2013-04-04 13:40:35 +02:00
Rob Wu
e181a3c902
Highly improved Chrome extension
...
Full list feature changes in this commit:
- Support for iframes
- Switched to content-type (MIME) detection instead of hard-coding a
case-sensitive check for the .PDF extension
- The PDF's original URL is visible in the omnibox
- Support for incognito mode
Note: PDF viewer is disabled for the file:// + incognito
combination, because it's currently impossible to get the combination
to work.
See https://github.com/mozilla/pdf.js/pull/3017#issuecomment-15693432
2013-04-04 10:04:13 +02:00
Brendan Dahl
98d5703565
Merge pull request #3036 from yurydelendik/appswitch
...
Fixes pdf application switching in FF22/23 (redo)
2013-04-03 13:12:53 -07:00
Jonas
ee83df1338
Detect and add fallback if document colors are disabled in Firefox - address comment
2013-04-03 18:49:03 +02:00
Yury Delendik
853e4625bf
Fixes pdf application switching in FF22/23 (redo)
2013-04-03 09:23:00 -05:00
Brendan Dahl
0ac55ac879
Merge pull request #3027 from yurydelendik/download-ff17
...
Workaround for FF17 to be able to download the pdf file
2013-04-02 09:19:05 -07:00
Yury Delendik
c0bb71d2d2
Workaround for FF17 to be able to download the pdf file
2013-04-02 08:07:01 -05:00
Yury Delendik
6e975d431b
Fixes PDF application switch in Firefox.
2013-03-29 20:08:08 -05:00
Jonas
f607e89a65
Add another preference check to detect if web fonts are disabled in Firefox
2013-03-28 11:28:00 +01:00
Brendan Dahl
aa2b1f0a24
Merge pull request #2969 from yurydelendik/notificationBox
...
Fixes notificationBox on Linux
2013-03-19 10:23:59 -07:00
Yury Delendik
8d0494caf3
Fixes notificationBox on Linux
2013-03-19 10:03:00 -05:00
Yury Delendik
dc12d33f4d
Adding PlayPreview API support to pdf.js/mozilla-central
2013-03-18 16:12:24 -05:00
Yury Delendik
627d56485e
Merge pull request #2724 from yurydelendik/embed-2
...
Handles embed tags via PlayPreview API
2013-03-16 09:18:10 -07:00
Yury Delendik
61a3b3d035
Handles embed tags via PlayPreview API
2013-03-12 10:16:03 -05:00
Mack Duan
65194afdd4
Fix issue with 'this' binding in PdfStreamConverter
2013-03-11 10:36:25 -07:00
Brendan Dahl
3f4f056665
Add save as support for Firefox.
2013-03-01 09:52:35 -08:00
Aluísio Augusto Silva Gonçalves
d18f8d11bc
Add icons to the Chrome extensions
2013-02-16 23:15:01 -03:00
Yury Delendik
e9debac7f9
Adds zoom buttons ids (follow up on #2707 )
2013-02-10 12:55:47 -06:00
vyv03354
07491f584f
Replace getUserData()/setUserData() with CustomEvents
2013-02-06 23:31:50 +09:00
Yury Delendik
0058d422be
Merge pull request #2672 from yurydelendik/lint
...
Replacing gjslint with jshint; fixing jshint for windows
2013-02-05 12:31:29 -08:00
Yury Delendik
cb68adb80f
Replacing gjslint with jshint; fixing jshint for windows
2013-02-05 10:17:49 -06:00
Yury Delendik
f32233eaf9
Merge pull request #2668 from vyv03354/bug834075
...
Handle the error in case the sender is already unloaded
2013-02-04 16:27:12 -08:00
vyv03354
b605e1e8a9
Handle the error in RequestListener.receive
2013-02-04 22:06:46 +09:00
Yury Delendik
fcc169453b
Adds the extensions/* files for jshint
2013-02-02 21:15:43 -06:00
Brendan Dahl
1c4b780176
Use attachment content disposition attachment and filename.
2013-01-30 18:34:22 -05:00
Yury Delendik
dbe633d324
Fix dir attribute for the extension
2013-01-24 17:35:19 -06:00
Brendan Dahl
4b4601d1fb
Merge pull request #2481 from yurydelendik/rm-global-pb
...
Refactors private browsing logic
2012-12-21 09:36:28 -08:00
Yury Delendik
1e7e586da4
Refactors private browsing logic
2012-12-21 11:20:45 -06:00
Brendan Dahl
b42136f8f9
Fix migration for upgraded profiles.
2012-12-19 12:15:55 -08:00
Yury Delendik
5dc87a7fca
Detecting if web fonts are disable in Firefox.
2012-11-30 17:08:19 -06:00
Brendan Dahl
fd4e40c82b
New GUI for B2G viewer.
2012-11-29 17:01:51 -08:00
Brian R. Bondy
e2baa902c6
Bug 815475 - Fix pfjs when there is no integrated findbar (pdfjs 0.6.39 broke Firefox metro)
2012-11-27 09:46:44 -06:00
Brendan Dahl
babd8df176
Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code.
2012-10-29 12:44:18 -07:00
waddlesplash
60e2e36ff7
Vectorize the logo.
2012-10-29 14:08:52 -04:00
Brendan Dahl
a842534a56
Change the channel owner to the resource url.
2012-10-26 10:22:28 -07:00
Brendan Dahl
83003499b7
Forward original request to avoid firefox assertion.
2012-10-25 10:35:06 -07:00
Michael Payne
05bca47b11
Include uppercase extensions for Chrome
...
add uppercase case extension recognition for Chrome pdf.js
2012-10-17 21:37:24 -07:00
Brendan Dahl
d79960abb5
Addresses review feedback from mc bug 801280.
2012-10-15 15:14:36 -07:00
Brendan Dahl
848917b1bf
Only use the integrated find if we aren't in an frame.
2012-10-10 17:17:26 -07:00
Brendan Dahl
95b1f74a30
Add support for firefox integrated find.
2012-10-05 13:59:13 -07:00
Josh Matthews
673582984f
Bug 792582 - Explicitly set privacy status of channels created by pdf.js
2012-10-05 15:07:51 -05:00
Yury Delendik
963fe55203
Merge pull request #2192 from brendandahl/fix-first-run
...
Fix the first run code and make it possible to run multiple times.
2012-10-04 14:21:47 -07:00
Brendan Dahl
4e0c792f12
Merge pull request #2168 from mozilla/html-search-bar
...
Find bar
2012-10-04 13:59:20 -07:00
Brendan Dahl
2a7312836c
Add comment for migration.
2012-10-04 10:56:01 -07:00
Yury Delendik
72e4c069b2
Merge pull request #2193 from brendandahl/princpal
...
Change how we get the resource principal.
2012-10-03 16:27:29 -07:00
Brendan Dahl
73c2119250
Change how we get the resource principal.
2012-10-03 15:52:36 -07:00
Brendan Dahl
eea7f90c7f
Fix the first run code and make it possible to run multiple times.
2012-10-03 12:11:53 -07:00
Yury Delendik
20c8269e70
Remove unused constants
2012-10-02 07:20:23 -05:00
Yury Delendik
181dd33fbb
Fixes private browsing history
2012-10-01 16:16:26 -05:00
Artur Adib
6864a07221
Use "find" instead of both find & search
2012-09-25 16:17:27 -04:00
Brendan Dahl
c8144d683d
Mozilla central change for metro.
2012-09-13 09:33:50 -07:00
Michael Payne
6ca9245a39
Changes to allowed versioned building of Chrome extension that meets new
...
Chrome extension security requirements
2012-09-06 12:39:49 -07:00
Michael Payne
088c6e17e8
changes to allow chrome extension to load
...
changes to remove inline scripts, update manifest version, fix make.js
so compatibility.js isn't included for chrome. Due to new Chrome
extension changes outlined at
http://developer.chrome.com/extensions/manifestVersion.html
2012-09-05 22:52:17 -07:00
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
2012-08-31 15:48:21 -07:00
Yury Delendik
296b98f977
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into progress-indeterminate
...
Conflicts:
extensions/firefox/components/PdfStreamConverter.js
2012-08-23 15:23:44 -05:00
Yury Delendik
19c62f526c
Removes offset and renames set to append
2012-08-22 13:34:01 -05:00
Yury Delendik
aa00fe44c4
Fixing the length given by HTTP headers
2012-08-22 13:20:50 -05:00
Yury Delendik
cd1a645881
Adds support of the indeterminate loading progress
2012-08-22 10:48:56 -05:00
Brendan Dahl
e11e8117c5
Merge pull request #1943 from yurydelendik/loadingbychrome
...
Implements loading PDF data by extension/chrome
2012-08-21 11:14:16 -07:00
Yury Delendik
077b19fca1
Fixes reported offset when length is unknown
2012-08-20 17:53:26 -05:00
Yury Delendik
df4fadeaf5
Unknown length support; reports download error
2012-08-20 17:16:04 -05:00
Yury Delendik
1bb7a7ed1c
Adds stub PdfJs.jsm for FF15
2012-08-19 13:07:31 -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
Brendan Dahl
22688b4471
Merge pull request #1697 from yurydelendik/min-version-2
...
Set Gecko 10 as min version for the extension
2012-08-03 09:58:02 -07: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
Yury Delendik
2f60f4a0d3
Adds android support to install.rdf
2012-07-10 10:23:36 -05:00
Brendan Dahl
87d9651eb7
Fix fallback after new download.
2012-06-04 17:33:27 -07:00
Brendan Dahl
4f314fff39
Remove space at end of line.
2012-06-04 15:39:50 -07:00
Brendan Dahl
16b1fa1e98
Merge upstream.
2012-06-04 11:16:02 -07:00
Brendan Dahl
72e6dbebaa
Update factory in bootstrap.js.
2012-06-04 09:45:09 -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
121040a5dc
Make pdf.js the default pdf viewer for moz central.
...
Update the tests to reflect this.
2012-06-01 13:21:45 -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
ea60f2a088
addr reviewer comments
2012-05-22 19:20:24 -04:00
Artur Adib
424f52205c
Fixed moz-central manifest; bundling Mochitests
2012-05-22 18:56:12 -04: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
Yury Delendik
48695aa802
Set Gecko 10 as min version for the extension
2012-05-13 22:48:23 -05:00
Jakob Miland
7b5c69cac5
Updated Firefox and SeaMonkey's maxVersion
2012-05-12 19:42:27 +02: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
5ca12d549e
Missing file
2012-05-11 15:14:50 -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
fcbc684578
Hide 'make locale' generated files
2012-05-02 08:53:56 -05:00
Yury Delendik
427a5f193d
Move localization to l10n folders; create 'make locale'
2012-05-02 08:51:52 -05: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
c6a611a38a
Change support url for moz central add-on.
2012-04-04 15:41:52 -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
cd1fd17f7b
Add icon for extension.
2012-03-20 15:25:02 -07:00
Brendan Dahl
94fca5edc7
Change extension name, creator, description. Remove unpack and icon url. Move strict compatibility entry for MC.
2012-03-20 15:24:23 -07:00
Brendan Dahl
84568ee46d
Address mc extension code review.
2012-03-20 09:39:33 -07:00
notmasteryet
82868ae52c
Merge pull request #1348 from notmasteryet/installrdf
...
Use <em:maxVersion>@FIREFOX_VERSION@</em:maxVersion>
2012-03-16 15:44:06 -07:00
notmasteryet
e721c90f77
Removing tabs
2012-03-16 07:24:58 -05:00
notmasteryet
ffdae468b0
#filter substitution
2012-03-16 00:55:53 -05:00
notmasteryet
c8d7d88d0a
Merge pull request #1347 from brendandahl/app_shutdown
...
Skip unneeded steps on APP_SHUTDOWN.
2012-03-15 20:54:20 -07:00
notmasteryet
ec02862934
Use <em:maxVersion>@FIREFOX_VERSION@</em:maxVersion>
2012-03-15 22:44:29 -05:00
Brendan Dahl
7c902eb612
Skip unneeded steps on APP_SHUTDOWN.
2012-03-15 20:08:39 -07:00
notmasteryet
6186ab6004
Whitelist GET
2012-03-14 18:43:20 -05:00
notmasteryet
24e48d382d
Merge pull request #1337 from brendandahl/debugpref
...
Only enable pdfDebug for the extension if a pref is set.
2012-03-14 16:13:01 -07:00
Brendan Dahl
abf8fe39ac
Only enable pdfDebug for the extension if a pref is set.
2012-03-14 15:34:12 -07:00
notmasteryet
0d08c37b07
Change max ff version number for the extension
2012-03-13 23:31:07 -05:00
notmasteryet
17164da42d
Add additional files for mc build
2012-03-13 19:53:25 -05:00
Brendan Dahl
a3d7b1d950
Merge pull request #1300 from notmasteryet/tree-85
...
Chrome extension: uses encodeURIComponent; fixes download button
2012-03-12 13:14:22 -07:00
notmasteryet
0c7d45bbfb
Chrome extension: uses encodeURIComponent; fixes download button
2012-03-03 19:27:35 -06:00
notmasteryet
0ea87068ed
Skipping HTTP POST requests in the addon
2012-02-22 21:52:29 -06:00
Lucas Stadler
913faac2e4
Make chrome extensions compatible with latest API changes.
...
That is, webRequest is no longer experimental and so it's easier
to start (without --enable-experimental-extension-apis).
2012-02-13 20:28:25 +01:00
Brendan Dahl
08d3710bfc
Unload the pdfstreamconverter on shutdown.
2012-02-08 14:59:30 -08:00
Brendan Dahl
b5f6fba381
Merge pull request #1189 from brendandahl/amobump
...
Fix version number for amo.
2012-02-08 10:24:22 -08:00
Brendan Dahl
5ec6f20743
Fix version number for amo.
2012-02-08 10:20:54 -08:00
notmasteryet
ffd688863d
Merge pull request #1188 from brendandahl/amobump
...
Bump max firefox version.
2012-02-08 09:59:55 -08:00
Brendan Dahl
a24a845eed
Bump max firefox version.
2012-02-08 09:23:38 -08: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
Brendan Dahl
6814c8f717
Fix and add second update comment.
2012-01-09 11:17:36 -08:00
Brendan Dahl
e2900f9eba
Add comment on update link.
2012-01-09 11:12:17 -08:00
Brendan Dahl
91ddd75f04
Add the missing update.rdf file.
2012-01-07 11:41:46 -08:00
Brendan Dahl
c33e3df143
Make it so the github extension updates.
2012-01-06 16:20:11 -08:00
Artur Adib
8396406475
v0.1.0
2011-11-30 10:31:10 -05:00
Artur Adib
6fe0594d93
fixing ref so that it passes manifest tests
2011-11-30 09:42:52 -05:00
Vivien Nicolas
effddf39ea
Bump up firefox version in install.rdf
2011-11-14 11:58:21 +01:00
Artur Adib
f2d54d3207
Replacing URL flag format
2011-11-08 20:02:28 -05:00
Vivien Nicolas
6e10114647
Add content/ to the viewer.html path
2011-11-07 16:01:50 +01:00
Vivien Nicolas
97ebd26591
Merge with upstream
2011-11-06 17:27:43 +01:00
Brendan Dahl
a2748cd84c
Merge pull request #741 from arturadib/mozilla-repo
...
Search-replace URLs from andreasgal --> mozilla
2011-11-01 09:15:36 -07:00
Artur Adib
1f80b0b266
Replace andreasgal/pdf.js --> mozilla/pdf.js
2011-11-01 08:46:39 -04: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
Artur Adib
135af5df13
git-ignore extensions/firefox/content/
2011-10-26 12:12:09 -04:00
Vivien Nicolas
3fb3a399c7
Merge remote branch 'upstream/master' into extension_chrome
2011-10-19 16:47:00 +02: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
08af0c7686
Initial Chrome extension import
2011-10-18 19:43:43 +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
96a9b608c9
Bump up the max version of the extension to 10.0.*
2011-10-03 20:14:20 +02: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