]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
13 years agoreadXRefStream and PNG predictor 12
notmasteryet [Fri, 17 Jun 2011 12:37:14 +0000 (07:37 -0500)]
readXRefStream and PNG predictor 12

13 years agoimplement setDash
Chris Jones [Wed, 15 Jun 2011 19:55:48 +0000 (12:55 -0700)]
implement setDash

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Chris Jones [Wed, 15 Jun 2011 19:42:48 +0000 (12:42 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoMerge pull request #6 from sbarman/master
Chris Jones [Wed, 15 Jun 2011 19:41:40 +0000 (12:41 -0700)]
Merge pull request #6 from sbarman/master

type 2 shading

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
sbarman [Wed, 15 Jun 2011 19:37:05 +0000 (12:37 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

Conflicts:
pdf.js

13 years agoimplement some operators and add TODOs for remaining undefined ones
Chris Jones [Wed, 15 Jun 2011 19:24:44 +0000 (14:24 -0500)]
implement some operators and add TODOs for remaining undefined ones

13 years agocleaned up fetchIfRef, changed switch-case to array lookup, changed IsFunction to...
sbarman [Wed, 15 Jun 2011 18:34:47 +0000 (11:34 -0700)]
cleaned up fetchIfRef, changed switch-case to array lookup, changed IsFunction to IsPDFFunction

13 years agofixes suggested by @brendaneich
Andreas Gal [Wed, 15 Jun 2011 07:37:15 +0000 (00:37 -0700)]
fixes suggested by @brendaneich

13 years agomeasure load/compile/render times
Andreas Gal [Wed, 15 Jun 2011 07:20:26 +0000 (00:20 -0700)]
measure load/compile/render times

13 years agoclarify API a bit and hand in xref and resources to ease translation
Andreas Gal [Wed, 15 Jun 2011 06:44:59 +0000 (23:44 -0700)]
clarify API a bit and hand in xref and resources to ease translation

13 years agocompleted async font loading framework
Andreas Gal [Wed, 15 Jun 2011 06:41:26 +0000 (23:41 -0700)]
completed async font loading framework

13 years agoeagerly translate all fonts (a no-op currently)
Andreas Gal [Wed, 15 Jun 2011 06:34:11 +0000 (23:34 -0700)]
eagerly translate all fonts (a no-op currently)

13 years agopdf is using a dumb name, content makes much more sense than Contents
Andreas Gal [Wed, 15 Jun 2011 06:22:19 +0000 (23:22 -0700)]
pdf is using a dumb name, content makes much more sense than Contents

13 years agocache results of compilation
Andreas Gal [Wed, 15 Jun 2011 06:16:53 +0000 (23:16 -0700)]
cache results of compilation

13 years agoeagerly compile XForm objects
Andreas Gal [Wed, 15 Jun 2011 05:54:49 +0000 (22:54 -0700)]
eagerly compile XForm objects

13 years agoreturn ready-to-run closure from compile that captures its objpool
Andreas Gal [Wed, 15 Jun 2011 03:36:45 +0000 (20:36 -0700)]
return ready-to-run closure from compile that captures its objpool

13 years agocompile PDF command streams into JS code
Andreas Gal [Wed, 15 Jun 2011 01:31:14 +0000 (18:31 -0700)]
compile PDF command streams into JS code

13 years agoCleaned up code, renamed PDFFunction class
sbarman [Tue, 14 Jun 2011 20:49:50 +0000 (13:49 -0700)]
Cleaned up code, renamed PDFFunction class

13 years agocleaned up code
sbarman [Tue, 14 Jun 2011 19:19:35 +0000 (12:19 -0700)]
cleaned up code

13 years agoImplemented type 2 shading for the pdf (aka gradients)
sbarman [Tue, 14 Jun 2011 18:55:27 +0000 (11:55 -0700)]
Implemented type 2 shading for the pdf (aka gradients)

13 years agoremove debug code
Andreas Gal [Sun, 12 Jun 2011 06:49:17 +0000 (23:49 -0700)]
remove debug code

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Chris Jones [Fri, 10 Jun 2011 19:17:00 +0000 (12:17 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoskeleton of shading fill
Chris Jones [Fri, 10 Jun 2011 19:16:45 +0000 (12:16 -0700)]
skeleton of shading fill

13 years agoMerge pull request #5 from sbarman/master
sbarman [Fri, 10 Jun 2011 18:32:37 +0000 (11:32 -0700)]
Merge pull request #5 from sbarman/master

fix to display images

13 years agochanged bufferPos to pos, fixed style issue (spacing)
sbarman [Fri, 10 Jun 2011 18:30:48 +0000 (11:30 -0700)]
changed bufferPos to pos, fixed style issue (spacing)

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
sbarman [Fri, 10 Jun 2011 06:06:36 +0000 (23:06 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoFixed up excess code
sbarman [Fri, 10 Jun 2011 02:34:34 +0000 (19:34 -0700)]
Fixed up excess code

13 years agocleaned up code, used dict.get2, hoisted conditional outside loop when drawing image
sbarman [Fri, 10 Jun 2011 02:19:09 +0000 (19:19 -0700)]
cleaned up code, used dict.get2, hoisted conditional outside loop when drawing image

13 years agoMerge
Chris Jones [Fri, 10 Jun 2011 01:19:53 +0000 (18:19 -0700)]
Merge

13 years agoRevert "added test harness for uncompressed"
sbarman [Fri, 10 Jun 2011 01:19:18 +0000 (18:19 -0700)]
Revert "added test harness for uncompressed"

This reverts commit 3b4d7d3e786783ea65f99fd1c57d09a5609b623d.

Conflicts:

test.html

13 years agoimplement TL and T*
Chris Jones [Fri, 10 Jun 2011 01:19:17 +0000 (18:19 -0700)]
implement TL and T*

13 years agoRevert "working on optimizations"
sbarman [Fri, 10 Jun 2011 01:17:27 +0000 (18:17 -0700)]
Revert "working on optimizations"

This reverts commit 03747940a2f8346e484898b026f43785c25abd04.

13 years agoadd ?file= parameter to test.html
Andreas Gal [Fri, 10 Jun 2011 01:06:01 +0000 (18:06 -0700)]
add ?file= parameter to test.html

13 years agoworking on optimizations
sbarman [Fri, 10 Jun 2011 00:15:44 +0000 (17:15 -0700)]
working on optimizations

13 years agofixed error with getBytes in flate stream
sbarman [Thu, 9 Jun 2011 22:02:58 +0000 (15:02 -0700)]
fixed error with getBytes in flate stream

13 years agoMerge remote-tracking branch 'agal/master'
sbarman [Thu, 9 Jun 2011 21:59:15 +0000 (14:59 -0700)]
Merge remote-tracking branch 'agal/master'

Conflicts:
pdf.js
test.html

13 years agoremove left-over shell code
Andreas Gal [Wed, 8 Jun 2011 20:40:10 +0000 (04:40 +0800)]
remove left-over shell code

13 years agoMerge commit '496a6374c1ac04e'
sbarman [Thu, 9 Jun 2011 21:42:31 +0000 (14:42 -0700)]
Merge commit '496a6374c1ac04e'

Conflicts:
pdf.js

13 years agofixed the display of images
sbarman [Thu, 9 Jun 2011 21:35:55 +0000 (14:35 -0700)]
fixed the display of images

13 years agofixed getBytes
sbarman [Thu, 9 Jun 2011 19:53:38 +0000 (12:53 -0700)]
fixed getBytes

13 years agosupport test.html?page=[num], display total number of pages
Chris Jones [Thu, 9 Jun 2011 00:55:09 +0000 (17:55 -0700)]
support test.html?page=[num], display total number of pages

13 years agoHalf working version of paintImageXObject
sbarman [Thu, 9 Jun 2011 00:45:50 +0000 (17:45 -0700)]
Half working version of paintImageXObject

13 years agoFixed geBytes implementation
sbarman [Thu, 9 Jun 2011 00:42:29 +0000 (17:42 -0700)]
Fixed geBytes implementation

13 years agoadded getBytes method
sbarman [Wed, 8 Jun 2011 22:41:17 +0000 (15:41 -0700)]
added getBytes method

13 years agoadded test harness for uncompressed
sbarman [Wed, 8 Jun 2011 22:39:44 +0000 (15:39 -0700)]
added test harness for uncompressed

13 years agoremove left-over shell code
Andreas Gal [Wed, 8 Jun 2011 20:40:10 +0000 (13:40 -0700)]
remove left-over shell code

13 years agoCopied entire buffer for flate stream's snarf function (since decoding looks back)
sbarman [Wed, 8 Jun 2011 18:49:37 +0000 (11:49 -0700)]
Copied entire buffer for flate stream's snarf function (since decoding looks back)

13 years agoAdded test harness for uncompressed version of pdf
sbarman [Wed, 8 Jun 2011 17:12:22 +0000 (10:12 -0700)]
Added test harness for uncompressed version of pdf

13 years agoread in image data en-block instead of sucking it through the stream interface
Andreas Gal [Wed, 8 Jun 2011 14:50:35 +0000 (22:50 +0800)]
read in image data en-block instead of sucking it through the stream interface

13 years agouse dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent...
Andreas Gal [Tue, 7 Jun 2011 04:34:21 +0000 (12:34 +0800)]
use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC)

13 years agoread in image data en-block instead of sucking it through the stream interface
Andreas Gal [Wed, 8 Jun 2011 14:50:35 +0000 (07:50 -0700)]
read in image data en-block instead of sucking it through the stream interface

13 years agouse dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent...
Andreas Gal [Tue, 7 Jun 2011 04:34:21 +0000 (21:34 -0700)]
use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC)

13 years agoImplemented basic version of smask
sbarman [Mon, 6 Jun 2011 23:40:03 +0000 (16:40 -0700)]
Implemented basic version of smask

13 years agoRemoved log code from previous commit
sbarman [Tue, 7 Jun 2011 01:34:24 +0000 (18:34 -0700)]
Removed log code from previous commit

13 years agoFixed FlateStreams to read in multiple blocks
sbarman [Mon, 6 Jun 2011 21:26:28 +0000 (14:26 -0700)]
Fixed FlateStreams to read in multiple blocks

13 years agoadd code to parse bits per component information for images
Andreas Gal [Sun, 5 Jun 2011 17:56:05 +0000 (10:56 -0700)]
add code to parse bits per component information for images

13 years agodon't cache stream objects
Andreas Gal [Sun, 5 Jun 2011 06:18:55 +0000 (23:18 -0700)]
don't cache stream objects

13 years agouse an array not an object to cache objects
Andreas Gal [Sun, 5 Jun 2011 06:15:51 +0000 (23:15 -0700)]
use an array not an object to cache objects

13 years agoparse Interpolate and ImageMask for images
Andreas Gal [Sun, 5 Jun 2011 06:01:25 +0000 (23:01 -0700)]
parse Interpolate and ImageMask for images

13 years agoconvert remaining inflate code tables to typed arrays
Andreas Gal [Sat, 4 Jun 2011 18:11:14 +0000 (11:11 -0700)]
convert remaining inflate code tables to typed arrays

13 years agoadded Shaon as contributor
Andreas Gal [Sat, 4 Jun 2011 17:41:18 +0000 (10:41 -0700)]
added Shaon as contributor

13 years agoturn distDecode into a typed array
Andreas Gal [Sat, 4 Jun 2011 17:27:25 +0000 (10:27 -0700)]
turn distDecode into a typed array

13 years agomake lengthDecode a typed array
Andreas Gal [Sat, 4 Jun 2011 17:18:04 +0000 (10:18 -0700)]
make lengthDecode a typed array

13 years agomake codeLenCodeMap a typed array
Andreas Gal [Sat, 4 Jun 2011 17:14:17 +0000 (10:14 -0700)]
make codeLenCodeMap a typed array

13 years agoFlateStream wants a .dict member for duck typing
Chris Jones [Sat, 4 Jun 2011 03:58:06 +0000 (22:58 -0500)]
FlateStream wants a .dict member for duck typing

13 years agoimplement even-odd fill/clip
Chris Jones [Sat, 4 Jun 2011 03:52:27 +0000 (22:52 -0500)]
implement even-odd fill/clip

13 years agohand in xref to the parser if needed so we can resolve 'Length' for sub-streams
Andreas Gal [Fri, 3 Jun 2011 21:38:54 +0000 (14:38 -0700)]
hand in xref to the parser if needed so we can resolve 'Length' for sub-streams

13 years agoreplace wrong compressed pdf with the actual tracemonkey paper
Andreas Gal [Fri, 3 Jun 2011 21:24:43 +0000 (14:24 -0700)]
replace wrong compressed pdf with the actual tracemonkey paper

13 years agofix deflate code
Andreas Gal [Fri, 3 Jun 2011 21:22:38 +0000 (14:22 -0700)]
fix deflate code

13 years agofix length/end of stream handling
Andreas Gal [Fri, 3 Jun 2011 21:16:04 +0000 (14:16 -0700)]
fix length/end of stream handling

13 years agofix typo that breaks ff4
Chris Jones [Fri, 3 Jun 2011 04:13:48 +0000 (21:13 -0700)]
fix typo that breaks ff4

13 years agoskeleton of image drawing
Chris Jones [Thu, 2 Jun 2011 23:27:56 +0000 (18:27 -0500)]
skeleton of image drawing

13 years agoFont and XObject entries can be refs, and dump image magic bytes
Chris Jones [Thu, 2 Jun 2011 19:24:46 +0000 (14:24 -0500)]
Font and XObject entries can be refs, and dump image magic bytes

13 years agostarting position of a stream is relative to the file, not the current stream
Andreas Gal [Thu, 2 Jun 2011 17:57:06 +0000 (10:57 -0700)]
starting position of a stream is relative to the file, not the current stream

13 years agoadded compressed tracemonkey paper
Andreas Gal [Tue, 31 May 2011 21:07:41 +0000 (14:07 -0700)]
added compressed tracemonkey paper

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Mon, 30 May 2011 08:04:35 +0000 (10:04 +0200)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agofix next/prev/next bug, fiddle with UI, remove debugging code
Chris Jones [Wed, 25 May 2011 09:09:06 +0000 (21:09 +1200)]
fix next/prev/next bug, fiddle with UI, remove debugging code

13 years agoreset current point on text state changes and remove redundant "cur" prefix
Chris Jones [Mon, 23 May 2011 09:22:56 +0000 (21:22 +1200)]
reset current point on text state changes and remove redundant "cur" prefix

13 years agouse const instead of var
Andreas Gal [Sat, 21 May 2011 05:40:28 +0000 (07:40 +0200)]
use const instead of var

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Sat, 21 May 2011 00:34:22 +0000 (02:34 +0200)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoset mozOpaque
Andreas Gal [Sat, 21 May 2011 00:34:05 +0000 (02:34 +0200)]
set mozOpaque

13 years agobasic kinda-working form xobject support
Chris Jones [Tue, 17 May 2011 02:08:05 +0000 (14:08 +1200)]
basic kinda-working form xobject support

13 years agoadd assert helpers, small cleanup
Chris Jones [Mon, 16 May 2011 23:59:38 +0000 (11:59 +1200)]
add assert helpers, small cleanup

13 years agoinitial (broken) support for xobjects
Chris Jones [Mon, 16 May 2011 23:38:38 +0000 (11:38 +1200)]
initial (broken) support for xobjects

13 years agofix a couple more shadowings
Andreas Gal [Fri, 13 May 2011 07:23:27 +0000 (00:23 -0700)]
fix a couple more shadowings

13 years agoforgot another shadowing
Andreas Gal [Fri, 13 May 2011 07:21:32 +0000 (00:21 -0700)]
forgot another shadowing

13 years agouse defineProperty to shadow getters
Andreas Gal [Fri, 13 May 2011 07:19:50 +0000 (00:19 -0700)]
use defineProperty to shadow getters

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Fri, 13 May 2011 06:35:31 +0000 (23:35 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoseperate page fetch and render times
Andreas Gal [Fri, 13 May 2011 06:35:23 +0000 (23:35 -0700)]
seperate page fetch and render times

13 years agofix typo in lexing of octal escapes
Chris Jones [Fri, 13 May 2011 01:09:13 +0000 (13:09 +1200)]
fix typo in lexing of octal escapes

13 years agofix for new XHR2 binary API
Andreas Gal [Thu, 12 May 2011 23:58:19 +0000 (16:58 -0700)]
fix for new XHR2 binary API

13 years agoclone stream if we got it from the cache in case its already in use
Andreas Gal [Thu, 12 May 2011 06:00:36 +0000 (23:00 -0700)]
clone stream if we got it from the cache in case its already in use

13 years agofix next/prev, small tweaks
Chris Jones [Thu, 12 May 2011 05:05:46 +0000 (17:05 +1200)]
fix next/prev, small tweaks

13 years ago0 is error for http, only MS would design this API
Andreas Gal [Thu, 12 May 2011 04:13:27 +0000 (21:13 -0700)]
0 is error for http, only MS would design this API

13 years agosupport file status code
Andreas Gal [Thu, 12 May 2011 04:11:32 +0000 (21:11 -0700)]
support file status code

13 years agodon't try to go further back than page 1
Andreas Gal [Thu, 12 May 2011 03:55:50 +0000 (20:55 -0700)]
don't try to go further back than page 1

13 years agodisplay rendering time
Andreas Gal [Thu, 12 May 2011 03:37:16 +0000 (20:37 -0700)]
display rendering time

13 years agoremove the echo interpreter, dissolve interpreter into gfx and Page
Andreas Gal [Thu, 12 May 2011 03:13:57 +0000 (20:13 -0700)]
remove the echo interpreter, dissolve interpreter into gfx and Page

13 years agocache refs, not streams, in the interest of saving memory
Andreas Gal [Thu, 12 May 2011 03:03:45 +0000 (20:03 -0700)]
cache refs, not streams, in the interest of saving memory

13 years agouncompressed pdfs render a bit now
Andreas Gal [Thu, 12 May 2011 02:05:30 +0000 (19:05 -0700)]
uncompressed pdfs render a bit now