]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
13 years agoMerge pull request #457 from kkujala/master
notmasteryet [Fri, 9 Sep 2011 22:46:22 +0000 (15:46 -0700)]
Merge pull request #457 from kkujala/master

Fix gjslint warnings.

13 years agoInitialize inputBuf to zero.
Kalervo Kujala [Fri, 9 Sep 2011 17:12:38 +0000 (20:12 +0300)]
Initialize inputBuf to zero.

13 years agoFix lastRow bug.
Kalervo Kujala [Thu, 8 Sep 2011 21:52:11 +0000 (00:52 +0300)]
Fix lastRow bug.

It was introduced by 99ffc9991e00210d9f4c2dc1a97fee5021553264.

13 years agoInitialize inputBuf.
Kalervo Kujala [Thu, 8 Sep 2011 20:10:49 +0000 (23:10 +0300)]
Initialize inputBuf.

Fix also another jslint error.

13 years agoFix gjslint warnings.
Kalervo Kujala [Thu, 8 Sep 2011 19:37:35 +0000 (22:37 +0300)]
Fix gjslint warnings.

13 years agoMerge pull request #456 from notmasteryet/pdfstring
Andreas Gal [Thu, 8 Sep 2011 01:32:26 +0000 (18:32 -0700)]
Merge pull request #456 from notmasteryet/pdfstring

Add PDFString conversion function

13 years agoAdd PDFString conversion
notmasteryet [Thu, 8 Sep 2011 01:16:32 +0000 (20:16 -0500)]
Add PDFString conversion

13 years agoMerge pull request #454 from vingtetun/refactor
notmasteryet [Thu, 8 Sep 2011 00:30:56 +0000 (17:30 -0700)]
Merge pull request #454 from vingtetun/refactor

Refactor the translateFont() method to be more readable and simpler

13 years agoMerge pull request #455 from kkujala/master
vingtetun [Wed, 7 Sep 2011 23:30:05 +0000 (16:30 -0700)]
Merge pull request #455 from kkujala/master

Fix array initializations.

13 years agoUse typed arrays instead of normal arrays in FlateStream.
Kalervo Kujala [Wed, 7 Sep 2011 20:07:29 +0000 (23:07 +0300)]
Use typed arrays instead of normal arrays in FlateStream.

Also fix a couple of lint warnings.

13 years agoFix array initializations.
Kalervo Kujala [Wed, 7 Sep 2011 19:11:30 +0000 (22:11 +0300)]
Fix array initializations.

And refactor one loop.

13 years agoRevert a change from the narrow hack
Vivien Nicolas [Wed, 7 Sep 2011 18:18:02 +0000 (20:18 +0200)]
Revert a change from the narrow hack

13 years agoMerge remote branch 'upstream/master' into refactor
Vivien Nicolas [Wed, 7 Sep 2011 17:57:25 +0000 (19:57 +0200)]
Merge remote branch 'upstream/master' into refactor

13 years agoRefactor translateFont() to be more readable - part3
Vivien Nicolas [Wed, 7 Sep 2011 17:56:45 +0000 (19:56 +0200)]
Refactor translateFont() to be more readable - part3

13 years agoRefactor translateFont() to be more readable - part2
Vivien Nicolas [Wed, 7 Sep 2011 17:34:53 +0000 (19:34 +0200)]
Refactor translateFont() to be more readable - part2

13 years agoMerge pull request #453 from vingtetun/master
Andreas Gal [Wed, 7 Sep 2011 17:24:21 +0000 (10:24 -0700)]
Merge pull request #453 from vingtetun/master

Fix for #451

13 years agoMerge pull request #446 from vingtetun/extension
Andreas Gal [Wed, 7 Sep 2011 17:17:21 +0000 (10:17 -0700)]
Merge pull request #446 from vingtetun/extension

