Commit Graph

982 Commits

Author SHA1 Message Date
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