haiku/headers/os
Ingo Weinhold 1f633814fa 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.
2013-05-25 01:12:25 +02:00
..
add-ons Applied an updated patch by looncraz to enable hardware cursor. 2012-11-28 22:33:08 +01:00
app Merge branch 'master' into package-management 2013-05-05 15:03:26 +02:00
arch Implemented user debugging support for x86_64. 2012-08-07 20:20:42 +01:00
be_apps Applied slightly reworked and updated patch from ticket #1576 2011-10-29 15:38:20 +00:00
bluetooth Fix more GCC4 narrowing conversion warnings. 2013-05-03 19:42:04 +02:00
device Revert r42812. As pointed by Michael, one can use 2011-10-24 21:02:14 +00:00
drivers Merge branch 'nfs4' 2013-03-11 13:00:55 +01:00
game Style fixes to DirectWindow.h, no functional change 2012-12-21 19:18:45 -05:00
interface Remove the unused bounds parameter from DrawLabel 2013-05-09 21:29:13 -04:00
kernel vm: remove B_RANDOMIZED_IMAGE_ADDRESS address specification 2013-04-09 22:09:13 +02:00
locale Switch BUnicodeChar to wrap the ICU's UChar32 one 2013-04-07 20:14:37 +02:00
mail Merge patch by plfiorini : 2011-11-02 14:57:43 +00:00
media Revert "Rename header params to match BeBook. No implementation." 2012-12-24 17:03:46 -05:00
midi Found a forgotten B_BEOS_*_DIRECTORY. 2009-09-18 17:40:46 +00:00
midi2 style cleanup 2006-09-21 13:04:59 +00:00
net BUrlRequest: fix various issues 2013-02-10 20:46:24 +00:00
opengl GLUT: Fix mistake in header license 2012-11-16 13:07:11 -06:00
package hpkg format: compress the whole heap 2013-05-25 01:12:25 +02:00
storage Pull class AppMetaMimeCreator out of CreateAppMetaMimeThread 2013-05-08 01:08:16 +02:00
support Merge branch 'master' into package-management 2013-05-12 00:18:19 +02:00
translation Actually sort the translator menu used in ShowImage. 2012-08-07 00:41:41 -04:00
AppKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
Be.h Patch by Jorma Karvonen: Add LocaleKit.h header and also add it to Be.h. Thanks! 2010-05-16 16:07:55 +00:00
BeBuild.h Update the copyright year too. 2012-08-20 01:13:19 -04:00
DeviceKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
GameKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
InterfaceKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
KernelKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
LocaleKit.h One more monster commit (sorry ...) concerning the Locale Kit: 2010-10-24 12:57:55 +00:00
MailKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
MediaKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
MidiKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
NetKit.h * Rewrote NetKit.h, and added the libnetapi headers. 2008-06-24 09:03:44 +00:00
NetworkKit.h Added the new headers to the NetworkKit.h all-in-one header. 2010-10-27 14:16:19 +00:00
OpenGLKit.h Removed GLX headers: was never there anyway! 2005-06-26 21:48:15 +00:00
StorageKit.h StorageKit.h still included the Alias.h header file I removed with the previous commit. 2007-07-06 12:52:01 +00:00
SupportKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
TranslationKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00