Axel Dörfler
640d0ba831
Replaced old create/delete area syscalls with the new ones, added
...
new kernel private create_area_etc() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:11:58 +00:00
Axel Dörfler
50ba6835f7
Replaced old create/delete area syscalls with the new ones.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:10:35 +00:00
Axel Dörfler
9970840118
Renamed syscall definitions for the create/delete area calls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:07:40 +00:00
shatty
edb76b96d2
new posix/beos compatible version in public posix/ctype.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 07:13:59 +00:00
Philippe Houdoin
e8d1b6e166
Moved back from headers/posix/sys from here, where they belong.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-11 22:50:27 +00:00
shadow303
17e6de7a37
gcc 3 fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 00:46:53 +00:00
Ingo Weinhold
8d91b8087d
Improved the interaction between job queue and manager. Partitions should now be mark busy correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:39:12 +00:00
Ingo Weinhold
f31cbc2db6
Added SetTo() methods to the AutoLocker.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:28:11 +00:00
Ingo Weinhold
cc6edbdf8f
* Added VisitEachDescendant().
...
* Added {Add,Clear}Flags() which are more comfortable than SetFlags() in
most cases.
* On construction the `busy' and `descendant busy' flags are set.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:27:33 +00:00
Ingo Weinhold
7e4c7d4350
Added KPartitionVisitor class used for advanced partition tree traversal.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:23:53 +00:00
Ingo Weinhold
a7ef3b5651
Added compare_string().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 23:59:56 +00:00
Ingo Weinhold
84ba3a5265
Added JobFactory().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 23:59:26 +00:00
Ingo Weinhold
1217079c31
Changed parameter name only.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 23:58:46 +00:00
Ingo Weinhold
bdbbcfaf16
Added CountDescendants().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 22:48:08 +00:00
Ingo Weinhold
e37159e2db
Added min() and max() functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 22:47:17 +00:00
Ingo Weinhold
ec4ef3525f
Added a KDiskDevice* parameter to the constructor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 22:46:38 +00:00
Ingo Weinhold
57c8af057e
Replaced the Vector parameter of CreateMoveJob() by a simple array. Added CreateUninitializeJob() (empty implementation).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 22:45:26 +00:00
Ingo Weinhold
eceac61bcb
Implemented disk device job iteration.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 17:53:11 +00:00
Ingo Weinhold
9e5ec2a534
Implemented BDiskDeviceJob. Should be complete.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 17:52:39 +00:00
Ingo Weinhold
047c90100d
Reordered job types and added missing ones.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 17:52:03 +00:00
Ingo Weinhold
68f12c0221
Implemented job related functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 17:49:50 +00:00
Ingo Weinhold
fe05b0ac95
Added and implemented job related syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 17:48:08 +00:00
Ingo Weinhold
c34b4f49f4
Added ActiveJobIndex().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 17:46:59 +00:00
Ingo Weinhold
fc45522e03
Added ContentSize(). Added default parameters for CanMove() and CanResize().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:35:05 +00:00
Ingo Weinhold
8954437d0a
Moved definitions of general interest to DiskDeviceDefs.h. Minor changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:33:32 +00:00
Ingo Weinhold
4c7c2ca6ab
Added changed flag for partition content size and job related definitions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:31:37 +00:00
Ingo Weinhold
c30e81a7bc
Added partition_data::content_size, job cancel statuses and a function needed to support canceling an pausing of jobs (not implemented yet).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:27:25 +00:00
Ingo Weinhold
71346466b8
Added user_partition_data::content_size field. Small change to support a NULL parameter in _kern_supports_resizing_partition().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:24:22 +00:00
Ingo Weinhold
738e4a700b
Support for the added partition content size attribute.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:21:21 +00:00
Ingo Weinhold
ace55d9bfc
Implemented the job related functionality. Moved scanning of partitions into the respective job class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:18:16 +00:00
Ingo Weinhold
6eaec7ddda
Some changes to the interface (added missing methods and such). Implemented the class almost completely. Basically only the notification stuff is still missing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:16:15 +00:00
Ingo Weinhold
a31533cbec
Brought the interface up to date. Added empty implementations for all methods, save the one creating a job for scanning, which is complete.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:14:27 +00:00
Ingo Weinhold
38bd13fcf9
Some changes to the interface. Implemented most of the methods. The notification stuff is still missing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:12:39 +00:00
DarkWyrm
10aef7cbc0
Retooled pattern passing - much neater now. :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-28 19:13:24 +00:00
DarkWyrm
e81c16a881
Made locking/unlocking publically accessible
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-28 17:05:09 +00:00
Stefano Ceccherini
a5b449ce66
Added BScreen implementation, which uses BPrivateScreen (not yet implemented).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-28 14:35:02 +00:00
shatty
b7fbf7f753
added default constructor
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 01:35:41 +00:00
shatty
1b0ac0c0ee
yummy character set support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 21:24:40 +00:00
beveloper
7c5fb432b0
if DEBUG was not defined, it will now be defined with a value smaller than null.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 01:10:55 +00:00
DarkWyrm
d1e924c11e
File updates
...
Moved BitmapManager and TokenHandler to libappserver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-25 15:44:59 +00:00
DarkWyrm
5407fa5f84
Forgotten files. Oops. :P
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-25 15:30:18 +00:00
Ingo Weinhold
a8f1d2a859
Added some more partition change flags and a partition state for uninitialized partitions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 22:59:42 +00:00
Ingo Weinhold
95152e1e98
Implemented remaining partition modification syscalls. Some small fixes. Some refactoring.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 22:58:06 +00:00
Ingo Weinhold
1d8675355f
Added some more support for tracking changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 22:56:53 +00:00
Ingo Weinhold
073eb9aead
Added constants identifying operations on partitions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 22:55:22 +00:00
Ingo Weinhold
ee1ebe375c
* Added ShadowPartitionChanged() to KDiskSystem and respective hooks
...
to the module interfaces. So the disk system will be informed, when a
shadow partition has changed and it is allowed to do necessary
adjustions (e.g. adjusting the cookie, the parameters, or on
partitioning system initialization even creating special child
partitions (apple partitioning system)).
* Added `int32 *index' parameter to ValidateCreateChild(). So the
partitioning system can report at which index the new child shall be
inserted.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 22:53:23 +00:00
Stefano Ceccherini
2a0863af09
Some more clipping_rects methods, based on BRects methods. Currently unused, but could be used in the Game Kit and, why not, also in the app server itself.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 12:49:49 +00:00
Ingo Weinhold
426b44c60b
Implemented disk device updating. Some changes due to syscall changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:19:23 +00:00
Ingo Weinhold
e627d686c3
Added definition of flags for partition changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:17:47 +00:00
Ingo Weinhold
247a3aae82
Small changes due to modified syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:12:54 +00:00
Ingo Weinhold
5ee968b3df
* Added a change counter parameter to all partition querying and
...
modification functions. Don't know why I didn't right from the start.
* Implemented _kern_resize_partition().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:11:03 +00:00
Ingo Weinhold
f865306260
Some comments regarding the partition_data struct.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:05:38 +00:00
Ingo Weinhold
f985036e31
Reordered for aesthetical reasons. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:04:27 +00:00
Ingo Weinhold
02885b7d6e
* Got rid of SetContentType(). It is set automatically now, to the
...
PrettyName() of the responsible disk system.
* Added change counter support and changes tracking.
* Added UninitializeContents().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:03:35 +00:00
Ingo Weinhold
d61adbe244
CanMove() returns a list of partitions to be unmounted for moving, now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-21 14:17:33 +00:00
Ingo Weinhold
c0b8ba64fd
_kern_supports_moving_partition() now returns the list of partitions that need to be unmounted for moving.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-21 14:17:03 +00:00
Ingo Weinhold
df3b8c625e
Added partition modification syscalls with empty implementations.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 22:39:37 +00:00
Ingo Weinhold
fb82e723f2
Implemented BPartitionableSpace.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 17:21:06 +00:00
Ingo Weinhold
71a5281923
Implemented _kern_get_partitionable_spaces(). Got rid of user_partitionable_space_data.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 17:18:48 +00:00
Ingo Weinhold
3ee6c178d5
Some fixes of/changes to the API. Shortened names where possible.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 17:17:00 +00:00
Ingo Weinhold
2a596c013a
Implemented all read-only (more precisely: not writing) methods. Small changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 17:15:35 +00:00
Ingo Weinhold
de8cdceda5
Implemented all Can*() and Validate*() methods. Signature changes to the methods for resizing and moving.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 20:38:50 +00:00
Ingo Weinhold
752cec6459
Several changes to the _kern_{supports,validate}_*() calls:
...
* Removed the disk_system_id parameter where superfluous.
* Got rid of the `child' variants of the _kern_{supports,validate}_*()
syscalls for moving and resizing. Reimplemented the real ones to do the
the right thing, i.e. they check all concerned disk systems now.
* Added _kern_supports_setting[_content]_parameters().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 20:37:00 +00:00
Ingo Weinhold
708a31badf
Added SupportsSetting[Content]Parameters() to the KDiskSystem interface and respective functions to the module interface. Some re-ordering of methods/functions for aesthetical reasons. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 20:29:58 +00:00
Ingo Weinhold
24fa6c601b
Added LoadDiskSystem() version, that takes a disk system name.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 20:26:48 +00:00
Ingo Weinhold
415002509d
* Removed the Validate*() methods. They are less useful than their
...
BPartition counterparts.
* Removed the BPartition* argument from the Supports*() methods. They
now return only general capability information. The BPartition::Can*()
methods would be used to learn whether a certain operation is possible
with the partition.
* Added some missing Supports*() methods.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-18 18:45:29 +00:00
Ingo Weinhold
18b90323d9
Added flags for disk systems.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-18 18:41:21 +00:00
Ingo Weinhold
e1570b66f8
Added mostly empty implementations for the missing methods; implemented some of them. Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 00:06:58 +00:00
Ingo Weinhold
38844d14f8
Added ValidateInitialize() and a _SetTo(disk_system_id). Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 00:05:31 +00:00
Ingo Weinhold
a1a7d37e2c
Added syscall for validating the initialization parameters.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 00:04:22 +00:00
Ingo Weinhold
3f60a01369
Added "name" parameter to KDiskSystem::[Validate]Initialize() and the respective module API functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 00:03:17 +00:00
Ingo Weinhold
a058daad3a
Implemented the remaining methods, some aesthetical changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-16 21:02:14 +00:00
Ingo Weinhold
8bc0bd912a
Added and implemented the remaining disk system syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-16 21:01:14 +00:00
Ingo Weinhold
1f3f1294a8
Added a IsSubSystemFor() method to the KDiskSystem interface and respective calls for the module interfaces.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-16 21:00:01 +00:00
Ingo Weinhold
910d993921
Implemented the BDiskSystem::Supports*() methods. Added required private helper methods to BPartition.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 21:44:23 +00:00
Ingo Weinhold
1863de6785
Added and implemented the first part of the disk system querying syscalls (_kern_supports_*()).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 21:42:59 +00:00
Ingo Weinhold
0fbb290f51
Some changes to/fixes of the KDiskSystem interface and the disk system module interface.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 21:41:32 +00:00
Ingo Weinhold
a97769a5d3
Added {Read,Write}Lock{Device,Partition}().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 21:39:34 +00:00
Ingo Weinhold
dd3be08988
* Removed VisitEach{Initializable,Partitionable}Partition() -- they are
...
too specific for a general API.
* Implemented {Register,Unregister}FileDevice().
* Implemented Get{Device,Partition}WithID() and
Get{Device,Partition}ForPath().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 01:20:34 +00:00
Ingo Weinhold
442e574d88
Added FindDescendant() and _IsShadow().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 01:16:29 +00:00
Ingo Weinhold
92b9e33326
* Added SetTo(partition_id), InitCheck().
...
* Added more parameters to _SetTo().
* Fixed problem in Unset() -- the BPartition version wasn't called.
* Implemented {Prepare,Cancel}Modifications() and IsModified(). The
latter doesn't work yet, since the syscall implementation is still
empty yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 01:15:17 +00:00
Ingo Weinhold
dd43c7769f
* Added shadow_id field to user_partition_data.
...
* Implemented several new syscalls (_kern_find_{disk_device,partition}(),
{prepare,cancel}_disk_device_modifications(),
[un]register_file_device()),
* Fixed some details in existing syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 01:10:32 +00:00
Ingo Weinhold
2438192b6c
Added a deviceOnly flag to {Find,Register}Device(). Minor {Create,Delete}FileDevice() changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 01:05:50 +00:00
Ingo Weinhold
5d22fa967a
Shadow partition related changes:
...
* Fixed handling of the deletion (removal) of shadow partitions. Formerly
the shadow partition corresponding to the disk device wasn't removed
properly.
* Added a shadow_id field to the user_partition_data structure which
contains the ID of the shadow partition, if it is one. The id field
will hold the ID of the physical partition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 01:00:24 +00:00
DarkWyrm
a72997e0d4
Changes to support system cursors
...
Moved cursor_which defs to a separate file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-14 14:37:10 +00:00
DarkWyrm
9381d29b6f
Massive reconfiguring to fix link problems with all things needing app_server so
...
urces
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-13 20:56:00 +00:00
shadow303
5c54c7191a
Fix templates for PortLink & PortMessage
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-11 23:16:15 +00:00
shadow303
d1acc68a9d
Templatize PortLink & PortMessage
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-11 01:49:58 +00:00
DarkWyrm
48326bef06
Added message codes for BWindow hook functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 20:20:35 +00:00
DarkWyrm
e76917c658
Added Read(int64*)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 20:13:23 +00:00
DarkWyrm
2a4311aea6
Added Read(bool*)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 17:41:44 +00:00
DarkWyrm
61480f2184
Simplified interface
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 16:51:51 +00:00
Philippe Houdoin
bf09be1c1e
Export socket_shutdown from core stack module. Rollback to NET_STACK_GET_COOKIE trick...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 01:05:14 +00:00
Ingo Weinhold
e1302deadb
Damn, accidentially deleted the changed header via "cvs rm -f". Here it comes again: Disk system iteration functions added.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 23:45:53 +00:00
Ingo Weinhold
e6fb8288f7
Added missing methods in the header and a partial implementation in the source file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 23:32:52 +00:00
Ingo Weinhold
bf5ffb0203
Added missing manipulation methods (though no implementation). Some cleanup. Renamed UniqueID() to ID().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 23:30:30 +00:00
Ingo Weinhold
8bb7454636
Implemented disk system iteration.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 23:29:21 +00:00
Ingo Weinhold
0cb59d9c8c
Added IsReadOnlyMedia(), IsWriteOnceMedia(), and renamed IsRemovable() to IsRemovableMedia() for consistency.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 23:28:32 +00:00
Ingo Weinhold
995d5c53be
* Renamed ddm_user_interface.cpp to ddm_userland_interface.cpp which
...
matches the name of the header much better. :-)
* Implemented the syscalls for iterating through and finding disk systems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 23:23:27 +00:00
Ingo Weinhold
621e29d0b5
Added a DiskSystemLoader class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 23:21:34 +00:00