Commit Graph

13991 Commits

Author SHA1 Message Date
Andrew Bachmann
144a7af719 add ffmpeg MPEG4 fourcc, and sorenson for avi
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 10:22:53 +00:00
Andrew Bachmann
e8b64a7478 mpeg4 video should be B_MEDIA_ENCODED_VIDEO, not B_MEDIA_ENCODED_AUDIO
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 09:19:11 +00:00
Andrew Bachmann
fa071ce3dc change variable types for compilation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 09:02:38 +00:00
Andrew Bachmann
6b08f7bd95 change variable types for compilation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 08:49:20 +00:00
Andrew Bachmann
7126bf11ab register some alternative 4cc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 06:36:21 +00:00
Andrew Bachmann
64bddfb663 build patch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 06:33:12 +00:00
David McPaul
a658e5df2d added support to MOV for MPEG4 video
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 05:12:22 +00:00
Marcus Overhagen
2fcd430e35 fixed DEBUG build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 02:00:12 +00:00
Marcus Overhagen
4ff43104e9 disabled regex debugging (the hard way)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:57:59 +00:00
Marcus Overhagen
fbcf75374b disabled regex debugging (the hard way)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:52:49 +00:00
Marcus Overhagen
4a0cd0c106 fixed DEBUG build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:44:46 +00:00
Andrew Bachmann
5fd5db9b3b UseLibraryHeaders zlib
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:41:11 +00:00
Marcus Overhagen
4230aad8a8 fixed DEBUG build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:39:39 +00:00
Marcus Overhagen
cc33b4a1ca This adds the required functions to libroot.so and fixes DEBUG build.
Unfortunately, they are pretty broken, so I added them into floatmath.c


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 01:30:46 +00:00
Marcus Overhagen
71c9501a76 fixed wrong usage of DEBUGGER macro
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 00:43:33 +00:00
Axel Dörfler
5b14757a30 We now have a consistent scheme what the file system should do with its root
node: like in BeOS, it *must* own the root node (ie. via publish_vnode()),
unlike in BeOS, it must also drop that reference on unmount (symmetrical
behaviour definitely makes more sense to me than the Be way).
Since all existing file systems for Haiku behaved differently, I brought them
in line (only pipefs already adhered to that new standard for some reason,
rootfs did only released the node, devfs did nothing - despite it's probably
not really useful to be able to unmount them).
fs_mount() will now panic if a file system does not do this correctly (useful
for file system developing).
Unmounting is now theoretically working again: when trying to unmount a BFS
volume, the kernel crashes in the block cache destruction... (but that's work
for tomorrow).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 00:41:16 +00:00
Marcus Overhagen
8c1bec29de fixed build with enabled DEBUG
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 00:39:42 +00:00
Andrew Bachmann
e0e43511c8 remove MakeLocate and MkDir1 which are in our Jambase. (make sure your jam is up to date from svn!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-21 00:17:01 +00:00
Marcus Overhagen
794df3bf25 This removes the inline assembly code for find_thread
from OS.h, sorry for triggering a complete rebuild.
To avoid doing a syscall for find_thread(0), the assembly
version is now in libroot. For BeOS R5 compatibility, 
_kfind_thread_ is retained. This will fix some compile 
problems, and provides a cleaner OS.h for future Haiku
versions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 23:57:11 +00:00
Andrew Bachmann
f721f59acd when using the default image, create a more descriptive name {architecture, debug/release (from DEBUG variable), date}. note: DEBUG images are currently not possible since some components do not build with DEBUG=1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 23:53:55 +00:00
Marcus Overhagen
edde83c450 cleanup of DEBUG and NDEBUG usage in media kit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 23:49:39 +00:00
Axel Dörfler
e6b682541e Fixed a stupid bug in the recently updated write_chunk_to_cache(): lastPageOffset
was incorrectly calculated, and could therefore cause all sorts of troubles with
writes over 4 kB.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 23:22:13 +00:00
Andrew Bachmann
6aa55e57d8 sorry for not committing the patches earlier, my dsl went down. :-(
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 23:02:08 +00:00
Axel Dörfler
8ca264f509 Fixed the makehdimage script that Andrew broke so violently :-P
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 22:42:17 +00:00
Marcus Overhagen
ca08707419 applied style guide a little bit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 22:17:04 +00:00
Marcus Overhagen
3bd6b367d8 removed unused NDEBUG
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 22:13:46 +00:00
Axel Dörfler
99e1c71ee6 - fixed a locking bug in the file cache: get_file_map() could been called with either
only a read lock on the inode, or without a lock at all (in case of prefetching) - it
  is now using the cache_ref's lock to make sure it's retrieved only once and doesn't
  waste/corrupts any memory.
- since that fix made it mandatory to fix write_chunk_into_cache() to not call pages_io()
  while holding the cache_ref's lock (was a to-do item before), I changed it to make
  that possible.
- It now also supports write-through caches in theory - as there is no way yet to tell
  a cache to work this way.
- Optimized for the not so uncommon case of writing the last part of a file that is not
  a multiple of the page size - it won't call pages_io() anymore then, but zero the rest
  of the page directly.
- vm_page_write_modified() is now calling write_page() without holding the cache_ref's
  lock as well.
The updated write_chunk_to_cache() is not so well tested, though, but appears to work
so far.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 21:32:31 +00:00
Axel Dörfler
07810890b5 Entering an empty line to the debugger will no longer match the first best command
available.
Broken escape sequences are now properly ignored (read one character too much before).
Since the current line buffer is part of the history, we now delete that buffer when
crossing the current line again while traversing the history (restoring the former
buffer would be the nicest way, but that would require another empty buffer and more
copying).
Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 21:24:13 +00:00
Marcus Overhagen
47a758b6c2 applied hotfix, but this decoder needs to be replaced with something secure and stable
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 21:16:09 +00:00
Andrew Bachmann
6b0cd2601e update to use OBOS_TARGET
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 21:06:07 +00:00
Andrew Bachmann
f48d5cf2a7 update to use OBOS_TARGET
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 21:00:11 +00:00
Axel Dörfler
70c3e1a42c The escape sequence for erasing lines is now also supported (it's used by KDL command history).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 20:55:02 +00:00
Axel Dörfler
ed73e0eefa arch_debug_blue_screen_getchar() can now also return escape sequences for cursor
movement - IOW, the history of kernel debugger calls is now working also from
the on-screen KDL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 20:53:44 +00:00
Andrew Bachmann
ae124a62f8 search all possible directories for rc. build patch for missing uname.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 20:45:29 +00:00
Axel Dörfler
a10cd10b2b Fixed a hypothetical bug: switch_sem_etc() was using thread_get_current_thread()
in an error message without checking for a NULL pointer (which happens during
early boot, and even though it would be impossible to get there at that time,
it shouldn't be accidently copied to anywhere else this way).
Added a compile time option to monitor the last thread that successfully
acquired a semaphore (disabled, though, only enable it when needed).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 20:13:05 +00:00
Andrew Bachmann
200c6baf88 fix mkdir with spaces bug. change target directory based on debug and target platform. remove version variable and its one usage in target directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 19:54:37 +00:00
Axel Dörfler
61aceefd6e The debugger command "waiting" now also accepts a semaphore as argument (specified by ID),
and will only list those threads waiting for that one if used that way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 15:57:56 +00:00
Jérôme Duval
130803f29b Auich BeOS Driver for Intel Southbridge audio
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 15:43:49 +00:00
Jérôme Duval
234f6d7cfc replaced with DEBUG macro
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 19:33:49 +00:00
Niels Sascha Reedijk
f6ea6477c0 Some major reworking. Re-enable the old way of building up the framelist pointers. MAke some parts more verbose for testing. Fix the stray td to actually something useful.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 18:06:00 +00:00
Jérôme Duval
16c05905ae forgot this one
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 15:24:08 +00:00
Jérôme Duval
19664a737a added UFC crypt library (LGPL)
provides crypt() to libroot, untested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 15:17:43 +00:00
Jérôme Duval
8e2e7170e9 now only prints to stderr (axeld suggestion)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 14:39:42 +00:00
Jérôme Duval
c10e4a93bd there can be no saver available (blackness)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 14:23:57 +00:00
Jérôme Duval
b27c5e9861 Blackness screensaver is a special case we handle now (now rendering thread ...)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 14:21:49 +00:00
Jérôme Duval
0a1f6e8966 added a little trace
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 13:23:38 +00:00
Jérôme Duval
7ac01f7eb9 variables are now inited correctly
works ok on R5


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 13:08:15 +00:00
Jérôme Duval
ef4279ea76 added some checks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 13:01:13 +00:00
Axel Dörfler
d6c32d2bf3 The debugger's "sc"/"where" command now accepts a thread ID as parameter (and
then shows the stack crawl of that stack instead of the current one).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 12:53:58 +00:00
Axel Dörfler
c987e126de Testing against IS_KERNEL_ADDRESS() is more correct.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 12:52:19 +00:00