]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
13 years agoMerge pull request #759 from arturadib/fix-Makefile
Artur Adib [Fri, 4 Nov 2011 21:36:30 +0000 (14:36 -0700)]
Merge pull request #759 from arturadib/fix-Makefile

Fixes Makefile for web deployment

13 years agoFixing again
Artur Adib [Fri, 4 Nov 2011 21:18:23 +0000 (17:18 -0400)]
Fixing again

13 years agonit
Artur Adib [Fri, 4 Nov 2011 20:37:33 +0000 (16:37 -0400)]
nit

13 years agoFixes Makefile for web deployment
Artur Adib [Fri, 4 Nov 2011 20:30:05 +0000 (16:30 -0400)]
Fixes Makefile for web deployment

13 years agoMerge pull request #715 from jviereck/worker_f2
Brendan Dahl [Fri, 4 Nov 2011 18:33:30 +0000 (11:33 -0700)]
Merge pull request #715 from jviereck/worker_f2

Worker feature detection

13 years agoMerge pull request #757 from brendandahl/md5hash
Artur Adib [Fri, 4 Nov 2011 18:29:48 +0000 (11:29 -0700)]
Merge pull request #757 from brendandahl/md5hash

Hash test files to make sure they haven't changed.

13 years agoUpdating md5 for tcpdf.
Brendan Dahl [Fri, 4 Nov 2011 17:55:00 +0000 (10:55 -0700)]
Updating md5 for tcpdf.

13 years agoHash files to make sure they haven't changed.
Brendan Dahl [Fri, 4 Nov 2011 16:14:52 +0000 (09:14 -0700)]
Hash files to make sure they haven't changed.

13 years agoMerge pull request #753 from arturadib/ext-link
Artur Adib [Thu, 3 Nov 2011 23:56:06 +0000 (16:56 -0700)]
Merge pull request #753 from arturadib/ext-link

Updated external link

13 years agoQuiet rsync
Artur Adib [Thu, 3 Nov 2011 23:50:28 +0000 (19:50 -0400)]
Quiet rsync

13 years agoFixing ref/ update
Artur Adib [Thu, 3 Nov 2011 23:01:10 +0000 (19:01 -0400)]
Fixing ref/ update

13 years agoMerge pull request #754 from kkujala/master
notmasteryet [Thu, 3 Nov 2011 22:07:25 +0000 (15:07 -0700)]
Merge pull request #754 from kkujala/master

Fix jslint warnings.

13 years agoFix jslint warnings.
Kalervo Kujala [Thu, 3 Nov 2011 21:26:58 +0000 (23:26 +0200)]
Fix jslint warnings.

13 years agonit
Artur Adib [Thu, 3 Nov 2011 20:29:08 +0000 (16:29 -0400)]
nit

13 years agoUpdated external link
Artur Adib [Thu, 3 Nov 2011 20:16:21 +0000 (16:16 -0400)]
Updated external link

13 years agoMerge pull request #740 from acornejo/master
Brendan Dahl [Thu, 3 Nov 2011 16:10:18 +0000 (09:10 -0700)]
Merge pull request #740 from acornejo/master

(firefox extension) Slimmed down toolbar height, from 40 to 24px.

13 years agoRename processorHandler to messageHandler
Julian Viereck [Thu, 3 Nov 2011 14:30:53 +0000 (15:30 +0100)]
Rename processorHandler to messageHandler

13 years agoFix style nit from brendandahl
Julian Viereck [Tue, 1 Nov 2011 19:27:19 +0000 (20:27 +0100)]
Fix style nit from brendandahl

13 years agoRemove `useWorker` variable and turn worker support whenever this is possible.
Julian Viereck [Tue, 1 Nov 2011 19:23:48 +0000 (20:23 +0100)]
Remove `useWorker` variable and turn worker support whenever this is possible.

13 years agoMerge pull request #711 from jviereck/worker_feature
Brendan Dahl [Wed, 2 Nov 2011 22:16:31 +0000 (15:16 -0700)]
Merge pull request #711 from jviereck/worker_feature

Feature detection

