Commit Graph

5595 Commits

Author SHA1 Message Date
Humdinger
57c8cbd820 Made 'BSnow' translatable, plus tiny style correction.
Fixes #9025.
2012-09-24 18:06:24 +02:00
Humdinger
79650056f0 Fixed control label in Poorman settings.
The BTextControls were using the wrong constructor.
Fixes #9024.
+alpha4
2012-09-24 17:53:51 +02:00
Axel Dörfler
baeb048bd1 Don't start showing the hint for each solved number.
* Instead, only keep it visible when the user made it visible.
* Minor cleanup.
2012-09-23 11:23:29 +02:00
Stephan Aßmus
f672eb2827 Small cleanups to dragging partition entries code. 2012-09-16 11:11:40 +02:00
Jacob Waterman
5d871e578d Added drag & drop of disk/partition paths; drag a list item to terminal, pe, etc. and release to copy the path. (ticket #8872)
Signed-off-by: Stephan Aßmus <superstippi@gmx.de>
2012-09-16 10:37:38 +02:00
Humdinger
f6d33da6a4 Small corrections to AboutSystem.
Thanks Rene.
2012-09-05 19:38:14 +02:00
Humdinger
ae7bcbaa12 Updated the list of contributers.
Added people to the list contributers.
Moved people to the list of past maintainers.
Added GCI to our Google thanks.
2012-09-05 18:19:40 +02:00
Philippe Saint-Pierre
b5f22a7f78 MediaPlayer: Deletion of playlist entries
Several scenarios of misbehaviour found and fixed, examples :
* Deleting an item sitting before the currently playing item had the effect of
starting the playback of the item before the delete item.
(now it just updates the indexes - setting it to fCurrentIndex - 1 - without altering playback).

* Deleting the last item of the list had for effect of starting the playback of the entry
newingly being the last entry, regardless if the last entry was the active one or not.

Should fix #6689.
2012-09-02 16:14:02 -04:00
Rene Gollent
cdf25540df 64-bit fixes for StyledEdit. 2012-08-28 10:11:53 +01:00
Rene Gollent
c3fa08a6c9 64-bit fixes for ProcessController. 2012-08-28 10:11:53 +01:00
Axel Dörfler
242e01d245 Improved member variable naming as suggested by Stippi. 2012-08-27 20:00:06 +02:00
Philippe Saint-Pierre
53312de5e5 MediaPlayer: Toggling Fullscreen wrongly reset control status
All controls were enabled when toggling fullscreen on and off;
now it recalls the argument last used in SetEnabled() and reuse it
when called in AttachedInWindow() (which occurs in such toggling)

Fixes #8804.
2012-08-25 21:28:10 -04:00
Axel Dörfler
c95601d728 Fixed hiding the mouse cursor after going full screen.
* This fixes a regression I introduced in hrev43648; the mouse cursor
  was only being hidden in case the controls were visible (ie. only
  after an extra mouse move in full screen).
2012-08-25 13:57:50 +02:00
Alex Smith
816aded4c1 Added Installer and DriveSetup to image. 2012-08-18 10:36:00 +01:00
Ryan Leavengood
eb89cc6b0b Deskbar: You know, we should actually use the translated name.
If this ever worked before, I don't know how.
2012-08-19 21:29:28 -04:00
Ryan Leavengood
a1efcf2c7f Set the Terminal window flags correctly when going fullscreen.
Fixes #8862.
2012-08-19 00:16:02 -04:00
Alex Smith
e688bf23d4 Merge branch 'master' into x86_64
Conflicts:
	src/servers/app/ServerWindow.cpp
2012-08-16 21:11:15 +01:00
Humdinger
468f826656 Some more string translations.
A few more translator changes I missed with last commit.
Added a few more strings for translation, pointed out by diver.
Thanks!
2012-08-16 20:13:40 +02:00
Adrien Destugues - PulkoMandy
4c3295fc92 Tweak DiskUsage pie view colors and drawing
* Use colors from http://haiku-os.org/files/downloads/2007-03-20_haiku-color-palette.png
 * The pie view used a simple multiplication to lighten the colors, leading to overflows. Use tint_color instead
 * The outline of each pie slice was drawn with lines, which did not align perfectly. Use StrokeArc with a slightly bigger pen size than the colored area instead.

Screenshot of the result:
http://pulkomandy.tk/drop/diskusage.png/
2012-08-15 10:32:04 +02:00
Humdinger
ef4ed1b76b Replaced "Preferences"/"Options" with "Settings"
Replaced remaining "Preferences" and "Options" with "Settings" as
that is generally used for app settings instead of the system
preferences found in the preference panels.

Renamed Tracker's "Preferences" to "Tracker preferences" to be
similar to the entries in the Deskbar and e.g. the Media replicant
in the Deskbar tray.
2012-08-15 09:53:38 +02:00
Ryan Leavengood
1a59d9dbeb Improve Deskbar's WindowShouldBeListed utility function.
It now has all the knowledge about whether a window should be shown or not.
Since I fixed #4127, ORing with is_mini is no longer needed.
2012-08-12 10:41:19 -04:00
Alex Smith
5084d0d451 Added more things to x86_64 image.
Some preference apps, mount_server and AboutSystem. Removed the check
for x86_64 in the boot script, the normal path through the script will
work now. Also removed a temporary hack to workaround AboutSystem not
being there in build_haiku_image.
2012-08-10 09:32:54 +01:00
Alex Smith
e963289800 Added Tracker and Deskbar to x86_64 build. 2012-08-09 19:36:52 +01:00
Alex Smith
a5e96a301e Merge branch 'master' into x86_64 2012-08-09 08:24:50 +01:00
Rene Gollent
6e3918fa63 Don't release reference if we don't have one.
Fixes a crash seen if Debugger was run on an unsupported architecture, e.g.
x86-64 (for now).
2012-08-08 19:58:40 -04:00
Hamish Morrison
59b4be8cc1 Move SoundConsumer to libmedia in the BPrivate namespace
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2012-08-07 23:38:37 +02:00
x-ist
772f5f839c Since the search pattern is wrapped in double quotes for grep, the symbol ' (apostrophe) must not be escaped. Fixes #8776.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-08-07 15:59:13 +00:00
Ryan Leavengood
9c250a42b8 Use BTranslatorUtils::AddTranslationItems in CodyCam. 2012-08-07 00:47:32 -04:00
Philippe Houdoin
b292f6936a Fix typo, spotted by ttcoder. Thanks. 2012-08-06 21:53:25 +02:00
Humdinger
4d99b24ded Removed Mr.Peeps from a ResEdit alert. Thanks Eagleeye Ryan! 2012-08-06 18:21:14 +02:00
Humdinger
34e3453f24 Added accidentally removed "!=0" back... 2012-08-06 18:17:56 +02:00
Alex Smith
c802257bbb Merge branch 'master' into x86_64 2012-08-06 12:34:03 +01:00
Ingo Weinhold
7483c98dec Debugger (and some friends): 64 bit fixes 2012-08-05 23:58:25 +02:00
Humdinger
aed3510485 Close alerts with ESCAPE key.
Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.
2012-08-05 19:32:46 +02:00
Alex Smith
284d75bd6a Merge branch 'master' into x86_64 2012-08-05 10:33:20 +01:00
Alex Smith
adf8818ec0 Compilation fixes for Terminal, add to image.
It runs, but has shown up various bugs: app_server crashes, kernel
panics, rendering problems. Working on fixing these now.
2012-08-05 10:24:22 +01:00
Ingo Weinhold
9b008d31ff Debugger CLI: Add a bunch of new commands
* "thread": prints/sets the current thread.
* "continue", "stop": continue/stop the current thread.
* "sc"/"bt": Print a stack trace for the current thread. Very basic yet.
2012-08-05 01:07:17 +02:00
Ingo Weinhold
86b1039b42 Debugger CliContext: More event handling, current thread
* Introduce the notion of a current thread. That's the one certain
  commands will target (by default).
* Add more event handling in CliContext. There's now a queue of pending
  events which are printed in the input loop at convenient times to
  inform the user about what happened (new/deleted/stopped threads,
  etc.).
2012-08-05 01:07:17 +02:00
Ingo Weinhold
59dbbd147e Debugger: CliQuitCommand: Fix cancel shortcut 2012-08-05 01:07:16 +02:00
Ingo Weinhold
d4586180a6 Debugger CLI: Improve "help" command
Given a command name it prints the command's usage.
2012-08-05 01:07:16 +02:00
Ingo Weinhold
a7580a8299 Debugger: Add CliCommand::PrintUsage() 2012-08-05 01:07:16 +02:00
Alex Smith
54393c0379 Merge branch 'master' into x86_64 2012-08-04 09:59:17 +01:00
Alexander von Gluck IV
33d23e8fed DriveSetup: Show a quick warning when formatting raw disk
* Another translation candidate :)
2012-08-03 11:59:48 -05:00
Alexander von Gluck IV
8fe3bba727 DriveSetup: Don't show unimplemented tools 2012-08-03 11:59:47 -05:00
Alexander von Gluck IV
448216aff8 DriveSetup: Text / context cleanup
* Make sure we use consistant terminology
* No more Formatted partition "" messages when
  doing a partition map
