haiku/headers/private/storage
Stephan Aßmus 2faa1532f8 * Refactored a lot of repetitive code and made
everything more readible.
 * Once I understood better how everthing is supposed
   to work, I've fixed some bugs.
 * The most important problem was that AddDirectory()
   placed the wrong entry (resolved symlinks) into the
   entry list it keeps for each directory. This resulted
   in the mechanisms not working at all when an add-on
   was a symlink.
 * There was a hidden TODO, which would mean that moving
   an add-on from one watched directory into another,
   like from home/config/add-ons/... into common/add-ons/...
   would drop the client application (media_server,
   input_server, ...) into the debugger.
 * The fFormerEntries list did not seem to serve any
   purpose. Basically it would not disable add-ons
   removed from a watched directory unless it changed
   it's name at the same time. I've removed it completely,
   since it didn't seem to be an optimization
   (entry cache) either.
 * Each actual add-on file is now node-monitored for
   stat changes. So if you have a link in the add-on
   folder, and the linked to add-on changes, it triggers
   a reload of the add-on now. This will make it much
   more pleasant to develop add-ons and have them affective
   immediately.

I tested with a fresh image, but there are no immediate
regressions I am aware of. I could imagine that messing
with certain add-ons can have a bad effect now, like
removing the keyboard input_server add-on may trigger the
keyboard to stop working immediately without an input_server
restart, but Tracker should warn before it happens.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-19 19:52:19 +00:00
..
mime * Construct the MIME data base directories lazily. 2009-12-01 08:52:13 +00:00
sniffer * Resolve further warnings on GCC4. 2009-02-01 22:12:55 +00:00
AddOnMonitor.h Cleanup: No need to check the BMessenger status twice. No need to 2010-08-18 13:50:50 +00:00
AddOnMonitorHandler.h * Refactored a lot of repetitive code and made 2010-08-19 19:52:19 +00:00
DiskDevice.h * Made the use of file devices more convenient and complete by adding 2008-10-13 21:51:43 +00:00
DiskDeviceList.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
DiskDevicePrivate.h Fixed GCC 4 warnings. 2006-10-13 10:35:04 +00:00
DiskDeviceRoster.h Make it clear from the API that the volume passed in is not touched by the 2009-04-22 14:13:45 +00:00
DiskDeviceTypes.h * <DiskDeviceTypes.h>: Removed kPartitionTypeIntel{Primary,Logical} constants. 2009-10-01 03:07:42 +00:00
DiskDeviceVisitor.h fixed typo 2007-04-12 18:11:11 +00:00
DiskScannerAddOn.h * Moved to the private headers. 2003-02-22 23:45:47 +00:00
DiskSystem.h * Added a handy BDiskSystem::SupportsWriting(). 2008-10-13 23:47:30 +00:00
DiskSystemAddOn.h Patch by Bryce Groff with changes by myself: 2009-07-20 20:29:16 +00:00
Elf.h Added ELF64 support to BResources. 2009-11-25 17:14:29 +00:00
ElfX.h Added ELF64 support to BResources. 2009-11-25 17:14:29 +00:00
Exception.h + Changed StorageKit namespace to BPrivate::Storage 2002-08-12 08:42:01 +00:00
FileDescriptorIO.h Added private BPositionIO derived classes BFileIO and BFileDescriptorIO which 2010-04-15 22:19:27 +00:00
FileIO.h Added private BPositionIO derived classes BFileIO and BFileDescriptorIO which 2010-04-15 22:19:27 +00:00
MimeTypes.h * More header cleanup, continuing korli's work. 2010-04-13 09:48:02 +00:00
MutablePartition.h * The BMutablePartition setters adjust the change flags accordingly. 2007-10-31 17:02:52 +00:00
NodeMonitorHandler.h untested version 2004-01-29 00:24:03 +00:00
OffsetFile.h the virtual version is const 2008-09-03 11:23:15 +00:00
Partition.h Patch by Bryce Groff with changes by myself: 2009-07-20 20:29:16 +00:00
PartitioningInfo.h * added a PrintToStream() method 2008-02-02 12:38:15 +00:00
PartitionParameterEditor.h Patch by Bryce Groff with changes by myself: 2009-07-20 20:29:16 +00:00
PathMonitor.h * TRACE macro no longer needs double parenthesis. 2008-08-11 20:02:59 +00:00
Pef.h + Changed StorageKit namespace to BPrivate::Storage 2002-08-12 08:42:01 +00:00
QueryPredicate.h + Changed StorageKit namespace to BPrivate::Storage 2002-08-12 08:42:01 +00:00
ResourceFile.h Added ELF64 support to BResources. 2009-11-25 17:14:29 +00:00
ResourceItem.h + Changed StorageKit namespace to BPrivate::Storage 2002-08-12 08:42:01 +00:00
ResourcesContainer.h + Changed StorageKit namespace to BPrivate::Storage 2002-08-12 08:42:01 +00:00
ResourcesDefs.h + Changed StorageKit namespace to BPrivate::Storage 2002-08-12 08:42:01 +00:00
storage_support.h * {BEntry,BNode}::GetStat() were still passing the BeOS struct stat size to 2009-05-25 14:03:38 +00:00