Tim van der Meij
e05bda4045
De-inline CSS for the 'open file' button
11 years ago
Tim van der Meij
08e1ef356a
Make presentation mode use a black background
11 years ago
Jonas Jenwald
3c637b7ca9
Update the annotationLayer when using CSS only zoom
11 years ago
Jonas Jenwald
05c331c295
Maintain the current position in the document when zooming
11 years ago
Yury Delendik
2f4246abe4
Fixes FitV scrolling
11 years ago
Rob Wu
838802c2d3
Explain meaning of elements in secondary_toolbar
11 years ago
Brendan Dahl
5d080a03bb
Show a different warning for PDF’s with forms.
11 years ago
Rob Wu
f2d13a2e2c
Test if toggleHandTool is null before using it
...
Do not break the viewer if the buttons are not
available for some reason.
11 years ago
Yury Delendik
5bf3e44e30
Introduces LegacyPromise; polyfills DOM Promise
11 years ago
Brendan Dahl
2228343f77
Only trigger warning bar on certain unsupported features.
11 years ago
fkaelberer
1b35bf6c5e
Recompressed PNG assets
11 years ago
Jonas Jenwald
3d523000b9
Fix thumbnail rotation regression
11 years ago
Jonas Jenwald
4bd9767112
Rename 'Settings' to 'ViewHistory'
12 years ago
Jonas Jenwald
31ec36d64f
Fix typo in 'isViewFinished' function name
12 years ago
Brendan Dahl
53549411b4
Add verbosity as an api setting.
12 years ago
Jonas Jenwald
e4f799a09c
Small cleanup in 'set page'
12 years ago
Rob Wu
364676823b
Add unprefixed grab/grabbing cursor
...
Unprefixed "grab" / "grabbing" values of cursor will land in Firefox 27
(https://bugzilla.mozilla.org/show_bug.cgi?id=880672 )
(https://github.com/Rob--W/grab-to-pan.js/commit/fda961a3 )
12 years ago
Rob Wu
8526d3c600
[CRX] Add a pageAction to omnibox showing PDF URL
...
In Chromium extensions, the viewer's URL looks like this:
chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/http://example.com/file.pdf
Furthermore, the PDF Viewer itself can also add something to the reference fragment:
chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/http://example.com/file.pdf#page=2
Consequently, it is difficult to copy a clean URL (e.g. for sharing over mail)
without having to tidy-up the URL manually.
This commit solves this issue by adding a button to the omnibox,
which shows the clean PDF URL on click.
12 years ago
Jonas Jenwald
694b3d55b1
Fix setScale regression that affects exiting Presentation Mode on narrow window widths
12 years ago
Tim van der Meij
b1e5c7e068
Fix typo in viewer.css
12 years ago
Jonathan Watt
3eaa421c74
Prevent the page number field from having a spinner (spin buttons) in mozilla now that it supports <input type=number>
12 years ago
Jonas Jenwald
736c570231
Add support for horizontal scrolling in 'scrollIntoView' in ui_utils.js
12 years ago
Rob Wu
3914768085
Implement hand tool
...
The logic for the hand tool is implemented in a separate project,
maintained at https://github.com/Rob--W/grab-to-pan.js
Integration notes
- Added toggle as an entry under the Secondary toolbar
- Added shortcut "h" to toggle hand tool (to-do: document this in wiki
after merge). This shortcut is also used in Adobe's Acrobat Reader.
To-do: localizations for:
hand_tool_enable.title=
hand_tool_enable_label=
hand_tool_disable.title=
hand_tool_disable_label=
To-do (wish): persistence of hand tool preference, preferably a global setting.
secondaryToolbarButton-handTool.png created by Stephen Horlander <shorlander@mozilla.com>
12 years ago
Jonas Jenwald
6dda3ce0cf
Remove </input> tag
12 years ago
Brendan Dahl
d0312aa6ba
Wait for one page to render before fetching all pages.
12 years ago
Brendan Dahl
9ac950f9a8
Append entire DOM fragment at once.
12 years ago
Brendan Dahl
c9f2390567
Fix printing regression from #3848 .
12 years ago
Brendan Dahl
1bbf0e55b0
Fix rotation regression from #3970 .
12 years ago
Brendan Dahl
c20476bfca
Fix page rotation for unloaded pages.
12 years ago
Yury Delendik
fdd5d414ed
Fixes find position in HiDPI displays
12 years ago
Jonas Jenwald
7542d50167
Fix issues with /FitR destinations
12 years ago
Jonas Jenwald
44725d4657
[PDFHistory] Fix "Warning: Unhandled rejection: [Exception... "The operation is insecure."" in Firefox 25
12 years ago
Brendan Dahl
dca5edea21
Add BOM to viewer.
12 years ago
maxsong1002
807e4fef34
Add shortcut for goto page
12 years ago
Jonas Jenwald
ca8e3ea06f
[PDFHistory] Fix "Warning: Unhandled rejection: [Exception... "The operation is insecure."" when opening local file
12 years ago
Yury Delendik
bd7985a83b
Fixes cleaning up of the rendered pages
12 years ago
Jonas Jenwald
982a286f7b
Begin searching from current page
12 years ago
Jonas Jenwald
60610cd625
Implement default preferences
12 years ago
Brendan Dahl
0385131a9a
Leave initial request open until the viewer is ready to switch to range requests.
12 years ago
Yury Delendik
e712c4136a
Cleaning up fonts when viewer is idle for some time
12 years ago
Rob Wu
f013d44999
Ctrl + F opens find bar instead of toggling it
12 years ago
Brendan Dahl
a64cd42de9
Use page promise for text extraction.
12 years ago
Brendan Dahl
c2d65fc4ab
Don't traverse all pages to get a single page.
12 years ago
Brendan Dahl
f4942b11f8
Reduce the memory usage of the operator list.
12 years ago
Yury Delendik
d4cdf5ce41
Increase default auto scale to 125%
12 years ago
Lu Wang
6553bd6c0c
add 'contains' for the classList implementation
12 years ago
Jonas Jenwald
1c259ce806
Fix type mismatch causing wrong scale value in the viewBookmark button
12 years ago
Jonas Jenwald
e41d98f9f0
Make 'zoom' independent from 'page' in the hash parameters
12 years ago
Jonas Jenwald
1cae737d03
Fix zoom parameter regression
12 years ago
Jonas Jenwald
4ee2c96503
Round the scale value displayed by the viewBookmark button to two decimal places
12 years ago