Axel Dörfler
a36b16ba28
Added MIME types for WMA/WMV media.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 11:58:37 +00:00
Axel Dörfler
dd2e2231b0
Fixed a warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 11:56:29 +00:00
Stefano Ceccherini
f19d9d3b36
Moved functionality of do_argv() into a new static helper function called fill_argv_message(). Now do_argv() handles the B_ARGV_RECEIVED message (incidentally, thats almost how it
s done in beos). That made DispatchMessage() a bit cleaner.Added some comments. B_PATH_NAME_LENGTH + 1 --> B_PATH_NAME_LENGTH.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 11:18:42 +00:00
Axel Dörfler
836356a0ca
Since we now have a working B_BASE_ADDRESS, we don't need the "RLD_padding"
...
area anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 04:02:42 +00:00
Axel Dörfler
c3808a9e47
Address specifier B_BASE_ADDRESS actually didn't work at all - it now does.
...
Renamed find_reserved_region() to find_reserved_area(), and
find_and_insert_region_slot() to find_and_insert_area_slot().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 04:02:11 +00:00
Axel Dörfler
8a16a1a0c9
lock_memory() now at least makes sure that the memory range is mapped in.
...
It's a bit hackish due to the iospace area, and it also might not work
perfectly in all situations, but it does fulfill the current needs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 02:39:37 +00:00
Axel Dörfler
c2c20b7848
Incorporated some code from NewOS to set up a double fault handler.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 01:46:46 +00:00
Axel Dörfler
09eaf756d0
Included some code from NewOS to set up a double fault handler. Doesn't seem to work yet, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 01:46:04 +00:00
Stefano Ceccherini
bd6c26014a
Now it calls ScriptReceived if it receives a scripting message in MessageReceived(). Falls back to BLooper::MessageReceived() in case something goes wrong (just to be safe).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 23:29:03 +00:00
Axel Dörfler
e082899afe
Replaced SYS_MAX_PATH_LEN with B_PATH_NAME_LENGTH.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 23:15:25 +00:00
Axel Dörfler
220a60685b
Updated because of some header changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 23:14:56 +00:00
Axel Dörfler
84a910b64f
Updated because of header changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 23:02:18 +00:00
Axel Dörfler
a1d0963176
Locking of the vm_cache_ref was almost completely missing...
...
cache_node_{opened|closed}() now correctly get the file_cache_ref from a vm_cache_ref.
Implemented cache_prefetch(): for now, it always prefetches the first 64 kB from the file.
Renamed read_from_cache() to read_into_cache().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:58:40 +00:00
Axel Dörfler
fcab2bafe0
Added a pointer to the file_cache_ref to the vnode_store.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:47:41 +00:00
Axel Dörfler
d316037c89
Updated because of header changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:46:11 +00:00
Axel Dörfler
64e7394c50
PARANOID_POINTER_CHECK is now only defined if DEBUG is defined, too, by default.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:44:17 +00:00
Axel Dörfler
97dda329ed
Some header work to reduce dependencies. Also fixes the debug build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:22:45 +00:00
Axel Dörfler
5c143f85ad
cache_node_closed() and *_opened() now accept a vm_cache_ref as first
...
parameter instead of a void pointer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:21:51 +00:00
Axel Dörfler
b2ac251743
Replaced SYS_MAX_PATH_LEN with B_PATH_NAME_LENGTH.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:19:26 +00:00
Axel Dörfler
204db7744a
get_new_fd() now has a separate fs_mount parameter, so you no longer need to cast
...
different types to vnodes.
Renamed vfs_get_vnode() to vfs_lookup_vnode() as it doesn't grab a ref to the node.
Added new vfs_get_vnode() that actually grabs such a ref.
vfs_get_vnode_cache() now fills a vm_cache_ref instead of a void pointer.
Replaced SYS_MAX_NAME_LEN constants with the B_FILE_NAME_LENGTH that should have
been used there.
vnode::cache should have been a vm_cache_ref and is now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:17:00 +00:00
Axel Dörfler
d786bd1324
Renamed vfs_get_vnode() to vfs_lookup_vnode() as it doesn't grab a ref to the node.
...
Added new vfs_get_vnode() that actually grabs such a ref.
vfs_get_vnode_cache() now fills a vm_cache_ref instead of a void pointer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:07:27 +00:00
Axel Dörfler
5d45bbd482
Now uses ASSERT_LOCKED_MUTEX() some more.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:05:47 +00:00
Axel Dörfler
3a5d1279cf
vm_create_vnode_cache() now fills a vm_cache_ref instead a void pointer.
...
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:05:05 +00:00
Axel Dörfler
c00c141557
vm_create_vnode_cache() now fills a vm_cache_ref instead a void pointer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:04:26 +00:00
Axel Dörfler
21bf7339b1
Moved B_KERNEL_{READ|WRITE_AREA} from vm_types.h to KernelExport.h.
...
Small header cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:01:26 +00:00
Axel Dörfler
47d0b95b38
Moved B_KERNEL_{READ|WRITE_AREA} from vm_types.h to KernelExport.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:00:23 +00:00
Jérôme Duval
1e5cafe522
changed location for some filesystem addons
...
This implies to clean this location before the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 21:26:58 +00:00
Axel Dörfler
cb44b765b0
Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 21:21:06 +00:00
Jérôme Duval
0c46f3c6e9
add lowercase short filenames support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 21:13:45 +00:00
Jérôme Duval
e0169612c9
added serial_mouse to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 14:22:09 +00:00
Rudolf Cornelissen
52ab726536
added more 3D specific engine registers needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 13:36:10 +00:00
Rudolf Cornelissen
a8a807c705
(hopefully) completed global 3D engine initialization.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 13:34:28 +00:00
Rudolf Cornelissen
a282e63d4b
added defines for set of unknown registers needed for 3D
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 12:05:39 +00:00
Rudolf Cornelissen
ad6f3cd184
added programming of set of unknown registers for 3D acc setup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 12:04:17 +00:00
Stefano Ceccherini
833a592226
Added B_SILENT_RELAUNCH handler. Expanded a comment.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 10:59:35 +00:00
Axel Dörfler
6363d47567
Better debug output to ease userland debugging while we don't have any tools.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 03:41:32 +00:00
Axel Dörfler
071ac2932a
Implemented bfs_get_vnode_name().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 02:43:42 +00:00
Axel Dörfler
299e521546
Added buffer size parameter to Inode::GetName().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 02:43:02 +00:00
Axel Dörfler
c838911b01
Improved error handling, error messages now go to stderr, the (real) program
...
name is now always prepended.
Now prepends a "name=" infront of the query predicate in case BQuery::Fetch()
returned B_BAD_VALUE, so we accept things like "query foo" just like Be's
version.
Also improved the usage text information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 23:19:48 +00:00
Axel Dörfler
66340e6747
get_vnode_name() for file system's that do not export the fs_get_vnode_name()
...
function was slightly broken :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 23:12:08 +00:00
Axel Dörfler
4692c99460
Added function that allocates more than one page at a time, but without
...
the need for having them in a run.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:53:47 +00:00
Axel Dörfler
c02ff3b775
Reenabled query support for the Haiku kernel.
...
Implemented bfs_rewind_query().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:51:50 +00:00
Axel Dörfler
467954408f
Added Query::Rewind() method - not yet tested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:50:45 +00:00
Axel Dörfler
0ddccfdc7a
We now have atomic_test_and_set() and atomic_set() in the kernel directly.
...
Removed Metrowerks support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:49:51 +00:00
Axel Dörfler
62986df7c4
Added a MakeEmpty() method.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:48:40 +00:00
Axel Dörfler
805cd92d90
Just a commentary changed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:47:50 +00:00
Axel Dörfler
4d875b0525
Adapted because of the changes made to _kern_open_query().
...
Implemented BQuery::Rewind() - there is no reason not to do this, as the
kernel has no extra work because of this.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:41:10 +00:00
Axel Dörfler
f6743bd145
Added query support - it's more or less the same as found in R5 for now.
...
Later on (but before R1), we should find a better balance between what
the FS has to implement, and what the kernel delivers to them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:39:45 +00:00
Axel Dörfler
62ceb50f43
Refactored fs_open_query() calls a bit - there is no only one internal
...
implementation that the two public functions call.
Adapted to the changes to _kern_open_query().
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:35:27 +00:00
Axel Dörfler
dfb71e0444
Added a query length parameter to _kern_open_query() - it's much easier to
...
do these things in userland.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:33:58 +00:00