Commit Graph

5767 Commits

Author SHA1 Message Date
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
Jonas Jenwald
58807ec860 Merge pull request #4024 from lpy/l10n-zh_cn
Update viewer.properties in l10n for zh-CN
2013-12-12 05:09:07 -08:00
lpy
5e744029ff Update viewer.propertiesin l10n for zh-CN 2013-12-12 20:53:05 +08:00
Brendan Dahl
d6277419a7 Merge pull request #4020 from jwatt/master
Prevent the page number field from having a spinner (spin buttons) in mozilla now that mozilla supports <input type=number>
2013-12-10 10:57:18 -08: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
Jonas Jenwald
0e60d5bc30 Merge pull request #4018 from fkaelberer/l10nUpdatesDE
Update L10n for DE
2013-12-10 01:32:44 -08:00
fkaelberer
142ace0180 Comments:
Line 56-58: "Gegen den Uhrzeigersinn" is shorter and more common than "Entgegen dem Uhrzeigersinn" (http://de.wikipedia.org/wiki/Drehrichtung)

Line 60-63: "Hand-Werkzeug" is also used in Acrobat

Line 124,133,..: "PDF" is not a noun. Acrobat, Wikipedia use "PDF-Datei" (="PDF file") instead of "PDF".
The English translation sounds just as bad: "An error occurred while loading the PDF.", "The PDF is not fully loaded for printing."
2013-12-10 09:43:20 +01:00
Jonas Jenwald
33100620dd Merge pull request #4013 from xavier114fch/zh-TW
Hand tool translations for zh-TW
2013-12-09 01:40:28 -08:00
Xavier fung
950cfd93e4 Hand tool translations for zh-TW 2013-12-09 10:04:18 +08:00
Tim van der Meij
88ec2bd1ac Merge pull request #4008 from Snuffleupagus/hand-tool-l10n-sv
Add hand tool strings to the Swedish l10n
2013-12-07 05:30:55 -08:00
Jonas Jenwald
6cbd6833ba Add hand tool strings to the Swedish l10n 2013-12-07 14:19:30 +01:00
Tim van der Meij
debde3032c Merge pull request #4007 from timvandermeij/hand-tool-nl
Dutch translations for the hand tool
2013-12-07 04:53:08 -08:00
Tim van der Meij
9862dec250 Dutch translations for the hand tool 2013-12-07 13:50:53 +01:00
Brendan Dahl
1b54530b81 Merge pull request #3684 from Rob--W/hand-tool
Implement hand tool
2013-12-06 18:20:40 -08:00
Brendan Dahl
d3b5aa3236 Merge pull request #3996 from Hengjie/master
Fix Blob creation in Safari 7.0
2013-12-05 10:59:48 -08:00
Hengjie
b96811df25 Fix Blob creation in Safari 7.0.
It should be !== ‘undefined’ to avoid matching everything that Blob can be a type of
2013-12-06 02:10:41 +13: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
Brendan Dahl
dc14b34d4e Merge pull request #3980 from Snuffleupagus/issue-3847
Remove </input> tag
2013-12-02 16:51:42 -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
Yury Delendik
78c9a76f0a Merge pull request #3976 from brendandahl/dom-frag
Append entire DOM fragment at once.
2013-11-26 11:05:12 -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
Yury Delendik
49082cf93e Merge pull request #3971 from brendandahl/rotation2
Fix rotation regression from #3970.
2013-11-25 14:35:23 -08:00
Brendan Dahl
1bbf0e55b0 Fix rotation regression from #3970. 2013-11-25 14:08:28 -08:00
Yury Delendik
d4e4634d06 Merge pull request #3970 from brendandahl/rotation
Fix page rotation for unloaded pages.
2013-11-25 10:15:29 -08:00
Brendan Dahl
2af3e25651 Merge pull request #3954 from yurydelendik/invalid-start
Index objects if Prev xref was not found
2013-11-25 10:12:43 -08:00
Brendan Dahl
c20476bfca Fix page rotation for unloaded pages. 2013-11-25 10:05:23 -08:00
Brendan Dahl
fe2700ca2d Merge pull request #3968 from yurydelendik/hidpi-2
Fixes find position in HiDPI displays
2013-11-25 09:32:21 -08:00
Brendan Dahl
1c0ed17d8f Merge pull request #3964 from yurydelendik/issue-3962
Fixes chunks grouping
2013-11-25 09:28:25 -08:00
Yury Delendik
fdd5d414ed Fixes find position in HiDPI displays 2013-11-25 09:07:10 -06:00
Yury Delendik
43db959367 Merge pull request #3955 from Snuffleupagus/issue-3953
Fix issues with /FitR destinations
2013-11-23 13:33:15 -08:00
Yury Delendik
90956ce3e0 Takes chunk id == 0 into account during grouping 2013-11-23 12:04:22 -06:00
Jonas Jenwald
7542d50167 Fix issues with /FitR destinations 2013-11-23 18:27:03 +01:00
Yury Delendik
1fc11027ec Merge pull request #3961 from Snuffleupagus/issue-3959
[PDFHistory] Fix "Warning: Unhandled rejection: [Exception... "The operation is insecure."" in Firefox 25
2013-11-23 08:18:50 -08: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
58b781c92f Merge pull request #3957 from brendandahl/bom
Add BOM to viewer.
2013-11-22 11:17:33 -08:00
Brendan Dahl
dca5edea21 Add BOM to viewer. 2013-11-22 11:10:43 -08:00
Yury Delendik
72a8568b34 Fixes for CONTRIBUTING.md 2013-11-22 11:44:57 -06:00
Yury Delendik
cc3fe2c45a Adds CONTRIBUTING.md for issue reporting "hint" 2013-11-22 11:41:19 -06:00
Yury Delendik
98ebf57144 Index objects if Prev xref was not found 2013-11-22 08:49:36 -06: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
Yury Delendik
419e2e15e5 Merge pull request #3940 from brendandahl/operator-cleanup
Combine if/else block with switch for getOperatorList.
2013-11-22 06:14:57 -08:00
Yury Delendik
6c92ee0375 Merge pull request #3952 from Rob--W/crx/load-after-session-restore
[CRX] Reload extension tab after session restore
2013-11-22 05:07:54 -08:00
Yury Delendik
e988b6cfa9 Merge pull request #3934 from Snuffleupagus/PDFHistory-fix-opening-local-file
[PDFHistory] Fix "Warning: Unhandled rejection: [Exception... "The operation is insecure."" when opening local file
2013-11-22 05:03:07 -08: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