Commit Graph

245 Commits

Author SHA1 Message Date
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
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
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
ddf9c43116 Fixing setting of auto-zoom value in bookmarks (#938) 2011-12-14 18:44:35 -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
Brendan Dahl
cddb106358 Fix lints. 2011-11-29 11:32:01 -08:00
Brendan Dahl
b40af3555b Display error messages on more problems. 2011-11-29 11:28:05 -08:00
Brendan Dahl
6dd706c0c3 Make the error a little smaller. 2011-11-29 09:36:50 -08:00
Brendan Dahl
eaac818946 Merge and fix upstream conflict. 2011-11-28 17:49:12 -08:00
Brendan Dahl
d6925b13ba Adding new errorback and code to display error messages. 2011-11-28 16:55:09 -08:00
Artur Adib
4cfc552163 Merge branch 'master' of git://github.com/mozilla/pdf.js into text-select
Conflicts:
	src/canvas.js
	web/viewer.js
2011-11-28 10:02:07 -05:00
notmasteryet
8685915542 Re-using the pages as thumbnails 2011-11-24 12:53:11 -06:00
Artur Adib
5c261b46cc Merge branch 'refs/heads/master' into text-select
Conflicts:
	src/fonts.js
2011-11-14 15:21:18 -05:00
notmasteryet
1c18d054d5 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into forms-1 2011-11-12 15:20:31 -06:00
Brendan Dahl
a0e1d0652c Merge remote-tracking branch 'upstream/master' into cmykjpgnorm 2011-11-09 09:50:57 -08:00
Artur Adib
f2d54d3207 Replacing URL flag format 2011-11-08 20:02:28 -05:00
Brendan Dahl
9bb2b881b0 Adds cmyk jpg support. Treats the cmyk jpg as a regular stream. 2011-11-08 08:48:10 -08:00
Artur Adib
46a48a56b7 Merge branch 'refs/heads/master' into text-select
Conflicts:
	src/core.js
2011-11-08 08:56:52 -05:00
Brendan Dahl
09722d7d3c Merge pull request #740 from acornejo/master
(firefox extension) Slimmed down toolbar height, from 40 to 24px.
2011-11-03 09:10:18 -07:00
notmasteryet
3d36a05d7f Text alignment inside input controls 2011-11-02 22:00:33 -05:00
notmasteryet
f3ee85efab Simple AcroForms support 2011-11-02 20:46:39 -05:00
Artur Adib
49a303f2f2 Merge branch 'refs/heads/master' into text-select
Conflicts:
	src/core.js
2011-11-02 11:23:42 -04:00
Julian Viereck
51d4a17232 Change workerSrc location 2011-11-01 22:23:16 +01:00
Julian Viereck
94b8c4656b Merge with master 2011-11-01 19:56:34 +01:00
Julian Viereck
3b7829d057 Address review comments. Use only one PDFJS.workerSrc variable to specify the worker source 2011-11-01 19:32:20 +01:00
Brendan Dahl
a2748cd84c Merge pull request #741 from arturadib/mozilla-repo
Search-replace URLs from andreasgal --> mozilla
2011-11-01 09:15:36 -07:00
Artur Adib
1f80b0b266 Replace andreasgal/pdf.js --> mozilla/pdf.js 2011-11-01 08:46:39 -04:00
Alex Cornejo
46c0f6c23e Slimmed down toolbar height, from 40 to 24px.
This matches the height of the regular Firefox toolbars, 40px takes too
much screenspace, and (in my opinion) unecessarily so, since the fonts
are not even larger.
2011-10-31 18:23:03 -04:00
Artur Adib
98f3bab65c Lazy rendering 2011-10-31 16:49:18 -04:00
notmasteryet
0912959503 Fixing 'compatibility.js' load order; add Object.keys emulation 2011-10-29 16:00:13 -05:00
Artur Adib
e7d08e3a98 Selection working 2011-10-28 17:37:55 -04:00
Artur Adib
6c5d2ac88b progress 2011-10-28 12:16:17 -04:00
Julian Viereck
1e6d1f9922 Make worker support work again after file split. Add PDFJS_WORKER_DIR/PDFJS_WORKER_FILE to specify where to load files if worker support is enabled 2011-10-28 14:32:36 +02:00
Artur Adib
1d4e3025b6 PDF --> PDFJS, global wrapper named 2011-10-26 14:46:57 -04:00
Artur Adib
0075007d49 Production scripts 2011-10-25 17:22:45 -07:00
Artur Adib
2e0af76865 Viewer working with dev version 2011-10-25 15:43:41 -07:00
Artur Adib
21753b9e89 Only one worker file, bundled in pdf.js 2011-10-25 10:16:20 -07:00
Artur Adib
8fbb05613e Progress 2011-10-25 09:10:56 -07:00
Artur Adib
889de3fc4d make pdfjs 2011-10-24 18:13:12 -07:00
Artur Adib
a7278b7fbc Splitting files 2011-10-24 16:55:23 -07:00
=
29ed0be26b Merge upstream/master. 2011-10-20 16:56:30 -07:00
=
2ad1e622ab Move remaining worker.js code into pdf.js. 2011-10-20 12:13:18 -07:00
Vivien Nicolas
b0bf99098b Make firstrun looks faster 2011-10-19 22:14:34 +02:00
=
65ea07a3a2 Initial merge of master. 2011-10-19 11:14:13 -07:00
=
c9508100ff Initial merge with master 2011-10-19 11:09:17 -07:00
Vivien Nicolas
f3dc4206ee Make the 'download' button behavior more robust 2011-10-19 06:29:14 +02:00
Vivien Nicolas
6d2c5414bf Add a download button in case the extension is not enough 2011-10-19 03:20:50 +02:00
notmasteryet
401732336d Merge pull request #679 from vingtetun/extension_2
Fix reload based on the discovery of #666
2011-10-18 18:11:48 -07:00
Vivien Nicolas
010b59cc54 Use 'hidden' instead of display: none 2011-10-18 23:39:26 +02:00
Vivien Nicolas
20efacb3a1 Use 'hidden' instead of display: none 2011-10-18 21:40:59 +02:00
vingtetun
fefe4247c0 Merge pull request #665 from notmasteryet/viewlink
Adds "bookmark" icon and fixes scale/ current page number issues
2011-10-18 12:34:08 -07:00
Vivien Nicolas
931192fb79 Remove useless code since the extension is loaded into a privileged chrome:// scope 2011-10-18 01:28:57 +02:00
Vivien Nicolas
f1444d6175 Fix wrongs ids 2011-10-18 00:18:12 +02:00
Vivien Nicolas
e83c77148d add oncontextmenu='return false;' to buttons 2011-10-17 21:04:54 +02:00
Vivien Nicolas
674d6a7d18 Fix warnings in strict mode 2011-10-17 20:39:29 +02:00
notmasteryet
b54be346b5 Add "bookmark" icon; and fixing scale/ current page number issues 2011-10-14 21:05:57 -05:00
Julian Viereck
15d1d359b3 Fix lint, remove for old worker code, fix some small stuff 2011-10-11 22:09:17 +02:00
Julian Viereck
268d16ac11 Remove no longer needed viewer_worker.html 2011-10-11 22:09:17 +02:00
Julian Viereck
9b8ce24924 Kill global vars FontsMap, FontLoadedCounter, objIdCounter. 2011-10-11 22:09:16 +02:00
notmasteryet
15cbb5a86a Fixing disappearing pages (when multiple are visible) 2011-10-11 22:07:55 +02:00
notmasteryet
08f3fc45e0 Fixing disappearing pages (when multiple are visible) 2011-10-08 21:06:14 -05:00
Julian Viereck
23e413520b Small fixes + docs 2011-10-08 17:08:17 +02:00
Julian Viereck
3054102d3b Merge worker_pull with master 2011-10-08 14:18:23 +02:00
Julian Viereck
d7521f758a Merge font and processor working into one worker and fix some bugs in font-loading-data-ready code 2011-10-05 22:24:38 +02:00
Kalervo Kujala
06cdba3526 Name anonymous functions. 2011-10-04 22:21:40 +03:00
vingtetun
7842c65099 Merge pull request #556 from notmasteryet/cid0
Initial CID-0 font encodings
2011-10-03 17:36:51 -07:00