3175 Commits

Author SHA1 Message Date
Jérôme Duval
778f56175e * uses the full view for the ScopeView
* adjust the VUView range for the INT format
* cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 22:51:58 +00:00
Ingo Weinhold
d4d63490af * Moved ThreadInfo from ModelLoader to Model. And renamed it to
ThreadSchedulingState. Also moved the management of the thread scheduling
  states into a new model class SchedulingState, which is now used by
  ModelLoader.
* Added scheduling state snapshots to Model. The ModelLoader adds a complete
  snapshot every 1024 events, so that seeking to scheduling state at a time
  can be done quickly.
* [Featuring stippi] Added actual functionality to the scheduling page. It
  shows the scheduling activity of all threads and one can zoom in and out.
  Looks somewhat ugly and is work in progress.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 18:57:57 +00:00
Stephan Aßmus
5c7514c317 Patch by idefix: Make the source items behave exactly like the target items
with regards to the label & style cleanup. Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 17:35:51 +00:00
Stephan Aßmus
c4bd44f3a9 The custom separator view is no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 15:49:22 +00:00
Stephan Aßmus
9b4593e3a0 * Fixed some problems of the dynamic layout, basically, the upper part of the
window will now stay fixed when you expand the optional packages and collapse
  them again.
* Updated the text about having prepared a partition, since we can now indeed
  create and delete partitions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 13:37:42 +00:00
Ryan Leavengood
8a05db2d0e Icon-O-Matic: Snap to Grid, 64 x 64 is now set by default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 01:02:17 +00:00
Stephan Aßmus
a9cee0f1c4 Improved contex menu according to ticket #4081:
* When right-clicking a path point directly, and it isn't currently selected,
  switch the selection before showing the context menu.
