Commit Graph

9817 Commits

Author SHA1 Message Date
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
shatty
5944d78858 add descriptions and formats for tobias audio streams
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 12:58:02 +00:00
shatty
89cc288194 add output format and byte order to the registered media_format
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 12:56:34 +00:00
Ingo Weinhold
fc64fadfd7 Argh! No wonder, why the Jamfile cache didn't seem to have any effect:
A bug in the function reading the cache file caused everything after a
file beginning with an empty or comment line to be ignored. Since our
Jamrules begins with a comment and only after reading Jamrules the cache
starts to work anyway, it indeed had no effect at all.
Added some error output in case reading the cache file failed, so that
this can't happen unnoticed again.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 12:19:13 +00:00
Ingo Weinhold
0eddefbe02 With our new gcc 2.95.3 we need to explicitly link against libnet.so again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 12:08:24 +00:00
Nathan Whitehorn
6686b03883 Fixed forward with attachments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 02:45:37 +00:00
Nathan Whitehorn
a8574e9d75 Fixed a crashing bug that would occur when you switched between preferences tabs while adding a Match Header filter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 01:39:17 +00:00
beveloper
aa5bc42ba6 print more info about the chunk before aborting on 0 size check
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 20:28:56 +00:00
beveloper
84f1c37fc5 Added a lot of checks to read slightly broken AVI files, as those created by Pinnacle Studio 9 for Windows, without problems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 20:22:23 +00:00
Axel Dörfler
6f5f688cde Thanks to Ingo, symbolic links are now correctly read all the time.
devfs_read_link() and rootfs_read_link() could write beyond the buffer
size passed in (off by one).
The comment for _kern_read_link() didn't fit to what the function really
did.
common_read_link() no longer null terminates the link - it's the file
system's responsibility to do that.
fs_read_link() is not supposed to return the length of the link anymore,
but only B_OK for success.

Note, we deviate slightly from POSIX here, where even a buffer too small
would be filled, and no terminating null byte has to be written at all.
We always return an error in case the buffer is too small, and the link
is not partially copied into the buffer.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 13:11:46 +00:00
Axel Dörfler
4ee37a6c5c fs_read_link() returns status_t, not ssize_t anymore (ie. the size of the
link is not returned anymore).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 13:06:16 +00:00
Axel Dörfler
755901d835 bfs_read_stat() now correctly reports the size of a link for symbolic links
that are short enough to be placed in the short symlink region.
bfs_read_link() now makes sure that the link read is always null terminated.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 13:05:03 +00:00
Jérôme Duval
4c6085f68c Clean up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 09:50:01 +00:00
Stefano Ceccherini
6dc85dbf52 Added a comment to some stuff which wasn't so clear (thanks to Andrew for clarifying this).
Now we free() the run_array allocated by "RunArray()" (as we're supposed to do), thus removing a leak.
Changed some includes from <> to "" just for my personal pleasure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 09:18:35 +00:00
Stefano Ceccherini
f900119889 Style changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 09:11:53 +00:00
Stefano Ceccherini
08db68e8ee It turns out that nothing was broken in TextView.cpp, and the fact that BTranslationUtils::GetStyledText()
crashed when used with our BTextView if the STELine struct was 12 byte in size, was just because
libtranslation.so was using BeOS's BTextView, where the size of that struct is 16. In fact, linking against our
 libtranslation.so doesn't avoid the crash, while compiling that lib against our BTextView and then linking
against it makes the crash disappear.
Changed the comment near that struct.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 06:38:26 +00:00
Axel Dörfler
eeb4323204 Implemented devfs_unpublish_partition() and devfs_unpublish_file_device().
Made the FS internal API a bit more consistent.
Removed devfs_unlink(), and devfs_rename() (which was just returning EROFS
anyway) - the devfs now appears completely read-only to the user. All
changes are triggered by kernel internal APIs (most usually through either
the devfs itself (old style drivers), the disk_device_manager, or the
standard device_manager).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 02:24:30 +00:00
Axel Dörfler
e876e8c516 Implemented devfs_publish_file_device(); it should actually work, but I haven't tested it yet.
Also implemented the now needed devfs_read_link() function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-29 01:58:08 +00:00