History log of /haiku-fatelf/src/apps/debugger/user_interface/gui/teams_window/TeamsListView.cpp
Revision Date Author Comments
# 7a931c68 16-Sep-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Do an explicit row's update when it's needed.
This should close #7988 this time, hopefully.


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


# 909c5269 15-Sep-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Pass up-to-date team_info to TeamRow, so we can detect when a team app image has changed after
an exec() syscall, and update team's fields, icon included.
This fix #7988.


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


# dd537d13 21-Aug-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Followed Ingo's suggestion: use private get_app_ref(). This reduce code duplication.
Thanks.


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


# 727c05a5 21-Aug-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Now always retrieve the team icon from the first B_APP_IMAGE image entry_ref.
Using team_info.args as before was not safe: when truncated, the
entry_ref could be an intermediate folder, which display a folder
icon as team's icon!


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


# 7015777f 17-Nov-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Switch the list to a BColumnListView-based one.


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


# 6fd9d3d9 02-Nov-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix style.


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


# aede5439 02-Nov-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Checks AddItem() success, as hinted by Stippi 5 (!) weeks ago.


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


# 7fa49587 28-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix a bug in _UpdateList(), where the newest teams were not append at all due to
an out-of-range index passed to AddItem().


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


# 30c47afa 22-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix memory leak + style cleanup. Thanks Axel!


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


# 190108e9 22-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Add missing allocation checks where needed.


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


# db2c7eeb 22-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Style cleanup, no functional changes.


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


# ccb01bef 21-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Finally integrates running_teams_window stuff to the Debugger app:
* Rework Debugger class a bit to ease integration
* Expand TeamDebugger::Listener interface to notify start event too.
* Former RunningTeamsWindow, now name TeamsWindow, is shown at start
if no team/program to launch is specified.
* Double-clicking a team item in this list starts a new Team debugger, or
reactivate the existing one if any

This window settings is not yet integrated with the SettingsManager.
Will comes next.
I plan to add some UI controls to this Teams window to allow user to setup
a program arguments and environment variables and then launch & debug it.



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


# 7a931c68e85dbdfbc546f5edc838a1f3246cf6f6 16-Sep-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Do an explicit row's update when it's needed.
This should close #7988 this time, hopefully.


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


# 909c526903ac020634f6efde096698989acf2198 15-Sep-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Pass up-to-date team_info to TeamRow, so we can detect when a team app image has changed after
an exec() syscall, and update team's fields, icon included.
This fix #7988.


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


# dd537d13a84fad412fb5fa68d5744199232423d4 21-Aug-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Followed Ingo's suggestion: use private get_app_ref(). This reduce code duplication.
Thanks.


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


# 727c05a5df9b4c29497768f64c2afaf1f54128a5 21-Aug-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Now always retrieve the team icon from the first B_APP_IMAGE image entry_ref.
Using team_info.args as before was not safe: when truncated, the
entry_ref could be an intermediate folder, which display a folder
icon as team's icon!


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


# 7015777f33adebf9b333ba90a2559ec2ffc4dbc6 17-Nov-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Switch the list to a BColumnListView-based one.


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


# 6fd9d3d9301eb96832ffe05db42fba2aef3bfdae 02-Nov-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix style.


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


# aede5439948bf7f19b4ac2dd2f7913a4595a6b7e 02-Nov-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Checks AddItem() success, as hinted by Stippi 5 (!) weeks ago.


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


# 7fa49587bc9339d0fc355e2239e2840fa60fdc5f 28-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix a bug in _UpdateList(), where the newest teams were not append at all due to
an out-of-range index passed to AddItem().


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


# 30c47afa79f617945e74394c463e2eb5cc021950 22-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix memory leak + style cleanup. Thanks Axel!


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


# 190108e9c901482dabfc9c88fb2f9e23cdb405e3 22-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Add missing allocation checks where needed.


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


# db2c7eeb49cf219569e7ff442187bab11805c82d 22-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Style cleanup, no functional changes.


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


# ccb01bef441eb4f8a951633d646dd545fe5f800c 21-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Finally integrates running_teams_window stuff to the Debugger app:
* Rework Debugger class a bit to ease integration
* Expand TeamDebugger::Listener interface to notify start event too.
* Former RunningTeamsWindow, now name TeamsWindow, is shown at start
if no team/program to launch is specified.
* Double-clicking a team item in this list starts a new Team debugger, or
reactivate the existing one if any

This window settings is not yet integrated with the SettingsManager.
Will comes next.
I plan to add some UI controls to this Teams window to allow user to setup
a program arguments and environment variables and then launch & debug it.



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