Ionuț G. Stan
009d6a8863
Log error stacktrace only when available
...
Safari does not provide a `stack` property on Error instances.
2011-10-28 14:27:41 +03:00
Ionuț G. Stan
0c321466dc
Set DeviceGray as initial value for color space
...
See the PDF reference, section 4.3 Graphics State, table 4.2, third row.
> The current color space in which color values are to be interpreted
> (see Section 4.5, “Color Spaces”). There are two separate color space
> parameters: one for stroking and one for all other painting opera-
> tions. Initial value: DeviceGray.
The problem before was that certain PDFs didn't explicitly set the
color space, so a call to `setFillColor` or `setStrokeColor` were failing
when the `getRgb` method was call, as the color space was null.
See source code of CanvasGraphics.prototype.setFillColor/setStrokeColor.
2011-10-27 05:45:10 +03:00
Ionuț G. Stan
56b9a3543d
Close path in closeFillStroke
and closeEOFillStroke
...
See Chapter 4, page 230, Table 4.10 of the PDF specification.
2011-10-27 03:08:11 +03:00
Ionuț G. Stan
a17b13019b
Fix strict mode syntax error in Safari
...
This happens in Safari 5.1 and Mobile Safari on iOS 5.
Apparently, Safari considers the function name as part of the ECMA's
FormalParameterList and applies the strict mode rules from section 13.1
of the specification.
> It is a SyntaxError if any Identifier value occurs more than once
> within a FormalParameterList of a strict mode
> FunctionDeclaration or FunctionExpression.
2011-10-27 02:47:18 +03:00
Chris Jones
8341579fd3
Merge pull request #699 from kkujala/dev
...
Fix strict js warnings.
2011-10-24 18:58:12 -07:00
Chris Jones
22601dcff6
Merge pull request #689 from vingtetun/jpx2000-donotcrash
...
Do not stop rendering on filter JPXdecode
2011-10-24 18:27:49 -07:00
Kalervo Kujala
e72216649a
Fix strict js wanings.
2011-10-24 22:52:37 +03:00
Artur Adib
b428552e87
Merge pull request #698 from brendandahl/fixext
...
Fix extension and web builds
2011-10-24 11:35:26 -07:00
=
4b8add9483
Fix extension and web builds
2011-10-24 11:24:00 -07:00
Artur Adib
4cfcd45e70
Update README.md
2011-10-24 10:40:36 -07:00
Vivien Nicolas
440e3c263f
TODO's all unknown filters
2011-10-24 10:33:23 +02:00
vingtetun
65beea82a5
Merge pull request #692 from brendandahl/integration
...
Web worker integration (disabled by default)
2011-10-21 16:49:25 -07:00
=
a203437d67
Fix lint error.
2011-10-21 16:32:35 -07:00
=
300730c335
Addressing Vivian's comments.
2011-10-21 15:56:10 -07:00
=
23363cf464
Remove debugger
2011-10-21 09:56:28 -07:00
=
d272f835d7
Merge remote-tracking branch 'origin/integration' into integration
2011-10-21 09:55:24 -07:00
=
5293a248b6
Merge remote-tracking branch 'upstream/master' into integration
2011-10-21 09:06:08 -07:00
Brendan Dahl
8a6f9ae4cd
Merge pull request #1 from jviereck/integration
...
Integration
2011-10-21 08:59:10 -07:00
Julian Viereck
b873c1f4da
Fix imageObj.imageMask bug from merge
2011-10-21 09:42:44 +02:00
=
435d9f2e9a
Removing all console logs.
2011-10-20 16:59:59 -07:00
=
29ed0be26b
Merge upstream/master.
2011-10-20 16:56:30 -07:00
Chris Jones
7185a12300
Merge pull request #685 from kkujala/master
...
Refactor duplicate code in getTwoDimCode function.
2011-10-20 16:43:08 -07:00
Chris Jones
27ad798d86
Merge pull request #686 from vingtetun/offscreen
...
Make firstrun looks faster
2011-10-20 16:08:40 -07:00
vingtetun
2aa9b16b51
Merge pull request #691 from kkujala/dev
...
Fix strict javascript warning in CanvasGraphics.
2011-10-20 15:10:22 -07:00
Kalervo Kujala
7da3c68c48
Fix strict javascript warning in CanvasGraphics.
2011-10-20 23:56:23 +03:00
=
82aef59edf
Refactor TilingPattern to be more similar to the
...
other IR patterns.
2011-10-20 13:54:39 -07:00
=
1d66c0e895
Rename JpegStreamIr to just JpegImage since it isn't
...
an IR.
2011-10-20 12:18:24 -07:00
=
2ad1e622ab
Move remaining worker.js code into pdf.js.
2011-10-20 12:13:18 -07:00
=
211cf22886
Fix setting the font from graphics state. Fix
...
setting other graphical state params.
2011-10-20 11:47:13 -07:00
=
d4a810e2b3
Fix merge problem with argsArray/fnArray.
2011-10-20 10:01:25 -07:00
Vivien Nicolas
a2692bbb89
Do not stop rendering on filter JPXdecode
2011-10-20 18:52:04 +02:00
vingtetun
5a699720bc
Merge pull request #688 from notmasteryet/tree-35
...
Add cidmaps.js in Makefile
2011-10-20 08:52:04 -07:00
notmasteryet
dc5c8da9dd
Add cidmaps.js for Makefile
2011-10-20 07:07:24 -05:00
Vivien Nicolas
b0bf99098b
Make firstrun looks faster
2011-10-19 22:14:34 +02:00
Kalervo Kujala
0a83c2661d
Refactor duplicate code in getTwoDimCode function.
...
Also reuse the existing findTableCode function for it.
2011-10-19 22:58:03 +03:00
=
452f33b328
Remove WorkerPage.
2011-10-19 12:42:33 -07:00
Kalervo Kujala
56ae32e856
Merge remote-tracking branch 'upstream/master'
2011-10-19 21:28:03 +03: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
vingtetun
4d0fe2d71e
Merge pull request #684 from vingtetun/master
...
Add a 'download' button
2011-10-19 07:17:08 -07:00
Vivien Nicolas
63099565a3
fix spacing issue (lint)
2011-10-19 16:17:02 +02: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
vingtetun
303fc114b3
Merge pull request #677 from kkujala/test
...
Fix javascript strict warnings in driver.js.
2011-10-18 18:08:17 -07:00
notmasteryet
e27e87aeef
Merge pull request #683 from vingtetun/master
...
Fix issue #681
2011-10-18 18:05:57 -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
Vivien Nicolas
b378314857
Merge remote branch 'upstream/master'
2011-10-18 21:35:13 +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