]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
13 years agoadd support for test "master mode" and finish impl of eq tests
Chris Jones [Wed, 22 Jun 2011 08:35:46 +0000 (01:35 -0700)]
add support for test "master mode" and finish impl of eq tests

13 years agodon't let getPage() errors break the test slave
Chris Jones [Wed, 22 Jun 2011 07:05:45 +0000 (00:05 -0700)]
don't let getPage() errors break the test slave

13 years agofix typo
Andreas Gal [Wed, 22 Jun 2011 06:36:34 +0000 (02:36 -0400)]
fix typo

13 years agofix other cases of reading this.buffer before ensureBuffer, too
Andreas Gal [Wed, 22 Jun 2011 06:35:42 +0000 (02:35 -0400)]
fix other cases of reading this.buffer before ensureBuffer, too

13 years agoensureBuffer can modify this.buffer, so read it after ensureBuffer
Andreas Gal [Wed, 22 Jun 2011 06:34:26 +0000 (02:34 -0400)]
ensureBuffer can modify this.buffer, so read it after ensureBuffer

13 years agoMerge pull request #48 from sbarman/ascii85
sbarman [Wed, 22 Jun 2011 05:57:15 +0000 (22:57 -0700)]
Merge pull request #48 from sbarman/ascii85

Ascii85Stream

13 years agomoved array allocation to consturctor
sbarman [Wed, 22 Jun 2011 05:53:47 +0000 (22:53 -0700)]
moved array allocation to consturctor

13 years agoclean up code
sbarman [Wed, 22 Jun 2011 05:43:03 +0000 (22:43 -0700)]
clean up code

13 years agomade Ascii85Stream be a child of DecodeStream
sbarman [Wed, 22 Jun 2011 05:39:38 +0000 (22:39 -0700)]
made Ascii85Stream be a child of DecodeStream

13 years agoavoid frequent calls to ensureBuffer during decompression
Andreas Gal [Wed, 22 Jun 2011 05:12:27 +0000 (01:12 -0400)]
avoid frequent calls to ensureBuffer during decompression

13 years agoMerge.
Andreas Gal [Wed, 22 Jun 2011 05:05:11 +0000 (01:05 -0400)]
Merge.

13 years agoMerge branch 'master' into ascii85
sbarman [Wed, 22 Jun 2011 05:04:21 +0000 (22:04 -0700)]
Merge branch 'master' into ascii85

13 years agoMerge pull request #46 from sbarman/streamrewrite2
Andreas Gal [Wed, 22 Jun 2011 05:01:50 +0000 (22:01 -0700)]
Merge pull request #46 from sbarman/streamrewrite2

Combined parts of stream code into parent class

13 years agofixed indent
sbarman [Wed, 22 Jun 2011 04:51:54 +0000 (21:51 -0700)]
fixed indent

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Wed, 22 Jun 2011 04:51:32 +0000 (00:51 -0400)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoMerge pull request #47 from justindarc/master
Andreas Gal [Wed, 22 Jun 2011 04:51:12 +0000 (21:51 -0700)]
Merge pull request #47 from justindarc/master

Added local file support to the multi-page viewer

13 years agorewrote prototype inhertence
sbarman [Wed, 22 Jun 2011 04:48:50 +0000 (21:48 -0700)]
rewrote prototype inhertence

13 years agowork in progress on ascii85
sbarman [Wed, 22 Jun 2011 04:26:48 +0000 (21:26 -0700)]
work in progress on ascii85

13 years agomodified Ascii85Stream to be more like other streams
sbarman [Wed, 22 Jun 2011 04:12:50 +0000 (21:12 -0700)]
modified Ascii85Stream to be more like other streams

13 years agoImplemented support for opening files from the local file system using the HTML5...
Justin D'Arcangelo [Wed, 22 Jun 2011 02:15:13 +0000 (22:15 -0400)]
Implemented support for opening files from the local file system using the HTML5 File API.

13 years agorewrote streams to be object oriented
sbarman [Wed, 22 Jun 2011 00:02:50 +0000 (17:02 -0700)]
rewrote streams to be object oriented