13 years agoFix lint warning + turn off worker support
Julian Viereck [Wed, 2 Nov 2011 22:00:08 +0000 (23:00 +0100)]
Fix lint warning + turn off worker support

13 years agoMerge pull request #744 from eloquentix/master
Brendan Dahl [Wed, 2 Nov 2011 18:53:31 +0000 (11:53 -0700)]
Merge pull request #744 from eloquentix/master

Fix same origin policy issue when adding @font-face rules

13 years agoFix same origin policy issue when adding @font-face rules
Ionuț G. Stan [Wed, 2 Nov 2011 10:47:41 +0000 (12:47 +0200)]
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.

13 years agoChange workerSrc location
Julian Viereck [Tue, 1 Nov 2011 21:23:16 +0000 (22:23 +0100)]
Change workerSrc location

13 years agoMerge with master
Julian Viereck [Tue, 1 Nov 2011 18:56:34 +0000 (19:56 +0100)]
Merge with master

13 years agoAddress review comments. Use only one PDFJS.workerSrc variable to specify the worker...
Julian Viereck [Tue, 1 Nov 2011 18:32:20 +0000 (19:32 +0100)]
Address review comments. Use only one PDFJS.workerSrc variable to specify the worker source

13 years agoUpdate README.md
Artur Adib [Tue, 1 Nov 2011 17:27:02 +0000 (14:27 -0300)]
Update README.md

13 years agoMerge pull request #741 from arturadib/mozilla-repo
Brendan Dahl [Tue, 1 Nov 2011 16:15:36 +0000 (09:15 -0700)]
Merge pull request #741 from arturadib/mozilla-repo

Search-replace URLs from andreasgal --> mozilla

13 years agoandreasgal.github --> mozilla.github
Artur Adib [Tue, 1 Nov 2011 12:49:47 +0000 (08:49 -0400)]
andreasgal.github --> mozilla.github

13 years agoReplace andreasgal/pdf.js --> mozilla/pdf.js
Artur Adib [Tue, 1 Nov 2011 12:46:39 +0000 (08:46 -0400)]
Replace andreasgal/pdf.js --> mozilla/pdf.js

13 years agoSlimmed down toolbar height, from 40 to 24px.
Alex Cornejo [Mon, 31 Oct 2011 22:23:03 +0000 (18:23 -0400)]
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.

13 years agoMerge pull request #737 from gigaherz/master
Andreas Gal [Mon, 31 Oct 2011 20:26:14 +0000 (13:26 -0700)]
Merge pull request #737 from gigaherz/master

Fix missing urlencoding of pdf urls in the extension

13 years agoProperly fix the previous commit.
gigaherz [Mon, 31 Oct 2011 20:18:41 +0000 (21:18 +0100)]
Properly fix the previous commit.

13 years agoThe extension should urlencode the pdf when sending it over to the viewer.
gigaherz [Mon, 31 Oct 2011 19:44:29 +0000 (20:44 +0100)]
The extension should urlencode the pdf when sending it over to the viewer.

13 years agoMerge pull request #716 from brendandahl/alphatrans
Brendan Dahl [Mon, 31 Oct 2011 17:37:29 +0000 (10:37 -0700)]
Merge pull request #716 from brendandahl/alphatrans

Alpha Transparency Support

13 years agoMerge pull request #736 from vingtetun/extension-unload
Brendan Dahl [Mon, 31 Oct 2011 16:03:12 +0000 (09:03 -0700)]
Merge pull request #736 from vingtetun/extension-unload

Add support for disabling the firefox extension on the fly

13 years agoMerge upstream
Brendan Dahl [Mon, 31 Oct 2011 15:51:45 +0000 (08:51 -0700)]
Merge upstream

13 years agoAdd support for disabling the firefox extension on the fly
Vivien Nicolas [Mon, 31 Oct 2011 12:18:30 +0000 (13:18 +0100)]
Add support for disabling the firefox extension on the fly

13 years agoMerge pull request #733 from kkujala/dev
Artur Adib [Sun, 30 Oct 2011 17:56:11 +0000 (10:56 -0700)]
Merge pull request #733 from kkujala/dev

Name anonymous functions

