Yury Delendik
5d97434736
Properly disables presentation mode
12 years ago
Jonas
ab9bc2bc34
Fix issue with resizing the zoom box width - follow-up of 2816
12 years ago
Brendan Dahl
4a7bd37162
Hide canvas overflow for high dpi screens.
12 years ago
Jonas
a4343436c7
Fix remaining issues in the browsing history
12 years ago
Jonas
d3c9a9d856
Fix regressions caused by the recent implementation of browsing history - address comments v3
12 years ago
Jonas
766b92c27e
PDF browsing history - v6.50
12 years ago
Yury Delendik
0e133f0090
Drawing without fillText; refactoring ADD_TO_PATH
12 years ago
Yury Delendik
61a7738a5d
Fixes password for range request loading
12 years ago
Mack Duan
f8f4b3f45d
Refactor code for annotations
12 years ago
Jakob Miland
297c305150
Ask for password on failed decryption
12 years ago
Jonas
40718bdb7b
Fixes bug 863591
12 years ago
Jonas
32f54c3272
Fixes issue 3076
12 years ago
Kalervo Kujala
5e08f8039d
Replace fullscreen with presentationMode
12 years ago
Jonas
93b8e1fc01
Fix disabling of zoom buttons and add camel case button names
12 years ago
Jonas
adf61ea5b0
Make spacebar work on document load - fixes bug 864619
12 years ago
Mack Duan
91f9948df4
Only update progress bar if it increases
12 years ago
Jonas
77c1235b13
Workaround for issue 3068 - v3
12 years ago
Mack Duan
c5084d9e8a
Update loading bar during onprogress of range requests
12 years ago
mete0r
66cb12822d
Fix parseQueryString -- use decodeURIComponent instead of unescape
12 years ago
Mack Duan
6b2c6fc223
Changes to regression tests for progressive loading
12 years ago
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
12 years ago
Jakob Miland
6b4f72a2c3
Disable outline button when unavailable
12 years ago
Yury Delendik
238b94aff1
Adds check for textDivs presence; removes textLayerQueue
12 years ago
Rob Wu
88767e1861
Improve download button and behaviour
...
Fix download button for top frames and sub frames
When PDF.js is the top frame, and the PDF URL is identical to
the top URL, download would fail. Fixed by adding a ? or & in these
cases.
When PDF.js is embedded in a frame from a different origin, download
would fail because window.open(url, '_parent') is ignored.
Fixed by using a.click() when available.
a.click() works in Chrome 25, Firefox 19, Opera 12.00 and IE 8.
Safari 5.1 does not support a.click()
Use a.download if available + documentation
12 years ago
Rob Wu
b46c375126
Compatibility with XHTML documents
...
Previously, when the XHTML doctype + header is active, checks
would fail because a <div>'s tag name is "div" instead of "DIV".
document.activeElement does not exist in Chrome for XHTML documents
== -> ===
12 years ago
Jonas
ee83df1338
Detect and add fallback if document colors are disabled in Firefox - address comment
12 years ago
Inkbug
b0376a1aa6
Fixing Issue 2998 - Replacing `!!window.frameElement` with `window.parent !== window`
12 years ago
Brendan Dahl
ec311f303b
Use white backdrop when possible.
12 years ago
Mack Duan
4782a3acb9
Changes to viewer to support progressive loading
12 years ago
Mack Duan
7aaa061db4
Fix issue w/ textlayer on retina causing it to be visible only in top quadrant
12 years ago
Jonas
e081c764af
Tweak external links in fullscreen mode - follow up on #2712
12 years ago
vyv03354
385a5f7dcc
Add a console warning when JavaScript/AcroForm/XFA was found
12 years ago
vyv03354
d933386e76
Deal with negative vScale value
12 years ago
Brendan Dahl
ad842b6bb8
Remove mozOpaque.
12 years ago
Brendan Dahl
725cd5407f
Add basic support for transparency groups.
12 years ago
Jonas
4378a932ef
Rewrite and refactor getVisibleElements() to make it more generic - address comments by @brendandahl
12 years ago
Yury Delendik
601b81f4ed
Adds optional Shift for zoom keybindings
12 years ago
Jonas
82b588389f
Scroll the Thumbnail of the current page into view when exiting fullscreen mode
12 years ago
Yury Delendik
7b2441ec23
Takes clientTop in account in getVisibleElements
12 years ago
Yury Delendik
3a5258d069
Takes top border width in account (cont #2874 )
12 years ago
Simon Tatham
c164f03e5a
/XYZ destinations: default to top left of the page.
...
The previous default in the absence of provided coordinates was the
bottom left, so that if you followed a PDF link annotation with a
destination of [page /XYZ null null null] then you would see a gutter
followed by the page _after_ the intended one, because pdf.js had
carefully aligned the lower left corner of the target page with the
top of the window.
As part of this change we allow missing x,y parameters in URLs with a
&zoom= parameter to propagate nulls into pageViewScrollIntoView
instead of being replaced with zero in pdfViewSetHash, so as to do
this substitution in one place.
12 years ago
Yury Delendik
dbf22e5194
Keeping Ctrl+0 unhandled
12 years ago
Brendan Dahl
5c43565404
Hack to support automatic printing from pdf javascript.
12 years ago
Jonas
87017ec3cf
Make links work in fullscreen - fix issue mentioned by @yurydelenik
12 years ago
waddlesplash
9ba08f2c3d
Ignore empty strings for text selection.
...
They were causing double text selection.
12 years ago
Jonas
0bde16a0a0
Resize the zoom box width to fit the content - fix embedding - address comments
12 years ago
Jonas
e4e4b1ab4e
Make navigation keys work on document load - avoid breaking embedded viewer, take 3
12 years ago
vyv03354
c5b8ee6a91
Implements vertical writing
12 years ago
Marco
3058c40432
Update web/viewer.js
...
Use asyncStorage.setItem for B2G
12 years ago
Marco
f1a39471e3
Update web/viewer.js
...
The variable isLocalStorageEnabled is now unused in Firefox and B2G.
12 years ago