History log of /haiku/src/apps/debugger/user_interface/gui/GraphicalUserInterface.cpp
Revision Date Author Comments
# 94457ade 29-Apr-2023 PulkoMandy <pulkomandy@pulkomandy.tk>

Debugger: add a "don't ask again" checkbox to alerts

This allows, for example, to skip all the "get debug info" alerts when
starting a debug session. But it is a generic implementation and will
work for all "question" alerts in Debugger.

For now, the user choices are not saved, this could be done, but then we
need a way to access that setting later.

Fixes #14601

Change-Id: Icc49d1b5bc4168d15d7f740d422f464e996f7c9d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6398
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# c0936b5a 11-Jan-2018 Rene Gollent <rene@gollent.com>

Debugger: Another set of #13800 fixes.

AbstractTable/Table/TreeTable:
- Let BColumnListView take care of deleting columns. The previous
approach was resulting in the columns being leaked.

Debugger:
- Don't detach the UI reference, as TeamDebugger will acquire its own.

GraphicalUserInterface:
- Cleanup of file panel handler.

SourceView:
- Clean up marker manager.

*Roster:
- Clean up registered objects in destructors.

GlobalTypeLookup:
- Clean up hash tables.

NetworkTargetHostInterfaceInfo:
- Fix reference handling for settings.


# 05fc1277 03-Jul-2016 Rene Gollent <rene@gollent.com>

Debugger: Fix team restart request.

UserInterface:
- Add Clone() function to set of required virtuals. This asks the subclass
to create a new instance of its respective type.

{CommandLine,Graphical,Report}UserInterface:
- Implement the above function.

TeamDebugger:
- Add accessor for the currently active UI.

TargetHostInterface:
- Set correct request type when setting up the options for a team restart.
- Ask the TeamDebugger for its user interface and clone it in order to fill
in that aspect of the debug options. This fixes a regression introduced in
commit 880a64, which inadvertently resulted in team restarts no longer
working.


# ef969bcb 25-Apr-2016 Rene Gollent <rene@gollent.com>

Debugger: Fix incorrect behavior when asking to activat.

GraphicalUserInterface:
- The Show() method now checks if the team window is already visible. If
it is, we instead call Activate() to focus it. Fixes the problem that
attempting to attach to a team which we already had a running team
debugger for would appear to do nothing, rather than focusing that window.


# 7f77789d 14-Aug-2015 Rene Gollent <rene@gollent.com>

Debugger: Add work notification hook to UserInterface.

UserInterface:
- Add new hook function used to notify the UI that some form of
background work is taking place for informational purposes,
i.e. no interaction required. Implement accordingly in
GraphicalUserInterface.


# bbf320ec 15-Jun-2014 Rene Gollent <rene@gollent.com>

Debugger: UserInterface enhancements.

Add hook to UserInterface to query if Debugger is currently being run
interactively or not. Add corresponding implementations in
{CommandLine,Graphical}UserInterface.


# b36d838e 14-Jun-2014 Rene Gollent <rene@gollent.com>

Debugger: Fix x86_gcc2 build.


# d9e97187 10-Jun-2014 Rene Gollent <rene@gollent.com>

Debugger: Add file prompt hook to UserInterface.

In some circumstances, it may be necessary to ask the user to locate a file
from the lower layers. Adds the corresponding hook to UserInterface, and a
stub implementation for CommandLineUserInterface.

Adds full implementation for GraphicalUserInterface.


# f4b1ddb5 23-Jul-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger: Coding style: normalize naming, some whitespace fixes

* TeamUISettings[Factory] -> TeamUiSettings[Factory]
* GUITeamUISettings -> GuiTeamUiSettings
* GUISettingsUtils -> GuiSettingsUtils


# 04f0e3d3 02-Nov-2011 Rene Gollent <anevilyak@gmail.com>

* Simplify GUITeamUISettings to just use variants mapped by string keys. The
Setting classes didn't wind up being quite as useful for that purpose as
I'd originally hoped, so they remain with their primary purpose of
programmatically generating menus and such.

* When GraphicalUserInterface constructs the team window, immediately start
the message loop. This allows us to reorder startup so we only activate
the user interface after having restored settings.

