Ionuț G. Stan
8a6cf185fd
Add eq test for close path rendering bug
...
See: 56b9a3543d
2011-10-28 16:38:55 +03: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
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
vingtetun
21a6467b23
Merge pull request #708 from kkujala/master
...
Fix js strict warning in worker.js.
2011-10-27 12:32:35 -07: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
vingtetun
b8dd054c7d
Merge pull request #700 from arturadib/filesplit
...
File split
2011-10-27 10:37:19 -07: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
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
135af5df13
git-ignore extensions/firefox/content/
2011-10-26 12:12:09 -04:00
Artur Adib
6eaa49761b
make test: Do not require build
2011-10-26 11:30:39 -04:00
Artur Adib
b8a1b3fa5c
BUILD_TARGET; 'make' works now; README update
2011-10-26 11:20:22 -04:00
Artur Adib
fab876d7bb
README - make bundle
2011-10-25 23:07:30 -04:00
Artur Adib
df7baea6d2
Lint
2011-10-25 22:51:08 -04:00
Artur Adib
e9c96c6052
Nit
2011-10-25 21:31:35 -04:00
Artur Adib
f9ba29cf12
Fixed tests
2011-10-25 21:29:51 -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
b049185d51
Nit
2011-10-25 12:36:43 -07:00
Artur Adib
181d1e111a
redundant include
2011-10-25 11:18:57 -07:00
Artur Adib
74015f70ee
hello world fixed
2011-10-25 10:53:18 -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
6a2872912a
make web works!
2011-10-25 10:35:15 -07:00
Artur Adib
c43548cdba
Fix extension
2011-10-25 10:21:35 -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
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
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
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