Commit Graph

4096 Commits

Author SHA1 Message Date
beveloper
16cecbde36 some workarounds, fMixStartTime is now always 0,
delay mix thread if timesource has negative time,
calculate correct time and frame base for mix thread


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 16:21:41 +00:00
Jérôme Duval
c8c8057167 Here is an alpha version. Restart media services still crashes the app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 10:36:38 +00:00
Axel Dörfler
64700310b9 Unfortunately, BeOS & Linux stdio.h have different header guards - our
inbetween solution now have both.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:22:04 +00:00
beveloper
b9bc85776c added mixing thread, as well as start and stop
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:19:49 +00:00
Axel Dörfler
320b131c05 Now with all obstacles removed, added the bootloader heap test to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:15:43 +00:00
Axel Dörfler
db48f1ebbe Now it does also build on non-BeOS platforms...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:14:14 +00:00
Axel Dörfler
4182dd7c6e This fixes the incorrect inclusion of our stdio.h header - it will now include
the platform native stdio.h on BeOS and Linux.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:11:11 +00:00
Axel Dörfler
0d76efa411 Changed the header guard to be compatible with the GNU stdio.h file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:09:37 +00:00
Ingo Weinhold
0843d5108a Minor changes. The file for the file device lives now in ~/tmp instead of /tmp to be persistent.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:06:46 +00:00
Ingo Weinhold
7eb12758ed * Fixed the locking functions: A lock also requires a reference to be
kept.
* Fixed find_{disk_device,partition}().
* Implemented delete_partition(). The device/partition management functions
  should now be complete.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:04:55 +00:00
Ingo Weinhold
86e8beea7d Added boolean parameter to IsReadLocked() to specify when a write lock shall not be considered as read lock.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-25 00:00:34 +00:00
Ingo Weinhold
eba400a809 We need the virtualdrive header for the file disk device stuff.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 23:58:25 +00:00
Ingo Weinhold
f5650b0a07 No real change. Added and removed debug output. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 23:57:33 +00:00
Ingo Weinhold
b23394f957 * Implemented what was left to do for KDiskDevice and KPartition
management regarding removal and deletion of objects.
* Fixed the file disk system related stuff. KFileDiskSystem now uses the
  virtualdrive driver. The former method was seemed simple and brilliant,
  but the B_SET_PARTITION ioctl wouldn't work.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 23:56:16 +00:00
Ingo Weinhold
7a424c3923 * Renamed virtualdrive.c to .cpp to be able to use the saner syntax.
* Improved the driver: It now publishes a control device and ten `data'
  devices. Via an ioctl one can assign an arbitrary file to a free data
  device. (The devices are published in /dev/misc instead of /dev/disk to
  prevent them from being scanned by the Tracker and DriveSetup.)
* Added a small command line tool to (un)register files that way.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 23:45:03 +00:00
Axel Dörfler
cc74989eb6 Utilizes the new BuildPlatformTest rule - added a comment on how to build
this test correctly with the current posix headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 22:58:35 +00:00
Axel Dörfler
e29d853358 Renamed OBOS_BOOT_LIB to OBOS_BOOT_PLATFORM
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 22:54:28 +00:00
beveloper
7b0daf5cca allocate mixer buffers of the correct size,
place incoming data in input specific mix buffer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 22:41:02 +00:00
beveloper
299d70ad2d added helper functions for buffer<->framerate<->duration conversions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 22:39:13 +00:00
Axel Dörfler
e548161b59 A Jamfile for the heapTest.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:11:25 +00:00
Axel Dörfler
4f621b0aa3 Jamfile to build the thing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:10:19 +00:00
Axel Dörfler
1f001dfa88 A test application for the boot loader heap allocator.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:09:30 +00:00
Axel Dörfler
1b4a09278b A simple heap implementation for the boot loader - already tested, and working well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 18:05:54 +00:00
Axel Dörfler
c9b0bae94c Needed to compile the boot loader stuff under x86.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 17:27:07 +00:00
Axel Dörfler
59eb57ae58 Some work-in-progress headers that are needed to build the heap test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 17:22:11 +00:00
Ingo Weinhold
9fcaa61d04 Added a BuildPlatformTest rule for building tests that shall run on the build platform..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 16:44:00 +00:00
DarkWyrm
a8c44e89f8 Added a *serious* speedup to window move code
Added a couple more empty message handlers to ServerWindow
Improved DefaultDecorator - works better now
DisplayDriver::CopyRegion added and implemented it for ViewDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 13:55:18 +00:00
Stefano Ceccherini
4f4f381f93 hrm... this should be rdef, not rsrc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 10:24:39 +00:00
Stefano Ceccherini
359a1af6c0 Some more cleanups... finally fixed the multi workspace refresh bug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 10:01:58 +00:00
DarkWyrm
6ef98483f5 Removed some bugs to allow the server to run. We can now display (but not play with) a real BWindow!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 01:01:20 +00:00
DarkWyrm
44e0bbe4be Removed some compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 00:14:33 +00:00
Ingo Weinhold
f97b4ac4a2 Made the header C++ friendly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 00:12:00 +00:00
Ingo Weinhold
b8777f30dc * Added bool to the AutoLocker constructor indicating that the object
has already been locked. Defaults to false, of course.
* `Abused' the AutoLocker for partition registration/unregistration
  (PartitionRegistrar).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 23:42:15 +00:00
Ingo Weinhold
966528dcbc Added the implementation of UsePublicHeaders again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:55:05 +00:00
Ingo Weinhold
b4ec16d069 Removed the disk scanner tests from the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:54:02 +00:00
Ingo Weinhold
6ab18748f3 Removed invocations of UsePublicHeaders, which was a no-op anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:53:22 +00:00
DarkWyrm
6b76dd01f5 Can get replies as PortMessages now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 13:18:39 +00:00
Tyler Dauwalder
1fe39d4d37 Tests for the SinglyLinkedList class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:57:47 +00:00
Tyler Dauwalder
17befbdd60 Add-on for the KernelUtils test suite.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:57:01 +00:00
Tyler Dauwalder
97d879b51e Jamfile for the kernel utils tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:56:38 +00:00
Tyler Dauwalder
d3a0e7c306 General object constructor class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:56:09 +00:00
Tyler Dauwalder
ab608058b4 Allocator that uses malloc()/free()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:55:31 +00:00
Tyler Dauwalder
e9ebb4a961 Beginnings of the kernel utils library.
Templated singly linked list class (not quite complete).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 05:54:53 +00:00
shadow303
34259581cf Add message lengths for some graphics messages, strip out \r characters
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:56:42 +00:00
shadow303
b511995b2f gcc3 fixes & other minor tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:54:52 +00:00
shadow303
3368f55060 Add partial handling of graphics messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:53:55 +00:00
shadow303
c27b0019d6 gcc3 cleanup & fix stupid mistake
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:48:28 +00:00
Matthew Wilber
ce5a2573d3 added beginnings of InfoWindow -- window that displays as much info as possible for currently open document
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:20:43 +00:00
Ingo Weinhold
031858645f Some changes regarding partition creation and initialization.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:29:29 +00:00
Ingo Weinhold
24d57dc067 Added KFileDiskDevice and the file with the disk device type strings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:28:04 +00:00