Commit Graph

4157 Commits

Author SHA1 Message Date
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
Andreas Gal
1eac1e24c8 Merge pull request #578 from notmasteryet/hash1
Making all link bookmark-able (ref #574, #428); removing always-changing
2011-10-01 16:42:24 -07:00
notmasteryet
612f59aa10 Limiting scale 25..400 (ref #582); disable scale keyboard when toolbar is active (ref #579); set page number field as 'number' 2011-10-01 15:52:27 -05:00
notmasteryet
62f9ab0063 lint warning fix 2011-10-01 14:03:04 -05:00
notmasteryet
381efa8a50 Making all link bookmark-able (ref #574, #428); removing always-changing hash 2011-10-01 13:54:37 -05:00
notmasteryet
078433fecd Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into cid0
Conflicts:
	pdf.js
2011-09-28 20:55:06 -05:00
notmasteryet
66cd79f308 Initial CID0 font encodings 2011-09-28 19:54:40 -05:00
Vivien Nicolas
132ee01bc0 Merge with upstream 2011-09-28 13:21:07 +02:00
Vivien Nicolas
556727f2f5 Firefox extension now use the default loading indicator 2011-09-28 12:53:53 +02:00
Kalervo Kujala
de408dac70 Fix lint warnings.
And name anonymous functions.
2011-09-27 21:43:48 +03:00
Artur Adib
83854a085c Implemented getPdf(). Closes #516
Conflicts:

	examples/helloworld/hello.js
2011-09-27 13:30:47 -04:00
Kalervo Kujala
2094c29169 Use data directly in PDFDoc.
And create the Stream inside the PDFDoc constructor for a cleaner interface.
Also encapsulate unnecessary details from the user.
2011-09-26 20:58:18 +03:00
notmasteryet
7fd6283d6f Fixing hyperlinks (regr. #509) 2011-09-22 18:29:43 -05:00
Andreas Gal
8c7934e59d Merge pull request #509 from vingtetun/master
Support CropBox (see PDFReference page 145)
2011-09-22 16:03:41 -07:00
Vivien Nicolas
c93ffd645f Merge remote branch 'upstream/master' into metrics 2011-09-22 01:24:39 +02:00
Vivien Nicolas
bfd5487e81 Merge remote branch 'upstream/master' 2011-09-22 00:45:12 +02:00
Vivien Nicolas
d8905b524d Fix a lint error 2011-09-22 00:44:51 +02:00
Vivien Nicolas
b7796f123a Support CropBox attribute 2011-09-22 00:32:36 +02:00
notmasteryet
7dc887ace3 Fixing lint errors introduced by #505 2011-09-21 17:28:48 -05:00
Muhammad Fikri
14bbd82ce5 fix indentation again 2011-09-21 21:05:40 +07:00
Muhammad Fikri
34b6416017 fix indentations and style nits 2011-09-21 19:25:29 +07:00
Muhammad Fikri
f08aafa72a add loading status 2011-09-21 11:49:09 +07:00
Vivien Nicolas
06a3b49e49 Merge with upstream 2011-09-20 03:42:34 +02:00
Julian Viereck
00290b9ff4 Rename some stuff and add missing font_handler.js 2011-09-16 09:31:12 -07:00
notmasteryet
f57972d925 Merge branch '07254bb0a5' 2011-09-15 22:16:09 -05:00
Kalervo Kujala
07254bb0a5 Fix small lint warnings. 2011-09-15 23:32:44 +03:00
Julian Viereck
6dcf9f42a5 Make font processing happen in a worker 2011-09-15 13:17:09 -07:00
Vivien Nicolas
a217e7a121 Merge remote branch 'upstream/master' into metrics 2011-09-15 20:07:38 +02:00
Artur Adib
1a79f3fb43 Changed exec flags of non-exec files (chmod -x) 2011-09-15 09:41:52 -07:00
Julian Viereck
ac4a57e858 Refactor to execute IR on main thead by posting messages to itself 2011-09-15 08:20:43 -07:00
Julian Viereck
aa8699a334 Don't display cmds used on the page by default + turn on worker support for now again 2011-09-15 08:20:43 -07:00
Julian Viereck
2fcc93c751 Make xObjForm use raw format 2011-09-15 08:20:43 -07:00
Julian Viereck
71ff8ee586 backup 2011-09-15 08:18:57 -07:00
Julian Viereck
0a571899c8 Very basic worker implementation 2011-09-15 08:14:34 -07:00
Kalervo Kujala
8e5a8fb49f Fix Mode comment lines. 2011-09-12 20:37:33 +03:00
Vivien Nicolas
95ca8ede85 Add support for Type1C advanced charsets 2011-09-11 17:38:02 +02:00
Vivien Nicolas
7fa63e68dd Merge with upstream 2011-09-10 20:12:57 +02:00
Vivien Nicolas
d4fb9c786c Use the built-in widths to calculate glyphs metrics 2011-09-09 01:35:37 +02:00
Kalervo Kujala
d9e01b1d7a Fix gjslint warnings. 2011-09-08 22:37:35 +03:00
notmasteryet
9eac2e1c95 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into zoom-bookmark
Conflicts:
	web/viewer.js
2011-09-05 15:54:54 -05:00
notmasteryet
865a6e663a Fixing #426 comment; add '0' key as a scale reset 2011-09-05 09:07:18 -05:00
notmasteryet
d30fac0438 Exact positioning of the bookmark 2011-09-04 19:46:06 -05:00
notmasteryet
9f765f052e Tango icons, simplifying the CSS 2011-09-03 09:10:24 -05:00
notmasteryet
8dfaf760f1 Zoom In/Out buttons 2011-09-02 20:36:17 -05:00
notmasteryet
a56f36e350 Zooming control 2011-09-02 20:16:52 -05:00
Andreas Gal
ca17f3e75b Merge pull request #409 from vingtetun/master
Allow bypassing the sanitizer for Type1C font with encoding supplement
2011-08-31 08:39:00 -07:00
notmasteryet
a8df1c5dc9 Scale images proportionally 2011-08-31 07:22:48 -05:00
Vivien Nicolas
763bd7059a Fix a warning when the destination link point to nothing 2011-08-31 14:17:57 +02:00
Vivien Nicolas
76f6398e47 Fix some strict warnings 2011-08-31 00:37:39 +02:00
vingtetun
cd6d2b15d7 Merge pull request #403 from notmasteryet/bookmarks3
an-open-web document outline and bookmarks
2011-08-29 19:23:19 -07:00
notmasteryet
cf487615cf Fixing back-button/NaN-hash issue 2011-08-29 21:11:46 -05:00
notmasteryet
5326f262e0 an-open-web document outline and bookmarks 2011-08-29 20:59:38 -05:00
notmasteryet
64b08e3d82 using .src 2011-08-28 15:26:42 -05:00
notmasteryet
e4205ca66b rename to bound 2011-08-28 15:15:16 -05:00
notmasteryet
5773511d16 Fixing font loading hack for IE9.. and some styles 2011-08-28 15:10:14 -05:00
notmasteryet
930e88941c Not-printing sidebar, toolbar, shadows and pages that were not loaded (#384) 2011-08-27 17:10:15 -05:00
notmasteryet
f630b8c519 Properly handle non-existent link destinations 2011-08-26 22:58:03 -05:00
notmasteryet
0e14a2fb28 Using native HTML hyperlinks for bookmark/link navigation 2011-08-25 18:28:50 -05:00
Kalervo Kujala
092235a56f Fix lint errors. 2011-08-25 20:20:19 +03:00
sbarman
488a007f73 Merge pull request #352 from notmasteryet/outline
Switching to the document outline view
2011-08-23 15:00:52 -07:00
vingtetun
937e92041c Merge pull request #363 from mohansun/patch-3
Fix for few html tag errors (as reported by Safari 5.0.5)
2011-08-23 14:41:23 -07:00
mohansun
1babe72c38 Fix for few html tag errors (as reported by Safari 5.0.6) 2011-08-23 22:00:12 -03:00
mohansun
35cc5f9965 fix for the issue:https://github.com/andreasgal/pdf.js/issues/360 2011-08-23 21:46:11 -03:00
Vivien Nicolas
62e7d2f608 Merge remote branch 'upstream/master'
Conflicts:
	web/viewer.js
2011-08-23 16:40:49 +02:00
notmasteryet
d664652b86 Lifting up this.xref; buttons tooltips 2011-08-22 18:55:49 -05:00
Kalervo Kujala
8ffbf683b8 Add more debug data to error-logs.
Fix also a few gjslint errors.
2011-08-22 22:30:22 +03:00
notmasteryet
3aa6e38f01 Switching to the document outline view if the document structure is present 2011-08-21 21:05:10 -05:00
notmasteryet
3e0c0de985 Fixing bookmarks for PDF32000 2011-08-20 09:51:44 -05:00
notmasteryet
3b940c4bcd 'GoTo' action/links; document outline (no UI) 2011-08-19 22:41:56 -05:00
notmasteryet
1e8090c19d brace fix 2011-08-18 23:12:10 -05:00
notmasteryet
c2eaa55cd9 Move scale out of pdf.js 2011-08-18 22:48:07 -05:00
notmasteryet
5c7ecbfa28 Basic annotation link support 2011-08-17 20:21:54 -05:00
notmasteryet
180747dbdc Optimize usage of the memory in the LZWStream; linting 2011-08-14 15:16:24 -05:00
Kalervo Kujala
eebb47c072 Refactor the line that is longer than 80 characters in web/viewer.js. 2011-08-09 23:42:50 +03:00
Kalervo Kujala
f656e841ac Correct the coding style according to gjslint.
And remove stray tabs.
2011-08-08 23:13:32 +03:00
Brendan Dahl
4377eed920 Adding support for page rotation 2011-08-06 14:41:18 -07:00
Christian Mehlis
1cca102517 fix url to demo site
the name of the created file is viewer.html
2011-08-06 11:45:33 +02:00
Vivien Nicolas
bf86d1bec8 Use Tango Public Domain icons and add some small tweaks to viewer.js 2011-07-29 18:17:04 +02:00
Vivien Nicolas
26bf2735fd Add a cache system to limit the amount of ram used 2011-07-29 13:26:43 +02:00
Vivien Nicolas
e28e0669f9 Add buttons images 2011-07-28 19:57:53 +02:00
Vivien Nicolas
0edb6546a5 Unify the multi_page_viewer and the basic viewer 2011-07-28 19:48:05 +02:00
Vivien Nicolas
fad6e36a80 Missed a small change 2011-07-26 17:26:02 +02:00
Vivien Nicolas
6f2d3238cd Add code to nulti page viewer to works with the extension 2011-07-26 17:21:37 +02:00
Vivien Nicolas
f1a8a98757 Make viewer.js compatible with the content type handler addon 2011-07-26 16:11:09 +02:00
Chris Jones
452ba3d85b #123, part 2: move more PDF-page rendering stuff into pdf.js 2011-07-10 23:21:13 -07:00
notmasteryet
f541c4cd37 Removing const and extending shadow() arguments 2011-07-10 13:48:05 -05:00
Justin D'Arcangelo
29fac5b352 Refactored toolbar buttons to use CSS with an icon image instead of just images. 2011-07-10 04:46:12 -04:00
Rob Sayre
699c91b0aa Fix up late patches to pdf.js and web/compatibility.js. 2011-07-05 23:55:40 -07:00
Rob Sayre
ebeff10a9a Merge upstream. 2011-07-05 23:23:12 -07:00
Rob Sayre
f5a3587dde Almost passing gjslint. 2011-07-05 23:06:45 -07:00
Devon Govett
b4461eeb26 Fix test page in non FileAPI supporting browsers 2011-07-06 00:59:22 -04:00
notmasteryet
e5762f3ec8 Function.prototype.bind emulation; enable compatibility.js for multi_page_viewer 2011-07-05 21:32:15 -05:00
notmasteryet
2179cd0943 Move compatibility.js into web folder, enable it for viewer.html 2011-07-05 18:17:08 -05:00
notmasteryet
c35743f1cd Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into hacks 2011-07-05 18:02:31 -05:00
Rob Sayre
4530384769 Add a make server target, fix paths to scripts. 2011-07-05 13:51:02 -07:00
Rob Sayre
7f5c7a3130 Add Makefile. Move some files around to make building the website easier. 2011-07-05 10:53:57 -07:00