bb65253db600d05ca6eeedc6d076f6af20680f99 |
|
10-Mar-2014 |
Narayan Kamath <narayan@google.com> |
Use the correct buffer size for the Pushback stream. The maximum number of bytes we can push back to the stream is the actual size of the DeflaterInputStream buffer (buf.length) and not the default size (BUF_LENGTH). bug: https://code.google.com/p/android/issues/detail?id=66409 Change-Id: I78a80b6ced8606602361abd8a969fa6f8227596c
|
992cf02ded7fed6d57a5b64ffc87fcd116ee8ef8 |
|
07-Jan-2014 |
John Spurlock <jspurlock@google.com> |
GZIPInputStream: avoid leaks in init. If we throw inside the ctor, it is impossible for clients to pass the CloseGuard test for the associated Inflater. Change-Id: I6c4e66a98742fbd15bcdd03aa03e2fa7e33e110b
|
8a246b1fceebc62282122680e11fe08d4f36b239 |
|
20-Dec-2013 |
Narayan Kamath <narayan@google.com> |
Allow multiple gzip members in gzip streams. We look for the gzip magic bytes at the end of every member and try to decompress the remainder of the stream if we find it. Note that this changes the behaviour of this class wrt. the underlying stream: It is no longer self limiting. It will attempt to read past the gzip trailer to look for more data to decompress. Before this change, it would've been possible to (hackily) consume the rest of the compressed stream directly by inspecting the value of InflaterInputStream.inf.getRemainingBytes(). It's no longer possible to sensibly support that. bug: https://code.google.com/p/android/issues/detail?id=63873 Change-Id: I818f77c052a811ed98b76243f2ad8a1a4d236d70
|
325ff8c68ed5e530e9e1d487b9e2e6d8f8e2bd37 |
|
25-Jun-2013 |
Elliott Hughes <enh@google.com> |
Clean up the #read javadoc. By being more consistent in parameter naming, we can inherit more javadoc. Also fix a couple of javadoc warnings in KnownFailure and DataInputStream. Change-Id: I778f40469404fb50c51cdb1068970974f923180c
|
f934c3d2c8dd9e6bc5299cef41adace2a671637d |
|
15-Mar-2011 |
Elliott Hughes <enh@google.com> |
Make OSMemory the semi-supported libcore.io.Memory. Looks like we're not going to bother with a separate libcore.os package, when libcore.io will do. Change-Id: I2806c59349ed4b6410d768c4207c384ced973c54
|
0d4ce4227fa818288b8db762b640dfa21e3162f5 |
|
12-Jan-2011 |
Elliott Hughes <enh@google.com> |
Change all "final static"s to "static final". Just so we sound like native speakers. Change-Id: I4d98ec7519af8c1578609945ca9d480484b82874
|
b9cc455ed89df1a0cf4186c92b352c9649995d96 |
|
04-Dec-2010 |
Elliott Hughes <enh@google.com> |
Use our canonical Arrays range-checking methods. There are a handful of manual range-checkers left, thanks to specified API that throws IllegalArgumentException instead, and a few other weird cases. Change-Id: I80914c2257288fc184100545aff4fd6f57bf32c9
|
fd2d7c4f244a78ee74db4944acf2a6378b65d43b |
|
12-Nov-2010 |
Elliott Hughes <enh@google.com> |
More java.util.zip documentation improvements. Follow-on to https://android-git.corp.google.com/g/79392. Change-Id: I7ebdb5f0824d30e0b86d4e1ac236377bbda1cd08
|
d42697f6a5bac5d8789c82f45f79f7dd195dc768 |
|
11-Nov-2010 |
Elliott Hughes <enh@google.com> |
Better documentation for GZIPInputStream/GZIPOutputStream/ZipInputStream/ZipOutputStream. I didn't know how to use ZipInputStream/ZipOutputStream off the top of my head; that's a sign we need an example in the documentation. Change-Id: I0410927a4a784991ff183c30c4cf59752b7ed8e8
|
6604ca7c911bbe73e59924dac2fa900b1bddfc74 |
|
04-Nov-2010 |
Elliott Hughes <enh@google.com> |
Fix sign-extension issues in GZIPInputStream. Bug: 3164285 Change-Id: Ic46a8d9a0ca23904fde85e70f4a8c218d4eb58f7
|
096f877a77e0913849288837b8abac4bdafceca4 |
|
04-Nov-2010 |
Elliott Hughes <enh@google.com> |
Fix sign-extension issues in GZIPInputStream. Bug: 3164285 Change-Id: Ic46a8d9a0ca23904fde85e70f4a8c218d4eb58f7
|
b5bde2fd72189192b52e726a2d606d70c3c8a34b |
|
02-Nov-2010 |
Elliott Hughes <enh@google.com> |
More shift removal. A few more customers for OSMemory's peek/poke abilities, and a bunch of shifts that should have been multiplications. Bug: 3032515 Change-Id: Ic518fd8f7565d67523ea10e3f5afca3a9c8501b8
|
c941a854631c4bf2369adc84887bb6dd386a1bcc |
|
22-May-2010 |
Elliott Hughes <enh@google.com> |
Fix build. Change-Id: I61d838fdb9147b1e488cf6c9ea0aa1e1e87f935e
|
b1433b3bd4dfc05426e5d9c3100b5fbaa198d8a0 |
|
21-May-2010 |
Elliott Hughes <enh@google.com> |
More messages.properties removal. Change-Id: Ie90ca910b1d9f23565f8929c63186879932a4dc3
|
f33eae7e84eb6d3b0f4e86b59605bb3de73009f3 |
|
13-May-2010 |
Elliott Hughes <enh@google.com> |
Remove all trailing whitespace from the dalvik team-maintained parts of libcore. Gentlemen, you may now set your editors to "strip trailing whitespace"... Change-Id: I85b2f6c80e5fbef1af6cab11789790b078c11b1b
|
fd6bb3510c2f94d636f3572dcf5f7f4dcd1a2726 |
|
13-May-2010 |
Elliott Hughes <enh@google.com> |
Remove //$NON-NLS-\d$ cruft. Mostly done by perl(1), with manual cleanup of the few misspelled instances. This makes our trailing whitespace slightly worse, but I'll fix all that with a follow-on change. Change-Id: I0b4ca98819be6f9519c4ba980d759bd1ee1a0303
|
cec4dd4b1d33f78997603d0f89c0d0e56e64dbcd |
|
26-Apr-2010 |
Peter Hallam <peterhal@google.com> |
merge more modules into luni
|