Commit Graph

417 Commits

Author SHA1 Message Date
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
Julian Viereck
8d6565d1a8 Change the format of the BidiResult object. 2012-09-20 17:10:51 +02:00
Julian Viereck
32d14f4575 Ensure textLayers content is always fetched and set on the textLayer 2012-09-20 17:10:51 +02:00
Julian Viereck
d26969a85f Remove some debugging informations 2012-09-20 17:08:43 +02:00
Julian Viereck
a5520216fc Some comment stuff 2012-09-20 17:08:42 +02:00
Julian Viereck
f0f16a6a4d Do some logging of the outputted text 2012-09-20 17:08:42 +02:00
Julian Viereck
83c499595c Change the PDFJS.bidi function calls slightly to avoid creating a seperate object to pass to PDF.JS bidi and just pass in a string 2012-09-20 17:08:42 +02:00
Julian Viereck
3db4e7266e Make the textLayer use extracted textContent 2012-09-20 17:08:42 +02:00
Julian Viereck
668c2867d4 Change the format of textContent to be an array 2012-09-20 17:01:16 +02:00
Julian Viereck
eced7fbb57 Backup work before redoing the textContent format 2012-09-20 17:01:16 +02:00
Julian Viereck
a38c4bc729 Make getTextContent return offset array and improve the algorithm. Make
parts in viewer.js work again.
2012-09-20 17:01:15 +02:00
Artur Adib
863dd0d214 merge upstream 2012-09-18 16:57:09 -04:00
Yury Delendik
ac7b6aeff4 Provides right fallback fonts for text layer 2012-09-14 11:17:35 -07:00
Yury Delendik
a98d84ff64 Merge pull request #2115 from yurydelendik/merge-font-text
Refactor text extraction / font loading logic
2012-09-13 17:43:09 -07:00
Yury Delendik
e086cf36f4 Refactor text extraction / font loading logic 2012-09-13 15:12:42 -07:00
Julian Viereck
d108b20730 Merge pull request #2100 from brendandahl/zoom-out-mac
Fix zoom out keyboard shortcut for mac.
2012-09-13 07:47:51 -07:00
Artur Adib
0e89fe7d9d nit 2012-09-12 15:07:23 -07:00
Artur Adib
708eb78c67 working fragments 2012-09-12 14:26:01 -07:00
Brendan Dahl
24d660eebe Fix regression from #2087. 2012-09-10 17:39:51 -07:00
Brendan Dahl
62734a2d97 Fix zoom out keyboard shortcut for mac. 2012-09-10 09:28:45 -07:00
gigaherz
3e20fe2355 Refresh the zoom settings after rotating the pages also for non-fullscreen, using the current value of the scale. 2012-09-08 02:07:16 +02: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
Brendan Dahl
332ae4ce41 Change to the Apache v2 license. 2012-08-31 15:48:21 -07:00
Yury Delendik
c53b7aacfc Fixes scrollIntoView when scrollbars are hidden 2012-08-28 16:29:47 -05:00
Brendan Dahl
57866c514b Merge pull request #2023 from yurydelendik/scrollIntoView
Replaces scrollIntoView
2012-08-27 12:14:02 -07:00
gigaherz
1a915943cd Fix review comments. 2012-08-27 09:02:10 +02:00
gigaherz
d64bb603c8 Gracefully fail if the URL filename cannot be decoded. 2012-08-27 01:49:07 +02:00
Yury Delendik
2531515f15 Replaces scrollIntoView 2012-08-24 10:12:03 -05:00
Yury Delendik
cd1a645881 Adds support of the indeterminate loading progress 2012-08-22 10:48:56 -05:00
Brendan Dahl
e11e8117c5 Merge pull request #1943 from yurydelendik/loadingbychrome
Implements loading PDF data by extension/chrome
2012-08-21 11:14:16 -07:00
Yury Delendik
df4fadeaf5 Unknown length support; reports download error 2012-08-20 17:16:04 -05:00
Yury Delendik
c02e539e35 Adds textlayer debug modes 2012-08-19 20:02:12 -05:00
Yury Delendik
ec8fdb60fc Fixes "TypeError: invalid 'in' operand args" 2012-08-15 10:38:15 -05:00