Initial import of the Firefox extension (issue #424)

13 years agoRefactor translateFont() to be more readable
Vivien Nicolas [Wed, 7 Sep 2011 16:00:38 +0000 (18:00 +0200)]
Refactor translateFont() to be more readable

13 years agoFix lenIV misreading and warn instead of stop for unimplemented Type1 commands
Vivien Nicolas [Wed, 7 Sep 2011 13:20:23 +0000 (15:20 +0200)]
Fix lenIV misreading and warn instead of stop for unimplemented Type1 commands

13 years agoMerge pull request #447 from vingtetun/serif
notmasteryet [Wed, 7 Sep 2011 00:33:18 +0000 (17:33 -0700)]
Merge pull request #447 from vingtetun/serif

Add a list of common serif fonts to not always fallback on sans-serif

13 years agoMerge pull request #448 from kkujala/master
notmasteryet [Tue, 6 Sep 2011 23:33:40 +0000 (16:33 -0700)]
Merge pull request #448 from kkujala/master

Use radix in parseInt function calls.

13 years agoMerge pull request #443 from vingtetun/master
notmasteryet [Tue, 6 Sep 2011 23:14:48 +0000 (16:14 -0700)]
Merge pull request #443 from vingtetun/master

Partial fix for issue #440

13 years agoUse radix in parseInt function calls.
Kalervo Kujala [Tue, 6 Sep 2011 22:39:48 +0000 (01:39 +0300)]
Use radix in parseInt function calls.

13 years agoAdd a list of common serif fonts to not always fallback on sans-serif if the font...
Vivien Nicolas [Tue, 6 Sep 2011 22:29:08 +0000 (00:29 +0200)]
Add a list of common serif fonts to not always fallback on sans-serif if the font file is missing

13 years agoMerge pull request #445 from kkujala/master
vingtetun [Tue, 6 Sep 2011 22:21:44 +0000 (15:21 -0700)]
Merge pull request #445 from kkujala/master

Use unique variable names in toplevelPagesDict function.

13 years agoFix review comments from #424
Vivien Nicolas [Tue, 6 Sep 2011 22:19:58 +0000 (00:19 +0200)]
Fix review comments from #424

13 years agoUse unique variable names in toplevelPagesDict function.
Kalervo Kujala [Tue, 6 Sep 2011 22:17:06 +0000 (01:17 +0300)]
Use unique variable names in toplevelPagesDict function.

13 years agoInitial import of the Firefox extension
Vivien Nicolas [Tue, 6 Sep 2011 22:00:24 +0000 (00:00 +0200)]
Initial import of the Firefox extension

13 years agoMerge pull request #444 from kkujala/master
notmasteryet [Tue, 6 Sep 2011 21:40:44 +0000 (14:40 -0700)]
Merge pull request #444 from kkujala/master

Use radix in parseInt function calls.

13 years agoUse radix in parseInt function calls.
Kalervo Kujala [Tue, 6 Sep 2011 21:34:58 +0000 (00:34 +0300)]
Use radix in parseInt function calls.

13 years agoMerge pull request #442 from arturadib/fix-tellAppToQuit
Andreas Gal [Tue, 6 Sep 2011 18:06:38 +0000 (11:06 -0700)]
Merge pull request #442 from arturadib/fix-tellAppToQuit

Fixed browser shutdown bug in Mac tests

13 years agoFixed browser shutdown bug for Macs
Artur Adib [Tue, 6 Sep 2011 17:59:14 +0000 (13:59 -0400)]
Fixed browser shutdown bug for Macs

The unnecessary spaces in the URL query were causing `tellAppToQuit()` to fail to detect the query `path`, so the browser was being killed via timeout instead of intended script.

13 years agoDo not alter the encoding if no file is going to be altered
Vivien Nicolas [Tue, 6 Sep 2011 15:26:48 +0000 (17:26 +0200)]
Do not alter the encoding if no file is going to be altered

13 years agoMerge remote branch 'upstream/master'
Vivien Nicolas [Tue, 6 Sep 2011 13:45:56 +0000 (15:45 +0200)]
Merge remote branch 'upstream/master'

13 years agoMerge pull request #438 from notmasteryet/zoom-bookmark
vingtetun [Tue, 6 Sep 2011 13:45:07 +0000 (06:45 -0700)]
Merge pull request #438 from notmasteryet/zoom-bookmark

Scrolling (and zoom) to the bookmark

13 years agoFix cmap encoding records to pass the sanitizer in the case of a duplicate platform...
Vivien Nicolas [Tue, 6 Sep 2011 13:12:33 +0000 (15:12 +0200)]
Fix cmap encoding records to pass the sanitizer in the case of a duplicate platform: 1, encoding: 0

13 years agoUse sans-serif for font fallback by default
Vivien Nicolas [Tue, 6 Sep 2011 13:11:07 +0000 (15:11 +0200)]
Use sans-serif for font fallback by default

13 years agoMerge pull request #439 from notmasteryet/tree-13
Chris Jones [Tue, 6 Sep 2011 03:33:06 +0000 (20:33 -0700)]
Merge pull request #439 from notmasteryet/tree-13

Allow test.py serve files with spaces in the name

13 years agoAllow test.py serve files with spaces in the name
notmasteryet [Tue, 6 Sep 2011 03:19:20 +0000 (22:19 -0500)]
Allow test.py serve files with spaces in the name

13 years agoMerge pull request #436 from vingtetun/master
notmasteryet [Tue, 6 Sep 2011 02:30:06 +0000 (19:30 -0700)]
Merge pull request #436 from vingtetun/master

Fix issue #434

13 years agoFix review comments for #436
Vivien Nicolas [Tue, 6 Sep 2011 00:28:06 +0000 (02:28 +0200)]
Fix review comments for #436

13 years agoMerge pull request #437 from kkujala/master
notmasteryet [Mon, 5 Sep 2011 21:32:46 +0000 (14:32 -0700)]
Merge pull request #437 from kkujala/master

Fix a bug and speed up graycs_getRgbBuffer.

13 years agoFix a bug and speed up graycs_getRgbBuffer.
Kalervo Kujala [Mon, 5 Sep 2011 21:11:24 +0000 (00:11 +0300)]
Fix a bug and speed up graycs_getRgbBuffer.

An rgbBuffer was created which was three times as big as intended. It also
caused that the function was very slow when rendering cable.pdf. Which led
to a slow script warning dialog.

With this fix the function speeds up fifteen-fold in the firebug profile.

13 years agoMerge branch 'master' of https://github.com/andreasgal/pdf.js.git into zoom-bookmark
notmasteryet [Mon, 5 Sep 2011 20:54:54 +0000 (15:54 -0500)]
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into zoom-bookmark

Conflicts:
web/viewer.js

13 years agoFix a bug and speed up graycs_getRgbBuffer.
Kalervo Kujala [Mon, 5 Sep 2011 20:11:48 +0000 (23:11 +0300)]
Fix a bug and speed up graycs_getRgbBuffer.

An rgbBuffer was created which was three times as big as intended. It also
caused that the function was very slow when rendering cable.pdf. Which led
to a slow script warning dialog.

With this fix the function speeds up ten-fold in the firebug profile.

13 years agoAdd '^M' support in the ASCII85Decode filter and fix the fonts code to load the Type1...
Vivien Nicolas [Mon, 5 Sep 2011 20:09:40 +0000 (22:09 +0200)]
Add '^M' support in the ASCII85Decode filter and fix the fonts code to load the Type1 spec

13 years agoLength[1-2] can be a reference
Vivien Nicolas [Mon, 5 Sep 2011 19:01:39 +0000 (21:01 +0200)]
Length[1-2] can be a reference

13 years agoDo not add kCmapGlyphOffset to Type1C mapping unless it is necessary
Vivien Nicolas [Mon, 5 Sep 2011 16:04:41 +0000 (18:04 +0200)]
Do not add kCmapGlyphOffset to Type1C mapping unless it is necessary

13 years agoRemove the isDisplayable function and use inline code instead
Vivien Nicolas [Mon, 5 Sep 2011 15:34:52 +0000 (17:34 +0200)]
Remove the isDisplayable function and use inline code instead

13 years agoMerge remote branch 'upstream/master'
Vivien Nicolas [Mon, 5 Sep 2011 15:30:59 +0000 (17:30 +0200)]
Merge remote branch 'upstream/master'

13 years agoMove all format 0 characters to the private area
Vivien Nicolas [Mon, 5 Sep 2011 15:30:01 +0000 (17:30 +0200)]
Move all format 0 characters to the private area

13 years agoMerge pull request #426 from notmasteryet/zoom
vingtetun [Mon, 5 Sep 2011 15:08:07 +0000 (08:08 -0700)]
Merge pull request #426 from notmasteryet/zoom

Zoom controls

13 years agoMerge pull request #435 from vingtetun/master
notmasteryet [Mon, 5 Sep 2011 14:37:35 +0000 (07:37 -0700)]
Merge pull request #435 from vingtetun/master

Fix for #427 and nit of #422

13 years agoFixing #426 comment; add '0' key as a scale reset
notmasteryet [Mon, 5 Sep 2011 14:07:18 +0000 (09:07 -0500)]
Fixing #426 comment; add '0' key as a scale reset

13 years agoFix wrong mapping for issue #434
Vivien Nicolas [Mon, 5 Sep 2011 13:36:38 +0000 (15:36 +0200)]
Fix wrong mapping for issue #434

13 years agoFix regression on i9.pdf
Vivien Nicolas [Mon, 5 Sep 2011 12:35:03 +0000 (14:35 +0200)]
Fix regression on i9.pdf

13 years agoMerge pull request #433 from kkujala/master
Chris Jones [Mon, 5 Sep 2011 07:18:53 +0000 (00:18 -0700)]
Merge pull request #433 from kkujala/master

Fix some jslint warnings.

13 years agoExact positioning of the bookmark
notmasteryet [Mon, 5 Sep 2011 00:46:06 +0000 (19:46 -0500)]
Exact positioning of the bookmark

13 years agoMerge branch 'master' of https://github.com/andreasgal/pdf.js.git into zoom-bookmark
notmasteryet [Sun, 4 Sep 2011 23:46:26 +0000 (18:46 -0500)]
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into zoom-bookmark

13 years agoFix some jslint warnings.
Kalervo Kujala [Sun, 4 Sep 2011 11:37:30 +0000 (14:37 +0300)]
Fix some jslint warnings.

13 years agoMerge pull request #431 from kkujala/master
notmasteryet [Sat, 3 Sep 2011 19:41:00 +0000 (12:41 -0700)]
Merge pull request #431 from kkujala/master

Fix xref bug.

13 years agoAddress comments for xref bug.
Kalervo Kujala [Sat, 3 Sep 2011 19:28:45 +0000 (22:28 +0300)]
Address comments for xref bug.

13 years agoFix xref bug.
Kalervo Kujala [Sat, 3 Sep 2011 18:41:50 +0000 (21:41 +0300)]
Fix xref bug.

Use this.xref instead of xref in fetchDestinations function.

13 years agoMerge pull request #429 from kkujala/master
Andreas Gal [Sat, 3 Sep 2011 17:56:38 +0000 (10:56 -0700)]
Merge pull request #429 from kkujala/master

Small corrections to pdf.js.

13 years agoSmall corrections to pdf.js.
Kalervo Kujala [Sat, 3 Sep 2011 17:47:58 +0000 (20:47 +0300)]
Small corrections to pdf.js.

Also fix some lint errors.

13 years agoTango icons, simplifying the CSS
notmasteryet [Sat, 3 Sep 2011 14:10:24 +0000 (09:10 -0500)]
Tango icons, simplifying the CSS

13 years agoZoom In/Out buttons
notmasteryet [Sat, 3 Sep 2011 01:36:17 +0000 (20:36 -0500)]
Zoom In/Out buttons

13 years agoZooming control
notmasteryet [Sat, 3 Sep 2011 01:16:52 +0000 (20:16 -0500)]
Zooming control

13 years agoMerge pull request #422 from vingtetun/master
Andreas Gal [Fri, 2 Sep 2011 15:21:35 +0000 (08:21 -0700)]
Merge pull request #422 from vingtetun/master

Fix some Type1 issues encounterd with http://faq.ktug.or.kr/wiki/uploads/MathFonts.pdf

13 years agoEnsure the characters between 127 and 255 are shown
Vivien Nicolas [Fri, 2 Sep 2011 13:47:34 +0000 (15:47 +0200)]
Ensure the characters between 127 and 255 are shown

13 years agoAdd a comment about supporting hint replacement
Vivien Nicolas [Fri, 2 Sep 2011 13:26:16 +0000 (15:26 +0200)]
Add a comment about supporting hint replacement

13 years agoBe more flexible about Subrs parsing
Vivien Nicolas [Fri, 2 Sep 2011 12:21:48 +0000 (14:21 +0200)]
Be more flexible about Subrs parsing

13 years agoUse lenIV to read the subrs section
Vivien Nicolas [Fri, 2 Sep 2011 11:37:39 +0000 (13:37 +0200)]
Use lenIV to read the subrs section

13 years agoShow Type1 glyphs below 0x20, fix a bug in readNumberArray, read lenIV
Vivien Nicolas [Thu, 1 Sep 2011 17:50:04 +0000 (19:50 +0200)]
Show Type1 glyphs below 0x20, fix a bug in readNumberArray, read lenIV

13 years agoMerge pull request #420 from vingtetun/master
Chris Jones [Thu, 1 Sep 2011 03:03:38 +0000 (20:03 -0700)]
Merge pull request #420 from vingtetun/master

Workaround for issue #319

13 years agoSimulate Arial Black and Arial Narrow
Vivien Nicolas [Thu, 1 Sep 2011 02:06:33 +0000 (04:06 +0200)]
Simulate Arial Black and Arial Narrow

13 years agoMerge pull request #419 from vingtetun/master
Chris Jones [Wed, 31 Aug 2011 23:26:06 +0000 (16:26 -0700)]
Merge pull request #419 from vingtetun/master

Fix for issue #418

13 years agoAddress review comment for pull #419
Vivien Nicolas [Wed, 31 Aug 2011 23:16:40 +0000 (01:16 +0200)]
Address review comment for pull #419

13 years agoFix for issue #418
Vivien Nicolas [Wed, 31 Aug 2011 21:26:34 +0000 (23:26 +0200)]
Fix for issue #418

13 years agoMerge pull request #409 from vingtetun/master
Andreas Gal [Wed, 31 Aug 2011 15:39:00 +0000 (08:39 -0700)]
Merge pull request #409 from vingtetun/master

Allow bypassing the sanitizer for Type1C font with encoding supplement

13 years agoMerge pull request #417 from notmasteryet/thumbs3
Andreas Gal [Wed, 31 Aug 2011 14:17:25 +0000 (07:17 -0700)]
Merge pull request #417 from notmasteryet/thumbs3

Scale thumbnails proportionally

13 years agoChromium throw an error on calling defineProperty on a getter only
Vivien Nicolas [Wed, 31 Aug 2011 12:41:21 +0000 (14:41 +0200)]
Chromium throw an error on calling defineProperty on a getter only

13 years agoScale images proportionally
notmasteryet [Wed, 31 Aug 2011 12:22:48 +0000 (07:22 -0500)]
Scale images proportionally

13 years agoFix a warning when the destination link point to nothing
Vivien Nicolas [Wed, 31 Aug 2011 12:17:57 +0000 (14:17 +0200)]
Fix a warning when the destination link point to nothing

13 years agoMerge remote branch 'upstream/master'
Vivien Nicolas [Wed, 31 Aug 2011 11:43:28 +0000 (13:43 +0200)]
Merge remote branch 'upstream/master'

13 years agoAddress review comments of #409
Vivien Nicolas [Wed, 31 Aug 2011 11:42:10 +0000 (13:42 +0200)]
Address review comments of #409

13 years agoMerge pull request #416 from notmasteryet/tree-11
Andreas Gal [Wed, 31 Aug 2011 05:29:05 +0000 (22:29 -0700)]
Merge pull request #416 from notmasteryet/tree-11

Fixing lint warnings

13 years agoMerge pull request #415 from notmasteryet/tree-10
Andreas Gal [Wed, 31 Aug 2011 05:28:27 +0000 (22:28 -0700)]
Merge pull request #415 from notmasteryet/tree-10

Add PdKids.pdf as a ref test

13 years agoMerge pull request #413 from notmasteryet/indexedcs
Chris Jones [Wed, 31 Aug 2011 05:28:00 +0000 (22:28 -0700)]
Merge pull request #413 from notmasteryet/indexedcs

Fixing Indexed color space (#411)

13 years agoFixing lint warnings
notmasteryet [Wed, 31 Aug 2011 03:46:02 +0000 (22:46 -0500)]
Fixing lint warnings

13 years agoAdd PdKids.pdf as a ref test
notmasteryet [Wed, 31 Aug 2011 03:32:56 +0000 (22:32 -0500)]
Add PdKids.pdf as a ref test

13 years agoOptimization of getComponents()
notmasteryet [Wed, 31 Aug 2011 03:08:41 +0000 (22:08 -0500)]
Optimization of getComponents()

13 years agoFixing Indexed color space (#411)
notmasteryet [Wed, 31 Aug 2011 03:03:15 +0000 (22:03 -0500)]
Fixing Indexed color space (#411)

13 years agoMerge remote branch 'upstream/master'
Vivien Nicolas [Wed, 31 Aug 2011 02:12:28 +0000 (04:12 +0200)]
Merge remote branch 'upstream/master'

13 years agoMerge pull request #410 from kkujala/master
Andreas Gal [Wed, 31 Aug 2011 01:59:20 +0000 (18:59 -0700)]
Merge pull request #410 from kkujala/master

Fix a small bug in getBlackCode.

13 years agoFix a small bug in getBlackCode.
Kalervo Kujala [Wed, 31 Aug 2011 01:46:59 +0000 (04:46 +0300)]
Fix a small bug in getBlackCode.

And refactor the code a litlle bit.

13 years agoEnsure lastChar is correct if it's not specified
Vivien Nicolas [Wed, 31 Aug 2011 01:31:45 +0000 (03:31 +0200)]
Ensure lastChar is correct if it's not specified

13 years agoFix another regression on pdf.pdf#5
Vivien Nicolas [Wed, 31 Aug 2011 00:18:13 +0000 (02:18 +0200)]
Fix another regression on pdf.pdf#5

13 years agoFix PDF reference regression
Vivien Nicolas [Tue, 30 Aug 2011 23:48:56 +0000 (01:48 +0200)]
Fix PDF reference regression

13 years agoLie to the sanitizer about the real nature of Type1C font
Vivien Nicolas [Tue, 30 Aug 2011 23:23:55 +0000 (01:23 +0200)]
Lie to the sanitizer about the real nature of Type1C font