13 years agoavoid constantly calling ensureBuffer
Andreas Gal [Tue, 21 Jun 2011 22:31:07 +0000 (18:31 -0400)]
avoid constantly calling ensureBuffer

13 years agocombined redudent code in Stream
sbarman [Tue, 21 Jun 2011 22:16:04 +0000 (15:16 -0700)]
combined redudent code in Stream

13 years agoadd support for linking pdfs we can't/won't distribute
Chris Jones [Tue, 21 Jun 2011 22:14:42 +0000 (15:14 -0700)]
add support for linking pdfs we can't/won't distribute

13 years agotest-harness improvements
Chris Jones [Tue, 21 Jun 2011 21:53:57 +0000 (14:53 -0700)]
test-harness improvements

13 years agofixed getBytes in Ascii85Stream
sbarman [Tue, 21 Jun 2011 21:34:13 +0000 (14:34 -0700)]
fixed getBytes in Ascii85Stream

13 years agofix typo
Chris Jones [Tue, 21 Jun 2011 20:56:49 +0000 (13:56 -0700)]
fix typo

13 years agoDon't error out for FontFile3 descriptors.
Chris Jones [Tue, 21 Jun 2011 20:40:21 +0000 (13:40 -0700)]
Don't error out for FontFile3 descriptors.

13 years agoinitial impl of ASCII85 Decoding
sbarman [Tue, 21 Jun 2011 20:34:35 +0000 (13:34 -0700)]
initial impl of ASCII85 Decoding

13 years agowhitespace fixes and move inheriting of dict props into the page since it only happen...
Andreas Gal [Tue, 21 Jun 2011 19:05:33 +0000 (15:05 -0400)]
whitespace fixes and move inheriting of dict props into the page since it only happens there

13 years agoindentation fix
Andreas Gal [Tue, 21 Jun 2011 18:42:41 +0000 (14:42 -0400)]
indentation fix

13 years agoMerge pull request #35 from sbarman/master
sbarman [Tue, 21 Jun 2011 17:51:50 +0000 (10:51 -0700)]
Merge pull request #35 from sbarman/master

Minor fix to dictionary

13 years agominor fix to render page, add F command, added inhertable dictionary entries
sbarman [Tue, 21 Jun 2011 17:49:02 +0000 (10:49 -0700)]
minor fix to render page, add F command, added inhertable dictionary entries

13 years agodon't die when translating fonts without a charset
Andreas Gal [Tue, 21 Jun 2011 07:42:01 +0000 (03:42 -0400)]
don't die when translating fonts without a charset

13 years agostyle fixes and fix bug in numComps calculation (missing break)
Andreas Gal [Tue, 21 Jun 2011 07:04:33 +0000 (03:04 -0400)]
style fixes and fix bug in numComps calculation (missing break)

13 years agoMerge pull request #32 from sbarman/predictor
andreasgal [Tue, 21 Jun 2011 06:47:31 +0000 (23:47 -0700)]
Merge pull request #32 from sbarman/predictor

Predictor

13 years agoremoved redundant getChar
sbarman [Tue, 21 Jun 2011 05:44:08 +0000 (22:44 -0700)]
removed redundant getChar

