Commit Graph

15927 Commits

Author SHA1 Message Date
François Revol
9847757f59 Add Radeon 9600 AS detection (by Adam K Kirchhoff <adamk AT voicenet DOT com>)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-18 16:18:39 +00:00
Michael Lotz
721a0fe3e4 Started implementing message passing by area. This will be needed for drag & drop messages and will probably be used for large messages instead of sending them through a port. Not yet finished and not enabled. Cleaned up a part of BLooper - this class should probably be cleaned up completely.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-18 12:29:05 +00:00
Stefano Ceccherini
7938b1158e Decorator() can be NULL in case the look is B_NO_BORDER_WINDOW_LOOK. Fixes bug 204
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-18 09:38:42 +00:00
Stefano Ceccherini
de71e4da6d _BMCItem_ isn't used anymore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-18 09:13:22 +00:00
Jérôme Duval
616969aa88 replaced BTextView with BStringView
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 16:51:05 +00:00
Axel Dörfler
05b9fbf51f Accidently broke the build with the previous revision...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 13:39:59 +00:00
Axel Dörfler
dd7b93c875 Window has to be locked when it's going down or its children are queried/changed.
This fixed bug #182.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 13:36:52 +00:00
Axel Dörfler
333dcda418 The kernel debugger now only puts printable characters into the input buffer.
This should eliminate the cases where commands doesn't seem to be accepted (but look fine on screen).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 12:21:28 +00:00
Axel Dörfler
1be006f2cf No longer says "unknown command" to an empty input string in the debugger.
This fixes bug #189.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 11:43:47 +00:00
Stefano Ceccherini
05883bf6dc more work in progress. This code has been sitting on some forgotten hard drive for some time already
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 11:07:29 +00:00
Jérôme Duval
5ffd43dcb9 hopefully completes the fix for bug #190
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 10:47:49 +00:00
Stefano Ceccherini
1a9e66f8e1 Renamed class members to fit our style guidelines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 10:37:04 +00:00
Jérôme Duval
aaa9b73980 improved font sensitiveness
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 10:25:54 +00:00
Stefano Ceccherini
3941c781fe Terminal doesn't crash anymore when Print is selected from the menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 10:24:33 +00:00
Stefano Ceccherini
fc14c6808f EnsureValidMessenger returns a boolean value now. Fixed indentation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 10:23:21 +00:00
Stefano Ceccherini
25a4d8f957 Fixed wrong day of week shown in Time. Needs review as I used some trick
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 08:53:10 +00:00
Stephan Aßmus
f282009d15 * _BMCItem_ is no longer used, but I didn't remove it
yet, just commented it out in BMenuField. As was expected,
  nothing changed in any obvious way
* made the _BMCMenuBar_ draw the popup marked. I changed it
  a bit, inspired from some mockup I saw, sorry I don't
  remember where. I hope you like it (it is easily changed
  back if you don't).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 22:57:19 +00:00
Stephan Aßmus
ccf81dc9d2 * made the button height proportional to the font
size instead of having a fixed spacing... should
  be more asthetical.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 22:55:02 +00:00
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