Commit Graph

244 Commits

Author SHA1 Message Date
Jonas Jenwald
bfc66626a0 Move Presentation Mode related code from viewer.js to its own file 2013-10-01 23:11:46 +02:00
Jonas Jenwald
b148c9cb51 Add the viewBookmark button to the secondary toolbar 2013-09-27 11:51:32 +02:00
Tim van der Meij
63233fa8c2 Improved password prompt 2013-09-24 17:46:54 +02:00
Jonas Jenwald
cebf3c60e2 Move PageView from viewer.js to its own file 2013-09-20 09:25:41 +02:00
Tim van der Meij
3c0ac37292 Secondary toolbar 2013-09-04 23:48:31 +02:00
Brendan Dahl
c17a7c9d04 Merge pull request #3505 from Snuffleupagus/move-ThumbnailView
Move ThumbnailView from viewer.js to its own file
2013-08-26 10:30:24 -07:00
Brendan Dahl
bb2529de03 Move the creation of canvas path fonts to the worker. 2013-08-19 16:33:20 -07:00
Brendan Dahl
5ecce4996b Split files into worker and main thread pieces. 2013-08-12 10:48:06 -07:00
Jonas
d99879bfbf Move ThumbnailView from viewer.js to its own file 2013-08-06 22:19:03 +02:00
Yury Delendik
99c9079f54 [CSP] removes inlined styles and scripts 2013-07-30 21:00:37 -05:00
Jonas
8708f8beb5 Fixes regression that cause scrolling using spacebar to break in Firefox 2013-07-19 22:09:37 +02:00
Jonas
09e0c9b65d Move PDFHistory from viewer.js to its own file 2013-07-18 17:18:27 +02:00
Yury Delendik
fb189f4fdf Merge pull request #3476 from Rob--W/no-google-translate
Disable Google Translate on viewer in Chrome.
2013-07-18 06:21:57 -07:00
Rob Wu
d5e16ab85c Viewer: Remove inline events; set height on error
Move inline event handlers to viewer.js to comply with a
Content-Security-Policy where directive "unsafe-inline" is not set.

Change textarea.rows = <number of newlines> to
textarea.style.height = textarea.scrollHeight.
(The former is extremely unreliable; consider long lines...)
2013-07-18 10:38:44 +02:00
Brendan Dahl
7a1049216c Merge pull request #3440 from peerlibrary/syncing-order
Syncing order of JS files in viewer.html and make.js. See #3414
2013-07-16 16:10:25 -07:00
Rob Wu
97efe7886e Disable Google Translate on viewer in Chrome.
test/pdfs/yo01.pdf triggered "This page is in Japanese. Would you like
to translate it?" info bar in Chrome.
2013-07-16 00:13:05 +02:00
Yury Delendik
ef658bf5f1 Refactoring download button logic 2013-07-12 13:14:13 -05:00
Rob Wu
4a2eefe1b6 Allow scrolling by keyboard in Chrome/Opera
Set "tabindex" attribute to allow focus;
Added "outline: none" to prevent focus ring from appearing.

