]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
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 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 agoFix strict js wanings.
Kalervo Kujala [Mon, 24 Oct 2011 19:52:37 +0000 (22:52 +0300)]
Fix strict js wanings.

13 years agoMerge pull request #698 from brendandahl/fixext
Artur Adib [Mon, 24 Oct 2011 18:35:26 +0000 (11:35 -0700)]
Merge pull request #698 from brendandahl/fixext

Fix extension and web builds

13 years agoFix extension and web builds
= [Mon, 24 Oct 2011 18:24:00 +0000 (11:24 -0700)]
Fix extension and web builds

13 years agoUpdate README.md
Artur Adib [Mon, 24 Oct 2011 17:40:36 +0000 (10:40 -0700)]
Update README.md

13 years agoTODO's all unknown filters
Vivien Nicolas [Mon, 24 Oct 2011 08:33:23 +0000 (10:33 +0200)]
TODO's all unknown filters

13 years agoMerge pull request #692 from brendandahl/integration
vingtetun [Fri, 21 Oct 2011 23:49:25 +0000 (16:49 -0700)]
Merge pull request #692 from brendandahl/integration

Web worker integration (disabled by default)

13 years agoFix lint error.
= [Fri, 21 Oct 2011 23:32:35 +0000 (16:32 -0700)]
Fix lint error.

13 years agoAddressing Vivian's comments.
= [Fri, 21 Oct 2011 22:56:10 +0000 (15:56 -0700)]
Addressing Vivian's comments.

13 years agoRemove debugger
= [Fri, 21 Oct 2011 16:56:28 +0000 (09:56 -0700)]
Remove debugger

13 years agoMerge remote-tracking branch 'origin/integration' into integration
= [Fri, 21 Oct 2011 16:55:24 +0000 (09:55 -0700)]
Merge remote-tracking branch 'origin/integration' into integration

13 years agoMerge remote-tracking branch 'upstream/master' into integration
= [Fri, 21 Oct 2011 16:06:08 +0000 (09:06 -0700)]
Merge remote-tracking branch 'upstream/master' into integration

13 years agoMerge pull request #1 from jviereck/integration
Brendan Dahl [Fri, 21 Oct 2011 15:59:10 +0000 (08:59 -0700)]
Merge pull request #1 from jviereck/integration

Integration

13 years agoFix imageObj.imageMask bug from merge
Julian Viereck [Fri, 21 Oct 2011 07:42:44 +0000 (09:42 +0200)]
Fix imageObj.imageMask bug from merge

13 years agoRemoving all console logs.
= [Thu, 20 Oct 2011 23:59:59 +0000 (16:59 -0700)]
Removing all console logs.

13 years agoMerge upstream/master.
= [Thu, 20 Oct 2011 23:56:30 +0000 (16:56 -0700)]
Merge upstream/master.

13 years agoMerge pull request #685 from kkujala/master
Chris Jones [Thu, 20 Oct 2011 23:43:08 +0000 (16:43 -0700)]
Merge pull request #685 from kkujala/master

Refactor duplicate code in getTwoDimCode function.

13 years agoMerge pull request #686 from vingtetun/offscreen
Chris Jones [Thu, 20 Oct 2011 23:08:40 +0000 (16:08 -0700)]
Merge pull request #686 from vingtetun/offscreen

Make firstrun looks faster

13 years agoMerge pull request #691 from kkujala/dev
vingtetun [Thu, 20 Oct 2011 22:10:22 +0000 (15:10 -0700)]
Merge pull request #691 from kkujala/dev

Fix strict javascript warning in CanvasGraphics.

13 years agoFix strict javascript warning in CanvasGraphics.
Kalervo Kujala [Thu, 20 Oct 2011 20:56:23 +0000 (23:56 +0300)]
Fix strict javascript warning in CanvasGraphics.

13 years agoRefactor TilingPattern to be more similar to the
= [Thu, 20 Oct 2011 20:54:39 +0000 (13:54 -0700)]
Refactor TilingPattern to be more similar to the
other IR patterns.

