#
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_
* 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
show more ...
|
#
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 main
* 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
show more ...
|