Commit Graph

13565 Commits

Author SHA1 Message Date
DarkWyrm
0f25271b5d Use our Terminal instead of MiniTerminal now that the server is stable enough to run it reliably
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 00:12:29 +00:00
Alexander G.M. Smith
770fd09b6e Half way through adding some more BeMail related utilities - they use
libmail.so which isn't backwards compatibile so they need recompiling
for Haiku - thus better to include them here.  Also want spam levels
of 1E-6 to be visible for genuine messages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 23:43:41 +00:00
Alexander G.M. Smith
d8411859b4 Should remove the mime settings for the dead applications.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 19:56:57 +00:00
Alexander G.M. Smith
c6569a3836 Need keyword expansion for this resource file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 19:48:33 +00:00
Alexander G.M. Smith
d9f9a4ac41 Added the resources and file type associations, changed the application
signature and otherwise made the spam detection system work properly again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 19:31:42 +00:00
Alexander G.M. Smith
9608526fe1 Had to do the file rename as a separate operation due to SVN limitations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 15:40:01 +00:00
Alexander G.M. Smith
2350ceae80 Oops, "spamdb" is already used for a Unix package. And spamdatabase is
already reserved by a domain name squatter.  Use "spamdbm" instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 15:38:44 +00:00
Alexander G.M. Smith
0cd3a7da25 Renamed spamfilter to be the more meaningful spamdb (spam database) and
moved it into its own source directory in preparation for adding resources.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 15:17:52 +00:00
Axel Dörfler
944eada15a Calmed down SCSI bus manager a bit in case it got a non-DMA safe buffer
from block_io (which seem to happen frequently...).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 12:39:10 +00:00
Axel Dörfler
b96ea69c37 You really can do the same mistake twice, even in two subsequent lines of code...
get_file_map() now seems to work correctly in all regular cases.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 12:37:13 +00:00
Axel Dörfler
634c23467b If allocating a new node fails, the bplustree_header::maximum_size field is now
reseted to its old value.
BPlusTree::SetTo() is now less strict about maximum_size vs. inode size differences;
it will now print a warning and set the maximum_size to the inode size, even though
the tree might be corrupted (reading should always be as compatible and forgiving
as possible).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 22:13:28 +00:00
Axel Dörfler
90f1dccb72 Our ELF loader now gets something like error handling - it may still have some
(memory) holes, but failing to load an add-on should no longer exit your
application. Reported by Korli.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 20:52:46 +00:00
Axel Dörfler
fbdd53ace2 Extended the node checker a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 19:56:08 +00:00
Axel Dörfler
65af8c8327 bfs_get_file_map() no longer returns the preallocation area as part of the
file data - it checks if the current run goes beyond the file size and cuts
it off after the block containing that last few bytes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 19:52:26 +00:00
Axel Dörfler
4430d71191 Better error checking (at least panic if something goes wrong, instead of ignoring).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 19:51:17 +00:00
Axel Dörfler
139353cf1a Fixed two bugs in the new file extent caching code:
- under certain situations, the wrong extent could be chosen (off-by-one error)
- the resulting length of the first vector was incorrectly calculated for all
  extents but the first
