Commit Graph
57 Commits
Author SHA1 Message Date
Marcus Overhagen 4b1aabf67e I don't know why, but when starting Tracker there is no root layer here
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-05 21:24:51 +00:00
Marcus Overhagen 9ae89b4535 bugfix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 20:01:47 +00:00
Marcus Overhagen 378e08b775 improved debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 17:10:50 +00:00
Marcus Overhagen f38c001e56 Assigned names to "some BLocker"s to aid debugging.
Small cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 16:56:15 +00:00
Marcus Overhagen 89bdf57382 assigned names to "some BLocker"s to aid debugging
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 16:54:21 +00:00
Marcus Overhagen 7590edd29b fixed the build (was broken in r14695)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 16:38:08 +00:00
Marcus Overhagen 36a7c30e63 Assigned a name to the LooperList BLocker.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 16:02:22 +00:00
Marcus Overhagen 164426a506 added a unreal kernel debugger command
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 21:03:51 +00:00
Marcus Overhagen 93d0c77a96 added debugging code, can be disabled, currently enabled
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 21:03:06 +00:00
Marcus Overhagen 8e7b3607e5 fixed the build that Axel broke in r14602
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-01 11:24:51 +00:00
Marcus Overhagen 1334ab4721 just some work, made sure to preserve app_server coding style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-01 01:57:52 +00:00
Marcus Overhagen d317ba7488 real men don't do any error checking
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-01 01:41:40 +00:00
Marcus Overhagen 094efed434 restored 14604
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-01 01:32:49 +00:00
Marcus Overhagen 051d07f0fc no longer free() a title pointer that wasn't malloced, but instead came from the outside (right from the middle of some port link stuff)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-01 01:11:26 +00:00
Marcus Overhagen 106d748c45 Prevent input_server from hogging the CPU when input devices fail.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-23 00:28:14 +00:00
Marcus Overhagen a21a8b1324 Changed the way how the mouse interrupt handler works.
It will now first assemble a complete packet, and then write 
it into the ring buffer. This way, the last packet can easily
be dropped when the ring buffer is full, and we no longer 
need to flush an old packet from the queue (which could lead
to strange effects when handling the remaining packets in the
queue). Also fixed the bug that the semaphore was released 
despite nothing was written to the ring buffer when it was full.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 23:51:43 +00:00
Marcus Overhagen aeb5fb20a0 On buffer read error, return B_ERROR (instead of B_OK-result from previous acquire_sem)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 22:48:32 +00:00
Marcus Overhagen 31b6023a85 Fixed an off-by-one error in the read_from_buffer function,
testcase: size=7, in=7, first=0, read length=7

