package: Add ZipOutputEntry to isolate deflating of streams

Desktop / LibreOffice - Matúš Kukan [collabora.com] - 23 October 2014 07:30 UTC

Preparation commit for deflating streams in parallel. We still use the same single XOutputStream (ByteChucker :-) for sequential writing but this can now be changed more easily.

3a8bddc package: Add ZipOutputEntry to isolate deflating of streams.
package/Library_package2.mk | 1 +
package/inc/ZipOutputEntry.hxx | 79 +++++
package/inc/ZipOutputStream.hxx | 49 +---
package/inc/ZipPackageFolder.hxx | 5 +-
package/source/zipapi/ZipOutputEntry.cxx | 367 ++++++++++++++++++++++++
package/source/zipapi/ZipOutputStream.cxx | 351 +---------------------
package/source/zippackage/ZipPackage.cxx | 36 +--
package/source/zippackage/ZipPackageFolder.cxx | 31 +-
8 files changed, 504 insertions(+), 415 deletions(-)

Upstream: cgit.freedesktop.org


  • Share