Kalervo Kujala
f239d01bde
Name constructors in obj.js.
2011-12-07 00:18:40 +02:00
Kalervo Kujala
477683e514
Use constants for paint type and pattern size.
2011-12-06 22:07:35 +02:00
Artur Adib
9eae90a1ba
Merge pull request #885 from notmasteryet/issue-884
...
(#884 ) Use unicode mapping cmap when simple identity cmap was originally used
2011-12-06 11:59:07 -08:00
Artur Adib
bf755f459e
Merge pull request #870 from notmasteryet/issue-867
...
(#867 ) Set Type3 font encoding; enable text selection testing
2011-12-06 10:12:56 -08: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
b8a5d6b8a7
Use unicode mapping cmap when simple identity cmap was originally used
2011-12-05 20:42:39 -06: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
Artur Adib
3c601f012b
Merge pull request #864 from notmasteryet/issue-799
...
Suppress invisible text (#799 )
2011-12-05 12:55:49 -08:00
Brendan Dahl
3b112edd91
Merge pull request #857 from jviereck/hotcmds
...
Only check execution time on some commands
2011-12-05 10:43:03 -08: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
d5f4fd05c6
Merge pull request #871 from kkujala/constants
...
Use constants for radial and axial types.
2011-12-05 09:24:06 -08:00
Julian Viereck
ab08d90680
Merge pull request #868 from kkujala/refactor
...
Fix few early returns in parser.js.
2011-12-05 09:23:32 -08:00
Artur Adib
e44521eae3
Merge pull request #862 from notmasteryet/issue-828
...
Fallback to object indexing when reading of xref fails (#828 )
2011-12-05 09:06:53 -08:00
Julian Viereck
97802aac64
Inline JpegImageLoader to remove new JpegImageLoader call
2011-12-05 17:59:03 +01:00
Kalervo Kujala
cca0306789
Use object-enumeration for pattern type.
2011-12-05 00:38:45 +02:00
fixplz
5fd3647c57
Style fixes
2011-12-05 00:00:22 +02:00
Kalervo Kujala
7116ce0b53
Use constants for radial and axial types.
2011-12-04 22:22:39 +02:00
notmasteryet
3ea81bf0a6
( #867 ) Set Type3 font encoding; enable text selection testing
2011-12-04 13:51:12 -06:00
Kalervo Kujala
d2303493fe
Fix few early returns in parser.js.
2011-12-04 21:22:08 +02:00
notmasteryet
2719e8eadc
add stroke and other text rendering modes
2011-12-02 22:30:31 -06:00
fixplz
7fa9b5827a
Avoid skipping over tag in startxref search
2011-12-03 01:55:59 +02:00
notmasteryet
00d1204705
Suppress invisible text ( #799 )
2011-12-02 16:52:31 -06:00
fixplz
b1ed459443
Scan for startxref more than 1024 chars from end #828
2011-12-03 00:33:00 +02:00
notmasteryet
01a96fdddf
Fixing lint errors; extra empty lines
2011-12-02 15:35:18 -06:00
notmasteryet
0f7f80ee6e
If readXRefStream or readXRefTable fails, fallback to object indexing ( #828 )
2011-12-02 15:31:29 -06:00
Brendan Dahl
e0c231eec7
Merge upstream and change to error parameter for callback.
2011-12-02 10:19:43 -08:00
notmasteryet
bb6e5c6e00
( #840 ) fix font stretching and overlapping characters encoding
2011-12-01 20:56:26 -06:00
Artur Adib
705356fa41
Addressing comments by @vingtetun
2011-12-01 14:11:17 -05: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
Julian Viereck
594e5daa7c
Only check execution time on some commands
2011-12-01 00:02:30 +01:00
notmasteryet
0414c0711f
Fixing base encoding presence detection; character width scale
2011-11-29 22:06:00 -06:00
Brendan Dahl
e5d91ab219
Fix invalid arguments error.
2011-11-29 14:50:19 -08:00
Artur Adib
e2e2240a22
Lint lint lint
2011-11-29 16:02:12 -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
Artur Adib
a544bed57e
Merge branch 'master' of git://github.com/mozilla/pdf.js into text-select
...
Conflicts:
src/canvas.js
2011-11-29 14:17:05 -05:00
Julian Viereck
01d2929401
Add feature detection for using Uint8Array as imageData
2011-11-29 19:31:47 +01:00
Artur Adib
fcc05b08bf
Merge pull request #838 from notmasteryet/to-unicode-1
...
Making cmap equal to ToUnicode tables
2011-11-29 10:28:50 -08:00
notmasteryet
683a8f0de8
Remove indexOf, using reverse map instead
2011-11-28 21:54:07 -06:00
Brendan Dahl
eaac818946
Merge and fix upstream conflict.
2011-11-28 17:49:12 -08:00
notmasteryet
88310a09c2
Removing refreshToUnicode
2011-11-28 19:49:02 -06:00
notmasteryet
e4e864766d
Fix CIDFontType2 large cmap tables
2011-11-28 19:47:37 -06: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
Artur Adib
a1853185b1
Comments
2011-11-28 09:25:25 -05:00
notmasteryet
2e70984f38
Merge pull request #829 from jviereck/canvas_currentTransform
...
Implement ctx.mozCurrentTransform and ctx.mozCurrentTransformInverse shim
2011-11-28 05:09:42 -08:00
notmasteryet
08e3fd88ad
Removing adaptUnicode; making cmap equal to ToUnicode tables
2011-11-27 20:43:23 -06:00
Julian Viereck
8991cfad83
Check after each executed command if execution took too long already
2011-11-27 20:54:25 +01:00
Julian Viereck
36e618c373
Address Yury's review comments + remove call to addCtxCurrentTransform in pattern.js as the contet is added during the CanvasGraphics constructor already
2011-11-27 09:22:21 +01:00
Julian Viereck
a30f0ff848
Implement ctx.mozCurrentTransform and ctx.mozCurrentTransformInverse shim
2011-11-27 09:22:20 +01:00
notmasteryet
709dc1a0c9
Initial ToUnicode modifications
2011-11-24 09:38:09 -06: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
notmasteryet
2829e8016a
Merge pull request #794 from brendandahl/devicen
...
DeviceN Colorspace and Multidimensional Sampling Function Support
2011-11-22 09:42:53 -08:00
Brendan Dahl
b64b7d55b1
Use the updated jpgjs with faster transform.
2011-11-22 09:32:20 -08:00
Brendan Dahl
0e0527be81
Address Yury's comment.
2011-11-21 17:23:54 -08:00
Artur Adib
dc33b24fae
Merge branch 'refs/heads/master' into text-select
2011-11-21 11:45:10 -05:00
Artur Adib
385b6df2b4
Linting
2011-11-18 13:54:27 -05:00
Artur Adib
5e0d704b12
Macro for generating version information
2011-11-17 15:45:33 -05:00
Brendan Dahl
d2964f3e94
Update documentation.
2011-11-16 15:12:42 -08:00
notmasteryet
7a2301dc95
Inline setXXXRGBColor calls
2011-11-15 20:16:22 -06:00
notmasteryet
ef58ccd284
Issue #644 : bypassing identity cmap translation loading; resetting color space when stroke/fill color set
2011-11-15 18:23:45 -06:00
Artur Adib
b1ae23772f
No suppressWarnings in Yury's encoding patch
2011-11-14 15:32:52 -05:00
Artur Adib
5c261b46cc
Merge branch 'refs/heads/master' into text-select
...
Conflicts:
src/fonts.js
2011-11-14 15:21:18 -05:00
Artur Adib
a182431ac5
Fixing lint
2011-11-14 13:59:11 -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
60744a8a61
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into encoding-2
...
Conflicts:
src/evaluator.js
src/fonts.js
2011-11-12 11:09:19 -06:00
Brendan Dahl
543e3377de
Adding multi dimensional interpolation and test file.
2011-11-11 14:44:47 -08:00
Julian Viereck
aee1ccf394
Merge pull request #789 from kkujala/master
...
Fix jslint warnings in pattern.js.
2011-11-11 00:30:22 -08:00
Brendan Dahl
74004b23bb
Add comments, fix default color.
2011-11-10 14:23:58 -08:00
Brendan Dahl
c198ec4323
Makes new alternate colorspace which handles separation and device.
2011-11-10 14:06:42 -08:00
Kalervo Kujala
2988b33dcc
Fix jslint warnings in pattern.js.
...
Also refactor few small issues.
2011-11-10 21:09:05 +02:00
Julian Viereck
99254891e6
Disable work on firefox using feature detection
2011-11-10 18:38:22 +01:00
Brendan Dahl
a12419c084
Initial devicen colorspace support.
2011-11-10 08:41:36 -08:00
Brendan Dahl
b872a08f4f
Data is now created by jpg.js since we don't know the size.
2011-11-09 09:50:40 -08:00
Brendan Dahl
073af78307
Handle device gray and pass in the color transform option.
2011-11-09 09:29:33 -08:00
Artur Adib
8c182cb724
Default font fallback is same as setFont()'s
2011-11-08 17:27:02 -05:00
Brendan Dahl
493805d952
Remove the alternative way to do CMYK check. Checking the colorspace seems sufficient.
2011-11-08 14:00:39 -08:00
Brendan Dahl
8d52a1e92a
Add another way to detect cmyk images.
2011-11-08 13:53:56 -08:00
Artur Adib
686f275830
Fix font and spaces
2011-11-08 16:05:11 -05:00
Artur Adib
9ebec03ddc
Implemented selection for showText()
2011-11-08 15:27:03 -05:00
Brendan Dahl
1869888838
Comment on the new flag.
2011-11-08 08:50:01 -08: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
89a6c4fc88
Fix jslint warnings and refactor small issues.
2011-11-06 22:17:20 +02:00
Kalervo Kujala
b321768f59
Remove unused parameters and fix jslint warnings.
2011-11-06 22:16:35 +02: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
notmasteryet
79f8c94624
Merge pull request #769 from kkujala/master
...
Refactor colorspace.js and fix jslint warnings.
2011-11-05 18:30:11 -07:00
notmasteryet
ac6d4ddb54
Merge pull request #758 from digitarald/fix-worker-bind
...
Removed unnecessary .bind in worker_loader.js that broke Safari
2011-11-05 17:19:41 -07:00
Kalervo Kujala
cac9044161
Refactor colorspace.js and fix jslint warnings.
2011-11-05 22:13:16 +02:00
Artur Adib
feb621380d
Disabling workers until localhost fix lands in FF
2011-11-05 14:42:50 -04:00
Harald Kirschner
d22885a97c
- FIX: Removed unnecessary .bind in worker_loader.js that broke Safari
2011-11-04 13:23:42 -07: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
Brendan Dahl
43dbc3a84d
Merge pull request #711 from jviereck/worker_feature
...
Feature detection
2011-11-02 15:16:31 -07:00
Julian Viereck
50fe4f55e2
Fix lint warning + turn off worker support
2011-11-02 23:00:08 +01:00
Artur Adib
7d38d7f062
Missing var
2011-11-02 17:34:24 -04:00
Artur Adib
ddf77cda6b
Using ii convention
2011-11-02 15:21:45 -04:00
Artur Adib
2c3991f8b0
More progress, workers working
2011-11-02 15:11:33 -04:00
Artur Adib
249385b4bb
Progress
2011-11-02 15:08:19 -04:00
Artur Adib
c8c5b4f8ea
First iteration, tracemonkey/ecma262 working
2011-11-02 14:43:27 -04:00
Artur Adib
9ddc40c3d7
Nit
2011-11-02 12:22:39 -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
Ionuț G. Stan
090b4d6647
Fix same origin policy issue when adding @font-face rules
...
If the first stylesheet in the document is located on an external domain, then
trying to access the `cssRules` property of that `CSSStyleSheet` object will
result in a Security error being thrown in Firefox. In Safari, `cssRules` will
be null, which causes a null pointer exception in the `styleSheet.cssRules.length`
expression.
2011-11-02 13:06:26 +02: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
Brendan Dahl
3592baf39c
Merge upstream
2011-10-31 08:51:45 -07:00
notmasteryet
5d347b0ddb
removing differences from the cmap
2011-10-30 23:32:06 -05:00
Artur Adib
03c779a2e5
Merge pull request #733 from kkujala/dev
...
Name anonymous functions
2011-10-30 10:56:11 -07:00
Kalervo Kujala
a7690dea0a
Name anonymous functions in canvas.js.
2011-10-30 13:46:15 +02:00
Kalervo Kujala
8f3448e9a8
Name anonymous functions in colorspace.js.
2011-10-30 13:44:10 +02:00
Kalervo Kujala
11098d66dc
Name anonymous functions in image.js.
2011-10-30 13:07:38 +02:00
Kalervo Kujala
ce3f9ae3e8
Name anonymous functions in core.js.
2011-10-30 12:41:55 +02:00
notmasteryet
aaad824f77
Fixing duplicates in cmap
2011-10-29 21:55:43 -05:00
Andreas Gal
eed0773259
Merge pull request #722 from kkujala/master
...
Name a few anonymous functions.
2011-10-29 14:03:16 -07:00
Andreas Gal
ea7e9aab9c
Merge pull request #725 from kkujala/dev
...
Name anonymous functions in obj.js.
2011-10-29 14:03:00 -07:00
notmasteryet
a1d2c1c6d3
Fix Type1 width; TrueType special characters
2011-10-29 14:19:13 -05:00
Kalervo Kujala
dc15019248
Name anonymous funtions in function.js.
2011-10-29 20:59:49 +03:00
Kalervo Kujala
b9748a91f1
Name anonymous functions in obj.js.
2011-10-29 20:31:56 +03:00
Kalervo Kujala
8a5516c96c
Rename Shanding related functions with better name names.
2011-10-29 17:57:31 +03:00
notmasteryet
343e174951
Change cmap encoding for Type 1
2011-10-29 09:29:19 -05:00
notmasteryet
38372ee2f2
TrueType encoding for files without font data
2011-10-29 08:45:29 -05:00
Kalervo Kujala
7e762169cf
Name a few anonymous functions.
...
Also rename some functions.
2011-10-29 13:20:48 +03:00
notmasteryet
7f038536fb
Migration of the 'encoding-1' branch (ref #674 )
2011-10-28 20:38:31 -05:00
Ionuț G. Stan
d167552766
Merge branch 'master' of https://github.com/andreasgal/pdf.js
2011-10-29 01:43:03 +03:00
Ionuț G. Stan
56789aea47
Fix lint errors
...
Single quotes instead of double quotes
2011-10-29 01:26:55 +03:00
Artur Adib
e7d08e3a98
Selection working
2011-10-28 17:37:55 -04:00
Brendan Dahl
5cb64fbab7
Initial alpha transparency support.
2011-10-28 14:10:10 -07:00
Kalervo Kujala
068e77bdec
Name anonymous functions in worker.js.
2011-10-28 21:23:30 +03: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
Ionuț G. Stan
b7573709c2
Merge branch 'master' of https://github.com/andreasgal/pdf.js
...
Conflicts:
pdf.js
2011-10-28 14:34:56 +03: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
41caf5018d
Merge branch 'refs/heads/master' into filesplit
...
Conflicts:
pdf.js
2011-10-26 15:10:58 -04:00
Artur Adib
1d4e3025b6
PDF --> PDFJS, global wrapper named
2011-10-26 14:46:57 -04:00
Artur Adib
df7baea6d2
Lint
2011-10-25 22:51:08 -04:00
Artur Adib
e71b6188c6
'use strict' everywhere
2011-10-25 18:18:22 -07:00
Artur Adib
0aae9ef880
nit
2011-10-25 17:38:28 -07:00
Artur Adib
0075007d49
Production scripts
2011-10-25 17:22:45 -07:00
Artur Adib
81a55651ed
Missed new file
2011-10-25 15:44:00 -07:00
Artur Adib
2e0af76865
Viewer working with dev version
2011-10-25 15:43:41 -07:00
Artur Adib
85750aa7f3
minor
2011-10-25 10:44:15 -07:00
Artur Adib
3a8aad0f36
Linting
2011-10-25 10:43:28 -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