Brendan Dahl
abaed05174
Merge pull request #2346 from yurydelendik/info
...
Adds basic PDF info
2012-11-29 12:30:06 -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
67f3b38245
Change keys and update wording for find wrapped strings.
2012-11-20 09:19:17 -08:00
Brendan Dahl
60209f6b43
Use high dpi display hack for printing too.
2012-11-13 16:57:23 -08:00
Yury Delendik
621e8e1ea9
Merge pull request #2360 from waddlesplash/refactor
...
Refactor constant names in various files
2012-11-10 13:33:27 -08:00
waddlesplash
32fbf687ab
Refactor names in various files.
...
web/viewer.js
src/fonts.js (& remove unused global)
src/evaluator.js
src/canvas.js
2012-11-10 14:59:13 -05:00
Saebekassebil
6f17260d35
Fix bugzilla bug#804526, hiding fullscreen button when in an iframe
2012-11-10 15:57:43 +01:00
Yury Delendik
1f56d242ff
Adds basic PDF info
2012-11-05 11:12:17 -06:00
Yury Delendik
b47e4b8855
Merge pull request #2327 from brendandahl/un-inline
...
Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code.
2012-10-29 16:43:23 -07:00
Brendan Dahl
11175ba6fe
Minor css tweaks for small viewer and aligning borders.
2012-10-29 14:35:07 -07:00
Brendan Dahl
babd8df176
Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code.
2012-10-29 12:44:18 -07:00
Yury Delendik
a47033131c
Fixes find_wrapped_to_bottom fallback string
2012-10-29 08:10:29 -05:00
Yury Delendik
668be62d2b
Merge pull request #2315 from waddlesplash/master
...
Add more annotation icons
2012-10-27 15:09:21 -07:00
waddlesplash
1d43cb2523
Add more annotation icons and vectorize the logo.
2012-10-27 13:40:13 -04:00
Yury Delendik
ee87a44c03
Merge pull request #2298 from zalun/show_alert_on_invalid_pdf_structure
...
Display an error on Invalid PDF
2012-10-25 19:18:26 -07: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
Yury Delendik
7e2c94453c
Merge pull request #2305 from brendandahl/remove-innerhtml
...
Remove use of innerhtml.
2012-10-24 12:46:12 -07:00
Brendan Dahl
8e3f626f8a
Remove use of innerhtml.
2012-10-24 11:53:07 -07:00
Yury Delendik
eea69c18dc
Merge pull request #2295 from waddlesplash/master
...
Make comments look nicer
2012-10-24 07:59:04 -07:00
waddlesplash
ceee2c4d04
Make the comments look nicer & fix a linebreak bug.
2012-10-24 10:52:14 -04:00
Brendan Dahl
f99150bc22
Merge pull request #2283 from yurydelendik/hidpi
...
Fixes output for HiDPI device
2012-10-22 12:39:01 -07:00
Saebekassebil
75af308b38
Fix annotation clipping
2012-10-22 18:00:37 +02:00
Brendan Dahl
3488d756e8
Allow find to highlight matches without extracting all text.
2012-10-19 16:28:17 -07:00
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
391b5b0244
Moving fullscreen top border few pixels up
2012-10-10 22:41:28 -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
Brendan Dahl
e1988fb5bf
Merge pull request #2208 from yurydelendik/find-ui-1
...
Add pilot find next/prev icons; localization
2012-10-08 09:58:19 -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
94367bd161
Adds tabindex; remove search field type
2012-10-06 09:22:37 -05: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
Yury Delendik
ade5f96787
Add pilot find next/prev icons; localization
2012-10-05 19:15:06 -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
Yury Delendik
92770fdd84
Minor CSS fixed for find bar
2012-10-05 10:47:58 -05:00
Brendan Dahl
554231288d
Merge pull request #2196 from yurydelendik/ie9-console
...
Fixes console log methods for IE9
2012-10-04 15:57:43 -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
Yury Delendik
d1e017cc5e
Fixes console log methods for IE9
2012-10-04 13:41:41 -05:00
Brendan Dahl
1f85b8b4ed
Update the l10n for the html find bar.
2012-10-02 17:08:47 -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
c2629d9632
Update web/index.html.template
...
Refer localized pdf.js AMO add-on page
2012-10-02 07:26:20 -05:00
Yury Delendik
8cf766d177
Prevents key handling when the input/toolbar controls are focused
2012-10-01 16:32:02 -05:00
Brendan Dahl
dd0cb37f38
Add some door hanger styling for the find bar
2012-09-28 12:30:07 -07: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
Yury Delendik
332cb20fcc
Fixes function declaration for strict mode
2012-09-26 16:43:11 -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
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
Brendan Dahl
de343b0297
Merge pull request #2153 from yurydelendik/rename-fullscreen
...
Renames fullscreen to presentation mode
2012-09-24 14:15:38 -07:00
Brendan Dahl
aa59fd0d24
Merge pull request #2146 from yurydelendik/fix-gb-browser
...
Workaround for android gb browser bug
2012-09-24 09:13:55 -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
Yury Delendik
12a0faadad
Renames fullscreen to presentation mode
2012-09-21 09:35:18 -05:00
Yury Delendik
fc6b0e9bf2
Workaround for android gb browser bug
2012-09-20 10:24:51 -05: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
ee0c2e2ab7
Make the search button hidden again
2012-09-20 17:08:43 +02:00
Julian Viereck
d26969a85f
Remove some debugging informations
2012-09-20 17:08:43 +02:00
Julian Viereck
58ed7fc35c
Make the textLayer divs prevent whitespaces
2012-09-20 17:08:42 +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
Julian Viereck
53c66f8a54
Update web/index.html.template
...
Remove email address due to spam.
2012-09-14 09:49:04 -07:00
Yury Delendik
6c05dc23f9
Update web/index.html.template
2012-09-14 09:31:47 -07:00
Brendan Dahl
d9b8cb84f8
Update index template.
2012-09-14 09:25:00 -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
Michael Payne
d6d4fc8046
remove added inline.js file
...
Moved inline Javascript function to viewer.js rather than create a new
file
2012-09-06 08:32:19 -07:00
Michael Payne
7bc500af57
added copyright
2012-09-05 22:54:36 -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
Yury Delendik
a9026f0a6c
Changes thumbs and outline panels positioning to absolute
2012-09-05 10:31:23 -05: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
Yury Delendik
72bb0f5a45
Add top padding for full screen mode
2012-08-27 12:46:26 -05:00
Yury Delendik
1cbbb37fbc
Making webkit fullscreen work as for moz
2012-08-27 10:57:40 -05: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
Yury Delendik
68c298a409
Merge fix: don't open the file if passive mode is selected
2012-08-15 10:28:26 -05:00
Yury Delendik
9cc5fc4e38
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into loadingbychrome
...
Conflicts:
web/viewer.js
2012-08-15 10:17:30 -05:00
Yury Delendik
96c2f5c6ae
Simulate support of data URIs for IE10
2012-08-10 18:51:03 -05:00
Yury Delendik
e17d828b64
Merge pull request #1967 from brendandahl/deatched-dom
...
Cleanup references to dom elements.
2012-08-08 12:38:08 -07:00
Brendan Dahl
1d3aba25a9
Merge pull request #1962 from yurydelendik/ie10-1
...
Adds overrideMimeType for IE10 and discontinues readAsBinaryString use
2012-08-08 11:59:18 -07:00
Yury Delendik
5b583e596a
data.length optimization
2012-08-08 13:31:15 -05:00
gigaherz
eaffcfa920
Fix some typos in comments and variable names.
...
Fix some nits in debugger.js.
2012-08-08 20:26:24 +02:00
gigaherz
ea23a42124
Merge branch 'master' of git://github.com/mozilla/pdf.js into nits
...
Conflicts:
web/viewer.js
2012-08-08 18:45:51 +02:00
Brendan Dahl
2ca8c0d999
Cleanup references to dom elements.
2012-08-08 09:07:31 -07:00
Yury Delendik
70beb11a50
Merge pull request #1953 from brendandahl/b2g
...
Add B2G build and new preprocessor.
2012-08-08 08:37:26 -07:00
gigaherz
fdc6dc7ee4
Improved page tracking on scrolling [squashed]
2012-08-08 01:52:22 +02:00
gigaherz
d01071f426
Remove the commented out call to info()
2012-08-07 17:54:05 +02:00
gigaherz
a114d13308
Fix some minor issues/nits detected by JetBrains' WebStorm inspector.
2012-08-07 17:00:42 +02:00
Yury Delendik
b272cb7d1d
Using readAsArrayBuffer
2012-08-06 12:50:47 -05:00
Yury Delendik
c515bd2c52
Adds overrideMimeType for IE10
2012-08-06 11:47:34 -05:00
Brendan Dahl
0bf583412a
Add missing b2g snippet.
2012-08-02 09:09:07 -07:00
Brendan Dahl
11be208388
Move firefoxcom to its own file.
2012-08-01 15:31:25 -07:00
Yury Delendik
37db58e068
Merge pull request #1908 from brendandahl/fix-initial-scroll
...
Fix initial scroll direction detection.
2012-08-01 15:05:35 -07:00
Yury Delendik
10bd03c10f
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into loadingbychrome
2012-08-01 16:40:14 -05:00
Brendan Dahl
78e7d531b2
Merge pull request #1942 from gigaherz/opera-dropdown-background
...
Workaround Opera background style in <select> element.
2012-08-01 13:16:15 -07:00
Brendan Dahl
44a6afb282
Fix mozcentral build.
2012-08-01 12:16:28 -07:00
Yury Delendik
f69e0dca53
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into loadingbychrome
...
Conflicts:
web/viewer.js
2012-08-01 13:58:09 -05: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
Brendan Dahl
a341c66db6
Fix nit.
2012-07-31 13:58:25 -07:00
Yury Delendik
c905191de2
Implements loading PDF data by extension/chrome
2012-07-31 12:21:07 -05:00
gigaherz
d9ea503399
Workaround Opera not supporting 'transparent' background style in <select> element.
2012-07-31 10:48:52 +02:00
Saebekassebil
8544101970
Add fullscreen image, and fix last page artifact
2012-07-30 20:15:48 +02:00
Saebekassebil
dacdbaa978
Correct l10n and address yury's comments
2012-07-30 17:58:34 +02:00
Saebekassebil
7a147c0091
Revert mistakes in css
2012-07-30 17:52:29 +02:00
Saebekassebil
39d3ea862b
Initial support for Presentation Mode
2012-07-30 17:12:49 +02:00
Yury Delendik
af4bd10c70
Allow relative URLs in getDocument
2012-07-26 12:11:28 -05:00
Brendan Dahl
b3a603c199
Merge pull request #1840 from yurydelendik/loadpdf-1
...
Moves loading of the binary PDF data to the worker
2012-07-23 16:27:55 -07:00
Yury Delendik
a630aa4edd
Merge pull request #1839 from jviereck/textlayer_ctx_measure
...
Speedup textLayer creation
2012-07-19 15:12:49 -07:00
Yury Delendik
7a0e91af4b
removes expandUrl(url); fixes error message
2012-07-19 16:10:26 -05:00
Brendan Dahl
9ae859f594
Fix initial scroll direction detection.
2012-07-18 11:20:20 -07:00
Brendan Dahl
e0378530e2
Use PDFView.error to avoid issues with alert.
2012-07-12 11:58:06 -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
7e5a9b7a39
Adds support for the new mozPrintCallback api.
2012-07-09 10:41:52 -07:00
Yury Delendik
eb863b2298
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into loadpdf-1
...
Conflicts:
src/api.js
2012-06-28 05:26:16 -05:00
Yury Delendik
665ff0d36f
Merge pull request #1849 from kingsquare/master
...
Fix for web worker test in Safari
2012-06-28 03:05:04 -07:00
Tim de Koning
8292951d0c
- Feature detection for setProperty feature detection should not return value
...
- Minor comment update
2012-06-28 09:14:51 +02:00
Tim de Koning
a30199527e
We should use feature detection. Thanks @brendandahl
2012-06-28 09:10:18 +02:00
Yury Delendik
54db7489bd
Merge pull request #1831 from brendandahl/priority-rendering
...
Change to priority/pausible rendering.
2012-06-27 12:44:58 -07:00
Tim de Koning
44d0802700
We should use feature detection. Thanks @brendandahl
2012-06-27 18:30:43 +02:00
Tim de Koning
d70e6ab40c
Bug, seen by @yurydelendik, thanx!
2012-06-27 17:03:34 +02:00
Tim de Koning
17c1018eef
lint compliance
2012-06-27 11:14:14 +02:00
Tim de Koning
823db83b19
Fixed Safari / Iphone / Ipad support further
2012-06-27 11:05:17 +02:00
Brendan Dahl
f90a05f5f8
Merge pull request #1837 from yurydelendik/jbig2-1
...
JBIG2 implementation
2012-06-26 16:00:32 -07:00
Yury Delendik
00f1d6dbf1
Fetches pdf data in the worker
2012-06-23 14:48:33 -05:00
Julian Viereck
12b799cd02
Use a canvas to measure the width of the text layer div instead of using the slow offsetWidth property
2012-06-23 16:07:17 +02:00
Brendan Dahl
8b0fd2a8f9
Merge upstream.
2012-06-19 09:02:23 -07:00
Brendan Dahl
ed7a10a8d5
Remove unneeded scroll when we first load a page.
2012-06-18 14:12:00 -07:00
Yury Delendik
e09eb529d9
Adds basic symbol dictionary and text region.
2012-06-18 15:03:20 -05:00
Brendan Dahl
3c874c9bb7
Change to priority rendering.
2012-06-18 09:48:47 -07:00
Brendan Dahl
6a751a9acb
Merge pull request #1823 from msujaws/patch-1
...
PDF.js should use a consistent font for its user interface
2012-06-18 08:46:41 -07:00
Jared Wein
c3c01d10b3
message-box needs to use the font property, not the font-family property.
2012-06-13 10:47:46 -07:00
Jared Wein
cba8d992fc
Added |button| to the list of elements that message-box should be applied to.
2012-06-13 02:27:22 -07:00
Jared Wein
ced219c12f
Switch to using message-box for the body and form elements in the UI of PDF.js. This will use the system's native UI font for each platform as well as fix the current inconsistency between the font of the text label for total page count and the text inside of the input element for current page number.
2012-06-13 02:15:31 -07:00
Steffen Märcker
3b14930eec
added missing css vendor prefixes and reordered some properties according to cascade
2012-06-11 11:10:33 +02:00
Brendan Dahl
cebee4026d
UI update from shorlanders comments.
2012-06-07 13:51:29 -07:00
Saebekassebil
67703364fc
lint errors
2012-06-07 21:39:18 +02:00
Saebekassebil
2dacbb7a03
Dismiss native browser zoom, and use PDF.JS zoom instead
2012-06-07 21:27:26 +02:00
Brendan Dahl
87d9651eb7
Fix fallback after new download.
2012-06-04 17:33:27 -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
769bbf20e1
Merge pull request #1781 from brendandahl/app-pref
...
GH Portion of the Control pdf.js and Other PDF Plugins using Application Preferences bug
2012-06-01 16:46:48 -07:00
Brendan Dahl
6175e4b526
Use already downloaded data for the open with/save as dialog.
2012-06-01 14:17:09 -07:00
Yury Delendik
e2011a4244
Fixing search button; removing xx culture
2012-05-31 16:13:27 -05:00
Yury Delendik
5371dc671b
Missing parent
2012-05-31 16:01:54 -05:00
Yury Delendik
fd85882366
Addressing the bug 742099 review
2012-05-31 15:56:38 -05:00
Brendan Dahl
2a9efa8acc
TODO isn't defined in viewer, just directly call fallback.
2012-05-31 11:12:46 -07:00
Artur Adib
2a962f2c97
merging upstream
2012-05-29 12:16:57 -04:00
Artur Adib
9597efb3f4
merge upstream
2012-05-29 11:54:11 -04:00
Artur Adib
f991af003d
Merge pull request #1701 from brendandahl/fallback-ui
...
Fallback UI for Extension
2012-05-29 08:43:31 -07:00
Brendan Dahl
c0cfb48621
Prevent fallback when not ff extension.
2012-05-25 14:52:00 -07:00
Brendan Dahl
b1bf3ae56a
Trigger todo on forms.
2012-05-25 13:22:43 -07:00
Yury Delendik
dc09e164da
Merge remote-tracking branch 'mozilla/master' into print-visible
...
Conflicts:
web/viewer.css
2012-05-25 07:38:50 -05:00
Yury Delendik
91bc7f7950
remove svg image
2012-05-24 16:11:51 -05: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
Yury Delendik
902a2a9f03
Hide page label and zoom selector
2012-05-23 17:10:53 -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
a4f319104b
Don't print toolbar and not loaded pages
2012-05-21 13:08:42 -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
Yury Delendik
35171a8d31
Simplify small screen CSS logic
2012-05-21 10:59:43 -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
Artur Adib
58be8a02fb
Merge pull request #1706 from yurydelendik/fix-ie-7
...
Fixes classList and dataset for IE9; background for option element
2012-05-17 13:10:26 -07:00
Artur Adib
ba03501739
Merge pull request #1703 from yurydelendik/small-ui
...
Adds styles for small screens
2012-05-17 13:09:42 -07:00
Jakob Miland
176e534a26
Use substitute of isArrayBuffer
2012-05-17 21:00:29 +02:00
Yury Delendik
cd18c197ac
Fixes classList and dataset for IE9; background for option element
2012-05-16 20:31:43 -05:00
Jakob Miland
3ddf9b5dfd
Merge branch 'fixpassword', remote-tracking branch 'origin/master' into fixpassword
2012-05-16 21:03:09 +02:00
Artur Adib
0bac4abcb5
Merge branch 'master' of github.com:mozilla/pdf.js into textsearch
2012-05-16 12:51:19 -04:00
Yury Delendik
326b739bd1
Adds styles for small screens
2012-05-15 14:47:33 -05:00
Brendan Dahl
080c3e79fc
Merge upstream. Use new l10n.
2012-05-15 10:33:01 -07:00
Brendan Dahl
034583e1a1
Add new severity log info(). Change severity of some log messages. Trigger fallback on errors and warnings for extension.
2012-05-14 17:19:09 -07:00
Jakob Miland
0a30d3961b
Support password and add the relevant l10n strings
2012-05-14 20:45:07 +02:00
Yury Delendik
6323c8e084
Loading extension resources via stringbundle
2012-05-11 14:39:11 -05:00
Brendan Dahl
fca6f352e4
Add firefox ui fallback on error/unsupported feature.
2012-05-10 15:54:58 -07: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
792f508041
Accessibility labels for page previews
2012-05-08 14:40:08 -05: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
89156cec89
Fallback locale string for JS code; simplify locale embedding for the extension
2012-05-04 08:37:08 -05:00
Yury Delendik
006099a35e
Remove web/locale.properties
2012-05-02 15:04:04 -05:00
Adil Allawi
2c6026512d
Merge branch 'l10n' of https://github.com/mozilla/pdf.js into l10n
...
Conflicts:
web/locale.properties
2012-05-02 16:59:25 +01:00
Adil Allawi
8c1fd3334d
Update with corrected translations
2012-05-02 17:39:27 +02:00
Yury Delendik
d64c40ea4b
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into l10n
...
Conflicts:
web/viewer.js
2012-05-02 10:23:39 -05:00
Artur Adib
e0fe0ff0b2
add back missing annotation SVG files
2012-05-02 11:02:13 -04:00
Yury Delendik
6c04bed1ce
open_file and text_annotation_type localized strings
2012-05-02 09:56:10 -05:00
Artur Adib
ae3ca69a14
oops
2012-05-02 10:03:42 -04:00
Artur Adib
955c9f79a9
Removing unused SVG files
2012-05-02 10:03:07 -04:00
Yury Delendik
fcbc684578
Hide 'make locale' generated files
2012-05-02 08:53:56 -05:00
Yury Delendik
427a5f193d
Move localization to l10n folders; create 'make locale'
2012-05-02 08:51:52 -05:00
Yury Delendik
32e9eb35fe
Using web browsers locale in the extension mode
2012-05-01 20:37:03 -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
b8db3356c3
Fixes visibility of the moving sidebar
2012-05-01 13:31:23 -05:00
Adil Allawi
261f92ebd1
Added Arabic resources with a quick Google Translate to test if they work OK.
2012-05-01 19:23:22 +02:00
Yury Delendik
69a40ef8d8
Fixes tab order and focus highlight
2012-05-01 11:43:48 -05:00
Yury Delendik
bc094a84f4
Keeping l10n.js file reference; removing temp/unused files
2012-04-30 22:06:54 -05:00
Yury Delendik
00543a1c89
Embed locale.properties in the viewer.html for extension
2012-04-30 21:55:21 -05:00
Yury Delendik
72eb2d2e5b
Localize 'No outline' message
2012-04-30 18:47:10 -05:00
Yury Delendik
08daef9c72
Fix ru language
2012-04-30 18:38:10 -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
Yury Delendik
bd440ef564
Merge pull request #1537 from mozilla/new-ui
...
New UI - work in progress
2012-04-30 14:59:53 -07:00
Brendan Dahl
7b02cb3a30
Fix the bookmark button alignment.
2012-04-30 14:58:12 -07:00
Brendan Dahl
68321ae671
Add back the browse button for the web viewer.
2012-04-30 14:23:26 -07:00
Brendan Dahl
cf67d4567f
One more container fix.
2012-04-30 13:35:26 -07:00
Yury Delendik
9b8b3bd25f
Initial localization
2012-04-30 15:29:05 -05:00
Brendan Dahl
5e99384ece
Fix indentation.
2012-04-30 13:11:31 -07:00
Brendan Dahl
8f14282ab4
Fix container not defined error.
2012-04-30 13:05:32 -07:00
Brendan Dahl
251ea6c2df
Fix current page number not updating.
2012-04-30 10:56:49 -07:00
Brendan Dahl
ae63fdbe96
Merge branch 'new-ui' of github.com:mozilla/pdf.js into new-ui2
2012-04-27 12:40:27 -07:00
Brendan Dahl
8daddd1015
Fix remember scroll and get visible pages.
2012-04-27 12:39:59 -07:00
Artur Adib
2fa0c18b30
minor bookmak button adjustment
2012-04-27 11:00:54 -04: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
aed05b580b
Fix buttons after doctype addition.
2012-04-26 14:38:41 -07:00
Brendan Dahl
fe0d7d24bc
Update pdfbug style.
2012-04-26 12:35:52 -07:00
Brendan Dahl
cc353a4003
Add doctype.
2012-04-26 11:19:04 -07:00
Brendan Dahl
7eeeb17f0f
Reset the outline sidebar on each load.
2012-04-26 09:17:29 -07:00
Brendan Dahl
c593c092c9
Scroll thumbnails will full pages.
2012-04-25 18:39:30 -07:00
Brendan Dahl
27caa7741a
Fix the error box.
2012-04-25 17:20:13 -07:00
Brendan Dahl
71efba48bb
Add disabled style for buttons.
2012-04-25 16:48:01 -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
Artur Adib
0d248a05a1
Merge branch 'new-ui' of github.com:mozilla/pdf.js into new-ui
2012-04-25 17:33:06 -04:00
Artur Adib
f06ca00e1c
progress bar matches new UI
2012-04-25 17:32:26 -04:00
Brendan Dahl
29a2b60461
Add print button back.
2012-04-25 14:19:34 -07:00
Brendan Dahl
47badedeff
Fix sidebar capitalization.
2012-04-25 14:19:02 -07:00
Brendan Dahl
c4189b46f3
Move sidebar open class.
2012-04-25 13:46:17 -07:00
Brendan Dahl
e0aa43af37
Fix lint.
2012-04-25 12:15:53 -07:00
Brendan Dahl
0a29804357
Fix thumbnails/outline.
2012-04-25 12:14:09 -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
a423827e0f
nit
2012-04-25 14:21:10 -04:00
Artur Adib
ffe3dbfc8f
minor fixes
2012-04-25 14:10:53 -04:00
Artur Adib
31a757e301
"Page: 1 of 14"
2012-04-25 11:32:37 -04:00
Brendan Dahl
c55dade357
Clear out the stored text extraction on load.
2012-04-24 14:02:13 -07:00
Brendan Dahl
a57054ef9e
Reduce the search box width to avoid wrapping.
2012-04-24 12:38:07 -07:00
Brendan Dahl
92d0d1d694
Merge new API and text search.
2012-04-20 16:49:08 -07:00
Yury Delendik
6aacffaeb6
Merge pull request #1526 from jviereck/fix_keyboard
...
Fix keyboardbindings
2012-04-20 05:43:06 -07:00
Julian Viereck
ec5a1b2a1b
Fix lint issues
2012-04-20 09:33:50 +02:00
Brendan Dahl
11d7278c93
Give the thumbnail default width/height.
2012-04-18 17:02:32 -07:00
Artur Adib
17be523eeb
fixed thumbnails
2012-04-18 15:31:42 -04:00
Artur Adib
7e51d2b1f7
Merge branch 'master' into new-ui
...
Conflicts:
web/viewer.html
web/viewer.js
2012-04-18 15:02:49 -04:00
Brendan Dahl
cec7a92a99
Merge pull request #1568 from yurydelendik/issue-1557
...
Fixes annotations; adds text annotation icon
2012-04-18 10:51:13 -07:00
Yury Delendik
72fd078fa1
Fixes page-width mode
2012-04-17 15:53:17 -05:00
Yury Delendik
237e1d941d
Fix annotations; add text annotation icon
2012-04-17 15:33:15 -05:00
Artur Adib
d9db7af4c8
fixing Chrome quirks
2012-04-17 14:10:52 -04:00
Yury Delendik
f701a1427a
Remove operatorList cache from the backend
2012-04-16 15:23:24 -05:00
Artur Adib
195efa404d
removed all old elements; file input & dl work
2012-04-16 15:41:55 -04:00
Yury Delendik
1e96c73207
Fixing concurent draw page requests for de-allocation
2012-04-16 14:13:41 -05:00
Yury Delendik
f0f0418a9c
Merge pull request #1547 from merkste/opera-sidebar-button-issue
...
fix for opera DSK-354448: onclick fired on disabled nodes with opaque co...
2012-04-16 10:49:30 -07:00
Steffen Märcker
e624971e3f
lint issue fixed
2012-04-16 19:48:22 +02:00
Steffen Märcker
d3a88411ec
corrected comment
2012-04-16 19:23:54 +02:00
Steffen Märcker
548591fcf5
fix for opera DSK-354448: onclick fired on disabled nodes with opaque content
2012-04-16 19:17:49 +02:00
Brendan Dahl
04c8d1454d
Add Util functions to PDFJS.
2012-04-16 09:45:49 -07:00
Brendan Dahl
719133a15f
Update download image.
2012-04-13 14:17:18 -07:00
Brendan Dahl
a03d2100f5
Fix lint.
2012-04-13 14:16:45 -07:00
Brendan Dahl
a23eda3f4b
Merge remote-tracking branch 'upstream/new-ui' into new-ui
2012-04-13 14:15:15 -07:00
Brendan Dahl
cc43117039
Add selection ring around thumbnails.
2012-04-13 14:14:05 -07:00
Artur Adib
e1e41aa792
dropdown menu
2012-04-13 11:13:53 -07:00
Brendan Dahl
f679f0dfe8
Move open after everything is initialized.
2012-04-13 09:33:36 -07:00
Artur Adib
e954a6236f
loadingIcon
2012-04-13 08:17:35 -07:00
Artur Adib
d5f296e404
user-changes to pageNumber are working
2012-04-12 17:57:52 -07:00
Artur Adib
d94709c2f0
page number works (not editable yet)
2012-04-12 17:30:13 -07:00
Artur Adib
18211be401
disable user select in outline
2012-04-12 17:21:18 -07:00
Artur Adib
e92656712f
outline view
2012-04-12 17:19:57 -07:00
Artur Adib
a8bb575fd8
bug fix (works with intelisa)
2012-04-12 16:38:45 -07:00
Artur Adib
76fce75091
text selection OK, switch outline OK
2012-04-12 16:29:15 -07:00
Yury Delendik
dee158d80c
Fix title info for PDF document
2012-04-12 15:56:17 -07:00
Yury Delendik
eba8f5a22c
Fix finger print, remove unused code
2012-04-12 15:14:18 -07:00
Artur Adib
8363ca88ad
fixing sidebarView scroll bar overflow
2012-04-12 15:13:58 -07:00
Artur Adib
c8695cfa0a
sidebar toggle working
2012-04-12 15:08:07 -07:00
Yury Delendik
494fd1ccf9
Fixes make files, removes stats from backend, stepper
2012-04-12 14:02:47 -07:00
Brendan Dahl
7c35f10af8
Fix thumbnail view.
2012-04-12 13:04:03 -07:00
Julian Viereck
e8b18ef167
Really fix the keyboard handling
2012-04-12 08:21:19 -07:00
Julian Viereck
caa3c3fdc4
Fix keyboard mapping in viewer
2012-04-12 08:05:36 -07:00
Brendan Dahl
fd58f04117
Refactor API to be async.
2012-04-11 16:47:42 -07:00
Artur Adib
324ea1d743
first mockup, loads tracemonkey pages OK
2012-04-11 16:12:51 -07:00
Yury Delendik
d61c4f07f8
Initial view bug and rename viewport function
2012-04-11 10:18:29 -07:00
Yury Delendik
2f4423cffb
Fixing zoom and rotate issues
2012-04-11 09:42:41 -07:00
Yury Delendik
47c43b5779
Removing the rotatePoint, width, height from the API
2012-04-11 08:29:44 -07:00
Yury Delendik
737ed84174
Initial API implementation
2012-04-09 22:20:57 -07:00
Julian Viereck
12b27044aa
Fix bug such that search is updated one a new page arrives + make the search update happen only very 250ms
2012-04-08 16:31:29 -07:00
Julian Viereck
c9fb5637c3
Extract one page after the other and not all pages at once
2012-04-08 16:18:43 -07:00
Julian Viereck
3c77291013
Merge text search with current master
2012-04-08 08:57:55 -07:00
Saebekassebil
025ee3f9af
Use Title - Filename as document.title
2012-04-06 14:57:50 +02:00
Yury Delendik
08a241fc4b
Convert Unicode strings in the document info ( #1458 )
2012-04-05 10:40:37 -05:00
gigaherz
2283f0bac1
Decode the filename when assigning to title.
2012-03-31 01:23:53 +02:00
gigaherz
211c63f587
Merge branch 'master' of https://github.com/mozilla/pdf.js into title-mods
2012-03-31 00:48:06 +02:00
Brendan Dahl
0cf43886c5
Merge pull request #1377 from gigaherz/progressbar
...
Add a Progressbar to the loading indicator
2012-03-30 08:49:29 -07:00
Brendan Dahl
afebc33142
Merge pull request #1413 from saebekassebil/metadata
...
Metadata Parsing - Setting proper document title
2012-03-28 12:02:16 -07:00
Saebekassebil
10fb0dc383
Use strict and expose in build version
2012-03-28 20:07:37 +02:00
Saebekassebil
102469d20c
expose documentInfo in viewer
2012-03-28 19:29:05 +02:00
Saebekassebil
1181ef2778
Fix throwing errors
2012-03-28 19:15:59 +02:00
Saebekassebil
e6277784f1
fix to follow syntax style guidelines
2012-03-27 22:32:35 +02:00
notmasteryet
eda1fe74f4
Remove scrollTo on unload
2012-03-27 11:48:47 -05:00
gigaherz
3280a2bece
Unwrap getFileName from the object, avoid issues with / in query/anchor strings, simplify the code to calculate 'end'.
2012-03-27 09:27:54 +02:00
gigaherz
a094dd4746
Simplified the ProgressBar a bit: made the div fixed-size, removed the unnecessary '.remaining' div, used percent size for the '.progress' div.
2012-03-27 09:13:32 +02:00
Saebekassebil
2bb5a9e545
moving \!pdfTitle to front
2012-03-27 00:17:57 +02:00
Saebekassebil
edc1694620
Now also fetch 'Document Info Dictionary', and expose 'raw' metadata attributes
2012-03-26 23:48:04 +02:00
Saebekassebil
20dd225e40
Metadata parsing/serialization
2012-03-24 19:59:51 +01:00
gigaherz
ab46530ff8
Lint fixes.
2012-03-24 15:23:27 +01:00
gigaherz
080a80b716
Better filename cleanup
2012-03-23 21:13:04 +01:00
gigaherz
536519a9a1
Assign the filename to the page title instead of the full URL
2012-03-23 16:26:22 +01:00
gigaherz
ddf3d114d0
Wrong word.
2012-03-22 22:57:42 +01:00
gigaherz
114d2c9ebd
Simplified ProgressBar class. Visual tweaks.
2012-03-22 22:54:12 +01:00
gigaherz
ecaf467a13
One more cosmetic tweak and fix 'make lint' complaints.
2012-03-22 00:05:24 +01:00
gigaherz
ce8b0625b1
Cosmetic changes
2012-03-21 23:56:20 +01:00
gigaherz
d2f463bf7c
Add a progressbar to the loading indicator, below the text.
2012-03-21 23:36:10 +01:00
Brendan Dahl
abf8fe39ac
Only enable pdfDebug for the extension if a pref is set.
2012-03-14 15:34:12 -07:00
Brendan Dahl
b24d647db2
Remove unused span.
2012-03-12 14:15:09 -07:00
Brendan Dahl
41557d62c0
Merge branch 'master' of https://github.com/mozilla/pdf.js into stats
2012-03-12 13:23:33 -07:00
notmasteryet
02711c7610
Fixes unnecessary style attributes in svg
2012-03-07 19:12:05 -06:00
notmasteryet
b870cbad0f
Move custom style
2012-03-02 07:11:24 -06:00
Brendan Dahl
d0143cc289
Fix missing bidi for extension.
2012-02-23 09:21:35 -08:00
Artur Adib
676e575a52
Merge pull request #1218 from mozilla/bidi
...
bidi characters algorithm; separation of the toFontChar and toUnicode
2012-02-23 07:00:48 -08:00
Brendan Dahl
4b887fe1c2
Remove unused variable.
2012-02-21 13:39:04 -08:00
Brendan Dahl
3a824f69d4
Fix the stepper beyond page 1.
2012-02-21 13:37:22 -08:00
Brendan Dahl
e07505ff8d
Update stats to use the new pdfBug panel.
2012-02-21 09:52:09 -08:00
Brendan Dahl
de18d1623b
Merge branch 'master' of https://github.com/mozilla/pdf.js into stats
2012-02-20 19:37:18 -08:00
notmasteryet
28b4dac2d8
Merge remote-tracking branch 'mozilla/master' into bidi
...
Conflicts:
web/viewer.html
2012-02-20 12:41:19 -06:00
notmasteryet
a9226a594c
Fixes "invalid 'in' operand destKind"
2012-02-17 18:40:56 -06:00
Brendan Dahl
8d3c63ef07
Use obj instead of array.
2012-02-17 09:49:17 -08:00
Brendan Dahl
c7a90e0421
Fix parse query.
2012-02-17 09:43:50 -08:00
Brendan Dahl
5e818ce04f
Merge branch 'master' of https://github.com/mozilla/pdf.js into stats
2012-02-16 18:47:00 -08:00
Artur Adib
1b0bf24322
Merge pull request #1211 from brendandahl/debugger2
...
Debugging Tools
2012-02-16 11:14:05 -08:00
Brendan Dahl
0f4730c825
Address review comments.
2012-02-16 09:55:09 -08:00
Artur Adib
4147317ec2
Merge pull request #1225 from notmasteryet/pins
...
Vector pins
2012-02-16 08:38:31 -08:00
notmasteryet
c5c08888bf
Merge pull request #1223 from arturadib/issue-1186
...
Fixes #1186 - Race condition due to fast zooming
2012-02-15 19:13:20 -08:00
notmasteryet
3e6c7693a0
Vector pins
2012-02-15 20:11:08 -06:00
Brendan Dahl
5e04ad5e3a
Move special debug flags to the hash section of the url.
2012-02-15 16:03:04 -08:00
Brendan Dahl
f17a1679eb
Move debugger to the web folder.
2012-02-15 14:55:16 -08:00
Brendan Dahl
45e3db77f2
Fix the font inspector.
2012-02-15 14:38:18 -08:00
Brendan Dahl
c04ab5fe45
Change name of debugger to stepper.
2012-02-15 14:12:58 -08:00
Brendan Dahl
f54486d8c8
Change how the tools are enabled.
2012-02-15 13:13:07 -08:00
Brendan Dahl
0175f53637
Merge upstream.
2012-02-15 12:56:05 -08:00
Artur Adib
739cfb11ff
Closes #1186
2012-02-15 13:26:11 -05:00
Brendan Dahl
ba0267f5ee
Merge pull request #1207 from notmasteryet/tree-73
...
Fixes compatibity.js removal for gh-pages
2012-02-15 09:20:53 -08:00
notmasteryet
6c7e7df6da
linting
2012-02-14 23:06:16 -06:00
Brendan Dahl
9fe5eff905
Combining Yury's and my debugging tools.
2012-02-13 17:35:58 -08:00
notmasteryet
feaa8aaa59
Fixes compatibity.js removal for gh-pages
2012-02-13 18:29:48 -06:00
gigaherz
49a208829b
Make the pin icons glow a bit.
2012-02-13 18:13:53 +01:00
Adil Allawi
b50cf76ab5
Properly integrate new file bidi.js
2012-02-13 14:56:37 +00:00
Adil Allawi
6902ba51fa
Properly support custom CSS properties
...
Fix comment in bidi
2012-02-13 14:56:37 +00:00
gigaherz
349e0b9d47
Merge branch 'master' of git://github.com/mozilla/pdf.js into sidebar-pinning
2012-02-13 09:35:46 +01:00
Adil Allawi
2bc708305d
Fix up bidi algorithm, and set direction of div to match text direction
2012-02-13 02:10:41 +00:00
Adil Allawi
ffa0e082a4
Scale text divs instead of letterspacing
2012-02-12 22:31:30 +00:00
Adil Allawi
5e50825503
Merge commit '38a6cd6f9a4e3f9dc50487a3ca6b312933d9c77d' into bidi
2012-02-11 00:22:04 +00:00
gigaherz
7c3a756457
Forgot to lower a bit the outline view.
2012-02-10 20:35:42 +01:00
gigaherz
418c914199
(I hate myself right now) Reduce pointless differences from the original code.
2012-02-10 20:27:59 +01:00
gigaherz
4e51fa7a02
Whoops.
2012-02-10 20:25:36 +01:00
gigaherz
c24684b8e9
Got rid of the "released" class and made the pin icon depend on the sidebar state.
2012-02-10 20:21:55 +01:00
notmasteryet
cdf1db35fc
Using sans-serif instead of loaded fonts; fix IE9 dataset compatibility shim
2012-02-10 12:55:11 -06:00
Adil Allawi
2e1a88f39e
Handle bidi ordering of PDF strings
2012-02-10 17:05:09 +00:00
gigaherz
8a22a43cf3
No need to be paranoid, the code isn't going to contain both classes at once unless someone messes up, and then it's not my fault.
2012-02-10 17:34:38 +01:00
gigaherz
b9b489c99e
Changed class management to use the classList collection instead of regex.
...
Fixed a bug where it wouldn't react to the first click.
2012-02-10 17:22:06 +01:00
gigaherz
24b72f70bf
Merge branch 'master' of https://github.com/mozilla/pdf.js into sidebar-pinning
2012-02-09 17:34:26 +01:00
Brendan Dahl
66052f2dd2
Switch to textContent. Fix lint.
2012-02-08 16:38:43 -08:00
Brendan Dahl
a5d9ff8568
Merge upstream.
2012-02-08 16:31:30 -08:00
gigaherz
3b271f1f52
More style fixes.
2012-02-07 16:20:25 +01:00
gigaherz
bbd2bc37d6
Ran make lint
and fixed the issues it complained about.
2012-02-07 16:11:51 +01:00
gigaherz
6ba38daf56
Tiny issue with tabs/spaces in viewer.html
2012-02-07 09:30:47 +01:00
gigaherz
14eae7cb9f
Move code to the right place and give it a better style.
...
Highlight the background on hover.
2012-02-07 09:23:23 +01:00
Brendan Dahl
9a1741f466
Protect against a malicious setDatabase. Remove unneeded save data.
2012-02-06 21:04:53 -08:00
gigaherz
6bb14af71c
Made the code somewhat cuter. Still totally wrong in concept.
2012-02-05 13:37:50 +01:00
gigaherz
a617aff425
Quick & dirty sidebar pinning.
2012-02-04 21:13:12 +01:00
Brendan Dahl
c7c8f1cafa
Merge pull request #1120 from arturadib/localStorage-fix
...
Fixes localStorage feature detection
2012-02-03 11:22:50 -08:00
Brendan Dahl
b3fb41caa9
Merge pull request #1106 from arturadib/issue-1049
...
fontMatrix parsing fix, setFont() supports negative sizes
2012-02-03 11:10:58 -08:00
Jeff Wagner
e73e10c4d9
IE9 SVG images need viewport defined
2012-02-02 12:33:28 -08:00
Brendan Dahl
6e0891d1f4
Merge pull request #1150 from arturadib/loading-icon
...
Show animated loading icon until page loads
2012-02-01 12:24:31 -08:00
Artur Adib
2f1252af36
CSS fix
2012-02-01 15:19:01 -05:00
Artur Adib
6aa02d286e
Merge branch 'refs/heads/master' into localStorage-fix
...
Conflicts:
web/viewer.js
2012-02-01 12:08:40 -05:00
Brendan Dahl
b381c960d9
Merge branch 'master' of https://github.com/mozilla/pdf.js into amowarnings
2012-01-31 17:53:54 -08:00
Artur Adib
8950d0bca9
Remove instead of hide icon
2012-01-31 16:53:54 -05:00
Artur Adib
5ef79dca14
New version: show loading icon until page renders
2012-01-31 16:49:48 -05:00
Artur Adib
47f24cd27b
Show animated loading icon if page renders slow
2012-01-31 16:20:09 -05:00
Artur Adib
7873ec966b
Merge branch 'refs/heads/master' into issue-1049
...
Conflicts:
src/canvas.js
2012-01-31 13:20:05 -05:00
Artur Adib
30a01c5da6
addressing reviewer comments, bug fix
2012-01-30 09:24:49 -05:00
Brendan Dahl
337806deed
Fix url for thumbnail. (still not working 100)
2012-01-27 10:53:37 -08:00
notmasteryet
2b2e4b19ab
Fixing initial scale when named destination is specified
2012-01-25 21:52:10 -06:00
notmasteryet
d2ec98b31e
Merge pull request #1103 from jviereck/tree-02
...
Replace some setScale by parseScale calls to update `currentScaleValue` value
2012-01-25 19:08:56 -08:00
Brendan Dahl
0d839c1c59
Fix how we're storing settings and change how the save pdf works.
2012-01-25 17:40:08 -08:00
Brendan Dahl
858aab008f
Fix the download button.
2012-01-24 21:33:03 -08:00
Brendan Dahl
dd8c39d8e1
Fix the bookmark button and redo the anchor prefix.
2012-01-24 15:46:53 -08:00
Brendan Dahl
f3b2a03de6
Hide the browse bar for the ff extension.
2012-01-24 15:13:50 -08:00
Brendan Dahl
23bf35d5ef
Fix anchor links.
2012-01-24 14:55:07 -08:00
Jeff Wagner
08f8aed521
define console for IE9; updated to fix lint errors and comment
2012-01-24 14:19:41 -08:00
Jeff Wagner
19622406da
define console for IE9 when debugging tools is not opened
2012-01-24 12:19:52 -08:00
Artur Adib
843830cea0
Workaround for FF bug
2012-01-24 10:39:57 -05:00
Artur Adib
5c62f99fee
Fix localStorage feature detection. Close #1099
2012-01-24 10:08:18 -05:00
Brendan Dahl
178b89342a
Switch to stream converter for extension.
2012-01-23 16:50:45 -08:00
notmasteryet
1ac24dbc01
Merge remote-tracking branch 'mozilla/master' into textsearch-1
...
Conflicts:
src/core.js
src/fonts.js
2012-01-22 13:56:56 -06:00
Brendan Dahl
edc632e469
Fix innerHtml warnings. Remove compatibility.js from the extension.
2012-01-20 14:48:57 -08:00
Brendan Dahl
f74772f40e
Merge pull request #1068 from notmasteryet/jpx6
...
JPX decoder
2012-01-20 11:32:02 -08:00
Artur Adib
38d28ecb2e
Improved error handling/message
2012-01-19 16:02:27 -05:00
Julian Viereck
ada3f33375
Replace some setScale by parseScale calls to update value
2012-01-19 19:25:29 +01:00
Artur Adib
ba4f0e66aa
reviewer comments
2012-01-19 09:11:48 -05:00
Artur Adib
1c7f1b9881
Fix previous commit
2012-01-18 12:07:25 -05:00
Artur Adib
5f4d462144
Ensure single chars are added to the layer
2012-01-18 11:41:13 -05:00
Artur Adib
499a9b0146
Fix for "Error parsing value of 'letter-spacing'"
2012-01-12 10:15:45 -05:00
Artur Adib
504d9f12c1
Using addEventListener/removeEventListener
2012-01-12 09:16:03 -05:00
notmasteryet
93ca387d1b
Migration of the JPX code (from jpx5)
2012-01-11 20:08:46 -06:00
Brendan Dahl
bd6d89e1a8
Start of the benchmark recording framework.
2012-01-11 16:48:51 -08:00
Artur Adib
fcdf266d8e
Lazy textLayer rendering - pauses after scroll ev
2012-01-11 16:57:57 -05:00
Artur Adib
5b3f5a30ab
Merge pull request #1035 from notmasteryet/tree-54
...
Fixes thumbnail's drawingRequired
2012-01-06 10:16:18 -08:00
Artur Adib
a4f257f940
nit
2012-01-06 08:27:23 -05:00
notmasteryet
80a1919cfc
Fix thumbnail's drawingRequired
2012-01-05 18:39:48 -06:00
Artur Adib
ef137dd6a7
Support for textLayerBuilder
2012-01-05 10:42:05 -05:00
Artur Adib
4f65198eaa
Merge branch 'master' into disable-textlayer-opt
2012-01-05 10:19:15 -05:00
Artur Adib
5760d1e0f1
Merge pull request #958 from jviereck/viewer_improvements
...
Render the next not yet visible page in the background
2012-01-05 06:14:04 -08:00
notmasteryet
fbb9acc8cf
Merge pull request #1028 from brendandahl/easiererrorcv
...
Easier copy/paste error message.
2012-01-04 16:52:52 -08:00
Jeff Wagner
567dd330e1
Fix subarray error for IE9
2012-01-04 15:10:25 -08:00
Brendan Dahl
5bd4d1987a
Easier copy/paste error message.
2012-01-04 14:48:59 -08:00
Julian Viereck
5830474ef7
Add preDraw() functionality to render the next page in the background
2012-01-04 23:11:59 +01:00
Artur Adib
9732ad688d
Merge branch 'master' into disable-textlayer-opt
2012-01-04 15:54:52 -05:00
Brendan Dahl
dba1a7dc6f
Merge pull request #982 from merkste/opera-css-issues
...
support for Opera's linear gradients and transitions
2012-01-04 12:52:40 -08:00
Artur Adib
07deee5750
Merge pull request #954 from notmasteryet/textlayout-ui
...
Move text layer UI to viewer.js...
2012-01-04 12:52:03 -08:00
Artur Adib
c8192698fc
disableTextLayer option
2012-01-04 11:20:19 -05:00
Julian Viereck
496e598813
Reset scale value on opening new file
2012-01-04 09:24:09 +01:00
notmasteryet
219a60175c
Fix blank unopened document regression
2012-01-03 19:11:25 -06:00
notmasteryet
edb0ae4eb8
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textlayout-ui
...
Conflicts:
src/canvas.js
2012-01-03 18:42:13 -06:00
Julian Viereck
bf26c1a18c
Merge pull request #957 from jviereck/viewer_default_width
...
Change default width to page-width
2012-01-03 14:02:34 -08:00
Julian Viereck
9157597175
Fix lint error
2012-01-03 22:48:32 +01:00
Julian Viereck
2f563dbd2b
Treat zoom
such that it can be a string value as well.
2012-01-02 20:42:51 +01:00
Julian Viereck
b4a42930d6
Add selectScaleOption function back, that seems to got lost during rebaseing
2012-01-02 20:09:38 +01:00
Julian Viereck
c82b2faa0e
Remove brakets
2012-01-02 20:02:21 +01:00
Julian Viereck
db627c4082
Ignore new scale value if it's the same as before
2012-01-02 20:02:20 +01:00
Julian Viereck
997e094bdc
Add new 'Auto' option for the viewer.
2012-01-02 20:02:20 +01:00
notmasteryet
7b479c352c
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1
...
Conflicts:
web/viewer.js
2011-12-30 20:04:08 -06:00
notmasteryet
877e0f4159
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textlayout-ui
...
Conflicts:
web/viewer.js
2011-12-30 19:22:59 -06:00
notmasteryet
e6b0d768fe
Improving typed arrays compatibility support
2011-12-30 15:32:53 -06:00
Brendan Dahl
9fd41e11da
Merge pull request #990 from notmasteryet/concurload
...
Fixes concurrent pages loading (#974 and #626 )
2011-12-30 09:40:12 -08:00
notmasteryet
1074c75f32
remove unused field
2011-12-29 18:01:47 -06:00
notmasteryet
c25f837766
Fixes concurrent pages loading ( #974 and #626 )
2011-12-28 19:18:55 -06:00
Steffen Märcker
440a47e593
fixed viewer.css to support Opera's linear gradients and transitions
2011-12-27 11:49:11 +01:00
Saebekassebil
ae7f2e9fcc
Respect private browsing in extension
2011-12-26 21:14:10 +01:00
Saebekassebil
4358ebc18b
Too rash yet again. Bracket and style nits
2011-12-26 16:14:06 +01:00
Saebekassebil
83cb12be7f
Set page number instead of window.scrollTo, and remove Cookie reference
2011-12-26 16:07:56 +01:00
Saebekassebil
e147485262
Refactoring Settings manager, now with limit on memory usage
2011-12-26 15:07:24 +01:00
Saebekassebil
4c064eb94a
Missed function name...
2011-12-26 00:48:10 +01:00
Saebekassebil
4ea5b9f771
Remember hash position correctly
2011-12-26 00:42:46 +01:00
Saebekassebil
959b419082
Fixes shortcuts steals from browser - Issue #979
2011-12-25 22:18:52 +01:00
Saebekassebil
c7375745ae
Too rash. Fixes gjslint errors
2011-12-23 23:56:01 +01:00
Saebekassebil
ac8f0e2c87
Address yury's comments, and remove unnecessary hash settings
2011-12-23 23:36:37 +01:00
Saebekassebil
0de0e92bc4
Added #getFingerprint method to PDFDocModel
2011-12-22 23:44:42 +01:00
Saebekassebil
d44f9f2074
Implemented Settings manager. Now remembering scroll positions
2011-12-22 22:29:01 +01:00
Saebekassebil
33e8d988c4
Image directory as a constant, adding myself to LICENSE file
2011-12-22 14:44:08 +01:00
Saebekassebil
12e2dcd775
Addressing notmasteryet's comments
2011-12-22 11:29:27 +01:00
Saebekassebil
c714c782cc
Lint nits
2011-12-21 23:37:52 +01:00
Saebekassebil
4a661e1735
Implemented Comment and Check annotation. Correcting some typos in last commit
2011-12-21 23:22:07 +01:00
Artur Adib
ca7d44c646
Merge pull request #749 from notmasteryet/forms-1
...
Simple AcroForms support
2011-12-21 06:16:30 -08:00
notmasteryet
5affc0d794
Disable keyboard shortcuts if current control is INPUT element
2011-12-20 20:04:42 -06:00
notmasteryet
8288b17edc
move inputHint to examples
2011-12-19 20:04:16 -06:00
notmasteryet
6011b5b4db
Moving forms UI into examples
2011-12-19 20:00:50 -06:00
notmasteryet
b8672d7efb
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1
2011-12-19 18:06:31 -06:00
notmasteryet
3bde084ffd
add "find" images; function name fix
2011-12-19 18:05:32 -06:00
Chris Peterson
8adb92a709
Fix typo: s/handle/handled/
2011-12-18 20:58:14 -08:00
Chris Peterson
396daddefe
Add keyboard shortcuts to navigate pages with 'n' and 'p' keys (Next/Previous)
2011-12-18 20:42:18 -08:00
Chris Peterson
4008ec69b8
Add keyboard shortcuts to navigate pages with 'j' and 'k' keys like vi
2011-12-18 20:40:44 -08:00
Chris Peterson
aebb9946f8
Add keyboard shortcuts to navigate pages with left and right arrow keys
...
This is the behavior of Adobe Reader.app and Apple's Preview.app.
2011-12-18 20:39:41 -08:00
Julian Viereck
3a86e047e0
Prevent default actions when zooming. Otherwise the browser performs a zoom of the entire page
2011-12-18 20:42:06 +01:00
notmasteryet
0f6291c7b9
Move text layer UI to viewer.js; fixes adding div with single char; replaces innerHTML to textContent
2011-12-18 12:53:30 -06:00
notmasteryet
d6e4607fd0
Add compatibility for HTMLElement's dataset ( #945 )
2011-12-15 20:44:55 -06:00
notmasteryet
b010f293a2
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into forms-1
2011-12-15 15:35:44 -06:00
notmasteryet
04551dbf57
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1
...
Conflicts:
src/core.js
2011-12-14 19:37:21 -06:00
notmasteryet
ddf9c43116
Fixing setting of auto-zoom value in bookmarks ( #938 )
2011-12-14 18:44:35 -06:00
notmasteryet
fb2d165a48
Simple search results
2011-12-11 19:38:20 -06:00
notmasteryet
3b72c6063c
Text char codes extraction
2011-12-10 17:24:54 -06:00
Artur Adib
8c728a884e
Merge branch 'refs/heads/master' into disableworker-in-url
...
Conflicts:
web/viewer.js
2011-12-09 15:38:08 -05:00
Artur Adib
8439830d4e
disableWorker via URL
2011-12-09 13:17:48 -05:00
notmasteryet
efd82ab5bd
Merge pull request #854 from arturadib/thumb-smooth
...
Smarter thumbnail scrolling
2011-12-08 16:55:46 -08:00
Artur Adib
2040c35001
Moved event binding to 'load' event
2011-12-07 08:52:13 -05:00
Artur Adib
7d8240f15c
Addressing comments, linting
2011-12-06 16:52:29 -05:00
notmasteryet
dbf869f195
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into forms-1
...
Conflicts:
web/viewer.css
2011-12-05 17:01:45 -06:00
Brendan Dahl
685a263e54
Merge pull request #855 from notmasteryet/isname
...
replace isName in the viewer.js
2011-12-02 17:20:17 -08:00
Brendan Dahl
e0c231eec7
Merge upstream and change to error parameter for callback.
2011-12-02 10:19:43 -08:00
Brendan Dahl
7d57f5d2eb
Address Yury's comment 2.
2011-12-02 08:58:40 -08:00
Brendan Dahl
b958fd41d8
Merge pull request #738 from arturadib/text-select
...
Text selection
2011-12-01 12:29:13 -08:00
Brendan Dahl
3ae06c96ad
Address Yury's comments.
2011-12-01 09:11:33 -08:00
notmasteryet
c06697732f
Avoiding pageRefMap is not defined in the getDestinationHash()
2011-11-30 19:04:45 -06:00
notmasteryet
66eda9b36b
replace isName in the viewer.js
2011-11-30 18:54:04 -06:00
Artur Adib
8dc467709d
bug fix
2011-11-30 16:14:22 -05:00
Artur Adib
5aad7cb7b5
Merge branch 'master' of git://github.com/mozilla/pdf.js into thumb-smooth
...
Conflicts:
web/viewer.js
2011-11-30 15:58:44 -05:00
Artur Adib
4369a1a84a
make it work in WebKit
2011-11-30 15:20:14 -05:00
Artur Adib
a523d80753
bringing Cache() back
2011-11-30 15:10:27 -05:00
Artur Adib
e316d78755
Smoother thumbnail scrolling via lazy rendering
2011-11-30 14:19:07 -05:00
Artur Adib
6a747c4353
Created inactive window bugzilla bug
2011-11-29 14:54:32 -05:00