]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
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 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 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.

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.