DarkWyrm
ef56e590dd
Speedup for color lookups
...
Prevent crashes when things other than the server utilize LayerData objects
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 17:40:20 +00:00
DarkWyrm
7507620c3a
Tweaked all messaging classes to comply with new message protocol policies
...
AppServerLink no longer inherits from BSession
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 19:06:34 +00:00
DarkWyrm
9e6ef5ce51
Added PortMessage::ReadString and PortLink::AttachString to support BSession-style string-attachments
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 00:52:24 +00:00
DarkWyrm
e956d70682
Eliminated a memory-allocation bug
...
Added a sensible workaround for BSession message code packaging
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 23:28:05 +00:00
DarkWyrm
7b6beb9bde
BSession is no longer a parent class
...
Removal of deprecated reply functions
Global protocol change - reply port is at the end of data, not the beginning
PortLink still uses the BSession messaging style
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 22:20:28 +00:00
DarkWyrm
5e69d02601
Moved BSession messaging code to ServerProtocol.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 00:02:19 +00:00
DarkWyrm
dba1a55db7
Added methods to get the sender and receiver ports
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-02 23:07:26 +00:00
DarkWyrm
594cf26a76
Conversion over to BSession API
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-02 01:01:45 +00:00
beveloper
44979b77a2
the latest and greatest
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 15:38:54 +00:00
Axel Dörfler
774d1ff304
The Directory abstract base class has a new method IsEmpty().
...
New/changed function prototypes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:04:08 +00:00
Axel Dörfler
6e5bc20607
Added some more functions to the platform abstraction API - it's now
...
possible to select a boot device which is used directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:02:36 +00:00
Axel Dörfler
b337ddf60a
Added a new method Mount() to Partition, Scan() now takes a parameter to
...
decide if it should mount file systems on the partition or not.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:00:53 +00:00
Ingo Weinhold
541c05cc85
We always resize the partition contents.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 21:43:11 +00:00
Ingo Weinhold
63c99af405
Added Unset(). Also added some new classes that don't work yet and are uncommented for that reason.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 21:42:33 +00:00
beveloper
79f40e4322
renamed line into pin, since in PCI terminology, IRQ interrupt number == line, and the physical interrupt wire == pin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 19:09:32 +00:00
beveloper
fb5398b8f7
removed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 19:09:12 +00:00
Ingo Weinhold
eae4df8320
Fixed the usage of CHECK_USER_ADDRESS(). R5 has the inverse memory layout, so we need to adjust the KERNEL_BASE macro when compiling for it.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 18:50:02 +00:00
Ingo Weinhold
58bdbab626
Added a KPartition listener mechanism and made use of it to keep shadow partitions with the corresponding physical ones in sync.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 22:04:13 +00:00
Ingo Weinhold
583f8c1d02
Added set_disk_device_job_error_message() for setting an error message, when an error occurs while executing a job.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 19:29:36 +00:00
Ingo Weinhold
ac8b60ce67
Added setter/getter for an error message. Should be set to something informative when while executing a job an error occurs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 19:28:27 +00:00
Ingo Weinhold
69cb08c01c
UninitializeContents() returns an error code now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 19:26:18 +00:00
Ingo Weinhold
ce8cfdb8a6
Classes for scope-based auto deletion.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 15:13:12 +00:00
Ingo Weinhold
e0e5d17627
Handy functions to copy from and to userland reference parameters.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 15:12:27 +00:00
Adi Oanca
a74be42475
fixed a compiler error
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 15:16:07 +00:00
Philippe Houdoin
f0fedd9746
Import Be Inc. string atomizer kernel module.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:30:05 +00:00
Adi Oanca
27e018e33c
added support for picture clipping and state stack
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:12:58 +00:00
Adi Oanca
88ad98dca8
added support for UInts and a new function: DropInputBuffer() used for basic synchronization
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:11:37 +00:00
Adi Oanca
cb51da76c9
added an new message
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:10:41 +00:00
Adi Oanca
98b01e2f16
removed ReadRawFromPort(...)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:07:41 +00:00
Ingo Weinhold
64d5c0bf73
Added enum value for our new uninitialization job.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:27:20 +00:00
Ingo Weinhold
6e855f0317
Removed the resizeContents/force from the resize/move syscalls. Fixed resize/move related bugs (partition was not check for status uninitialized).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:26:12 +00:00
Ingo Weinhold
3f54a014e5
Removed the resizeContents/force parameters from [Validate]Resize()/[Validate]Move() as discussed in July (grrr, I was lazy).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:23:33 +00:00
Ingo Weinhold
dafaf4c360
Added IsUninitialized() convenience method.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:21:10 +00:00
Ingo Weinhold
20c33ce79b
Added syscall for uninitialization.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 19:13:54 +00:00
Ingo Weinhold
4c4e5505b0
Added BPartition::Uninitialize(). No CanUninitialize(), but
...
uninitialization does not affect the physical partition, anyway. The
system simply marks the partition as uninitialized for the current
session -- after rebooting it re-appears unchanged.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 19:13:29 +00:00
Ingo Weinhold
5c699c6735
Add a field mount_cookie to the partition_data structure and
...
respective setter/getter methods to the KPartition class.
If a partition is mounted, the field will contain the cookie the
FS's mount() hook passed back to the VFS. This way the FS has
access to its internal data structures. We need the cooperation
of the VFS to get the cookie.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 18:25:42 +00:00
Axel Dörfler
1470102500
change variable name to better fit its purpose.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 15:53:54 +00:00
Axel Dörfler
051f882824
Rewrote the resource.h header and added comments about missing functions
...
and functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 15:51:03 +00:00
shatty
853d2f32a6
moved to public header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-20 20:50:46 +00:00
shatty
b89786b69e
change to public resource.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-20 20:47:27 +00:00
shatty
2da2ccee09
new posix compliant and public resource.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-20 20:41:11 +00:00
Ingo Weinhold
b8bd561224
Needs to include the R5_Session.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-19 19:42:52 +00:00
Stefano Ceccherini
cafaa5aa29
Added a BDirectWindow implementation which works with BeOS R5 (at least, with the Chart demo app)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 13:39:39 +00:00
beveloper
f120b01748
added locking
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 20:44:10 +00:00
DarkWyrm
46d99be13c
Added message codes for creating and deleting BCursors
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 18:34:53 +00:00
DarkWyrm
84d8b7c760
Added option to set cursor to the applicaiton's cursor
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 17:53:08 +00:00
beveloper
4cc6d1c38b
renamed functions,
...
added irq setup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 15:54:35 +00:00
DarkWyrm
f02718d110
Added message code for supporting the R5 decor easter egg
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 12:57:10 +00:00
beveloper
14b537e142
added new private header file for new pci module.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 01:00:14 +00:00
Axel Dörfler
ad1b3319c5
Added a new open_from() call.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-16 02:28:50 +00:00