mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-18 08:33:06 +00:00
* Framework/PCEditorManager.m: Switch to editor and line in the
-debuggerDidHitBreakpoint: method. * Modules/Debuggers/ProjectCenter/PCDebugger.m: Minor cleanup. * Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Changes to -[PCDebuggerView logString:newLine:] to detect state and change it on debugger window. * Modules/Debuggers/ProjectCenter/Resources/PCDebugger.gorm: Left justify the status field. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27850 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bc9f8bb1f3
commit
cb81af5c42
6 changed files with 48 additions and 13 deletions
37
ChangeLog
37
ChangeLog
|
@ -1,19 +1,34 @@
|
|||
2009-02-11 19:45-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Framework/PCEditorManager.m: Switch to editor and line in the
|
||||
-debuggerDidHitBreakpoint: method.
|
||||
* Modules/Debuggers/ProjectCenter/PCDebugger.m: Minor cleanup.
|
||||
* Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Changes to
|
||||
-[PCDebuggerView logString:newLine:] to detect state and change
|
||||
it on debugger window.
|
||||
* Modules/Debuggers/ProjectCenter/Resources/PCDebugger.gorm:
|
||||
Left justify the status field.
|
||||
|
||||
2009-02-11 Sergii Stoian <stoyan255@gmail.com>
|
||||
|
||||
* PCMenuController.m:
|
||||
(subprojectNew): Use renamed [projectManager openNewSubprojectPanel]
|
||||
method.
|
||||
* Framework/PCProjectManager.m: Change all alert panel names according to
|
||||
operation performed. Edit messages text of alert panels. Cleanup.
|
||||
(newSubproject): Rename to openNewSubprojectPanel which is more informative.
|
||||
(createSubproject): Change method definition to createSubproject:(id)sender
|
||||
and merge code with old createSubproject:(id)sender.
|
||||
(controlTextDidChange:): Activate 'Create' button only if subproject with
|
||||
enetered name doesn't exist in project.
|
||||
* Framework/PCProjectManager.m: Change all alert panel names
|
||||
according to operation performed. Edit messages text of alert
|
||||
panels. Cleanup.
|
||||
(newSubproject): Rename to openNewSubprojectPanel which is
|
||||
more informative. (createSubproject): Change method definition
|
||||
to createSubproject:(id)sender and merge code with old
|
||||
createSubproject:(id)sender. (controlTextDidChange:): Activate
|
||||
'Create' button only if subproject with entered name doesn't
|
||||
exist in project.
|
||||
* Framework/PCProjectBrowser.m:
|
||||
(nameOfSelectedCategory): Fix bug which prevent from removing subprojects.
|
||||
Now selected category is checked against superproject category list. When
|
||||
subproject name selected, name of superproject's category is returned. As
|
||||
side effect ProjectBrowser tries to load editor for selected subproject's
|
||||
(nameOfSelectedCategory): Fix bug which prevent from removing
|
||||
subprojects. Now selected category is checked against superproject
|
||||
category list. When subproject name selected, name of superproject's
|
||||
category is returned. As side effect ProjectBrowser tries to load
|
||||
editor for selected subproject's
|
||||
name. Need to fix.
|
||||
|
||||
2009-02-10 Sergii Stoian <stoyan255@gmail.com>
|
||||
|
|
|
@ -394,8 +394,8 @@ NSString *PCEditorDidResignActiveNotification =
|
|||
id<CodeEditor> editor = [self openEditorForFile: filePath
|
||||
editable: YES
|
||||
windowed: NO];
|
||||
[self orderFrontEditorForFile:filePath];
|
||||
[editor scrollToLineNumber: [line intValue]];
|
||||
// NSLog(@"object = %@", [aNotif object]);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -141,7 +141,6 @@ static NSImage *downImage = nil;
|
|||
[debuggerWindow setToolbar: toolbar];
|
||||
RELEASE(toolbar);
|
||||
|
||||
[toolbar setUsesStandardBackgroundColor: YES];
|
||||
[debuggerView setFont: [NSFont userFixedPitchFontOfSize: 0]];
|
||||
[debuggerWindow setFrameAutosaveName: @"PCDebuggerWindow"];
|
||||
[self setStatus: @"Idle."];
|
||||
|
|
|
@ -106,6 +106,27 @@
|
|||
subProcessId = [process intValue];
|
||||
}
|
||||
|
||||
// Check certain status messages from GDB and set the state correctly.
|
||||
range = [str rangeOfString: @"Starting program:"];
|
||||
if (range.location != NSNotFound)
|
||||
{
|
||||
[debugger setStatus: @"Running..."];
|
||||
}
|
||||
|
||||
// Check certain status messages from GDB and set the state correctly.
|
||||
range = [str rangeOfString: @"Program recieved signal:"];
|
||||
if (range.location != NSNotFound)
|
||||
{
|
||||
[debugger setStatus: @"Stopped"];
|
||||
}
|
||||
|
||||
// Check certain status messages from GDB and set the state correctly.
|
||||
range = [str rangeOfString: @"Terminated"];
|
||||
if (range.location != NSNotFound)
|
||||
{
|
||||
[debugger setStatus: @"Terminated"];
|
||||
}
|
||||
|
||||
// FIXME: Filter this error, until we find a better way to deal with it.
|
||||
range = [str rangeOfString: @"[tcsetpgrp failed in terminal_inferior:"];
|
||||
if (range.location != NSNotFound)
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue