History log of /haiku/src/apps/debugger/user_interface/gui/inspector_window/MemoryView.h
Revision Date Author Comments
# 6ce90903 17-May-2015 Rene Gollent <rene@gollent.com>

Debugger: Add edit mode support to MemoryView.

MemoryView:
- Add hooks and supporting status tracking members to enable edit mode.
When editing is requested, we allocate a duplicate copy of the current
block's data to perform edits in. Currently, editing is only supported from
within the hex view, and when edit mode is enabled, the view is locked to
8-bit hex mode in order to avoid any possible confusion with regards to
source vs target endian orientation.
- Extend Draw() to determine whether to write data from the edit data store
or the actual memory block. Also implement highlighting the current edit
position caret when in edit mode, as well as highlighting bytes that have
been changed compared to the block's original data.


# 76ada671 22-May-2015 Rene Gollent <rene@gollent.com>

Debugger: Extend MemoryView listener interface.

MemoryView::Listener:
- Add extra hooks for notifying listener of internal mode changes.
Implement accordingly in InspectorWindow.


# 82bf490f 12-May-2015 Rene Gollent <rene@gollent.com>

Debugger: Fix MemoryView layout issues.

MemoryView:
- Implement {Min,Max,Preferred}Size() hooks. The default BView
versions were causing the inspector to sometimes not be properly
resizable after previous settings were restored.


# f7e1dc6c 16-Sep-2013 Rene Gollent <anevilyak@gmail.com>

Debugger: Add selection support to MemoryView.

- The Inspector's memory view now supports selecting chunks of the hex display in
the manner one would in a TextView. The selection can also be copied to the clipboard,
or if it matches the size of a target address, can be used as input for an address to
inspect directly.

Still needs some fine tuning, but basically works.


# 6c5893fb 16-Sep-2013 Rene Gollent <anevilyak@gmail.com>

Debugger: Add selection support to MemoryView.

- The Inspector's memory view now supports selecting chunks of the hex display in
the manner one would in a TextView. The selection can also be copied to the clipboard,
or if it matches the size of a target address, can be used as input for an address to
inspect directly.

Still needs some fine tuning, but basically works.


# 1b104893 05-May-2013 Rene Gollent <anevilyak@gmail.com>

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.


# 2648a386 19-Jun-2011 Rene Gollent <anevilyak@gmail.com>

Make the memory view properly handle the target address size.



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


# f4ba9a45 19-Jun-2011 Rene Gollent <anevilyak@gmail.com>

* Cleanups.
* Add support for keyboard navigation to the memory view.



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


# 80480954 18-Jun-2011 Rene Gollent <anevilyak@gmail.com>

Add support for byte swapping to the memory inspector.



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


# 0215c110 16-Jun-2011 Rene Gollent <anevilyak@gmail.com>

Implement scrolling to the target address.



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


# 2acfac81 15-Jun-2011 Rene Gollent <anevilyak@gmail.com>

* Refactored MemoryView to be more flexible ; it can now show a configurable
choice of hexadecimal and/or character displays of the memory data, with
different digit grouping sizes. Still needs some work but is basically
functional.



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


# 348e6deb 13-Jun-2011 Rene Gollent <anevilyak@gmail.com>

* Move expression evaluation to the inspector window.
* Actually start rendering the memory data. Still has some drawing glitches
when scrolling though, will look into those tomorrow. Also doesn't yet
highlight the location which the target address actually points to within
the block.



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


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

* Introduce TeamMemoryBlock[Manager]. These provide an interface to raw memory
page data of the target team.
* Jobs: Add RetrieveMemoryBlockJob which performs a background read of the
target team's memory. Used by InspectRequested() to perform the actual work.
* TeamDebugger: Added InspectRequested() hooks to allow clients to ask for
a memory read to be performed.
* Introduce InspectorWindow and MemoryView to form the basis of a memory inspector.
As yet these are more or less stubs and not yet hooked in.



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


# 6ce909030dbe3ccb518741d18ebe162475f1a052 17-May-2015 Rene Gollent <rene@gollent.com>

Debugger: Add edit mode support to MemoryView.