13 years agoMerge pull request #732 from kkujala/master
Artur Adib [Sun, 30 Oct 2011 17:56:00 +0000 (10:56 -0700)]
Merge pull request #732 from kkujala/master

Name anonymous functions in core.js.

13 years agoName anonymous functions in canvas.js.
Kalervo Kujala [Sun, 30 Oct 2011 11:46:15 +0000 (13:46 +0200)]
Name anonymous functions in canvas.js.

13 years agoName anonymous functions in colorspace.js.
Kalervo Kujala [Sun, 30 Oct 2011 11:44:10 +0000 (13:44 +0200)]
Name anonymous functions in colorspace.js.

13 years agoName anonymous functions in image.js.
Kalervo Kujala [Sun, 30 Oct 2011 11:07:38 +0000 (13:07 +0200)]
Name anonymous functions in image.js.

13 years agoName anonymous functions in core.js.
Kalervo Kujala [Sun, 30 Oct 2011 10:41:55 +0000 (12:41 +0200)]
Name anonymous functions in core.js.

13 years agoMerge pull request #722 from kkujala/master
Andreas Gal [Sat, 29 Oct 2011 21:03:16 +0000 (14:03 -0700)]
Merge pull request #722 from kkujala/master

Name a few anonymous functions.

13 years agoMerge pull request #725 from kkujala/dev
Andreas Gal [Sat, 29 Oct 2011 21:03:00 +0000 (14:03 -0700)]
Merge pull request #725 from kkujala/dev

Name anonymous functions in obj.js.

13 years agoMerge pull request #726 from kkujala/test
Andreas Gal [Sat, 29 Oct 2011 21:02:45 +0000 (14:02 -0700)]
Merge pull request #726 from kkujala/test

Name anonymous funtions in function.js.

13 years agoMerge pull request #728 from notmasteryet/tree-36
Andreas Gal [Sat, 29 Oct 2011 21:02:15 +0000 (14:02 -0700)]
Merge pull request #728 from notmasteryet/tree-36

Fixing 'compatibility.js' load order; add Object.keys emulation

13 years agoFixing 'compatibility.js' load order; add Object.keys emulation
notmasteryet [Sat, 29 Oct 2011 21:00:13 +0000 (16:00 -0500)]
Fixing 'compatibility.js' load order; add Object.keys emulation

13 years agoName anonymous funtions in function.js.
Kalervo Kujala [Sat, 29 Oct 2011 17:59:49 +0000 (20:59 +0300)]
Name anonymous funtions in function.js.

13 years agoName anonymous functions in obj.js.
Kalervo Kujala [Sat, 29 Oct 2011 17:31:56 +0000 (20:31 +0300)]
Name anonymous functions in obj.js.

13 years agoRename Shanding related functions with better name names.
Kalervo Kujala [Sat, 29 Oct 2011 14:57:31 +0000 (17:57 +0300)]
Rename Shanding related functions with better name names.

13 years agoName a few anonymous functions.
Kalervo Kujala [Sat, 29 Oct 2011 10:20:48 +0000 (13:20 +0300)]
Name a few anonymous functions.

Also rename some functions.

13 years agoMerge remote-tracking branch 'upstream/master'
Kalervo Kujala [Sat, 29 Oct 2011 08:40:18 +0000 (11:40 +0300)]
Merge remote-tracking branch 'upstream/master'

13 years agoMerge pull request #702 from eloquentix/master
notmasteryet [Sat, 29 Oct 2011 03:29:19 +0000 (20:29 -0700)]
Merge pull request #702 from eloquentix/master

Fixed syntax error in Safari and corrected rendering logic for two methods

13 years agoMerge branch 'master' of https://github.com/andreasgal/pdf.js
Ionuț G. Stan [Fri, 28 Oct 2011 22:43:03 +0000 (01:43 +0300)]
Merge branch 'master' of https://github.com/andreasgal/pdf.js

13 years agoFix lint errors
Ionuț G. Stan [Fri, 28 Oct 2011 22:26:55 +0000 (01:26 +0300)]
Fix lint errors

Single quotes instead of double quotes