13 years agoRename JpegStreamIr to just JpegImage since it isn't
= [Thu, 20 Oct 2011 19:18:24 +0000 (12:18 -0700)]
Rename JpegStreamIr to just JpegImage since it isn't
an IR.

13 years agoMove remaining worker.js code into pdf.js.
= [Thu, 20 Oct 2011 19:13:18 +0000 (12:13 -0700)]
Move remaining worker.js code into pdf.js.

13 years agoFix setting the font from graphics state. Fix
= [Thu, 20 Oct 2011 18:47:13 +0000 (11:47 -0700)]
Fix setting the font from graphics state. Fix
setting other graphical state params.

13 years agoFix merge problem with argsArray/fnArray.
= [Thu, 20 Oct 2011 17:01:25 +0000 (10:01 -0700)]
Fix merge problem with argsArray/fnArray.

13 years agoDo not stop rendering on filter JPXdecode
Vivien Nicolas [Thu, 20 Oct 2011 16:52:04 +0000 (18:52 +0200)]
Do not stop rendering on filter JPXdecode

13 years agoMerge pull request #688 from notmasteryet/tree-35
vingtetun [Thu, 20 Oct 2011 15:52:04 +0000 (08:52 -0700)]
Merge pull request #688 from notmasteryet/tree-35

Add cidmaps.js in Makefile

13 years agoAdd cidmaps.js for Makefile
notmasteryet [Thu, 20 Oct 2011 12:07:24 +0000 (07:07 -0500)]
Add cidmaps.js for Makefile

13 years agoMake firstrun looks faster
Vivien Nicolas [Wed, 19 Oct 2011 20:14:34 +0000 (22:14 +0200)]
Make firstrun looks faster

13 years agoRefactor duplicate code in getTwoDimCode function.
Kalervo Kujala [Wed, 19 Oct 2011 19:58:03 +0000 (22:58 +0300)]
Refactor duplicate code in getTwoDimCode function.

Also reuse the existing findTableCode function for it.

13 years agoRemove WorkerPage.
= [Wed, 19 Oct 2011 19:42:33 +0000 (12:42 -0700)]
Remove WorkerPage.

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

13 years agoInitial merge of master.
= [Wed, 19 Oct 2011 18:14:13 +0000 (11:14 -0700)]
Initial merge of master.

13 years agoInitial merge with master
= [Wed, 19 Oct 2011 18:09:17 +0000 (11:09 -0700)]
Initial merge with master

13 years agoMerge pull request #684 from vingtetun/master
vingtetun [Wed, 19 Oct 2011 14:17:08 +0000 (07:17 -0700)]
Merge pull request #684 from vingtetun/master

Add a 'download' button

13 years agofix spacing issue (lint)
Vivien Nicolas [Wed, 19 Oct 2011 14:17:02 +0000 (16:17 +0200)]
fix spacing issue (lint)

13 years agoMake the 'download' button behavior more robust
Vivien Nicolas [Wed, 19 Oct 2011 04:29:14 +0000 (06:29 +0200)]
Make the 'download' button behavior more robust

13 years agoAdd a download button in case the extension is not enough
Vivien Nicolas [Wed, 19 Oct 2011 01:20:50 +0000 (03:20 +0200)]
Add a download button in case the extension is not enough

13 years agoMerge pull request #679 from vingtetun/extension_2
notmasteryet [Wed, 19 Oct 2011 01:11:48 +0000 (18:11 -0700)]
Merge pull request #679 from vingtetun/extension_2

Fix reload based on the discovery of #666

13 years agoMerge pull request #677 from kkujala/test
vingtetun [Wed, 19 Oct 2011 01:08:17 +0000 (18:08 -0700)]
Merge pull request #677 from kkujala/test

Fix javascript strict warnings in driver.js.

13 years agoMerge pull request #683 from vingtetun/master
notmasteryet [Wed, 19 Oct 2011 01:05:57 +0000 (18:05 -0700)]
Merge pull request #683 from vingtetun/master

Fix issue #681

13 years agoUse 'hidden' instead of display: none
Vivien Nicolas [Tue, 18 Oct 2011 21:39:26 +0000 (23:39 +0200)]
Use 'hidden' instead of display: none

