#
0ab7cc6d |
| 03-Sep-2024 |
Augustin Cavalier <waddlesplash@gmail.com> |
BFile: Use AT_FDCWD instead of -1.
|
#
a30a4a41 |
| 18-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Style fixes to Storage Kit classes.
No functional changes intended.
* Some variable renaming for clarity and consistency. * Pointer style fixes. * Added private method documentation back to cpp fil
Style fixes to Storage Kit classes.
No functional changes intended.
* Some variable renaming for clarity and consistency. * Pointer style fixes. * Added private method documentation back to cpp files for some methods.
show more ...
|
#
25a7b01d |
| 05-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge branch 'master' into package-management
Additional changes: * Add src/system/kernel/lib/zlib, which builds a kernel version of zlib, needed by packagefs. * BuildFeatures: Add a build feature
Merge branch 'master' into package-management
Additional changes: * Add src/system/kernel/lib/zlib, which builds a kernel version of zlib, needed by packagefs. * BuildFeatures: Add a build feature "gcc2" to allow for easier checks. * Referenceable.cpp: Include <OS.h> instead of <debugger.h>. The latter is not needed and prevents building for the build platform. * zlib/zutil.h: Fix gcc 2 build. We really should use the external package instead.
Conflicts: .gitignore build/jam/BuildSetup build/jam/FileRules build/jam/FloppyBootImage build/jam/HaikuImage build/jam/ImageRules build/jam/KernelRules build/jam/NetBootArchive build/jam/OptionalBuildFeatures build/jam/OptionalLibPackages build/jam/OptionalPackageDependencies build/jam/OptionalPackages build/scripts/build_haiku_image configure data/bin/installoptionalpackage data/system/boot/Bootscript headers/os/app/Message.h headers/os/package/PackageInfo.h headers/os/package/PackageInfoAttributes.h headers/os/package/PackageInfoSet.h headers/os/package/PackageRoster.h headers/os/package/PackageVersion.h headers/os/package/hpkg/PackageInfoAttributeValue.h headers/os/storage/FindDirectory.h headers/os/storage/Node.h headers/os/support/StringList.h headers/private/system/directories.h src/add-ons/kernel/drivers/audio/ac97/es1370/Jamfile src/add-ons/kernel/file_systems/packagefs/AttributeIndex.cpp src/add-ons/kernel/file_systems/packagefs/Jamfile src/add-ons/kernel/file_systems/packagefs/Package.cpp src/add-ons/kernel/file_systems/packagefs/Package.h src/add-ons/kernel/file_systems/packagefs/PackageDomain.cpp src/add-ons/kernel/file_systems/packagefs/PackageDomain.h src/add-ons/kernel/file_systems/packagefs/PackageFSRoot.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.h src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.h src/add-ons/kernel/file_systems/packagefs/PackageLinksDirectory.cpp src/add-ons/kernel/file_systems/packagefs/PackageNode.h src/add-ons/kernel/file_systems/packagefs/ResolvableFamily.cpp src/add-ons/kernel/file_systems/packagefs/Version.cpp src/add-ons/kernel/file_systems/packagefs/Version.h src/add-ons/kernel/file_systems/packagefs/Volume.cpp src/add-ons/kernel/file_systems/packagefs/Volume.h src/add-ons/kernel/file_systems/packagefs/kernel_interface.cpp src/add-ons/kernel/file_systems/userlandfs/shared/driver_settings.c src/apps/deskbar/BarApp.cpp src/apps/deskbar/BarMenuBar.cpp src/apps/deskbar/BarMenuBar.h src/apps/deskbar/BarView.cpp src/apps/deskbar/BarView.h src/apps/deskbar/BarWindow.cpp src/apps/deskbar/BarWindow.h src/apps/deskbar/DeskbarMenu.cpp src/apps/deskbar/DeskbarMenu.h src/apps/deskbar/DeskbarUtils.cpp src/apps/deskbar/DeskbarUtils.h src/apps/deskbar/ExpandoMenuBar.cpp src/apps/deskbar/ExpandoMenuBar.h src/apps/deskbar/TeamMenu.cpp src/apps/processcontroller/ProcessController.cpp src/apps/remotedesktop/RemoteDesktop.cpp src/bin/bash/config-top.h src/bin/finddir.c src/bin/package/Jamfile src/bin/package/command_add.cpp src/bin/package/command_create.cpp src/bin/package/command_list.cpp src/bin/package_repo/command_list.cpp src/bin/pkgman/command_refresh.cpp src/build/libbe/support/Jamfile src/build/libpackage/Jamfile src/build/libroot/Jamfile src/build/libroot/fs.cpp src/build/libroot/remapped_functions.h src/kits/locale/MutableLocaleRoster.cpp src/kits/opengl/GLRendererRoster.cpp src/kits/package/PackageInfo.cpp src/kits/package/PackageInfoSet.cpp src/kits/package/PackageRoster.cpp src/kits/package/PackageVersion.cpp src/kits/package/RepositoryCache.cpp src/kits/package/hpkg/PackageWriterImpl.cpp src/kits/package/hpkg/ReaderImplBase.cpp src/kits/package/hpkg/WriterImplBase.cpp src/kits/print/PrintTransport.cpp src/kits/print/Printer.cpp src/kits/screensaver/ScreenSaverRunner.cpp src/kits/support/StringList.cpp src/kits/tracker/ContainerWindow.cpp src/kits/tracker/DeskWindow.cpp src/kits/tracker/PoseView.cpp src/libs/print/libprint/Transport.cpp src/preferences/printers/AddPrinterDialog.cpp src/preferences/screensaver/ScreenSaverWindow.cpp src/servers/debug/DebugServer.cpp src/servers/input/AddOnManager.cpp src/servers/media_addon/MediaAddonServer.cpp src/system/boot/Jamfile src/system/boot/loader/Jamfile src/system/boot/loader/loader.cpp src/system/boot/loader/vfs.cpp src/system/kernel/fs/vfs.cpp src/system/kernel/fs/vfs_boot.cpp src/system/libroot/os/find_directory.cpp src/system/runtime_loader/runtime_loader.cpp src/tools/package/Jamfile
show more ...
|
#
be95f65a |
| 24-Dec-2012 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
e9191cc2 |
| 22-Dec-2012 |
John Scipione <jscipione@gmail.com> |
Add BFile documentation to the Haiku Book.
Remove the documentation from the cpp file also. Keep the brief description as a regular comment though.
|
#
e1b526b9 |
| 18-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Code style correction by Barret, ticket #7453. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41263 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
160f2d10 |
| 17-Jun-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added private header defining __gUmask which is now used everywhere where needed. * Some cleanup in Directory.cpp, and File.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31086 a95241
* Added private header defining __gUmask which is now used everywhere where needed. * Some cleanup in Directory.cpp, and File.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31086 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
0af6bceb |
| 15-Apr-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
closing #3773: * in BEntry::SetTo and BFile::SetTo, we now support entry-refs with absolute names, too, just like R5 does
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30183 a95241bf-73f2-0
closing #3773: * in BEntry::SetTo and BFile::SetTo, we now support entry-refs with absolute names, too, just like R5 does
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30183 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
a121b8c8 |
| 24-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a new flag for write stat: B_STAT_SIZE_INSECURE that allows a file system to not fill newly created space with zeros. BFile::SetSize() now uses this, while [f]truncate() does not. This
* Added a new flag for write stat: B_STAT_SIZE_INSECURE that allows a file system to not fill newly created space with zeros. BFile::SetSize() now uses this, while [f]truncate() does not. This is only a temporary work-around until BFS supports sparse files. * Apps that want to reserve space to fill up later should use BFile::SetSize() for now, as this will be a lot faster than [f]truncate(). * cache_io() and the functions below now use a special mode when you pass in a NULL buffer: for read access, the cache is only populated (useful for prefetching), for write access, the file is filled with zeros. * Implemented BFS's Inode::FillGapWithZeros() using this method now. * Removed extraneous white space.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24555 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
5905a0ae |
| 02-Feb-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed _{kern|user}_{read|write}[v]() functions to not move the descriptor's file position in case an offset was specified. * Reverted r23828-r23830 in File.cpp: don't fix the symptoms but the cau
* Fixed _{kern|user}_{read|write}[v]() functions to not move the descriptor's file position in case an offset was specified. * Reverted r23828-r23830 in File.cpp: don't fix the symptoms but the cause of the problem (hey, that has to be in the kernel, right? :)) * Cleanup of File.cpp, removed OpenBeOS namespace. * Moved user_fd_kernel_ioctl() to the section where it belongs to (that function should be renamed, though).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23832 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
40da55c3 |
| 02-Feb-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* the BeBook documents WriteAt() and Write() to differ analogous to ReadAt() and Read() with regards to the file position. Ie, WriteAt() is not supposed to modify the data pointer.
git-svn-id:
* the BeBook documents WriteAt() and Write() to differ analogous to ReadAt() and Read() with regards to the file position. Ie, WriteAt() is not supposed to modify the data pointer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23830 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
835b8e68 |
| 02-Feb-2008 |
Bruno G. Albuquerque <bga@bug-br.org.br> |
This fixes my previous fix. The position to read can be completelly random so I have to first cache the current position before calling _kern_read() and reset it afterwards.
*NOW* this fixes bug #1
This fixes my previous fix. The position to read can be completelly random so I have to first cache the current position before calling _kern_read() and reset it afterwards.
*NOW* this fixes bug #1200 in all cases.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23829 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
3debfe51 |
| 02-Feb-2008 |
Bruno G. Albuquerque <bga@bug-br.org.br> |
ReadAt() should not change the file position. Tested under R5 and Zeta. This fixes bug #1200 (Received emails are missing attributes).
I hope nothing relies on the previously broken behaviour.
g
ReadAt() should not change the file position. Tested under R5 and Zeta. This fixes bug #1200 (Received emails are missing attributes).
I hope nothing relies on the previously broken behaviour.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23828 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
39c991c0 |
| 26-May-2006 |
Stephan Aßmus <superstippi@gmx.de> |
Added BPositionIO::GetSize() and implemented it by means of Seek() and Position(). This used up a virtual slot of BPositionIO. GetSize() needed to be implemented in BFile, which uses the BStatable ve
Added BPositionIO::GetSize() and implemented it by means of Seek() and Position(). This used up a virtual slot of BPositionIO. GetSize() needed to be implemented in BFile, which uses the BStatable version as before. This should hopefully be binary compatible. The only problem could be in source compatibility when there are classes inheriting from BPositionIO implementing their own GetSize().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17593 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
ca9e5772 |
| 07-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Reintroduced third LinkAgainst parameter <mapLibs>, defaulting to true. Library names are now mapped for all targets but "host" (not only for "haiku") -- added one more level of indirection to
* Reintroduced third LinkAgainst parameter <mapLibs>, defaulting to true. Library names are now mapped for all targets but "host" (not only for "haiku") -- added one more level of indirection to achieve that. (TARGET_LIBRARY_NAME_MAP -> *_LIBRARY_NAME_MAP_*). * Renamed build/HaikuBuildCompatibility.h to BeOSBuildCompatibility.h (auto-included when compiling something that uses the Be API for platform "host" on anon-BeOS platform), and introduced build/HaikuBuildCompatibility.h, which can be included when compiling something that can be built for both, Haiku and BeOS compatible platforms. * Introduced libhaikucompat.a, a library that adds a few functions existing under Haiku, but not under BeOS. * New rule AddSubDirSupportedPlatforms. * Renamed libopenbeos.so to libbe_haiku.so. * Introduced new target platform "libbe_test", which is basically equivalent to a BeOS compatible host platform target, with the exception, that instead of the host platform's libbe.so a special build of Haiku's libbe.so (libbe_haiku.so (formerly known as libopenbeos.so)) is used. Furthermore Haiku's public app, interface, storage, and support kit headers are used when compiling. This replaces the less nice way in which the test app server and applications for this test environment were built. When building for platform "libbe_test", the library name "be" is autotranslated to "libbe_haiku.so". Thus most applications don't need special fiddling when them building them for the app server test environment; usually an "AddSubDirSupportedPlatforms libbe_test ;" will suffice. * Reduced the dependencies of <syscalls.h> and fixed problems caused by this (e.g. source files not including the needed headers directly).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14749 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
4b9ec73e |
| 12-Aug-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
We need to override the virtual close_fd() in BFile for binary compatibility (bug #43).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13937 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b38c9e18 |
| 03-Feb-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Now uses the new B_STAT_* constants rather than the one from fs_interface.h (which will be removed soon).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11232 a95241bf-73f2-0310-859d-f6bbb57
Now uses the new B_STAT_* constants rather than the one from fs_interface.h (which will be removed soon).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11232 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
3af4214a |
| 02-Feb-2005 |
Axel Dörfler <axeld@pinc-software.de> |
_kern_open[_entry_ref]() now replaces the _kern_create[_entry_ref]() calls. That allows BFile to actually create files (it didn't use that syscall at all before). Also fixed setting the permission bi
_kern_open[_entry_ref]() now replaces the _kern_create[_entry_ref]() calls. That allows BFile to actually create files (it didn't use that syscall at all before). Also fixed setting the permission bits of the newly created file depending on umask (the __gUmask variable should probably be moved into a separate header).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11208 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
b06942c6 |
| 13-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
All internally used FDs are now set to O_CLOEXEC.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10715 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ef4fc754 |
| 02-Oct-2004 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Must use <fs_interface.h>, not <fsproto.h>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9161 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
db10640d |
| 28-Aug-2004 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Got rid of the Storage Kit's kernel abstraction layer, which was unfortunately quite slow and made some things more complicated than they needed to be. Implemented a few missing things (e.g. BSymLink
Got rid of the Storage Kit's kernel abstraction layer, which was unfortunately quite slow and made some things more complicated than they needed to be. Implemented a few missing things (e.g. BSymLink and node locking).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8694 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
17e6de7a |
| 04-Aug-2003 |
shadow303 <shadow303@nowhere.fake> |
gcc 3 fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7c44680a |
| 11-Feb-2003 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Renamed the private virtual slots back to their original (R5) names. We would break binary compatibility otherwise, or at least had to do some additional work to maintain nevertheless.
git-svn-id:
Renamed the private virtual slots back to their original (R5) names. We would break binary compatibility otherwise, or at least had to do some additional work to maintain nevertheless.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2683 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
23d36867 |
| 26-Oct-2002 |
beveloper <beveloper@nowhere.fake> |
fixed BFile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1682 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a04efc92 |
| 06-Oct-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added variable initializations. Not necessary, but they please the compiler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1414 a95241bf-73f2-0310-859d-f6bbb57e9c96
|