* This commit will require translation work
2012-08-03 11:59:47 -05:00
Alexander von Gluck IV
badea728fa DriveSetup: Reorganize Disk menu.
* Group destructive and non-destructive operations
* Rename Disk->Format to Wipe (seems like a more modern term)
* Mostly bikeshed :)
2012-08-03 11:59:47 -05:00
John Scipione
593808d96a Return authors name's to DeskCalc headers.
No functional change.

* Surround email addresses in angle brackets.
* Add myself to ExpressionParser.cpp and .h
* Remove myself from ExpressionTextView.cpp and .h
* Alphatetize authors by last name.

Thanks Ingo and Axel.
2012-08-03 11:16:23 -04:00
Alexander von Gluck IV
47689d6e98 DriveSetup: Refactor gui layout as per ML thread
* Move disk partitioning systems under Disk menu
* Found and created bug #8827 (this wasn't introduced
  by my changes and was pre-existing)
* My testing resulted in no regressions, however
  please test though!
2012-08-03 09:34:28 -05:00
John Scipione
9f5d4ecd97 Style fixes, update copyright, add myself as author.
No functional change.
2012-08-03 04:27:12 -04:00
Ryan Leavengood
e19488b2cc Make Deskbar respect the menu text color settings.
Hard-coding black is bad, mmmkay?

