Commit Graph

15996 Commits

Author SHA1 Message Date
Axel Dörfler
8242ac7f2f The "Screen" preferences application is no longer compatible to BeOS
(it could be built with minimal effort, but it looks awful since
BMenuFields are not resized correctly on R5).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 16:35:47 +00:00
Axel Dörfler
7b51c43305 Moved the "Workspaces" application out of preferences - it's not a preferences application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 16:32:50 +00:00
Stephan Aßmus
df3f5bac68 * enjoy a fully font sensitive Screen preflet
* the Radeon specific controls are now layouted below
  the other menu fields, it is easily changed back
  to the side by side layout by changing the default
  value of "sideBySide" for ScreenWindow::LayoutMenuFields()
* I added a "Set Background..." button, because I didn't
  like the hidden functionality of the monitor view too
  much. That is still there though.
* TODO: fix the awareness of changes to the workspace
  count and include those in "reverting" and "defaults"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 15:25:25 +00:00
Stephan Aßmus
c72e7319b2 * have the MenuBar resize to preferred in
ResizeToPreferred()
* fix and sanitize GetPreferredSize()... people,
  think "simple"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 15:17:41 +00:00
Stephan Aßmus
e10bfa7a59 * round the top border offset
* actually use it inside the control too


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 15:15:59 +00:00
Axel Dörfler
62b5f42b35 * Fixed view deletion: _CreateSelf() and RemoveSelf() are now symmetrical, removing
all those error output from the app_server.
* AS_LAYER_DELETE now gets a token, no longer frightening choice of parent.
* Removed locking in RemoveChild(); it has to be called locked now.
* Removed AS_LAYER_DELETE_ROOT as it's no longer needed.
* Removed support from BView for being PR3 compatible.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 14:43:33 +00:00
Axel Dörfler
bd3d31b0ab Version description was one pixel too low, dunno how I missed that before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 14:02:02 +00:00
Axel Dörfler
9786c1ecf9 * When an icon changes, the MimeTypeListView updates the type now.
* Selecting "None" as preferred application didn't work.
* Forgot to implement changing a MIME type's long description.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 13:48:00 +00:00
Axel Dörfler
f8499e9aac * added missing version_variety enumeration (this fixes the FileTypes build).
* cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 13:46:07 +00:00
Axel Dörfler
b2be483b92 The type list will now show the generic file icon for types without an icon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 13:28:54 +00:00
Axel Dörfler
e47433bccb * The new icon retrieval code didn't always work that well...
* For applications without an icon, the default application icon is now shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 13:20:38 +00:00
Axel Dörfler
84506c140e * The MimeTypeListView now supports switching to icon mode and back without
needing to reconstruct it.
* The file types list can now show icons, too (you can enable it using the menu)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 12:59:01 +00:00
Axel Dörfler
688b1b719c * Added a version box to the application types views.
* StringView didn't initialize fEnabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 12:35:39 +00:00
Jérôme Duval
efc1ff76bc fixed include
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 22:11:06 +00:00
Jérôme Duval
ec53687c76 added a MIDI USB driver (IN only)
tested with a Evolution MK-425C


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 22:10:07 +00:00
Axel Dörfler
36e8fa618f The keyboard focus is now always updated if the message is a B_[UNMAPPED_]KEY_DOWN or a
B_MODIFIERS_CHANGED message.
This fixes bug #175 (which was probably caused by a bug in our old BMessage implementation,
see TODO item in line 141).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 18:38:39 +00:00
Axel Dörfler
aaa1e815fa * A separator item obviously has a "" label instead of NULL - this fixes bug #138.
* Made Tracker safe against a NULL item label, anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 17:54:38 +00:00
Axel Dörfler
48e3cfa354 DrawString() no longer crashes when called with a NULL string.
This fixes bug #136.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 17:32:44 +00:00
Axel Dörfler
35e74831d4 * Shortcut messages now add a boolean "shutdown" field to the message - this
prevents Tracker from being quit by Command+Q.
* Also, it's now possible (as on R5) to remove the Command+Q shortcut.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 17:21:46 +00:00
Axel Dörfler
9bce8e570a BMessage::AddString() no longer crashes when the string to add is NULL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 17:15:49 +00:00
Axel Dörfler
4f92605003 Moved the "get icon engine" from IconView into a function in MimeTypeListView.cpp; it's
now used by the MimeTypeItems as well, if showIcon mode is used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 16:46:58 +00:00
Axel Dörfler
fa815db338 Followed Korli's suggestion and used noTint where possible.
BTW other controls should use the B_CONTROL_TEXT_COLOR as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 16:33:49 +00:00
Jérôme Duval
8319ae827f fix views placement, completes bug #162
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 16:30:49 +00:00
Jérôme Duval
25649336e1 updated signature and headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 16:17:26 +00:00
Axel Dörfler
041ea26008 More work on FileTypes:
* You can now edit and add extensions.
* The internal name view is no longer a disabled BTextControl, but a simple
  customized BStringView like view.