Fixes #3443
2013-07-06 15:37:03 +02:00
Mitar
e0a2ee09b5 Syncing order of JS files in viewer.html and make.js. See #3414 2013-07-02 17:03:16 -07:00
Vivin Paliath
83b6eaed16 pr #3356
squashing commits.
2013-06-18 09:05:55 -07:00
Yury Delendik
0e133f0090 Drawing without fillText; refactoring ADD_TO_PATH 2013-05-15 15:57:27 -05:00
Mack Duan
f8f4b3f45d Refactor code for annotations 2013-05-07 14:22:13 -04:00
Kalervo Kujala
5e08f8039d Replace fullscreen with presentationMode 2013-05-01 09:22:17 +03:00
Jonas
93b8e1fc01 Fix disabling of zoom buttons and add camel case button names 2013-04-30 21:14:18 +02:00
Jonas
adf61ea5b0 Make spacebar work on document load - fixes bug 864619 2013-04-30 16:44:51 +02:00
Mack Duan
ef423ef30c Implement progressive loading of PDFs 2013-04-12 16:13:22 -07:00
Brendan Dahl
60edfce733 Don't hide the download/print buttons when view is small. 2013-02-25 16:53:54 -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
0721de45b0 Hide header/footer by default when printing from Firefox. See Bug 743252 2013-02-17 11:01:19 +01:00
Tim van der Meij
96ec48e634 Squashing commits for disabling zoom buttons feature 2013-02-10 15:01:37 +01: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
Brendan Dahl
971e202f0b Disable printing a selection for Firefox. 2013-01-30 09:22:00 -05:00
Brendan Dahl
fd4e40c82b New GUI for B2G viewer. 2012-11-29 17:01:51 -08:00
Yury Delendik
e5247e4895 Updates webL10n; using viewer.properties as is 2012-11-29 14:02:33 -06:00
Brendan Dahl
df0d9be4a5 Add close button and title bar for b2g. 2012-11-28 11:02:56 -08:00
Brendan Dahl
11175ba6fe Minor css tweaks for small viewer and aligning borders. 2012-10-29 14:35:07 -07: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
94367bd161 Adds tabindex; remove search field type 2012-10-06 09:22:37 -05:00
Yury Delendik
ade5f96787 Add pilot find next/prev icons; localization 2012-10-05 19:15:06 -05:00
Brendan Dahl
95b1f74a30 Add support for firefox integrated find. 2012-10-05 13:59:13 -07:00
Yury Delendik
92770fdd84 Minor CSS fixed for find bar 2012-10-05 10:47:58 -05:00
Brendan Dahl
1f85b8b4ed Update the l10n for the html find bar. 2012-10-02 17:08:47 -07:00
Brendan Dahl
dd0cb37f38 Add some door hanger styling for the find bar 2012-09-28 12:30:07 -07:00
Brendan Dahl
38193b1887 Update the find bar ui status. 2012-09-28 11:18:45 -07:00
Artur Adib
e2a2085f62 remove find button in MOZCENTRAL 2012-09-26 16:47:26 -04:00
Artur Adib
1ec2e2a1a2 remove old unused code 2012-09-26 16:38:02 -04:00
Artur Adib
6864a07221 Use "find" instead of both find & search 2012-09-25 16:17:27 -04:00
Julian Viereck
da57e0f89e Julian's html-search-bar work 2012-09-25 14:48:05 -04:00
Yury Delendik
12a0faadad Renames fullscreen to presentation mode 2012-09-21 09:35:18 -05:00
gigaherz
bbcb05af7b Implement page rotation controls using keyboard (R/shift-R) and context menu. 2012-09-08 01:05:14 +02:00
Michael Payne
6ca9245a39 Changes to allowed versioned building of Chrome extension that meets new
Chrome extension security requirements
2012-09-06 12:39:49 -07:00
Michael Payne
088c6e17e8 changes to allow chrome extension to load
changes to remove inline scripts, update manifest version, fix make.js
so compatibility.js isn't included for chrome. Due to new Chrome
extension changes outlined at
http://developer.chrome.com/extensions/manifestVersion.html
2012-09-05 22:52:17 -07:00
Brendan Dahl
332ae4ce41 Change to the Apache v2 license. 2012-08-31 15:48:21 -07:00
Brendan Dahl
44a6afb282 Fix mozcentral build. 2012-08-01 12:16:28 -07:00
Brendan Dahl
492fa6edb4 Add the new preprocessor. 2012-08-01 11:55:39 -07:00
Brendan Dahl
6d35073a9c Initial build for b2g. 2012-08-01 11:55:39 -07:00
Saebekassebil
dacdbaa978 Correct l10n and address yury's comments 2012-07-30 17:58:34 +02:00
Saebekassebil
39d3ea862b Initial support for Presentation Mode 2012-07-30 17:12:49 +02:00
Brendan Dahl
4655ec0c75 Localize print message. Show/hide print button. 2012-07-09 16:04:55 -07:00
Brendan Dahl
7e5a9b7a39 Adds support for the new mozPrintCallback api. 2012-07-09 10:41:52 -07:00
Brendan Dahl
f90a05f5f8 Merge pull request #1837 from yurydelendik/jbig2-1
JBIG2 implementation
2012-06-26 16:00:32 -07:00
Yury Delendik
e09eb529d9 Adds basic symbol dictionary and text region. 2012-06-18 15:03:20 -05:00
Brendan Dahl
cebee4026d UI update from shorlanders comments. 2012-06-07 13:51:29 -07:00
Artur Adib
277c127921 Merge pull request #1743 from yurydelendik/mobile-1
Add viewport metatag for mobile
2012-06-04 14:34:02 -07: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
Yury Delendik
b8128f69ba Localize the Find button 2012-05-24 16:00:55 -05:00
Yury Delendik
b7d0c0b4d0 Add viewport metatag 2012-05-23 16:50:54 -05: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
Yury Delendik
55d9a53e40 Fixes tab order, temp icon and localization 2012-05-21 11:23:12 -05:00
Artur Adib
6cd9ae01cc Enable/disable search via about:config pref 2012-05-21 11:15:24 -04:00
Yury Delendik
cc3e7197b3 Replaces browse button with a icon 2012-05-20 17:12:58 -05:00
Yury Delendik
326b739bd1 Adds styles for small screens 2012-05-15 14:47:33 -05:00
Artur Adib
2d3ed7fc78 Merge branch 'refs/heads/master' into textsearch
Conflicts:
	web/viewer.css
	web/viewer.html
	web/viewer.js