This makes Deskbar usable on dark background with light text color schemes.
2012-08-03 01:59:53 -04:00
Ryan Leavengood
ab4e79c351 Fix Deskbar based on my recent menu change.
Thanks augiedoggie for pointing it out.
2012-08-03 01:58:41 -04:00
Ryan Leavengood
477a6b7bfb What if Magnify displayed a hex color instead of a useless index?
Well now it does.

The code needs much more love, but I fixed the coding violations in this code I
touched.
2012-08-03 00:09:08 -04:00
Ryan Leavengood
16e4281d0a Remove the no longer needed hack from WebPositive. 2012-08-02 23:25:29 -04:00
Alex Smith
e6b3188fcb Merge branch 'master' into x86_64 2012-08-01 10:44:38 +01:00
John Scipione
7d404dbcae Rename the angle mode menu items to just 'Radians' and 'Degrees'. No reason for the word Mode. 2012-07-31 09:37:08 -04:00
John Scipione
fa37d94d1b Fix radian/degree mode toggling bug in Deskcalc
I overlooked this problem in my last commit...

If you select the current angle (radian/degree) mode from the menu
it toggles the angle mode, fixed this to make it keep the current
mode.
2012-07-31 08:01:32 -04:00
Alex Smith
d4ec857af3 Merge branch 'master' into x86_64 2012-07-31 12:10:24 +01:00
John Scipione
8ffd0477dd Implement degree mode in DeskCalc.
Default is radian mode,  You set the option in the right click menu
like the other options.