* New "Application Types" window in the making.
* MimeTypeListView can now have icons and supports a flat mode as well
  as an application only mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 15:48:35 +00:00
Axel Dörfler
c432fbbbb7 Now uses B_CONTROL_TEXT_COLOR to draw the label instead of just black.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 12:40:34 +00:00
Jérôme Duval
22bb857ecd hopefully fixed preferences window labels truncated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 11:22:35 +00:00
Jérôme Duval
f4865bd8ae hopefully fixed overlapping bug #162
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 10:24:37 +00:00
Rudolf Cornelissen
bfaacc661f added acc engine's retrace sync capability related register defines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 21:17:23 +00:00
Rudolf Cornelissen
7fe04ec74b added retrace sync programming for NV12_IMAGE_BLIT command. Works OK it seems (testing in 3D add-on).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 21:16:24 +00:00
Rudolf Cornelissen
1157cf1e2f added define for NV12_BLIT function (with retrace sync capability)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 19:32:14 +00:00
Rudolf Cornelissen
f36f5d56d5 switched to a newer blit function in the driver for NV11 and higher (below does not support it). Benchmarking shows this blit has about the same speed as the old one. The reason for switching is the fact that this new function supports auto_sync_to_retrace. That should counteract the drop in fps for synced swaps (3D) a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 19:31:19 +00:00
Rudolf Cornelissen
24fa0e7be9 added new nv.setting 'force_sync'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 16:08:21 +00:00
Rudolf Cornelissen
a3a50182a3 added new nv.setting 'force_sync' to force retrace sync for accelerated 3D. Updated docs. Bumped version to 0.73. Note: force_sync will be in place for 3D accelerant alpha4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 16:07:26 +00:00
Rudolf Cornelissen
dad4ff0e52 added new nv.setting for 3D rendering only: force_sync. This setting enables users to force hardware rendering synchronized to vertical retraces, enabling them to prevent tearing and enabling 'fixed' fps and latencies: If the rendering power for a mode and an apps complexity is high enough that is.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 16:05:58 +00:00
Jérôme Duval
ba41c65055 added more math functions (complex ones)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 14:57:33 +00:00
Axel Dörfler
879c65a301 You can now create new file types and groups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 14:41:57 +00:00
Jérôme Duval
5acbf1f50e added more math functions (complex ones)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 13:34:43 +00:00
Jérôme Duval
162972f5f2 added missing wrappers from glibc 2.3.6
hopefully fix bug #157


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 13:06:48 +00:00
Axel Dörfler
3648c6cea4 Added error reporting and a "application does not support file type" warning when
trying to set the preferred app via the "Same As..." or "Select..." buttons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 02:40:40 +00:00
Axel Dörfler
43fd6fc453 * You can now also select the preferred application using the "Select..." and
"Same As..." buttons and a file panel.
* The preferred application of a file type is now also displayed correctly if
  it's not part of the list of supporting applications.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 02:07:47 +00:00
Axel Dörfler
8d577b370f You can now remove file extensions and attributes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 01:10:31 +00:00
Axel Dörfler
79dd9fd23e You can now remove MIME types.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 00:45:34 +00:00
Marcus Overhagen
a11f16fd7e cleanup of multiplexing support and debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 21:27:22 +00:00
Marcus Overhagen
45eccbd027 fixed ps2_flush() and debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 20:08:14 +00:00
Marcus Overhagen
cf4878971b added keyboard controller buffer flush
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 18:49:25 +00:00
Marcus Overhagen
4730cb7663 improved debug output
remove some warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 18:47:01 +00:00
Marcus Overhagen
edb9601e2c this is a perfect 3rd party opportunity
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 18:03:09 +00:00
Marcus Overhagen
e87d23b1a7 added a panic into a loop that often causes a deadlock here
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 17:52:35 +00:00
Marcus Overhagen
fbe9b0b6eb This fixes bug #149.
Input server now saves keyboard typematic settings whenever they are modified,
instead of wating until it is shutdown (which never happens, either the
system will crash, or the input_server will stay active after a normal shut down)
Same problems might apply to mouse and keymap settings.
Input server shutdown handling should be reviewed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 17:35:05 +00:00