Commit Graph

510 Commits

Author SHA1 Message Date
Rob Sayre
a1440b8e15 Run browsers in parallel. No limit on the number of concurrent browsers right now. 2011-06-24 08:43:26 -07:00
Chris Jones
2e2924430a Merge pull request #73 from justindarc/master
Updated to follow coding style guidelines
2011-06-23 19:16:18 -07:00
Justin D'Arcangelo
c5b889a47b Brought pdf.js back up to the latest revision. 2011-06-23 21:37:40 -04:00
Justin D'Arcangelo
b9af0da8f8 Fixed vim indentation rules. 2011-06-23 21:18:07 -04:00
Justin D'Arcangelo
b18006a055 Fixed file renaming issues. 2011-06-23 21:17:31 -04:00
Justin D'Arcangelo
f9687a1707 Fixed file renaming issues. 2011-06-23 21:12:39 -04:00
Justin D'Arcangelo
8584daf738 Revert ae2e637044e5abe5d4c119de133e65e0aef4a9b5^..HEAD 2011-06-23 21:11:50 -04:00
Justin D'Arcangelo
791947ff74 Refactored the multi-page viewer to adhere to the coding style guidelines. 2011-06-23 20:50:01 -04:00
Chris Jones
ae2e637044 TODO for bpc!=8 2011-06-23 17:09:42 -07:00
Chris Jones
0bd6e5e064 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
ebb75998a2 only supply a -foreground argument on Mac. 2011-06-23 15:47:25 -07:00
Chris Jones
d97f9086bd fix rendering of some symbols. Patch by Vivien Nicolas. 2011-06-23 15:36:53 -07:00
Chris Jones
a85c31b2c0 Merge pull request #45 from jviereck/master
WebWorker support
2011-06-23 15:21:10 -07:00
Rob Sayre
f212637433 Remove invalid trailing commas. 2011-06-23 15:09:17 -07:00
Julian Viereck
8cd986f15a Small rebase tidyup + cleanup 2011-06-23 23:55:14 +02:00
Julian Viereck
d1b75dd633 Replace tic & toc by console.time/timeEnd 2011-06-23 23:33:25 +02:00
Julian Viereck
3bef1534b4 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
d6239571e9 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
4b27045d2e Ensure divs used to make fonts load are not visible 2011-06-23 23:33:25 +02:00
Julian Viereck
f256716022 Fix WebWorker logging and add separate timing for fonts. 2011-06-23 23:33:25 +02:00
Julian Viereck
f32dfa9414 Fix sending image data to main thread 2011-06-23 23:33:24 +02:00
Julian Viereck
da7f555fd7 Change postMessage to send only one object that holds the action and data. 2011-06-23 23:33:24 +02:00
Julian Viereck
a3d815074d First pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff 2011-06-23 23:33:24 +02:00
Julian Viereck
4281f799e5 Move client code into worker_client.js. Cleanup + comments + 2-space-indention 2011-06-23 23:33:24 +02:00
Julian Viereck
08405fa618 Fix putImageData. Needs to be copied byte by byte. 2011-06-23 23:33:24 +02:00
Julian Viereck
0746c7db59 Add PatternProxy; makes page 13 work 2011-06-23 23:33:24 +02:00
Julian Viereck
22bdd50a98 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
000d640258 Replace ImageCanvas by ScratchCanvas 2011-06-23 23:33:23 +02:00
Julian Viereck
50d902d9eb Make the ProxyCanvas be more a canvas - provide a ctx object to interact through 2011-06-23 23:33:23 +02:00
Julian Viereck
fe7c8b52f6 Add very simple GradientProxy support - makes page 11 render. 2011-06-23 23:33:23 +02:00
Julian Viereck
2c17af3720 Add JpegStreamProxy - doesnt seem to be used anywhere in the example.pdf file 2011-06-23 23:33:23 +02:00
Julian Viereck
e2cd5facbd Fix font loading issue by using a hidden DOM font node 2011-06-23 23:33:23 +02:00
Julian Viereck
52a117d32a Fixing some smaller bugs & do some cleanup. viewer_worker.html UI is now 2011-06-23 23:33:23 +02:00
Julian Viereck
39ac389a7e Get working for not real images 2011-06-23 23:33:22 +02:00
Julian Viereck
fc007b99d0 Introduce ImageCanvas to handle canvas rendering in WebWorker 2011-06-23 23:33:22 +02:00
Julian Viereck
61b76c7e87 Make fonts getting loaded by a very nasty hack 2011-06-23 23:33:22 +02:00
Julian Viereck
e15328800a 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
986ef148c4 Backup work 2011-06-23 23:30:54 +02:00
Rob Sayre
1d5e28347f Cleanup newlines and fix a mistakenly symlinked file. 2011-06-23 13:59:38 -07:00
Rob Sayre
62c69c3746 Merge remote branch 'upstream/master' 2011-06-23 13:49:16 -07:00
Rob Sayre
d19a6ef983 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
ed574cb6c0 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
819664f051 Merge pull request #63 from sbarman/uncompressedflate
Uncompressed flate
2011-06-23 12:05:38 -07:00
Rob Sayre
984c4d4de6 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
f31290e00f Add pdf.pdf to .gitignore 2011-06-23 10:27:53 -07:00
Rob Sayre
9da2b9c0ea Merge upstream. 2011-06-23 09:57:36 -07:00
Rob Sayre
2793532599 Modify paths of web resources to work with test resources more buried. 2011-06-23 09:48:34 -07:00
sbarman
fe25d0acc1 Merge branch 'master' into uncompressedflate 2011-06-23 09:42:52 -07:00
sbarman
18afc896f6 fix for uncompressed flatestream blocks 2011-06-23 09:41:59 -07:00
Rob Sayre
2454354b59 Move some files around. 2011-06-23 09:10:06 -07:00