History log of /haiku/src/apps/installer/UnzipEngine.cpp
Revision Date Author Comments
# 816aded4 18-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Added Installer and DriveSetup to image.


# f011602b 17-May-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by idefix: Change the parsing of zip output so that Installer will show
the name of extracted items when the target volume name contains spaces.
Closes ticket #4732, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36848 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4ca1875a 07-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

Fixed warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32987 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 43eaa79d 07-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

Handle the .OptionalPackageDescription files correctly in the UnzipEngine.
Decided it would be easiest there, since it already needed to know about them.
Tested with a whole bunch of our packages and it appends them correctly to the
AboutSystem COPYRIGHTS attribute.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32986 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 72586154 06-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

* Finished ProgressReporter
* Integrated ProgressReporter into CopyEngine and UnzipEngine.
* Integrated unzipping to main installer engine. Since there are currently no
.zip files in the _packages_ folder (and not even a _packages_ folder
itself), this is completely invisible, but it works.

TODO: Adjust the build system to optionally copy packages into _packages_
instead of extracting them. Like for the CD build profile mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32967 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 41974e43 06-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

* Changed the UnzipEngine to be a BCommandPipe::LineReader itself, this
simplified the code somewhat (maintaining of state).
* UnzipEngine does a more complete parsing of the .zip contents and maintains
a hashmap of item names to byte size entries. During unzipping later on, this
allows to know how many bytes were unzipped for the given item.
* Test whether folders from the .zip already exists, and exclude them from the
item count, since unzip will not report creating folders that already
existed.
* Added the unzipping of packages in the _package_ folder to WorkerThread, but
it is currently commented out to keep Installer in a working state. It would
work, but the problem is that the progress bar would reset itself at the
moment (for every package).
* Started a ProgressReporter class that will later be used by all CopyEngine and
UnzipEngine instances. This is work in progress and not yet part of the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32959 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dce00bc1 02-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

Added UnzipEngine, work in progress. This actually unzips, but the progress
reporting is incomplete and it is not yet used for anything, it's not even
part of the build. I am testing it in a selfcontained little test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32905 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 816aded4c161cb68946562c79e05c5a7eb145268 18-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Added Installer and DriveSetup to image.


# f011602b086a5ec49b62de2d3793c1711f1064ee 17-May-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by idefix: Change the parsing of zip output so that Installer will show
the name of extracted items when the target volume name contains spaces.
Closes ticket #4732, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36848 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4ca1875ae9a45b6edbfeb67907f191d14f5f3fc3 07-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

Fixed warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32987 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 43eaa79d337aa286e2f9bc509a3989566905063f 07-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

Handle the .OptionalPackageDescription files correctly in the UnzipEngine.
Decided it would be easiest there, since it already needed to know about them.
Tested with a whole bunch of our packages and it appends them correctly to the
AboutSystem COPYRIGHTS attribute.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32986 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 72586154d7f505bd5f15377db729b515d40dee40 06-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

* Finished ProgressReporter
* Integrated ProgressReporter into CopyEngine and UnzipEngine.
* Integrated unzipping to main installer engine. Since there are currently no
.zip files in the _packages_ folder (and not even a _packages_ folder
itself), this is completely invisible, but it works.

TODO: Adjust the build system to optionally copy packages into _packages_
instead of extracting them. Like for the CD build profile mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32967 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 41974e4319eb77026df1bceb9e24d07ddd2ea6c8 06-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

* Changed the UnzipEngine to be a BCommandPipe::LineReader itself, this
simplified the code somewhat (maintaining of state).
* UnzipEngine does a more complete parsing of the .zip contents and maintains
a hashmap of item names to byte size entries. During unzipping later on, this
allows to know how many bytes were unzipped for the given item.
* Test whether folders from the .zip already exists, and exclude them from the
item count, since unzip will not report creating folders that already
existed.
* Added the unzipping of packages in the _package_ folder to WorkerThread, but
it is currently commented out to keep Installer in a working state. It would
work, but the problem is that the progress bar would reset itself at the
moment (for every package).
* Started a ProgressReporter class that will later be used by all CopyEngine and
UnzipEngine instances. This is work in progress and not yet part of the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32959 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dce00bc179fa122bd3f06e8c73ba7034c1885067 02-Sep-2009 Stephan Aßmus <superstippi@gmx.de>

Added UnzipEngine, work in progress. This actually unzips, but the progress
reporting is incomplete and it is not yet used for anything, it's not even
part of the build. I am testing it in a selfcontained little test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32905 a95241bf-73f2-0310-859d-f6bbb57e9c96