Commit Graph

29955 Commits

Author SHA1 Message Date
Stephan Aßmus
1f3691df0f * In theory, we should support getting the video aspect from the current stream.
* Added "Force Aspect Ratio" to Video menu and context menu.
* Removed some code duplication in handling the video size messages.
* Added track selection sub-menus to the context menu, replacing the IMHO
  not so important interface settings items.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 18:48:00 +00:00
Stephan Aßmus
07cad22ee7 Connect the Audio/Video track selection menus with the controller. Works great.
Totally "gapless", unlike any other media player I've ever used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 17:42:54 +00:00
Ingo Weinhold
dec094bb73 Added expression support to the position text control. It's not quite the
direly missing "Go To" function, but better than nothing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 17:13:48 +00:00
Ingo Weinhold
c5791c74ed Jamfile that should have been part of the previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 17:11:45 +00:00
Ingo Weinhold
59d799dabc * Moved the mapm library from src/apps/deskcalc to src/libs and headers/libs.
* Moved the ExpressionParser class to shared. It's now built into its own
  static library.
* Added hexadecimal number support to the expression parser as well as
  Evaluation*() methods to get a number instead of a string.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 17:10:40 +00:00
Ingo Weinhold
aa6b2770fc Fixed gcc 4 warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 16:38:32 +00:00
Rudolf Cornelissen
9e347ade99 now checking for max. resolution on analog screens as well as on digital screens. Resolutions above 'native' resolutions are nolonger accepted. Bumped version to 0.94, updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 15:22:31 +00:00
Rudolf Cornelissen
c8453f43a4 driver now sets up internal EDID info related to CRTCs next to earlier introcuded code for EDID info related to connectors which makes it much more useable later on. This commit also hopefully fixes the problem introduced in R31183 shutting off some screens in 'invalid' connector setups that the driver tries to correct.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 14:53:07 +00:00
Jérôme Duval
c1094043c9 updated libpng to 1.2.37
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 13:46:52 +00:00
Jérôme Duval
590a78c63a updated mesa to 7.4.4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 13:40:23 +00:00
Rene Gollent
2688837424 Fix assertion when using Tracker in debug mode. This closes ticket #1636.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 02:27:59 +00:00
Rene Gollent
55e74cf261 Fix typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-28 02:10:43 +00:00
Ingo Weinhold
b5713f228a Added DwarfTeamDebugInfo and DwarfImageDebugInfo, the classes to interface with
the DWARF code. Not doing much yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 23:40:32 +00:00
Ingo Weinhold
bf4603576b Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 23:38:48 +00:00
Ingo Weinhold
7c3612f47d * Manage CompilationUnits in a BObjectList instead of a DoublyLinkedList for
nicer access.
* A CompilationUnit does now know its debug info entry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 23:38:17 +00:00
Ingo Weinhold
096f057d08 LoadFile() returns the loaded file, now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 23:36:50 +00:00
Ingo Weinhold
e39f300039 Added some accessors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 23:35:37 +00:00
Ingo Weinhold
7a7112b32d * Renaming and coding moving.
* Added locking to DwarfManager.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 22:12:26 +00:00
Ingo Weinhold
671ef9b084 * Some moving and renaming.
* Added TeamDebugInfo which serves as factory for ImageDebugInfos.
* Added the DWARF code to the build again. It's not used yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 21:09:21 +00:00
Axel Dörfler
10f01c97ec * Make sure that the bytes per scanline is always a multiple of 64. This fixes
1680x1050 with 16 bit on i865+ (still need to check the restrictions of
  older chips).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 18:07:37 +00:00
Ingo Weinhold
e455799925 Adjusted to recent TreeTable changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 18:03:33 +00:00
Stephan Aßmus
791a4a7774 Fixed building with tracing on...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 17:15:29 +00:00
Stephan Aßmus
f74eb15c31 Fixed building with tracing on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 17:14:48 +00:00
Stephan Aßmus
d8b88d0378 Whitespace cleanup and 80 chars/line fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 17:13:58 +00:00
Stephan Aßmus
7f3664f88e Small update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 17:07:13 +00:00
Ingo Weinhold
93b6484548 * Added support for loading the debug info for an image lazily and adjusted
the jobs accordingly.
* Added a view to list the source files and functions for an image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 16:49:55 +00:00
Ingo Weinhold
90011666aa GetFunctions(): Ignore non-function symbols.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 16:43:07 +00:00
Ingo Weinhold
fa982a133f Added support for tree table model listeners (mutation events), selection, and
collapsing/expanding nodes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 16:41:46 +00:00
Ingo Weinhold
17a8a6f74b Made ScrollTo(BRow*) more useful. Now it only scrolls, if the row isn't fully
visible and it only scrolls as much as necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 16:39:42 +00:00
Axel Dörfler
e0965f2727 * reload_driver() now also checks if the binary node changed, and will update
the node listener, to make sure it won't lose track.
* The DriverWatcher now also listens for B_ENTRY_REMOVED. This causes drivers to
  be unpublished even if they are only symlinked.
* However, to detect new drivers in a symlinked location, we'd need special
  support for those, and also need to watch the parent directory of the symlink
  target - this is close to overkill, so I stayed away from implementing that
  for now :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 14:24:55 +00:00
