Marcus Overhagen
5c7f19a073
new boot platform
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-18 00:19:11 +00:00
Marcus Overhagen
5858929e12
fixed previous fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 17:49:30 +00:00
Marcus Overhagen
891a127fec
various gcc 4 related build fixes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 17:34:22 +00:00
Marcus Overhagen
3ec18e87d6
various GCC 4 build fixes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 15:08:41 +00:00
Marcus Overhagen
dad360027a
switch back to local system gcc headers, the outcome is similar unuseable
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 13:32:53 +00:00
Marcus Overhagen
6636d6b74f
fixed two warnings
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 01:06:23 +00:00
Marcus Overhagen
20e1d3e5e2
added _Unwind_* to make the gcc 4 linker happy, but I'm not sure if this is the correct way.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 00:05:21 +00:00
Marcus Overhagen
12cf623f5c
unified callback parameter definition of size_t and uint32, now uses size_t
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 23:35:26 +00:00
Marcus Overhagen
82029bdae8
added missing nothrow parameter
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 23:25:56 +00:00
Marcus Overhagen
0ff6a5fd11
removed __declspec
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 22:44:35 +00:00
Marcus Overhagen
274b450ab8
gcc 4 only: modified the previous change to allow fallback to local C++ system headers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 22:25:49 +00:00
Marcus Overhagen
e3c3c19859
gcc 4 only: when not building the cross compiler, use haiku default C++ headers from source tree (haiku/headers/os/cpp), instead of local system headers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 21:57:13 +00:00
Marcus Overhagen
a07acab41b
fixed assembly code to compile with gcc 4.0.3. the original code was invalid, as there is no mov instruction to
...
move a 16 bit segment register into 32 bit memory location, and movzx (called movzwl within gcc) doesn't work with
segement registers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 20:40:19 +00:00
Marcus Overhagen
6639eae245
prevent possible crash
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 19:58:41 +00:00
Marcus Overhagen
4462d8b41b
implemented split_buffer()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 23:04:54 +00:00
Marcus Overhagen
720f6072d1
Fixed the interrupt handler. however, it should still be fixed again later...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 22:41:41 +00:00
Marcus Overhagen
7806a9c1f8
fix detection of 3114 chipset
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 22:08:59 +00:00
Marcus Overhagen
329dab53e0
fixed the complete system lockup by programming the hardware interrupt masking properly
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 22:07:28 +00:00
Marcus Overhagen
f1c3399c17
fixed driver loading issue (thanks Korli)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 21:25:01 +00:00
Marcus Overhagen
c70dfe02cf
fixed debug output and added some more
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 16:41:10 +00:00
Marcus Overhagen
a6e8772d9f
fix debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 16:37:02 +00:00
Marcus Overhagen
5c22d92129
added more debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 22:03:58 +00:00
Marcus Overhagen
b8a335cf4b
added sata driver
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 21:50:35 +00:00
Marcus Overhagen
59a3c4800b
implemented channel init and uninit
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 21:19:43 +00:00
Marcus Overhagen
cc51ac4772
implemented most of the needed functionality, using memory mapped io
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 20:22:07 +00:00
Marcus Overhagen
c8443ce024
Replaced "ide_channel_cookie channel" and "ide_adapter_channel_info *" with "void *channel_cookie".
...
This improves abstraction and allows bus drivers that are independant of ide_adapter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 18:55:00 +00:00
Marcus Overhagen
6e184da0bf
use copy operator instead of memcpy
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 18:42:55 +00:00
Marcus Overhagen
7933c6db2c
cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 18:41:20 +00:00
Marcus Overhagen
33c2f1d2ed
return error bit only instead of 0xff (B_ERROR)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 16:40:30 +00:00
Marcus Overhagen
269802a414
implemented controller init and uninit
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 16:27:38 +00:00
Marcus Overhagen
8bb6ce1a81
added controller probing and channel publishing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 15:02:10 +00:00
Marcus Overhagen
c561dbbcc0
Added empty stub for implementation of Silicon Image 3112 and 3114 SATA driver
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 12:26:19 +00:00
Marcus Overhagen
d284820b70
When testing for active multiplexing failed hard, revert to legacy mode and continue.
...
This should fix bug 829.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 21:05:57 +00:00
Marcus Overhagen
0d9075c677
open() error is reported in errno
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 20:32:18 +00:00
Marcus Overhagen
92fdfb1106
Only call disconnect hook when device is enabled and the hook is not NULL.
...
This fixes bug 542.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 20:17:33 +00:00
Marcus Overhagen
49811b3ae3
removed usage of memcpy where not needed
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-27 20:30:39 +00:00
Marcus Overhagen
a1353af753
added a bunch of mime types
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-27 20:29:34 +00:00
Marcus Overhagen
dbd8be9a85
makefile to ease development, please dont remove
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-27 20:29:08 +00:00
Marcus Overhagen
2ed840d564
cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-26 09:16:56 +00:00
Marcus Overhagen
fe06482e6f
some debugging help
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-26 09:09:20 +00:00
Marcus Overhagen
b7db0bf034
Bugfix for secondary ide channel, command_block_base and control_block_base were wrong.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-28 13:29:27 +00:00
Marcus Overhagen
1c37ebfad1
changed preferred app to application/x-vnd.Haiku.MediaPlayer
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-28 13:23:24 +00:00
Marcus Overhagen
ab9afde305
removed debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 22:23:01 +00:00
Marcus Overhagen
57735c4048
fixed BChannelControl::SetLimits()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:55:16 +00:00
Marcus Overhagen
687e925395
Removed private functions _long_to_color_() and _color_to_long_(), there
...
shouldnt be any application that uses them, as they were not in headers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:43:39 +00:00
Marcus Overhagen
bb15b0769b
increased thread priorities
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:37:43 +00:00
Marcus Overhagen
30d242965d
fixed strange usage of rgb_color
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:20:17 +00:00
Marcus Overhagen
4cf88b82c3
set alpha value of default low/view color to 255
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:17:35 +00:00
Marcus Overhagen
df230cb528
replaced get_uint32_color() by casting into a reference (const uint32 &)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:14:26 +00:00
Marcus Overhagen
453f642e2e
Rewrote audio decoding to provide timing information
...
that is used to sync with video.
Separated audio decoding and playing into two threads,
the same applies to video decoding and playback.
This was inspired from code written by Stephan.
Added video decoding and display, added play/pause/stop.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 15:56:10 +00:00
Marcus Overhagen
73dacb878d
Allow invisible views with overlay to be properly updated.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 20:16:31 +00:00
Marcus Overhagen
d38c8112a7
cache the track duration
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:07:53 +00:00
Marcus Overhagen
afc66bbbc3
Made copying into overlay save, by locking the bits.
...
This could be further optimized, by always holding the lock,
and only unlocking when app-server requests it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:07:25 +00:00
Marcus Overhagen
46daa6672e
Made copying into overlay save, by locking the bits.
...
This could be further optimized, by always hloding the lock,
and only unlocking when app-server requests it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:00:25 +00:00
Marcus Overhagen
df59f3e69d
Enabled reporting of MPEG 1 and 2 video codecs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 19:59:34 +00:00
Marcus Overhagen
4cf01e2ecc
Fixed off-by-one error that prevented finding nodes using wildcard names, like DVB*
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 18:43:36 +00:00
Marcus Overhagen
0a00d23f2e
Reworked media_format meta data handling.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 22:51:14 +00:00
Marcus Overhagen
17187587df
Include GPL add-ons if configured to do so.
...
Include avcodec plugin, and ac3 (GPL, see above) plugin.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 20:05:27 +00:00
Marcus Overhagen
e77acd698a
disabled some debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 22:29:46 +00:00
Marcus Overhagen
0f0bbc9751
implemented seeking and position update
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 21:47:19 +00:00
Marcus Overhagen
3b55bd0c3c
dont send notifications if the value is not changed by the user
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 21:46:48 +00:00
Marcus Overhagen
3d8b4bab1f
Did some renaming, Changed* is now used when the user modifies the controls.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:57:04 +00:00
Marcus Overhagen
131d97be80
Connected volume control GUI with Controller class, and made slider non-linear.
...
This should be reviewed, and a better algorith should be selected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:40:58 +00:00
Marcus Overhagen
d4ab13e6f1
changed latency reporting
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 18:53:44 +00:00
Marcus Overhagen
bba1e5c831
Added media kit error descriptions.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 18:35:08 +00:00
Marcus Overhagen
2fd148f926
dont crash when opening another file
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 22:05:23 +00:00
Marcus Overhagen
c04b6d2dfb
dont wait too long
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 22:03:47 +00:00
Marcus Overhagen
392a68b0ea
added MediaPlayer
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 21:13:27 +00:00
Marcus Overhagen
3e070a9ee4
added a crude hack to play sound
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 21:08:01 +00:00
Marcus Overhagen
0e49470a24
added starting/stopping of playback threads
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 20:41:07 +00:00
Marcus Overhagen
0aaf5eb1ae
added a sound output class to push data to the mixer, also started audio and video play threads
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 20:25:45 +00:00
Marcus Overhagen
cb9f2e8d34
Fixed the savety check to actually work.
...
Made sure that fDisplayMode is not modified if fAccSetDisplayMode failes,
as on my system fAccGetDisplayMode did return values that would crash
because of a virtual_width beeing 0.
Generally, this whole class is pretty broken, as the functions modify *some*
class member variables before eventually failing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 09:33:59 +00:00
Marcus Overhagen
84123592e9
use case insensitive sorting for the playlist
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-06 21:46:55 +00:00
Marcus Overhagen
bcc46b4b92
implemented opening media files for real
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-06 21:17:42 +00:00
Marcus Overhagen
490fa01c09
fixed build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-24 21:21:00 +00:00
Marcus Overhagen
aadc5f572d
added playlist support
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-24 20:47:29 +00:00
Marcus Overhagen
91b9ff3f99
cleanup, moved track selection into settings
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 22:09:37 +00:00
Marcus Overhagen
067423e615
implemented even more resizing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 21:51:04 +00:00
Marcus Overhagen
399b0e8ab8
cleaned up resizing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 21:28:51 +00:00
Marcus Overhagen
99cd5eeb92
added some resizing support
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 20:27:56 +00:00
Marcus Overhagen
78838bb774
added MediaPlayer to the build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 16:55:54 +00:00
Marcus Overhagen
e1d8d7d6b4
implemented some file handling related functionality
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 16:47:16 +00:00
Marcus Overhagen
428dcd5b48
Copy the correct number of bytes when making a BBitmap copy. Unfortunately, this still doesn't fix Cortex drawin bug.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-17 15:47:08 +00:00
Marcus Overhagen
e9aa589659
bugfix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-17 11:51:34 +00:00
Marcus Overhagen
45d3c4ec14
Implemented hotplug support conforming to the active multiplexing specification.
...
Works with my notebook, but kernel support for unpublishing devices is broken.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-13 14:57:16 +00:00
Marcus Overhagen
f9ff1193f7
Removed mouse polling, there seem to exist way too many broken mice for this to work relyable.
...
Reworked interrupt handler calling, and added a data history.
Hotplug support will later be implemented using interrupt data.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 21:02:24 +00:00
Marcus Overhagen
46f579e7ef
removed intermediate variables, and added comments
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 21:01:41 +00:00
Marcus Overhagen
6dcf803e48
removed some off-by-one errors. replaced cursor->Bounds().IntegerWidth() with cursor->Width() which is equal to cursor->Bounds().IntegerWidth() + 1
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 20:25:58 +00:00
Marcus Overhagen
04a91b97bd
Imported source code from DVB TV application
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:34:29 +00:00
Marcus Overhagen
8063479445
Imported source code from DVB TV application.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:23:42 +00:00
Marcus Overhagen
97fc4c13e6
added directory
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:07:13 +00:00
Marcus Overhagen
5ab5dbe035
added directory
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 20:47:41 +00:00
Marcus Overhagen
d323bbb26f
Cleanup:
...
- made 'active' variable volatile
Bugfixes:
- fixed deletion of mouse_device from fDevices list when the object is deleted.
- removed deadlock from RemoveDevice
- call UnregisterDevice from inside RemoveDevice
- terminate devicer watcher thread on read error
- skip "serial" directory always
- close file handle when initializing device watcher thread fails
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:44:58 +00:00
Marcus Overhagen
dbb98f2b76
Cleanup:
...
- keyboard_device now frees device_ref.name by itself when it's deleted
- made 'active' variable volatile
Bugfixes:
- delete keyboard_device from fDevices list when the object is deleted.
- removed deadlock from RemoveDevice
- call UnregisterDevice from inside RemoveDevice
- terminate devicer watcher thread on read error
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:41:24 +00:00
Marcus Overhagen
967c2eaf15
disabled polling keybaord and mouse, as this seems to have strange probelems on some hardware (but works for me)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:32:59 +00:00
Marcus Overhagen
7b6eb67f23
cleanup of user memory handling
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 21:21:15 +00:00
Marcus Overhagen
130a176146
implemented unpublishing of device and disconnecting (doesn't seem to work yet)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 21:07:19 +00:00
Marcus Overhagen
4c000f8856
changed polling to use the "get id" command
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 20:06:31 +00:00
Marcus Overhagen
5deac87dd2
prepared hotplug support
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 22:26:05 +00:00
Marcus Overhagen
05cda59dbf
optimized debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 22:23:57 +00:00