Commit Graph

3399 Commits

Author SHA1 Message Date
Ingo Weinhold 929ed30bdc The disk_device_data now also have a device_geometry field. That will probably come handy.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:42:53 +00:00
Ingo Weinhold 3ffe913826 Turned the loose set of functions into partition and FS module interfaces.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:41:02 +00:00
Ingo Weinhold 6778f21163 Some fixes in the header and a very basic implementation. In theory the functionality for scanning partitions is implemented, as well as loading/unloading the partition module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:40:09 +00:00
Ingo Weinhold 0b6c74bbe3 Implemented some more bits of KPartition. Added a very useful Open() method.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:37:43 +00:00
Ingo Weinhold af4c45d5d8 Some small fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:36:53 +00:00
Ingo Weinhold f254d01839 Implemented KDiskSystem. Should be almost complete.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:36:31 +00:00
Ingo Weinhold 29a37d780d Implemented some basics of KDiskDeviceManager.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:35:57 +00:00
Ingo Weinhold 537635f1d1 Implemented basic parts of KDiskDevice.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:35:12 +00:00
Ingo Weinhold 7bb1e99cb6 Pulled set_string() out of KPartition.cpp for it is useful also in other classes. Added a generic AutoLocker.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:33:44 +00:00
Ingo Weinhold be433342af A read-/write locker. Again, something that might also be useful elsewhere in the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:32:33 +00:00
Ingo Weinhold 86ea6f7f9b A slightly modified BLocker. We should provide something like this for the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:29:52 +00:00
Ingo Weinhold 1844af0bfa Mostly empty implementations for the disk device manager classes. Save KPartition which is partially done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 23:10:09 +00:00
Ingo Weinhold 4c212afefb Headers for the disk device manager. Very early state.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 23:04:54 +00:00
Ingo Weinhold bef8916ea6 * Used partition_id, disk_job_id and disk_system_id instead of uint32.
* Replaced uint32 for indices and counts with int32.
* Some additions to BDiskDeviceRoster and BDiskDeviceJob.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 23:02:16 +00:00
Bruno G. Albuquerque 0be20072c4 Trying to commit it as a binary file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 12:51:15 +00:00
DarkWyrm 14f0c2cfa2 Removed a minor bug from the InitData server communication code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 12:36:56 +00:00
Stefano Ceccherini 518c1e3f62 When you changed the refresh rate for all workspaces, then selected "cancel" the changes didn't revert... Fixed. Some more cleanups. Some code (not compiled right now, it works partially) to change the way the example screen is rendered (bitmaps instead of drawing)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 09:34:12 +00:00
Axel Dörfler c59538b901 Some cleanups, courtesy of Jack Burton.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-08 18:37:42 +00:00
Ingo Weinhold d37e75d958 If our incomplete BMessage (missing sending of messages) is linked into libopenbeos, anything involving the registrar blocks on library initialization (more precisely anything linked against libopenbeos and started while the registrar is running).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-07 17:38:32 +00:00
Ingo Weinhold ae76aede51 Added TestApp.{cpp,h}, since tests using the BTestApp class defined in
libcppunit.so don't work anymore with it, since it uses the BApplication
code of libbe.so. Several tests still fail now, but none crashes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-07 17:32:37 +00:00
beveloper 678c20170c added new mixer components
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-07 01:11:51 +00:00
beveloper 2eb7012d8e added missing header file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 20:21:54 +00:00
Ingo Weinhold a3b4d9e9de Removed the tests for version 1.x of the DiskDevice API from the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 15:48:40 +00:00
Ingo Weinhold 20ff45e32d Removed version 1.x of the DiskDevice API from the build. Will be replaced by version 2.x in the not so distant future.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 15:47:44 +00:00
Ingo Weinhold 7dec9ee920 Removed the disk_scanner add-ons from the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 15:46:10 +00:00
Ingo Weinhold f15efa78ef Missed one default parameter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 15:44:43 +00:00
Jérôme Duval adc3b786d1 ok the right file this time ...
*Volume* methods implemented; tested with SoundPlayerTest.cpp; only valid when connected with R5 AudioMixer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 14:22:26 +00:00
Jérôme Duval 37ed595f3a *Volume* methods implemented; tested with SoundPlayerTest.cpp; only valid when connected with R5 AudioMixer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 13:56:44 +00:00
Marc Flerackers 1f46aaf9f1 Check-in for Stefano Ceccherini: cleanup the code a bit, removed the hardcode colors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 08:48:56 +00:00
beveloper 908eaf852b removed ASSERT
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 01:19:22 +00:00
Ingo Weinhold eee5628778 Sorry, forgot the default parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-05 20:45:28 +00:00
beveloper 715be7e1d4 added symbols required by BeOS R5 emu10k.media_addon
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-05 18:01:00 +00:00
beveloper 545124e6a1 disable node stopping on the system mixer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-05 16:55:43 +00:00
beveloper 5014c4dcdd added default parameter to be able to compile media_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-05 00:24:16 +00:00
Ingo Weinhold 0582df0213 Removed the old, nicely working, DiskDevice API support from the registrar. We're going to reimplement it in the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 21:31:00 +00:00
Ingo Weinhold 32453e90e0 Removed the old, nicely working, DiskDevice API support from the registrar. We're going to reimplement it in the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 21:20:23 +00:00
Ingo Weinhold c41e89d3da Fixed typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 21:08:11 +00:00
Ingo Weinhold e89cde31e4 Rewrote the header from the scratch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 21:05:21 +00:00
Ingo Weinhold 5eb035ebfa Header is derived from BeOS R5 header. Removed it and going to rewrite it from the scratch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 20:37:00 +00:00
Ingo Weinhold c2d22f44c7 Rewrote the header from the scratch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 20:29:23 +00:00
Ingo Weinhold 69691a2fa9 Removing the header since it is derived from the one of BeOS R5. I'm going to rewrite it from the scratch, but I suspect, it will look exacly the same. Anyway, that gives me a better feeling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 20:18:22 +00:00
Ingo Weinhold 954125b77f Header rewritten from the scratch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 18:38:49 +00:00
Ingo Weinhold e56907d4fd The first version of this file has been created by me, having been directly derived from a BeOS R5 header. To avoid copyright problems I remove it now and rewrite it from the scratch. Hang on...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 17:56:00 +00:00
beveloper fb71d3a960 fixed copy&paste errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 00:53:15 +00:00
beveloper 9b875fba0c added remaining float_to_*()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 00:41:02 +00:00
beveloper 88e430cbeb added remaining *_to_float()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 00:27:48 +00:00
beveloper 7ca83dacf0 added float_to_float resampling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-04 00:19:39 +00:00
beveloper af995aeda6 added symbol Connected__15BBufferConsumerRC12media_sourceRC17media_destinationRC12media_formatP11media_input
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 23:52:14 +00:00
ejakowatz 0cc48ce6f9 Unit tests to ensure robust handling of bogus params to convenience funcs
plus fixes for the bugs they exposes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 23:22:08 +00:00
beveloper 575526ff34 added a resampling class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 22:51:00 +00:00