History log of /haiku/src/apps/debugger/user_interface/gui/model/VariablesViewState.cpp
Revision Date Author Comments
# 77007502 18-Jan-2018 Rene Gollent <rene@gollent.com>

Debugger: Rework type handlers to allow for custom selection.

TypeHandler:
- Add name field for presentation purposes. Adapt subclasses accordingly.

TypeHandlerRoster:
- Add methods to count and retrieve all type handlers for a given type,
and adjust CreateValueNode to allow for passing in an explicit handler.
Adjust callers accordingly.

VariablesViewState:
- Add helpers to store an explicitly chosen type handler for a node.

TypeHandlerMenuItem:
- ActionMenuItem subclass that takes care of reference management
for its contained type handler.

VariablesView:
- Add context menu for choosing type handlers if applicable. Implement
support for invoking said type handlers in a similar manner to explicit
typecasts.
- Adjust saving/restoring the view state so that hidden nodes are taken
into account as well. This is necessary since it may be the case that
the handler had to be applied to the hidden child rather than the visible
node (i.e. the BMessage handler when applied to a pointer to a BMessage).

All together, these changes allow choosing to switch between views of a type
when the Debugger has multiple handlers for it. For example, for BMessages
this allows switching between displaying the raw underlying structure vs
the decoded message content.


# 3995592c 10-Jan-2018 Rene Gollent <rene@gollent.com>

Debugger: Fix #13939, more work on #13800.

- Fix various cases where OpenHashTables weren't being cleared properly.
- Fix various reference counting errors.
- Simplify FileManager reference handling.
- Fix bug in LocatableDirectory where the directory named '/' would have its
name returned as empty. This would lead to failed lookups for entries already
in the table, and ultimately corrupted the hash table when deleting unused
entries, leading to #13939. This was previously never noticed due to the
entries not being freed properly.
- AbbreviationTable wasn't clearing its entries.


# 6a7eaa2a 05-Nov-2014 Rene Gollent <rene@gollent.com>

Debugger: Add ExpressionValues to VariablesViewState.

- VariablesViewState is now able to optionally store previous values
for expression nodes.


# c819aef9 16-Apr-2013 Rene Gollent <anevilyak@gmail.com>

Add renderer settings to VariablesViewNodeInfo.


# 41cec3e6 15-Apr-2013 Rene Gollent <anevilyak@gmail.com>

Remember any applied typecasts in VariableViewState.

Preserves and restores typecasts across steps like we already do
for node expansion states.


# 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


# 6a7eaa2a75a856be8b7e631d7cfca7ceec14bdce 05-Nov-2014 Rene Gollent <rene@gollent.com>

Debugger: Add ExpressionValues to VariablesViewState.

- VariablesViewState is now able to optionally store previous values
for expression nodes.


# c819aef9a1f669032786bcfa1e9d694856fc39bf 16-Apr-2013 Rene Gollent <anevilyak@gmail.com>

Add renderer settings to VariablesViewNodeInfo.


# 41cec3e6d4273471b8cd44704d97f220f5bb0857 15-Apr-2013 Rene Gollent <anevilyak@gmail.com>

Remember any applied typecasts in VariableViewState.

Preserves and restores typecasts across steps like we already do
for node expansion states.


# 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