Commit Graph

955 Commits

Author SHA1 Message Date
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
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 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
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 62b9e141e1 Added a find_disk_system(). I first thought, this might be a good idea, but I'm not so sure anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:12:20 +00:00
Ingo Weinhold e1d495e36c Added field for the ID of the disk system responsible for the partition's content.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:10:01 +00:00
Ingo Weinhold 3ec225ba22 Some smaller changes to the module interfaces.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:08:26 +00:00
Ingo Weinhold 9007acaee3 Added Dump(). Small fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:04:56 +00:00
Ingo Weinhold fcf461b32c Implemented the scanning functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:03:58 +00:00
Ingo Weinhold b22221ad17 Minor changes to the KDiskSystem interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:03:17 +00:00
Ingo Weinhold 0e2967f9d2 Missing header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:00:47 +00:00
Ingo Weinhold 38d5e95af9 Support for creating and deleting (the latter not yet implemented) file disk devices. Added file system addition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 23:00:20 +00:00
Ingo Weinhold bdc530c737 Some small adjustments for KFileDiskDevice. Added Dump().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 22:57:42 +00:00
Ingo Weinhold 242a2cbef2 Define the values in the source file rather than in the header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 22:55:21 +00:00
Ingo Weinhold 17750c7774 Added a special disk device class, that is responsible for representing
files as disk devices. This will not only be great for testing the
file and partitioning system modules' writing capabilities, it will also
just be a nice feature to have.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 22:54:16 +00:00
DarkWyrm 21099b6971 Separated PortQueue and PortMessage into separate files.
Added read methods to PortMessage


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 17:17:40 +00:00
Marc Flerackers 12c3dcc26d This is the full header of BTextControl
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 10:09:19 +00:00
beveloper 5ac4fbd70d clean up of debugging functions
FATAL is now replaced by ERROR and active at DEBUG=1 or above
TRACE is active at 2 or above
PRINT(level, ...) can be used for DEBUG= level or abode
INFO is removed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 14:53:41 +00:00
beveloper 5657491aac changed format into ioFormat to indicate that this is a input and output parameter
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 14:48:52 +00:00
Philippe Houdoin 77584bdf01 Make a union struct to wrap all ioctl() args.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 01:12:24 +00:00
Philippe Houdoin 58a5c4bb6e Rollback to original xBSD DNS resolver implementation _res global variable name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 00:10:13 +00:00
Philippe Houdoin c6f77f6c2c Trying to be quicker than shatty to add more ids, courtesy of pulse 1.07 on bebits.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 21:38:16 +00:00
Niels Sascha Reedijk 3ffe393cd6 Fix an issue where the _res symbol is undeclared due to another symbol with
the same name somewhere else( I think). At least it works now.:


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 19:01:09 +00:00
Axel Dörfler 154aaaf273 Removed B_NOT_SUPPORTED again - EOPNOTSUPP is a socket specific error code
and it should have read B_NOT_SUPPORTED_ON_SOCKET.
We could reintroduce it later (along with other missing network errors).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:38:45 +00:00
Axel Dörfler 9de96ae6c6 Changed new codes after suggestions from Ingo and Marcus.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 00:08:33 +00:00
Axel Dörfler 68145d0df8 Added some new B_* names for existing POSIX error codes - please review.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 20:37:43 +00:00
Marc Flerackers 7ea7a8928a BMenuField
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 08:32:55 +00:00
Marc Flerackers 9cb2dbe29d Fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 07:27:24 +00:00
Axel Dörfler 33aa726c5a Added extra new driver_settings API calls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:46:13 +00:00
Ingo Weinhold f7672ebc25 * Made {Publish,Unpublish}Device() virtual and implemented them in
KPartition and as no-ops in KDiskDevice.
* Prefixed partition names with "obos_" to not interfere with R5's
  partition names.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-14 00:06:57 +00:00