* TeamWindow now saves/restores its frame on a per-team basis.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43131 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bbc85109 02-Nov-2011 Rene Gollent <anevilyak@gmail.com>

Add hooks to UserInterface to allow for saving/restoring of UI settings.
Make use of them as appopriate.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43121 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b697e031 09-Jun-2011 Rene Gollent <anevilyak@gmail.com>

* Create and store a messenger to the team window at creation time. Use said messenger to correctly resolve the TODO previously attempted in r42066.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42075 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 163f1c9a 08-Jun-2011 Rene Gollent <anevilyak@gmail.com>

Resolve TODO.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42066 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51f2ac86 15-Oct-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix build with gcc4


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33604 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e3a631c0 15-Oct-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Introduced interface UserInterface, which abstracts the user interface code.
* Added implementation GraphicalUserInterface for the current GUI.

TeamDebugger does no longer know about TeamWindow.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33594 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f77789d5b4e4eb34bad204d7a1ebc00b3006db6 14-Aug-2015 Rene Gollent <rene@gollent.com>

Debugger: Add work notification hook to UserInterface.

UserInterface:
- Add new hook function used to notify the UI that some form of
background work is taking place for informational purposes,
i.e. no interaction required. Implement accordingly in
GraphicalUserInterface.


# bbf320ecfeb798edac97b226c92af1487a942428 15-Jun-2014 Rene Gollent <rene@gollent.com>

Debugger: UserInterface enhancements.

Add hook to UserInterface to query if Debugger is currently being run
interactively or not. Add corresponding implementations in
{CommandLine,Graphical}UserInterface.


# b36d838eb056627e61beeb184416e98d84df82ad 14-Jun-2014 Rene Gollent <rene@gollent.com>

Debugger: Fix x86_gcc2 build.


# d9e97187f53201ae200731a0503448c04acec988 10-Jun-2014 Rene Gollent <rene@gollent.com>

Debugger: Add file prompt hook to UserInterface.

In some circumstances, it may be necessary to ask the user to locate a file
from the lower layers. Adds the corresponding hook to UserInterface, and a
stub implementation for CommandLineUserInterface.

Adds full implementation for GraphicalUserInterface.


# f4b1ddb580a6a390c7b11b66c799de95014c2c29 23-Jul-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger: Coding style: normalize naming, some whitespace fixes

* TeamUISettings[Factory] -> TeamUiSettings[Factory]
* GUITeamUISettings -> GuiTeamUiSettings
* GUISettingsUtils -> GuiSettingsUtils


# 04f0e3d37b9730b5e2934775a4efeaee73d8cf2e 02-Nov-2011 Rene Gollent <anevilyak@gmail.com>

* Simplify GUITeamUISettings to just use variants mapped by string keys. The
Setting classes didn't wind up being quite as useful for that purpose as
I'd originally hoped, so they remain with their primary purpose of
programmatically generating menus and such.

* When GraphicalUserInterface constructs the team window, immediately start
the message loop. This allows us to reorder startup so we only activate
the user interface after having restored settings.

* TeamWindow now saves/restores its frame on a per-team basis.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43131 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bbc851098dc54aaadc772012baaf07e9ef118e1a 02-Nov-2011 Rene Gollent <anevilyak@gmail.com>

Add hooks to UserInterface to allow for saving/restoring of UI settings.
Make use of them as appopriate.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43121 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b697e03121396e7db1a66d07369fdb213f7ed678 09-Jun-2011 Rene Gollent <anevilyak@gmail.com>

* Create and store a messenger to the team window at creation time. Use said messenger to correctly resolve the TODO previously attempted in r42066.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42075 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 163f1c9ad646bd1feffc95f07dc36d5e80d533c5 08-Jun-2011 Rene Gollent <anevilyak@gmail.com>

Resolve TODO.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42066 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51f2ac86471fd30e30d2baf45c3616193be1cf30 15-Oct-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix build with gcc4


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33604 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e3a631c0b48d904a9502dabb157639539484da53 15-Oct-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Introduced interface UserInterface, which abstracts the user interface code.
* Added implementation GraphicalUserInterface for the current GUI.

TeamDebugger does no longer know about TeamWindow.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33594 a95241bf-73f2-0310-859d-f6bbb57e9c96