Fixed an off-by-(buffer->size) error in the write_to_buffer function,
testcase: size=7, in=2, first=3, write length=3



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 21:43:54 +00:00
Marcus Overhagen 4097611c9f Fixed the bugs I introduced earlier. original code was ok.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-26 19:55:12 +00:00
Marcus Overhagen 2239adfca3 properly mask off bits
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-23 19:33:10 +00:00
Marcus Overhagen b21413013b it's not allowed to spin 250ms
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-23 19:22:23 +00:00
Marcus Overhagen 4f7d58cbd5 Made sure that nodes which publish audio and video outputs are listed as video.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-21 19:47:23 +00:00
Marcus Overhagen 2fcd430e35 fixed DEBUG build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 02:00:12 +00:00
Marcus Overhagen 4ff43104e9 disabled regex debugging (the hard way)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:57:59 +00:00
Marcus Overhagen fbcf75374b disabled regex debugging (the hard way)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:52:49 +00:00
Marcus Overhagen 4a0cd0c106 fixed DEBUG build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:44:46 +00:00
Marcus Overhagen 4230aad8a8 fixed DEBUG build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:39:39 +00:00
Marcus Overhagen cc33b4a1ca This adds the required functions to libroot.so and fixes DEBUG build.
Unfortunately, they are pretty broken, so I added them into floatmath.c


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:30:46 +00:00
Marcus Overhagen 71c9501a76 fixed wrong usage of DEBUGGER macro
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 00:43:33 +00:00
Marcus Overhagen 8c1bec29de fixed build with enabled DEBUG
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 00:39:42 +00:00
Marcus Overhagen 794df3bf25 This removes the inline assembly code for find_thread
from OS.h, sorry for triggering a complete rebuild.
To avoid doing a syscall for find_thread(0), the assembly
version is now in libroot. For BeOS R5 compatibility, 
_kfind_thread_ is retained. This will fix some compile 
problems, and provides a cleaner OS.h for future Haiku
versions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 23:57:11 +00:00
Marcus Overhagen edde83c450 cleanup of DEBUG and NDEBUG usage in media kit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 23:49:39 +00:00
Marcus Overhagen ca08707419 applied style guide a little bit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 22:17:04 +00:00
Marcus Overhagen 3bd6b367d8 removed unused NDEBUG
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 22:13:46 +00:00
Marcus Overhagen 47a758b6c2 applied hotfix, but this decoder needs to be replaced with something secure and stable
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 21:16:09 +00:00
Marcus Overhagen 92ac3fafcf fixed debug build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 18:45:39 +00:00
Marcus Overhagen 8f9dff78dc cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-06 22:38:28 +00:00
Marcus Overhagen 65799d5bbf tiny debug code cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 21:40:57 +00:00
Marcus Overhagen 23f34657e1 This fix should prevent TimeSource control thread from using random semaphores,
by no longer using an uninitialized Blocker object.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 21:35:38 +00:00
Marcus Overhagen 366fdcdfbb Fixed build of libgame.so on TARGET_PLATFORM= dano or r5 so now
we can build MediaKit (which requires replacing libgame.so) for
targets haiku, r5 and dano. For building on Zeta, use platform dano.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 18:52:18 +00:00
Marcus Overhagen 184dd027c3 adjusted media kit library dependencies to allow compiling for R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 18:05:01 +00:00
Marcus Overhagen 38b7e756d2 spelling fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 17:26:52 +00:00
Marcus Overhagen 0d1adad317 Media Codec API just got a visit from the coding style police.
We now use "const" for the chunk buffer pointer returned by GetNextChunk,
because the buffer is not supposed to be modified by the codec.
size_t is used for the size where applicable. This matches BMediaDecoder.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-30 00:24:06 +00:00
Marcus Overhagen 77a63c75c4 fixed jam build on Zeta
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-29 23:51:45 +00:00
Marcus Overhagen eb1ee3240e made a few things const
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-29 22:12:31 +00:00
Marcus Overhagen 2bf60609ee The ! operator got lost during last redesign, now correct again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-02 18:00:51 +00:00
Marcus Overhagen d6b7468f0f Added Support for new Intel ICH6 chipsets (confirmed to work in ICH4 mode).
Corrected device ID of AMD8111 chipset, should work now.
Added more device IDs taken from Linux driver (untested, but should be similar to ICH6)
Note: ALI chipset ID is not enabled yet, as it needs a different interrupt handling.
Cleaned device probing up a lot. This is now much simpler, and has less verbose debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-02 15:47:49 +00:00
Marcus Overhagen 77c5f33de1 first iteration, 16bit stereo 44.1kHz wav files only
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-30 22:15:16 +00:00
Marcus Overhagen eaafb5725a new directory
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-30 20:47:32 +00:00
Marcus Overhagen fddbbc88ef made this a little bit less weird
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-30 20:00:02 +00:00
Marcus Overhagen 3100a10aa1 fixed "unknown header type" problem
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-29 01:04:44 +00:00
Marcus Overhagen 697bc06297 removed openbeos plugin directory
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-29 00:42:44 +00:00
Marcus Overhagen 4cb118d317 4 => 7
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-29 00:34:30 +00:00
Marcus Overhagen 56c6492868 Fixed PS/2 mouse driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-29 00:27:21 +00:00
Marcus Overhagen 6c21f09133 Added debug output of PCI capabilites.
Watch out for DebugPort on USB2 devices. 
I didn't find one so far.
Changed from OpenBeOS to MIT license.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-28 22:21:48 +00:00
Marcus Overhagen c26b5613f9 Fixed some IRQ sharing bugs. There may be more that are still undetected.
Unfortunately, IDE in compatiblitiy (non-native) mode doesn't use IRQ sharing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 23:32:14 +00:00
Marcus Overhagen 3f484ea41a test checkin
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 01:01:57 +00:00