* Don't show the "Select All" menu item when directly clicking any path point.
* Fix the shortcuts.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 14:35:33 +00:00
Stephan Aßmus
5c0e62f05a Disabled the Transformation and Perspective transformers for the time being.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 14:23:14 +00:00
Stephan Aßmus
8d6b4788b9 * Implemented rotating path point indices.
* Improved menu items in Path list view.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 13:41:17 +00:00
Stephan Aßmus
5bd358ac3d Improved menu item labels.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 13:40:27 +00:00
Stephan Aßmus
c5b8c482cc Use the descriptive labels also for source menu items. Helps a lot in case
you have three partitions all named "Haiku"... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 13:12:25 +00:00
Stephan Aßmus
b50e7f5e3b Includes cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 13:11:34 +00:00
Axel Dörfler
72f5ac30df * Made Deskbar not minimizable as well.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 11:23:27 +00:00
Stephan Aßmus
5147963dcd headers/private/kernel/util/OpenHashTable.h, Hugo's version, is a bit nicer than
Tracker's OpenHashTable.h which it should eventually replace. We've renamed the
class to BOpenHashTable and changed the interface slightly so that HashTableLink
became superfluous.
Adapted all the code that used it. Since the OpenHashTables no longer clash,
this should fix the GCC4 build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 00:39:12 +00:00
Stephan Aßmus
d665b9ca2e Fix the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 00:25:05 +00:00
Axel Dörfler
386f070197 * Work-in-progress on a new scheduling page.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-26 22:18:26 +00:00
Jérôme Duval
6eec9d2552 * avoids some divisions by zero
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-26 12:35:05 +00:00
Jérôme Duval
ad0c65ea97 * now supports several audio formats for VUView and ScopeView
* cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-26 11:54:38 +00:00
Stephan Aßmus
1915b0384c Added the GSoC and HCD students to the credits, who have patches already
in the tree.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 19:10:30 +00:00
Stephan Aßmus
ce3c3c9937 * Added Jeroen Oortwijn to list of contributers, I've commited a couple of patches
already...
* Moved Michele Frau to correctly sorted spot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 16:56:34 +00:00
Stephan Aßmus
64a8eb7a02 Patch by Jeroen Oortwijn: Remove additional space from error message.
Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 16:51:27 +00:00
Stephan Aßmus
821d6af079 Patch by Jeroen Oortwijn: Use the validated name instead of the original one.
Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 16:50:17 +00:00
Rene Gollent
bd4b1ce4f7 Clear selection on file change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 00:42:38 +00:00
Ingo Weinhold
c31af1b060 Turned the view into a tree view. Still only the top level is shown, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 00:22:41 +00:00
Ingo Weinhold
20e4297b61 Added TreeTablePath::RemoveLastComponent().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-25 00:21:14 +00:00
Rene Gollent
34c6797ed4 Remove no longer needed hack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 20:53:41 +00:00
Stephan Aßmus
0d8ab1c4c1 When the display aspect values were large enough, the calculations in
MainWin::_GetUnscaledVideoSize() would result in 0 width/height. Fixes ticket
#4114.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 08:09:41 +00:00
Ingo Weinhold
2bf55b39a5 * Made FunctionID abstract. There are now two implementing subclasses,
SourceFunctionID (where we know the souce location of the function) and
  ImageFunctionID (where we don't know the source location). Made the
  classes archivable.
* Added support to find functions by ID.
* Improved user breakpoint handling. We can now "install" a breakpoint before we
  even know the function instances in which to install it. Whenever image debug
  information become available, breakpoints are installed in the concerned
  function instances of the respective image.
* Always trigger loading image debug info as soon as we become aware of an
  image.
* Implemented a settings management mechanism. ATM only the breakpoint
  locations for debugged teams are persisted. This seriously improves the
  debugging fun, though. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 02:35:30 +00:00
Rene Gollent
79a9dc4460 Implement missing horizontal drag scrolling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 02:21:20 +00:00
Ingo Weinhold
2d350c1010 Utility functionality for archiving/unarchiving.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 02:21:06 +00:00
Rene Gollent
a63980d9b7 Inlined _NextTabStop as suggested by Ingo (thanks!).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-24 01:26:39 +00:00
Rene Gollent
21931c6b49 * Factor out _NextTabStop() for use by the mouse position and text formatting functions.
* Use _NextTabStop() to correctly determine what character the mouse is clicking on for a line containing tabs. This fixes ticket #4110.
* Sync() after updating the selection region when moving the mouse so the visual feedback is immediate instead of the app_server trying to batch it. This fixes the random delays in the selection highlight updating itself.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 23:19:56 +00:00
Stephan Aßmus
3ecab110e7 Fixed typo in comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-23 15:46:53 +00:00
Ingo Weinhold
a5e1e7ceba Refactoring: Moved TeamDebugModel functionality into Team and got rid of the
former.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 19:20:06 +00:00
Rene Gollent
b7419f8d91 Fix style violations introduced by nameless people ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 02:11:49 +00:00
Ingo Weinhold
0e8b72b130 * Fixed spurious IP and breakpoint markers in disassembled code.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 01:59:52 +00:00
Ingo Weinhold
25598171b1 GetStatementAtAddress(): Terminate, if we couldn't get the statement from the
disassembled code of the function.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 01:53:59 +00:00
Ingo Weinhold
ae8f22407a GetStatement(): 0 is a valid source location line, so rather init to -1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 01:52:21 +00:00
Ingo Weinhold
e78744554e Domain::_LocateDirectory(): We first want to check whether the directory exists
before trying to map its parent. This is what _LocateEntry() already does, so
things can be simplified. Should fix problems with finding local source files
for good. Or so I hope. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 01:10:45 +00:00
Clemens Zeidler
b636a0ec0b Make the shown info a little bit more usefull.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 19:15:32 +00:00
Ingo Weinhold
8536312038 * ExpressionEvaluationContext::GetFrameBaseAddress(): Fixed incorrect error
return values (bool vs. status_t).
* _FindLocationExpression(): The base address was completely ignored, thus
  if one was needed, the correct location expression wouldn't be found.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 16:15:39 +00:00
Ingo Weinhold
c90f9b9ef3 Correctly recognize the "call r/m32" opcode. There are three opcode bits in the
second byte, which we didn't check, thus incorrectly identifying some other
instructions as calls.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 15:10:58 +00:00
Ingo Weinhold
b1ce728479 * Added some debug output for stepping.
* Fixed incorrect "step over" handling after hitting the temporary breakpoint.
  Could cause stepping into functions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 15:08:55 +00:00
Ingo Weinhold
67d0b0790a Added TODO regarding issues with recursive functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 01:50:01 +00:00
Ingo Weinhold
b1a835d13b Domain::_LocateDirectory(): Fixed incorrect check. If the directory's name
doesn't match, we don't locate it implicitly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 01:49:17 +00:00
Ingo Weinhold
6b56c0d739 _CreateCompoundType(): Insert the type into the hash table before resolving data
members. Otherwise we could run into infinite recursion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-21 00:43:42 +00:00
Ingo Weinhold
7f96148cac Patch by Bryce Groff with changes by myself:
* Added missing name parameter to the partitioning system module child creation
  and child creation validation hooks. Pass the name to them.
* Added BPartitionParameterEditor interface, which is/will be used for editing
  disk system specific parameters.
* Implemented partition parameter editors for BFS initialization and Intel
  partition map child creation.
* Fixed the incorrect supported child partition type iteration in the Intel
  partition map add-on. It does now return actual types.
* Handle the "active" flag parameter in the Intel partitioning system module.
* DriveSetup:
  - Replaced the "Create" submenu by a simple menu item. The type can now by
    chosen in the dialog.
  - Make use of initialization and child creation parameter editors. Some
    non-generic code has been moved to the respective editor implementations
    (BFS, intel partitioning system).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 20:29:16 +00:00
Ingo Weinhold
8fad39df43 Also get the local variables for a stack frame. Apparently gcc doesn't add a
DW_AT_start_scope attribute to any variable entries, so the variables already
appear at the beginning of the block. I suppose we'll have to guess from the
source location when the variables become active.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 01:12:52 +00:00
Ingo Weinhold
905860f5b4 The DWARF specs were a bit fuzzy on this one. Apparently only the low pc
attribute serves as base address for address range and location lists.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 01:07:00 +00:00
Ingo Weinhold
fad43e5283 Removed some debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 01:05:34 +00:00