Stefano Ceccherini
ec35b786c8
Fixed the build, and added some more comments
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 06:43:03 +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
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
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
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
Stefano Ceccherini
7e3a607f22
Whoops! Forgot to update this file..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-14 09:11:38 +00:00
Stefano Ceccherini
791e557c1b
Implemented the last missing function, r_sub (it could be written a bit better, though). Moved the helper methods to a separate file, cleaned up a bit the implementation, changed some things in the license.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-14 06:22:47 +00:00
shadow303
78cc8d1a5a
Fix templates for PortMessage & PortLink.
...
Update BApplication for changes to PortLink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-11 23:15:23 +00:00
shadow303
19de29789a
Updates for changes in PortLink & PortMessage
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-11 23:14:02 +00:00
haydentech
36535a1728
Fix use of uninitialized variable
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-11 22:08:17 +00:00
haydentech
50f17542c2
namespace fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-11 20:39:46 +00:00
haydentech
c0b3b8475f
major warning reduction for gcc3, plus namespace and other gcc3 fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-11 15:51:59 +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
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
642c6c32e4
Implemented FFM calls and scroll_bar_info calls
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 17:42:34 +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
87048db9e0
Simplified BAppServerLink interface
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 16:56:57 +00:00
DarkWyrm
faa6a27319
Simplfied AppServerLink interface
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 16:56:27 +00:00
Philippe Houdoin
c692649c22
Rollback to NET_STACK_GET_COOKIE trick for accept() implementation.
...
Use the stack_driver_args union even more...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 01:08:49 +00:00
DarkWyrm
a9dd5e21ab
Checking in some input-related stuff Marc sent me awhile ago
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 00:32:08 +00:00
DarkWyrm
40564fead1
Added license and header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 00:07:56 +00:00
DarkWyrm
c73b41b97f
Build fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-09 18:46:04 +00:00
Stefano Ceccherini
336449f921
Fixed (hopefully) and uglified r_or. It wasn't just ugly enough before :P.
...
Implemented sort_trans (now I understood what it was for). Include methods should really work now. Note that r_or uses 8Kb on the stack everytime it's called, no matter how many rectangles it has to elaborate. Can be changed, though. Some cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-09 06:08:10 +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
2942bfb5fb
Changes due to BPartition::UniqueID() -> ID().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 23:31:22 +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
671a745561
Modified the visitor implementation a bit. The Visit() with the BPartition* argument now also gets the level of the partition in the hierarchy.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 18:26:15 +00:00
Ingo Weinhold
c54d68a84e
Should have waited a few more minutes... Renamed the methods {B,K}Partition::Is{Mountable,Partitionable}() to Contains{File,Partitioning}System(). Similar change for the respective flags (B_PARTITION_{MOUNTABLE,PARTITIONABLE}).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 17:38:45 +00:00
Marc Flerackers
19225ae191
A new BInvoker implementation. The InvokeNotify is now implemented as it should.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-07 07:58:14 +00:00
Ingo Weinhold
5c7270efd7
Beginning of Disk Device API:
...
* Made all headers parsable. Also some smaller changes.
* Added empty source files for new classes.
* Changed obsolete implementations of existing classes, so that we
now have basic functionality for BDiskDevice[Roster] and BPartition.
Iterating through disk devices works and the data we get doesn't look
too bad for the beginning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 23:11:10 +00:00
Axel Dörfler
cb6670b490
The groups are now put into special GroupViews which not only set the target
...
of its members correctly, but will also add scroll bars as needed.
Implemented basic message filters for discrete/continuous parameter views.
The views are now set to the correct parameter value and vice versa.
BContinuousParameter::{Get|Set}Response() is not yet supported, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 14:08:26 +00:00
Axel Dörfler
7b96988a72
BParameter::GetValue() now only copies as much data as specified by the reply.
...
BParameterGroup::Unflatten() did not set the mWeb member of BParameter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 14:05:13 +00:00
Ingo Weinhold
2386ff94ad
Added missing include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 12:30:23 +00:00
shadow303
ac3bb782a8
gcc 3 fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 21:11:20 +00:00
shadow303
3bc6d6c59a
gcc 3 fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 21:10:14 +00:00
Jérôme Duval
d80dc8f76a
Fixed status_t BDeskbar::AddItem(entry_ref *addon, int32 *id)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 17:07:42 +00:00
Stefano Ceccherini
b98a12f022
Fixed some bugs pointed out by Marc. Thanks Marc!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 10:20:57 +00:00
Stefano Ceccherini
b8922a588b
Fixed some small bugs in (sub|or)_region_complex. Fixed a freezing bug in sort_rects. Implemented r_or. Now just r_sub is missing.
...
Tested Include methods and IntersectWith(). They work fine.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 06:26:07 +00:00
Stefano Ceccherini
319b95be85
Implemented sub_region_complex and or_region_complex. They divide the plane into horizontal bands, then pass the area to r_sub or r_or, which do the real work. Tested xxx_region_complex with R5's r_or and r_sub: they work fine. Just those last functions are missing now. Documented a bit more the private C functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 07:16:11 +00:00
Axel Dörfler
78aa9c8040
The creation of the parameter views now happens before the sub-groups are
...
added to the group. That way, a title view can be identified and always
placed at the top of the view.
Fixed minor related bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 04:21:09 +00:00
Axel Dörfler
4b582fd16a
Now sets the height of the parameter web correctly (wasn't visible with the
...
Media preferences application alone).
Replaced the BBox with a simple BView for the container of a BParameterGroup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:58:36 +00:00
Axel Dörfler
c81f1c978f
Added support for the B_HIDDEN_PARAMETER flag.
...
Added heuristica to only show those BNullParameters which the original media
kit shows.
Removed flickering in the SeparatorView drawing code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:33:17 +00:00
Axel Dörfler
652243dade
Added workaround for a misbehaving BOptionPopUp class (doesn't resize itself
...
properly - it obviously needs the correct size at creation time...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:13:13 +00:00
Axel Dörfler
b8da958ed6
Big visual update: it's now almost the same as the original MediaTheme.
...
Some special parameter types are still missing, actually changing anything
is missing, some needed work-arounds for broken Be code, etc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:06:21 +00:00
Axel Dörfler
9505110943
BParameterGroup::Unflatten() didn't set the mGroup field of its parameters.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:03:37 +00:00