Commit Graph

647 Commits

Author SHA1 Message Date
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
Axel Dörfler
2f4575bfcf Fixed a crashing bug in BParameter::Unflatten(): it accidently called
AddInput()/AddOutput() instead of just adding the unflattened (unfixed)
pointer to the appropriate lists.
Added a comment that it's valid to add the pointers at this time since
they will be fixed later on.
BParameterGroup::MakeControl() unnecessarily initialized the newly created
parameters with some default values.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 16:04:00 +00:00
Axel Dörfler
42b6476dd4 Activated the default media theme to be used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 15:43:08 +00:00
Axel Dörfler
d662f7f451 Implemented a very simple default media theme. You can't do anything yet,
but you should already see most of the options.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 15:42:44 +00:00
Stefano Ceccherini
e08165bb6f Fixed an allocation bug in BRegion::set_size, started to comment BRegion with Doxygen (just the public methods and some friend functions for now). Added BRegion to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 08:19:26 +00:00
Stefano Ceccherini
15cfed465c Fixed sort_rects(). Rects are sorted by their top value, not by their left as I tought in the first place. I had already fixed or_region_no_x, I just forgot to update sort_rects().
Fixed a typing bug in PrintToStream().
Added a comment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 06:21:50 +00:00
haydentech
99966f7887 Namespace/gcc3 fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-26 15:39:32 +00:00
haydentech
5d5860e4f1 3 changes to remove infinite loops or crashes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-26 15:36:06 +00:00
Stefano Ceccherini
0147056b81 Added a partial implementation of BRegion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-26 10:09:01 +00:00
haydentech
3aa0c906ba Fixed a crasher in setFocus() and some dead code in ResizeTo()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 20:50:42 +00:00
haydentech
97c931825e Plugged some holes in the last checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 19:40:45 +00:00
DarkWyrm
6ef98483f5 Removed some bugs to allow the server to run. We can now display (but not play with) a real BWindow!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 01:01:20 +00:00
Ingo Weinhold
6ab18748f3 Removed invocations of UsePublicHeaders, which was a no-op anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:53:22 +00:00
DarkWyrm
6b76dd01f5 Can get replies as PortMessages now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 13:18:39 +00:00
shadow303
c27b0019d6 gcc3 cleanup & fix stupid mistake
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:48:28 +00:00
Ingo Weinhold
242a2cbef2 Define the values in the source file rather than in the header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 22:55:21 +00:00
DarkWyrm
21099b6971 Separated PortQueue and PortMessage into separate files.
Added read methods to PortMessage


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 17:17:40 +00:00
Marc Flerackers
3c4f452b0c Fixed some allocation bugs, and a play bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 14:02:46 +00:00
Ingo Weinhold
37faaaded5 Made the (BHandler*, BLooper*,) constructor more robust. Now the looper list is locked and the looper checked for validity.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 00:18:56 +00:00
Ingo Weinhold
adf43596d6 Added missing includes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 23:58:57 +00:00
beveloper
5ac4fbd70d clean up of debugging functions
FATAL is now replaced by ERROR and active at DEBUG=1 or above
TRACE is active at 2 or above
PRINT(level, ...) can be used for DEBUG= level or abode
INFO is removed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 14:53:41 +00:00
Philippe Houdoin
a91f266ff3 Hide the accept() trick more deeper: now the stack driver manage the trick himself.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 01:02:50 +00:00
Philippe Houdoin
5d7c65c278 Rollback to original xBSD DNS resolver implementation _res global variable name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 00:16:09 +00:00