Improved error checking a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 19:50:42 +00:00
DarkWyrm
8002431bb4 Style fixes to TermWindow.cpp
Removed trailing spaces after text generated by file drops
Added a few TODOs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 18:59:17 +00:00
DarkWyrm
401fdf8278 Style and header updates
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 18:00:37 +00:00
DarkWyrm
d863d4bf1d Made scanning of all font folders a compile-time option
Moved the scanning of individual font folders to FontServer
Implemented server-side code for update_font_families
Removed ClientFontList from the build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 14:55:46 +00:00
Ingo Weinhold
4b9ec73e99 We need to override the virtual close_fd() in BFile for binary compatibility
(bug #43).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 09:26:59 +00:00
DarkWyrm
fdbc56b338 Fixed build for R5 target
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 20:50:58 +00:00
DarkWyrm
2cd1ecf22d Added some handler code for when no CD drive can be found
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 20:24:55 +00:00
Axel Dörfler
c3c73413e8 Removed execute property from source files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 17:37:44 +00:00
Jérôme Duval
cab4e35c22 make sure we don't load Blackness addon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 15:17:47 +00:00
Axel Dörfler
d50852ad0c Fixed creation of the "Screen Savers" directory; due to the bug in the fs_shell_command,
it ended up having a '\' in it.
Added bochs config line example for an 80 MB image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 12:38:39 +00:00
Axel Dörfler
ee0951d2b5 Fixed missing escaping of spaces in command names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 12:34:24 +00:00
Jérôme Duval
acdf6df22c rc was moved to objects
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 12:33:16 +00:00
Jérôme Duval
2218507532 screen savers are in Screen Savers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-10 14:51:54 +00:00
Jérôme Duval
96d447a201 added screen saver kit components
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-10 14:51:21 +00:00
David McPaul
6108dafc2a Code Cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-10 10:46:25 +00:00
Axel Dörfler
13d77a4cde Now fills in the machine field with something more appropriate (currently mimics
BeOS behaviour). Maybe we want to have some different values here later on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 22:58:58 +00:00
Marcus Overhagen
92ac3fafcf fixed debug build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 18:45:39 +00:00
Axel Dörfler
7964c56d67 Added vfs_get_cwd() call to get the mount_id and vnode_id of the current
working directory (instead of the full path).
Cleanup of some remaining "int" status variables (where it should have
been a "status_t").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 16:25:01 +00:00
Axel Dörfler
9962d68b54 Now cleanly frees all resources when removed from the cache.
Also removes team listeners when the session is deleted.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 16:20:23 +00:00
DarkWyrm
6d41bc18b1 Added handling code for when CDDB lookup fails
Changed the way logging is set in CDDBQuery
Fixed a bug which caused some funky behavior in Shuffle mode
Missed adjusting Loop and Shuffle buttons when AdjustButtonState was introduced. Fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 16:12:06 +00:00
Axel Dörfler
8733b7318d The stack trace in the kernel debugger is now safe against accessing invalid
user memory (it got its own fault handler). IOW the stack frame is not changed
in that case anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 16:09:26 +00:00
Michael Lotz
d35c42a0c9 Ok, hopefully fixed all problems with Message3 now. Flat buffers are so fragile...
Also cleaned up Message3.h revert it if you think its a binary compatibility issue.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 14:27:35 +00:00
Michael Lotz
629192bcaa Corrected the count in building the MessageSpeedTestLookup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 13:34:37 +00:00
Axel Dörfler
dd3c15369e The "consoled" application was broken since r13800 - it did open the console driver
in read-only mode, but only wrote to it (which erroneously worked before that change).
Only a white screen appeared, no prompt, nothing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 13:21:01 +00:00
Michael Lotz
90dc946130 Actually the Message3 implementation was broken. It still is, because we lose one (but an important) byte somewhere when resizing the flat buffer. But at least the design flaws should be corrected with this commit. You can go ahead and review it Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 05:49:13 +00:00
Michael Lotz
3019039f4f This is the third implementation of BMessage. It operates purly on a flat buffer. It should be completely working and it is fast. See: http://haiku.mlotz.ch/messagespeed.html
Sorry to pollute the repository with all those extra files, they will be (re-)moved when the decision about which implementation to use is made.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-08 01:34:09 +00:00
Michael Lotz
896d777151 Changed the MessageSpeedTests for flatten/unflatten. They now measure the actual flatten/unflatten and not reading from or writing to disk. Otherwise comparison would be worthless.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-08 01:10:42 +00:00
Michael Lotz
3a7d8dfa74 Tiny fix for the MessageItemTest10
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-07 23:43:43 +00:00
Michael Lotz
49b4f78f95 Minor correction.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-07 17:49:38 +00:00
Michael Lotz
97d2f9c04d Redone the MessageSpeedTests. Results can now be logged to file too.
For a comparison see: http://haiku.mlotz.ch/messagespeed.html

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-07 17:26:42 +00:00
Michael Lotz
024ef0b800 Fixing and adding more BMessage speed tests. Previously messages weren't written at all. This shows that Message2 is actually much faster than the R5 version in flattening. The current implementation is sometimes a lot faster than Message2 though but doesn't scale that well.
Added libmessagetest.so to test specifically the BMessage implementation.
Fixing some other unit tests along the way - quite many of them are borken.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-07 13:19:49 +00:00
Marcus Overhagen
8f9dff78dc cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-06 22:38:28 +00:00
Michael Lotz
54ca2a11db Moving towards more flat buffering. Speed is still lower than the original Be implementation, but it's not because of the backend, it's probably the slow BMessage::Header implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-06 15:03:18 +00:00
Michael Lotz
0401007080 Fix build of libopenbeos.so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-05 17:20:38 +00:00
Michael Lotz
0c22832d6b Hopefully fixed build of libbe.so and libopenbeos.so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-05 17:18:07 +00:00