53 Commits (5c17df9f07116f45b5e2c8689128d1365a60823a)

Author SHA1 Message Date
Jonas Jenwald 079b563e2d Ensure that the `params` parameter of the `PredictorStream` is a dictionary (issue 7200) 9 years ago
Yury Delendik 35cbf74b12 Refactors to remove stream.js dependency on colorspace.js 9 years ago
Yury Delendik bda5e6235e Removes global PDFJS usage from the src/core/. 9 years ago
Yury Delendik 6038c236b2 Removes core/stream circular dependency on core/parser. 9 years ago
Yury Delendik 6b60c8f4db Adds UMD headers to core, display and shared files. 9 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Jonas Jenwald 385e2e5aaf Check if the `Decode` entry is non-default when deciding if JPEG images are natively supported/decodable (issue 6238) 10 years ago
Jonas Jenwald a1743d9952 Revert PR 6024 "[Firefox] Parse all JPEG images in the addon", since it's fixed upstream 10 years ago
Jonas Jenwald dd4fc29cbc [Firefox] Parse all JPEG images in the addon 10 years ago
Marco Castelluccio 1bd952f897 Use Int32Array instead of Uint32Array in FlateStream 10 years ago
Tim van der Meij 27e3558a41 Fix CCITTStream regression by byte-aligning rows before checking EOL marker 10 years ago
Jonas Jenwald 6dfc73a5da Modify |getUint16| to correctly handle missing data in Stream, DecodeStream and ChunkedStream 10 years ago
Tim van der Meij b835ef425e CCITTFaxStream: fix regression when EncodedByteAlign is true and EndOfLine is false 10 years ago
Jonas Jenwald 3e1b5216ac Refactor searching for the SOI marker of inline JPEG image streams 11 years ago
Yury Delendik 2d7a34d692 Fixes decoding for CMYK jpegs. 11 years ago
Jonas Jenwald d1974eae34 Add peekByte method to Stream, DecodeStream and ChunkedStream 11 years ago
Jonas Jenwald 7c044bc30d Fetch decodeParams if it's a |Ref| in JBIG2Decode streams 11 years ago
Tim van der Meij 238a5f8a30 Fixes CCITTFaxStream regression 11 years ago
Tim van der Meij 5cc7d23066 Properly set this.eof in CCITTFaxStream 11 years ago
Jonas Jenwald 4b54d6fd43 Add strict equalities in src/core/stream.js 11 years ago
Jonas Jenwald b950118681 Revert commit fc73e2e (PR 5005) for breaking certain PDF files 11 years ago
Nicholas Nethercote db866945b7 Improve how DecodeStream handles empty buffers. 11 years ago
fkaelberer fc73e2e173 use getBytes() instead of looping over getByte() 11 years ago
Tim van der Meij 9c072a5d4b Renames concatenateToArray to appendToArray 11 years ago
Fabian Lange 22a0e7fe65 Optimization for FlateStream_getCode, making more pdfs parsable. 11 years ago
Yury Delendik 6b411b559d Fixes masked JPEG image 11 years ago
Yury Delendik 6235e3a61c Adds color components decoding to the JPEG 11 years ago
Jonas Jenwald ea0453f106 Add isEmpty method to Stream, DecodeStream and ChunkedStream 11 years ago
p01 330b99f428 Optimized stream.js / 9-10x faster DecodeStream_ensureBuffer 11 years ago
Thorben Bochenek e8f0700bfa Move the colour conversion to jpg.js 11 years ago
fkaelberer b06c10cbbd rename getUint32 to getInt32 and collect readInt*() in util.js 11 years ago
fkaelberer 04602c8a5e Less copying in the JPX coder, merged and rebased 11 years ago
Rob Wu 2e97c0d085 Remove some unused variables from src/ 11 years ago
Tim van der Meij df91acf239 Fixes lint warning W004 in src/core 11 years ago
Yury Delendik 31f081ae17 Doesn't traverse cyclic references in Dict.getAll; reduces empty-Dict garbage 11 years ago
Jonas Jenwald 6883362a84 Fix coding style in src/core/stream.js 11 years ago
Nicholas Nethercote 6a75e45309 Allocate fewer objects when parsing 2 and 4 byte chunks. 11 years ago
Nicholas Nethercote b3024db677 Estimate the size of decoded streams in advance. 11 years ago
Nicholas Nethercote ea17749b93 Don't get bytes eagerly when creating FlateStream objects. 11 years ago
Nicholas Nethercote d0253c8291 Don't get bytes eagerly when creating {Jpeg,Jpx,Jbig2}Stream objects. 11 years ago
fkaelberer 6755ea70b0 Fix infinite loop in DecodeStream_ensureBuffer() 11 years ago
Nicholas Nethercote fe8b6b0950 Remove FakeStream. 11 years ago
Nicholas Nethercote 64431a9909 Avoid extra allocations in ensureBuffer() caused by an off-by-one error. 11 years ago
Nicholas Nethercote 33dd1b0c3c Remove the unnecessary this.buf in CCITTFaxStream. 11 years ago
Jonas Jenwald e6c805490b [JBIG2] Fix getting decodeParms when it's an array 12 years ago
Rob Wu 43847d7ff8 Set eof to true at the end of a FlateStream 12 years ago
Yury Delendik c8af2565f1 Uses blob URL instead of data when possible 12 years ago
Brendan Dahl 5ecce4996b Split files into worker and main thread pieces. 12 years ago
Yury Delendik 8ee9db45ef Fixes ASCIIHex decoding 12 years ago
Yury Delendik 19e8f2f059 lookChar refactoring 12 years ago