Commit Graph

196 Commits

Author SHA1 Message Date
Julian Viereck
52aba8648e Add displayReadyPromise to the Page object to not request the IRQueue all the time and simplify some stuff 2012-01-02 20:02:20 +01:00
notmasteryet
739f111ce1 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1 2012-01-01 13:13:16 -06:00
Brendan Dahl
78f7354dc7 Merge pull request #1009 from notmasteryet/issue-1001
Fix stitching function; media box fix
2011-12-30 18:25:19 -08: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
6672420f8d Fixing CropBox 2011-12-30 18:52:15 -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
Steffen Märcker
d769535bee fixed the remaining style error 2011-12-28 19:57:12 +01:00
Steffen Märcker
b506bc7f44 fixed lint errors 2011-12-28 17:32:54 +01:00
Steffen Märcker
9fcd303519 fixed typo 2011-12-28 15:23:39 +01:00
Steffen Märcker
c2b42b1cfc Small refactoring of fallback code to fake worker. 2011-12-28 15:21:32 +01:00
Steffen Märcker
fdcc4ca590 Added fallback to fake worker if serialization of typed array fails.
This happens e.g. in Opera 11.60.
2011-12-28 09:10:06 +01:00
Saebekassebil
e147485262 Refactoring Settings manager, now with limit on memory usage 2011-12-26 15:07:24 +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
Artur Adib
b2791c60a6 Fixed worker_loader for examples/; simplified 2011-12-22 09:40:00 -05: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
notmasteryet
3bde084ffd add "find" images; function name fix 2011-12-19 18:05:32 -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
c85ec052b1 Unicode normalization; lint warnings 2011-12-14 21:42:06 -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
Brendan Dahl
d1f4e7c7d5 Change to passing promises. 2011-12-14 14:02:00 -08:00
Brendan Dahl
94a48cab82 Address Julian's comments. 2011-12-12 15:09:05 -08:00
Brendan Dahl
948de2bdbe Remove some unintended changes. 2011-12-12 09:53:31 -08:00
Brendan Dahl
176452c988 Style nits. 2011-12-12 09:26:24 -08:00
Brendan Dahl
0d370fd206 Remove debugging. 2011-12-12 09:17:40 -08:00
Brendan Dahl
4c01766278 Merge upstream. 2011-12-11 21:13:53 -08:00
notmasteryet
4d44eb6184 fix stream reset, interrupting thread when pages are indexed 2011-12-11 18:14:52 -06:00
notmasteryet
3b72c6063c Text char codes extraction 2011-12-10 17:24:54 -06:00
Artur Adib
d29e39d754 Merge pull request #898 from kkujala/style
Name constructors in obj.js.
2011-12-09 08:02:06 -08:00
Brendan Dahl
7d1cddf371 Add ability to fast track natively supported jpegs. 2011-12-08 21:18:04 -08:00
notmasteryet
54c31968e7 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into issue-863 2011-12-08 19:20:33 -06:00
Brendan Dahl
d1c823efce Cleaned up how messages are passed and replies work. 2011-12-08 14:51:26 -08:00
Kalervo Kujala
cd01302de8 Merge remote-tracking branch 'upstream/master' into style
Conflicts:
	src/image.js
	src/pattern.js