13 years agoUse 'hidden' instead of display: none
Vivien Nicolas [Tue, 18 Oct 2011 19:40:59 +0000 (21:40 +0200)]
Use 'hidden' instead of display: none

13 years agoMerge remote branch 'upstream/master'
Vivien Nicolas [Tue, 18 Oct 2011 19:35:13 +0000 (21:35 +0200)]
Merge remote branch 'upstream/master'

13 years agoMerge pull request #665 from notmasteryet/viewlink
vingtetun [Tue, 18 Oct 2011 19:34:08 +0000 (12:34 -0700)]
Merge pull request #665 from notmasteryet/viewlink

Adds "bookmark" icon and fixes scale/ current page number issues

13 years agoMerge remote branch 'upstream/master'
Vivien Nicolas [Tue, 18 Oct 2011 19:30:12 +0000 (21:30 +0200)]
Merge remote branch 'upstream/master'

13 years agoMerge remote-tracking branch 'upstream/master'
Kalervo Kujala [Tue, 18 Oct 2011 18:10:36 +0000 (21:10 +0300)]
Merge remote-tracking branch 'upstream/master'

13 years agoUse task.pageLimit properly.
Kalervo Kujala [Tue, 18 Oct 2011 17:32:33 +0000 (20:32 +0300)]
Use task.pageLimit properly.

13 years agoMerge pull request #676 from vingtetun/oncontextmenu
notmasteryet [Tue, 18 Oct 2011 02:15:19 +0000 (19:15 -0700)]
Merge pull request #676 from vingtetun/oncontextmenu

Fix issue 581 by adding oncontextmenu='return false;' to buttons

13 years agoFix a spacing issue
Vivien Nicolas [Tue, 18 Oct 2011 01:45:07 +0000 (03:45 +0200)]
Fix a spacing issue

13 years agoMerge pull request #678 from kkujala/master
vingtetun [Mon, 17 Oct 2011 23:41:55 +0000 (16:41 -0700)]
Merge pull request #678 from kkujala/master

Refactor duplicate code in getWhiteCode.

13 years agoFix a small broking mistake in fonts.js
Vivien Nicolas [Mon, 17 Oct 2011 23:34:44 +0000 (01:34 +0200)]
Fix a small broking mistake in fonts.js

13 years agoRemove useless code since the extension is loaded into a privileged chrome:// scope
Vivien Nicolas [Mon, 17 Oct 2011 23:28:57 +0000 (01:28 +0200)]
Remove useless code since the extension is loaded into a privileged chrome:// scope

13 years agoFix wrongs ids
Vivien Nicolas [Mon, 17 Oct 2011 22:18:12 +0000 (00:18 +0200)]
Fix wrongs ids

13 years agoRefactor duplicate code in getWhiteCode.
Kalervo Kujala [Mon, 17 Oct 2011 21:29:43 +0000 (00:29 +0300)]
Refactor duplicate code in getWhiteCode.

Reuse functionality from getBlackCode for this.

13 years agoFix javascript strict warnings in driver.js.
Kalervo Kujala [Mon, 17 Oct 2011 21:00:44 +0000 (00:00 +0300)]
Fix javascript strict warnings in driver.js.

13 years agoMerge pull request #672 from kkujala/master
vingtetun [Mon, 17 Oct 2011 20:27:36 +0000 (13:27 -0700)]
Merge pull request #672 from kkujala/master

Refactor duplicate code in getBlackCode.

13 years agoHandle blackTable2 array access correctly.
Kalervo Kujala [Mon, 17 Oct 2011 19:24:19 +0000 (22:24 +0300)]
Handle blackTable2 array access correctly.

13 years agoadd oncontextmenu='return false;' to buttons
Vivien Nicolas [Mon, 17 Oct 2011 19:04:54 +0000 (21:04 +0200)]
add oncontextmenu='return false;' to buttons

13 years agoFix warnings in strict mode
Vivien Nicolas [Mon, 17 Oct 2011 18:39:29 +0000 (20:39 +0200)]
Fix warnings in strict mode

