Commit Graph

9534 Commits

Author SHA1 Message Date
Axel Dörfler
7a577b56a1 Now starts a login shell.
Renamed console_reader() function to keyboard_reader().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 21:35:10 +00:00
Axel Dörfler
0759a7e5da pipefs_create() now also allows to open an existing pipe.
The inode now keeps track of the number of readers/writers.
Inode::BytesInChain() is now only used protected by the request lock.
Implemented some missing POSIX demands:
- when the last writer is closed, all waiting read requests are aborted
- pipefs_write() now returns EPIPE and signals the current thread with
  SIGPIPE in case there are no readers left
- pipefs_read() will now return 0 in case there are no writers and no
  unread buffers left in the pipe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 20:36:09 +00:00
Axel Dörfler
fa00c58619 Fixed a potential memory leak in devfs_open().
Correctly implemented devfs_create() - it will now open the an already
existing file if O_EXCL is not set, and no longer fail with EROFS.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 20:20:37 +00:00
Axel Dörfler
26fbfbaa64 Added some more debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 20:18:46 +00:00
Axel Dörfler
7adec93fe8 Added some minor debug output, and a ToDo comment for file_seek().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 19:48:40 +00:00
Ingo Weinhold
8370cac7f6 Changed my mind. Now BPartition has a method to get the mount point of the partition, respectively a potential mount point, for partitions not yet mounted.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 19:38:47 +00:00
Ingo Weinhold
419458bc96 Moved getting a partition's future mount point into a separate function, so it can be reused by mountvolume.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 17:02:12 +00:00
haydentech
f260cedb5a Implement bare-bones AS_SYNC message handling - this fixes a problem whereby app_server<->client communications would come to a stop since the client expected a reply from this message and would never get one because it was unimplemented
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 16:18:44 +00:00
Ingo Weinhold
ec2680f053 BDiskDevices are partitions, too. Hence PartitionFilterVisitor should not ignore them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 15:56:47 +00:00
Ingo Weinhold
5198376e54 Updated BDiskDeviceList. The implementation was still reflecting the first version of the DiskDevice API. Untested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 15:27:45 +00:00
Ingo Weinhold
08387795eb Removed VisitAll(). That's exactly what VisitEachPartition() does (since disk devices are special partitions).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 15:25:37 +00:00
Axel Dörfler
de0807a907 Now uses the file name to build the area name, and not the full path anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 15:24:39 +00:00
Axel Dörfler
e4211d820c Fixed another bad bug in the file cache: when one iovec would have to be
divided into several parts, it could happen that overwrite the whole data
portion with data beyond the part that should have been read.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 15:20:27 +00:00
Jérôme Duval
69f792c6bc added COMPILE_FOR_R5 flag for C too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 14:16:34 +00:00
Jérôme Duval
cfc8fb12a7 Added Pentium M label
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 14:11:26 +00:00
Jérôme Duval
83b629e1ad Added Pentium M cpu type
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 14:07:56 +00:00
Rudolf Cornelissen
49ae5ccbc8 updated doc for release 0.30
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 14:05:37 +00:00
Rudolf Cornelissen
ba383daddb finalized driver for release 0.30
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 14:02:28 +00:00
Ingo Weinhold
06f517532d The order of parameters for fs_mount_volume() changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 13:03:04 +00:00
Axel Dörfler
9f8f97f528 tty_write_to_tty() used the wrong TTY to look at the ECHO flag; also added
a comment that explains why the other TTY has to be chosen there.
Improved debug output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 03:55:53 +00:00
Axel Dörfler
b4fd3816c8 Fixed the stupid bug that prevented you to see what you typed in when bash
was running. Thanks a lot to Jerome Duval who found this!
Since TTY ECHO mode doesn't look too well with the old shell, it will directly
start "sh" now, which should be the bash.
No longer prints out the TTY used when started, but now sets (as usually
done in BeOS) the TTY environment variable.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 03:51:21 +00:00
Axel Dörfler
0e0c2b2927 Now defaults to automatic file system recognition by the disk device
manager - note, this currently does not until the different module
APIs for file systems are merged together.
fs_mount_volume()'s order of arguments was changed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 01:05:30 +00:00
Axel Dörfler
ffc27ddbe7 fs_mount_volume() changed the order of arguments to be more intuitive.
Removed the fs_initialize_volume() function, as it's probably not going
to be needed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 01:03:04 +00:00
Axel Dörfler
ae4cfab6b9 Since the file system is usually recognized by the disk device manager,
there is no reason to let it appear important by having it as first
parameter; it's only used to override the DDM's decision if the user
so choses.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 01:01:21 +00:00
Axel Dörfler
eef883acab Semaphores created in the kernel always belong to the kernel; there is
absolutely no reason to move them to B_SYSTEM_TEAM (additionally, during
startup, set_sem_owner() may crash).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 00:52:27 +00:00
Axel Dörfler
efdc9c95d0 Replaced SYS_MAX_PATH_LEN with B_PATH_NAME_LENGTH.
Changed the last argument of _kern_mount() to be a string rather than a void pointer.
Greatly reduced the stack usage of _user_mount(); it now uses KPath instead
of on stack paths. It now also copies the parameter argument on the heap.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 00:35:27 +00:00
Axel Dörfler
eef5d24c90 Changed the last argument of _kern_mount() to be a string rather than a void pointer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 00:25:25 +00:00
Ingo Weinhold
7c8bb86f70 Fixed getting the target parameter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 23:56:16 +00:00
beveloper
c967a72787 a header file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 15:12:22 +00:00
beveloper
19f5624310 include the matroska file format
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 13:31:40 +00:00
beveloper
d045d4a282 Added jamfiles to build libebml, libmatroska and link them with the matroska reader
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 13:31:00 +00:00
beveloper
7b8eebe093 The matroska reader, right now unimplemented
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 13:25:28 +00:00
beveloper
47bb36150e Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 13:02:03 +00:00
beveloper
5d997962b8 Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 12:59:17 +00:00
François Revol
d55b4e24f8 don't complain about missing file for app sigs :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 12:23:32 +00:00
François Revol
018d52f277 missing List.h include
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 12:11:45 +00:00
François Revol
5ed1284994 Make it so open application/foo file opens file with foo,
and don't open foo again if it's running and we have files to give it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 12:10:01 +00:00
Bruno G. Albuquerque
d4af15a04b Now the spam filter works with BeMail. In any case, checking if the user has
the Spam Filter enables on any of his accounts does not seem to be a good way
to determine if we should show the Spam icon or not. Maybe we should check if
the Spam Server is available?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 03:18:03 +00:00
Nathan Whitehorn
f26833fccb Fixed some problems with installation, updated docs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 01:41:51 +00:00
Ingo Weinhold
da434e3af1 Added the bootstrap jam.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 23:23:34 +00:00
Ingo Weinhold
568dabdb50 Added a server that caches stat data and directory contents.
To use this feature run StatCacheServer somewhere in the background.

