Jonas Jenwald
b88c5330a9
Reduce the number of calls to PDFView.getVisiblePages from updateViewarea
11 years ago
Yury Delendik
c5eb058b09
Uses rAF to interrupt the operator list execution
11 years ago
Jonas Jenwald
c53bcb2992
Add a preference to set the sidebarView on load
11 years ago
Jonas Jenwald
159e86f7ab
Ensure that the viewer loads even if there are errors when the preferences are read
11 years ago
Jonas Jenwald
51d6ad7176
Fix the display of the indeterminate progress bar when the loaded percentage is NaN (issue 4696)
11 years ago
Jonas Jenwald
69eafaa58f
Add support for setting multiple values at once in ViewHistory
11 years ago
Tim van der Meij
107cd8007f
Move DocumentAttachmentsView to its own file
11 years ago
Tim van der Meij
1e119e093b
Move DocumentOutlineView to its own file
11 years ago
Jonas Jenwald
4e1362642a
Only handle scroll events when PDFView.pdfDocument is defined (issue 4642)
11 years ago
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 )
11 years ago
Rob Wu
d7dfa447cd
Remove unused (local) variables in web/
11 years ago
Jonas Jenwald
12f3d58506
Ensure that the errorWrapper is closed when a new document is opened (issue 4625)
11 years ago
Yury Delendik
1fd43a87db
Changes 'documentload' event behavior.
11 years ago
Rob Wu
bfcc8af6ed
Move logic from viewer.js to chromecom.js
...
and also default to '' instead of DEFAULT_URL to avoid trying to
load a non-existent file when no file has been specified.
11 years ago
Rob Wu
b64c06f68d
Work-around for filesystem:-URL bug ( #4592 ).
...
Visit https://robwu.nl/pdfjs/filesystem-worker-bug.htm and follow the
steps to verify that the extension works as intended with this patch.
11 years ago
Jonas Jenwald
965f7a7b14
Print WebGL status in the console
11 years ago
Tim van der Meij
b348243866
Fixes lint warning W004 in /web
11 years ago
Jonas Jenwald
eb7f369c54
Remove leading and trailing spaces from info.Producer and info.Creator when printing debug info in the console (bug 872827)
11 years ago
Yury Delendik
30ab878835
Add enableWebGL to the preferences
11 years ago
Yury Delendik
f57c6935d7
Implements WebGL support
11 years ago
Jonas Jenwald
c920372ff2
Rewrite 'Preferences' to make it async
11 years ago
Jonas Jenwald
025f340228
Prevent the Document Properties from being empty when the dialog is opened before the file has started loading
11 years ago
Rob Wu
d04f81b964
Improved FTP support for Chromium extension
11 years ago
fkaelberer
db84851e27
Use full screen width in presentation mode
11 years ago
Yury Delendik
17eded9065
Partially reverts #3641
11 years ago
Yury Delendik
ed8ecfd00a
Cleaning up the viewer and pdfbug; fixes repeats in Stepper
11 years ago
Yury Delendik
1d8f6cf0e7
Updates make.js for cmaps and make binary cmaps by default
11 years ago
Yury Delendik
69efd9cb96
CMaps binary packing
11 years ago
aib
2870a6108c
Fix download button waiting if document has started but not completed downloading
11 years ago
Jonas Jenwald
9e0ed5ca7e
Fix coding style in web/viewer.js
11 years ago
Jonas Jenwald
6fd0b063e9
Fix scrolling using Shift+Spacebar in Firefox
11 years ago
Brendan Dahl
ce9e9e6ff7
Remove embeddedFontsUsed from API.
11 years ago
Samuel Chantaraud
dcb174ed58
Made viewer's webViewerLoad callable from outside viewer.js
...
To allow manual triggering when DOMContentLoaded can not be relied upon.
11 years ago
Rob Wu
3f96d0dabb
Ctrl/cmd + S = save PDF instead of viewer.html
11 years ago
Samuel Chantaraud
cbc9ad3cb6
Correct formatting of locale to make it compatible with l10n (safari issue)
11 years ago
Jonas Jenwald
4ee1fb7956
Fix spacebar scrolling in Firefox (4224 follow-up)
11 years ago
Jonas Jenwald
d6ca563f46
Fix wrong page being displayed when entering/exiting Presentation mode with zoom set to 'page-fit'
11 years ago
Brendan Dahl
b5b94a4af3
Use built in CMaps and unify the glyph mapping.
11 years ago
Brendan Dahl
e477958b74
Remove inline script warnings.
11 years ago
Rob Wu
ce9400dc8b
Handle navigation keys when viewer is not focused
...
Restrict the scrollbar hack to the keycode for "spacebar",
since the bug only occurs in Firefox with spacebar.
Keyboard navigation is only activated for the spacebar if
the currently focused element is not a button.
11 years ago
Rob Wu
eaf7daf7db
[CRX] Pass expected length of stream to viewer
...
To get a progress bar for POST/FTP requests in Chromium.
11 years ago
Rob Wu
64a4a27455
Remove obsolete code from shortcut handler
...
These lines were introduced in 612f59aa10
when the only shortcuts were +/-/=/0 (to change zoom level).
Back then, when the input fields were focused, using these keys would
add these unwanted characters to the input field and change the zoom
level of the viewer. Having both operations at the same time was an
undesired event, so a check was inserted, to ignore shortcuts when
the toolbar is focused.
The #toolbar element doesn't exist any more, so these lines are obsolete.
11 years ago
Yury Delendik
e5e9c6e243
Fixes PDFDocumentProxy.getDownloadInfo API name (and refactoring)
11 years ago
Tim van der Meij
b4b145507c
Implements mouse wheel behaviour for non-Firefox browsers
11 years ago
Yury Delendik
18515b8668
Using blob URL for open file
11 years ago
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.
11 years ago
Rob Wu
60fb28caf0
Register as File browser handler in Chrome OS
11 years ago
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
Tim van der Meij
5f7ded4ff6
Document properties
11 years ago