13 years agoAdhere to 80 char line limit.
Kalervo Kujala [Sun, 16 Oct 2011 09:34:34 +0000 (12:34 +0300)]
Adhere to 80 char line limit.

13 years agoMerge pull request #671 from kkujala/dev
Andreas Gal [Sat, 15 Oct 2011 21:16:53 +0000 (14:16 -0700)]
Merge pull request #671 from kkujala/dev

Move function creation out of the loop.

13 years agoRefactor duplicate code in getBlackCode.
Kalervo Kujala [Sat, 15 Oct 2011 20:32:56 +0000 (23:32 +0300)]
Refactor duplicate code in getBlackCode.

13 years agoMove function creation out of the loop.
Kalervo Kujala [Sat, 15 Oct 2011 19:03:57 +0000 (22:03 +0300)]
Move function creation out of the loop.

Also name the anonymous function. Jslint complains about this.

13 years agoMerge pull request #668 from kkujala/master
notmasteryet [Sat, 15 Oct 2011 17:57:48 +0000 (10:57 -0700)]
Merge pull request #668 from kkujala/master

Fix small lint issues.

13 years agoAdd use strict to metrics.js
Kalervo Kujala [Sat, 15 Oct 2011 11:27:14 +0000 (14:27 +0300)]
Add use strict to metrics.js

13 years agoFix small lint issues.
Kalervo Kujala [Sat, 15 Oct 2011 11:20:15 +0000 (14:20 +0300)]
Fix small lint issues.

13 years agoAdd "bookmark" icon; and fixing scale/ current page number issues
notmasteryet [Sat, 15 Oct 2011 02:05:57 +0000 (21:05 -0500)]
Add "bookmark" icon; and fixing scale/ current page number issues

13 years agoMerge pull request #661 from brendandahl/extgstate
Artur Adib [Fri, 14 Oct 2011 17:55:44 +0000 (10:55 -0700)]
Merge pull request #661 from brendandahl/extgstate

Change two tests to ref tests and improve the extgstate pdf

13 years agoMerge pull request #660 from notmasteryet/tree-33
Artur Adib [Fri, 14 Oct 2011 14:27:51 +0000 (07:27 -0700)]
Merge pull request #660 from notmasteryet/tree-33

Fixing #650 regression

13 years agoMerge branch 'master' of https://github.com/andreasgal/pdf.js.git into tree-33
notmasteryet [Thu, 13 Oct 2011 22:45:58 +0000 (17:45 -0500)]
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into tree-33

13 years agoChange rotation and extgstate to eq tests.
= [Thu, 13 Oct 2011 21:57:56 +0000 (14:57 -0700)]
Change rotation and extgstate to eq tests.

13 years agoRemove debugs
= [Thu, 13 Oct 2011 21:53:46 +0000 (14:53 -0700)]
Remove debugs

13 years agoMaking the test for extgstate be an 'eq' test and making the extgstate pdf
= [Thu, 13 Oct 2011 21:50:47 +0000 (14:50 -0700)]
Making the test for extgstate be an 'eq' test and making the extgstate pdf
more robust for picking up errors.

13 years agoFix `length` in setGState().
Julian Viereck [Thu, 13 Oct 2011 20:54:47 +0000 (22:54 +0200)]
Fix `length` in setGState().

13 years agoMerge pull request #643 from notmasteryet/liveprog
Artur Adib [Thu, 13 Oct 2011 18:53:40 +0000 (11:53 -0700)]
Merge pull request #643 from notmasteryet/liveprog

