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
shatty
e254dca796
add libtextencoding.so to haiku-maildaemon-cvs package
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 05:17:19 +00:00
Matthew Wilber
d8757cb585
Removed unused member variable, fixed drawing of highlight box, made style changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 23:46:55 +00:00
Oliver Tappe
f2ced752a0
- added implementation of stdc++ for haiku
...
- this differs slightly from the one that lives in buildtools/gcc as it
has been "ported" to the newer libio that haiku uses as part of its own
libroot
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 20:33:33 +00:00
Oliver Tappe
ce78b28632
- removed ctermid() and cuserid(), which live in stdio.h
...
- removed system(), which lives in stdlib.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 20:26:19 +00:00
Oliver Tappe
2f50925911
- the standard says that cuserid() should be declared instead of unistd.h,
...
and libstdc++-build agrees (fails otherwise).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 20:25:12 +00:00
Oliver Tappe
23db182d85
- deactivate vtable-thunks, as BeOS never used them and we need to be
...
compatible; change vtable-label-prefix accordingly.
- removed inclusion of wchar.h, as this breaks the libstdc++-build (hopefully
this doesn't break anything ?!?)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 19:43:14 +00:00
Oliver Tappe
208f00ecf7
- added missing defines to compile libio with _STDIO_USES_IOSTREAM not being
...
set (although we do set it now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 19:39:13 +00:00
Oliver Tappe
2468e805d8
- added comment about why stdin/stdout/stderr and cin/cout/cerr synchronization
...
never worked in BeOS (and why it works now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 19:36:30 +00:00
Oliver Tappe
9777605673
- added a (commented out) specification of how to build a standalone libio
...
which can be used to test haiku's own libstdc++ under R5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 19:27:32 +00:00
Oliver Tappe
f32abcdce8
- added haiku-specific implementation of bits/errno.h, as required by
...
the stdlib-part of glibc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 19:25:29 +00:00
Stefano Ceccherini
bdd5913945
Small cleanup, added a comment to some obscure code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 12:43:06 +00:00
Stefano Ceccherini
9bcc882ae1
changed stricmp to strcasecmp to fix the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 12:21:13 +00:00
Jérôme Duval
0cdef817cf
Added non working functions estimate_max_scheduling_latency and suggest_thread_priority
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 09:19:36 +00:00
Axel Dörfler
85b750f216
Implemented first test implementation of the new block cache and transaction API.
...
Moved from mutexes to benaphores.
Removed partial write support of the old API.
remove_cached_device_blocks() will now actually free all remaining blocks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 02:03:39 +00:00
Axel Dörfler
a7e6b6f35b
Added prototype for new hash_remove_first() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 01:59:09 +00:00
Axel Dörfler
060b02824b
First draft of the new block cache API with transaction support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 01:57:38 +00:00
Axel Dörfler
4f727c8fb6
New function hash_remove_first() makes emptying a hash table much simpler.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 01:56:22 +00:00
Matthew Wilber
347759a7e7
Continued refactoring. Made style changes, renamed variables to improve consistency and clarity.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 01:12:46 +00:00
Matthew Wilber
ac7ba0d23c
Added code to correct the saved window position if it causes part of the window to be off-screen.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 00:05:12 +00:00
Jérôme Duval
6eb4c8d477
added gnu regex
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 22:49:35 +00:00
Jérôme Duval
5ebc38dcf6
added regex in our libroot.so, it is the one from our Gnu grep 2.5
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 22:48:36 +00:00
Jérôme Duval
ca72d05ae0
we can't read this data from userland yet, help!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 22:45:48 +00:00
Axel Dörfler
43576fd35b
Removed some debugging output that shouldn't have made it into the repository.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 13:57:03 +00:00