Ingo Weinhold 2609ebac90 Several fixes necessary to get the partition scanning working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 22:08:10 +00:00
shatty 3c90558523 okay, last commit for today :-P ... protected non-R5 cpu types with #define OBOS_CPU_TYPES and #ifdef OBOS_CPU_TYPES
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 19:33:22 +00:00
shatty 7aae8aac0e not all iv_model2 are xeon so I am taking it back out...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 18:22:17 +00:00
shatty 9a7fc04885 used xeon name directly, left IV_MODEL2 as another alias
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 18:12:26 +00:00
shatty 09b1f9ddba added some more ids, courtesy of pulse 1.06 on bebits
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 17:56:05 +00:00
beveloper 01fa698a92 implemented BParameter::SetValue() and BControllable::SetParameterValue()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 12:43:52 +00:00
Axel Dörfler 410faee318 Actually, I haven't started with this so early on...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 04:16:42 +00:00
Axel Dörfler 1cbf8fa21b Add a first non-functional version of the default media theme.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 03:53:41 +00:00
beveloper 74b216a688 Added BParameter::GetValue() and BControllable::GetParameterValue() data transfer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 00:43:53 +00:00
Ingo Weinhold ef9b1b52ee Implemented a preliminary disk device scanning in KDiskDeviceManager.
Some changes to KPartition, KDiskDevice, KDiskSystem on this way.
Still missing is KPartition::Publish() and its invocation in
KDiskDeviceManager. Then everything should be in place to start with
porting the scanning parts of our disk system modules.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-12 22:21:10 +00:00
Ingo Weinhold ac63679417 Small changes in the header, and implemented everything needed for scanning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 22:04:34 +00:00
Ingo Weinhold 1bf21e6a40 * Added CreateChild().
* Added Publish/UnpublishDevice(). Not implemented yet.
* small fixes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 22:03:26 +00:00
Ingo Weinhold 13a452eaee Added an Init() amd dealt with the PrettyName().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 22:00:59 +00:00
Ingo Weinhold 450c7dd609 Added basic disk system management.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 21:59:27 +00:00
Ingo Weinhold d2f2920f84 ShortName() + Name() -> Name() + PrettyName(). More conformant to the rest of the Be API (media, networking).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:45:49 +00:00
Ingo Weinhold 30b4d57df4 Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-10 22:43:52 +00:00
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 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
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
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 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 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
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 303c294d21 added more debug macros
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 19:02:14 +00:00
beveloper cc2b59509b fixed format negotiation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 19:01:53 +00:00
haydentech f5bf638f01 gcc3-related fixes and general clean-up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 18:32:47 +00:00
beveloper 4295907bd1 fixed (hopefully) all latency bugs
fixed BMediaRoster::MakeTimeSourceFor()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-01 22:09:26 +00:00
beveloper 5917dd5b85 various timing related bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-01 17:18:24 +00:00
Tyler Dauwalder 5b3f1d0cda DiskDevice API v2.4
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:51:24 +00:00
Tyler Dauwalder e62a550aa1 Removed as of DiskDevice API v2.4
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:49:24 +00:00
Tyler Dauwalder 9f4ec30369 DiskDevice API v2.3.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:47:29 +00:00
Tyler Dauwalder 17dc6e0c84 DiskDevice API v2.2.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:46:11 +00:00
Tyler Dauwalder 40f3824020 DiskDevice API v2.0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:43:58 +00:00
Tyler Dauwalder 800e59617f Removed as of v2.0 of the DiskDevice API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:41:28 +00:00
beveloper 21871f384e various bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 12:58:06 +00:00
ejakowatz 18a8d114f5 Tests for BString convenience functions, plus a fix to BMessageField for a
bug revealed by those tests.  Gotta love those unit tests!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:12:23 +00:00
beveloper 4f09fa2ff1 various small bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 23:59:16 +00:00
beveloper 359ac30644 Added automatic loading of physical input and output nodes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 21:16:53 +00:00
ejakowatz 80e966963f Little tweaks and fixes too numerous to count, but mostly involved with
adding entry_refs and BMessages.  Lots of stuff for specifiers and also for
sending replies (with thanks to Mike Nordell).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:13:02 +00:00
ejakowatz 9abc4d2dcd Added params for specifying whether to copy the buffer on construction.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:07:30 +00:00
Axel Dörfler ff6ff33a9d Put spaces between "::" in the asm directive to let it compile in C++ mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 03:02:19 +00:00
Axel Dörfler 0f3a75138a Our endian.h header was still missing. Defines constants to determine the
platform's endian.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-17 15:26:18 +00:00
Axel Dörfler c77d826810 The updated BeBuild.h to deal with our current target platforms (which are
all gcc/ELF based).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-15 14:54:08 +00:00
haydentech 30fd51473f Minor header-related changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 17:21:46 +00:00
Axel Dörfler c0f5672484 Removed unused functions, the C++ extern "C" now spans over all functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 15:23:17 +00:00
Axel Dörfler 976b0da0d6 Fixed some C++ build issues with fd.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-13 00:27:29 +00:00
Axel Dörfler 3d1d37bcc9 Added missing newline.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 00:40:54 +00:00
Axel Dörfler 1df8b22cb1 I don't know yet *why*, but the build fails when this header is guarded
against reinclusion - possibly because GCC's stdarg.h act differently
when certain symbols are defined.
Anyway, that fixes the issue for now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 16:14:12 +00:00
Axel Dörfler 035aa55650 Our stdarg.h header will now directly include the provided GCC header (and
don't do anything else anymore).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 02:58:23 +00:00
Axel Dörfler bc09b1bfc2 This stdarg.h header file is not needed at all.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 02:29:41 +00:00
beveloper b43f227373 experimental, do not use
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:50:13 +00:00
Axel Dörfler 6eb83f74ed Added prototype for the GNU strchrnul() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:06:48 +00:00
Axel Dörfler acd0c5776d Removed unused includes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:05:18 +00:00
Axel Dörfler bb23b77201 Removed unused headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:04:41 +00:00
Axel Dörfler 564cba312e Some header work: removed unnecessary dependencies to stage2.h, fixed
some broken C++ export definitions, added missing licenses etc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:03:26 +00:00
Axel Dörfler 32439967b9 Removed the arch-dependent relocation definitions (they can now be included
via arch/elf.h).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:02:26 +00:00
Axel Dörfler 8b8fd1c31c Removed the stage2 related headers (they are now in boot/).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 15:59:29 +00:00
Axel Dörfler 45792a2df2 "struct ka" is now "struct kernel_args".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:14:39 +00:00
Axel Dörfler c17f45d123 Some header cleanups.
Renamed dbg_save_registers() to arch_...() since it's arch dependent.
Removed unnecessary dependencies to stage2.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:12:16 +00:00
Axel Dörfler f78d32a251 Some header cleanups.
Removed unused keyboard.h header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 13:26:32 +00:00
Axel Dörfler c4bf92f686 Added new arch_elf.h header where the platform dependent relocation definitions
are located.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 12:51:56 +00:00
Axel Dörfler 62af4ffa5e Added missing or changed/removed outdated PPC headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 12:49:57 +00:00
Axel Dörfler 2b70a18961 Move boot headers into their own private directory (for now, they are still
present in private/kernel/ but this will change soon).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 03:43:30 +00:00
Tyler Dauwalder 898b68c344 Added goodies from the bfs version of fsproto.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-28 22:37:27 +00:00
Philippe Houdoin 9360e22d50 Add missing cpu_type values for AMD Athlon and Duron processor.
Next step: add B_CPU_INTEL_PENTIUM_IV, when we could boot successfully on such beast ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-25 21:31:45 +00:00
beveloper f46925ed35 Parameter web support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-22 23:06:51 +00:00
Axel Dörfler f924ff50f5 Added the public pthread header - right now, only support for mutex and
mutexattr is there, and the header reflects this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-20 18:53:11 +00:00
Axel Dörfler f8fdd89ffb Some header work to make it more posix compliant.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-19 17:35:55 +00:00
Axel Dörfler a02a5888af Added another argument parameter for the thread creation code. Helps
implementing a more efficient on_exit_thread().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 09:21:22 +00:00
DarkWyrm 1b7390044f Checkin for Adrian Oanca
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-17 20:41:54 +00:00
shatty fe5cc7b493 add newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 01:56:41 +00:00
DarkWyrm 0f434a0aad The mother of all commits. :P
Unremoved zlib and added libpng to public libs (C'mon DW, make up your mind... ;^)
Added screenshot support to app_server
Added full keyboard message support to app_server
Added UseLibraryHeaders and LibraryHeaders rules to jamrules
Updated ColorUtils to convert uint32 colors to rgb_colors
BAppServerLink now autolocks client-server communications on the client side (as it should)
app_server now also juliennes and makes french fries. Yum.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-30 00:17:50 +00:00
DarkWyrm 6d45dac30b Removal in agreement with MPhipps' decsion on using libtranslation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-27 01:06:09 +00:00
DarkWyrm 80f714a205 Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-26 01:42:57 +00:00
DarkWyrm 919950e8bb Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-25 01:15:44 +00:00
DarkWyrm 8204df2aa7 Made our BAppServerLink a friend class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 18:53:33 +00:00
beveloper 4d6911ee07 fixed latency calculation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 01:11:33 +00:00
beveloper 626824eaaf Added reference counting of media add-on instances.
You can't create more node instances than "possible_count".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-22 01:11:07 +00:00
DarkWyrm ef941b9977 *Doh* Forgot the public:
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 15:37:21 +00:00
DarkWyrm d31fa95485 Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 15:18:59 +00:00
DarkWyrm c328988230 Effectively made Attach(*,size) a const function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 13:09:22 +00:00
DarkWyrm fab7424ce5 Checkin for Marc Flerackers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 11:12:54 +00:00
DarkWyrm 6cfd026383 Added BPicture definitions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 11:11:55 +00:00
ejakowatz 2be975a1ee _get_object_token_ has found its permanent home in AppMisc.h, which the
other files were modified to include.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 08:00:50 +00:00
ejakowatz edfec36839 AS_SET/GET_MOUSE_MODE were missing, which broke the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 07:59:03 +00:00
ejakowatz b1055b4c2d This is all the code for the backing store for BMessage (BMessageBody &
BMessageField) for the "template madness" version.  Also included is
BDataBuffer which is a little reference counting raw data container.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 07:58:17 +00:00
ejakowatz 8eb9c15d4f Minor tweak.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 05:14:07 +00:00
ejakowatz 9862b5925d Resolved a minor conflict.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 04:38:03 +00:00
DarkWyrm 2465c76947 Imported Marc Flerackers' header for BPicture
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-18 22:04:04 +00:00
DarkWyrm 402922f400 Added BPicture to IK for Marc Flerackers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-18 22:00:38 +00:00
mahlzeit 38c7401ebe cleaned up midi1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:24:09 +00:00
DarkWyrm 13772dd6bc Tweaks to get it to build proplery
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-16 21:41:19 +00:00
beveloper 54187cc6e8 Global nodes can mow be released by the teams which created them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-16 03:52:52 +00:00
beveloper 86bce45b0c Removed time sourced from reference counting.
Releasing nodes works now, except if they have been instanciated globally.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 01:59:10 +00:00
DarkWyrm d230489402 Check-in for Adrian Oanca
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 00:04:55 +00:00
DarkWyrm 0eadb1ac5c Checkin for Adrian Oanca - added some BWindow-specific message defs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-15 00:03:15 +00:00
beveloper cf4e227786 fixing BMediaRoster::ReleaseNode()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 23:12:11 +00:00
beveloper 10bddcb3bc friend clean up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:26:04 +00:00
beveloper 9de869af41 More! more! more!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:10:11 +00:00
beveloper 8b04ffc12d Reorganized BMediaRoster support functions.
Improved dormant node support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:09:27 +00:00
beveloper 57c59a5377 Improved error handing and timeouts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-14 14:04:59 +00:00
DarkWyrm 781f2cb3d8 Added ReplyData destructor for easier reply handling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 18:00:51 +00:00
beveloper 394cb5c78e even more!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 02:34:06 +00:00
beveloper 906f0b116e misc stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 02:19:34 +00:00
DarkWyrm 15222f63d0 Added BBitmap protocol messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 01:25:44 +00:00
DarkWyrm 6e4a70109a Swapped unused _BSession_ pointer for a PortLink pointer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 01:21:08 +00:00
mahlzeit 263f2c6006 Added MIT license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-11 20:38:00 +00:00
mahlzeit e4fa49727a Milestone 2 is complete. You can now send and receive MIDI events.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-09 16:10:30 +00:00
DarkWyrm c51942ea6e Removed fixed attachment limit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-06 22:24:45 +00:00
mahlzeit b8d4f26fd9 more comment changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 11:41:50 +00:00
mahlzeit 76bb80302f changed comment style
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 11:38:34 +00:00
DarkWyrm 8ec5fd245a Finally got around to removing the BFont memory leak
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-01 01:12:26 +00:00
DarkWyrm fe67d1c1ad Retooled message defs into something respectable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 15:41:34 +00:00
Axel Dörfler ee478c021b Renamed fs_device.h to fs_volume.h, renamed functions from *_device() to
*_volume().
Added a "volumeName" parameter to the fs_initialize_volume() call.
Introduced a "flags" field to the fs_unmount_volume() call - I have only
defined one flag, B_FORCE_UNMOUNT, right now.
But the unmount behaviour should be discussed anyway first (always force
unmount?).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 13:14:54 +00:00
Ingo Weinhold 19d8037692 Removed GetPartitioningSystemList(). I though this had already been done. Weird.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:36:21 +00:00
DarkWyrm 99ddcf1a1b Tweaks to support all BApplication-related tasks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 21:30:32 +00:00
Ingo Weinhold c3815c8e89 Started with the implementation of partitioning support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:52:15 +00:00
Ingo Weinhold 1a10cbe033 Removed the method for getting a FS add-on list. Changed the dialogCenter parameter for the partition methods from BPoint to BRect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:51:33 +00:00
Ingo Weinhold 6ba9af5a46 Added public and private methods for dealing with partition and FS add-ons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:50:14 +00:00
Ingo Weinhold d749688652 * Moved to the private headers.
* The CreateEditor() methods now get a BSession* respectively BPartition*
  instead of the low-level structures.
* Added EditingDone() hook to the editor class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:45:47 +00:00
Axel Dörfler 896aefa8ec Added a new call vfs_new_vnode(), replaced "int" return type to status_t
for the VFS vnode functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-21 13:44:53 +00:00
Ingo Weinhold 7685055798 Added BDiskDeviceList as friend.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:22:09 +00:00
Ingo Weinhold 4a841e49e7 Added class BDiskDeviceList.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:20:36 +00:00
Ingo Weinhold e878875e0b Changes due to the removal of the extended_partition_info::partition_code field.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:30:07 +00:00
Ingo Weinhold 75d0aed7ec Removed extended_partition_info::partition_code field.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:28:30 +00:00
Ingo Weinhold e037bfe8cf The introduction of the new virtual SetLimits() is nice in principle, but files compiled with this header implementing a BSlider subclass fail to link against libbe. Introduced a macro that apps can define that need to run under R5 for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 23:51:20 +00:00
Ingo Weinhold b816dc1ec6 BDirectWindow defined new reserved virtual slots and left out virtuals defined by the R5 counterpart, which made it binary incompatible. Fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 23:46:02 +00:00
Ingo Weinhold e2077e8d4c Minor changes. Moved the functionality for getting a messenger targeting the DiskDeviceManager in the registrar into the private support files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:03:59 +00:00
Ingo Weinhold 67330a1267 Added missing _DoReplace().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 20:08:36 +00:00
Ingo Weinhold e6e04bdc25 Moved definitions for notification message "cause" fields to this header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:12:47 +00:00
Axel Dörfler e20d245cfd Added some common limits (ULLONG_MAX, LLONG_MIN/MAX, OFF_MIN/MAX).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 17:34:59 +00:00
Axel Dörfler 39831bc66e Proposal for mount/unmount/initialize function prototypes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 17:10:49 +00:00
Axel Dörfler f5e4e662cd Fixed a missing const.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 14:27:34 +00:00
Stefano Ceccherini 843571810d Removed dependancies from be_setup.h (since we don't have this header in our repository)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 07:56:22 +00:00
Ingo Weinhold b393d4420b Added constant for the disk device rescan event.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 23:33:43 +00:00
Axel Dörfler 79d76063c3 Added stdio post/pre includes for our BeOS compatible stdio implementation.
stdio.h will follow later (the headers are currently unused).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:37:58 +00:00
Ingo Weinhold 7c44680a36 Renamed the private virtual slots back to their original (R5) names. We would break binary compatibility otherwise, or at least had to do some additional work to maintain nevertheless.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 18:17:25 +00:00
Ingo Weinhold 2af6058585 Added two open() versions to our kernel_interface, that re-try opening read-only, if desired. They are now used in BDirectory and BNode, which formerly failed on read-only devices.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:19:53 +00:00
Philippe Houdoin e803870545 Forgot to commit these... Should fix network stuff build issues.
Add again the load_driver_symbols() export into our KernelExport.h, as it's expected
by many kernel add-ons (drivers, modules)... the network ones, for a start.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 21:05:37 +00:00
Ingo Weinhold 03fa4a4f9c Implemented high-level iteration code. Various fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:34:47 +00:00
Ingo Weinhold f0bc031212 Added DiskDevicePrivate.{h,cpp}, which contains the internally used iteration support classes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:32:51 +00:00
Ingo Weinhold 2ed834e3f6 Cleaned up BRoster's friends mess. All access to private BRoster functionality is now done through the newly added BRoster::Private class, which is BRoster's only friend (poor BRoster ;-).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:29:21 +00:00
Ingo Weinhold bdc2eaf5d8 Started implementing the API. Necessary changes to the headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:39:38 +00:00
Ingo Weinhold ae17e5046d Added a C++ version of get_device_icon() using a BBitmap.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:38:15 +00:00
Ingo Weinhold 456d74c6d2 Uncommented extended_partition_info::mounted_at. It looks like we can't get hold of this data, so the field will probably disappear.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:37:30 +00:00
DarkWyrm c8563e149f Added newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 17:27:15 +00:00
Ingo Weinhold e3b2e49b00 Renamed fs_device.h to disk_scanner.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 22:44:44 +00:00
Ingo Weinhold 44e2062426 Added constants for the Disk Device API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 21:06:56 +00:00
Ingo Weinhold d8c074b218 Small changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 18:12:03 +00:00
Ingo Weinhold 42b7adc3a4 Added file header. Minor changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 22:05:09 +00:00
Ingo Weinhold d713d1d973 The beginning of the DiskDevice API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 21:17:20 +00:00
ejakowatz f971378f16 Reworked color_which declaration to match Dano's.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 00:17:18 +00:00
Axel Dörfler 9175b5a5e0 Cleanup of the header mess: removed the redundant APIC/mp structure definitions
from smp_priv.h and stage2_priv.h. Created a new file smp_apic.h which now
contains those definitions.
Made the APIC_xxx register offsets only base offsets (without referencing a
particular variable).
Other small cleanups (i.e. "unsigned int" to uint32).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-30 21:20:33 +00:00
Philippe Houdoin f3eabb6abd Backport time tracking fix from NewOS:
thread code now properly traces time spent in user vs kernel mode. The code was
just plain broken before
http://www.newos.org/cgi-bin/perfbrowse.perl?@describe+1704


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 21:59:37 +00:00
Axel Dörfler f60043082d Unified the look of the different files a bit (their headers in particular).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 14:45:15 +00:00
Axel Dörfler 8b9ceff84b New fs_query.h header.
Now defines a new flag B_QUERY_NON_INDEXED - because querying non-indexed
attributes is a slow operation, it now has to be enabled on demand only.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 14:43:38 +00:00
Axel Dörfler c69aed7afc Removed some garbage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 13:58:12 +00:00
Axel Dörfler b16ed21a04 Our new KernelExport.h header.
Typedefs for debugger and kernel daemon hooks, cleaned up.
Added a ToDo item about the "abuse" of the quent structure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 13:48:39 +00:00
Axel Dörfler a9731b41c1 Housekeeping changes and small bug-fixes:
Added new syscall for set_thread_priority().
Replaced the userland syscall snooze_until() with snooze_etc() (the latter
has to be exported to userland and realize snooze() and snooze_until()).
Cleaned the sources - scheduler functions now have the scheduler_ prefix.
Moved signal related stuff into ksignal.h (out of thread.h).
Replaced public kernel API with direct exports (i.e. resume_thread() instead
of thread_resume_thread()).
Removed the thread_create_XXX_thread*() calls, and replaced them with a
BeOS compatible set.
Made some fields of struct thread a bit prettier.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 02:54:21 +00:00
Axel Dörfler 7f1f508e13 Added two convenience functions list_add_item(), list_remove_item().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 23:30:12 +00:00
Axel Dörfler 04d145c94d The team's image API is now using "list" instead of "kqueue".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 23:29:33 +00:00
DarkWyrm 16b0d71f0b Added FTSmooth patch by David Chester
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 21:36:27 +00:00
Axel Dörfler 8a5543b18c Added the kernel_daemon.h header which defines the init function for the
kernel daemon service.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 17:27:42 +00:00
Ingo Weinhold 0b1ab795f4 Got rid of the module_identify() hook. Instead the module info features a short_name field now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:06:23 +00:00
Ingo Weinhold cd6210cc8d Added a parameter for getting the partition module name to the get_nth_partition_info() hook.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:05:20 +00:00
Ingo Weinhold 38f832c7eb Removed Identifier() and FileSystem() methods. ShortName() shall return the respective identifier.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:03:48 +00:00
Ingo Weinhold 1f293937f5 extended_partition_info: changed partition_code to uint32 and added a field file_system_flags. Added a parameter partitionMapName to get_nth_partition_info() for getting the identifier of the used partition module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:01:55 +00:00
Marc Flerackers f81711e0de Added the virtual function BSlider::SetLimits
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 15:35:12 +00:00
DarkWyrm 9bbede1078 One more necessary attribute for cursor_which
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 14:01:34 +00:00
DarkWyrm 82857f6f72 Minor enum name tweak
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 13:38:09 +00:00
DarkWyrm 5911e5552e Added system cursor definitions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 00:29:05 +00:00
Stefano Ceccherini 3e194a0eeb Added termios.h header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-22 16:48:04 +00:00
beveloper 7fd432700b Updated time source code to allow automatic starting and stopping of time sources.
Sending run mode changes and broadcasting of time changes is also implemented.
For one reason or another, all this doesn't work right now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 01:11:15 +00:00
Axel Dörfler ffa7234e82 Added a missing struct definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 00:58:13 +00:00
Ingo Weinhold 4f28177175 Added partitioninig support and missing documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:01:02 +00:00
Ingo Weinhold 23c4932121 Added missing documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:00:15 +00:00
Ingo Weinhold d28b7f78d0 Added partitioning support and missing documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:59:38 +00:00
Ingo Weinhold 39e8f48cde Er, forgot the prototypes for parameter retrieving for partitioning and volume initialization.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:58:12 +00:00
Ingo Weinhold 3a69ab6517 Added prototypes for partitioning and volume initialization.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:54:28 +00:00
Ingo Weinhold 89b1309d57 This is the (first draft of the) API for userland GUI settings disk_scanner add-ons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:50:20 +00:00
Ingo Weinhold 81f71acbee Now a callback function is used to read blocks from disk. Used to cache blocks when iterating through the FS modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:18:39 +00:00
Ingo Weinhold e9a0da4169 The get_nth_*_info() hooks now return the used module respectively use the supplied one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:16:30 +00:00
DarkWyrm d2eaf9ca3c Expanded color_which definitions for R1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 21:23:59 +00:00
DarkWyrm 3a5a99606b Color utilities for app_server and general use
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 19:47:06 +00:00
Axel Dörfler 6d16fb1d30 Added some file system private function prototypes (for node monitoring/live queries).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:05:58 +00:00
Axel Dörfler f9bdcca59c Added kernel private node_monitor.h header.
Moved definition of "struct io_context" from fd.h to vfs.h.
Introduced new fs/ directory; some cleanups to come.
Added node monitor syscalls.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:04:22 +00:00
Axel Dörfler fc3cda204e New list primitive.
A doubly-linked list with some nice features.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:02:47 +00:00
Axel Dörfler 658694ae79 Removed the old dlfcn.h header - the real thing is located in posix/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 19:13:12 +00:00
Axel Dörfler 39de200904 Now you can really include it from the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 18:28:09 +00:00
Axel Dörfler b6a77342a5 Moved to os/drivers because it's not a userland header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 17:53:28 +00:00
Axel Dörfler 8f0cd8cdee Added header for node monitor calls for kernel add-ons.
Moved fs_interface.h to this location.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 17:52:33 +00:00
Axel Dörfler 31f5d420ed Redone the NodeMonitor.h header file to suit our needs (it can now also be
included from standard C).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 17:43:31 +00:00
Tyler Dauwalder f9c2a2a243 + Shrank license
+ Changed "#define TRACE(x)" to "#define TRACE(x) ;"


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 08:22:35 +00:00
Tyler Dauwalder e3e6d2db88 + Finished up cdrom session module
+ Fixed volume name bug in iso9660 module
+ Added licenses


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 08:26:22 +00:00
Axel Dörfler 25f83d0202 Added the debugger.h header file (for being able to link it from the web).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-14 13:41:16 +00:00
Axel Dörfler 9f956562e5 Missed that one, obviously.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 16:36:25 +00:00
Axel Dörfler c60685fcad Fixed parameter for get_nth_image_symbol().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:36:30 +00:00
Axel Dörfler c679492034 Added a queue to the team structure for the registered images.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:25:04 +00:00
Axel Dörfler 29164895ac Must now include image.h directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:24:12 +00:00
Axel Dörfler 9edac21abd Removed the image_id type definition from ktypes.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:23:21 +00:00
Axel Dörfler ef6d88af27 Renamed "struct rld_export_t" to "struct rld_export", "struct uspace_prog_args_t"
to "struct uspace_program_args", prog_name & prog_path to program_name and
program_path.
Moved the MAGIC_APPNAME to a BeOS compatible MAGIG_APP_NAME from rld_priv.h
to this place.
Removed the dlxxx() exports in the rld_export structure - instead, they will
be implemented using the basic runtime linker API which is a slightly extended
version of the standard BeOS calls (load_add_on() has a "flags" paramater to
allow implementation of dlopen()).
Completed the export API to be able to completely support the BeOS API.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:22:09 +00:00