Getting addition encoding information for cmap from the CFF data (#641)

13 years agoAddress latest review comments by Artur
Julian Viereck [Thu, 13 Oct 2011 18:30:55 +0000 (20:30 +0200)]
Address latest review comments by Artur

13 years agoMerge pull request #640 from notmasteryet/tree-30
Artur Adib [Thu, 13 Oct 2011 16:32:47 +0000 (09:32 -0700)]
Merge pull request #640 from notmasteryet/tree-30

Making Type 2 font sanitazable (#631)

13 years agoFixing duplicate charstring selection
notmasteryet [Thu, 13 Oct 2011 00:53:57 +0000 (19:53 -0500)]
Fixing duplicate charstring selection

13 years agoFixing #650 regression
notmasteryet [Wed, 12 Oct 2011 22:52:11 +0000 (17:52 -0500)]
Fixing #650 regression

13 years agoNit: Rename 's' by 'charcode'
notmasteryet [Wed, 12 Oct 2011 22:37:55 +0000 (17:37 -0500)]
Nit: Rename 's' by 'charcode'

13 years agoMerge branch 'master' of https://github.com/andreasgal/pdf.js.git into liveprog
notmasteryet [Wed, 12 Oct 2011 22:36:03 +0000 (17:36 -0500)]
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into liveprog

13 years agoMerge pull request #656 from notmasteryet/tree-32
Artur Adib [Wed, 12 Oct 2011 15:25:45 +0000 (08:25 -0700)]
Merge pull request #656 from notmasteryet/tree-32

Fixing invalid CFF DICT entry (#621)

13 years agoMerge pull request #650 from notmasteryet/issue-649
Artur Adib [Wed, 12 Oct 2011 14:17:21 +0000 (07:17 -0700)]
Merge pull request #650 from notmasteryet/issue-649

Fixing standard font name resolution (#649)

13 years agoMerge branch 'master' of https://github.com/andreasgal/pdf.js.git into issue-649
notmasteryet [Wed, 12 Oct 2011 01:29:40 +0000 (20:29 -0500)]
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into issue-649

13 years agoFixing invalid CFF DICT entry (#621)
notmasteryet [Wed, 12 Oct 2011 01:27:47 +0000 (20:27 -0500)]
Fixing invalid CFF DICT entry (#621)

13 years agoAdd standard font name test (also for #621)
notmasteryet [Wed, 12 Oct 2011 00:45:55 +0000 (19:45 -0500)]
Add standard font name test (also for #621)

13 years agoMaking the normalized name same in pdf.js and fonts.js
notmasteryet [Wed, 12 Oct 2011 00:38:20 +0000 (19:38 -0500)]
Making the normalized name same in pdf.js and fonts.js

13 years agoMerge pull request #654 from arturadib/make-pages
notmasteryet [Tue, 11 Oct 2011 23:37:03 +0000 (16:37 -0700)]
Merge pull request #654 from arturadib/make-pages

'make web' now also bundles extension (xpi) (#593)

13 years agoAdd fit11-talk as a eq reftest
notmasteryet [Tue, 11 Oct 2011 23:26:25 +0000 (18:26 -0500)]
Add fit11-talk as a eq reftest

13 years agoMerge master -> worker_pull + fix too long line
Julian Viereck [Tue, 11 Oct 2011 20:21:34 +0000 (22:21 +0200)]
Merge master -> worker_pull + fix too long line

13 years agoFix lint, remove for old worker code, fix some small stuff
Julian Viereck [Tue, 11 Oct 2011 18:32:16 +0000 (20:32 +0200)]
Fix lint, remove  for old worker code, fix some small stuff

13 years agoRemove no longer needed viewer_worker.html
Julian Viereck [Tue, 11 Oct 2011 18:18:59 +0000 (20:18 +0200)]
Remove no longer needed viewer_worker.html

13 years agoKill global vars FontsMap, FontLoadedCounter, objIdCounter.
Julian Viereck [Tue, 11 Oct 2011 18:17:35 +0000 (20:17 +0200)]
Kill global vars  FontsMap, FontLoadedCounter, objIdCounter.

13 years agoMake test_slave.html as valid html5.
Kalervo Kujala [Mon, 10 Oct 2011 20:46:43 +0000 (23:46 +0300)]
Make test_slave.html as valid html5.

Fix also warnings in the error console that appear from a test run.

13 years agoFixing disappearing pages (when multiple are visible)
notmasteryet [Sun, 9 Oct 2011 02:06:14 +0000 (21:06 -0500)]
Fixing disappearing pages (when multiple are visible)