2011-12-09 00:28:31 +02:00
Kalervo Kujala
1ef4c94de2 Name all constructors. 2011-12-09 00:18:43 +02:00
Brendan Dahl
146cd8c861 Second stage, smasks now working. Still needs optimization. 2011-12-08 12:50:34 -08:00
Brendan Dahl
2a632d4ab2 First stage of trying to support smasks on native jpegs. 2011-12-07 15:36:27 -08:00
notmasteryet
cb592d6e51 Merge pull request #776 from jviereck/jpegimage_cleanup
Don't create JpegImage object anymore - go functional style
2011-12-07 11:11:11 -08:00
Julian Viereck
af8e2a1189 Address review comments by yury 2011-12-07 19:07:00 +01:00
Artur Adib
7edefbbe41 Merge pull request #846 from jviereck/feature_img_data
Add feature detection for using Uint8Array as imageData
2011-12-06 07:17:23 -08:00
notmasteryet
aaa672d5ff Fixing opening from the file system 2011-12-05 17:48:21 -06: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
Julian Viereck
cf7d4503d6 Address review comments: Introduce new CanvasGraphics.putBinaryImageData and make sure feature detection work always 2011-12-05 18:27:09 +01:00
Julian Viereck
97802aac64 Inline JpegImageLoader to remove new JpegImageLoader call 2011-12-05 17:59:03 +01:00
fixplz
5fd3647c57 Style fixes 2011-12-05 00:00:22 +02:00
fixplz
7fa9b5827a Avoid skipping over tag in startxref search 2011-12-03 01:55:59 +02:00
fixplz
b1ed459443 Scan for startxref more than 1024 chars from end #828 2011-12-03 00:33:00 +02:00
Brendan Dahl
e0c231eec7 Merge upstream and change to error parameter for callback. 2011-12-02 10:19:43 -08:00
Brendan Dahl
3ae06c96ad Address Yury's comments. 2011-12-01 09:11:33 -08:00
Artur Adib
5e1d78ef20 Merge branch 'master' of git://github.com/mozilla/pdf.js into text-select
Conflicts:
	src/canvas.js
2011-12-01 10:42:07 -05:00
Brendan Dahl
e5d91ab219 Fix invalid arguments error. 2011-11-29 14:50:19 -08: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
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
de17cb32cd Merge branch 'master' of git://github.com/mozilla/pdf.js.git into forms-1 2011-11-22 19:26:37 -06:00
Brendan Dahl
faa202df1e Merge upstream and change test pdf file. 2011-11-22 10:39:26 -08: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
1d8a40b372 Fixing inheritable forms input control properties 2011-11-12 15:39:23 -06: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
notmasteryet
37b4ceb098 fix lint error 2011-11-12 11:10:49 -06:00
Julian Viereck
99254891e6 Disable work on firefox using feature detection 2011-11-10 18:38:22 +01: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
Kalervo Kujala
7f0e35c50d Remove unused variables. 2011-11-06 22:15:41 +02:00
notmasteryet
cd3ab6059d Merge pull request #748 from arturadib/for-cache
For-loop cache
2011-11-05 20:24:46 -07:00
Artur Adib
feb621380d Disabling workers until localhost fix lands in FF 2011-11-05 14:42:50 -04:00
Brendan Dahl
0f0ba74660 Merge pull request #715 from jviereck/worker_f2
Worker feature detection
2011-11-04 11:33:30 -07:00
Kalervo Kujala
33af12abd0 Fix jslint warnings. 2011-11-03 23:26:58 +02:00
Julian Viereck
d9d2ab4c8e Rename processorHandler to messageHandler 2011-11-03 15:30:53 +01:00
Julian Viereck
80b759b093 Fix style nit from brendandahl 2011-11-03 13:44:41 +01:00
Julian Viereck
493c25dcaa Remove useWorker variable and turn worker support whenever this is possible. 2011-11-03 13:43:58 +01:00
notmasteryet
b5ba29be13 lint error fix 2011-11-02 22:20:53 -05: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
Julian Viereck
50fe4f55e2 Fix lint warning + turn off worker support 2011-11-02 23:00:08 +01:00
Artur Adib
ddf77cda6b Using ii convention 2011-11-02 15:21:45 -04:00
Artur Adib
c8c5b4f8ea First iteration, tracemonkey/ecma262 working 2011-11-02 14:43:27 -04: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
Artur Adib
c74d7b8777 Workers off! 2011-10-31 16:49:49 -04:00
Artur Adib
98f3bab65c Lazy rendering 2011-10-31 16:49:18 -04:00
Kalervo Kujala
ce3f9ae3e8 Name anonymous functions in core.js. 2011-10-30 12:41:55 +02:00
Artur Adib
e7d08e3a98 Selection working 2011-10-28 17:37:55 -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
Kalervo Kujala
7e6a589074 Fix js strict warning in worker.js.
Also fix a few minor nits.
2011-10-27 21:51:10 +03:00
Artur Adib
1d4e3025b6 PDF --> PDFJS, global wrapper named 2011-10-26 14:46:57 -04:00
Artur Adib
e71b6188c6 'use strict' everywhere 2011-10-25 18:18:22 -07: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