Commit Graph

13548 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Jérôme Duval
058070254d update code in #ifdef USER, should be needed when we want to use Volume::Initialize()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 17:28:21 +00:00
Jérôme Duval
3cd9828763 fix the build for R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 14:29:03 +00:00
Axel Dörfler
966fbea627 A work-around for the Tracker desktop redraw problem of the previous change.
Should probably be cleaned up a little. This fixes bug #146.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 13:43:30 +00:00
Axel Dörfler
3dcbe9fc88 Implemented redrawing the desktop after color changes. Right now, it only works
correctly when Tracker is not running; obviously, the background is cleared in
Tracker before it had the chance of changing the view color.
Maybe the app_server needs to detect the background view of the desktop and
change the view color manually :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 13:12:10 +00:00
Axel Dörfler
aae7000d63 The previous fix also didn't work correctly; we can't use the text color used
in the BTextView as a base.
Instead we're now using the correct UI default colors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 00:55:00 +00:00
Axel Dörfler
12aefeb42a This fixes the text color when disabled; B_DISABLED_LABEL_TINT is darkening the
color, not lightening it, it's supposed to be used with the background color,
not the text color.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 00:34:10 +00:00
Marcus Overhagen
2381701493 cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 00:30:48 +00:00
Jérôme Duval
c4d9fc29b5 fix bug #151
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 23:19:12 +00:00
Jérôme Duval
a8df1e6494 hopefully fixed build and warnings for bug #142
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 22:51:55 +00:00
Jérôme Duval
7be5a254fa it is dumb to open and close devices before starting them
hopefully fixed bug #150


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 22:37:39 +00:00
Axel Dörfler
e060f46982 Font rendering under Haiku directly still looks different from the font rendering
in the test environment; the visual glitches should now be fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 19:38:16 +00:00
Marcus Overhagen
3d6c711604 added shutdown_media_server and start_media_server into libmedia.so, based on an older implementation from svn history, but modified and bugfixed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 18:56:00 +00:00
Axel Dörfler
9a7fabb66c The IconView now also shows an icon for a MIME type if it got it from the
super type's preferred application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:50:22 +00:00
Axel Dörfler
1d268b8f9f The IconView now correctly invalidates its view on updates again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:44:42 +00:00