Note: degree mode does not affect hyperbolic trigonometric functions.
This is how Mac Calculator, Windows Calculator, and Google Calculator
work.
2012-07-30 22:35:57 -04:00
Alex Smith
e27109c167 Merge branch 'master' into x86_64 2012-07-30 08:24:31 +01:00
Ryan Leavengood
45ecce1d57 Fix #6978: Add and close tabs on middle mouse down, not up.
This reduces perceived latency. One day when I add a tab close undo stack, this
will be even better. But generally using the middle mouse button is not
accidental.
2012-07-29 22:25:45 -04:00
Ryan Leavengood
cc467a28d9 Remove .swp file, and add a rule to ignore them in .gitignore. 2012-07-29 22:06:53 -04:00
Ryan Leavengood
f893514b87 Remove custom Zoom method from Web+ which goes fullscreen.
This leaves the default BWindow behavior of a maximized window.

Alt-Enter and F11 still will go fullscreen.

Fixes #7966.
2012-07-29 21:13:09 -04:00
Rene Gollent
224f75100b Implement support for separate debug info files.
- When loading an image, we now check if it has a .gnu_debuglink section.
  If so, we try to load the linked file for our symbolic debugging information.
  The file is searched for with the following rules:
    1) If self-contained app, app image is looked for in ./debug while
       library/add-on images are looked for in ../debug/.
    2) If the image in question is in one of the global locations
       (/boot/{common,system,home/config}/{lib,add-ons}), we search
       in develop/debug for the corresponding global dir.

  Implements #8135.
2012-07-29 07:12:49 -04:00
Humdinger
200dec066f Adjust strings to the Haiku style. 2012-07-29 10:47:10 +02:00
Alex Smith
6e2f6d1ace Changed cookie type for get_next_area_info() to ssize_t.
The cookie is used to store the base address of the area that was just
visited. On 64-bit systems, int32 is not sufficient. Therefore, changed
to ssize_t which retains compatibility on x86 while expanding to a
sufficient size on x86_64.
2012-07-29 09:31:14 +01:00
John Scipione
1510ac0081 Refactor icon scaling, fix off-by-one error.
Refactor the icon scaling code in IconUtils.cpp to avoid code
duplication. Basically create and delete the temp bitmap to
convert from B_CMAP8 to B_RGBA32 for scale2x/scale3x/scale4x
just one time instead of 3.

There was an off-by-one error in Deskbar which was causing
it to scale up the 16x16 Bitmap icon to 32x32 instead of just
using the 32x32 icon. This only affected BeOS bitmap-based
icons, not Haiku HVIF icons.
2012-07-28 22:00:22 -04:00
Ingo Weinhold
d266c87d17 Debugger: CliContext: Introduce the notion of events
* The input loop can now wait on abstract events, which other threads
  (or even the input loop thread itself) can signal.
* Use the new mechanism in QuitSession().
* Also (with the exception of the SIGINT part) implement
  WaitForThreadOrUser().
2012-07-29 00:28:56 +02:00
Ingo Weinhold
4d8eaa5b11 Debugger: UserInterface.h: style cleanup 2012-07-29 00:28:56 +02:00
Ingo Weinhold
726d557c9e Debugger CLI: Wait for TeamDebugger thread to die before exit() 2012-07-29 00:28:56 +02:00
Ingo Weinhold
8fe9f8b2d0 Debugger CLI: Move more stuff to and extend CliContext
* Move the libedit interface there and provide nicer to use methods.
* Also start adding utility methods for the input loop. It is going to
  manage all interactions of the input loop with outside events.
* Fix the "quit" command. The user is now prompted what to do with the
  debugged team and the input loop thread avoids reentering the input
  loop.
2012-07-27 23:42:01 +02:00
Ingo Weinhold
eba38eb503 Debugger: Change user interface quit and ask user semantics
* UserInterface::SynchronouslyAskUser() is now allowed to return -1 to
  indicate that the user cannot be asked at this point for whatever
  reason. The caller needs to handle that case.
* UserInterfaceListener::UserInterfaceQuitRequested(): Add new parameter
  "quitOption" to specify what is supposed to happen. The previous
  behavior (ask user) is only one of the options. The others are to kill
  the debugged team or to resume it.
