#
e9254dd7 |
| 09-Sep-2024 |
Augustin Cavalier <waddlesplash@gmail.com> |
Package Kit, WebPositive: Standardize string hashes.
Use either HashString or BString::HashValue (both of which currently use the "modified hashpjw".)
|
#
9f81ca83 |
| 27-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge branch 'package-management'
Conflicts: src/preferences/network/Jamfile
|
#
0c59a38e |
| 26-Jul-2013 |
Oliver Tappe <zooey@hirschkaefer.de> |
Drop debug leftover.
|
#
e2732c07 |
| 25-Jul-2013 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix 'package extract' with multiple explicit entries
* before adding a child to a parent entry, we need to check if the parent already contains that child, as otherwise duplicate children with
Fix 'package extract' with multiple explicit entries
* before adding a child to a parent entry, we need to check if the parent already contains that child, as otherwise duplicate children with identical names would be added, which in turn messes up the handling of the entries that are to be extracted
show more ...
|
#
d59e0feb |
| 20-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package: Suppress version mismatch errors where V1 is supported
* Add flags parameter to Init() of BPackageReader and friends. * Introduce flag B_HPKG_READER_DONT_PRINT_VERSION_MISMATCH_MESSAGE and
package: Suppress version mismatch errors where V1 is supported
* Add flags parameter to Init() of BPackageReader and friends. * Introduce flag B_HPKG_READER_DONT_PRINT_VERSION_MISMATCH_MESSAGE and don't print a version mismatch error when given. * package extract/list: Use the new flag.
show more ...
|
#
1f633814 |
| 18-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
hpkg format: compress the whole heap
Instead of handling compression for individual file/attribute data we do now compress the whole heap where they are stored. This significantly improves compressi
hpkg format: compress the whole heap
Instead of handling compression for individual file/attribute data we do now compress the whole heap where they are stored. This significantly improves compression ratios. We still divide the uncompressed data into 64 KiB chunks and use a chunk offset array for the compressed chunks to allow for quick random access without too much overhead. The tradeoff is a limited possible compression ratio -- i.e. we won't be as good as tar.gz (though surprisingly with my test archives we did better than zip).
The other package file sections (package attributes and TOC) are no longer compressed individually. Their uncompressed data are simply pushed onto the heap where the usual compression strategy applies. To simplify things the repository format has been changed in the same manner although it doesn't otherwise use the heap, since it only stores meta data.
Due to the data compression having been exposed in public and private API, this change touches a lot of package kit using code, including packagefs and the boot loader packagefs support. The latter two haven't been tested yet. Moreover packagefs needs a new kind of cache so we avoid re-reading the same heap chunk for two different data items it contains.
show more ...
|
#
0ee16518 |
| 14-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Rename BBlockBufferCache and friends to *Pool*
Also move BBlockBufferPoolNoLock into BHPKG namespace with the other classes. Not sure why it wasn't there before.
|
#
9172ffdb |
| 13-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package list/extract: Add support for hpkg format V1
|
#
2c32402d |
| 13-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package kit: internalize BPackageDataReader
It is no longer public (or even private) API. BPackageDataReaderFactory returns a BAbstractBufferedDataReader instead. The advantage is that the latter do
package kit: internalize BPackageDataReader
It is no longer public (or even private) API. BPackageDataReaderFactory returns a BAbstractBufferedDataReader instead. The advantage is that the latter doesn't have hpkg format specific dependencies.
show more ...
|
#
0816749e |
| 01-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package_repo: Removes dependency to package
* Move StandardErrorOutput to libpackage and into proper namespace to avoid "package_repo" having to reuse the "package" source file. * package_repo: Fi
package_repo: Removes dependency to package
* Move StandardErrorOutput to libpackage and into proper namespace to avoid "package_repo" having to reuse the "package" source file. * package_repo: Fix incorrect includes of "package.h".
show more ...
|
#
a84e14ca |
| 16-Dec-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Merge branch 'master' of git://github.com/haiku/haiku
|
#
d06e885a |
| 01-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Print relative paths in error messages
|
#
37d971d3 |
| 01-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Support for extracting only specified entries
|
#
006056b7 |
| 01-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add package extract -i option
Allows to specify an alternate location for the .PackageInfo.
|
#
93fc03aa |
| 30-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Remove debug output
|
#
e6466c9a |
| 29-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package extract: Delay setting node permissions
In HandleEntry() create the file/directory with sufficient permissions for the user and set the archived permissions in HandleEntryDone(). This makes
package extract: Delay setting node permissions
In HandleEntry() create the file/directory with sufficient permissions for the user and set the archived permissions in HandleEntryDone(). This makes sure child attributes and entries can be created.
show more ...
|
#
16ca035b |
| 19-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Nicer error output
|
#
cdf4afaa |
| 16-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use fs_close_attr()/write_pos() instead of close()/pwrite().
This makes it easier to reuse the code on non-Haiku platforms.
|
#
52232dbf |
| 01-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Print relative paths in error messages
|
#
4796acbc |
| 01-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Support for extracting only specified entries
|
#
4f5d405e |
| 01-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add package extract -i option
Allows to specify an alternate location for the .PackageInfo.
|
#
55191c9a |
| 30-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Remove debug output
|
#
1ef35574 |
| 29-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package extract: Delay setting node permissions
In HandleEntry() create the file/directory with sufficient permissions for the user and set the archived permissions in HandleEntryDone(). This makes
package extract: Delay setting node permissions
In HandleEntry() create the file/directory with sufficient permissions for the user and set the archived permissions in HandleEntryDone(). This makes sure child attributes and entries can be created.
show more ...
|
#
d971dfb6 |
| 19-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Nicer error output
|
#
1cb2d5a4 |
| 16-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use fs_close_attr()/write_pos() instead of close()/pwrite().
This makes it easier to reuse the code on non-Haiku platforms.
|