Axel Dörfler
17e0266f6e
Implemented platform_register_boot_device(): it parses drive_parameters
...
versions 2.x and 3.x and fills the disk_identifier of the boot disk.
"Dumb" checksum/size recognition is not yet implemented (stores only the
size of the disk for now).
Does not yet create bios_drive structures for any other drives.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 18:11:27 +00:00
Axel Dörfler
04b9d56a03
register_boot_file_system() now also fills in the kernel_args data about
...
the boot partition, and calls platform_register_boot_device() for the
rest.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 18:06:47 +00:00
Axel Dörfler
925f2cab6a
get_node_for() has moved into the public VFS API for now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 18:05:01 +00:00
Axel Dörfler
5d6160d04e
panic() now reboots when you press a key.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 18:03:56 +00:00
Axel Dörfler
356f4957fa
Added a function that clears the keyboard buffer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 18:02:50 +00:00
Axel Dörfler
8a4b1da1e7
Corrected the information where the real/protected mode stacks begin; the
...
comment did not take the BIOS data area into account.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 18:01:52 +00:00
Axel Dörfler
b193fcc716
Some work on the boot disk identification: the kernel_args structure has
...
now fields that carry information about the boot disk and partition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 17:59:15 +00:00
Axel Dörfler
0c3888b965
Add a method to get the partition's file descriptor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 17:56:55 +00:00
Jérôme Duval
0647bda361
package name updated
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 17:21:06 +00:00
Jérôme Duval
535c5018e0
added stdlib.h for system()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 17:09:15 +00:00
Jérôme Duval
89c4e72ae5
added utsname.h for uname, based on posix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 16:55:33 +00:00
Axel Dörfler
0084d31635
Added an additional flags parameter to fs_mount(), "args" is now a const char.
...
Turned off debugging output in pipefs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 16:43:30 +00:00
Nathan Whitehorn
e1198ce1a8
Fixed the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-13 03:06:14 +00:00
DarkWyrm
9dd5da4253
Moved to headers/private/servers/app because of DisplayDriver dependency
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 22:35:28 +00:00
DarkWyrm
49de8aa416
Moving to the headers/private/servers/app because of DisplayDriver dependency
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 22:33:53 +00:00
DarkWyrm
328b390762
Invariably, I forget to add *something* to the tree. :(
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 22:29:39 +00:00
Rudolf Cornelissen
d37e284187
updated settings for no cursor and memory fixed to 2Mb; tested and working on a VIA graphics card.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 20:33:26 +00:00
Rudolf Cornelissen
efc1fc9b17
fixed shutdown of cursor; fixed mem detection for settings overrule. Now tested and actually working on a VIA graphicscard.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 20:31:42 +00:00
Nathan Whitehorn
3155ad9584
GCC 3 compilation fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 18:58:55 +00:00
Nathan Whitehorn
8a3a4e98dc
Added sanity to the C++ ABI hack. If we aren't using GCC 2 or mwcc, we clearly don't care about binary compatibility, so there is no point in using the BC shim.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 18:53:45 +00:00
Axel Dörfler
ead0d79064
Debug output now uses the TRACE() macro, turned debug output off.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 17:21:14 +00:00
Axel Dörfler
fdc19c4c1a
Accidently disabled old BeOS API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 17:18:45 +00:00
Axel Dörfler
f99b76aafb
Changed fs_mount() call, "args" is now a const char, added flags parameter.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 17:03:48 +00:00
Axel Dörfler
58e12c8d52
Changed fs_mount() function: "args" is now const char instead of void,
...
added flags parameter (for example for B_MOUNT_READ_ONLY).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 17:02:55 +00:00
Axel Dörfler
eb9f0103f8
file_cache_delete() can now safely be used with a NULL pointer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 16:46:05 +00:00
Axel Dörfler
0c7e169a8c
Forgot to switch to the home directory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 16:45:14 +00:00
Axel Dörfler
6d6292cffa
Some changes and bug fixes to make the API better to use:
...
- added user data pointer to cache_transaction notifier
- added functions block_cache_set_dirty(), and block_cache_make_writable()
- cache_transaction_next_block() let's you iterate over all blocks in the transaction
- instead of binding the block contents to the transaction (read-only checked
out blocks did only see the unchanged blocks until the transaction was closed)
the block now always shows the current data - even if the old way had some
advantages, it was terrible to use
- the blocks were not correctly added to the transaction
- improved debug output
- can check if the read-only blocks were changed accidently (compile time option)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 16:43:51 +00:00
Axel Dörfler
9de65b05cc
Minor API changes add additions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 16:35:24 +00:00
Nathan Whitehorn
919ccaea46
Added AGMS's excellent spam detection software. Still some weirdness with the configuration interface from E-mail prefs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 02:55:05 +00:00
DarkWyrm
39241fe228
Initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 02:02:58 +00:00
Nathan Whitehorn
5344cdf47b
Made encoding detection actually work. Added a deprecation notice in E-mail.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 23:17:48 +00:00
Axel Dörfler
9ad2b1324f
The boot loader places the debug symbols in the kernel args, and since
...
we don't want to copy them over to the kernel heap, we just don't free
the kernel args if the debug symbols are enabled - and since there are
no driver settings yet in the kernel, this is always for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 19:43:59 +00:00
Nathan Whitehorn
985f3b5004
Misplaced the R5 Daemon filter in the package.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 18:04:49 +00:00
Stefano Ceccherini
c82fcfe3f3
stricmp -> strcasecmp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 15:58:03 +00:00
shatty
6837f5b69c
convert message body using textencoding, change default to latin 9 (iso-8859-15) instead of latin 1 (iso-8859-1)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 13:11:30 +00:00
shatty
eaed7feae7
mime commentary in array, utilize textencoding for subject conversion to utf8
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 13:03:53 +00:00
shatty
8bd859069f
remove signed/unsigned warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 12:34:29 +00:00
shatty
adddd452bf
code cleanup, use case insensitive mime comparison, mark automatic only if none other is marked
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 12:26:44 +00:00
shatty
eed1255a5c
putting textencoding.so into beos/system/lib is important so that the Deskbar replicant works
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 11:37:12 +00:00
shatty
1096e45fc5
use BONE_COMPATIBLE instead of TARGET_PLATFORM
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 11:23:14 +00:00
shatty
31c2fdcb8c
use libbe functions/initialization unless we are targeting haiku
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 11:20:58 +00:00
shatty
dd8a21cd31
use libbe initialization unless we are targeting haiku
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 11:15:00 +00:00
shatty
fdaa370452
use BONE_COMPATIBLE instead of TARGET_PLATFORM
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 11:07:25 +00:00
shatty
4bb1944270
remove global activation of COMPILE_FOR_R5 based on TARGET_PLATFORM ; require TARGET_PLATFORM to be set
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:52:14 +00:00
shatty
f57ef32cc0
add BTextView to libhaiku.a
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:26:27 +00:00
shatty
3df3da2ccc
use BONE_COMPATIBLE variable instead of TARGET_PLATFORM to control linking
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:13:34 +00:00
shatty
d601f6e882
rename RecalLineBreaks to RecalculateLineBreaks ; use ceil() when computing the origins for lines
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:07:40 +00:00
shatty
83bf0add93
use textencodings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 08:47:02 +00:00
shatty
ec5b4cac39
use const char for parameters, uint to avoid warnings, and strcasecmp for name comparisons
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 07:35:47 +00:00
shatty
e25788aa41
add mail kit aliases: shift_jisx0213, euc-jisx0213
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 07:34:18 +00:00