David McPaul
67bd3f8a49
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:04:59 +00:00
David McPaul
30dd64ce04
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:04:37 +00:00
David McPaul
c6ecd9c8dc
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:04:00 +00:00
David McPaul
66ba2a5263
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:03:43 +00:00
David McPaul
31ccd4b91b
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:03:17 +00:00
David McPaul
8c2268fcfc
Update avcodec to 20080825 (sorry for the spam, needed to break this up)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:02:50 +00:00
David McPaul
ae0c133a58
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:02:19 +00:00
David McPaul
849522d6d0
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:02:05 +00:00
David McPaul
092fe53c23
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:00:59 +00:00
David McPaul
a191927369
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:00:39 +00:00
David McPaul
70a0cbbb07
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:00:22 +00:00
David McPaul
b44406a7fc
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:57:54 +00:00
David McPaul
ab1b76ccbe
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:52:45 +00:00
David McPaul
2617db026c
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:52:29 +00:00
David McPaul
ed4a799c2c
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:51:33 +00:00
David McPaul
7052b75ea5
Update avcodec to 20080825
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:51:10 +00:00
Ingo Weinhold
6608ae57c1
* Added "profile" command to the image.
...
* Enforced 80 columns limit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:46:40 +00:00
Ingo Weinhold
8df6a8dbf5
* Moved strace sourced to src/bin/debug/.
...
* Factored a few functions out of strace that can be reused.
* Added the beginnings of a "profile" command. It is very much work in
progress, though it is already able to profile the main thread of a
program.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:45:43 +00:00
David McPaul
c7f27caff8
changes to handle avcodec aac
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:37:51 +00:00
Ingo Weinhold
cbcebd3330
* Extended the debugger API by sampling-based profiling support. This is
...
still pretty much work in progress.
* Introduced init_thread_debug_info() which is used instead of
clear_thread_debug_info() when the thread is created. The latter
requires former initialization.
* user_debug_thread_deleted() is now already invoked in thread_exit(),
not in the undertaker.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:36:31 +00:00
Ingo Weinhold
243300b289
For the time being allow page faults to happen when interrupts are
...
disabled, as long as a fault handler is installed for the thread. It
allows user_memcpy() to be invoked with interrupts disabled -- in this
case it will simply fail, when the address is valid, but not mapped yet.
This is a more desirable behavior for debug facilities, though in all
other cases it is likely a bug. We should probably introduce a thread
flag to discriminate these situations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:18:11 +00:00
Ingo Weinhold
e670fc6f63
Added new parameter "skipIframes" to arch_debug_get_stack_trace(). That
...
many iframes are supposed to be skipped before recording the stack
trace. Currently implemented for x86 only.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:09:14 +00:00
Stefano Ceccherini
7bc02c61bd
simplified this weird code, while also fixing CID 1059
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:02:39 +00:00
Ingo Weinhold
b4ec7b8ee5
Added (kernel private) B_PEEK_PORT_MESSAGE flag for read_port_etc().
...
When specified, the message is read but not removed from the port.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:59:49 +00:00
Ingo Weinhold
68e6763b07
Added functionality for iterating through the symbols of a debugged
...
team's image to libdebug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:47:59 +00:00
Stefano Ceccherini
0bec71008b
moved the NULL check before dereferencing the view pointer. CID 1063
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:44:07 +00:00
Stefano Ceccherini
a57b0996eb
cleanup and return in error case, otherwise a stale style pointer could be added to the family. CID 1246
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:26:43 +00:00
Stefano Ceccherini
437ecc65ae
delete -> delete[]. CID 141
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:19:31 +00:00
Stefano Ceccherini
ec10ce591d
delete -> delete[]. CID 151
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:15:54 +00:00
Stefano Ceccherini
99b75a6f12
delete -> delete[]. CID 121
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:11:58 +00:00
Stefano Ceccherini
c96c57848d
this was supposed to be part of the previous commit
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:04:34 +00:00
Stefano Ceccherini
ad7014b0d8
Other small style changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:00:52 +00:00
Stefano Ceccherini
6aa49afc14
set fScanLine to NULL after freeing it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 10:44:43 +00:00
Stefano Ceccherini
a50feb079d
more style changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 10:38:46 +00:00
Stefano Ceccherini
6da7e6450f
Style changes. No functional change
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 10:30:45 +00:00
Stefano Ceccherini
9179339c4a
free the allocated strings in error case. CID 864
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 08:01:33 +00:00
Stefano Ceccherini
59afe07d2c
use MemoryDeleter to make sure we free 'flattenedRuns' on error, in every case. CID 905
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 07:49:27 +00:00
Stefano Ceccherini
697dfc3e47
delete -> free(), as the array is allocated with malloc
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 07:37:03 +00:00
Stefano Ceccherini
2749af3ff8
BTextView::FlattenRunArray() doesn't take ownership of the passed array. Fixes CID 904
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 07:35:58 +00:00
Stefano Ceccherini
b56c51bcba
set fPanRamp and fGainRamp to NULL after deleting them, otherwise they could be double-freed. Also dont' check for NULL before calling delete. CID 1230 and 1231
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 07:17:27 +00:00
Stefano Ceccherini
dd52d6d1a0
the 'base' string was leaked. CID 1296
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 06:51:59 +00:00
Stephan Aßmus
ff168f4e77
Use the dedicated BView constructor for using layout management.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-14 20:28:35 +00:00
Stephan Aßmus
14f6345690
Several fixes to BMenuField layout calculations.
...
* The most important fix is that in BMenuField::_ValidateLayoutData(),
divider was calculated, but then never used. If the menu field was not
using the layout management, it should take the existing fDivider into
account, but never did. This caused #2728 .
* Added some tracing that helped me debug this.
* Fixed a bunch of layouting inconsistencies. It will also improve some
unnecessary resizing of the menu bar.
Will test all of this some more. But in the test app I do have, the BMenuField
works more like in BeOS now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-14 19:01:54 +00:00
Stephan Aßmus
0095fe722a
* Added a comment about the purpose of the code in AttachedToWindow().
...
* Improved FrameResized(). The "diff" is actually between the new location
of the right side (Frame().right) and the location where it probably was
in the parent before it is resized (fMenuField->Bounds().right - 2).
Could be that this change is wrong, or at least, not yet correct. Will
test on a different machine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-14 18:52:30 +00:00
Stephan Aßmus
0ce571055a
This class helps me with tracing function enter/leave output. It is passed
...
a static integer that it uses for indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-14 18:46:26 +00:00
Michael Lotz
fbf8d9c8dc
Remove superfluous NULL check as menu being non-NULL is asserted at the top.
...
Fixes CID 1075.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-14 18:09:35 +00:00
Michael Lotz
f679edb6e4
Don't build the context menu before checking for NULL. Fixes CID 1077, though
...
the Tracker sources should really be cleaned up to use nothrow and/or exception
handling more consistently.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-14 17:51:13 +00:00
Michael Pfeiffer
7aafe66984
As reported in ticket #2477 the fix in r27149 does not work for NTFS partition.
...
Now all partitions are bootable that do not contain a partitioning system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-14 12:43:41 +00:00
Axel Dörfler
959ff00dde
* Removed Bitstream Vera fonts, they are replaced by the DejaVu ones.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-14 11:16:12 +00:00
Axel Dörfler
dea4ee1980
* Changed the error return by bfs_link() to B_NOT_SUPPORTED.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-14 10:39:29 +00:00