Commit Graph

167 Commits

Author SHA1 Message Date
Andreas Gal
5acb9a16de cache results of compilation 2011-06-14 23:16:53 -07:00
Andreas Gal
7afaca2d35 eagerly compile XForm objects 2011-06-14 22:54:49 -07:00
Andreas Gal
aecc4ebbb7 return ready-to-run closure from compile that captures its objpool 2011-06-14 20:36:45 -07:00
Andreas Gal
b9771416ba compile PDF command streams into JS code 2011-06-14 18:31:14 -07:00
Andreas Gal
bf2c525788 remove debug code 2011-06-11 23:49:17 -07:00
Chris Jones
58cb3e76b2 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-10 12:17:00 -07:00
Chris Jones
a5731ddc47 skeleton of shading fill 2011-06-10 12:16:45 -07:00
sbarman
2238905128 Merge pull request #5 from sbarman/master
fix to display images
2011-06-10 11:32:37 -07:00
sbarman
b61700b5a5 changed bufferPos to pos, fixed style issue (spacing) 2011-06-10 11:30:48 -07:00
sbarman
3d9f609054 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-09 23:06:36 -07:00
sbarman
f10aca6a46 Fixed up excess code 2011-06-09 19:34:34 -07:00
sbarman
1dbf2d1d0c cleaned up code, used dict.get2, hoisted conditional outside loop when drawing image 2011-06-09 19:19:09 -07:00
Chris Jones
4b8057bc53 Merge 2011-06-09 18:19:53 -07:00
sbarman
f07cfc1bb8 Revert "added test harness for uncompressed"
This reverts commit 3b4d7d3e78.

Conflicts:

	test.html
2011-06-09 18:19:18 -07:00
Chris Jones
78d0b3caf1 implement TL and T* 2011-06-09 18:19:17 -07:00
sbarman
b83979f40d Revert "working on optimizations"
This reverts commit 03747940a2.
2011-06-09 18:17:27 -07:00
Andreas Gal
76cb96f1cd add ?file= parameter to test.html 2011-06-09 18:06:01 -07:00
sbarman
03747940a2 working on optimizations 2011-06-09 17:15:44 -07:00
sbarman
0e8f323f0a fixed error with getBytes in flate stream 2011-06-09 15:02:58 -07:00
sbarman
78493db421 Merge remote-tracking branch 'agal/master'
Conflicts:
	pdf.js
	test.html
2011-06-09 14:59:15 -07:00
Andreas Gal
287e7a702a remove left-over shell code 2011-06-10 05:44:41 +08:00
sbarman
c5a04b900f Merge commit '496a6374c1ac04e'
Conflicts:
	pdf.js
2011-06-09 14:42:31 -07:00
sbarman
496a6374c1 fixed the display of images 2011-06-09 14:35:55 -07:00
sbarman
cfff44f2b2 fixed getBytes 2011-06-09 12:53:38 -07:00
Chris Jones
fa4c34ad06 support test.html?page=[num], display total number of pages 2011-06-08 17:55:09 -07:00
sbarman
5da69f520d Half working version of paintImageXObject 2011-06-08 17:45:50 -07:00
sbarman
c326f1808f Fixed geBytes implementation 2011-06-08 17:42:29 -07:00
sbarman
19f9897ec3 added getBytes method 2011-06-08 15:41:17 -07:00
sbarman
3b4d7d3e78 added test harness for uncompressed 2011-06-08 15:39:44 -07:00
Andreas Gal
bab03e6add remove left-over shell code 2011-06-08 13:40:10 -07:00
sbarman
a89bd1d30e Copied entire buffer for flate stream's snarf function (since decoding looks back) 2011-06-08 11:49:37 -07:00
sbarman
fe277b8d51 Added test harness for uncompressed version of pdf 2011-06-08 10:12:22 -07:00
Andreas Gal
f85953b342 read in image data en-block instead of sucking it through the stream interface 2011-06-09 01:09:02 +08:00
Andreas Gal
8b119087f0 use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC) 2011-06-09 01:09:02 +08:00
Andreas Gal
ee5d8763e8 read in image data en-block instead of sucking it through the stream interface 2011-06-08 07:50:35 -07:00
Andreas Gal
5c5d09c898 use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC) 2011-06-06 21:34:21 -07:00
sbarman
99aacfe42c Implemented basic version of smask 2011-06-06 18:35:45 -07:00
sbarman
27b8b68b87 Removed log code from previous commit 2011-06-06 18:34:24 -07:00
sbarman
11f427d235 Fixed FlateStreams to read in multiple blocks 2011-06-06 18:31:54 -07:00
Andreas Gal
386d70f33c add code to parse bits per component information for images 2011-06-05 10:56:05 -07:00
Andreas Gal
378f381625 don't cache stream objects 2011-06-04 23:18:55 -07:00
Andreas Gal
5c06cd1de5 use an array not an object to cache objects 2011-06-04 23:15:51 -07:00
Andreas Gal
47f0326eee parse Interpolate and ImageMask for images 2011-06-04 23:01:25 -07:00
Andreas Gal
5647dbc0a4 convert remaining inflate code tables to typed arrays 2011-06-04 11:11:14 -07:00
Andreas Gal
cf1afe648f added Shaon as contributor 2011-06-04 10:41:18 -07:00
Andreas Gal
4d70cb4aaf turn distDecode into a typed array 2011-06-04 10:27:25 -07:00
Andreas Gal
9143ad4cf5 make lengthDecode a typed array 2011-06-04 10:18:04 -07:00
Andreas Gal
cd7c229ccc make codeLenCodeMap a typed array 2011-06-04 10:14:17 -07:00
Chris Jones
fadbb1b5e7 FlateStream wants a .dict member for duck typing 2011-06-03 22:58:06 -05:00
Chris Jones
2f8d80677b implement even-odd fill/clip 2011-06-03 22:52:27 -05:00