13 years agoAdd the alpha trans test pdf.
Brendan Dahl [Fri, 28 Oct 2011 21:11:14 +0000 (14:11 -0700)]
Add the alpha trans test pdf.

13 years agoInitial alpha transparency support.
Brendan Dahl [Fri, 28 Oct 2011 21:10:10 +0000 (14:10 -0700)]
Initial alpha transparency support.

13 years agoMerge pull request #714 from kkujala/master
Artur Adib [Fri, 28 Oct 2011 20:11:34 +0000 (13:11 -0700)]
Merge pull request #714 from kkujala/master

Name anonymous functions in worker.js.

13 years agoMerge remote-tracking branch 'upstream/master'
Kalervo Kujala [Fri, 28 Oct 2011 18:38:17 +0000 (21:38 +0300)]
Merge remote-tracking branch 'upstream/master'

13 years agoName anonymous functions in worker.js.
Kalervo Kujala [Fri, 28 Oct 2011 18:23:30 +0000 (21:23 +0300)]
Name anonymous functions in worker.js.

13 years agoAdd eq test for close path rendering bug
Ionuț G. Stan [Fri, 28 Oct 2011 13:38:55 +0000 (16:38 +0300)]
Add eq test for close path rendering bug

See: 56b9a3543dfd365fb065a85ac056d29064c72797

13 years agoMake worker support work again after file split. Add PDFJS_WORKER_DIR/PDFJS_WORKER_FI...
Julian Viereck [Fri, 28 Oct 2011 12:32:36 +0000 (14:32 +0200)]
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

13 years agoMerge branch 'master' of https://github.com/andreasgal/pdf.js
Ionuț G. Stan [Fri, 28 Oct 2011 11:34:56 +0000 (14:34 +0300)]
Merge branch 'master' of https://github.com/andreasgal/pdf.js

Conflicts:
pdf.js

13 years agoLog error stacktrace only when available
Ionuț G. Stan [Fri, 28 Oct 2011 11:27:41 +0000 (14:27 +0300)]
Log error stacktrace only when available

Safari does not provide a `stack` property on Error instances.

13 years agoMerge pull request #708 from kkujala/master
vingtetun [Thu, 27 Oct 2011 19:32:35 +0000 (12:32 -0700)]
Merge pull request #708 from kkujala/master

Fix js strict warning in worker.js.

13 years agoFix js strict warning in worker.js.
Kalervo Kujala [Thu, 27 Oct 2011 18:51:10 +0000 (21:51 +0300)]
Fix js strict warning in worker.js.

Also fix a few minor nits.

13 years agoMerge pull request #700 from arturadib/filesplit
vingtetun [Thu, 27 Oct 2011 17:37:19 +0000 (10:37 -0700)]
Merge pull request #700 from arturadib/filesplit

File split

13 years agoSet DeviceGray as initial value for color space
Ionuț G. Stan [Thu, 27 Oct 2011 02:45:10 +0000 (05:45 +0300)]
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.

13 years agoClose path in `closeFillStroke` and `closeEOFillStroke`
Ionuț G. Stan [Thu, 27 Oct 2011 00:08:11 +0000 (03:08 +0300)]
Close path in `closeFillStroke` and `closeEOFillStroke`

See Chapter 4, page 230, Table 4.10 of the PDF specification.

13 years agoFix strict mode syntax error in Safari
Ionuț G. Stan [Wed, 26 Oct 2011 23:47:18 +0000 (02:47 +0300)]
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.

13 years agoMerge branch 'refs/heads/master' into filesplit
Artur Adib [Wed, 26 Oct 2011 19:10:58 +0000 (15:10 -0400)]
Merge branch 'refs/heads/master' into filesplit

Conflicts:
pdf.js

13 years agoPDF --> PDFJS, global wrapper named
Artur Adib [Wed, 26 Oct 2011 18:46:57 +0000 (14:46 -0400)]
PDF --> PDFJS, global wrapper named

13 years agogit-ignore extensions/firefox/content/
Artur Adib [Wed, 26 Oct 2011 16:11:29 +0000 (12:11 -0400)]
git-ignore extensions/firefox/content/

