Searched +hist:21 +hist:ee6d5c (Results 1 - 2 of 2) sorted by relevance
/haiku/src/kits/package/hpkg/ | ||
H A D | WriterImplBase.cpp | diff 8f5130ed Sat Jul 12 15:12:21 MDT 2014 Ingo Weinhold <ingo_weinhold@gmx.de> package kit: Actually add support for B_HPKG_COMPRESSION_NONE Until now we always declared in the HPKG header that the package file is zlib compressed. For uncompressed files we would just store all individual chunks uncompressed. Now we handle completely uncompressed files slightly differently: We don't write the redundant chunk size table anymore. The size savings are minor, but it makes the uncompressed format read-streamable which may be handy. diff 21ee6d5c Tue May 14 11:03:34 MDT 2013 Ingo Weinhold <ingo_weinhold@gmx.de> Some comment updates diff 21ee6d5c Tue May 14 11:03:34 MDT 2013 Ingo Weinhold <ingo_weinhold@gmx.de> Some comment updates diff 33bc4425 Sat Feb 12 12:21:37 MST 2011 Oliver Tappe <zooey@hirschkaefer.de> Largish adjustments to PackagerReaderImpl and package attribute handling: * package attributes are now compatible with the low level attribute handling of other HPKG attributes (such that 'package dump' now shows package attributes, too) * dropped type names from hpkg format, the attributes were identified by IDs already and this simplifies the code considerably. Type names are now handled in BLowLevelPackageHandler only. * instead of rolling their own mechanism, high-level package attributes handling is now implemented via a corresonding set of AttributeHandler-subclasses * adjusted package writer to only write package attributes that are needed (empty ones are left out) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40466 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 8f5130edfa454cc7ee21e4c3aef2a151f7c3c567 Sat Jul 12 15:12:21 MDT 2014 Ingo Weinhold <ingo_weinhold@gmx.de> package kit: Actually add support for B_HPKG_COMPRESSION_NONE Until now we always declared in the HPKG header that the package file is zlib compressed. For uncompressed files we would just store all individual chunks uncompressed. Now we handle completely uncompressed files slightly differently: We don't write the redundant chunk size table anymore. The size savings are minor, but it makes the uncompressed format read-streamable which may be handy. diff 21ee6d5cdce51e891eebc0b28efe8aad631bfc1c Tue May 14 11:03:34 MDT 2013 Ingo Weinhold <ingo_weinhold@gmx.de> Some comment updates diff 33bc4425be0b545ed3d0b7e7a9a873d31e5a0330 Sat Feb 12 12:21:37 MST 2011 Oliver Tappe <zooey@hirschkaefer.de> Largish adjustments to PackagerReaderImpl and package attribute handling: * package attributes are now compatible with the low level attribute handling of other HPKG attributes (such that 'package dump' now shows package attributes, too) * dropped type names from hpkg format, the attributes were identified by IDs already and this simplifies the code considerably. Type names are now handled in BLowLevelPackageHandler only. * instead of rolling their own mechanism, high-level package attributes handling is now implemented via a corresonding set of AttributeHandler-subclasses * adjusted package writer to only write package attributes that are needed (empty ones are left out) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40466 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | PackageWriterImpl.cpp | diff 36aafa56 Fri Dec 04 06:21:45 MST 2020 X512 <danger_mail@list.ru> fix build after CObjectDeleter interface change Change-Id: I76e217abcd13c22c4d68170e07333cdde4d7a891 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3461 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> diff 8f5130ed Sat Jul 12 15:12:21 MDT 2014 Ingo Weinhold <ingo_weinhold@gmx.de> package kit: Actually add support for B_HPKG_COMPRESSION_NONE Until now we always declared in the HPKG header that the package file is zlib compressed. For uncompressed files we would just store all individual chunks uncompressed. Now we handle completely uncompressed files slightly differently: We don't write the redundant chunk size table anymore. The size savings are minor, but it makes the uncompressed format read-streamable which may be handy. diff 9af2105d Mon Feb 10 10:21:50 MST 2014 Adrien Destugues <pulkomandy@pulkomandy.tk> Move ZlibDecompressor to libshared * This will be used to implement compressed http streams * Remove the custom BDataOutput class, and use BDataIO instead, for easier integration with existing code. diff fc198cc3 Thu Nov 21 13:11:07 MST 2013 Ingo Weinhold <ingo_weinhold@gmx.de> PackageWriteImpl: Report error when failing to read .PackageInfo Fixes #10228. diff 47039b85 Tue May 21 16:20:13 MDT 2013 Ingo Weinhold <ingo_weinhold@gmx.de> Package/repository file format: Add a minor version header field * Add minor_version to hpkg_header and hpkg_repo_header and make heap_compression uint16. * If the minor version of a package/repository file is greater than the current one unknown attributes are ignored without error. This allows introducing new harmless attributes without making the resulting files unreadable for older package kit versions. diff 46122852 Tue May 21 11:42:57 MDT 2013 Ingo Weinhold <ingo_weinhold@gmx.de> packagefs: Add caching for the package file heap reader * ReaderImplBase: - Add virtual CreateCachedHeapReader() which can create a cached reader based on the given heap reader. - Rename HeapReader() to RawHeapReader() and add HeapReader() for the cached heap reader. - Add DetachHeapReader() to allow a clients to remove the heap reader(s) after deleting the ReaderImplBase object. * packagefs: - Add CachedDataReader class, which wraps a given BAbstractBufferedDataReader and provides caching for it using a VMCache. The implementation is based on the IOCache implementation. - Use CachedDataReader to wrap the heap reader. For file data that means they are cached twice -- in the heap reader cache and in the file cache -- but due to the heap reader using a VMCache as well, the pages will be recycled automatically anyway. For attribute data the cache should be very helpful, since they weren't cached at all before. diff 21ee6d5c Tue May 14 11:03:34 MDT 2013 Ingo Weinhold <ingo_weinhold@gmx.de> Some comment updates diff 21ee6d5c Tue May 14 11:03:34 MDT 2013 Ingo Weinhold <ingo_weinhold@gmx.de> Some comment updates diff 33bc4425 Sat Feb 12 12:21:37 MST 2011 Oliver Tappe <zooey@hirschkaefer.de> Largish adjustments to PackagerReaderImpl and package attribute handling: * package attributes are now compatible with the low level attribute handling of other HPKG attributes (such that 'package dump' now shows package attributes, too) * dropped type names from hpkg format, the attributes were identified by IDs already and this simplifies the code considerably. Type names are now handled in BLowLevelPackageHandler only. * instead of rolling their own mechanism, high-level package attributes handling is now implemented via a corresonding set of AttributeHandler-subclasses * adjusted package writer to only write package attributes that are needed (empty ones are left out) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40466 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 8f5130edfa454cc7ee21e4c3aef2a151f7c3c567 Sat Jul 12 15:12:21 MDT 2014 Ingo Weinhold <ingo_weinhold@gmx.de> package kit: Actually add support for B_HPKG_COMPRESSION_NONE Until now we always declared in the HPKG header that the package file is zlib compressed. For uncompressed files we would just store all individual chunks uncompressed. Now we handle completely uncompressed files slightly differently: We don't write the redundant chunk size table anymore. The size savings are minor, but it makes the uncompressed format read-streamable which may be handy. |
Completed in 81 milliseconds