Commit Graph

776 Commits

Author SHA1 Message Date
Yury Delendik
3a5258d069 Takes top border width in account (cont #2874) 2013-03-03 19:08:23 -06:00
Yury Delendik
91ab83a69a Merge pull request #2872 from sgtatham/master
Fix handling of [page /XYZ null null null] destinations.
2013-03-03 15:00:54 -08:00
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.
2013-03-03 22:35:30 +00:00
Yury Delendik
43f70d1601 Merge branch 'ctrl0' 2013-03-03 14:42:32 -06:00
Yury Delendik
dbf22e5194 Keeping Ctrl+0 unhandled 2013-03-03 14:41:43 -06:00
Yury Delendik
85ddd9405a Replacing page shadow with image; removing some profixed styles 2013-03-03 09:38:38 -06:00
Brendan Dahl
5c43565404 Hack to support automatic printing from pdf javascript. 2013-02-28 15:29:07 -08:00
waddlesplash
d0864f766b CSS fixes to the sidebar.
No need for a 15px margin, and links should have a pointer cursor.
2013-02-28 17:02:09 -05:00
Yury Delendik
7ca99df0d7 Merge pull request #2816 from Snuffleupagus/zoom-select-adjust-followup
Resize the zoom box width to fit the content - fix embedding
2013-02-28 08:25:44 -08:00
Jonas
87017ec3cf Make links work in fullscreen - fix issue mentioned by @yurydelenik 2013-02-28 15:35:41 +01:00
Mack Duan
c0acf072e7 Merge pull request #2822 from waddlesplash/css
Spacing fixes in CSS.
2013-02-27 16:36:34 -08:00
Ofir
bf837cb524 Clone the array manually when slice is missing 2013-02-27 22:53:59 +02:00
waddlesplash
322709257d Spacing fixes. 2013-02-27 12:53:14 -05:00
waddlesplash
b5dadab5c7 Add "cursor: text;" to textLayer div CSS.
Fixes problem caused by e4e4b1ab4e.
2013-02-26 14:18:11 -05:00
Yury Delendik
8aca4c992b Merge pull request #2781 from waddlesplash/textselection
Ignore empty strings for text selection
2013-02-26 10:52:03 -08:00
waddlesplash
9ba08f2c3d Ignore empty strings for text selection.
They were causing double text selection.
2013-02-26 13:00:33 -05:00
Jonas
0bde16a0a0 Resize the zoom box width to fit the content - fix embedding - address comments 2013-02-26 18:46:50 +01:00
Yury Delendik
3b506bd294 Merge pull request #2805 from brendandahl/no-hide-download
Don't hide the download/print buttons when view is small.
2013-02-25 17:11:48 -08:00
Brendan Dahl
60edfce733 Don't hide the download/print buttons when view is small. 2013-02-25 16:53:54 -08:00
Brendan Dahl
a13f7964b1 Merge pull request #2686 from vyv03354/bug770409
Implement vertical writing
2013-02-25 12:47:47 -08:00
Jonas
e4e4b1ab4e Make navigation keys work on document load - avoid breaking embedded viewer, take 3 2013-02-24 17:49:42 +01:00
Julian Viereck
b9e3e845e5 Merge pull request #2676 from Snuffleupagus/pagemode
Add 'pagemode' URL parameter
2013-02-23 01:59:17 -08:00
waddlesplash
9ec51d89bd Fixes to findbar CSS. 2013-02-22 12:52:05 -05:00
Yury Delendik
a7f385971d Merge pull request #2705 from timvandermeij/even-zooming
More even way of zooming
2013-02-21 07:41:56 -08:00
Julian Viereck
0721de45b0 Hide header/footer by default when printing from Firefox. See Bug 743252 2013-02-17 11:01:19 +01:00
vyv03354
c5b8ee6a91 Implements vertical writing 2013-02-15 03:53:34 +09:00
Yury Delendik
4247339d28 Merge pull request #2711 from marco-c/patch-2
Use asyncStorage.setItem for B2G
2013-02-12 20:17:00 -08:00
Mack Duan
c40c594999 Merge pull request #2690 from Snuffleupagus/bug-837462
Prevent text selection divs from overflowing page boundries
2013-02-11 10:20:06 -08:00
Marco
3058c40432 Update web/viewer.js
Use asyncStorage.setItem for B2G
2013-02-11 18:36:44 +01:00
Yury Delendik
15233773fd Merge pull request #2708 from marco-c/patch-1
Update web/viewer.js
2013-02-10 11:09:43 -08:00
Yury Delendik
249dad8e46 Merge pull request #2703 from timvandermeij/close-findbar-without-focus
Close findbar also when focus is away from it
2013-02-10 10:46:54 -08:00
Marco
f1a39471e3 Update web/viewer.js
The variable isLocalStorageEnabled is now unused in Firefox and B2G.
2013-02-10 16:18:46 +01:00
Tim van der Meij
1f4b896d4e Squashing commits for the close findbar feature 2013-02-10 16:14:17 +01:00
Tim van der Meij
96ec48e634 Squashing commits for disabling zoom buttons feature 2013-02-10 15:01:37 +01:00
Tim van der Meij
0f8f9deb0b Squashing commits for zooming changes 2013-02-10 14:50:49 +01:00
Yury Delendik
6ce1cfe734 Reverts 729b82, d5f65f and 724add 2013-02-08 14:04:36 -06:00
vyv03354
729b82359a Implements the print permission 2013-02-08 23:28:27 +09:00
Yury Delendik
51c81a1d01 Merge pull request #2695 from yurydelendik/copy-protection-2
Fixes text search for "secured" documents (take 2)
2013-02-07 16:22:31 -08:00
Yury Delendik
d5f65f5431 Fixes text search for "secured" documents 2013-02-07 18:15:39 -06:00
Snuffleupagus
c2e2afdd59 Prevent text selection divs from overflowing page boundries 2013-02-07 12:13:25 +01:00
Snuffleupagus
d296c3dbaa Add 'pagemode' URL parameter - comments addressed 2013-02-06 16:58:32 +01:00
vyv03354
07491f584f Replace getUserData()/setUserData() with CustomEvents 2013-02-06 23:31:50 +09:00
Yury Delendik
81f8f92696 Adds web/* and test/* for jshint target 2013-02-04 12:01:19 -06:00
Yury Delendik
74bfc3ddf7 Merge pull request #2612 from Snuffleupagus/zoom-select-adjustable-width
Resize the zoom box width to fit the content
2013-01-31 20:04:50 -08:00
Yury Delendik
9c044e2c31 Fallback when AcroForm is present 2013-01-31 16:46:44 -05:00
Yury Delendik
c53fa62e58 Merge pull request #2644 from SSk123/edit_slider_name
Bug #767698 Slider Rename
2013-01-31 06:06:06 -08:00
Srishti
a80234fee9 Bug #767698 Slider Rename
Bug #767698 Slider Rename
2013-01-31 19:25:02 +05:30
Yury Delendik
cca1a68adf Merge pull request #2572 from mduan/issue2477
Make canvas transform matrix account for devicePixelRatio
2013-01-30 20:25:43 -08:00
mduan
6bacb38692 Make canvas transform matrix account for devicePixelRatio 2013-01-30 16:06:12 -05:00
Brendan Dahl
f18655fab9 Merge pull request #2614 from yurydelendik/intermit-fullscreen
Fixes intermittent rendering stop
2013-01-30 11:59:08 -08:00