13 years agomake test: Do not require build
Artur Adib [Wed, 26 Oct 2011 15:30:39 +0000 (11:30 -0400)]
make test: Do not require build

13 years agoBUILD_TARGET; 'make' works now; README update
Artur Adib [Wed, 26 Oct 2011 15:20:22 +0000 (11:20 -0400)]
BUILD_TARGET; 'make' works now; README update

13 years agoREADME - make bundle
Artur Adib [Wed, 26 Oct 2011 03:07:30 +0000 (23:07 -0400)]
README - make bundle

13 years agoLint
Artur Adib [Wed, 26 Oct 2011 02:51:08 +0000 (22:51 -0400)]
Lint

13 years agoNit
Artur Adib [Wed, 26 Oct 2011 01:31:35 +0000 (21:31 -0400)]
Nit

13 years agoFixed tests
Artur Adib [Wed, 26 Oct 2011 01:29:51 +0000 (21:29 -0400)]
Fixed tests

13 years ago'use strict' everywhere
Artur Adib [Wed, 26 Oct 2011 01:18:22 +0000 (18:18 -0700)]
'use strict' everywhere

13 years agonit
Artur Adib [Wed, 26 Oct 2011 00:38:28 +0000 (17:38 -0700)]
nit

13 years agoProduction scripts
Artur Adib [Wed, 26 Oct 2011 00:22:45 +0000 (17:22 -0700)]
Production scripts

13 years agoMissed new file
Artur Adib [Tue, 25 Oct 2011 22:44:00 +0000 (15:44 -0700)]
Missed new file

13 years agoViewer working with dev version
Artur Adib [Tue, 25 Oct 2011 22:43:41 +0000 (15:43 -0700)]
Viewer working with dev version

13 years agoNit
Artur Adib [Tue, 25 Oct 2011 19:36:43 +0000 (12:36 -0700)]
Nit

13 years agoredundant include
Artur Adib [Tue, 25 Oct 2011 18:18:57 +0000 (11:18 -0700)]
redundant include

13 years agohello world fixed
Artur Adib [Tue, 25 Oct 2011 17:53:18 +0000 (10:53 -0700)]
hello world fixed

13 years agominor
Artur Adib [Tue, 25 Oct 2011 17:44:15 +0000 (10:44 -0700)]
minor

13 years agoLinting
Artur Adib [Tue, 25 Oct 2011 17:43:28 +0000 (10:43 -0700)]
Linting

13 years agomake web works!
Artur Adib [Tue, 25 Oct 2011 17:35:15 +0000 (10:35 -0700)]
make web works!

13 years agoFix extension
Artur Adib [Tue, 25 Oct 2011 17:21:35 +0000 (10:21 -0700)]
Fix extension

13 years agoOnly one worker file, bundled in pdf.js
Artur Adib [Tue, 25 Oct 2011 17:16:20 +0000 (10:16 -0700)]
Only one worker file, bundled in pdf.js

13 years agoProgress
Artur Adib [Tue, 25 Oct 2011 16:10:56 +0000 (09:10 -0700)]
Progress

13 years agoMerge pull request #699 from kkujala/dev
Chris Jones [Tue, 25 Oct 2011 01:58:12 +0000 (18:58 -0700)]
Merge pull request #699 from kkujala/dev

Fix strict js warnings.

13 years agoMerge pull request #689 from vingtetun/jpx2000-donotcrash
Chris Jones [Tue, 25 Oct 2011 01:27:49 +0000 (18:27 -0700)]
Merge pull request #689 from vingtetun/jpx2000-donotcrash

Do not stop rendering on filter JPXdecode

13 years agomake pdfjs
Artur Adib [Tue, 25 Oct 2011 01:13:12 +0000 (18:13 -0700)]
make pdfjs

13 years agoSplitting files
Artur Adib [Mon, 24 Oct 2011 23:55:23 +0000 (16:55 -0700)]
Splitting files

13 years agoFix strict js wanings.
Kalervo Kujala [Mon, 24 Oct 2011 19:52:37 +0000 (22:52 +0300)]
Fix strict js wanings.