#
0f9a98a4 |
| 30-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add optional FD parameter to AddEntry()
If a FD is specified, instead of using the file with the given the FD is used. Allows for adding entries without first copying them into the directory structu
Add optional FD parameter to AddEntry()
If a FD is specified, instead of using the file with the given the FD is used. Allows for adding entries without first copying them into the directory structure.
show more ...
|
#
85e13d1e |
| 30-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Remove the build platform work-arounds
|
#
7ea4dbce |
| 19-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Hard code "Public Domain" as acceptable license
|
#
caa4217e |
| 17-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
PackageWriterImpl: Build platform symlink issues
On a non-Haiku build platform map openat(), fstat(), and FileDescriptorCloser to _kern_open(), _kern_read_stat(), and BuildFileDescriptorCloser respe
PackageWriterImpl: Build platform symlink issues
On a non-Haiku build platform map openat(), fstat(), and FileDescriptorCloser to _kern_open(), _kern_read_stat(), and BuildFileDescriptorCloser respectively, so symlinks can be opened and stat()ed.
show more ...
|
#
7162cff6 |
| 17-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
<build>package: attribute iteration, license dir
PackageWriterImpl: * Iterate through attributes using fs_read_attr_dir() instead of readdir(). Makes it work correctly on the build platform. * On
<build>package: attribute iteration, license dir
PackageWriterImpl: * Iterate through attributes using fs_read_attr_dir() instead of readdir(). Makes it work correctly on the build platform. * On the build platform look up the system licenses in their source directory rather than based on find_directory().
show more ...
|
#
d62ec0bd |
| 16-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed host build issues/warnings
|
#
f195cdc8 |
| 16-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed left-over code
|
#
2021c984 |
| 16-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use BStringList in package kit
Replace all instances of BObjectList<BString> by BStringList.
|
#
f19957b8 |
| 11-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add a package info "install-path" attribute
The attribute is intended for simplifying package building. The package's install path will be used for the package's .self package symlink, allowing inst
Add a package info "install-path" attribute
The attribute is intended for simplifying package building. The package's install path will be used for the package's .self package symlink, allowing installation to a temporary directory when building the package.
show more ...
|
#
d7227dfa |
| 11-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BPackageWriter: Add SetCheckLicenses()
The default is still "true", but now it is possible to disable the license check.
|
#
718fba99 |
| 03-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
PackageWriterImpl::_AddEntry(): Fix update logic
* Don't only look up the entry attribute when the entry is implicit. Look it up, when it is a directory instead. This aligns it the logic with _U
PackageWriterImpl::_AddEntry(): Fix update logic
* Don't only look up the entry attribute when the entry is implicit. Look it up, when it is a directory instead. This aligns it the logic with _UpdateCheckEntryCollisions(). * When the entry attribute exits and the entry is not implicit, add file attributes, but not stat data. This also aligns the logic with _UpdateCheckEntryCollisions(), which removes colliding attributes, but keeps stat data.
show more ...
|
#
3095cb1b |
| 03-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Remove copy'n'paste left-over
|
#
f79277d0 |
| 03-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fix "package add" heap compacting
PackageWriterImpl::_CompactHeap(): Incorrectly used fHeapEnd instead of the heap size. So the last copied chunk was too large.
|
#
cc3f28c0 |
| 03-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
PackageWriterImpl::_MoveHeapChunk(): better output
|
#
6f785748 |
| 03-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Write uncompressed package file TOC, if necessary
|
#
327b38d6 |
| 03-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add support for adding/updating package entries
Add flags parameter to BPackageWriter::Init() (and the private implementation classes) to indicate that an existing package file shall be updated inst
Add support for adding/updating package entries
Add flags parameter to BPackageWriter::Init() (and the private implementation classes) to indicate that an existing package file shall be updated instead of created. Currently that always happens in-place.
show more ...
|
#
7b6bcdb1 |
| 03-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Write uncompressed package attributes if necessary
When compression doesn't save space, using it nonetheless results in a file that the reader complains about. So we fall back to writing an uncompre
Write uncompressed package attributes if necessary
When compression doesn't save space, using it nonetheless results in a file that the reader complains about. So we fall back to writing an uncompressed package attributes section in such a case.
The same still needs to be done for the TOC section.
show more ...
|
#
04258e47 |
| 03-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use fHeapOffset instead of sizeof(hpkg_header)
|
#
abbeb15a |
| 03-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Move RegisterPackageInfo() to Finish()
|
#
ffa2b210 |
| 02-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
PackageWriterImpl::_AddEntry(): Improve output
Print the relative path instead of only the leaf name.
|
#
82af91fb |
| 02-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
SubPathAdder: Check for overflows, omit initial /
|
#
285f4a32 |
| 01-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Remove debug output
|
#
4512e8d5 |
| 30-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add optional FD parameter to AddEntry()
If a FD is specified, instead of using the file with the given the FD is used. Allows for adding entries without first copying them into the directory structu
Add optional FD parameter to AddEntry()
If a FD is specified, instead of using the file with the given the FD is used. Allows for adding entries without first copying them into the directory structure.
show more ...
|
#
bd530a08 |
| 30-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Remove the build platform work-arounds
|
#
d00bcc16 |
| 19-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Hard code "Public Domain" as acceptable license
|