Commit Graph

531 Commits

Author SHA1 Message Date
Andreas Gal
b6c92f674b Merge pull request #76 from vingtetun/master
Minor changes
2011-06-24 14:10:14 -07:00
Chris Jones
a12962302e Merge pull request #75 from sayrer/master
Run the browsers in parallel, and try hard to clean up after them
2011-06-24 13:39:04 -07:00
Vivien Nicolas
83fabc49c2 Update the multi_page_viewer.js code to work with the new FontLoader API 2011-06-24 21:46:48 +02:00
Vivien Nicolas
66dbc718b0 Merge branch 'master' of https://github.com/andreasgal/pdf.js 2011-06-24 21:27:43 +02:00
Vivien Nicolas
3d85caa212 Do not add the font-loader canvas to the page dom to save some load time 2011-06-24 21:25:08 +02:00
Rob Sayre
2b6b6d5ab2 Try harder to clean up after the browsers. 2011-06-24 09:45:41 -07:00
Rob Sayre
a67a4c0677 Add a line to prevent TestPilot from installing. 2011-06-24 09:00:13 -07:00
Rob Sayre
6446b6d03a Run browsers in parallel. No limit on the number of concurrent browsers right now. 2011-06-24 08:43:26 -07:00
Vivien Nicolas
3955ed1b4c Fix a bunch of warnings from Firebug strict mode 2011-06-24 11:58:05 +02:00
Vivien Nicolas
86f197daba Start adding a FontLoader class to isolate the font-loaded hack 2011-06-24 11:47:22 +02:00
Chris Jones
adaa483f0a Merge pull request #73 from justindarc/master
Updated to follow coding style guidelines
2011-06-23 19:16:18 -07:00
Justin D'Arcangelo
6501c2100f Brought pdf.js back up to the latest revision. 2011-06-23 21:37:40 -04:00
Justin D'Arcangelo
fa045139ad Fixed vim indentation rules. 2011-06-23 21:18:07 -04:00
Justin D'Arcangelo
78ce1863bb Fixed file renaming issues. 2011-06-23 21:17:31 -04:00
Justin D'Arcangelo
d256253d62 Fixed file renaming issues. 2011-06-23 21:12:39 -04:00
Justin D'Arcangelo
0b48feb208 Revert ae2e637044e5abe5d4c119de133e65e0aef4a9b5^..HEAD 2011-06-23 21:11:50 -04:00
Vivien Nicolas
40006194ea Don't read the lsb instead of the width 2011-06-24 03:01:41 +02:00
Vivien Nicolas
d704bfacf4 Fix Windows 'hmtx' bust table 2011-06-24 02:58:17 +02:00
Justin D'Arcangelo
0b52d11b71 Refactored the multi-page viewer to adhere to the coding style guidelines. 2011-06-23 20:50:01 -04:00
Vivien Nicolas
0f1b9949b6 Remove code to handle FlateStream differently now that we have a sane interface 2011-06-24 02:45:58 +02:00
Chris Jones
d9d7b3d205 TODO for bpc!=8 2011-06-23 17:09:42 -07:00
Vivien Nicolas
71da81b9de Merge branch 'master' of https://github.com/vingtetun/pdf.js 2011-06-24 01:39:55 +02:00
Vivien Nicolas
0a18434a2d Remove some useless var 2011-06-24 01:37:54 +02: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
Vivien Nicolas
a954769929 Merge remote branch 'upstream/master' 2011-06-24 01:01:35 +02: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
Vivien Nicolas
b361450fca Merge remote branch 'upstream/master' 2011-06-24 00:29:32 +02: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
Vivien Nicolas
fa4f81e522 Merge remote branch 'upstream/master' 2011-06-23 23:42:01 +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