Jonas Jenwald
e4f799a09c
Small cleanup in 'set page'
2013-12-18 03:08:50 +01:00
Brendan Dahl
58407cfa94
Merge pull request #4006 from Rob--W/crx-url-in-pageaction
...
[CRX] Add a pageAction to omnibox showing PDF URL
2013-12-17 11:33:29 -08:00
Brendan Dahl
738ae57960
Merge pull request #3967 from Snuffleupagus/scrollIntoView-horizontal
...
Add support for horizontal scrolling in 'scrollIntoView' in ui_utils.js
2013-12-17 11:30:22 -08:00
Jonas Jenwald
356ebf25cc
Merge pull request #4038 from Rob--W/css-unprefixed-cursor-grab
...
Add unprefixed "grab" / "grabbing" values for cursor
2013-12-16 10:42:51 -08:00
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 )
2013-12-16 19:01:59 +01:00
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.
2013-12-16 19:00:32 +01:00
Tim van der Meij
b1e5c7e068
Fix typo in viewer.css
2013-12-14 23:01:49 +01:00
Jonathan Watt
3eaa421c74
Prevent the page number field from having a spinner (spin buttons) in mozilla now that it supports <input type=number>
2013-12-10 15:15:22 +00:00
Brendan Dahl
1b54530b81
Merge pull request #3684 from Rob--W/hand-tool
...
Implement hand tool
2013-12-06 18:20:40 -08:00
Jonas Jenwald
736c570231
Add support for horizontal scrolling in 'scrollIntoView' in ui_utils.js
2013-12-03 19:55:35 +01:00
Yury Delendik
1d276b0396
Merge pull request #3941 from Snuffleupagus/search-from-current-page
...
Begin searching from current page
2013-12-03 08:53:16 -08:00
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>
2013-12-03 15:51:41 +01:00
Yury Delendik
f0c830dba2
Merge pull request #3978 from brendandahl/wait-for-render
...
Wait for one page to render before fetching all pages.
2013-12-03 06:48:17 -08:00
Jonas Jenwald
6dda3ce0cf
Remove </input> tag
2013-11-27 22:14:26 +01:00
Brendan Dahl
d0312aa6ba
Wait for one page to render before fetching all pages.
2013-11-26 13:55:50 -08:00
Yury Delendik
585a3d0f10
Merge pull request #3972 from brendandahl/print-reg
...
Fix printing regression from #3848 .
2013-11-26 11:13:51 -08:00
Brendan Dahl
9ac950f9a8
Append entire DOM fragment at once.
2013-11-26 11:01:28 -08:00
Brendan Dahl
c9f2390567
Fix printing regression from #3848 .
2013-11-25 16:13:40 -08:00
Brendan Dahl
1bbf0e55b0
Fix rotation regression from #3970 .
2013-11-25 14:08:28 -08:00
Brendan Dahl
c20476bfca
Fix page rotation for unloaded pages.
2013-11-25 10:05:23 -08:00
Yury Delendik
fdd5d414ed
Fixes find position in HiDPI displays
2013-11-25 09:07:10 -06:00
Jonas Jenwald
7542d50167
Fix issues with /FitR destinations
2013-11-23 18:27:03 +01:00
Jonas Jenwald
44725d4657
[PDFHistory] Fix "Warning: Unhandled rejection: [Exception... "The operation is insecure."" in Firefox 25
2013-11-23 12:15:39 +01:00
Brendan Dahl
dca5edea21
Add BOM to viewer.
2013-11-22 11:10:43 -08:00
Yury Delendik
78b61fedfc
Merge branch 'maxsong1002/shortcutkeytonavigate'
2013-11-22 08:22:12 -06:00
maxsong1002
807e4fef34
Add shortcut for goto page
2013-11-22 08:20:05 -06:00
Jonas Jenwald
ca8e3ea06f
[PDFHistory] Fix "Warning: Unhandled rejection: [Exception... "The operation is insecure."" when opening local file
2013-11-22 11:49:16 +01:00
Yury Delendik
124eb30e8d
Merge pull request #3936 from brendandahl/initial-data
...
Leave initial request open until the viewer is ready to switch to range requests.
2013-11-21 06:22:24 -08:00
Yury Delendik
bd7985a83b
Fixes cleaning up of the rendered pages
2013-11-19 17:08:36 -06:00
Jonas Jenwald
982a286f7b
Begin searching from current page
2013-11-19 12:24:42 +01:00
Jonas Jenwald
60610cd625
Implement default preferences
2013-11-18 23:51:06 +01:00
Brendan Dahl
3132c9e7e9
Merge pull request #3911 from yurydelendik/mem-redux2
...
Cleaning up fonts when viewer is idle for some time
2013-11-18 13:01:23 -08:00
Brendan Dahl
0385131a9a
Leave initial request open until the viewer is ready to switch to range requests.
2013-11-18 11:17:26 -08:00
Yury Delendik
e712c4136a
Cleaning up fonts when viewer is idle for some time
2013-11-18 13:01:54 -06:00
Rob Wu
f013d44999
Ctrl + F opens find bar instead of toggling it
2013-11-14 23:56:11 +01:00
Brendan Dahl
a64cd42de9
Use page promise for text extraction.
2013-11-14 10:26:27 -08:00
Brendan Dahl
c2d65fc4ab
Don't traverse all pages to get a single page.
2013-11-13 15:27:46 -08:00
Brendan Dahl
f4942b11f8
Reduce the memory usage of the operator list.
2013-11-13 11:43:38 -08:00
Yury Delendik
a6e7f2226a
Merge pull request #3864 from Snuffleupagus/independent-zoom-parameter
...
Make 'zoom' independent from 'page' in the hash parameters
2013-11-12 11:07:15 -08:00
Yury Delendik
d4cdf5ce41
Increase default auto scale to 125%
2013-11-11 16:51:50 -06:00
Lu Wang
6553bd6c0c
add 'contains' for the classList implementation
2013-11-06 14:52:04 +08:00
Jonas Jenwald
1c259ce806
Fix type mismatch causing wrong scale value in the viewBookmark button
2013-11-02 21:54:54 +01:00
Tim van der Meij
867c667690
Merge pull request #3854 from Snuffleupagus/round-viewBookmark-scale-value
...
Round the scale value displayed by the viewBookmark button to two decimal places
2013-11-02 13:35:02 -07:00
Jonas Jenwald
e41d98f9f0
Make 'zoom' independent from 'page' in the hash parameters
2013-10-30 20:39:44 +01:00
Jonas Jenwald
1cae737d03
Fix zoom parameter regression
2013-10-30 14:28:59 +01:00
Jonas Jenwald
4ee2c96503
Round the scale value displayed by the viewBookmark button to two decimal places
2013-10-28 12:34:35 +01:00
Jonas Jenwald
6102b6197f
Fix scroll keys in Firefox
2013-10-21 23:39:17 +02:00
Jonas Jenwald
f35e777d81
Apply the current zoom level value to each page in Presentation Mode
2013-10-19 18:33:36 +02:00
Jonas Jenwald
bee1b734c2
A few small tweaks of the SecondaryToolbar code
2013-10-18 23:03:28 +02:00
Tim van der Meij
26fb376b65
Merge pull request #3820 from Snuffleupagus/prevent-enter-PresentationMode-during-load
...
Disable Presentation Mode until the document has started rendering
2013-10-18 11:05:45 -07:00