Commit Graph

60 Commits

Author SHA1 Message Date
Tim van der Meij
c952b6fb85 Miscellaneous improvements for the document properties dialog 2014-01-23 00:30:48 +01:00
Tim van der Meij
5f7ded4ff6 Document properties 2014-01-22 00:07:07 +01:00
Brendan Dahl
5d080a03bb Show a different warning for PDF’s with forms. 2014-01-07 16:03:45 -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
Tim van der Meij
63233fa8c2 Improved password prompt 2013-09-24 17:46:54 +02:00
Tim van der Meij
9d6ec2ea6f Revert language string changes 2013-09-15 22:50:50 +02:00
Tim van der Meij
3c0ac37292 Secondary toolbar 2013-09-04 23:48:31 +02:00
Mack Duan
f8f4b3f45d Refactor code for annotations 2013-05-07 14:22:13 -04:00
Brendan Dahl
e5b5c94925 Merge pull request #3060 from saebekassebil/fixpassword
Ask for password on failed decryption
2013-05-07 09:27:38 -07:00
Jakob Miland
297c305150 Ask for password on failed decryption 2013-05-07 18:24:59 +02:00
Jonas
40718bdb7b Fixes bug 863591 2013-05-06 17:39:22 +02:00
Jakob Miland
6b4f72a2c3 Disable outline button when unavailable 2013-04-11 18:27:35 +02:00
Jonas
ee83df1338 Detect and add fallback if document colors are disabled in Firefox - address comment 2013-04-03 18:49:03 +02:00
Mack Duan
4782a3acb9 Changes to viewer to support progressive loading 2013-03-29 11:51:10 -07: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
Bill Walker
12af2f9431 fix for #2219, "provide a better error message when file= not found/accessible"
summary: create a new Exception class for missing PDF's, use it in place of generic

add new MissingPDFException to util.js
handle MissingPDF in api.js
handle MissingPDF in viewer.js, using new missing_file_error message
add new missing_file_error to l10n/en-US/viewer.properties
send MissingPDF from WorkerMessageHandler's loadDocument
send MissingPDF from GetDocRequest handler
2013-01-29 13:17:04 -08:00
Yury Delendik
7b70710565 Traces pdf.js version 2013-01-04 11:01:31 -06:00
Yury Delendik
5dc87a7fca Detecting if web fonts are disable in Firefox. 2012-11-30 17:08:19 -06:00
Brendan Dahl
67f3b38245 Change keys and update wording for find wrapped strings. 2012-11-20 09:19:17 -08:00
Brendan Dahl
942f879a5d Add license headers to properties files. 2012-11-07 13:05:50 -08:00
Yury Delendik
1f8be3fdc3 Fixes find_wrapped_to_bottom string 2012-10-29 08:01:36 -05:00
Piotr Zalewa
812bc6795d * InvalidPDFException added
* Act on throwing an Exception and InvalidPDFException by rejecting the worker
instead of throwing
* changed message for all builds
* alerting and closing window only for B2G builds
* invalid_file_error added to l10n (en and pl)
* UnknownErrorException added and used for every error()
2012-10-25 11:15:19 +02:00
Tim van der Meij
637efe9dde Fixing capital letters 2012-10-10 21:54:05 +02:00
Tim van der Meij
83a236484b Improved the Dutch and English strings for the first and last page context menu items 2012-10-10 21:41:38 +02:00
Yury Delendik
06f9b70f07 Merge pull request #2206 from timvandermeij/first-last-page-context-menu
Converted the first and last page buttons to context menu items
2012-10-10 10:36:21 -07:00
Tim van der Meij
6e13e3dd73 Final commit squash 2012-10-10 19:26:41 +02:00
Yury Delendik
ade5f96787 Add pilot find next/prev icons; localization 2012-10-05 19:15:06 -05:00
Yury Delendik
baf3e1fb83 Adds localized en-US string for find_not_found 2012-10-05 10:05:46 -05:00
Brendan Dahl
1f85b8b4ed Update the l10n for the html find bar. 2012-10-02 17:08:47 -07:00
Artur Adib
6864a07221 Use "find" instead of both find & search 2012-09-25 16:17:27 -04:00
Yury Delendik
12a0faadad Renames fullscreen to presentation mode 2012-09-21 09:35:18 -05:00
Yury Delendik
7766894c1a Fix l10n labels ids for rotation menu items 2012-09-17 08:35:44 -05:00
gigaherz
bbcb05af7b Implement page rotation controls using keyboard (R/shift-R) and context menu. 2012-09-08 01:05:14 +02:00
Saebekassebil
dacdbaa978 Correct l10n and address yury's comments 2012-07-30 17:58:34 +02:00
Brendan Dahl
276d965573 Sync up pdf.js with the mozilla central version. 2012-07-13 15:47:00 -07:00
Brendan Dahl
d32906adc4 Add back basic printing support for non-moz browsers.
Shadow/cache supports browsing.
Destroy pages on error and only abort if supported.
2012-07-12 10:31:20 -07:00
Brendan Dahl
4655ec0c75 Localize print message. Show/hide print button. 2012-07-09 16:04:55 -07:00
Brendan Dahl
cebee4026d UI update from shorlanders comments. 2012-06-07 13:51:29 -07:00
Xavier Fung
17492f4688 Minor fix to brackets 2012-06-05 16:19:32 +08:00
Gavin Sharp
65a7017ac9 Uses ellipsis instead of dots 2012-06-04 18:48:59 -05:00
Yury Delendik
e2011a4244 Fixing search button; removing xx culture 2012-05-31 16:13:27 -05:00
Yury Delendik
fd85882366 Addressing the bug 742099 review 2012-05-31 15:56:38 -05:00
Artur Adib
2a962f2c97 merging upstream 2012-05-29 12:16:57 -04:00
Brendan Dahl
7ea8caeb18 Change unsupported feature message. 2012-05-25 13:03:13 -07:00
Brendan Dahl
2da12930a6 Merge branch 'master' of github.com:mozilla/pdf.js into fallback-ui
Conflicts:
	extensions/firefox/components/PdfStreamConverter.js
2012-05-24 14:01:10 -07:00
Yury Delendik
b8128f69ba Localize the Find button 2012-05-24 16:00:55 -05:00
Brendan Dahl
ee54c0bfe4 Remove disable option. Change download wording to open. 2012-05-23 16:16:48 -07:00
Yury Delendik
74616848ca Merge remote-tracking branch 'mozilla/master' into textsearch
Conflicts:
	l10n/en-US/viewer.properties
	web/viewer.html
2012-05-21 14:07:30 -05:00
Yury Delendik
609b2a797e Merge remote-tracking branch 'mozilla/master' into textsearch
Conflicts:
	l10n/en-US/viewer.properties
	web/viewer.html
2012-05-21 11:32:16 -05:00