b2a770042ebfd44989c2853689e5f45eee4a3ad9 |
|
09-Feb-2016 |
Yabin Cui <yabinc@google.com> |
libziparchive: port unit tests to darwin and windows. Also use ReadFully to replace read, because read can return reading bytes less than requested. And use WriteFully to replace write. Bug: 26962895 Change-Id: Iff0b2bc6d925619a537f7fef682c2a7ad89a2dc2 (cherry picked from commit 8e6f7227641e05dccfc29dad62e29e730ff8f5ca)
/system/core/libziparchive/zip_writer_test.cc
|
5e9f3d44a3472882f3315e692862dd017cac8875 |
|
19-Jan-2016 |
Christopher Ferris <cferris@google.com> |
Allow setting an arbitrary alignment for an entry. The current code only allows the creation of an entry that is 32 bit aligned. Bug: 25446938 Change-Id: I6c924df12ef2bc067b3de7789257af7e3db7e904
/system/core/libziparchive/zip_writer_test.cc
|
4f71319df011d796a60a43fc1bc68e16fbf7d321 |
|
05-Dec-2015 |
Elliott Hughes <enh@google.com> |
Track rename of base/ to android-base/. Change-Id: Idf9444fece4aa89c93e15640de59a91f6e758ccf
/system/core/libziparchive/zip_writer_test.cc
|
a2a32b0ec6a5b51983bc14f6823631a6bcae2690 |
|
05-Nov-2015 |
Christopher Ferris <cferris@google.com> |
Fix bug in writing zips. The code does not handle an edge case where writing a compressed image can overflow the avail_out data when doing a flush. Add a loop to keep writing the data while deflate indicates that it doesn't have enough space to write out the compressed data during the flush. Change-Id: I1f1d1646457ed9b67ed24f6582688c300186c23c
/system/core/libziparchive/zip_writer_test.cc
|
591fd3953df979293928c82555db259ef9f6e52d |
|
07-Oct-2015 |
Adam Lesinski <adamlesinski@google.com> |
Add deflate compression to ZipWriter Use zlib to deflate compress data into the zip file. Change-Id: If094b926a67e199be976c3190781cd0101dd66e1
/system/core/libziparchive/zip_writer_test.cc
|
ad4ad8cfc8c1eada8356d554eeb0639ee48ef00d |
|
06-Oct-2015 |
Adam Lesinski <adamlesinski@google.com> |
Implement ZipWriter for quickly writing ZipFiles. The ZipWriter implementation exposes a stateful interface that allows bytes of data to be streamed in as they arrive. ZipEntries can be compressed and/or aligned on a 32-bit boundary for mmapping at runtime. Change-Id: I43ac9e661aa5022f00d9e12b247c4314d61c441c
/system/core/libziparchive/zip_writer_test.cc
|