(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
* Modules/Debuggers/ProjectCenter/PCDebugger.m
* Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Add code
to write to the file desicriptor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27410 72102866-910b-0410-8b05-ffd578937521