Commit Graph

16109 Commits

Author SHA1 Message Date
Axel Dörfler
a9f98d52a3 When unhiding views, we need to update the clipping deep, or child views may be
omitted. This fixes bug #181, or at least the part of it I can reproduce.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 21:58:22 +00:00
Axel Dörfler
0cd3fd40ec Speaking about bugs... removing views is now actually working again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 21:27:02 +00:00
Axel Dörfler
45a93d5d6b Fix for a bug I introduced with the last change: views were no longer removed at all!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:58:58 +00:00
Rudolf Cornelissen
f7f30d794e made chip_arch and chip_type accessible for 3D accelerant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:43:38 +00:00
Stefano Ceccherini
c86c09ddfe Added a TODO for bug 158. I can't do anything at the moment because I can't test how the bitmaps look like in beos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:31:07 +00:00
Stefano Ceccherini
971af42f6f Fixed a memory leak (another)!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:29:30 +00:00
Axel Dörfler
77187226cd Was broken when the mounting feature is disabled. This fixes bug #132.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:27:11 +00:00
Axel Dörfler
e635421dad * Work-around for strange BRoster::FindApp() behaviour is no longer needed.
* Fixed wrong height of the signature and path views.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:23:15 +00:00
Stephan Aßmus
3dfd20c019 * made the font of the "Set Background..." button
a little smaller, to lessen the importance of this
  button.
* changed the "standard" frequencies. I hope this
  doesn't have any negative impact on anything.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:18:59 +00:00
Rudolf Cornelissen
b227904c50 fix for cloning accelerant on singlehead cards: routine pointers were 'undefined' before.These routine pointers need to be revisited later on because they are not updated for clones when modeswitches happen (should be in shared_info or so). The good news is that these pointers can be gone anyway once driver instances exist per head instead of per card.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:04:47 +00:00
Axel Dörfler
98d9f1b483 * Only allowed application hints of B_MIME_TYPE_LENGTH instead of B_PATH_NAME_LENGTH.
* Introduced a _SetStringValue() to avoid code duplication.
* The string types now check the original value, and don't write anything if the
  contents stay unchanged (with the current exception of the sniffer rules).
* The monitor notfication methods no longer "clobber" the status result.
* Major cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 19:27:39 +00:00
Axel Dörfler
91fe5e6e58 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 19:25:00 +00:00
Axel Dörfler
eb797182df Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 17:37:36 +00:00
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