return true, if the directory is not initialized, or if the directory
does not contain the entry, but the given path is absolute. This change
makes it less compatible with R5, but more consistent with the BEntry*
version and undoubtfully more compatible with common sense.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5884 a95241bf-73f2-0310-859d-f6bbb57e9c96
a device, the latter returns info about a device (i.e. which file it points
to).
Updated for changes in the underlying driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5467 a95241bf-73f2-0310-859d-f6bbb57e9c96
Added support for halting and resuming a device; the driver will close the underlying
file as long as the device is halted, so that other applications can access the file
(files set to uncached cannot be opened anymore). A device is resumed when you install
it again - note that the device might have been closed in the mean time, so it's
not guaranteed to return the same device.
Now returns a valid icon.
Removed unnecessary comments (this is no driver writers tutorial).
VIRTUAL_DRIVE_GET_INFO now also indicates if the device is halted or not.
Made the ioctl() calls more save by adding some sanity checks (magic value and
structure size).
Minor style changes, renamed device_info.opencount to open_count, added the "s"
suffix to static global variables (virtualdrive_name -> sVirtualDriveName, ...).
Fixed a possible bug: the file is now set to uncached after it has been resized;
it might not work the other way around.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5462 a95241bf-73f2-0310-859d-f6bbb57e9c96
Added "play save" fields for the ioctl() parameter structure.
Added indicator if the device has been halted.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5459 a95241bf-73f2-0310-859d-f6bbb57e9c96
* Improved the driver: It now publishes a control device and ten `data'
devices. Via an ioctl one can assign an arbitrary file to a free data
device. (The devices are published in /dev/misc instead of /dev/disk to
prevent them from being scanned by the Tracker and DriveSetup.)
* Added a small command line tool to (un)register files that way.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3649 a95241bf-73f2-0310-859d-f6bbb57e9c96
libcppunit.so don't work anymore with it, since it uses the BApplication
code of libbe.so. Several tests still fail now, but none crashes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3447 a95241bf-73f2-0310-859d-f6bbb57e9c96
in R5 version of the Storage Kit.
This appears to fix the BSymLink linking errors, at least as a temporary
fix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1713 a95241bf-73f2-0310-859d-f6bbb57e9c96
+ Added commented out update_meta_mime(NULL) and
create_app_meta_mime(NULL) calls for the adventurous
tester.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1335 a95241bf-73f2-0310-859d-f6bbb57e9c96
+ Added sniffer rule based mime type guessing
+ Added get_device_icon()
+ Added complete (synchronous, asynchronous; recursive,
non-recursive; forcing, non-forcing; you name it we got it :-)
update_mime_info() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
+ Modified BMimeType::SetSupportedTypes functionality so it keeps track of
stranded types (i.e. previously supported types that have not had the now
unsupporting app signature removed from their supporting apps list yet due
to a false fullSync parameter) over consecutive SetSupportedTypes(...,
false) calls and updates all appropriate stranded types on the next
SetSupportedTypes(..., true) call.
+ Added fullSync parameter to BMimeType::DeleteSupportedTypes
+ Made BMimeType::Delete() do a DeleteSupportedTypes(..., true) call to
properly update the supporting apps lists when a mime type is deleted.
+ Added initial BMimeType::Get/SetSnifferRule
+ Updated BMimeType::CheckSnifferRule() to return B_BAD_VALUE when passed
a NULL rule string.
+ Brought CheckSnifferRule() tests up to date
+ Added lots of Mime::Database doxygen
+ Added any missing mime monitor notifications in Mime::Database
+ Possibly made some other changes as well... :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1004 a95241bf-73f2-0310-859d-f6bbb57e9c96