2012-07-27 23:42:01 +02:00
Ingo Weinhold
f58478507c Debugger: In CLI mode block SIGINT in all threads
It is supposed to be handled in the input loop thread only (eventually).
2012-07-27 23:42:00 +02:00
Ingo Weinhold
71e5d26b5f Debugger: Add utility class SignalSet 2012-07-27 23:42:00 +02:00
Philippe Houdoin
47b44bbedb Fix SerialConnect gcc4 build. 2012-07-26 23:55:39 +02:00
Philippe Houdoin
a3b73ff9d1 Fix insets 2012-07-26 23:31:57 +02:00
Adrien Destugues - PulkoMandy
a2021beee2 Fix display for basic stuff. 2012-07-26 23:16:47 +02:00
Niels Sascha Reedijk
aabe9c1b92 Generate translation catalogs for WebPositive
Change suggested by Rene Gollent
2012-07-26 17:06:35 +02:00
Adrien Destugues - PulkoMandy
f441fd03b6 Working serial connection.
Still need some work on displaying the right chars at the right place.
2012-07-25 23:24:22 +02:00
Humdinger
bed0d7384b Pulling declarations back into loop, plus small style change.
Pointed out by Jérô and John. Thanks,
2012-07-25 20:24:00 +02:00
Humdinger
48249b2064 Stylefixes, no functional change. 2012-07-25 19:16:11 +02:00
Humdinger
a736c8aa6b Patch by x-ist, thanks! Fixes non-terminating ReplaceAll, #8141. 2012-07-25 18:48:24 +02:00
Rene Gollent
542ee07706 Slight cleanup of previous commit. 2012-07-24 19:23:39 -04:00
Rene Gollent
003dedca93 Fix #8768.
- When invoking ProcessController's menu, we now only show the "Live in Deskbar"
  menu item if we're either running within Deskbar itself or from PC's standalone
  window. This allows replicant PC instances to be usable in the case where
  Deskbar is deadlocked for whatever reason (previously it would hang while trying
  to query for the deskbar item's presence/status).
2012-07-24 19:09:53 -04:00
Fredrik Modéen
e2c343a22a Fixing #6913.
* Checking and setting a default value if both icon and text are false.
2012-07-25 00:49:30 +00:00
Ingo Weinhold
aacf2782d8 Debugger: Switch from readline to libedit 2012-07-25 00:11:14 +02:00
Ingo Weinhold
f4b1ddb580 Debugger: Coding style: normalize naming, some whitespace fixes
* TeamUISettings[Factory] -> TeamUiSettings[Factory]
* GUITeamUISettings -> GuiTeamUiSettings
* GUISettingsUtils -> GuiSettingsUtils
2012-07-24 00:28:37 +02:00
Fredrik Modéen
1615cec9cc Fixing #7984 and some code guidelines. 2012-07-24 00:07:19 +00:00
Ingo Weinhold
48b4d20480 Debugger CLI: Add "threads" command
It just lists the team's thread.
2012-07-23 23:52:46 +02:00
Ingo Weinhold
533a73766d Debugger: Create UiUtils helper class
Currently only a method to get a description for a thread state lives
there (code pulled from ThreadListView).
2012-07-23 23:52:46 +02:00
Ingo Weinhold
a6de32b06c Debugger CLI: Pull QuitCommand out of CommandLineUserInterface 2012-07-23 23:52:46 +02:00
Ingo Weinhold
d0ef75400b Debugger CLI: Start to imbue CliContext with life 2012-07-23 23:52:45 +02:00
Ingo Weinhold
abbcb2caf5 Debugger: Use readline in the CLI
This is a bit hacky, since gdb's readline is used. It would probably be
best to prepare an optional build package.
2012-07-23 23:52:45 +02:00
Adrien Destugues - PulkoMandy
dae0a4e0ab WIP version of SerialConnect. Not working, but added to the tree anyway so :
* You can code review it
 * You can help developping
Uses libvterm as the backend for parsing ANSI escape sequences. The lib was
changed slightly to build with GCC2. It could be used by Terminal as well as
it seems cleaner and more reliable than our current parser.
2012-07-23 21:36:40 +02:00
Philippe Saint-Pierre
b6a70ecba9 ProcessController: fix display of CPU bars for systems having 3 cores
Generalize the drawing of separator lines for every number of cores
requesting them.

Fix the layout for 3 cores systems.

Should fix #8763.
2012-07-23 10:16:37 -04:00
John Scipione
8cf6d28f99 It is okay to delete dragMessage even if it is NULL. Not worth the branch. 2012-07-22 16:00:21 -04:00
John Scipione
8f29b6e639 indent break statements. Only delete dragMessage if not NULL. 2012-07-22 16:00:21 -04:00
John Scipione
47a394ec13 Replace calls to DragRegion() with fDragRegion avoiding a function call. Move variables in MouseMoved down to just before they are used. 2012-07-22 16:00:20 -04:00
Rene Gollent
d7ed9414a3 Fix #8523.
- When the message filter would receive and process a mouse moved message,
  if the message resulted in causing the deskbar to relocate or reorient
  itself, it was possible for the expando view to become detached from
  the looper. Consequently, if the intercepted mouse moved happened to have
  come from the latter, when returning out of the filter the view would no
  longer have a target looper, triggering a debugger condition in BLooper.
  In order to prevent this situation, we now dispatch a message asking for
  the layout change to occur asynchronously.
2012-07-22 15:53:19 -04:00
Rene Gollent
55d6e32c7d Fix name generation for void pointer parameters. 2012-07-21 17:34:31 -04:00
Michael Lotz
7050e3cd84 Fix wrong assignment. CID 702303. 2012-07-21 19:27:06 +02:00
Philippe Saint-Pierre
5cf20610e1 FontDemo: Further cleanup
the strlen was used also in _AddShapes.  Widen use of BString.

Sorry for the noise!
2012-07-21 12:58:05 -04:00
Philippe Saint-Pierre
c5e8e32acd FontDemo: Cleanup of previous UTF-8 compliancy fix
Avoid using the private API, rather use the public BString. Thanks mmlr.
2012-07-21 12:23:18 -04:00
Philippe Saint-Pierre
6b0362305f FontDemo: make it multibyte chars compliant (UTF-8)
fixes #8146.
2012-07-21 11:17:41 -04:00
Ingo Weinhold
0a592099a9 Debugger: Rework CLI setup to no longer create a BApplication
The main thread does now serve the CLI input loop.
2012-07-21 09:19:18 +02:00
Philippe Saint-Pierre
cd383c3378 CID 610802: Unchecked return of FindMessage() 2012-07-20 18:31:43 -04:00
Philippe Saint-Pierre
c6df3cf4dc CID 702244: Uninit members were never used 2012-07-20 18:31:42 -04:00
Philippe Saint-Pierre
739ed61c38 CID 709703: Order of ops was unclear, but insignificant 2012-07-20 18:31:42 -04:00
Ingo Weinhold
6d60b554e6 Debugger: Some basic work to get the CLI going
There's an input loop thread which reads and parses command lines and
the infrastructure for registering and executing commands. Currently
only "help" and "quit" commands are implemented.
2012-07-20 23:32:58 +02:00
Ingo Weinhold
0f1f968ffb Debugger: Actually create the CLI, if requested 2012-07-20 23:32:58 +02:00
Philippe Saint-Pierre
fc4d98a2c0 Coding style fixes, no functionnal changes.
Following comments from Axel about a previous commit of mine.  Sorry Axel for the delay.
2012-07-20 14:28:44 -04:00
Rene Gollent
fe0407cd46 Fix indentation. 2012-07-20 07:34:11 -04:00
Rene Gollent
1f80f2eec3 Fix #8749.
- When a job needs to go dependent on another job, we no longer use recursion
  to manage the execution stack. Instead the job is simply marked as waiting
  and we execute other jobs with no dependencies in the meantime. When a job
  completes, all dependents are moved back onto the unscheduled list and
  executed as needed.

- Adjustments to ResolveValueNodeJob to handle the now asynchronous nature
  of waiting.
2012-07-19 20:24:52 -04:00
Rene Gollent
3a5779744e Handle compound node values in variables view.
- If the node we're looking at is a compound node, retrieve its location
  and show that as the value with an indicator to clarify that it's an object.

- Minor tweaks to tooltip format.
- Style cleanups.
2012-07-18 18:44:56 -04:00
Rene Gollent
666222d3fd Resolve register names, print memory piece size information. 2012-07-18 18:44:55 -04:00
Rene Gollent
2216ccb7e2 Implement support for tooltips in VariableView. Implements #8286.
- These show the memory or register location(s) of the variable over which
  the mouse is hovering.
2012-07-18 18:44:54 -04:00
Rene Gollent
489cc35661 Add Tooltip support to TreeTable. 2012-07-18 18:44:53 -04:00
Alex Wilson
3bbf781c1a Fix #8706 in Poorman - Selecting a web dir
There is no 'name' entry in the message from a B_OPEN_PANEL BFilePanel.
Also fix a little memory leak along the way.
2012-07-16 14:59:38 +12:00
Alex Wilson
0a96da93d1 Fix style on inline methods in PoorMan. 2012-07-16 14:59:36 +12:00
Alex Wilson
c5a09a88e9 In PoorMan: use templatized layout builders.
Also clean up layout a bit.
2012-07-16 14:59:35 +12:00
Alex Wilson
a1ae802279 Convert Poorman to use the Layout API.
Also includes many style fixes.

This patch was done by tokyo6pm, and then updated by mks after changes
to Poorman broke the patch.

ticket: #3787
2012-07-16 14:59:33 +12:00
Rene Gollent
8c4773f75b Adjust address semantics of CStringValueNode.
- When resolving its value, CStringValueNode now sets its node child's
  address to the address of the string buffer rather than the location of
  the originating pointer, which allows things like Inspect to pick that up.
2012-07-15 15:48:07 -04:00
Rene Gollent
17ef26a9f8 Add inspection context menu action.
- TableCellContextMenuTracker now supports menus that don't have a settings
  submenu, since some variables won't have renderer settings but will still
  have context actions.

- Add _GetContextActionsForNode() to retrieve the list of contextual actions
  available for a given model node. Currently this is only adds an action
  to inspect the memory address of the highlighted value, but will be extended
  for other actions later.
2012-07-15 14:34:56 -04:00
Rene Gollent
ae8018310a Set default target in PrepareToShow(). 2012-07-15 14:34:34 -04:00
Rene Gollent
544a66de68 Extend MSG_SHOW_INSPECTOR_WINDOW to allow specifying an initial address. 2012-07-15 14:34:33 -04:00
Rene Gollent
0712121cdb Add support for actions to TableCellContextMenuTracker.
- VariablesView's context menu tracker now optionally accepts contextual
  actions to add to the menu in addition to the current renderer settings.
2012-07-15 14:34:32 -04:00
Rene Gollent
8293199831 Add definition for a general-purpose action menu item. 2012-07-15 14:34:31 -04:00
Rene Gollent
6faa3c9766 Fix #8729.
- If we're asked to generate an entry for a tag we don't recognize,
  return an error so don't then attempt to add a null/invalid entry into the
  compilation unit's entry list and later crash dereferencing it.
2012-07-14 12:09:11 -04:00
Rene Gollent
c163f973e6 Fix resource leak in error cases. CID 611238. 2012-07-14 11:24:22 -04:00
Rene Gollent
2a8e9bb83d Fix missing break statement. CID 611232. 2012-07-14 10:40:44 -04:00
Rene Gollent
c22cb42c69 Clean up dead code. CID 611306. 2012-07-14 10:37:25 -04:00
Rene Gollent
89149ce667 Extend IntegerFormatter to handle non-hexadecimal properly.
- When asking for signed/unsigned, IntegerFormatter was previously
  treating all value types as int64, which would result in much larger
  than expected values in the variable list in some cases. Inspect the actual
  integer type of the variable and adjust the format string accordingly in
  order to deal with that.
2012-07-13 21:04:50 -04:00
Rene Gollent
f55410e169 Fix uninitialized member variable.
- This would randomly prevent the inspector window from being usable
  since we wouldn't create it, thinking it already existed.
2012-07-13 19:49:07 -04:00
Rene Gollent
d826a252c1 Cleanup, no functional change. 2012-07-13 18:24:57 -04:00
Rene Gollent
95453175cd Fix other part of #8710.
- When binary searching functions in the source entry list,
  comparing by name and location alone isn't sufficient, since
  templates will match those for different instances, Fixes a crash on
  exit where the wrong function would get removed from the list, while
  the one we actually wanted to remove was still in the list, but then
  had its source code cleared. This would later crash the comparison
  function due to not being able to get its source location.
2012-07-11 23:39:17 -04:00
Rene Gollent
aeadcf457d Partially fix #8710.
- When an image was unloaded, its corresponding image info was never
  removed from TeamDebugInfo's list, leading to the latter containing
  a deleted object, resulting in various random crashes.
2012-07-11 23:37:36 -04:00
Rene Gollent
c4120026a5 Refactor previous commit.
- Keep knowledge of the existence and need to search the different
  frame sections contained within DwarfFile.
2012-07-11 21:56:15 -04:00
Rene Gollent
dfa21dfeab Fix #8508.
- When attempting to unwind the call frame, we now search for the appropriate
  FDE in both .debug_frame and .eh_frame. This mirrors gdb's behavior and
  works around the ever-changing whims of the gcc developers as to which
  section the requisite FDE/CIE resides in.
2012-07-11 19:12:59 -04:00
Alexandre Deckner
2218c029a5 Add localization support to WebPositive, patch by Humdinger
* Includes style fixes
* Functional fixes by myself, patch wouldn't build
2012-07-12 00:47:46 +02:00
Alexandre Deckner
41a212d241 Update haiku-webkit build package. Use new version info 2012-07-11 22:43:22 +02:00
Rene Gollent
3691496222 Fix #8709.
- The buffer that the debugger used to retrieve messages from
  the debug port was slightly too small for the largest of the message
  data structs (currently 1100 bytes), causing some types of debug events
  to get truncated. This resulted in image creation/deletion events being
  received with a truncated image_info struct, which would result in several
  fields being returned with random values, most notably the text/data base
  and size fields. Consequently, searching those images for an address within
  them would fail, leading to #8709. It's possible but not yet confirmed
  that this bug is also responsible for #8710, need to test further.
2012-07-10 22:06:01 -04:00
Adam Hartford
8522ef247b Fixed minor UI issues in Screenshot (Ticket #8378)
Signed-off-by: Alex Wilson <yourpalal2@gmail.com>
2012-07-09 11:03:35 +12:00
Alexandre Deckner
d061a70095 Fix WebPositive jamfile, cross building works 2012-07-04 02:57:38 +02:00
Alexandre Deckner
40c493ce34 Hardcode kSVNRevision = 0 until i adapt version tracking 2012-07-04 01:18:37 +02:00
Alexandre Deckner
c4ba387bf8 Adapt WebPositive build to make use of a webkit optional build package 2012-07-04 00:58:25 +02:00
Alexandre Deckner
79adea9689 Fix src/apps/Jamfile alphabetical order
Thanks augiedoggie
2012-07-03 21:46:13 +02:00
Alexandre Deckner
08cada49a6 Apply old patch by AnevilYak, fix BMenuField border drawing
Should have been part of the previous commit, sorry
2012-07-03 21:43:53 +02:00
Alexandre Deckner
7f21f81f4f Apply old patch by AnevilYak, fix BMenuField border drawing 2012-07-03 21:31:18 +02:00
Alexandre Deckner
2ee4319d11 Remove unneeded includes 2012-07-03 21:29:38 +02:00
Alexandre Deckner
1ef59aee8e Add Jamfile for WebPositive 2012-07-03 21:12:20 +02:00
Alexandre Deckner
de3c221462 Merge WebPositive into the Haiku tree. History is preserved 2012-07-03 19:20:10 +02:00