Commit Graph

13991 Commits

Author SHA1 Message Date
François Revol
05f8437878 - fix ioctl args (varargs sux)
- add -b(lock) -u(nblock) tray to prevent eject


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 10:20:14 +00:00
Jérôme Duval
7a6ecf8983 fixes buggy focus
fixes static def


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 09:55:29 +00:00
Jérôme Duval
056ae67fb4 added a message runner so that rendering screensaver is resumed after some time has passed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 09:26:45 +00:00
Jérôme Duval
31ac1cfb0b avoids using a BAlert when no be_app is available
it avoids crashing but console apps using a BApplication still show an alert
we might want to keep only a stderr warning


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 08:50:26 +00:00
Axel Dörfler
851028d043 Fixed a warning I accidently introduced with the last change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 23:33:54 +00:00
Jérôme Duval
e10dacf9a3 Be => Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 15:31:06 +00:00
Jérôme Duval
386d67c7c4 more fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 15:30:25 +00:00
Jérôme Duval
6ebd8e95cd more fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 15:30:02 +00:00
Axel Dörfler
cd661dfcf8 Now dumps all semaphores matching the name you are searching for, not only the first one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 15:13:03 +00:00
Axel Dörfler
f79ba0f9ba Now always prints out a message if the searched sem could not be found, and not
only under certain conditions.
Now also accepts decimal numbers as IDs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 15:11:18 +00:00
Axel Dörfler
e5c0e4a655 Now prints an error if no thread matching the requested criteria could be found.
Simplified parsing the ID (no need to differentiate between hex and decimal, if
we do both anyway).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 15:09:30 +00:00
Axel Dörfler
e8e4accd16 Add some useful debugger commands to the VFS layer for dumping a vnode, an fs_mount, and
the mounts/vnodes list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 15:07:38 +00:00
Axel Dörfler
5913a657df Added two possible "ToDo" comments.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 12:41:18 +00:00
Axel Dörfler
ec130eefb6 TBarMenuTitle::DrawContents() now checks if there is a logo before trying to
draw it.
This fixes the crashing bug when being compiled from Zeta (because of the
different message storage format) - debugged under Haiku thanks to Ingo's
great work :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 00:05:37 +00:00
Jérôme Duval
3b0024c780 added screen_blanker's rdef
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-17 18:16:07 +00:00
Axel Dörfler
a4f1e9491d Fixed two warnings (comparison of signed and unsigned values).
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-17 18:07:50 +00:00
Jérôme Duval
cc5b91374f added focus
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-17 15:10:29 +00:00
Jérôme Duval
0b0923357e improved password handling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-17 14:31:28 +00:00
DarkWyrm
3406dc829e Added a way to test the server under R5 with regular apps. First app: Clock
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-16 12:43:12 +00:00
Alexander G.M. Smith
5c81a5b9a8 And one more redundant printf.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-15 02:08:58 +00:00
Alexander G.M. Smith
c55a1c5efa Get that revision number showing in the about box, and remove a
debugging printf.  At least I assume it's for debugging...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 21:21:31 +00:00
Alexander G.M. Smith
2a7b6c25c8 Source code changes so that mboxtobemail now compiles and is in the build system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 02:25:28 +00:00
Alexander G.M. Smith
aef29f9e4f More file movement for the BeMail utilities... Content updates later
to avoid confusing svn.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 02:10:49 +00:00
Alexander G.M. Smith
51a063b6b0 Rename the directory before doing anything else, otherwise svn dies badly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 02:05:27 +00:00
Alexander G.M. Smith
c4222279ba Spam database manager can add itself to the package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 01:47:34 +00:00
DarkWyrm
69554e1221 fixed launching of new terminal windows
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 00:42:26 +00:00
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