Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
apache-commons-compress
/
c87331031f18d5a41266f0fa83b0eb119d840e05
/
src
/
main
/
java
/
org
/
apache
/
commons
/
compress
/
archivers
/
zip
/
ZipArchiveInputStream.java
c873310
Removed the unnecessary @inheritDoc tags
by Emmanuel Bourg
· 11 years ago
b86d8a6
Remove direct citations form APPNOTE.TXT in javadocs, obey to section
by Stefan Bodewig
· 11 years ago
df8b3b2
Avoid NPE warning
by Sebastian Bazley
· 11 years ago
d9b5596
COMPRESS-219 reading stored entries could try to read past the end of the internal buffer
by Stefan Bodewig
· 11 years ago
2f69e63
Drop trailing spaces where file has at least one instance of multiple trailing spaces
by Sebastian Bazley
· 12 years ago
7181d54
consume remainder of ZIP when last LF-entry has been read
by Stefan Bodewig
· 12 years ago
a6072ce
Document why local buffers are used (and restrictions on their use)
by Sebastian Bazley
· 12 years ago
a2f978e
COMPRESS-172 reuse temporary byte-arrays in several places to reduce garbage collection pressure - inspired by a patch by Thomas Mair
by Stefan Bodewig
· 12 years ago
0d6defe
COMPRESS-208 properly detect split ZIP files
by Stefan Bodewig
· 12 years ago
e10ce2c
COMPRESS-208: skip over PK00 splitting marker which really only says 'nothing to see here'
by Stefan Bodewig
· 12 years ago
92d8c57
explicitly fail when ZipArchiveInputStream reads a split/spanned archive
by Stefan Bodewig
· 12 years ago
b4a985f
if the inflater needs a dictionary, that's worth an exception
by Stefan Bodewig
· 12 years ago
e2cf412
COMPRESS-189 Inflater may return 0 if it needs more input, we don't handle this case properly
by Stefan Bodewig
· 12 years ago
2ab43b0
COMPRESS-192 add an encoding option to ArchiveStreamFactory for zip and tar. Based on patch by Jukka Zitting
by Stefan Bodewig
· 12 years ago
0417363
Change access using declaring type.
by Gary D. Gregory
· 12 years ago
2bd0dd4
Normalize all @since tags to "@since version" instead of "@since Apache Commons Compress version"
by Gary D. Gregory
· 12 years ago
3b3f4cf
Unthrown Exception
by Sebastian Bazley
· 13 years ago
9dd152d
whitespace - and rename of local variables in ZAIS.bufferContainsSignature
by Stefan Bodewig
· 13 years ago
794c20f
a few 'extract method' refactorings to make code more readable, still won't win a beauty-contest
by Stefan Bodewig
· 13 years ago
cadc527
work around unexpected result from Inflater#getBytesRead
by Stefan Bodewig
· 13 years ago
d48f106
finalize deflater and inflater instances in ZIP streams. COMPRESS-152
by Stefan Bodewig
· 13 years ago
04e132b
separate state of stream from state of entry current being read from state of temporary buffer data is read into. Document a few fields
by Stefan Bodewig
· 13 years ago
1e708a0
don't rely on archives to implement ZIP64 correctly when reading the data descriptor. Works around a bug in java.util.ZipArchiveOutputStream of Java7, may be useful for other implementations as well. COMPRESS-148
by Stefan Bodewig
· 13 years ago
679449a
unused imports
by Stefan Bodewig
· 13 years ago
5031a97
ignore 'version made by' and use the Zip64 field if present
by Stefan Bodewig
· 13 years ago
3879e47
Assume a record is using ZIP64 if and only if the ZIP64 extended information
by Stefan Bodewig
· 13 years ago
8659088
minor optimization
by Stefan Bodewig
· 13 years ago
825b46d
whitespace
by Stefan Bodewig
· 13 years ago
6c5f04b
first cut at reading Zip64 without any real tests, yet. At least the existing test still pass. COMPRESS-148
by Stefan Bodewig
· 13 years ago
e53e88a
Java5ify ZipArchiveInputStream implementation and related classes
by Stefan Bodewig
· 13 years ago
3f1a7c4
use long returning methods in Java5's Inflater/Deflater. Addresses COMPRESS-129.
by Stefan Bodewig
· 13 years ago
934a96e
Provide access to the raw bytes that made up the ZIP entry's name. COMPRESS-123
by Stefan Bodewig
· 13 years ago
797d74f
deal with entries of a size between Integer.MAX_VALUE and 2 * Integer.MAX_VALUE (size is unsigned in ZIPs). COMPRESS-129. As pointed out by Sebb the solution is incomplete and a more complete resolution is not possible without requiring Java5.
by Stefan Bodewig
· 13 years ago
7a76c47
'our' skip method will not return early. COMPRESS-130
by Stefan Bodewig
· 13 years ago
8006d31
Javadoc tidyup
by Sebastian Bazley
· 14 years ago
6209f81
@since markers Javadoc updates
by Sebastian Bazley
· 14 years ago
03e94a4
optionally read STORED entries with data descriptors. COMPRESS-103
by Stefan Bodewig
· 14 years ago
02e2be6
STORED entry with data descriptors are not a problem for ZipFile and the output stream doesn't care anyway - so only check for the combination inside the input stream.
by Stefan Bodewig
· 14 years ago
1154e7b
actually read content of data descriptor
by Stefan Bodewig
· 14 years ago
62cb9c4
provide access to the general purpose bit flag field of a zip entry and fail when a STORED entry requires a data descriptor. COMPRESS-100
by Stefan Bodewig
· 14 years ago
d7ea9ff
Check a data descriptor actually uses the signature before skipping too many bytes if it doesn't. COMPRESS-101
by Stefan Bodewig
· 14 years ago
b6814d4
extract common code
by Stefan Bodewig
· 14 years ago
e0692ec
canRead => canReadEntryData as discussed on the list
by Stefan Bodewig
· 14 years ago
734e6f7
if it's not a ZipArchiveEntry then the stream can't read/write it
by Stefan Bodewig
· 14 years ago
a33505b
move canRead/canWrite up. Remove isSupportedCompressionMethod. COMPRESS-93
by Stefan Bodewig
· 14 years ago
c7e51ed
detect encrypted entries and say that you can't read/write them. COMPRESS-89
by Stefan Bodewig
· 14 years ago
4d68dda
extract general purpose bit logic
by Stefan Bodewig
· 14 years ago
2b20993
EFS in APPNOTE.TXT stands for 'Early Feature Specification' so our usage of it as 'use the general purpose field to signal UTF8' is wrong.
by Stefan Bodewig
· 14 years ago
a1015f3
properly count bytes read. COMPRESS-74
by Stefan Bodewig
· 14 years ago
41aa509
COMPRESS-93: Support for alternative ZIP compression methods
by Jukka Zitting
· 15 years ago
b6886eb
COMPRESS-93: Support for alternative ZIP compression methods
by Jukka Zitting
· 15 years ago
7b125a3
COMPRESS-93: Support for alternative ZIP compression methods
by Jukka Zitting
· 15 years ago
dc3fc47
make ZipArchiveInputStream deal better with truncated archives. Submitted by Antoni Mylka. COMPRESS-87
by Stefan Bodewig
· 15 years ago
f84dd36
Only use the zip-extra-field if configured to do so and the entry didn't set the EFS flag - COMPRESS-70
by Stefan Bodewig
· 15 years ago
7ae0eec
Remove or document unused fields
by Sebastian Bazley
· 15 years ago
4bce1fb
COMPRESS-56: enabled counting read bytes in InputStreams and added this information to exceptions, where it seems to fit.
by Christian Grobmeier
· 15 years ago
f7f6b18
Javadoc
by Sebastian Bazley
· 15 years ago
6117cc1
Remove unnecessary override methods
by Sebastian Bazley
· 15 years ago
fa526cb
Empty Zip files start with End of Central directory
by Sebastian Bazley
· 15 years ago
99870ef
Not thread-safe
by Sebastian Bazley
· 15 years ago
958e1bc
unused
by Sebastian Bazley
· 15 years ago
008ca94
support as much as possible of ZipFile as a stream can do in ZipArchiveInputStream, COMPRESS-47
by Stefan Bodewig
· 15 years ago
eadbe11
correct signature detection of ZIP archives.
by Stefan Bodewig
· 15 years ago
a7049ab
provide convenience getNext*Entry methods to ArchiveInputStream subclasses
by Stefan Bodewig
· 16 years ago
3f9bcc6
fix whitespace
by Stefan Bodewig
· 16 years ago
463d6eb
rename ZipEntry to ZipArchiveEntry
by Stefan Bodewig
· 16 years ago
af2b66d
merge ZipEntry and ZipArchiveEntry into a single class
by Stefan Bodewig
· 16 years ago
dff9001
use length of signature read when trying to match input stream formats
by Stefan Bodewig
· 16 years ago
fa8fea7
whitespace only
by Stefan Bodewig
· 16 years ago
743d7c5
some indentation changes and add myself to the POM
by Stefan Bodewig
· 16 years ago
ca16539
import of new redesign branch
by Torsten Curdt
· 16 years ago