Nicholas Nethercote
b64cca0bef
When lexing numbers, look for digits first.
2014-01-29 18:20:53 -08:00
Nicholas Nethercote
c1ef7e4d63
Use Array.join instead of += to build up strings in the Lexer.
2014-01-29 18:19:58 -08:00
Yury Delendik
b4eceac826
Merge pull request #4209 from Rob--W/grab-to-pan-performance
...
Update Grab to pan to fix performance issue
2014-01-29 15:30:58 -08:00
Rob Wu
45c633b072
Update Grab to pan to fix performance issue
...
Reported at http://stackoverflow.com/questions/21392844/pdf-js-recalculating-problme
See also e0f893753a
Changes versus grab-to-pan.js: Moved inline style to viewer.css,
lowered z-index from 2e9 to 50000 (note to future maintainers:
make sure that all other z-index values stay below 50000!).
2014-01-30 00:16:25 +01:00
Tim van der Meij
3deea077ef
Merge pull request #4217 from Rob--W/fix-print-shortcut
...
Print shortcut: Ctrl + (Shift +) P only
2014-01-29 11:16:19 -08:00
Yury Delendik
99bbad3219
Removes scolling jank after bw image optimization
2014-01-29 13:10:34 -06:00
Brendan Dahl
cda181f061
Merge pull request #4187 from Rob--W/issue-4183
...
Use forEach instead of for-in (was: Replace [] with {} in core/cmap)
2014-01-29 10:54:49 -08:00
Rob Wu
9df998914d
Print shortcut: Ctrl + (Shift +) P only
...
The previous version interfered with the full screen shortcut
(Ctrl + Alt + P).
The new version only intercepts Cmd/Ctrl + P (all browsers).
And Ctrl + Shift + P in Chrome / Opera (Presto and Chromium),
because these browsers also associate a Print operation with
the shortcut.
2014-01-29 18:38:42 +01:00
Yury Delendik
3595c2c360
Respects current ctx scale for mesh pattern
2014-01-29 10:39:06 -06:00
Yury Delendik
561683d2e9
Dynamically determines how to split patch into triangles
2014-01-29 10:39:06 -06:00
Yury Delendik
c5a804c43a
Merge pull request #4181 from nnethercote/compact-images
...
Reduce memory consumption of simple black and white images.
2014-01-28 15:53:46 -08:00
Nicholas Nethercote
a966909754
Reduce memory consumption of simple black and white images.
2014-01-28 14:36:47 -08:00
Brendan Dahl
c2e31cd1ef
Merge pull request #4205 from yurydelendik/blob-open-file
...
Using blob URL for open file
2014-01-28 14:15:35 -08:00
Brendan Dahl
0e000392ae
Merge pull request #4179 from yurydelendik/dataLoaded
...
Fixes PDFDocumentProxy.getDataLoaded API name (and refactoring)
2014-01-28 13:56:01 -08:00
Yury Delendik
e5e9c6e243
Fixes PDFDocumentProxy.getDownloadInfo API name (and refactoring)
2014-01-28 15:13:47 -06:00
Yury Delendik
d45d7bc161
Merge pull request #4200 from timvandermeij/ie-mousewheel
...
Implements mouse wheel behaviour for non-Firefox browsers
2014-01-28 11:56:16 -08:00
Tim van der Meij
b4b145507c
Implements mouse wheel behaviour for non-Firefox browsers
2014-01-28 20:52:25 +01:00
Yury Delendik
c45c9a7ffa
Merge pull request #4210 from yurydelendik/issue4131
...
Refactors nextPageMatch (nits)
2014-01-28 09:13:20 -08:00
Yury Delendik
48f0d0a131
Refactors nextPageMatch (nits)
2014-01-28 11:11:02 -06:00
Yury Delendik
187c9007ef
Merge pull request #4131 from karlden/findUnboundedRecursionBug960409
...
Fixes find functionality recursion (bugzilla FF bug 960409)
2014-01-28 06:44:42 -08:00
Yury Delendik
a583c319a1
Implements shading types 4-7
2014-01-27 20:35:51 -06:00
Yury Delendik
e9327050c3
Basic function.js split
2014-01-27 20:29:47 -06:00
Brendan Dahl
59526a7cf1
Merge pull request #4189 from yurydelendik/split-pattern
...
Refactors shared/pattern.js into core/ and display/
2014-01-27 17:40:22 -08:00
Brendan Dahl
c2421c2897
Merge pull request #4201 from yurydelendik/smask-backdrop
...
Fixes smask backdrop
2014-01-27 11:16:37 -08:00
Yury Delendik
18515b8668
Using blob URL for open file
2014-01-27 13:11:02 -06:00
Yury Delendik
141669a318
Merge pull request #4194 from Rob--W/crx-pdf-embed
...
Support <embed type="application/pdf"> in Chromium extension
2014-01-27 07:26:13 -08:00
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