MemoryView:
- Add hooks and supporting status tracking members to enable edit mode.
When editing is requested, we allocate a duplicate copy of the current
block's data to perform edits in. Currently, editing is only supported from
within the hex view, and when edit mode is enabled, the view is locked to
8-bit hex mode in order to avoid any possible confusion with regards to
source vs target endian orientation.
- Extend Draw() to determine whether to write data from the edit data store
or the actual memory block. Also implement highlighting the current edit
position caret when in edit mode, as well as highlighting bytes that have
been changed compared to the block's original data.


# 76ada671ba3b389dcf1bdf22c140130572e14731 22-May-2015 Rene Gollent <rene@gollent.com>

Debugger: Extend MemoryView listener interface.

MemoryView::Listener:
- Add extra hooks for notifying listener of internal mode changes.
Implement accordingly in InspectorWindow.


# 82bf490fa6a495a264066d1258dd059138b7483d 12-May-2015 Rene Gollent <rene@gollent.com>

Debugger: Fix MemoryView layout issues.

MemoryView:
- Implement {Min,Max,Preferred}Size() hooks. The default BView
versions were causing the inspector to sometimes not be properly
resizable after previous settings were restored.


# f7e1dc6c46f33a4ca2ab7f46f4bb1320c4e26011 16-Sep-2013 Rene Gollent <anevilyak@gmail.com>

Debugger: Add selection support to MemoryView.

- The Inspector's memory view now supports selecting chunks of the hex display in
the manner one would in a TextView. The selection can also be copied to the clipboard,
or if it matches the size of a target address, can be used as input for an address to
inspect directly.

Still needs some fine tuning, but basically works.


# 6c5893fbbf22dfc58f622c244ee09a718f89ad43 16-Sep-2013 Rene Gollent <anevilyak@gmail.com>

Debugger: Add selection support to MemoryView.

- The Inspector's memory view now supports selecting chunks of the hex display in
the manner one would in a TextView. The selection can also be copied to the clipboard,
or if it matches the size of a target address, can be used as input for an address to
inspect directly.

Still needs some fine tuning, but basically works.


# 1b104893478023f9d694271b701ca1e25c905322 05-May-2013 Rene Gollent <anevilyak@gmail.com>

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.


# 2648a386785ca79deca0cd3446232b9f18941495 19-Jun-2011 Rene Gollent <anevilyak@gmail.com>

Make the memory view properly handle the target address size.



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


# f4ba9a458fb9e33bb43fc02254ca05d388aef087 19-Jun-2011 Rene Gollent <anevilyak@gmail.com>

* Cleanups.
* Add support for keyboard navigation to the memory view.



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


# 80480954e22ab9345c14079a0974e943b63afc58 18-Jun-2011 Rene Gollent <anevilyak@gmail.com>

Add support for byte swapping to the memory inspector.



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


# 0215c110a592a9bbf6bf9ef6c5f161e8d704b9dc 16-Jun-2011 Rene Gollent <anevilyak@gmail.com>

Implement scrolling to the target address.



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


# 2acfac81cd0853fb6d6d505e9435f7caba54824e 15-Jun-2011 Rene Gollent <anevilyak@gmail.com>

* Refactored MemoryView to be more flexible ; it can now show a configurable
choice of hexadecimal and/or character displays of the memory data, with
different digit grouping sizes. Still needs some work but is basically
functional.



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


# 348e6deb98ae68c9fbe55de2502fa60f1f9e6f4d 13-Jun-2011 Rene Gollent <anevilyak@gmail.com>

* Move expression evaluation to the inspector window.
* Actually start rendering the memory data. Still has some drawing glitches
when scrolling though, will look into those tomorrow. Also doesn't yet
highlight the location which the target address actually points to within
the block.



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


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

* Introduce TeamMemoryBlock[Manager]. These provide an interface to raw memory
page data of the target team.
* Jobs: Add RetrieveMemoryBlockJob which performs a background read of the
target team's memory. Used by InspectRequested() to perform the actual work.
* TeamDebugger: Added InspectRequested() hooks to allow clients to ask for
a memory read to be performed.
* Introduce InspectorWindow and MemoryView to form the basis of a memory inspector.
As yet these are more or less stubs and not yet hooked in.



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