]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
13 years agoRefactored the multi-page viewer to adhere to the coding style guidelines.
Justin D'Arcangelo [Fri, 24 Jun 2011 00:50:01 +0000 (20:50 -0400)]
Refactored the multi-page viewer to adhere to the coding style guidelines.

13 years agoTODO for bpc!=8
Chris Jones [Fri, 24 Jun 2011 00:09:42 +0000 (17:09 -0700)]
TODO for bpc!=8

13 years agoMerge pull request #65 from sayrer/master
Chris Jones [Thu, 23 Jun 2011 23:18:05 +0000 (16:18 -0700)]
Merge pull request #65 from sayrer/master

Let the browser quit, add automation into harness rather than rely on shell scripts

13 years agoonly supply a -foreground argument on Mac.
Rob Sayre [Thu, 23 Jun 2011 22:47:25 +0000 (15:47 -0700)]
only supply a -foreground argument on Mac.

13 years agofix rendering of some symbols. Patch by Vivien Nicolas.
Chris Jones [Thu, 23 Jun 2011 22:36:53 +0000 (15:36 -0700)]
fix rendering of some symbols.  Patch by Vivien Nicolas.

13 years agoMerge pull request #45 from jviereck/master
Chris Jones [Thu, 23 Jun 2011 22:21:10 +0000 (15:21 -0700)]
Merge pull request #45 from jviereck/master

WebWorker support

13 years agoRemove invalid trailing commas.
Rob Sayre [Thu, 23 Jun 2011 22:09:17 +0000 (15:09 -0700)]
Remove invalid trailing commas.

13 years agoSmall rebase tidyup + cleanup
Julian Viereck [Thu, 23 Jun 2011 21:55:14 +0000 (23:55 +0200)]
Small rebase tidyup + cleanup

13 years agoReplace tic & toc by console.time/timeEnd
Julian Viereck [Thu, 23 Jun 2011 21:06:33 +0000 (23:06 +0200)]
Replace tic & toc by console.time/timeEnd

13 years agoReverts parts of 60f4d16360: Use old font-is-loaded mechanism + some code refactoring...
Julian Viereck [Thu, 23 Jun 2011 20:55:26 +0000 (22:55 +0200)]
Reverts parts of 60f4d16360: Use old font-is-loaded mechanism + some code refactoring to add bindDOM and bindWorker.

13 years agoClear the main canvas right before the next rendering begins. Keeps the canvas from...
Julian Viereck [Thu, 23 Jun 2011 20:24:41 +0000 (22:24 +0200)]
Clear the main canvas right before the next rendering begins. Keeps the canvas from beeing blank for a few ms

13 years agoEnsure divs used to make fonts load are not visible
Julian Viereck [Thu, 23 Jun 2011 17:43:01 +0000 (19:43 +0200)]
Ensure divs used to make fonts load are not visible

13 years agoFix WebWorker logging and add separate timing for `fonts`.
Julian Viereck [Thu, 23 Jun 2011 13:24:55 +0000 (15:24 +0200)]
Fix WebWorker logging and add separate timing for `fonts`.

13 years agoFix sending image data to main thread
Julian Viereck [Thu, 23 Jun 2011 12:36:45 +0000 (14:36 +0200)]
Fix sending image data to main thread

13 years agoChange postMessage to send only one object that holds the action and data.
Julian Viereck [Thu, 23 Jun 2011 11:25:59 +0000 (13:25 +0200)]
Change postMessage to send only one object that holds the action and data.

13 years agoFirst pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff
Julian Viereck [Thu, 23 Jun 2011 11:09:36 +0000 (13:09 +0200)]
First pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff

13 years agoMove client code into worker_client.js. Cleanup + comments + 2-space-indention
Julian Viereck [Wed, 22 Jun 2011 20:54:16 +0000 (22:54 +0200)]
Move client code into worker_client.js. Cleanup + comments + 2-space-indention

13 years agoFix putImageData. Needs to be copied byte by byte.
Julian Viereck [Wed, 22 Jun 2011 20:00:53 +0000 (22:00 +0200)]
Fix putImageData. Needs to be copied byte by byte.

13 years agoAdd PatternProxy; makes page 13 work
Julian Viereck [Wed, 22 Jun 2011 19:17:32 +0000 (21:17 +0200)]
Add PatternProxy; makes page 13 work

