Ingo Weinhold
5c35d41aab
AddResources must precede the rule for building the target.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 15:20:14 +00:00
Ingo Weinhold
ed1aa75a5d
Fixed the build (missing sources in Jamfile and typo in SettingsView.h) and warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 20:20:56 +00:00
Ingo Weinhold
1eed0e99e9
Added missing inclusion of <unistd.h>.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 19:32:56 +00:00
Ingo Weinhold
2dd47f63b5
Missing grist in SetupKernel.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-19 23:49:30 +00:00
Ingo Weinhold
c8aa252a8d
Fixed Depends in MergeObjectFromObjects
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-19 23:07:08 +00:00
Ingo Weinhold
dbf96817af
Added a rule R5KernelStaticLibrary.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-17 15:51:28 +00:00
Ingo Weinhold
7f879cccff
Rename SystemMain to BuildPlatformMain.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 17:29:06 +00:00
Ingo Weinhold
5dc4e1ef10
Renamed SystemMain to BuildPlatformMain and adjusted it to use the build platform headers for compilation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 17:28:24 +00:00
Ingo Weinhold
09c5682d91
The platform dependent header dir is explicitly included now. Changed the libgcc.a handling a bit. Re-run configure!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-05 22:07:33 +00:00
Ingo Weinhold
3906f59e6a
Removed the iso9660 module from the build. For the time being we can't use it anyway.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-19 14:40:33 +00:00
Ingo Weinhold
150bfa3714
Added implementation of the node monitoring functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-13 15:02:24 +00:00
Ingo Weinhold
1847fb9c71
Always save before checking in. UpdateActiveApp() comment has been changed slightly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-05 17:16:30 +00:00
Ingo Weinhold
c99847b4cd
Unimplemented ActivateApp(); it has to ask the app server instead. Moved its code to UpdateActiveApp(), which has exactly the matching semantics. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-05 17:15:13 +00:00
Ingo Weinhold
4d95f6c63c
Worked around a problem with mwcc.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 00:15:44 +00:00
Ingo Weinhold
d62fee5142
The global OPTIM variable is now reset at the end of the file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-25 17:10:55 +00:00
Ingo Weinhold
2d350d3dba
The hack needed to be able to communicate with our registrar though not linking against libopenbeos has been moved to BDiskDeviceRoster. Link against libdiskdevice now, instead of compiling the sources in.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:47:25 +00:00
Ingo Weinhold
5ef822af8a
Aestetical change. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:45:47 +00:00
Ingo Weinhold
0f04e70bd8
Added the GUI part of the dialog. Now it is fully functional (maybe not nice, but functional ;-).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:44:38 +00:00
Ingo Weinhold
d4ebd51785
We build a separate libdiskdevice.so now, which will be integrated into libopenbeos, when the GUI stuff there is working.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:43:03 +00:00
Ingo Weinhold
9ca9a5bb49
Moved the hack making it possible to communicate with our registrar even, if not linking against libopenbeos from DiskDeviceTest to here.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:41:21 +00:00
Ingo Weinhold
707fa51022
Fixed return type of read_partition_map (status_t -> bool). Fixed PartitionMapParser::Parse(): It wrongly error checked for a NULL block, which is allowed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:39:27 +00:00
Ingo Weinhold
19d8037692
Removed GetPartitioningSystemList(). I though this had already been done. Weird.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:36:21 +00:00
Ingo Weinhold
83b3b0dff1
Added optional libraries parameter to Addon rule.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:35:09 +00:00
Ingo Weinhold
646658b30b
Added the intel GUI partition add-on.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:34:30 +00:00
Ingo Weinhold
989d607833
The beginning of the GUI add-on for Intel style partitioning. Well, the very beginning. It does only show a blue box right now. ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:33:49 +00:00
Ingo Weinhold
fdb95f3aeb
Added the new classes needed for the DiskDevice API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:56:52 +00:00
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
366ab0c1a5
Added TODO item.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:52:52 +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
d749688652
* Moved to the private headers.
...
* The CreateEditor() methods now get a BSession* respectively BPartition*
instead of the low-level structures.
* Added EditingDone() hook to the editor class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:45:47 +00:00
Ingo Weinhold
e13a428ed3
Added macro definition for use of a BeOS compatible BSlider header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-21 23:24:38 +00:00
Ingo Weinhold
4128579144
Added CodyCam to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 12:42:49 +00:00
Ingo Weinhold
f8f06ba5cc
Fixed Jamfile.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 12:42:25 +00:00
Ingo Weinhold
0ebea41272
No need for this file here.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 12:41:57 +00:00
Ingo Weinhold
73574809d0
Added BDiskDeviceList and test it.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:26:00 +00:00
Ingo Weinhold
de9b715306
Remove debugging output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:25:25 +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
15b1caa428
Added missing B_DATA_SESSION flag for virtual sessions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:23:05 +00:00
Ingo Weinhold
7685055798
Added BDiskDeviceList as friend.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:22:09 +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
0f008a1f78
The B_DATA_SESSION flag needs to be set for data sessions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:31:40 +00:00
Ingo Weinhold
0e9c99c704
Does now properly deal with audio sessions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:30:50 +00:00
Ingo Weinhold
e878875e0b
Changes due to the removal of the extended_partition_info::partition_code field.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:30:07 +00:00
Ingo Weinhold
75d0aed7ec
Removed extended_partition_info::partition_code field.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:28:30 +00:00
Ingo Weinhold
6ef929c392
Merged in changes from vanilla fixes branch.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:29:44 +00:00
Ingo Weinhold
6af7607485
Uh, rc does not always append .rsrc to the output file, but only if it is missing. Adjusted ResComp actions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:15:14 +00:00
Ingo Weinhold
885189c0b3
Removed the kernel module from the built for now. It can't be used with the R5 kernel anyway.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:10:27 +00:00
Ingo Weinhold
8d3308d9aa
* Added a Bison and a LexC++ rule.
...
* Override the Jambase version of the Object rule to optionally generate
intermediate .cpp instead of .c files for .y and .l input. The
GENERATE_C++ variable must be set to enable that behavior.
* Added a ResComp rule using the shiny new rc to compile .rdef files into
.rsrc files.
* Adjusted AddResources to accept both, .rsrc and .rdef files. The rule
also grists the input files now, avoiding problems with equally named
resource files in different directories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:08:34 +00:00
Ingo Weinhold
cf838755a9
Added rc to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:01:09 +00:00
Ingo Weinhold
be9c961f2b
Added definition of macro for R5 backwards compatibility (needed for our BSlider header).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 23:53:03 +00:00
Ingo Weinhold
e037bfe8cf
The introduction of the new virtual SetLimits() is nice in principle, but files compiled with this header implementing a BSlider subclass fail to link against libbe. Introduced a macro that apps can define that need to run under R5 for now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 23:51:20 +00:00
Ingo Weinhold
b816dc1ec6
BDirectWindow defined new reserved virtual slots and left out virtuals defined by the R5 counterpart, which made it binary incompatible. Fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 23:46:02 +00:00
Ingo Weinhold
c2257230d6
Our <RosterPrivate.h> must not be included when compiling for R5.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 23:00:37 +00:00
Ingo Weinhold
e5b24fc152
Mmh, the file didn't compile. I wonder, when I introduced this problem.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 22:59:13 +00:00
Ingo Weinhold
45a89df921
BDiskDevice::Eject() and GetName() are used now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:09:26 +00:00
Ingo Weinhold
f679e95b10
Some fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:08:44 +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
e2077e8d4c
Minor changes. Moved the functionality for getting a messenger targeting the DiskDeviceManager in the registrar into the private support files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:03:59 +00:00
Ingo Weinhold
5c905a2f6a
Added missing newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 20:11:18 +00:00
Ingo Weinhold
7319572398
Re-added BString to the built.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 20:10:14 +00:00
Ingo Weinhold
67330a1267
Added missing _DoReplace().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 20:08:36 +00:00
Ingo Weinhold
875f291891
Recognizes all notification messages now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:16:34 +00:00
Ingo Weinhold
483bea6e79
Completed support for updates and notifications.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:15:20 +00:00
Ingo Weinhold
bd68efa667
Removed BString from the build. It is broken.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:14:08 +00:00
Ingo Weinhold
de1a825ec8
Added missing file AppServerLink.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:13:31 +00:00
Ingo Weinhold
e6e04bdc25
Moved definitions for notification message "cause" fields to this header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:12:47 +00:00
Ingo Weinhold
2d2601d03c
Implemented rescanning the device list. A few things, e.g. notifications and change counter updates, are still missing. Added a periodical rescan event.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 23:37:48 +00:00
Ingo Weinhold
b393d4420b
Added constant for the disk device rescan event.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 23:33:43 +00:00
Ingo Weinhold
9c0367dcec
Tiny inline class representing a change counter.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 23:33:05 +00:00
Ingo Weinhold
4b883396bd
Fixed warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 18:18:29 +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
77d6501f22
Added notification tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:24:51 +00:00
Ingo Weinhold
30bb74bbd2
Added notification support for the mounting and mount point moving events. Several fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:23:46 +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
851a7b6fe7
Added small test program for the Disk Device API. Doesn't do much for now -- only dumps the current list of disk devices. The iteration code seems to work. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:40:11 +00:00
Ingo Weinhold
57f5eb1c81
Minor changes: Small fixes and some more debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:37:00 +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
1c18696ba4
Added pseudo-target for building the userland versions of all disk_scanner modules.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:49:51 +00:00
Ingo Weinhold
78e7610fdd
extended_partition_info::mounted_at is gone.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:48:56 +00:00
Ingo Weinhold
3d2f3f00f1
The basic functionality is complete now (though untested). The user API requests (save the one concerning watching) are handled. Notification stuff is still missing and proper handling of changes to devices, too.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:48:15 +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
0598bd378f
extended_partition_info::mounted_at is gone.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:40:48 +00:00
Ingo Weinhold
bdc2eaf5d8
Started implementing the API. Necessary changes to the headers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:39:38 +00:00
Ingo Weinhold
ae17e5046d
Added a C++ version of get_device_icon() using a BBitmap.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:38:15 +00:00
Ingo Weinhold
456d74c6d2
Uncommented extended_partition_info::mounted_at. It looks like we can't get hold of this data, so the field will probably disappear.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:37:30 +00:00
Ingo Weinhold
79cf70b37a
Minor changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:35:13 +00:00
Ingo Weinhold
26dd5fd531
* RVolumeList:
...
- Added locking, listener support.
- Changed message handling from BHandler to MessageHandler interface.
- Fixed bugs.
* RDiskDeviceList:
- Locking uses an external lock now (the same one as the volume list)
- Prepared for message handling (MessageHandler).
* DiskDeviceManager:
- Added priority message queue and message handler thread -- should be
more or less complete now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 23:39:54 +00:00
Ingo Weinhold
e81c38c154
Added new classes, MessageHandler and PriorityMessageQueue.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 23:32:44 +00:00