Commit Graph

450 Commits

Author SHA1 Message Date
Yury Delendik
4dcb1fd25f Fixes output for HiDPI device 2012-10-19 13:05:12 -05:00
Brendan Dahl
e0dc176d9b Merge pull request #2233 from yurydelendik/fix-fit-page
Fixes fit-page and fullscreen
2012-10-15 10:03:30 -07:00
Yury Delendik
209ee959db Fixes 'currentPage is undefined' viewer error 2012-10-15 09:01:09 -05:00
Yury Delendik
ee499b46cf Removes 'visiblePages[0] is undefined' error 2012-10-15 07:40:05 -05:00
Yury Delendik
da73934baf Fixes fit-page and fullscreen 2012-10-10 22:12:47 -05:00
Brendan Dahl
3cf43e7130 Merge pull request #2217 from yurydelendik/hide-cursor
Hides cursor in presentation mode
2012-10-10 17:36:27 -07:00
Yury Delendik
be779c2ec7 Hides cursor in presentation mode 2012-10-10 19:32:48 -05:00
Brendan Dahl
115f00cf4c Merge pull request #2228 from yurydelendik/fix-white-border
Rounding page div width and height...
2012-10-10 17:32:16 -07:00
Brendan Dahl
4734cd8198 Change status attribute name. 2012-10-10 15:46:04 -07:00
Yury Delendik
00852bd9ca Rounds page div to the canvas size 2012-10-10 16:31:11 -05:00
Brendan Dahl
c3debc6ee0 Delay extracting text until first find event. 2012-10-10 13:58:14 -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
Brendan Dahl
7ac45147e2 Merge pull request #2210 from yurydelendik/fullscreen-controls
Adds more presentation mode controls
2012-10-10 09:47:46 -07:00
Yury Delendik
f77b61e4f1 Fixes order in which are divs added to the text layer 2012-10-10 09:08:29 -05:00
Yury Delendik
b5f952a63a Fixes font debugger; text builder api refactoring 2012-10-09 08:25:41 -05:00
Brendan Dahl
399463a450 Merge pull request #2211 from yurydelendik/find-ui-2
Escape key closes findbar
2012-10-08 10:41:34 -07:00
Yury Delendik
b465fc46fa Merge pull request #2060 from kkujala/master
Add firefox mouse scrolling support in fullscreen mode.
2012-10-08 06:02:52 -07:00
Yury Delendik
7cace5f160 Escape key closes findbar 2012-10-06 08:58:12 -05:00
Yury Delendik
2178bf06c9 Adds more presentation mode controls 2012-10-05 21:55:47 -05:00
Brendan Dahl
a15d3d6622 Handle ctrl/cmd+g for html findbar. 2012-10-05 15:07:56 -07:00
Yury Delendik
c281bd71b6 Merge pull request #2202 from brendandahl/find-bugs
Fixes minor find bugs.
2012-10-05 14:08:51 -07:00
Brendan Dahl
95b1f74a30 Add support for firefox integrated find. 2012-10-05 13:59:13 -07:00
Brendan Dahl
a829b06d20 Fixes a minor find bugs. 2012-10-05 12:21:04 -07:00
Brendan Dahl
4e0c792f12 Merge pull request #2168 from mozilla/html-search-bar
Find bar
2012-10-04 13:59:20 -07:00
Brendan Dahl
5d848ca31a Ignore find key shortcut only for mozcentral for now. 2012-10-04 13:44:17 -07:00
Tim Taubert
5bab0c354a Bug 796584 - Don't use localStorage in pdf.js 2012-10-03 01:16:42 +02:00
Brendan Dahl
45fe76e752 Add support for enter/shift for find. 2012-10-02 15:59:57 -07:00
Kalervo Kujala
4747467103 Add firefox mouse scrolling support in presentation mode.
Convert ticks to mouse delta values and use that to determine
when to flip the page.

Also use cooldown time for presentation mode page scrolling.
This way hi res mouses do not scroll multiple pages at once.
http://www.codeproject.com/Articles/155717/Handling-Enhanced-Mouse-Wheels-in-your-Application
2012-10-03 00:08:16 +03:00
Artur Adib
3bd20a7415 bug fix: textLayer ready still needs scroll 2012-10-02 16:19:51 -04:00
Yury Delendik
8cf766d177 Prevents key handling when the input/toolbar controls are focused 2012-10-01 16:32:02 -05:00
Brendan Dahl
53672af0f7 Fix un-highlight when there is no query. 2012-09-28 11:43:22 -07:00
Brendan Dahl
38193b1887 Update the find bar ui status. 2012-09-28 11:18:45 -07:00
Brendan Dahl
2a1264a746 Don't try to highlight anything if the page isn't selected and we aren't highlighting all. 2012-09-28 09:03:35 -07:00
Julian Viereck
ecf3dae776 Fix clear matches functionality 2012-09-28 15:16:10 +02:00
Artur Adib
6090b3edf9 colors closer to FF's, add highlightAll support 2012-09-27 12:21:04 -04: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
73b96e0e58 bug fix: clear previous highlights 2012-09-26 14:09:55 -04:00
Artur Adib
6022476f03 add support for case sensitive 2012-09-26 12:14:57 -04:00
Artur Adib
6864a07221 Use "find" instead of both find & search 2012-09-25 16:17:27 -04:00
Artur Adib
d94bbad575 typo fix 2012-09-25 14:54:29 -04:00
Julian Viereck
da57e0f89e Julian's html-search-bar work 2012-09-25 14:48:05 -04:00
Julian Viereck
e98eba1b11 Merge pull request #2127 from jviereck/text-algo-3
Use the text extracted in the getTextContent function for the divs of the textLayer.
2012-09-25 05:52:46 -07:00
Yury Delendik
574d626f04 Merge pull request #1906 from brendandahl/use-plain-blob
Use Blob constructor when available instead of deprecated MozBlobBuilder.
2012-09-24 17:11:32 -07:00
Mike Taylor
9bc2a065fe Fullscreen updates for latest (unprefixed) spec.
Fixes the camelCase error in requestFullscreen. Replaces document.fullscreen
with a check for document.fullscreenElement.
2012-09-23 23:24:44 +02:00
Brendan Dahl
739ee47865 Use Blob constructor when available instead of deprecated MozBlobBuilder. 2012-09-22 09:44:49 -07:00
Julian Viereck
f1e0edbaa9 Address Yurys review comments 2012-09-22 11:18:26 +02:00
Julian Viereck
a33ba145bf Don't compute the string for the TextLayer in the canvas backend anymore and change the syntax of appendText 2012-09-20 17:15:55 +02:00
Julian Viereck
bd4434a7ea Apply bidi algorithm to the text in the worker 2012-09-20 17:10:51 +02:00