13 years agoMerge ImageCanvasProxy and CanvasProxy. Add support for rendering multiple canvas...
Julian Viereck [Wed, 22 Jun 2011 18:49:33 +0000 (20:49 +0200)]
Merge ImageCanvasProxy and CanvasProxy. Add support for rendering multiple canvas objects on the worker and assemble them again on the main thread.

13 years agoReplace ImageCanvas by ScratchCanvas
Julian Viereck [Wed, 22 Jun 2011 18:16:04 +0000 (20:16 +0200)]
Replace ImageCanvas by ScratchCanvas

13 years agoMake the ProxyCanvas be more a canvas - provide a ctx object to interact through
Julian Viereck [Wed, 22 Jun 2011 18:04:25 +0000 (20:04 +0200)]
Make the ProxyCanvas be more a canvas - provide a ctx object to interact through

13 years agoAdd very simple GradientProxy support - makes page 11 render.
Julian Viereck [Wed, 22 Jun 2011 12:25:21 +0000 (14:25 +0200)]
Add very simple GradientProxy support - makes page 11 render.

13 years agoAdd JpegStreamProxy - doesnt seem to be used anywhere in the example.pdf file
Julian Viereck [Wed, 22 Jun 2011 12:02:54 +0000 (14:02 +0200)]
Add JpegStreamProxy - doesnt seem to be used anywhere in the example.pdf file

13 years agoFix font loading issue by using a hidden DOM font node
Julian Viereck [Wed, 22 Jun 2011 11:19:25 +0000 (13:19 +0200)]
Fix font loading issue by using a hidden DOM font node

13 years agoFixing some smaller bugs & do some cleanup. viewer_worker.html UI is now
Julian Viereck [Wed, 22 Jun 2011 09:08:30 +0000 (11:08 +0200)]
Fixing some smaller bugs & do some cleanup. viewer_worker.html UI is now

13 years agoGet working for not real images
Julian Viereck [Wed, 22 Jun 2011 08:40:51 +0000 (10:40 +0200)]
Get  working for not real images

13 years agoIntroduce ImageCanvas to handle canvas rendering in WebWorker
Julian Viereck [Wed, 22 Jun 2011 07:46:11 +0000 (09:46 +0200)]
Introduce ImageCanvas to handle canvas rendering in WebWorker

13 years agoMake fonts getting loaded by a very nasty hack
Julian Viereck [Wed, 22 Jun 2011 07:15:55 +0000 (09:15 +0200)]
Make fonts getting loaded by a very nasty hack

13 years agoMost working, but once you add the font-css file to the web page, there is no font...
Julian Viereck [Tue, 21 Jun 2011 23:28:17 +0000 (01:28 +0200)]
Most working, but once you add the font-css file to the web page, there is no font drawn at all

13 years agoBackup work
Julian Viereck [Tue, 21 Jun 2011 21:33:11 +0000 (23:33 +0200)]
Backup work

13 years agoCleanup newlines and fix a mistakenly symlinked file.
Rob Sayre [Thu, 23 Jun 2011 20:59:38 +0000 (13:59 -0700)]
Cleanup newlines and fix a mistakenly symlinked file.

13 years agoMerge remote branch 'upstream/master'
Rob Sayre [Thu, 23 Jun 2011 20:49:16 +0000 (13:49 -0700)]
Merge remote branch 'upstream/master'

13 years agoAdd sample manifests. Also make a browser path argument, so you can just specify...
Rob Sayre [Thu, 23 Jun 2011 20:47:43 +0000 (13:47 -0700)]
Add sample manifests. Also make a browser path argument, so you can just specify one browser without messing with a manifest.

13 years agoAdd SpecialPowers extension to allow the browser to quit from content, and a bunch...
Rob Sayre [Thu, 23 Jun 2011 20:12:22 +0000 (13:12 -0700)]
Add SpecialPowers extension to allow the browser to quit from content, and a bunch of other exciting things.

13 years agoMerge pull request #63 from sbarman/uncompressedflate
Andreas Gal [Thu, 23 Jun 2011 19:05:38 +0000 (12:05 -0700)]
Merge pull request #63 from sbarman/uncompressedflate

Uncompressed flate

