From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8109 invoked by alias); 6 Feb 2007 16:49:29 -0000 Received: (qmail 8092 invoked by uid 9628); 6 Feb 2007 16:49:28 -0000 Date: Tue, 06 Feb 2007 16:49:00 -0000 Message-ID: <20070206164928.8090.qmail@sourceware.org> From: mcvet@sourceware.org To: frysk-cvs@sourceware.org Subject: frysk-gui/frysk/gui druid/CreateFryskSessionDr ... Mailing-List: contact frysk-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-cvs-owner@sourceware.org Reply-To: frysk@sourceware.org X-SW-Source: 2007-q1/txt/msg00314.txt.bz2 CVSROOT: /cvs/frysk Module name: frysk-gui Changes by: mcvet@sourceware.org 2007-02-06 16:49:28 Modified files: frysk/gui/druid: CreateFryskSessionDruid.java frysk/gui/sessions: SessionManager.java DebugProcess.java Session.java frysk/gui/gladedir: frysk_session_manager.glade frysk_create_session_druid.glade frysk/gui/monitor: ListView.java SessionProcDataModel.java ProcWiseDataModel.java ProcWiseTreeView.java frysk/gui : SessionManagerGui.java Log message: frysk-gui/frysk/gui/monitor: 2007-02-06 Mike Cvet * ListView.java (debugProcessObserver): Added. (init): Initialize above object. (addDP): Added. Specializes in adding DebugProcesses. (addDP): Overloaded method. Specializes in storing useful GuiProc specific information. (addDP): Ditto. (remove): Attempt to delete debugProcessObserver from the incoming GuiObject. (watchGuiProcs): Added. Watches a special list containing GuiProcs, so that their useful information can be used. (DebugProcessObserver): Added. Updates when DebugProcess events occur. * ProcWiseDataModel.java (childCountDC): Removed. (pidDC): Added. (vszDC): Ditto. (rssDC): Ditto. (timeDC): Ditto. (stat): Ditto. (iterMap): Refactored from iterHash, changed to HashMap. (ProcWiseDataModel): Initialize new DataColumns and Stat. Fixes #3920. (setRow): Removed. (collectProcs): Added. Adds processes matching a name string into a LinkedList. (searchAllNames): Added. Returns a new LinkedList containing processes of the same name contained in the model. (searchPid): Finds a process matching PID parameter in the model. (setSelected): Removed tree child specific code. (ProcCreatedObserver.update): Removed process group code, added new stat code. (ProcDestroyedObserver): Removed tree child code. (getNameDC): Added. (getLocationDC): Ditto. (getPIDDC): Ditto. (getVszDC): Ditto. (getRssDC): Ditto. (getTimeDC): Ditto. (getObjectDC): Ditto. (getSelectedDC): Ditto. * ProcWiseTreeView.java (dataModel): Changed from psDataModel. (treeStore): Added. (pwtvTVC): Added. TreeViewColumn array. (ProcWiseTreeView): Set global TreeModel to parameter. (mountDataModel): Set new column properties, append them to this TreeView. Fixed up the TreeModelFilter. (setUpColumns): Added. Initializes all columns, sets all their information, sets properties such as sorting. * SessionProcDataModel.java (addProc): Removed redundant try statement. (ProcTasksObserver): Removed. (removeProc): Removed. (TaskDestroyedObserver): Removed. (getThreadCount): Removed. frysk-gui/frysk/gui: 2007-02-06 Mike Cvet * SessionManagerGui.java (previousSession): Removed. (debugSingleProcess): Ditto. (debugSingleProcessAction): Ditto. (processPicker): Ditto. (getDebugSingleProcess): Ditto. (setButtonStates): Removed references to debugging state. (getSessionManagementControls): Removed references to RadioButtons. (openSession): No longer initializes a ProcessPicker, builds a Terminal, or handles popup windows. Hands the selected process to the druid. Fixes #3978, #3921. * druid/CreateFryskSessionDruid.java (debugButton): Added. (loadSession): Ditto. (setNewSession): Make sure to enable 'quick debug' button. Fixes #3922. (setEditSessionMode): Collects all DebugProcesses and Observers from saved session; add all currently-running processes of the same name as saved processes to the current session. Also add all saved observers to all DebugProcesses. (loadSessionMode): Added. Functionally similar to setEditSessionMode(), makes safe assumptions about saved process and observer combinations. Linked directly to the monitor window. Fixes #3978. (filterDataInSession): Re-arranged to work with the elimination of generic process groups. (setTreeSelected): Removed redundant parameter. (addProcessParent): Cleaned up. (changeGroupState): Removed two of three scenarios due to the elimination of process groups. Extensively cleaned up to work with new implementation. (setProcessNext): Made aware that the druid now loads sessions as well. (getProcessSelectionControls): Removed references to process groups. Tells the ListView to watch GuiProcs instead of DebugProcesses. Null checks, fixes #3931. Search for specific processes using PIDs. (getProcessObserverControls): Tells the ListView to watch GuiProcs instead of DebugProcesses. (getDruidStructureControls): Added code for debugging button. The finish button now sets up the terminal and session for the monitor window. (attachLinkedListsToWidgets): Watch GuiProcs instead of DebugProcesses. (setUpCurrentPage): Set next button sensitive with page 0, fixes button bug. * gladedir/frysk_create_session_druid.glade: Resized, added button for launching the SourceWindow. * gladedir/frysk_session_manager.glade: Removed radio buttons and SourceWindow launch button. * sessions/DebugProcess.java (addObservers): Iterate through the 'procs' LinkedList rather than 'allProcsList' to add the observers. * sessions/Session.java: Applied GNU formatting. (clearProcesses): Added. Removes all DebugProcesses from the global list. * sessions/SessionManager.java: Applied GNU formatting. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/druid/CreateFryskSessionDruid.java.diff?cvsroot=frysk&r1=1.50&r2=1.51 http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/sessions/SessionManager.java.diff?cvsroot=frysk&r1=1.8&r2=1.9 http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/sessions/DebugProcess.java.diff?cvsroot=frysk&r1=1.29&r2=1.30 http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/sessions/Session.java.diff?cvsroot=frysk&r1=1.8&r2=1.9 http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/gladedir/frysk_session_manager.glade.diff?cvsroot=frysk&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/gladedir/frysk_create_session_druid.glade.diff?cvsroot=frysk&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/ListView.java.diff?cvsroot=frysk&r1=1.26&r2=1.27 http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/SessionProcDataModel.java.diff?cvsroot=frysk&r1=1.33&r2=1.34 http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/ProcWiseDataModel.java.diff?cvsroot=frysk&r1=1.21&r2=1.22 http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/ProcWiseTreeView.java.diff?cvsroot=frysk&r1=1.8&r2=1.9 http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/SessionManagerGui.java.diff?cvsroot=frysk&r1=1.35&r2=1.36