Michał Gołębiowski
e625af3fef
Remove type="text/javascript" from script tags.
...
"text/javascript" is not a correct MIME type (the correct one is
"application/javascript") but it's not even needed; all browsers default
to the correct type and treat it as executable JS when type is ommited.
Since not all browsers recognize the "application/javascript" MIME type
the only way to both stay compliant and to support all popular browsers
is to omit the type. It's also shorter this way.
11 years ago
Jonas Jenwald
b88c5330a9
Reduce the number of calls to PDFView.getVisiblePages from updateViewarea
11 years ago
Tim van der Meij
53f3b1326a
Removes unused code from web/compatibility.js
11 years ago
Yury Delendik
c5eb058b09
Uses rAF to interrupt the operator list execution
11 years ago
Jonas Jenwald
ec50aa4e8c
Refactor how the database is read in ViewHistory
11 years ago
Jonas Jenwald
8bb19fac2d
Catch error when the creation of localStorage polyfill fails in the generic viewer
11 years ago
Tim van der Meij
19586721fb
Fixes DownloadManager for IE10 and above
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
Tim van der Meij
9d6ffbb3bf
Converts attachment items to buttons instead of links
11 years ago
Jonas Jenwald
69eafaa58f
Add support for setting multiple values at once in ViewHistory
11 years ago
Jonas Jenwald
48399a3ec7
Add writeToStorage method to ViewHistory
11 years ago
Jonas Jenwald
447d115ec1
[Firefox] Workaround for sessionStorage error when the preference network.cookie.lifetimePolicy is set to 1 (bug 1000777)
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
8edb5cc804
Fix regression preventing the setting of breakpoints in the Stepper (PDFBug)
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
Samuel Chantaraud
7a4543e348
Prevent the annotationLayer to be recreated when the page is redrawn
...
This allows interactive annotations to keep their states after a resize
11 years ago
Rob Wu
d7dfa447cd
Remove unused (local) variables in web/
11 years ago
Yury Delendik
689927282e
Removes reference to the Makefile
11 years ago
Jonas Jenwald
12f3d58506
Ensure that the errorWrapper is closed when a new document is opened (issue 4625)
11 years ago
Tim van der Meij
d05768078b
Setting empty tooltips for zoom select box items
11 years ago
Manuel Braun
e7da8edb91
Refactoring - remove duplicated code in TextLayerBuilder
11 years ago
Yury Delendik
1fd43a87db
Changes 'documentload' event behavior.
11 years ago
Yury Delendik
f6c631bc31
Reverts #4556 due to flicker on Chome
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
Tim van der Meij
a71a87a821
Fixes lint warning W018: confusing use of exclamation mark
11 years ago
Brendan Dahl
5ba674c996
Append whitespace divs so matches still line up.
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
p01
b10aa18b3e
Use Opaque Canvas where possible
11 years ago
Brendan Dahl
5bd8a83c9b
Build the text layer geometry on the worker.
11 years ago
Yury Delendik
b39f0c311c
Refactors history and how the database is stored
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
42f9541081
Add preference to automatically enable the Hand Tool when the viewer loads
11 years ago
Jonas Jenwald
4c9c43f82b
Modify {get, set}Preferences in PdfStreamConverter.jsm to support async
11 years ago
Jonas Jenwald
c920372ff2
Rewrite 'Preferences' to make it async
11 years ago
Jonas Jenwald
edfc78dfe7
Only update the Document Properties if the dialog is still visible when the dataAvailablePromise is resolved
11 years ago
Jonas Jenwald
c7a0b68d9a
Remove superfluous 'self' variable from web/document_properties.js
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
Samuel Chantaraud
50aa49bb06
Added CSS rules to allow smooth (momentum) scrolling on iOS devices
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
Stratos Voukelatos
6a8c998ebd
Fix error message typo
...
It should read 'PDFFindController cannot be initialized without a PDFFindBar instance'.
11 years ago
Yury Delendik
17eded9065
Partially reverts #3641
11 years ago