mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-14 14:40:52 +00:00
Merge branch 'dock_fix'
This commit is contained in:
commit
82d4d12f82
2 changed files with 29 additions and 6 deletions
23
ChangeLog
23
ChangeLog
|
@ -1,19 +1,30 @@
|
|||
2021-08-11 Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Framework/PCProjectBuilder.m: Fix issue where environment var
|
||||
was causing build to fail. Explicitly set environment for NSTask
|
||||
for build to prevent this problem.
|
||||
|
||||
2021-08-10 Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Framework/PCEditorManager.m: Add method -gotoFile:atLine:
|
||||
* Framework/PCProjectEditor.m: Add method openEditorForFilePath:windowed:
|
||||
* Framework/PCProjectEditor.m: Add method openEditorForFilePath:
|
||||
windowed:
|
||||
* Framework/PCProjectManager.m: Add method openFileAtPath:windowed:
|
||||
* Headers/ProjectCenter/PCEditorManager.h
|
||||
* Headers/ProjectCenter/PCProjectEditor.h
|
||||
* Headers/ProjectCenter/PCProjectManager.h: Declarations for above methods.
|
||||
* Headers/ProjectCenter/PCProjectManager.h: Declarations for above
|
||||
methods.
|
||||
* Modules/Debuggers/ProjectCenter/GDBWrapper.h
|
||||
* Modules/Debuggers/ProjectCenter/GDBWrapper.m: Add code to pull
|
||||
"thread-selected" dictionary when the debugger stops by using break/pause
|
||||
or by using up or down. Code to syncronize editor with where the debugger
|
||||
"thread-selected" dictionary when the debugger stops by using
|
||||
break/pause
|
||||
or by using up or down. Code to syncronize editor with where the
|
||||
debugger
|
||||
has stopped.
|
||||
* Modules/Debuggers/ProjectCenter/PCDebugger.h
|
||||
* Modules/Debuggers/ProjectCenter/PCDebugger.m: updateEditor method. This
|
||||
method makes use of the gotoFile:atLine: method to get the file and show it
|
||||
* Modules/Debuggers/ProjectCenter/PCDebugger.m: updateEditor method.
|
||||
This method makes use of the gotoFile:atLine: method to get the
|
||||
file and show it
|
||||
in the code editor and go to the line where it has stopped.
|
||||
* Modules/Editors/ProjectCenter/PCEditor.m: Update internal editor
|
||||
* Modules/Editors/ProjectCenter/PCEditorView.m: minor bugfixes.
|
||||
|
|
|
@ -596,13 +596,25 @@
|
|||
name:NSTaskDidTerminateNotification
|
||||
object:nil];
|
||||
|
||||
NSMutableDictionary *env = [[NSMutableDictionary alloc] init];
|
||||
|
||||
// optionally copy in existing environment first:
|
||||
// (we could also copy values for a limited set of specific keys, if we wanted.)
|
||||
[env addEntriesFromDictionary:[[NSProcessInfo processInfo] environment]];
|
||||
// then add/remove anything else we might want:
|
||||
[env removeObjectForKey:@"GNUSTEP_USER_ROOT"];
|
||||
|
||||
makeTask = [[NSTask alloc] init];
|
||||
// now set the task up to use this newly-built environment:
|
||||
[makeTask setEnvironment:env];
|
||||
[makeTask setArguments:buildArgs];
|
||||
[makeTask setCurrentDirectoryPath:[project projectPath]];
|
||||
[makeTask setLaunchPath:buildTool];
|
||||
[makeTask setStandardOutput:stdOutPipe];
|
||||
[makeTask setStandardError:stdErrorPipe];
|
||||
|
||||
NSLog(@"buildArgs = %@, buildTool = %@, projectPath = %@", buildArgs, buildTool, [project projectPath]);
|
||||
|
||||
[self logBuildString:
|
||||
[NSString stringWithFormat:@"=== %@ started ===", buildStatusTarget]
|
||||
newLine:YES];
|
||||
|
|
Loading…
Reference in a new issue