Yury Delendik
570c4f5660
Merge pull request #4203 from timvandermeij/outline-chrome
...
Removes button outline as visible in Chrome
2014-01-27 06:40:01 -08:00
Tim van der Meij
fa603af391
Removes button outline as visible in Chrome
2014-01-27 11:57:33 +01:00
Yury Delendik
48436b6a0f
Fixes smask backdrop
2014-01-26 22:35:56 -06:00
Yury Delendik
10b9824cd0
Merge pull request #4197 from Rob--W/firefox-verify-message-source
...
[security] Verify message source in Firefox add-on
2014-01-26 12:31:02 -08:00
Rob Wu
7bbff32a4d
[security] Verify message source in Firefox add-on
...
And put initPassiveLoading within a preprocessor block because
it is only used by Firefox.
2014-01-26 12:55:48 +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
b0e18a0703
[CRX] Remove redundant location.origin check
...
The PDF Viewer will always be rendered directly from the extension,
so checking "origin == chrome-extension:/.." is not needed any more.
( since edd4bae903
)
2014-01-25 21:44:58 +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
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
2014-01-25 12:18:22 -06:00
Rob Wu
2779bab03e
Use [].forEach instead of for-..-in in evaluator
...
To prevent errors whenever the array's prototype is extended.
(cmap is an array)
2014-01-25 18:04:33 +01:00
Yury Delendik
520fdf2f6a
Merge pull request #4180 from yurydelendik/jshint11
...
Use jshint 1.1.0
2014-01-23 15:37:47 -08:00
Yury Delendik
17dfc7c700
Use jshint v1.1
2014-01-23 17:32:07 -06:00
Yury Delendik
ffe42f580a
Merge pull request #4178 from peerlibrary/worker-loader
...
Allow fake worker loader with namespaced bundling of PDF.js
2014-01-23 15:14:07 -08:00
Mitar
9e8c75a7ff
Allow fake worker loader with namespaced bundling of PDF.js.
2014-01-23 14:33:17 -08:00
Tim van der Meij
3c6ac0dad5
Merge pull request #4161 from yurydelendik/smask
...
SMask emulation
2014-01-23 11:49:19 -08:00
Brendan Dahl
348d3a667b
Merge pull request #4173 from Rob--W/crx-remove-unused-file
...
Remove unused file from Chromium extension
2014-01-23 10:32:31 -08: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
4054b0c385
SMask emulation
2014-01-23 11:13:32 -06:00
Yury Delendik
c80df604b9
Merge pull request #4170 from Snuffleupagus/document-properties-Swedish
...
Add Document Properties to the Swedish l10n
2014-01-23 04:49:32 -08:00
Jonas Jenwald
730e536b90
Add Document Properties to the Swedish l10n
2014-01-23 11:35:39 +01:00
Yury Delendik
0d5ee2a8de
Merge pull request #4169 from xavier114fch/zh-TW
...
zh-TW translation update for document properties
2014-01-22 19:39:20 -08:00
Xavier fung
e8239de897
zh-TW translation update for document properties
2014-01-23 10:43:40 +08:00
Yury Delendik
0049407762
Merge pull request #4168 from TheoChevalier/l10n-fr
...
Update fr locale
2014-01-22 15:55:41 -08:00
TheoChevalier
25ad893a25
Update fr locale
2014-01-23 00:50:14 +01:00
Yury Delendik
4a34556ccc
Merge pull request #4167 from timvandermeij/followup-document-properties
...
Miscellaneous improvements for the document properties dialog
2014-01-22 15:34:03 -08:00
Tim van der Meij
c952b6fb85
Miscellaneous improvements for the document properties dialog
2014-01-23 00:30:48 +01:00
Yury Delendik
5a6862decc
Merge pull request #4164 from Snuffleupagus/bug-957034-followup
...
Only check for line dash pattern when annotation has a visible border (bug 957034 followup)
2014-01-22 08:27:47 -08:00
Yury Delendik
18a163c900
Merge pull request #4163 from Rob--W/issue-4159-uri-annot
...
Recover from bad URI values
2014-01-22 07:34:34 -08:00
Rob Wu
b35ced8c9e
RFC 3986-compliant isValidUrl (protocol parsing)
...
To avoid misinterpreting URLs like "/File:wikipedia.png" as a
non-relative URLs.
2014-01-22 15:10:06 +01:00
Rob Wu
3c0b8073be
Try to recover from bad URI value
...
See https://github.com/mozilla/pdf.js/issues/4159
BAD (http://cms.di.unipi.it/files/bbec7791fac20e98127c77531e4031912392156c/testo.pdf )
<< /S /URI /URI /v#2findex.php#2fFile:Logo.png >>
GOOD (http://www.ioi2012.org/wp-content/uploads/2011/12/practice.pdf ):
<< /S /URI /URI (http://127.0.0.1/v/index.php/File:Logo.png >>
The URL should be wrapped in parentheses, but sometimes it isn't.
Consequently, the value is interpreted as a Name (because of the leading "/"),
and the resulting object is `{name: "v/index.php/File:Logo.png" }`. Obviously,
this is not a string, so `url.indexOf` throws an error here.
2014-01-22 15:09:29 +01:00
Yury Delendik
b87ce518a7
Merge pull request #4160 from xavier114fch/zh-TW
...
Document Propeties translation in zh-TW
2014-01-22 05:13:13 -08: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
46ba8d10b0
Only check for line dash pattern when annotation has a visible border (bug 957034 followup)
2014-01-22 14:04:55 +01:00
Xavier fung
554b6244b6
Document Propeties translation in zh-TW
2014-01-22 11:10:39 +08:00
Yury Delendik
2c34807fa3
Merge pull request #4149 from timvandermeij/document-properties
...
Document properties
2014-01-21 15:13:16 -08:00
Yury Delendik
3aeab0f0cb
Merge pull request #4158 from timvandermeij/fix-promise-regression
...
Fixes this.reject regression
2014-01-21 15:08:43 -08:00
Tim van der Meij
5f7ded4ff6
Document properties
2014-01-22 00:07:07 +01:00
Tim van der Meij
e612da2c3d
Fixes this.reject regression
2014-01-22 00:01:43 +01:00
Yury Delendik
c6d201b13b
Merge pull request #4154 from timvandermeij/rtl-css-fixes
...
RTL CSS improvements
2014-01-21 14:09:22 -08:00
Tim van der Meij
d25b0a74d0
RTL CSS improvements
2014-01-21 22:56:19 +01:00
Brendan Dahl
e13500e46b
Merge pull request #4140 from timvandermeij/close-secondary-toolbar
...
Close the secondary toolbar when an action is performed once
2014-01-21 11:47:11 -08:00
Brendan Dahl
f18e3e9e0f
Merge pull request #4144 from yurydelendik/api-doc
...
Misc fixes for the API docs
2014-01-21 11:31:16 -08:00
Brendan Dahl
f7e354dfe5
Merge pull request #4139 from nnethercote/RGBA
...
Write color and opacity values directly to the final RGBA array when possible, so as to avoid allocating unnecessary memory.
2014-01-21 11:28:52 -08:00
Yury Delendik
27573ddbad
Minor fixes for the jsdocs and removing unused members.
2014-01-21 13:28:18 -06:00
Yury Delendik
c3d70e5750
Merge pull request #4147 from Snuffleupagus/bug-859204
...
Fix loading of fonts with invalid encoding name entry (bug 859204 and 878112)
2014-01-21 10:28:31 -08:00
Yury Delendik
8869b7e87e
Merge pull request #4153 from sriram-dev/4027-destroy-previous-doc
...
4027 - Terminate worker of previous doc
2014-01-20 17:56:56 -08:00
Sriram
151cd6dee8
Terminate worker of previous doc
2014-01-21 07:13:27 +05:30
Jonas Jenwald
575bdd8863
Fix loading of fonts with invalid encoding name entry (bug 859204 and 878112)
2014-01-21 02:03:28 +01:00
Nicholas Nethercote
0685214a77
Don't create the RGB buffer for images that don't need resizing.
2014-01-19 14:21:36 -08:00