13 years agoAdd a user.js file Firefox profile. Change HTTP server to run on background thread.
Rob Sayre [Thu, 23 Jun 2011 18:24:36 +0000 (11:24 -0700)]
Add a user.js file Firefox profile. Change HTTP server to run on background thread.

13 years agoAdd pdf.pdf to .gitignore
Rob Sayre [Thu, 23 Jun 2011 17:27:53 +0000 (10:27 -0700)]
Add pdf.pdf to .gitignore

13 years agoMerge upstream.
Rob Sayre [Thu, 23 Jun 2011 16:57:36 +0000 (09:57 -0700)]
Merge upstream.

13 years agoModify paths of web resources to work with test resources more buried.
Rob Sayre [Thu, 23 Jun 2011 16:48:34 +0000 (09:48 -0700)]
Modify paths of web resources to work with test resources more buried.

13 years agoMerge branch 'master' into uncompressedflate
sbarman [Thu, 23 Jun 2011 16:42:52 +0000 (09:42 -0700)]
Merge branch 'master' into uncompressedflate

13 years agofix for uncompressed flatestream blocks
sbarman [Thu, 23 Jun 2011 16:41:59 +0000 (09:41 -0700)]
fix for uncompressed flatestream blocks

13 years agoMove some files around.
Rob Sayre [Thu, 23 Jun 2011 16:10:06 +0000 (09:10 -0700)]
Move some files around.

13 years agoMerge pull request #62 from sbarman/master
Andreas Gal [Thu, 23 Jun 2011 16:06:48 +0000 (09:06 -0700)]
Merge pull request #62 from sbarman/master

FakeStream to simulate filters which have not been implemented

