Commit Graph

503 Commits

Author SHA1 Message Date
Justin D'Arcangelo
0b52d11b71 Refactored the multi-page viewer to adhere to the coding style guidelines. 2011-06-23 20:50:01 -04:00
Chris Jones
d9d7b3d205 TODO for bpc!=8 2011-06-23 17:09:42 -07:00
Chris Jones
9bfafd5bc9 Merge pull request #65 from sayrer/master
Let the browser quit, add automation into harness rather than rely on shell scripts
2011-06-23 16:18:05 -07:00
Rob Sayre
51fcd5fb3c only supply a -foreground argument on Mac. 2011-06-23 15:47:25 -07:00
Chris Jones
96796619c2 fix rendering of some symbols. Patch by Vivien Nicolas. 2011-06-23 15:36:53 -07:00
Chris Jones
ba3c700bec Merge pull request #45 from jviereck/master
WebWorker support
2011-06-23 15:21:10 -07:00
Rob Sayre
42b6d23bda Remove invalid trailing commas. 2011-06-23 15:09:17 -07:00
Julian Viereck
67e1d0597b Small rebase tidyup + cleanup 2011-06-23 23:55:14 +02:00
Julian Viereck
e24796173e Replace tic & toc by console.time/timeEnd 2011-06-23 23:33:25 +02:00
Julian Viereck
b47ec059c7 Reverts parts of 60f4d16360: Use old font-is-loaded mechanism + some code refactoring to add bindDOM and bindWorker. 2011-06-23 23:33:25 +02:00
Julian Viereck
d856e7c572 Clear the main canvas right before the next rendering begins. Keeps the canvas from beeing blank for a few ms 2011-06-23 23:33:25 +02:00
Julian Viereck
171ab51c56 Ensure divs used to make fonts load are not visible 2011-06-23 23:33:25 +02:00
Julian Viereck
c35e1e7552 Fix WebWorker logging and add separate timing for fonts. 2011-06-23 23:33:25 +02:00
Julian Viereck
37ee56a705 Fix sending image data to main thread 2011-06-23 23:33:24 +02:00
Julian Viereck
78129970c6 Change postMessage to send only one object that holds the action and data. 2011-06-23 23:33:24 +02:00
Julian Viereck
229edf24d4 First pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff 2011-06-23 23:33:24 +02:00
Julian Viereck
405c367ece Move client code into worker_client.js. Cleanup + comments + 2-space-indention 2011-06-23 23:33:24 +02:00
Julian Viereck
5e02659eb7 Fix putImageData. Needs to be copied byte by byte. 2011-06-23 23:33:24 +02:00
Julian Viereck
34e79aca08 Add PatternProxy; makes page 13 work 2011-06-23 23:33:24 +02:00
Julian Viereck
897ac256fc Merge ImageCanvasProxy and CanvasProxy. Add support for rendering multiple canvas objects on the worker and assemble them again on the main thread. 2011-06-23 23:33:24 +02:00
Julian Viereck
c9c24ee5c3 Replace ImageCanvas by ScratchCanvas 2011-06-23 23:33:23 +02:00
Julian Viereck
b17bf4b20e Make the ProxyCanvas be more a canvas - provide a ctx object to interact through 2011-06-23 23:33:23 +02:00
Julian Viereck
29e5db5d15 Add very simple GradientProxy support - makes page 11 render. 2011-06-23 23:33:23 +02:00
Julian Viereck
04cec20384 Add JpegStreamProxy - doesnt seem to be used anywhere in the example.pdf file 2011-06-23 23:33:23 +02:00
Julian Viereck
ddd8aeffb9 Fix font loading issue by using a hidden DOM font node 2011-06-23 23:33:23 +02:00
Julian Viereck
4f10e93f8c Fixing some smaller bugs & do some cleanup. viewer_worker.html UI is now 2011-06-23 23:33:23 +02:00
Julian Viereck
d99dc718c5 Get working for not real images 2011-06-23 23:33:22 +02:00
Julian Viereck
b151516416 Introduce ImageCanvas to handle canvas rendering in WebWorker 2011-06-23 23:33:22 +02:00
Julian Viereck
d9424a7135 Make fonts getting loaded by a very nasty hack 2011-06-23 23:33:22 +02:00
Julian Viereck
a8dcb0dcd6 Most working, but once you add the font-css file to the web page, there is no font drawn at all 2011-06-23 23:32:24 +02:00
Julian Viereck
f346014c12 Backup work 2011-06-23 23:30:54 +02:00
Rob Sayre
858048073f Cleanup newlines and fix a mistakenly symlinked file. 2011-06-23 13:59:38 -07:00
Rob Sayre
82e5830a59 Merge remote branch 'upstream/master' 2011-06-23 13:49:16 -07:00
Rob Sayre
59b9ddb0e4 Add sample manifests. Also make a browser path argument, so you can just specify one browser without messing with a manifest. 2011-06-23 13:47:43 -07:00
Rob Sayre
49d17bdc46 Add SpecialPowers extension to allow the browser to quit from content, and a bunch of other exciting things. 2011-06-23 13:12:22 -07:00
Andreas Gal
236879b37c Merge pull request #63 from sbarman/uncompressedflate
Uncompressed flate
2011-06-23 12:05:38 -07:00
Rob Sayre
f777fcf792 Add a user.js file Firefox profile. Change HTTP server to run on background thread. 2011-06-23 11:24:36 -07:00
Rob Sayre
faaf3a4907 Add pdf.pdf to .gitignore 2011-06-23 10:27:53 -07:00
Rob Sayre
a420cc8733 Merge upstream. 2011-06-23 09:57:36 -07:00
Rob Sayre
0a8e1110a3 Modify paths of web resources to work with test resources more buried. 2011-06-23 09:48:34 -07:00
sbarman
a9684b20c8 Merge branch 'master' into uncompressedflate 2011-06-23 09:42:52 -07:00
sbarman
fd5412ac12 fix for uncompressed flatestream blocks 2011-06-23 09:41:59 -07:00
Rob Sayre
0d5f92deed Move some files around. 2011-06-23 09:10:06 -07:00
Andreas Gal
65ea7cecb9 Merge pull request #62 from sbarman/master
FakeStream to simulate filters which have not been implemented
2011-06-23 09:06:48 -07:00
Rob Sayre
5ae4857efd Add new test directories. 2011-06-23 09:05:51 -07:00
sbarman
f6d4388b36 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-23 08:05:00 -07:00
Andreas Gal
6da58a69d1 Merge pull request #61 from vingtetun/master
Fix some spacing issues with ligatures, hinting, ...
2011-06-22 21:00:36 -07:00
Chris Jones
0d4be031b9 fix bug in testing multiple browsers 2011-06-22 20:47:37 -07:00
Vivien Nicolas
7b454d403b Use the real content of the string to measure it's size 2011-06-23 05:38:05 +02:00
sbarman
553250a5d2 fake stream for unimplemented filters 2011-06-22 19:20:03 -07:00