Tim van der Meij
ea85a2f7a7
Use strict equalities in web/viewer.js
11 years ago
Rob Wu
bb13fb939e
Initialize PDFView.url = ''
...
The absence of this property caused the following error in PDFView.download:
Cannot read property 'split' of undefined
This property was unset when the PDF was loaded through a typed array instead
of a URL. With the fix, the file name will default to "document.pdf", as
defined by getPDFFileNameFromURL in web/ui_utils.js
11 years ago
Lu Wang
91b7030bf4
fix typo
11 years ago
Fabian Lange
6447397c04
Do not run cleanup while printing is ongoing.
11 years ago
Yury Delendik
df87df59b6
Increases page cache size when needed
11 years ago
Yury Delendik
6f79aef03a
Uplift for B2G bug 1009780 - Improve open mechanism for downloads.
11 years ago
Yury Delendik
7ac1c6b034
Reporting print usage
11 years ago
Jonas Jenwald
5ac4dd9593
Prevent rendering unnecessary pages when the HOME/END keys are pressed
...
Currently (at least in Firefox) when the HOME/END keys are pressed, this will trigger unnecessary rendering of pages that lay between the current page and the first/last page. Avoid this by going straight to the first/last page instead.
11 years ago
Nicholas Nethercote
f852cefdd8
Halve the size of the PageView cache.
11 years ago
Samuel Chantaraud
952545e20f
Limit the size of canvases to 5MP (iOS restriction)
11 years ago
Yury Delendik
d57f83e087
Reverting back disableWebGL preferences check
11 years ago
Yury Delendik
3b405cf611
Protects PDFJS.disableXXX == true from change
11 years ago
Yury Delendik
a338a7966d
Fixes drawImage for thumbs
11 years ago
deathy
7d975dfe22
Fix destination name for 'Fit' zoom levels in hash params
11 years ago
Mohammed Abu-alsaad
e6546642db
Added more preference variables from the available hash parameters
11 years ago
Jonas Jenwald
5cd6dddeee
Convert the existing overlays to use the OverlayManager
11 years ago
Samuel Chantaraud
37c3641fad
Added Promise.catch
...
Fixed Promise so it rejects on uncaught exception
Catch possible rejection on ViewHistory.setMultiple
11 years ago
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