6075 Commits

Author SHA1 Message Date
Rene Gollent
a69facf051 Implement #9756. ImageFunctionsView now builds...
...a source path-based tree of all the image's functions, and
consequently organizes them into a nested hierarchy similar to the
on-disk directory structure in which they were originally found (or at
least, as close as we can get from the DWARF info).
2013-05-08 23:26:12 -04:00
Rene Gollent
df720531e3 Use B_USE_SMALL_{SPACING,INSETS} as suggested by Axel. 2013-05-07 22:59:35 -04:00
Rene Gollent
4efba5fd99 Use default spacing for inspector's groups too. 2013-05-06 18:47:17 -04:00
Rene Gollent
1b10489347 Add listener interface to MemoryView.
- When the target address of the memory view changes, an attached
  listener is now notified. This lets the inspector window's text input
  keep in sync with the current address when keyboard navigating the
  memory view.
2013-05-05 16:08:31 -04:00
Rene Gollent
ab2e15ab8c Use default insets for inspector window as well. 2013-05-05 13:34:07 -04:00
Rene Gollent
2253368e6a Implement #8671.
Smarter Zoom behavior for TeamsWindow - resize such that the
team list view's horizontal scrollbar isn't needed.
2013-05-05 13:14:24 -04:00
Rene Gollent
447f975c88 Spacing adjustments as suggested by Axel. 2013-05-05 08:55:13 -04:00
Rene Gollent
73eeef0a52 Change truncation mode for image/function list views.
Since for image/file paths, the most interesting part is generally the
filename at the end, and the initial path information is mostly
redundant, it makes more sense to truncate at the beginning.
2013-05-04 21:18:38 -04:00
Rene Gollent
9187efd1a9 Clean up context menu building.
Even if the inspect action is unavailable, continue building the rest
of the actions, since they can apply regardless of the value location.
2013-05-04 20:30:04 -04:00
Jerome Duval
f756b25e8a DiskProbe: remove superfluous parentheses introduced in a31ac99 2013-05-04 18:20:38 +02:00
Jerome Duval
9f0006623c MediaPlayer: addr_t instead of long, as suggested by Ingo. 2013-05-04 16:16:30 +02:00
Jérôme Duval
62e60219cc ShowImage: initialize rgb_color.alpha field. 2013-05-04 15:31:15 +02:00
Jérôme Duval
a31ac990cc Diskprobe: some 64 bit fixes
* also warnings about comparisons between signed and non signed.
2013-05-04 15:31:14 +02:00
Jérôme Duval
2443899f1b WebWatch: some 64 bit fixes 2013-05-04 15:31:13 +02:00
Jérôme Duval
c0722add75 TextSearch: some 64 bit fixes 2013-05-04 15:31:13 +02:00
Jérôme Duval
3e4cf3a1b8 PowerStatus: some 64 bit fixes 2013-05-04 15:31:11 +02:00
Jérôme Duval
14b32de1d5 People: some 64 bit fixes 2013-05-04 15:31:10 +02:00
Jérôme Duval
bd380b558a PackageInstaller: some 64 bit fixes 2013-05-04 15:31:10 +02:00
Jérôme Duval
113817f035 MediaPlayer: 64 bit build fixes for an ugly use of BList. 2013-05-04 15:31:07 +02:00
Jérôme Duval
cf91714bf2 Magnify: some 64 bit fixes 2013-05-04 15:31:06 +02:00
Jérôme Duval
55a4a88045 Mail: some 64 bit fixes 2013-05-04 15:31:06 +02:00
Jérôme Duval
60128b54b4 Icon-o-matic: some 64 bit fixes 2013-05-04 15:31:04 +02:00
Jérôme Duval
afcbccb9b5 Codycam: some 64 bit fixes 2013-05-04 15:31:03 +02:00
Jérôme Duval
843a122fd9 MediaPlayer: some 64 bit fixes 2013-05-04 11:15:41 +02:00
Rene Gollent
966966a38d Cleanups. 2013-05-03 20:51:06 -04:00
Rene Gollent
57745c4eb9 Minor tweak to allow window to be resizable. 2013-05-03 20:46:50 -04:00
Rene Gollent
aad822734d Add message for starting a new team. Implements #9682.
- The Debugger app now accepts a message asking it to start a new team.
  It attempts to do so given the path and arguments, and passes the
  result back to the sender if desired.
2013-05-03 20:37:48 -04:00
Rene Gollent
9b57eae7e6 Wire up Start new team button. 2013-05-03 20:35:55 -04:00
Rene Gollent
1953ec9d1d Add UI window for starting a new team. 2013-05-03 20:35:53 -04:00
Rene Gollent
72354d6759 Also disable Attach button for kernel. 2013-05-03 19:05:23 -04:00
Murai Takashi
2e1347b2bf Fix more GCC4 narrowing conversion warnings
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2013-05-03 19:34:40 +02:00
Rene Gollent
c7b441ac1e Cleanup. 2013-05-02 22:08:37 -04:00
Rene Gollent
22dc5f2bcd Add tooltips to breakpoint marker view.
- If the user hovers over a valid breakpoint marker location, emit a
  tooltip message indicating the action that can be taken.
