program has stopped or exited so that status can be displayed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27867 72102866-910b-0410-8b05-ffd578937521
(click:): Do not call editor if subproject name selected.
(fileNameIconImage): Set "FileProject" icon if subproject name selected.
* Framework/PCProjectManager.m: Remove unused methods projectPath and
selectedFileName.
* Framework/PCFileManager.m: Add alert panels if operation ends with
error.
* Framework/PCMakefileFactory.m: Add alert panels on error of creating
files.
* Framework/PCProjectBuilder.m: Review all situations when alert panels
should be opened. Panels text corrected according to OpenStep UIG.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27864 72102866-910b-0410-8b05-ffd578937521
(showInfoPanel:): Use appController intead of [NSApp delegate].
* GNUmakefile: Change version to 0.5.1.
* Resources/Info-gnustep.plist: ditto.
* Framework/PCProjectManager.m:
(open): Move ordering front project window for here...
(openProjectAt:): to here.
* Framework/PCProjectBrowser.m:
(nameOfSelectedCategory): Edit comment text.
* Framework/PCLogController.m:
(showPanel): Call makeKeyAndOrderFront instead of orderFront.
* Headers/PCInfoController.[hm]:
(showInfoWindow:): Get version info from Info-gnustep.plist.
* PCPrefController.m:
(showPanel:): Call makeKeyAndOrderFront instead of orderFront.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27861 72102866-910b-0410-8b05-ffd578937521
bug #25565. There was an extra semi-colon after the if
statement in this method which was causing it to return
before bringing the project window to the fron
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27853 72102866-910b-0410-8b05-ffd578937521
-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
(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/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
name. Need to fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27838 72102866-910b-0410-8b05-ffd578937521
Make "Add Files" panel run in modal mode.
* Framework/PCProject.m: Corrections in alert panel names.
* Framework/PCFileCreator.[mh]: Partial rewrite. Check existance of files
wich will be added. Make panel run in modal mode. Add "Add Header File"
option button.
* Documentation/TODO: Update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27826 72102866-910b-0410-8b05-ffd578937521
(validateMenuItem:): Enable "File" menu items for files opened
witout project. It fixes bug #25311 (now file saved).
* Framework/PCProjectManager.m:
(openFileAtPath:): Call to orderFrontEditorForFile: explicitly because
of last change in PCEditorManager.
* Framework/PCProjectBrowser.m:
(doubleClick:): Do not open file in separate window with PCProjectEditor
not PCProjectManager.
* Framework/PCProjectEditor.m:
(openEditorForCategoryPath:windowed:): Cleanup.
* Framework/PCEditorManager.m:
(openEditorForFile:editable:windowed:): Remove call to
orderFrontEditorForFile:.
* Modules/Editors/ProjectCenter/PCEditor.m:
(_createWindow): Modify default size and position of window.
(openFileAtPath:editorManager:editable:): Remove creation of internal view.
Create it when first requested (editorView and componentView methods).
(windowDidBecomeKey:) No need to set first responder. It seems first responder
remembered by window correctly.
(windowDidResignKey:): Call resignFirstResponder: to notify others.
* Modules/Projects/Application/PCAppProject.m:
(dealloc): TODO added.
* Documentation/TODO: Mark "Finish FileNameIcon..." task as done.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27807 72102866-910b-0410-8b05-ffd578937521
(dealloc): Replace DEVELOPMENT with DEBUG
* Framework/PCProjectBrowser.m:
(fileNameIconPath): Implement new method.
* Framework/PCFileNameIcon.m:
(mouseDown:) Finish drag&drop implementation.
(init): Do not set image by default.
(dealloc): Replace DEVELOPMENT with DEBUG.
(setDelegate:): Use ASSIGN.
(updateIcon): Cleanup.
* Framework/English.lproj/ProjectInspector.gorm: Remove
'Hide on deactivate' attribute to panel. It allows drag&drop
operations for external applications (e.g. Workspace).
* Modules/Projects/Application/PCAppProject.*: Use PCFileNameIcon
in inspector to use drag&drop functionality. Cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27798 72102866-910b-0410-8b05-ffd578937521
* Make modifications to files which use PCPrefController
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27698 72102866-910b-0410-8b05-ffd578937521
(awakeFromNib:): Remove setting menu title for better GORM
integration (Thanks to German Arias).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27617 72102866-910b-0410-8b05-ffd578937521
* Framework/GNUmakefile: Include PCFileNameField.h and
PCFileNameIcon.h in ProjectCenter_HEADER_FILES as
referenced by PCProjectInspector.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27613 72102866-910b-0410-8b05-ffd578937521
new openpty replacement code on systems which don't have
openpty, otherwise use the built-in version.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27493 72102866-910b-0410-8b05-ffd578937521
Change the status bar size and set minimum window size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27490 72102866-910b-0410-8b05-ffd578937521
* Modules/Debuggers/ProjectCenter/GNUmakefile: Add images
to makefile.
* Modules/Debuggers/ProjectCenter/PCDebugger.m: Add up and down
methods to implement this behaviour.
* Modules/Debuggers/ProjectCenter/Resources/down_button.png
* Modules/Debuggers/ProjectCenter/Resources/up_button.png:
Images for the up/down buttons.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27459 72102866-910b-0410-8b05-ffd578937521
method. Also add it to the launcher dealloc method.
* Headers/ProjectCenter/PCProjectLauncher.h: Add an ivar for the debugger.
* Modules/Debuggers/ProjectCenter/PCDebugger.m: Add dealloc to shut down
the debugger window when it's dealloc.
* Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Don't set status when
terminated, since it causes a crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27445 72102866-910b-0410-8b05-ffd578937521
to do the restart and pause actions in the debugger.
* Modules/Debuggers/ProjectCenter/PCDebuggerView.[hm]: Added
method subProcessId and an ivar and the logic to parse the
process id from debugger output.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27444 72102866-910b-0410-8b05-ffd578937521
* Modules/Debuggers/ProjectCenter/GNUmakefile: Added new images
to resource list.
* Modules/Debuggers/ProjectCenter/PCDebugger.[hm]: Added setStatus:
method to manage status field.
* Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Added code
to handle the toolbar.
* Modules/Debuggers/ProjectCenter/PTYView.[hm]: Added method called
"terminate" so that subclasses can override how the process is
terminated.
* Modules/Debuggers/ProjectCenter/Resources/PCDebugger.gorm: Added
status line.
* Modules/Debuggers/ProjectCenter/Resources/go_button.png
* Modules/Debuggers/ProjectCenter/Resources/next_button.png
* Modules/Debuggers/ProjectCenter/Resources/pause_button.png
* Modules/Debuggers/ProjectCenter/Resources/restart_button.png
* Modules/Debuggers/ProjectCenter/Resources/stepin_button.png
* Modules/Debuggers/ProjectCenter/Resources/stepout_button.png:
Images for debugger toolbar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27440 72102866-910b-0410-8b05-ffd578937521
that is passed in, since it is now fully qualified.
* Modules/Debuggers/ProjectCenter/PCDebugger.m: Pass the "-f" (fullname)
flag to gdb. This causes gdb to give a fully qualified pathname back.
* Modules/Debuggers/ProjectCenter/PCDebuggerView.[hm]: Code to
extract the line and file information.
* Modules/Debuggers/ProjectCenter/PTYView.[hm]: New method
putString:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27439 72102866-910b-0410-8b05-ffd578937521
the debugger has stopped at.
* Modules/Debuggers/ProjectCenter/PCDebuggerView.m: bring the debugger
window to the front when a breakpoint is detected.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27430 72102866-910b-0410-8b05-ffd578937521
* Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Changes to bring
up the file in which the debugger has stopped in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27429 72102866-910b-0410-8b05-ffd578937521
* Modules/Debuggers/ProjectCenter/PCDebugger.[hm]: Simplified to
call PCDebuggerView instance with the program to start.
* Modules/Debuggers/ProjectCenter/PCDebuggerView.[hm]: Refactored
into a subclass of PTYView.
* Modules/Debuggers/ProjectCenter/PTYView.[hm]: pty based terminal
view which allows us to read and write from a pseudo-terminal.
The code in the master/slave methods was inspired by an example
given in "UNIX Network Programming" by W. Richard Stevens and also
Nicola Vitacolonna.
* Modules/Debuggers/ProjectCenter/Resources/PCDebugger.gorm: Added
PTYView and made the PCDebuggerView a subclass of it. Also made
the window release when closed so that the gdb process gets
terminated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27416 72102866-910b-0410-8b05-ffd578937521