2012-05-08 17:22:48 -04:00
Yury Delendik
19cf459943 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into l10n
Conflicts:
	web/viewer.html
2012-05-04 13:13:29 -05:00
Yury Delendik
5a7db6f355 Fixes the small artifact with the bookmark button 2012-05-04 12:46:59 -05:00
Yury Delendik
92a9003191 Fixing display: none; title for zoom 2012-05-04 12:34:18 -05:00
Yury Delendik
c04ea2897e Addressing accessebility aspects 2012-05-04 09:51:21 -05:00
Yury Delendik
e7f63e3e5e Fixes rtl zoom and page up/down icons 2012-05-01 19:39:24 -05:00
Yury Delendik
89b6c74a53 Merge remote-tracking branch 'mozilla/master' into l10n
Conflicts:
	web/viewer.css
	web/viewer.html
2012-05-01 17:19:02 -05:00
Yury Delendik
72ec5d070b Fixes rtl languages 2012-05-01 17:08:30 -05:00
Yury Delendik
69a40ef8d8 Fixes tab order and focus highlight 2012-05-01 11:43:48 -05:00
Yury Delendik
00543a1c89 Embed locale.properties in the viewer.html for extension 2012-04-30 21:55:21 -05:00
Yury Delendik
29bde9d528 Merge remote-tracking branch 'mozilla/master' into l10n-1
Conflicts:
	web/viewer.html
2012-04-30 18:32:37 -05:00
Brendan Dahl
68321ae671 Add back the browse button for the web viewer. 2012-04-30 14:23:26 -07:00
Yury Delendik
9b8b3bd25f Initial localization 2012-04-30 15:29:05 -05:00
Artur Adib
ede1985d85 Merge branch 'new-ui' of github.com:mozilla/pdf.js into new-ui 2012-04-27 10:59:36 -04:00
Artur Adib
c8a6a9ba00 remove print button 2012-04-27 10:59:31 -04:00
Brendan Dahl
cc353a4003 Add doctype. 2012-04-26 11:19:04 -07:00
Brendan Dahl
27caa7741a Fix the error box. 2012-04-25 17:20:13 -07:00
Brendan Dahl
88ffc2db33 Don't disable outline. Add some more style to outline. 2012-04-25 16:38:36 -07:00
Brendan Dahl
3d43576838 Re-order the zoom options, add actual size option. 2012-04-25 15:55:11 -07:00
Brendan Dahl
29a2b60461 Add print button back. 2012-04-25 14:19:34 -07:00
Brendan Dahl
c4189b46f3 Move sidebar open class. 2012-04-25 13:46:17 -07:00
Brendan Dahl
cce830bf62 Merge upstream. 2012-04-25 11:53:59 -07:00
Brendan Dahl
50088867c0 Remove flex box. Add side animation. Add dashed line around unload thumbnails. 2012-04-25 11:34:28 -07:00
Artur Adib
ffe3dbfc8f minor fixes 2012-04-25 14:10:53 -04:00