Commit Graph

4398 Commits

Author SHA1 Message Date
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
DarkWyrm
297ffbbb1a Removed memory leak in InitData
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 19:54:43 +00:00
DarkWyrm
dfa226a101 WindowLookToInteger and WindowFeelToInteger return the values specified in R5's Window.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 19:47:52 +00:00
DarkWyrm
9b15e4787a Largely implemented SystemCursor API and updated application
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 19:42:03 +00:00
DarkWyrm
9cdc27451e Numerous fixes - see previous checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 19:41:15 +00:00
DarkWyrm
2a8283e420 Windows receive focus when shown
System cursor API and infrastructure largely implemented
Added Decorator::SetFont
Removed unnecessary parameter copying in WinBorder class API
Optimized screen updates when a decorator button is clicked
Moved TokenHandler and BitmapManager to libappserver to allow decorators to use bitmaps
Began reworking of DefaultDecorator::_DrawFrame to draw only what it is asked to
Partly implemented ViewDriver::StrokeLineArray - calls StrokeLine
Fixed a Layer init bug - visibility regions were initialized to Bounds() and not Frame()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 19:38:24 +00:00
DarkWyrm
aea9bed9de Upgrading to 2.1.4
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 18:54:27 +00:00
DarkWyrm
36310414d9 upgrading to 2.1.4
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 18:52:56 +00:00
DarkWyrm
f5a286efe2 Upgrade to 2.1.4
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 18:46:44 +00:00
Phil Greenway
57dd76be4d Code clean up and SetSizeLimit added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 14:09:11 +00:00
Waldemar Kornewald
ec3447e61f Worked on events and actions.
StateMachine now waits until all protocols/encapsulators have finished going up before entering next phase.
Added StateMachine methods to support main interfaces (multilink).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 12:00:53 +00:00
Waldemar Kornewald
4c7e909c5f Renamed PPPFiniteStateMachine into PPPStateMachine (the name was tooooo long).
Added some more events.
Added UpRequested methods to protocols/encapsulators.
Worked on actions and events. Also added some checks.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-23 13:03:35 +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
Matthew Wilber
98fde4e893 Initial check in for PNGTranslator -- based on libpng library. It probably doesn't build properly with Jam yet, so I've left it out of the Jamfile in the parent directory. Currently, it can read some PNG images, but it falsly identifies everything that is not a Be Bitmap image as a PNG image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 02:56:56 +00:00
Ingo Weinhold
d50af9662a Now resizes a (shadow) partition and cancels the modification.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:21:14 +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
d3774a9b93 The content_type field in partition_data is now set by the system. Implemented querying hooks for resizing a child partition of the partition map.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:16:13 +00:00
Ingo Weinhold
9cd06f3a38 The content_type field in partition_data is now set by the system (to the disk system's pretty name).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:14:01 +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
Phil Greenway
a94c3386de Added dummy listviews so I can play around with the tabs as I've not used them before.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-21 13:16:54 +00:00
Jérôme Duval
ce020bad2c Levels fixed. Audigy now supported.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-21 08:44:01 +00:00
Jérôme Duval
6202b8bf70 Fix menu1 menu2 menu3. Now allows to choose the audio output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-21 08:36:55 +00:00
Ingo Weinhold
24c9a2dc58 Implemented modification methods.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 22:39:49 +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
d7ce4fddfc Implemented all read-only (more precisely: not writing) methods. Small changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 17:24:32 +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
63e9aa86f0 _kern_get_next_supported_partition_type() syscall changed slightly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 17:20:05 +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
Matthew Wilber
a1cd43f854 using ByteOrder.h caused redfining of many types (like int32, uint32), so I switched to endian.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 14:34:15 +00:00
Phil Greenway
75d162977d Added TabView to Resource Usage Window and added blank Views for the necessary tabs. Just need help understanding where the current R5 Devices application is "getting" this information from.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 11:58:28 +00:00
Phil Greenway
b87ce267f2 ResourceUsageWindow is now the correct type and size. Researching that tabby thing atm ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 04:47:53 +00:00
Phil Greenway
57d8f1d980 Various bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 03:47:34 +00:00
Phil Greenway
796880c693 Fixed a bad comment line.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 03:27:00 +00:00
Matthew Wilber
566eea5a61 Changed input / output formats to match values from Be's R5 PPMTranslator and made cosmetic changes to config panel
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 01:31:53 +00:00
Ingo Weinhold
4c4722dd9e Added the shared private headers again, since BObjectList is used in the API now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 20:39:50 +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
Matthew Wilber
58f77562c6 added dumping of input / output formats to Info Window
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 17:52:23 +00:00