The first run of jam will be slower, but subsequent ones will usually
benefit. Only little, if the BeOS FS cache is able to hold the data,
but as soon as the number of files and directories jam has to inspect
hits the limit at which the cache drops data needed for the next run,
the performance difference will be very noticeable.
E.g. the time for a  "jam -n > /dev/null" in the root of a partially built
tree on my machine dropped from >1 min without the server to 13 secs
with it (not in the first run, of course).

Although tested quite a bit, I would still consider the feature
experimental.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 23:21:59 +00:00
Ingo Weinhold
49336e9ab1 Generated file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 23:02:00 +00:00
Bruno G. Albuquerque
b6aeabe4f6 AGMS Spam Filter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 22:23:26 +00:00
Bruno G. Albuquerque
3b672e1c5e Added Spam Filter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 22:22:16 +00:00
shatty
6371ad42f3 simplify Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 21:55:46 +00:00
Nathan Whitehorn
d67b4412fa Fixed net_server build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 21:40:41 +00:00
Nathan Whitehorn
c3a2f3930f Fixed a bug that would cause queued messages stored in IMAP directories not to be sent if IMAP mail was checked before queued mail was sent. This the last known bug in MDR.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 19:34:01 +00:00
Nathan Whitehorn
83cb1d3403 Finished fixing forward with attachments. There had been some UI issues when forwarding HTML e-mail. Only one more bug to go.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 17:43:01 +00:00
Nathan Whitehorn
fcdc48f1a7 Fixed a nasty bug I introduced when I fixed IMAP that made it impossible to send mail. Apparently I don't send that much.... it's been in there for a good week or so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 17:19:06 +00:00
shatty
a2c00cded5 do something slightly more reasonable with tobias audio streams
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 12:59:04 +00:00