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
)
11 years ago
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 )
11 years ago
Yury Delendik
520fdf2f6a
Merge pull request #4180 from yurydelendik/jshint11
...
Use jshint 1.1.0
11 years ago
Yury Delendik
17dfc7c700
Use jshint v1.1
11 years ago
Yury Delendik
ffe42f580a
Merge pull request #4178 from peerlibrary/worker-loader
...
Allow fake worker loader with namespaced bundling of PDF.js
11 years ago
Mitar
9e8c75a7ff
Allow fake worker loader with namespaced bundling of PDF.js.
11 years ago
Tim van der Meij
3c6ac0dad5
Merge pull request #4161 from yurydelendik/smask
...
SMask emulation
11 years ago
Brendan Dahl
348d3a667b
Merge pull request #4173 from Rob--W/crx-remove-unused-file
...
Remove unused file from Chromium extension
11 years ago
Rob Wu
fa965269ea
Remove unused file from Chromium extension
...
extensions/chromium/patch-worker.js was already redundant
since edd4bae903
.
11 years ago
Yury Delendik
4054b0c385
SMask emulation
11 years ago
Yury Delendik
c80df604b9
Merge pull request #4170 from Snuffleupagus/document-properties-Swedish
...
Add Document Properties to the Swedish l10n
11 years ago
Jonas Jenwald
730e536b90
Add Document Properties to the Swedish l10n
11 years ago
Yury Delendik
0d5ee2a8de
Merge pull request #4169 from xavier114fch/zh-TW
...
zh-TW translation update for document properties
11 years ago
Xavier fung
e8239de897
zh-TW translation update for document properties
11 years ago
Yury Delendik
0049407762
Merge pull request #4168 from TheoChevalier/l10n-fr
...
Update fr locale
11 years ago
TheoChevalier
25ad893a25
Update fr locale
11 years ago
Yury Delendik
4a34556ccc
Merge pull request #4167 from timvandermeij/followup-document-properties
...
Miscellaneous improvements for the document properties dialog
11 years ago
Tim van der Meij
c952b6fb85
Miscellaneous improvements for the document properties dialog
11 years ago
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)
11 years ago
Yury Delendik
18a163c900
Merge pull request #4163 from Rob--W/issue-4159-uri-annot
...
Recover from bad URI values
11 years ago
Rob Wu
b35ced8c9e
RFC 3986-compliant isValidUrl (protocol parsing)
...
To avoid misinterpreting URLs like "/File:wikipedia.png" as a
non-relative URLs.
11 years ago
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.
11 years ago
Yury Delendik
b87ce518a7
Merge pull request #4160 from xavier114fch/zh-TW
...
Document Propeties translation in zh-TW
11 years ago
Yury Delendik
ba1eb4d1d1
Merge pull request #4126 from Rob--W/crx-using-streams-api
...
Chromium extension using streamsPrivate API!
11 years ago
Jonas Jenwald
46ba8d10b0
Only check for line dash pattern when annotation has a visible border (bug 957034 followup)
11 years ago
Xavier fung
554b6244b6
Document Propeties translation in zh-TW
11 years ago
Yury Delendik
2c34807fa3
Merge pull request #4149 from timvandermeij/document-properties
...
Document properties
11 years ago
Yury Delendik
3aeab0f0cb
Merge pull request #4158 from timvandermeij/fix-promise-regression
...
Fixes this.reject regression
11 years ago
Tim van der Meij
5f7ded4ff6
Document properties
11 years ago
Tim van der Meij
e612da2c3d
Fixes this.reject regression
11 years ago
Yury Delendik
c6d201b13b
Merge pull request #4154 from timvandermeij/rtl-css-fixes
...
RTL CSS improvements
11 years ago
Tim van der Meij
d25b0a74d0
RTL CSS improvements
11 years ago
Brendan Dahl
e13500e46b
Merge pull request #4140 from timvandermeij/close-secondary-toolbar
...
Close the secondary toolbar when an action is performed once
11 years ago
Brendan Dahl
f18e3e9e0f
Merge pull request #4144 from yurydelendik/api-doc
...
Misc fixes for the API docs
11 years ago
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.
11 years ago
Yury Delendik
27573ddbad
Minor fixes for the jsdocs and removing unused members.
11 years ago
Yury Delendik
c3d70e5750
Merge pull request #4147 from Snuffleupagus/bug-859204
...
Fix loading of fonts with invalid encoding name entry (bug 859204 and 878112)
11 years ago
Yury Delendik
8869b7e87e
Merge pull request #4153 from sriram-dev/4027-destroy-previous-doc
...
4027 - Terminate worker of previous doc
11 years ago
Sriram
151cd6dee8
Terminate worker of previous doc
11 years ago
Jonas Jenwald
575bdd8863
Fix loading of fonts with invalid encoding name entry (bug 859204 and 878112)
11 years ago
Nicholas Nethercote
0685214a77
Don't create the RGB buffer for images that don't need resizing.
11 years ago
Yury Delendik
96fff4cc74
Refactors getTextContent return value
11 years ago
Brendan Dahl
ac91047f6d
Merge pull request #4072 from yurydelendik/check-aa
...
Checks if subpixel-aa enabled before scaling the fonts
11 years ago
Yury Delendik
11e0ab3530
Merge pull request #4135 from timvandermeij/cleanup-extension
...
Cleaning up files in extension
11 years ago
Tim van der Meij
2684c79c4d
Cleaning up files in extension
11 years ago
Yury Delendik
9409f3794a
Merge pull request #4136 from timvandermeij/remove-extension-files
...
Removing extension-files file
11 years ago
Yury Delendik
e7d16ba1a2
Merge pull request #4138 from nnethercote/chunk-ImageData
...
Do createImageData/putImageData in chunks, to save memory.
11 years ago
Tim van der Meij
45585d9dd5
Merge pull request #4142 from Snuffleupagus/css-cleanup
...
Remove old CSS rules
11 years ago
Jonas Jenwald
80f5ae518f
Remove old CSS rules
11 years ago
Tim van der Meij
070d77a332
Merge pull request #4119 from yurydelendik/preprocessor
...
Extracts evaluator preprocessor, refactor text extraction and paintFormXObject
11 years ago