Ingo Weinhold
95917e07d0 * Fixed gcc3+ demangling. demangle_name_gcc3() already demangles the name
completely, including parameters.
* Whitespace cleanup.
* Coding style fixes.
* Keep variables as local as possible.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 14:23:47 +00:00
Philippe Houdoin
9a9e660b03 Coding style cleanup, take 2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 13:19:18 +00:00
Joachim Seemer
a9254f5462 As scottmc pointed out, there's no need for a two track cd anymore, which simplifies things. Updated ReadMe accordingly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-27 05:55:16 +00:00
Philippe Houdoin
a71dfdd88c Rollback to use demangle_name_gcc3() for gcc3+ to get qualified method demangling.
+ Cleanup coding style violations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 23:23:02 +00:00
Oliver Tappe
d157bf8522 [the first commit of this fix was applied to the 32bit-wchar_t-branch instead
of trunk]
Fixed a bug exposed by changes in the locale kit branch:
* the signature of stringbuf::setbuf() wasn't matching the one from streambuf,
  which caused the base version to be hidden instead of overridden - leading
  to crashes during cleanup of stringstream objects

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 21:54:46 +00:00
Michael Lotz
b5aac499d5 * Cleanup.
* The active fat field is valid if fats aren't mirrored, not the other way
  around.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 15:55:04 +00:00
Ingo Weinhold
6fb6551c97 * ThreadHandler::_ClearContinuationState(): Forgot to set fStepStatement to
NULL after releasing its reference, so it could be released again later.
* No longer attach the source code to StackFrame, but rather to
  FunctionDebugInfo. Besides being the more obvious place it also prevents
  un-/reloading the source code when stepping. Only disadvantage is that we
  never unload the source again yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 15:11:56 +00:00
Axel Dörfler
66ae5b2d99 * The block allocator will no longer try to fix a missing allocation on a
read-only volume. This fixes bug #3432.
* Journal::ReplayLog() will now return an error on a read-only device, rendering
  read-only dirty volumes unmountable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 15:03:42 +00:00
Axel Dörfler
5e08815985 * Allow more waste on index directories.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 14:54:54 +00:00
Axel Dörfler
c1b4d0ecc5 * Directories now only preallocate 4 KB.
* Reworked how preallocations are chosen, and also take the grow rate into
  account.
* Also, the preallocation is now rounded to the next multiple of the
  preallocation size (previously, a 64K write would only allocate 64K).
* This should also close bug #2573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 14:49:48 +00:00
Axel Dörfler
2dbad0651e * Fixed two bugs in CheckBlocks(), might help with bug #4042.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 13:47:13 +00:00
Ingo Weinhold
125e089e1a ImageDebugInfo does now gather function debug infos from all available sources
on init, keeping the most expressive one for each function. The interface
changed accordingly, i.e. it is now possible to iterate through the functions
and FindFunction() is now called FunctionAtAddress(), not returning a reference
anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 13:12:06 +00:00
Axel Dörfler
7f5bbbdc56 * Removed PI, and PI2 from math.h.
* Replaced all occurences with the standard macros M_PI, and M_PI_2.
* Some coding style cleanup on the touched files, no other changes besides
  adding a missing check for a failed memory allocation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 11:58:43 +00:00
Ingo Weinhold
29aec87efb Patch by Bryce Groff with small style changes by myself: Scale the values for
the partition size slider to MBs, so that the int32 doesn't overflow for larger
partitions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 11:11:57 +00:00
Axel Dörfler
3e69a3c24a * BFS allocated always full allocation groups in the bitmap, even if the last
group was a partial one. This caused bug #3963 (Be's BFS didn't do that).
* Added new BlockAllocator::CheckBlocks() that does not depend on allocation
  group limits - this fixes the problematic check in
  BlockAllocator::_Initialize() to see if the super block, the block bitmap,
  and the log area are all allocated - this only worked if they all fit into
  the first allocation group (which happens only with partitions with more
  than 1 billion blocks, ie. 2 TB would already be problematic with a 2K block
  size).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 09:36:17 +00:00
Axel Dörfler
1b5bab63e5 * Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 08:57:36 +00:00
Ingo Weinhold
1c6fd17f75 Pulled interface TeamMemory out of DebuggerInterface to make the arch and model
packages indepent of the latter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 00:39:23 +00:00
Ingo Weinhold
0f5f9d47b9 Allow calling with NULL _isObjectMethod parameter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 00:37:34 +00:00
Ingo Weinhold
43b0f7e0d7 * Moved breakpoint management into new class BreakpointManager and added
support for temporary breakpoints.
* TeamDebugger: No longer handle debug events in the listener thread. Instead
  post a message to the looper thread. Makes the locking a bit easier.
* Architecture: Added virtual GetInstructionInfo() and GetStatement() returning
  information on the instruction respectively a statement at a given address.
  Implemented for x86.
* DebugInfo: Added virtual GetStatement() and implemented it for
  DebuggerDebugInfo by means of using the Architecture.
* Implemented step over/into/out support. Works in principle, but has no
  handling for PLTs yet, i.e. stepping into functions of other libraries
  requires two steps ATM.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-25 23:51:09 +00:00
Philippe Houdoin
1a90a58f48 Reuse KDL demangler module demangle_symbol() and get_next_argument() to
improve userland Debugger arguments demangling support: 
now with argument name and/or type, when available.

I hope I didn't break coding guideline doing so.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-25 22:49:07 +00:00