Commit Graph

8121 Commits

Author SHA1 Message Date
Axel Dörfler
f6fed308e3 Rewrote KDiskDeviceManager::CreateDefault() to be easier to read and actually
return the correct error code in case there is one.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 20:57:11 +00:00
beveloper
65f8356f78 added missing newline
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 19:57:20 +00:00
Axel Dörfler
918eb09770 Fixed the build of the udf_shell.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 19:53:14 +00:00
Axel Dörfler
0cbdb7da69 Must now include fsproto.h like other header files, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 19:52:35 +00:00
Axel Dörfler
638d6f0330 Since fsproto.h is now C++ safe, it must be correctly included.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 19:43:10 +00:00
Axel Dörfler
a73b15dbce Fixed the chkbfs build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 19:42:16 +00:00
Axel Dörfler
d25bf856b1 Made it C++ safe. This header is only here temporary; it will be removed
as it defines the R5 file system API only.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 19:37:56 +00:00
Rudolf Cornelissen
fcbb30938e extra regs added for DPMS related logging...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 08:39:50 +00:00
Rudolf Cornelissen
fcbddbed5b doc update for better understanding of 'switchhead' option
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 08:33:03 +00:00
Rudolf Cornelissen
2cb6fc9c23 finalized NV11 support: panels should be fully OK now there...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 08:06:54 +00:00
Axel Dörfler
1c4552a247 Added missing include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:50:15 +00:00
Axel Dörfler
86c56a92a6 Now also builds as real kernel module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:47:10 +00:00
Axel Dörfler
3d483a1611 Now builds as real kernel module as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:41:58 +00:00
Axel Dörfler
b03e297230 Is now built as real kernel module as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:34:23 +00:00
Axel Dörfler
da2082abba Added missing <util/kernel_cpp.h>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:33:31 +00:00
Axel Dörfler
1314df1a0f Added disk device manager to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:31:55 +00:00
Axel Dörfler
c9690ffdd8 Changed the build so that all symbols are exported.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:25:23 +00:00
Axel Dörfler
0422b3872e The userland DiskDeviceManagerTest now works again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:23:24 +00:00
Axel Dörfler
499b29e3ea Made all necessary changes to build the DiskDeviceManager as part of the kernel.
Removed KFileDiskDevice functionality for now (since it would have required more changes).
Also disabled actual partition publishing/unpublishing, because this will
be done differently.
This change will temporarily break the DiskDeviceManagerTest build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:03:31 +00:00
Axel Dörfler
960371b741 Replaced <new> with <util/kernel_cpp.h> - this is the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:00:10 +00:00
DarkWyrm
4f4af1fe79 Janitorial work -- mostly moving style closer to OT guidelines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 18:21:57 +00:00
Axel Dörfler
e27f9449fe Now uses spawn_kernel_thread() instead of spawn_thread().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 15:47:19 +00:00
Axel Dörfler
d349b8c336 Now also exports spawn_kernel_thread().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 15:40:23 +00:00
Axel Dörfler
faffd0f3d7 spawn_kernel_thread() now matches the spawn_thread() prototype - there
is no reason for them to be different.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 15:39:56 +00:00
DarkWyrm
8988c68b1d Plugged a couple memory leaks and code fix to WindowBroadcast()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 14:58:24 +00:00
DarkWyrm
70e337a0b4 Janitorial work and minor ServerWindow tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 14:47:36 +00:00
DarkWyrm
768ec791c9 Plugged a memory leak (thanks Matthijs!)
Removed the use of malloc() -- deprecated
Deprecated PortLink::FlushToSession()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 13:38:08 +00:00
DarkWyrm
c73fb70eb7 Minor header tweaks relating to the message buffer size
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 13:36:48 +00:00
DarkWyrm
86469b8c91 Added header
Code readability improvements
Removed SetMsgCode()
Documented class
Added some minor error-handling


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 12:57:13 +00:00
DarkWyrm
0223e22e5a Janitorial work, mostly.
Removed SetMsgCode()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 12:55:42 +00:00
Jérôme Duval
57e2e4fe35 Added gawk
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 09:01:23 +00:00
Jérôme Duval
adc7a5f17b generated files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 09:00:17 +00:00
Jérôme Duval
7a43f3cc3b Added gawk 3.1.3 without unused directories. Some of them (doc, tests) could come back if needed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 08:57:30 +00:00
DarkWyrm
a64bba1208 Janitorial work, mostly
API tweaks in WinBorder
Removal of some unnecessary TODO comments
Decorators now draw buttons when clicked


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 02:46:48 +00:00
DarkWyrm
f9b967b4cf Added DirectDriver definition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 02:45:29 +00:00
Axel Dörfler
4a847f30c5 Added exit_thread().
Changed thread_atkernel_exit() to look less broken - the way and when it's
called should still be investigated: NewOS looks a lot cleaner here.
create_thread() now creates the kernel stack upfront, so that it can easily
bail out of that fails. The user stack creation now makes use of B_BASE_ADDRESS
and is therefore a lot better and simpler. In case user stack creation failed,
it should now be able to handle that a lot more gracefully - but that hasn't
been tested yet...
Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 01:45:33 +00:00
Axel Dörfler
6e0526544a Now cuts off the path when it gives a team's main thread its name.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 01:36:29 +00:00
Axel Dörfler
80c27b7a53 Switched to opendir() and friends instead of directly calling VFS functions.
Now correctly ignores "." and ".." in a directory.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 00:56:26 +00:00
Axel Dörfler
15190e07b3 The current kernel version needs these functions to be there (it will crash
if not).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 00:47:52 +00:00
Axel Dörfler
7bdd1a7874 user_vm_map_file() was broken after recent changes; it didn't allow the
kernel to write to read-only userland areas.
Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 00:39:40 +00:00
Rudolf Cornelissen
55ab7bb31f doc update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 14:39:44 +00:00
Rudolf Cornelissen
04e6b7ce9d overlay code cleanup, NV11 panel update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 14:17:10 +00:00
Rudolf Cornelissen
9f54384777 overlay tidbits
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 10:41:30 +00:00
Rudolf Cornelissen
32b500e5c9 overlay tidbits
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 10:36:00 +00:00
Rudolf Cornelissen
72eb7e103d small cursor update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 07:26:51 +00:00
Axel Dörfler
9b1718cc6c Fixed number()/snprintf(): the buffer length was completely ignored when
printing numbers.
Removed unused code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 05:27:48 +00:00
Axel Dörfler
fab1cad1b8 Now other code accounts for reserved regions in the standard region_list as well.
Introduced RESERVED_REGION_ID definition.
Some minor cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 02:03:55 +00:00
Axel Dörfler
c9df0d11c8 Added definition for reserved region's ID.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 02:01:59 +00:00
Axel Dörfler
edfcb58323 Tuned message in case debug command "ls" fails.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 01:47:44 +00:00
Axel Dörfler
6f09e38dea team_create_team2() no longer panics if it couldn't create the userland
stack - it just fails now (since create_area() currently panics when it
fails, this is a cosmetic change anyway :-)).
Now correctly cleans up in case elf_load_user_image() fails.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 01:43:16 +00:00