Ingo Weinhold
24f179d905
Commented out the DiskScannerAddOn class. It will be of no use until the whole DiskDevice API goes into libopenbeos.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:56:00 +00:00
Ingo Weinhold
fd57a94634
Changed the parameters of the CreateEditor() methods and added a EditingDone() method to the editor class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:54:31 +00:00
Ingo Weinhold
c3815c8e89
Started with the implementation of partitioning support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:52:15 +00:00
Ingo Weinhold
1a10cbe033
Removed the method for getting a FS add-on list. Changed the dialogCenter parameter for the partition methods from BPoint to BRect.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:51:33 +00:00
Ingo Weinhold
6ba9af5a46
Added public and private methods for dealing with partition and FS add-ons.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:50:14 +00:00
Ingo Weinhold
8b56dae30c
The beginning of the partitioning dialog. Well, the very beginning. ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:48:06 +00:00
Ingo Weinhold
32de23c976
Helper class: Represents a loaded add-on image.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:46:59 +00:00
Ingo Weinhold
7a5ee334ba
Removed debugging output and comment changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:24:36 +00:00
Ingo Weinhold
4a841e49e7
Added class BDiskDeviceList.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:20:36 +00:00
Ingo Weinhold
295fcc8865
Removed some debug info. Changes due to the removal of the extended_partition_info::partition_code field.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:33:23 +00:00
Ingo Weinhold
aa905a66a1
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:07:51 +00:00
Ingo Weinhold
686968fb35
* Added support for updating.
...
* Implemented BDiskDevice::Eject() and GetName().
* Added a private support function for getting a messenger targeting the
DiskDeviceManager in the registrar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:07:23 +00:00
Ingo Weinhold
7c44680a36
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
2003-02-11 18:17:25 +00:00
Ingo Weinhold
c947b11347
Implemented {Start,Stop}Watching().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:21:42 +00:00
Ingo Weinhold
7a452094ee
Fixed warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:20:40 +00:00
Ingo Weinhold
2af6058585
Added two open() versions to our kernel_interface, that re-try opening read-only, if desired. They are now used in BDirectory and BNode, which formerly failed on read-only devices.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:19:53 +00:00
Ingo Weinhold
03fa4a4f9c
Implemented high-level iteration code. Various fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:34:47 +00:00
Ingo Weinhold
f0bc031212
Added DiskDevicePrivate.{h,cpp}, which contains the internally used iteration support classes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:32:51 +00:00
Ingo Weinhold
2ed834e3f6
Cleaned up BRoster's friends mess. All access to private BRoster functionality is now done through the newly added BRoster::Private class, which is BRoster's only friend (poor BRoster ;-).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:29:21 +00:00
Ingo Weinhold
11b6269482
Added a C++ version of get_device_icon() and make use of it in BVolume.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:42:59 +00:00
Ingo Weinhold
b11d9a08b1
The beginning of the implementation of the DiskDevice API. Basic iteration functionality is implemented, though not tested yet.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:42:14 +00:00
Ingo Weinhold
7c2e411db9
Small changes to the interface. Some fixes. And documentation added.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 18:13:13 +00:00
Ingo Weinhold
3e19fccb08
Added DiskDevice API source files with empty implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 22:06:20 +00:00
Ingo Weinhold
38f832c7eb
Removed Identifier() and FileSystem() methods. ShortName() shall return the respective identifier.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:03:48 +00:00
Ingo Weinhold
8672a4b33c
Added DiskScannerAddOn.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:04:55 +00:00
Ingo Weinhold
89b1309d57
This is the (first draft of the) API for userland GUI settings disk_scanner add-ons.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:50:20 +00:00
Ingo Weinhold
46ce5c12a3
Added set_volume_name() implementation. This is a bit of a hack as it uses a private libroot function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:50:24 +00:00
Ingo Weinhold
0813d0d4b8
Fixed/rewrote the implementation. Added doxygen style documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:49:44 +00:00
Ingo Weinhold
21881ce58c
Added file header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:48:34 +00:00
Tyler Dauwalder
89ec8a81c2
Moved CharStream class out of Parser.{h,cpp} and into its own file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:38:35 +00:00
Tyler Dauwalder
e5f9569dcb
Added escape_path() functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:37:46 +00:00
Tyler Dauwalder
0eb6cfedb2
Added sniffer/CharStream.cpp to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:36:51 +00:00
Tyler Dauwalder
40ff01697c
Updated an error message.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:49:20 +00:00
Tyler Dauwalder
e106754a4e
Changed certain B_BAD_VALUE errors to more applicable B_BAD_REPLY error code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:48:30 +00:00
Tyler Dauwalder
32b8ee2e94
Renamed reserved functions to match those in R5, due to linking
...
incompatibilities that appear to possibly be due to R5 versions
of tests in libstoragetest_r5.so being compiled with our headers...
At any rate, this appears to fix the BQuery linking problems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 02:38:39 +00:00
beveloper
23d36867f6
fixed BFile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:51:09 +00:00
Ingo Weinhold
480ed2e7f3
Fixed bug in ReadAttrString(): The resulting string was one character longer, when the string in the attribute was null terminated.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:02:12 +00:00
Ingo Weinhold
53bf00c9d5
Fixed actual bug in set_stat(). Discovered by the gcc from GeekGadgets.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:55:32 +00:00
Ingo Weinhold
a04efc92d0
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
2002-10-06 22:53:29 +00:00
Tyler Dauwalder
a43a7a8d11
Relocated directory determining code to a more appropriate location.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:35:01 +00:00
Tyler Dauwalder
a551958795
Removed directory and symlink special cases from
...
GuessMimeType(entry_ref*) and placed them in
Database::GuessMimeType(entry_ref*)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:34:15 +00:00
Tyler Dauwalder
86c6e9c1c1
+ Moved some code from SnifferRules::GuessMimeType(entry_ref*) that
...
really didn't belong there into Database::GuessMimeType(entry_ref*)
+ Added special meta mime file case to Database::GuessMimeType(entry_ref*)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:31:37 +00:00
Tyler Dauwalder
989772566f
Added kMetaMimeType constant
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:29:32 +00:00
Tyler Dauwalder
04c26f3c9b
Finished implementation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:26:57 +00:00
Tyler Dauwalder
09dad369d7
Updated filesystem traversal code to skip files/devices that don't
...
support attributes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:26:11 +00:00
Tyler Dauwalder
cea5557794
Updated to match new entry_ref_is_root_dir() calling convention.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:24:38 +00:00
Tyler Dauwalder
28f43bbd48
+ Updated entry_ref_is_root_dir() to Be style calling conventions
...
+ Added device_is_root_device() call
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:23:59 +00:00
Tyler Dauwalder
0a87d01ca0
Fixed a couple of warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:15:31 +00:00
Tyler Dauwalder
16be2fb82f
Added CreateAppMetaMime, MimeUpdateThread, and
...
UpdateMimeInfoThread to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:15:10 +00:00
Tyler Dauwalder
06d82133c7
Updated and unified update_mime_info() and create_app_meta_mime()
...
implementations to work with new, wholly-registrar-based mime update
system.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:14:35 +00:00