13 years agoAdd new test directories.
Rob Sayre [Thu, 23 Jun 2011 16:05:51 +0000 (09:05 -0700)]
Add new test directories.

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
sbarman [Thu, 23 Jun 2011 15:05:00 +0000 (08:05 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoMerge pull request #61 from vingtetun/master
Andreas Gal [Thu, 23 Jun 2011 04:00:36 +0000 (21:00 -0700)]
Merge pull request #61 from vingtetun/master

Fix some spacing issues with ligatures, hinting, ...

13 years agofix bug in testing multiple browsers
Chris Jones [Thu, 23 Jun 2011 03:47:37 +0000 (20:47 -0700)]
fix bug in testing multiple browsers

13 years agoUse the real content of the string to measure it's size
Vivien Nicolas [Thu, 23 Jun 2011 03:38:05 +0000 (05:38 +0200)]
Use the real content of the string to measure it's size

13 years agofake stream for unimplemented filters
sbarman [Thu, 23 Jun 2011 02:20:03 +0000 (19:20 -0700)]
fake stream for unimplemented filters

13 years agofix strict-mode violations in chrome
Chris Jones [Thu, 23 Jun 2011 01:50:38 +0000 (18:50 -0700)]
fix strict-mode violations in chrome

13 years agoremove debugging code
Chris Jones [Thu, 23 Jun 2011 01:40:20 +0000 (18:40 -0700)]
remove debugging code

13 years agoactually wait for fonts to be loaded, and write out a log of failed eq comparisons
Chris Jones [Thu, 23 Jun 2011 01:37:58 +0000 (18:37 -0700)]
actually wait for fonts to be loaded, and write out a log of failed eq comparisons

13 years agoremove some accidental print statements.
Rob Sayre [Thu, 23 Jun 2011 00:12:02 +0000 (17:12 -0700)]
remove some accidental print statements.

13 years agoChange test.py to use an external browser_manifest.json file, and use OptionParser...
Rob Sayre [Wed, 22 Jun 2011 23:56:31 +0000 (16:56 -0700)]
Change test.py to use an external browser_manifest.json file, and use OptionParser to handle the command line.

13 years agoMerge pull request #53 from vingtetun/master
Andreas Gal [Wed, 22 Jun 2011 18:42:06 +0000 (11:42 -0700)]
Merge pull request #53 from vingtetun/master

Merge TTF font rewriting to pass the font sanitization pass.

13 years agoadd TODO() for Shading Pattern
Chris Jones [Wed, 22 Jun 2011 09:37:59 +0000 (02:37 -0700)]
add TODO() for Shading Pattern

13 years agoMerge remote branch 'upstream/master'
Vivien Nicolas [Wed, 22 Jun 2011 09:31:24 +0000 (11:31 +0200)]
Merge remote branch 'upstream/master'

13 years agoFill more gaps for Format 6 dense array
Vivien Nicolas [Wed, 22 Jun 2011 09:25:00 +0000 (11:25 +0200)]
Fill more gaps for Format 6 dense array

13 years agoTODO() for 4-component-per-pixel images
Chris Jones [Wed, 22 Jun 2011 09:23:15 +0000 (02:23 -0700)]
TODO() for 4-component-per-pixel images

13 years agoTODO() for radial shading
Chris Jones [Wed, 22 Jun 2011 09:17:45 +0000 (02:17 -0700)]
TODO() for radial shading

13 years agoband-aid lack of Indexed color space
Chris Jones [Wed, 22 Jun 2011 09:10:08 +0000 (02:10 -0700)]
band-aid lack of Indexed color space

13 years agoEnhance the converter code by filling Format 6 dense array gaps
Vivien Nicolas [Wed, 22 Jun 2011 08:56:31 +0000 (10:56 +0200)]
Enhance the converter code by filling Format 6 dense array gaps

13 years agodeal with apparent lack of FontDescriptor for standard fonts
Chris Jones [Wed, 22 Jun 2011 08:50:43 +0000 (01:50 -0700)]
deal with apparent lack of FontDescriptor for standard fonts

13 years agoadd support for test "master mode" and finish impl of eq tests
Chris Jones [Wed, 22 Jun 2011 08:35:46 +0000 (01:35 -0700)]
add support for test "master mode" and finish impl of eq tests

13 years agodon't let getPage() errors break the test slave
Chris Jones [Wed, 22 Jun 2011 07:05:45 +0000 (00:05 -0700)]
don't let getPage() errors break the test slave

13 years agofix typo
Andreas Gal [Wed, 22 Jun 2011 06:36:34 +0000 (02:36 -0400)]
fix typo

13 years agofix other cases of reading this.buffer before ensureBuffer, too
Andreas Gal [Wed, 22 Jun 2011 06:35:42 +0000 (02:35 -0400)]
fix other cases of reading this.buffer before ensureBuffer, too

13 years agoensureBuffer can modify this.buffer, so read it after ensureBuffer
Andreas Gal [Wed, 22 Jun 2011 06:34:26 +0000 (02:34 -0400)]
ensureBuffer can modify this.buffer, so read it after ensureBuffer

13 years agoMerge pull request #48 from sbarman/ascii85
sbarman [Wed, 22 Jun 2011 05:57:15 +0000 (22:57 -0700)]
Merge pull request #48 from sbarman/ascii85

Ascii85Stream

13 years agomoved array allocation to consturctor
sbarman [Wed, 22 Jun 2011 05:53:47 +0000 (22:53 -0700)]
moved array allocation to consturctor

13 years agoStart of a TTF Format6 to Format4 converter (sigh)
Vivien Nicolas [Wed, 22 Jun 2011 05:46:41 +0000 (07:46 +0200)]
Start of a TTF Format6 to Format4 converter (sigh)

13 years agoclean up code
sbarman [Wed, 22 Jun 2011 05:43:03 +0000 (22:43 -0700)]
clean up code

13 years agomade Ascii85Stream be a child of DecodeStream
sbarman [Wed, 22 Jun 2011 05:39:38 +0000 (22:39 -0700)]
made Ascii85Stream be a child of DecodeStream

13 years agoavoid frequent calls to ensureBuffer during decompression
Andreas Gal [Wed, 22 Jun 2011 05:12:27 +0000 (01:12 -0400)]
avoid frequent calls to ensureBuffer during decompression

13 years agoMerge.
Andreas Gal [Wed, 22 Jun 2011 05:05:11 +0000 (01:05 -0400)]
Merge.

13 years agoMerge branch 'master' into ascii85
sbarman [Wed, 22 Jun 2011 05:04:21 +0000 (22:04 -0700)]
Merge branch 'master' into ascii85

13 years agoMerge pull request #46 from sbarman/streamrewrite2
Andreas Gal [Wed, 22 Jun 2011 05:01:50 +0000 (22:01 -0700)]
Merge pull request #46 from sbarman/streamrewrite2

Combined parts of stream code into parent class

13 years agofixed indent
sbarman [Wed, 22 Jun 2011 04:51:54 +0000 (21:51 -0700)]
fixed indent

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Wed, 22 Jun 2011 04:51:32 +0000 (00:51 -0400)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoMerge pull request #47 from justindarc/master
Andreas Gal [Wed, 22 Jun 2011 04:51:12 +0000 (21:51 -0700)]
Merge pull request #47 from justindarc/master

Added local file support to the multi-page viewer

13 years agorewrote prototype inhertence
sbarman [Wed, 22 Jun 2011 04:48:50 +0000 (21:48 -0700)]
rewrote prototype inhertence

13 years agowork in progress on ascii85
sbarman [Wed, 22 Jun 2011 04:26:48 +0000 (21:26 -0700)]
work in progress on ascii85

13 years agomodified Ascii85Stream to be more like other streams
sbarman [Wed, 22 Jun 2011 04:12:50 +0000 (21:12 -0700)]
modified Ascii85Stream to be more like other streams

13 years agoSupport Format 6 cmap table, but does not pass the sanitizer yet
Vivien Nicolas [Wed, 22 Jun 2011 02:41:31 +0000 (04:41 +0200)]
Support Format 6 cmap table, but does not pass the sanitizer yet

13 years agoImplemented support for opening files from the local file system using the HTML5...
Justin D'Arcangelo [Wed, 22 Jun 2011 02:15:13 +0000 (22:15 -0400)]
Implemented support for opening files from the local file system using the HTML5 File API.

13 years agorewrote streams to be object oriented
sbarman [Wed, 22 Jun 2011 00:02:50 +0000 (17:02 -0700)]
rewrote streams to be object oriented

13 years agoavoid constantly calling ensureBuffer
Andreas Gal [Tue, 21 Jun 2011 22:31:07 +0000 (18:31 -0400)]
avoid constantly calling ensureBuffer

13 years agocombined redudent code in Stream
sbarman [Tue, 21 Jun 2011 22:16:04 +0000 (15:16 -0700)]
combined redudent code in Stream

13 years agoadd support for linking pdfs we can't/won't distribute
Chris Jones [Tue, 21 Jun 2011 22:14:42 +0000 (15:14 -0700)]
add support for linking pdfs we can't/won't distribute

13 years agotest-harness improvements
Chris Jones [Tue, 21 Jun 2011 21:53:57 +0000 (14:53 -0700)]
test-harness improvements

13 years agofixed getBytes in Ascii85Stream
sbarman [Tue, 21 Jun 2011 21:34:13 +0000 (14:34 -0700)]
fixed getBytes in Ascii85Stream

13 years agofix typo
Chris Jones [Tue, 21 Jun 2011 20:56:49 +0000 (13:56 -0700)]
fix typo

13 years agoDon't error out for FontFile3 descriptors.
Chris Jones [Tue, 21 Jun 2011 20:40:21 +0000 (13:40 -0700)]
Don't error out for FontFile3 descriptors.

13 years agoinitial impl of ASCII85 Decoding
sbarman [Tue, 21 Jun 2011 20:34:35 +0000 (13:34 -0700)]
initial impl of ASCII85 Decoding

13 years agoStart displaying TrueType fonts
Vivien Nicolas [Tue, 21 Jun 2011 19:11:59 +0000 (21:11 +0200)]
Start displaying TrueType fonts

13 years agowhitespace fixes and move inheriting of dict props into the page since it only happen...
Andreas Gal [Tue, 21 Jun 2011 19:05:33 +0000 (15:05 -0400)]
whitespace fixes and move inheriting of dict props into the page since it only happens there

13 years agoindentation fix
Andreas Gal [Tue, 21 Jun 2011 18:42:41 +0000 (14:42 -0400)]
indentation fix

13 years agoMerge pull request #35 from sbarman/master
sbarman [Tue, 21 Jun 2011 17:51:50 +0000 (10:51 -0700)]
Merge pull request #35 from sbarman/master

Minor fix to dictionary

13 years agominor fix to render page, add F command, added inhertable dictionary entries
sbarman [Tue, 21 Jun 2011 17:49:02 +0000 (10:49 -0700)]
minor fix to render page, add F command, added inhertable dictionary entries