Axel Dörfler
56ce04ab02
Contents moved to kernel_args.h and platform_kernel_args.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:15:16 +00:00
Axel Dörfler
662cc71f2c
heap size is now part of stage2_args.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 22:10:55 +00:00
Axel Dörfler
bf25fe99f6
Added new platform_kernel_args - might need an arch dependent part as well, though.
...
Only stage2_args.h can now include platform_stage2_args.h.
Only kernel_args.h can now include platform_kernel_args.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 22:02:43 +00:00
Axel Dörfler
79dd9caf61
Moved the kernel_args structure to the new kernel_args.h header file.
...
stage2.h is now of interest for the stage2 boot loader only.
stage2_struct.h is no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 21:58:48 +00:00
Axel Dörfler
f432eca440
Now use the new kernel_args.h header file.
...
Added C++ guards.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 21:56:32 +00:00
DarkWyrm
280bc131fd
Forgotten header checkin. :P
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 22:10:35 +00:00
DarkWyrm
c58c0507a5
API improvements
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 21:52:00 +00:00
DarkWyrm
b3d31bdb1a
Another LayerData-related crash fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 17:51:13 +00:00
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
Axel Dörfler
69a8a40770
Forgot to commit this: defines the AmigaFFS module info structure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-16 02:28:21 +00:00
Adi Oanca
bd26e2d2d1
* added '=' operator
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 18:58:49 +00:00
Adi Oanca
09c067b8e4
* modified 'font' member from '*font' to 'font'. '*font' was getting the pointer to system's plain font, and worse, it modified it. Now, it's all OK.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 18:58:06 +00:00
Adi Oanca
36845b1281
* added PrintToStream() method for debugging BView.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 18:56:48 +00:00
Axel Dörfler
da42afdf62
Made the Partition class public again - it's handy to use for some file
...
systems in order to retrieve some parameters.
Changed the get_file_system() call to accept a Partition instead of just
a node.
Introduced the namespace boot to the public headers; I guess I should
put all classes in there (compilation of the intel partitioning system
fails without the namespace, because it defines a class Partition itself).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-14 16:38:10 +00:00
Axel Dörfler
0d48a66bf1
Removed the port_test_thread_func() prototype from the header - that's a
...
private method which is only defined when DEBUG is turned on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 20:48:07 +00:00
Axel Dörfler
1fdfe0c39a
Added a new directory traversing method GetNextEntry() that's based on the
...
entry's name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:15:32 +00:00
Axel Dörfler
04409b5f9e
The R5 Device API is not public, and shouldn't be exported by this file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 01:01:12 +00:00
Axel Dörfler
ebe8f6bba7
Accidently exported a C++ function in a plain C accessible part.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 00:27:11 +00:00
DarkWyrm
3bd752a3a3
Moved FontServer.h to private app_server headers - unbroke the build`
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 10:27:08 +00:00
beveloper
92e575c103
Moved system time source code into media_addon_server.
...
It is now a real node.
Shadow timesources finally have the correct control port id.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 09:07:06 +00:00
Tyler Dauwalder
c72c47f361
Switched from <Strategy> to <Value, Strategy = Auto> template paramter format.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 06:25:31 +00:00
Axel Dörfler
28ab9bb7be
list.h is now in util/.
...
All files updated, so this can be removed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 02:37:49 +00:00
Axel Dörfler
c7a03dadea
list.h is now in util/.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 02:31:25 +00:00
Axel Dörfler
fd5b59d227
Added initial support for file systems. Not tested yet, but compiles.
...
New Directory class for use in file systems; file systems need to publish
their root directory as a subclass of this class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 02:12:06 +00:00
Axel Dörfler
275186b598
list.h location has moved.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 02:10:15 +00:00
Axel Dörfler
405a3fb126
Moved list.h to the util/ subfolder. (It currently still is in the kernel
...
private headers directory to not break the build.)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 02:09:33 +00:00
shatty
80d0dc75a6
more helpful argument names
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 21:13:50 +00:00
Adi Oanca
1b67ddf851
some #include fixes, I think...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 21:04:02 +00:00
Adi Oanca
e2dd24fc3c
added new memebers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 21:03:25 +00:00
Adi Oanca
6f274814d1
use diff. I don't remembr now the differences
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 21:02:31 +00:00
Axel Dörfler
eced90ea7a
Moved the definition of the Descriptor class to vfs.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 12:32:33 +00:00
Axel Dörfler
5306fba3a1
Added the new vfs_get_module_path() call.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 04:01:07 +00:00
Axel Dörfler
e5d542ba54
Moved the Partition class declaration to the source file.
...
Added some partition types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 02:39:24 +00:00
Axel Dörfler
e731e11702
Added the nothrow variants of the new operator.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 02:33:37 +00:00
beveloper
da47592581
added two new functions that work with pointer to the node, instead of sending messages
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:25:52 +00:00
beveloper
d41287a6da
Added BMediaRosterEx as friend class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:24:50 +00:00
DarkWyrm
ebeaac4396
Doh. Unvirtualization broke more than I thought. Reverting until I get more time to do properly....
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:08:01 +00:00
DarkWyrm
3794da7fb0
Un-virtualized internal methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:02:28 +00:00
Ingo Weinhold
340eed61d6
Moved definition of _FreeBlock to the source file and enabled its "magic{1,2}" fields on debug only.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 12:04:24 +00:00
Ingo Weinhold
369eef1343
Check in per Jeremy Rand: Adjusted implementation to behave like that in R5 -- no more tracking of excess blocks.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 11:55:25 +00:00
Stefano Ceccherini
8d1a0ee7c1
Fixed a bug in BRegion copy constructor. If one constructed a BRegion with
...
BRegion region(region), the region would have been put into an unitialized state. Took the chance to cleanup a bit the code, using some methods of clipping.h. Changed the way offset_rect works, and changed its name too. Added a note to Region.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-05 10:16:34 +00:00
Axel Dörfler
318ea28beb
Added internal syscalls (_user/_kern) for fs_read_info() and fs_write_info().
...
Not yet accessible from the outside.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 04:18:48 +00:00
Adi Oanca
a3c09a41f6
changed something... I do not remember now... check with diff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 21:23:25 +00:00
Adi Oanca
f62402a785
added const to void Scale(); uncommented one method...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 21:22:24 +00:00
Axel Dörfler
9d12fd8503
Added dprintf() to the platform dependent methods.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 17:08:08 +00:00
Axel Dörfler
ccc316dc1c
Our <new> lets delete throw __nothing - kernel_cpp.h now reflects this,
...
although I might change this issue after having had a look at the PPC
compilation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 14:57:55 +00:00
Axel Dörfler
6f7c2dc677
Missing boot loader headers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 01:53:41 +00:00
beveloper
c188392c20
removed misplaced file, this belongs into headers/private/interface
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 22:33:55 +00:00
shatty
3f34315d52
fixed improper padding removal. the addition of Scale() required one non-virtual function to be removed. apparently the private function "removeFromList" was removed. however, _ReservedView2() was also incorrectly commented out. this caused obos stylededit to fail to work, which is how I found this. I have now tested it with this version and it works
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 05:57:31 +00:00
DarkWyrm
6a746063c9
Added app-side font list support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 17:06:11 +00:00
Adi Oanca
3616918627
Added two new methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:23:44 +00:00
Adi Oanca
6bcec3643b
Helper definitions for BWindow class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:23:10 +00:00
Adi Oanca
d061757a51
Helper definitions for BView class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:22:46 +00:00
Adi Oanca
f90fc6a679
PortLink now uses a fixed buffer. Its base class is.... BSession...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:21:49 +00:00
Adi Oanca
3bbe920498
Added some new messages that are needed by BView
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:20:51 +00:00
Adi Oanca
445114208c
Header file for the new communication class: BSession - it will replace PortLink
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:20:07 +00:00
Adi Oanca
b95458fd6c
modified some methods names
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:18:20 +00:00
Waldemar Kornewald
345d3d7d0b
Fixed a spelling error.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 16:05:23 +00:00
beveloper
d91580cd9a
removed/fixed warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 02:18:11 +00:00
beveloper
188b5de0bf
renamed atomic_read() into atomic_get() (since we already have atomic_set(), but not a atomic_write())
...
renamed user_??? functions into the new _user_??? naming style.
changed implementation of PPC 64 bit atomic functions to use (un)lock_memory()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 01:21:56 +00:00
ejakowatz
0784fd8bde
Fixed bugs in (un)flattening code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 22:32:22 +00:00
beveloper
3c839f3f7b
fixed description
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 01:22:44 +00:00
beveloper
ad159f4343
cleaned up meaning of first constructor parameter
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 00:54:54 +00:00
beveloper
2fc06b8774
Replaced the broken BBlockCache implementation.
...
According to the BeBook, it is NOT allowed to allocate one large
pool, instead the memory blocks must be allocated individually.
To achieve O(1) for both Save() and Get() function, only one list
of free blocks is maintained.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 00:27:08 +00:00
Ingo Weinhold
66abd4d0a6
Fixed a few warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 21:36:38 +00:00
ejakowatz
19cdc4570f
How the glaring fubar in MessagePrivate.h got past me is a mystery.
...
Nonetheless, here is new BMessenger-related goodness to smooth is all out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 23:33:02 +00:00
ejakowatz
e9e500cb9e
Minor tweak to BHandler::UnlockLooper()
...
Added calls to _init_message_(), _delete_message_(), and
_msg_cache_cleanup() to InitTerminateLibBe.cpp
Finished first implementation of BMessage::SendReply(), BMessage::_send_(),
and BMessage::_send_message()
Add BMessage to app.src, removed BBlockCache from support.src.
New BMessage::Private class has functions for twiddling BMessage internals
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 07:55:52 +00:00
Axel Dörfler
6f82bba82a
Adds our own, shiny, and almost BeOS compatible parsedate.h header (but not
...
in the Posix dir).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 18:25:11 +00:00
Stefano Ceccherini
e6404469ad
added offsect_rect, fixed a spelling error
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-22 09:12:56 +00:00
beveloper
5fe840b9b5
fixed address checking in ppc atomic functions.
...
fixed compilation on x86.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 23:36:06 +00:00
beveloper
50e0ce4bee
Implemented new syscalls for 32 and 64 bit atomic operations.
...
They are only used if the architecture doesn't support them directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 23:02:00 +00:00
Axel Dörfler
f236d16605
Removed the vm_get_region_info() call and the vm_region_info structure -
...
they are now replaced by get_area_info() and the area_info structure.
get_area_info() still misses some pieces, though.
Added all missing VM user/kernel syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 15:47:52 +00:00
beveloper
40ac5c5195
cvs server: Up-to-date check failed for `src/kernel/core/vm/vm.c'
...
cvs [server aborted]: correct above errors first!
cvs commit: saving log message in /tmp/cvsFPtfaj
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:48:15 +00:00
beveloper
867695ddb7
architecture specific CPU things, like defines
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:29:36 +00:00
beveloper
3cbce96a24
removed no longer used include file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:26:30 +00:00
Axel Dörfler
d4055614a4
Made the "name" argument const for create_area_etc() and vm_map_physical_memory().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:10:14 +00:00
Axel Dörfler
39ce1ac62d
Didn't know B_SLOWMEM - bumped B_ALREADY_WIRED one further.
...
Fixed the now broken LOCK_KERNEL definition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:09:28 +00:00
beveloper
d3e72fa555
added missing 32 bit atomic functions,
...
and added all their 64bit counterparts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:08:13 +00:00
Axel Dörfler
f8a4dcfa28
Forgot about B_ANY_KERNEL_BLOCK_ADDRESS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 22:29:51 +00:00
Axel Dörfler
425b6cdf15
Added the new kernel private delete_area_etc() call.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 17:22:47 +00:00
Axel Dörfler
5d4b10645c
Adds some private kernel extensions to the BeOS VM/API: things like
...
B_EXACT_KERNEL_ADDRESS, B_KERNEL_READ_AREA, ...
They are preliminary defined here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:14:26 +00:00
Axel Dörfler
640d0ba831
Replaced old create/delete area syscalls with the new ones, added
...
new kernel private create_area_etc() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:11:58 +00:00
Axel Dörfler
50ba6835f7
Replaced old create/delete area syscalls with the new ones.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:10:35 +00:00
Axel Dörfler
9970840118
Renamed syscall definitions for the create/delete area calls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-19 14:07:40 +00:00
shatty
edb76b96d2
new posix/beos compatible version in public posix/ctype.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 07:13:59 +00:00
shatty
b394ba7f2a
new posix/beos compatible version in public posix/ctype.h, also added isblank prototype
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-16 07:13:55 +00:00
shatty
77c4490299
for compatibility with beos r5 and gcc configuration, uncomment strsignal
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-15 09:03:54 +00:00
Niels Sascha Reedijk
1501c2bf3e
This is just an outline of the USB stack: what it is going to look like. It is definately not
...
ready for testing. Also the documentation is far from complete (it's in it's early phases).
Unfortunately I don't have enough experience in hardware programming to prototype
it first, so I'll be testing the things that I design in the document.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-12 20:36:24 +00:00
Philippe Houdoin
e8d1b6e166
Moved back from headers/posix/sys from here, where they belong.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-11 22:50:27 +00:00
Philippe Houdoin
549b25ed0a
Remove non-posix headers files, moved back to headers/private/net where they belong for
...
the moment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-11 22:48:36 +00:00
shadow303
17e6de7a37
gcc 3 fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 00:46:53 +00:00
Ingo Weinhold
8d91b8087d
Improved the interaction between job queue and manager. Partitions should now be mark busy correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:39:12 +00:00
Ingo Weinhold
f31cbc2db6
Added SetTo() methods to the AutoLocker.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:28:11 +00:00
Ingo Weinhold
cc6edbdf8f
* Added VisitEachDescendant().
...
* Added {Add,Clear}Flags() which are more comfortable than SetFlags() in
most cases.
* On construction the `busy' and `descendant busy' flags are set.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:27:33 +00:00
Ingo Weinhold
7e4c7d4350
Added KPartitionVisitor class used for advanced partition tree traversal.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:23:53 +00:00
shatty
5506f765ae
removed #include <OS.h>
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:52:30 +00:00
shatty
80a9c4f4c3
include OS.h directly from fs_interface.h in prep for removal from sys/stat.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:33:05 +00:00
shatty
3a79ea54e8
more posix compatibility in stdint.h prevents build problems in jpeg2000translator
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:00:01 +00:00
shatty
220ac08aa6
gnu free rewrite of stddef.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 07:47:24 +00:00
shatty
71f8d587d2
removed unnecessary #include <OS.h>
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 07:34:06 +00:00
shatty
48103d3411
changed to use stdint and intX_t types
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 06:24:37 +00:00