13 years agoMerge branch 'master' into predictor
sbarman [Tue, 21 Jun 2011 05:42:26 +0000 (22:42 -0700)]
Merge branch 'master' into predictor

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
sbarman [Tue, 21 Jun 2011 05:42:07 +0000 (22:42 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoMerge pull request #30 from vingtetun/master
andreasgal [Tue, 21 Jun 2011 04:57:58 +0000 (21:57 -0700)]
Merge pull request #30 from vingtetun/master

Add a fake name table to works with Firefox trunk

13 years agoGet rid of the TrueType class, adapt the code to conventions and new code
Vivien Nicolas [Tue, 21 Jun 2011 04:49:59 +0000 (06:49 +0200)]
Get rid of the TrueType class, adapt the code to conventions and new code

13 years agoMerge pull request #33 from notmasteryet/pdf32000_2008
andreasgal [Tue, 21 Jun 2011 04:02:14 +0000 (21:02 -0700)]
Merge pull request #33 from notmasteryet/pdf32000_2008

Fixes 09061a2cc48da67768b regression, spaces, and default value for type

13 years agoFixes 09061a2cc48da67768b regression, spaces, and default value for type
notmasteryet [Tue, 21 Jun 2011 03:55:32 +0000 (22:55 -0500)]
Fixes 09061a2cc48da67768b regression, spaces, and default value for type

13 years agoworking implementation of png and tiff predictors
sbarman [Tue, 21 Jun 2011 03:45:29 +0000 (20:45 -0700)]
working implementation of png and tiff predictors

13 years agocleaned up code
sbarman [Tue, 21 Jun 2011 03:41:24 +0000 (20:41 -0700)]
cleaned up code

13 years agoMerge pull request #31 from justindarc/master
andreasgal [Tue, 21 Jun 2011 03:30:50 +0000 (20:30 -0700)]
Merge pull request #31 from justindarc/master

Replaced zoom control with standard HTML <select/> control

13 years agocleaned up code
sbarman [Tue, 21 Jun 2011 03:28:48 +0000 (20:28 -0700)]
cleaned up code

13 years agoBug fix when an array of filters is passed in
sbarman [Tue, 21 Jun 2011 03:19:13 +0000 (20:19 -0700)]
Bug fix when an array of filters is passed in

13 years agoworking implementation of png and tiff predictors
sbarman [Tue, 21 Jun 2011 02:51:36 +0000 (19:51 -0700)]
working implementation of png and tiff predictors

13 years agorestore getChar in JpegStream
Andreas Gal [Tue, 21 Jun 2011 02:39:49 +0000 (22:39 -0400)]
restore getChar in JpegStream

13 years agoAdd a name to some anonyous functions
Vivien Nicolas [Tue, 21 Jun 2011 02:35:28 +0000 (04:35 +0200)]
Add a name to some anonyous functions

13 years agoRename s2a, s16, s32 and do some dance inside the bind() code
Vivien Nicolas [Tue, 21 Jun 2011 02:30:28 +0000 (04:30 +0200)]
Rename s2a, s16, s32 and do some dance inside the bind() code

13 years agoReplaced zoom control with standard HTML <select/> control.
Justin D'Arcangelo [Tue, 21 Jun 2011 01:08:50 +0000 (21:08 -0400)]
Replaced zoom control with standard HTML <select/> control.

13 years agoFix some leftovers
Vivien Nicolas [Tue, 21 Jun 2011 01:05:28 +0000 (03:05 +0200)]
Fix some leftovers

13 years agoMerge with master
Vivien Nicolas [Tue, 21 Jun 2011 01:01:59 +0000 (03:01 +0200)]
Merge with master

13 years agoMerge branch 'master' into predictor
sbarman [Tue, 21 Jun 2011 00:51:38 +0000 (17:51 -0700)]
Merge branch 'master' into predictor

Conflicts:
pdf.js

13 years agoMerge with master
Vivien Nicolas [Tue, 21 Jun 2011 00:35:14 +0000 (02:35 +0200)]
Merge with master

13 years agocleanup DCTStream rendering code a tad
Andreas Gal [Mon, 20 Jun 2011 23:36:40 +0000 (19:36 -0400)]
cleanup DCTStream rendering code a tad

13 years agoMerge pull request #29 from notmasteryet/jpegstream2
andreasgal [Mon, 20 Jun 2011 23:30:11 +0000 (16:30 -0700)]
Merge pull request #29 from notmasteryet/jpegstream2

DCTDecode; text and images vertical inversion fix

13 years agoMerge pull request #20 from sbarman/streamrewrite2
Chris Jones [Mon, 20 Jun 2011 23:17:21 +0000 (16:17 -0700)]
Merge pull request #20 from sbarman/streamrewrite2

Changed flate stream to get the entire buffer instead of calling getBytes()

13 years agoMerge branch 'pngpredictor' of https://github.com/notmasteryet/pdf.js into predictor
sbarman [Mon, 20 Jun 2011 23:02:29 +0000 (16:02 -0700)]
Merge branch 'pngpredictor' of https://github.com/notmasteryet/pdf.js into predictor

13 years agoMerge branch 'master' into streamrewrite2
sbarman [Mon, 20 Jun 2011 22:00:09 +0000 (15:00 -0700)]
Merge branch 'master' into streamrewrite2

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
sbarman [Mon, 20 Jun 2011 21:59:58 +0000 (14:59 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoMerge branch 'master' into predictor
sbarman [Mon, 20 Jun 2011 21:56:34 +0000 (14:56 -0700)]
Merge branch 'master' into predictor

Conflicts:
pdf.js

13 years agoMerge pull request #19 from sbarman/tiling
Chris Jones [Mon, 20 Jun 2011 21:51:33 +0000 (14:51 -0700)]
Merge pull request #19 from sbarman/tiling

Tiling

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
sbarman [Mon, 20 Jun 2011 21:36:21 +0000 (14:36 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoswitched to using const enums
sbarman [Mon, 20 Jun 2011 21:22:11 +0000 (14:22 -0700)]
switched to using const enums

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js into streamrewrite2
sbarman [Mon, 20 Jun 2011 21:16:09 +0000 (14:16 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js into streamrewrite2

Conflicts:
pdf.js

13 years agoforgot to changed to typeof b == undefined at one location
sbarman [Mon, 20 Jun 2011 21:14:28 +0000 (14:14 -0700)]
forgot to changed to typeof b == undefined at one location

13 years agoused typeof b == undefined
sbarman [Mon, 20 Jun 2011 21:10:10 +0000 (14:10 -0700)]
used typeof b == undefined

13 years agoMerge branch 'master' into streamrewrite2
sbarman [Mon, 20 Jun 2011 21:02:54 +0000 (14:02 -0700)]
Merge branch 'master' into streamrewrite2

Conflicts:
pdf.js

13 years agofixed ExtraStateContext.colorSpace impl
sbarman [Mon, 20 Jun 2011 20:47:42 +0000 (13:47 -0700)]
fixed ExtraStateContext.colorSpace impl

13 years agoUsed symbolic constants
sbarman [Mon, 20 Jun 2011 20:38:27 +0000 (13:38 -0700)]
Used symbolic constants

13 years agoAdd a way to disable fonts that won't load
Vivien Nicolas [Mon, 20 Jun 2011 19:14:33 +0000 (21:14 +0200)]
Add a way to disable fonts that won't load

13 years agoremove remaining uses of integerToBytes in type1 font code
Andreas Gal [Mon, 20 Jun 2011 18:42:39 +0000 (14:42 -0400)]
remove remaining uses of integerToBytes in type1 font code

13 years agoassemble cmap table from strings instead of arrays
Andreas Gal [Mon, 20 Jun 2011 08:27:21 +0000 (04:27 -0400)]
assemble cmap table from strings instead of arrays

13 years agowrite font cmap using a string
Andreas Gal [Mon, 20 Jun 2011 08:20:51 +0000 (04:20 -0400)]
write font cmap using a string

13 years agosimplify glyph segment writing code
Andreas Gal [Mon, 20 Jun 2011 08:16:41 +0000 (04:16 -0400)]
simplify glyph segment writing code

13 years agostore ranges as [start, end], instead of storing all codes
Andreas Gal [Mon, 20 Jun 2011 07:49:40 +0000 (03:49 -0400)]
store ranges as [start, end], instead of storing all codes

13 years agouse Array.sort to calculate glyph ranges instead of large typed arrays
Andreas Gal [Mon, 20 Jun 2011 07:33:52 +0000 (03:33 -0400)]
use Array.sort to calculate glyph ranges instead of large typed arrays

13 years agoAdd more TrueType rewriting magic ('post' table)
Vivien Nicolas [Mon, 20 Jun 2011 06:20:31 +0000 (08:20 +0200)]
Add more TrueType rewriting magic ('post' table)

13 years agostyle fixes, we should post some sensible style guide
Andreas Gal [Mon, 20 Jun 2011 05:20:05 +0000 (01:20 -0400)]
style fixes, we should post some sensible style guide

13 years agoMerge pull request #27 from notmasteryet/objstm
andreasgal [Mon, 20 Jun 2011 05:14:44 +0000 (22:14 -0700)]
Merge pull request #27 from notmasteryet/objstm

Ability to fetch ObjStm objects; multi-item page content

13 years agoMulti-color predictor; row predictor for sub and average
notmasteryet [Mon, 20 Jun 2011 04:23:21 +0000 (23:23 -0500)]
Multi-color predictor; row predictor for sub and average

13 years agoDCTDecode; text and images vertical inversion fix
notmasteryet [Mon, 20 Jun 2011 03:04:45 +0000 (22:04 -0500)]
DCTDecode; text and images vertical inversion fix

13 years agoCheck for more missing tables in TrueType (sigh)
Vivien Nicolas [Mon, 20 Jun 2011 01:01:09 +0000 (03:01 +0200)]
Check for more missing tables in TrueType (sigh)

13 years agoAdd a basic embedded CMap reader
Vivien Nicolas [Mon, 20 Jun 2011 00:52:30 +0000 (02:52 +0200)]
Add a basic embedded CMap reader

13 years agoAbility to fetch ObjStm objects; fix DEFLATE stream double-eof-call issue; multi...
notmasteryet [Sun, 19 Jun 2011 23:55:02 +0000 (18:55 -0500)]
Ability to fetch ObjStm objects; fix DEFLATE stream double-eof-call issue; multi-item page content

13 years agomake createCMAPTable a nested function function
Andreas Gal [Sun, 19 Jun 2011 23:35:32 +0000 (16:35 -0700)]
make createCMAPTable a nested function function

13 years agoin preparation for using strings to write out font data, store constant blobs as...
Andreas Gal [Sun, 19 Jun 2011 23:32:26 +0000 (16:32 -0700)]
in preparation for using strings to write out font data, store constant blobs as strings

13 years agowrite OTF header using a string, not an array
Andreas Gal [Sun, 19 Jun 2011 23:13:59 +0000 (16:13 -0700)]
write OTF header using a string, not an array

13 years agorename conver to convert
Andreas Gal [Sun, 19 Jun 2011 22:58:30 +0000 (15:58 -0700)]
rename conver to convert

13 years agomake createOpenTypeHeader and createTableEntry inner functions of co(n)ver(t) so...
Andreas Gal [Sun, 19 Jun 2011 22:58:02 +0000 (15:58 -0700)]
make createOpenTypeHeader and createTableEntry inner functions of co(n)ver(t) so we can use an upvar to collect the output

13 years agomake createOpenTypeHeader and createTableEntry inner functions
Andreas Gal [Sun, 19 Jun 2011 22:54:27 +0000 (15:54 -0700)]
make createOpenTypeHeader and createTableEntry inner functions

13 years agoadd a closure around Font so we can hide helper functions in it
Andreas Gal [Sun, 19 Jun 2011 22:46:58 +0000 (15:46 -0700)]
add a closure around Font so we can hide helper functions in it

13 years agodon't use an array to translate from a typed array to a string, and always store...
Andreas Gal [Sun, 19 Jun 2011 22:30:55 +0000 (15:30 -0700)]
don't use an array to translate from a typed array to a string, and always store font data as typed array, never as a stream

13 years agohandle surrogate pairs in glyph to unicode translation
Andreas Gal [Sun, 19 Jun 2011 22:14:07 +0000 (15:14 -0700)]
handle surrogate pairs in glyph to unicode translation

13 years agoFix the encoding problem for TrueType
Vivien Nicolas [Sun, 19 Jun 2011 22:09:50 +0000 (00:09 +0200)]
Fix the encoding problem for TrueType

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Sun, 19 Jun 2011 20:20:00 +0000 (13:20 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoMerge pull request #26 from justindarc/master
andreasgal [Sun, 19 Jun 2011 20:06:53 +0000 (13:06 -0700)]
Merge pull request #26 from justindarc/master

Updated zoom input