2013-05-02 22:03:03 -04:00
Rene Gollent
12abf3b280 Various cleanups to Teams window.
- Convert to using layout APIs.
- Add buttons to attach to an existing team or create a new one (not
  implemented yet).
- Various minor style cleanups.
2013-05-02 22:02:52 -04:00
Rene Gollent
211e7b396d DwarfImageDebugInfo: Minor optimization.
In the fallback case where full debug information is unavailable,
query the underlying DWARF file to see if CFI is available at all.
If it isn't, skip creating function debug info objects.
2013-05-01 20:08:18 -04:00
Rene Gollent
9dce79360b DwarfFile: Add hook to query availability of frame unwind info. 2013-05-01 20:05:52 -04:00
Rene Gollent
99fac5a9dc Extend SpecificImageDebugInfo::GetFunctions() ...
...to also take the list of symbols in the image as a parameter.
This allows us to prefetch the symbols once in
ImageInfo::FinishInit() for each image and then let each specific info
subclass use them if/as needed, rather than having to do the entire
symbol lookup/sort twice for every image.

- Adjust callers accordingly.
2013-05-01 19:53:00 -04:00
Adrien Destugues
28a3906351 Web+ AboutWindow changes: fix build. 2013-05-01 15:44:41 +02:00
Adrien Destugues
df3b8173ee Fix Web+ for AboutBox API changes. 2013-05-01 15:09:30 +02:00
Adrien Destugues
df2257de36 Make BAboutWindow movable again.
Also fix build, forgot some files in previous commit.
2013-05-01 13:07:29 +02:00
Adrien Destugues
31535ac63b Make BAboutWindow modal
* Set its type to B_MODAL_WINDO, and also set B_NOT_MOVABLE
 * Since this removes the window tab, add an "Ok" button to close the window
 * Remove the GetWindow mess and just use it as any regular window
 * Adjust all callers again

The AlertPosition method doesn't seem to work right, the window pops up
offset to the right. I also noticed that some of our calls to BAboutWindow
are actually not reacable because we removed Abutrequested from the apps.
Maybe we should clean them up (locale preflet and activity monitor are examples)

More annoying is the fact that opening a modal window from a deskbar replicant
is modal against the whole deskbar. Not sure what to do about that.
2013-05-01 10:10:37 +02:00
Rene Gollent
196ab88d06 Extend debug_create_symbol_lookup_context().
- debug_create_symbol_lookup_context() now takes an image ID
  parameter that can optionally be used to restrict the symbols
  it gathers to only those of the targeted image rather than the
  entire team, allowing for significantly more lightweight usage
  when the desired image is known. The previous behavior can still
  be obtained if desired by passing -1 as said ID.

- Adjust callers.
2013-04-30 21:34:45 -04:00
John Scipione
f74ff8d324 Remove this bit of code from StyledEdit
....as we're gonna do the work in BFilePanel instead.
2013-04-30 20:15:32 -04:00
Adrien Destugues
fd19c7366d Fix BAboutWindow lifecycle
BAboutWindow returned false in QuitRequested in order to hide instead of closing.
Not only this keeps a BLooper running for a rarely used window, but it also
prevents quitting an application in the window was not destroyed first.

 * Remove aforementioned QuitRequested method,
 * Add a static GetWindow method that returns the existing about window, if there
is one, or creates one if there is not. A boolean can be set to tell the caller
what happened,
 * Adjust all callers to use that new method, instead of managing the window themselves.
2013-04-30 21:50:24 +02:00
Jérôme Duval
2e00579938 bsnow: use uchar instead of char to avoid narrowing conversion warnings. 2013-04-29 21:44:01 +02:00
Jérôme Duval
cd749a7652 Terminal: use unsigned short instead of int to avoid a narrowing conversion warning.
* unsigned short is the type used in the struct winsize.
2013-04-29 21:40:34 +02:00
Jérôme Duval
e367c05620 SoundRecorder: fixed two warnings.
* warnings about comparison between signed and unsigned integer expressions.
* also use std::min() instead of min_c()
2013-04-29 21:35:40 +02:00
Jérôme Duval
a83d8d14b5 Installer: fixed two warnings.
* warnings about comparison between signed and unsigned integer expressions.
* also use std::min() instead of min_c()
2013-04-29 21:31:20 +02:00
John Scipione
72fb3d3984 Remove the alert dialog adjustements, they are now done in BAlert directly
The save panel adjustment has been kept and modified a bit to position the
window nicely. It too uses the BWindow::CenterIn() method that adjusts based
on the screen edges.
2013-04-28 20:30:22 -04:00
John Scipione
65e6ce6d53 Style changes in Alert and StyledEdit Find Window 2013-04-28 20:30:19 -04:00