2009-03-22 Sergii Stoian * Framework/PCProjectBuilderOptions.m: (initWithProject:): Listen to PCProjectDictDidChangeNotification notification. (awakeFromNib): Move loading of project properties from here... (loadProjectProperties): ...to here. This is a notification action. 2009-03-20 Sergii Stoian * Framework/PCProject.m: (buildTargets): Return default build targets only if project file doesn't contain list of them. * Framework/PCProjectBuilder.m: (prebuildCheck): Create build directory only if preference was set. (build:): Set initial "=== started ===" string. * Framework/PCProjectInspector.m: (createBuildAttributes): Set target and action for table view. (searchOrderPopupDidChange:): Add support for "Build Targets". (setSearchOrderButtonsState): Enable "Remove" button only if item in list was selected. (syncSearchOrder): Add support for "Build Targets". * Documentation/TODO: Add some tasks and update status of others. * Headers/ProjectCenter/PCDefines.h: Add key for build targets support. 2009-03-19 Sergii Stoian * Framework/PCProjectManager.m: (dealloc): Replace if() check with TEST_RELEASE. (openFileAtPath:): Use class variable instead of method's local. (saveFile): Call saveFile to project editor if project is active and project window has key state. Call non-project editor manager otherwise. * PCPrefController.m: (stringForKey:defaultValue:): Set value to non-existent key only if defaultValue is not 'nil' ('nil' when called via stringForKey: method). (boolForKey:defaultValue:): Set value to non-existent key only if defaultValue has positive value (has '-1' when called via boolForKey: method). 2009-03-17 02:14 Sergii Stoian * Framework/PCProjectManager.m: (openProjectAt:): Setactive project to loaded after all initalization completed. * Framework/PCProject.m: (saveProjectWindowsAndPanels): Save project windows and panels according to preferences setting. (close:): Remove unsused code. * Framework/PCProjectBuilder.m: Cleanup. 2009-03-15 02:14 Sergii Stoian * Headers/Protocols/Preferences.h: Add new methods. * PCPrefController.m: Implemented set/get of preferences value dependent. All values are stored in preferences as NSString values and converted upon request to specified type. * Modules/Preferences/EditorFSC/PCEditorFSCPrefs.m: Use new methods of PCPrefController. Implemented setting of editor fonts. (setDefaults): Removed. * Modules/Preferences/Build/PCBuildPrefs.m, * Modules/Preferences/Misc/PCMiscPrefs.m, * Modules/Preferences/Saving/PCSavingPrefs.m: Use new methods of PCPrefController. (setDefaults): Removed. * Framework/PCProjectLoadedFiles.m, * Framework/PCMakefileFactory.m, * Framework/PCProject.m, * Framework/PCProjectLauncherPanel.m, * Framework/PCFileManager.m, * Framework/PCProjectBrowser.m, * Framework/PCProjectBuilder.m, * Framework/PCEditorManager.m, * Framework/PCProjectLoadedFilesPanel.m, * Framework/PCProjectLauncher.m, * Framework/PCProjectBuilderPanel.m, * Framework/PCProjectWindow.m, * PCAppController.m, * Framework/PCProjectManager.m: Use new methods of PCPrefController. 2009-03-05 02:43 Sergii Stoian * ChangeLog: Update. * Modules/Preferences/Misc/PCMiscPrefs.h, * Modules/Preferences/Misc/PCMiscPrefs.m, * Modules/Preferences/Misc/Resources/MiscPrefs.gorm/data.classes, * Modules/Preferences/Misc/Resources/MiscPrefs.gorm/objects.gorm: Add new setting UseTearOffWindows. * Framework/PCProjectWindow.m: Use new setting. * Modules/Editors/ProjectCenter/PCEditor.m: (dealloc): Add releasing _window. * Documentation/TODO: Update. 2009-03-05 01:01 Sergii Stoian * Framework/PCProjectManager.m: (convertLegacyProject:atPath:): Correctly convert legacy application project. * Framework/PCEditorManager.m; (openEditorForFile:editable:windowed:): Don't open lert panel if file is not text file. Situation when editor for non text files called to be opened must be reviewd. 2009-03-05 00:08 Sergii Stoian * Framework/PCProjectBrowser.m: Stop using 'SeparateEditor' prefernce. Remove use of preferences code. (doubleClick:): Change support of external editor (add support for .app editors). * Framework/PCProjectWindow.m: Start implementing two-mode handling of tear-off windows. New handling will support two modes: 1. all windows are opened inside projet window and 2. Build, Launch/Debug, Loaded Files (Project Find in future) are opened as tear-off windows. This simplifiles the code and in my opinion more intuitive then current implementation. * Modules/Editors/ProjectCenter/PCEditor.m: (_createWindow): Change window attribute ReleasedWhenClosed to NO. * PCPrefController.m: Add new parameter 'notify' to method setObject. This parameter is usefull for situation when open and save panels saves its values. For example: when project are opened 'Open Project' panel save last opened dir to PC prefernces and post notificaion about prefs changes. Newly created objects of projects may lead to PC segfault. * Modules/Preferences/Build/PCBuildPrefs.m, * Modules/Preferences/Interface/PCInterfacePrefs.m, * Modules/Preferences/Saving/PCSavingPrefs.m, * Modules/Preferences/Misc/PCMiscPrefs.m, * Framework/PCFileManager: Use new preferences setObject method. 2009-03-03 Riccardo Mottola * Framework/PCProjectInspector.m: allow authors inside table to scroll during editing 2009-03-02 Riccardo Mottola * Framework/PCProject.m, * Framework/PCProjectBuilder.m, * Framework/PCProjectManager.m, * Framework/PCFileCreator.m, * Framework/PCEditorManager.m: Fix string constants 2009-03-01 03:10 Sergii Stoian * Modules/Preferences/Interface/PCInterfacePrefs.h: * Modules/Preferences/Interface/Resources/InterfacePrefs.gorm: * Modules/Preferences/Interface/PCInterfacePrefs.m: Move options "Remember windows and panels opened in project" and "Display Log Panel at startup" from here... * Modules/Preferences/Misc/PCMiscPrefs.h: * Modules/Preferences/Misc/PCMiscPrefs.m: * Modules/Preferences/Misc/Resources/MiscPrefs.gorm: to here. 2009-03-01 00:47 Sergii Stoian * Modules/Preferences/Build/PCBuildPrefs.h: * Modules/Preferences/Build/PCBuildPrefs.m: * Modules/Preferences/Build/Resources/BuildPrefs.gorm: Move "Remove files in root build directory on quit" option from here... * Modules/Preferences/Misc/PCMiscPrefs.h: * Modules/Preferences/Misc/PCMiscPrefs.m: * Modules/Preferences/Misc/Resources/MiscPrefs.gorm: to here. 2009-03-01 Sergii Stoian * Framework/PCProjectManager.m: * Framework/PCProjectLoadedFiles.m: * Framework/PCMakefileFactory.m: * Framework/PCProject.m: * Framework/PCFileManager.m: * Framework/PCProjectBrowser.m: * Framework/PCButton.m: * Framework/PCProjectBuilder.m: * Framework/PCEditorManager.m: * Framework/PCLogController.m: * Framework/PCProjectLauncher.m: * Framework/PCProjectWindow.m: * PCAppController.m: * Modules/Preferences/Build/PCBuildPrefs.m: * Modules/Preferences/Interface/PCInterfacePrefs.m: * Headers/Protocols/Preferences.h: * Headers/ProjectCenter/PCProject.h: * Headers/ProjectCenter/PCProjectBrowser.h: * Headers/ProjectCenter/PCProjectBuilder.h: * Headers/ProjectCenter/PCEditorManager.h: * Headers/PCPrefController.h: * PCPrefController.m: Use new preferences system instead of direct using of NSUserDefaults. 2009-02-27 Sergii Stoian * Rewriting of preferences was finished. Now prefereces sections are implemented as modules "Modules/Preferences/*". 2009-02-25 Sergii Stoian * Rewriting of preferences was started. 2009-02-23 Sergii Stoian * Set all textfields attributes to 'scrollable'. * Framework/PCProjectBuilderOptions.m: Set first reponder after panel is ordereder (call to makeFirstResponder: in awakeFromNib prevents textfield from draw its' border. GNUstep bug?). 2009-02-22 Sergii Stoian * Framework/PCSaveModifiedFiles.m: Change to more generic implementation. PCRunSaveModifiedFilesPanel() implemented. * Framework/PCProjectBuilder.m: (prebuildCheck): Use PCRunSaveModifiedFiles(). 2009-02-22 Sergii Stoian * Framework/PCSaveModifiedFiles.m: * Framework/English.lproj/SaveModifiedFiles.gorm: * Headers/ProjectCenter/PCSaveModifiedFiles.h: Add initial implementation of "Save Modified Files" panel. * Framework/PCProjectBuilder.m: (prebuildCheck): Use PCSaveModifiedFiles. 2009-02-19 Sergii Stoian * Framework/PCProjectBuilder.m: (prebuildCheck): Swap button names. 2009-02-17 Sergii Stoian * Framework/PCProjectBuilder.m: Cleanup. * Framework/PCEditorManager.m: (openEditorForFile:editable:windowed:): Add alert panel that ordeder front when file to open doesn't exist. Remove commented out call to [self orderFrontEditorForFile:filePath] (this method should be called directly to PCEditorManager or PCProjectEditor classes). * Documentation/TODO: Added "Fix reported bugs" to list. 2009-02-16 Sergii Stoian * Framework/PCProjectManager.m: (close): Implemented. Closes not only project but also non project files editors. * Framework/PCProject.m: Clean and alert panels in various situations. * Framework/PCProjectEditor.m: Move closeAllEditors, saveEditedFiles:, saveAllFiles and saveFileAs: methods to PCEditorManager. (saveFileAs:): Use superclass method. * Framework/PCEditorManager.m: Adopt moved methods. (modifiedFiles): Implemented. Return array of file paths. (hasModifiedFiles): Implemented for future use (e.g. prebuild check in ProjectBuilder). (reviewUnsaved:): Implemented. Go through modified files' editors and close which results in opening of alert "Save?" panels. * PCAppController.m: (applicationShouldTerminate:): Use PCProjectManager close method instead of closeAllProjects. * Modules/Editors/ProjectCenter/PCEditor.m: (_createWindow): Set "edited" flag according to current state. * Framework/PCProjectBuilder.m: (prebuildCheck): Check if project has edited files. 2009-02-15 14:14-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Detect when the program has stopped or exited so that status can be displayed. 2009-02-15 Sergii Stoian * Framework/PCProjectBrowser.m: (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. 2009-02-14 Sergii Stoian * PCMenuController.m: (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. 2009-02-14 Nicola Pero * Modules/GNUmakefile (SUBPROJECTS): Removed Debuggers/ProjectCenter on MinGW since it doesn't compile there. 2009-02-12 23:03-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Correct mispelling of search string. 2009-02-12 11:58-EST Gregory John Casamento * Framework/PCProjectManager.m: openProject to correct 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 front. 2009-02-11 19:45-EST Gregory John Casamento * 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 * 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 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 name. Need to fix. 2009-02-10 Sergii Stoian * Framework/PCProjectManager.m: Corrections in alert panel names. 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. 2009-02-08 Sergii Stoian * PCMenuController.m: (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. 2009-02-06 Sergii Stoian * Framework/PCProject.m: (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. 2009-01-27 Sergii Stoian * Framework/GNUmakefile: Remove Preferences.gorm, Headers/PCPrefController.h, PCPrefController.m * GNUmakefile: Add Preferences.gorm, Headers/PCPrefController.h, PCPrefController.m * Framework/PCProjectManager.m: Access PCPrefController via var preController which is set by PCAppController. * Framework/PCProjectLoadedFiles.m: Remove #import of PCPrefController.h which is not used. * Framework/PCProjectBuilder.m: Access PCPrefController via PCProjectManager. * Framework/PCProjectWindow.m: ditto. * Framework/GNUmakefile.preamble: Remove -W from ADDITIONAL_OBJCFLAGS. It removes useless warnings from GNUstep libraries. 2009-01-17 Yavor Doganov * Framework/GNUmakefile: (ProjectCenter_LIBRARIES_DEPEND_UPON): Define to `$(OBJC_LIBS) $(FND_LIBS) $(GUI_LIBS)' to avoid unresolved symbols. Fixes bug #23792. 2009-01-17 Sergii Stoian * Framework/GNUmakefile: (ProjectCenter_HEADER_FILES): Include PCFileNameField.h and PCFileNameIcon.h in as referenced by PCProjectInspector.h. Fixes bug #21619. * Framework/PCProject.m: (fileTypesForCategoryKey:): add "nib" as recognizable interface file type. * Modules/Projects/Application/Resources/AppController.m: (awakeFromNib:): Remove setting menu title for better GORM integration (Thanks to German Arias). 2009-01-13 Riccardo Mottola * Framework/English.lproj/ProjectDescription.gorm: make the textfields scrollable 2009-01-02 Riccardo Mottola * Modules/Debuggers/ProjectCenter/PTYView.m: OpenBSD portability 2009-01-01 19:40-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/PTYView.[mh]: Changes to use new openpty replacement code on systems which don't have openpty, otherwise use the built-in version. 2009-01-01 17:41-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/Resources/Info.table: Add blank to file extension so that tools can be debugged as well. 2009-01-01 16:05-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/Resources/PCDebugger.gorm: Change the status bar size and set minimum window size. 2009-01-01 13:08-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/GNUmakefile * Modules/Debuggers/ProjectCenter/PTYView.h * Modules/Debuggers/ProjectCenter/PTYView.m: Change code to use openpty(...). 2008-12-31 Sergii Stoian * Framework/PCFileNameIcon.m: * Headers/ProjectCenter/PCFileNameIcon.h: Implementation of dragging functionality. * Framework/PCProjectBrowser.m: Implement file icon delegate methods. Dragging files to category icon adds files to project. 2008-12-30 Richard frith-Macdonald * PCMenuController.m: * Framework/PCProjectManager.m: * Framework/PCBundleManager.m: * Framework/PCMakefileFactory.m: * Framework/PCProject.m: * Framework/PCProjectLauncherPanel.m: * Framework/PCFileManager.m: * Framework/PCButton.m: * Framework/PCProjectBuilder.m: * Framework/PCProjectLoadedFilesPanel.m: * Framework/PCFileNameField.m: * Framework/PCSplitView.m: * Framework/PCProjectLauncher.m: * Framework/PCAddFilesPanel.m: * Framework/Resources/class.template: * Framework/Resources/header.template: * Framework/Resources/cfile.template: * Framework/PCProjectBuilderPanel.m: * Framework/PCFileCreator.m: * PCAppController.m: * PCFindController.m: * ProjectCenter_main.m: * Modules/Parsers/ProjectCenter/ObjCMethodHandler.h: * Modules/Parsers/ProjectCenter/ObjCCommentHandler.h: * Modules/Parsers/ProjectCenter/PCParser.h: * Modules/Parsers/ProjectCenter/ObjCClassHandler.h: * Modules/Parsers/ProjectCenter/ObjCMethodHandler.m: * Modules/Parsers/ProjectCenter/ObjCCommentHandler.m: * Modules/Parsers/ProjectCenter/CodeHandler.h: * Modules/Debuggers/ProjectCenter/PCDebugger.m: * Modules/Debuggers/ProjectCenter/PTYView.m: * Modules/Debuggers/ProjectCenter/PCDebuggerView.h: * Modules/Debuggers/ProjectCenter/PCDebugger.h: * Modules/Debuggers/ProjectCenter/PCDebuggerView.m: * Modules/Debuggers/ProjectCenter/PTYView.h: * Modules/Projects/Application/PCAppProject.h: * Modules/Projects/Application/PCAppProject+Inspector.h: * Modules/Projects/Application/PCAppProject.m: * Modules/Projects/Application/PCAppProject+Inspector.m: * Modules/Projects/Application/Resources/AppController.m: * Modules/Projects/Application/Resources/main.m: * Modules/Projects/Application/Resources/AppController.h: * Modules/Projects/ResourceSet/PCResourceSetProject.h: * Modules/Projects/ResourceSet/PCResourceSetProject.m: * Modules/Projects/Library/PCLibProject.h: * Modules/Projects/Library/PCLibProject.m: * Modules/Projects/Aggregate/PCAggregateProject.h: * Modules/Projects/Aggregate/PCAggregateProject.m: * Modules/Projects/Bundle/PCBundleProject.h: * Modules/Projects/Bundle/PCBundleProject.m: * Modules/Projects/Framework/PCFrameworkProject.m: * Modules/Projects/Framework/PCFrameworkProject.h: * Modules/Projects/Tool/PCToolProject.m: * Modules/Projects/Tool/Resources/main.m: * Modules/Projects/Tool/PCToolProject.h: * Headers/PCMenuController.h: * Headers/Protocols/CodeDebugger.h: * Headers/Protocols/CodeEditor.h: * Headers/Protocols/CodeParser.h: * Headers/Protocols/ProjectType.h: * Headers/ProjectCenter/PCProject.h: * Headers/ProjectCenter/PCProjectLauncherPanel.h: * Headers/ProjectCenter/PCProjectBrowser.h: * Headers/ProjectCenter/PCFileManager.h: * Headers/ProjectCenter/PCButton.h: * Headers/ProjectCenter/PCProjectBuilder.h: * Headers/ProjectCenter/PCDefines.h: * Headers/ProjectCenter/PCProjectEditor.h: * Headers/ProjectCenter/PCEditorManager.h: * Headers/ProjectCenter/PCProjectLoadedFilesPanel.h: * Headers/ProjectCenter/ProjectCenter.h: * Headers/ProjectCenter/PCLogController.h: * Headers/ProjectCenter/PCSplitView.h: * Headers/ProjectCenter/PCProjectLauncher.h: * Headers/ProjectCenter/PCAddFilesPanel.h: * Headers/ProjectCenter/PCProjectBuilderPanel.h: * Headers/ProjectCenter/PCProjectInspector.h: * Headers/ProjectCenter/PCFileCreator.h: * Headers/ProjectCenter/PCPrefController.h: * Headers/ProjectCenter/PCProjectManager.h: * Headers/ProjectCenter/PCProjectLoadedFiles.h: * Headers/ProjectCenter/PCBundleManager.h: * Headers/ProjectCenter/PCMakefileFactory.h: * Headers/PCInfoController.h: * Headers/PCAppController.h: * PCInfoController.m: Update to use #import rather than #include now that it is no longer deprecated and is the officially preferred mechanism. 2008-12-29 22:29-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/Resources/continue_button.png: Add image. 2008-12-29 22:27-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/GNUmakefile: Add continue icon. * Modules/Debuggers/ProjectCenter/PCDebugger.m: Add continue method. 2008-12-29 20:23-EST Gregory John Casamento * Documentation/TODO: Update progress. * 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. 2008-12-29 00:30-EST Gregory John Casamento * Framework/PCProjectLauncher.m: Remove local variable for debugger from 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. 2008-12-28 11:25-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/PCDebugger.m: Added code 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. 2008-12-28 02:23-EST Gregory John Casamento * Framework/PCEditorManager.m: Remove log. * 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. 2008-12-27 00:47-EST Gregory John Casamento * Framework/PCEditorManager.m: Changed code to use the filePath 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:. 2008-12-26 13:01-EST Gregory John Casamento * Framework/PCEditorManager.m: Scroll to and select the line that the debugger has stopped at. * Modules/Debuggers/ProjectCenter/PCDebuggerView.m: bring the debugger window to the front when a breakpoint is detected. 2008-12-26 02:25-EST Gregory John Casamento * Framework/PCEditorManager.m * Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Changes to bring up the file in which the debugger has stopped in. 2008-12-25 23:46-EST Gregory John Casamento * Framework/PCProject.m * Headers/ProjectCenter/PCProject.h: Added notification for hitting a breakpoint. * Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Added code to detect when a breakpoint is hit. 2008-12-25 10:30-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/GNUmakefile: Added PTYView.[hm] * 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. 2008-12-22 21:51-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/PCDebugger.m: Write to the filehandle via the stream in -[PCDebugger putChar:]. 2008-12-22 19:56-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/PCDebugger.h * Modules/Debuggers/ProjectCenter/PCDebugger.m * Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Add code to write to the file desicriptor. 2008-12-22 18:36-EST Gregory John Casamento * English.lproj/ProjectCenter.gorm: Minor changes. * Framework/PCEditorManager.m: Cleanup. * Framework/PCProjectLauncher.m: Cleanup. * GNUmakefile: New module. * Headers/Protocols/CodeDebugger.h: New methods * Modules/Debuggers/ProjectCenter/GNUmakefile: Added debugger to resources. * Modules/Debuggers/ProjectCenter/PCDebugger.h * Modules/Debuggers/ProjectCenter/PCDebugger.m: Changes to talk to debugger task * Modules/Debuggers/ProjectCenter/Resources/PCDebugger.gorm: Debugger gorm file. 2008-12-23 Sergii Stoian * Documentatio/TODO: move unfinshed tasks from 0.5 to 0.6 release 2008-12-21 Sergii Stoian * Documentatio/TODO: update tasks for 0.6 release 2008-12-19 Nicola Pero * All GNUmakefiles: removed GNUSTEP_CORE_SOFTWARE=YES and added PACKAGE_NAME=ProjectCenter. * GNUmakefile: Export PACKAGE_NAME to reduce chances of a problem if a GNUmakefile in a subdirectory is missing it. 2008-12-18 Nicola Pero * Framework/GNUmakefile.preamble (GMAKE): Take advantage of the MAKE variable, which must already be set to the correct make else we wouldn't be able to compile PC itself, when searching for a working make. (GMAKE, GDB): Use := to void spawning a subshell every time one of these variables is read. 2008-12-18 Nicola Pero * All GNUmakefiles: added GNUSTEP_CORE_SOFTWARE=YES at the beginning. * GNUmakefile: Export GNUSTEP_CORE_SOFTWARE to reduce chances of a problem if a GNUmakefile in a subdirectory is missing it. 2008-12-17 Richard frith-Macdonald Where files are to be entered using NSOpenPanel and a 'set' button, make the corresponding textfields which display the filename selectable but not editable. 2008-12-17 Richard frith-Macdonald Clean up document type keys in ...info.plist Implement support for help document. 2008-12-16 Richard frith-Macdonald Attempt to get NSRole set correctly in document type info. 2008-12-09 Riccardo Mottola * Framework/PCPrefController.m: corrected wrong outlet 2008-12-07 Riccardo Mottola * Headers/ProjectCenter/PCPrefController.h, Framework/PCPrefController.m: handle setting path from Buttons 2008-11-27 22:06-EST Gregory John Casamento * Modules/Projects/Application/Resources/AppController.m: Correct warning in application:openFile: in AppController.m in Application project module. 2008-11-27 12:01-EST Gregory John Casamento * Framework/GNUmakefile * GNUmakefile: Correction for bug #24674. 2008-11-27 01:29-EST Gregory John Casamento * Framework/PCProjectBrowser.m: Check return value of [NSWorkspace getInfoForFile:application:type:]. Corrects crash when no editor is available for a type. 2008-10-25 20:48-EDT Gregory John Casamento * Version: 0.5 2008-10-22 Riccardo Mottola * English.lproj/Info.gorm: correct bugtracker URL 2008-10-22 Wolfgang Lux * Framework/PCProjectBuilder.m: fix memory related crash * Framework/PCProjectBuilder.m, Modules/Projects/Application/PCAppProject.m, Modules/Projects/Tool/PCToolProject.m: enhancements for relative install paths 2008-10-18 18:18-EDT Gregory John Casamento * ChangeLog: Moved to here top level of project. * Documentation/ChangeLog: Removed from here... * Modules/Editors/ProjectCenter/PCEditor.m: Corrected an issue in the windowDidResignKey: method which was making the window the first responder. This was preventing Find from working properly. 2008-02-20 Sergii Stoian * Framework/PCProjectBuilder.m: (-parseErorLine:): Fixed type of saved row and column values. Cleanup. * Framework/PCEditorManager.m: (-openEditorForFile:editable:windowed:): Fixed another NSLog parameter missing. 2008-02-19 Sergii Stoian * PCMenuController.m: Start thinking about "Go to line:" popup. * English.lproj/ProjectCenter.gorm: Added "Edit->Find->Line Number..." menu item. * Framework/PCProjectBrowser.m: (-nameOfSelectedFile:): Improve category select detection. (-pathToSelectedFile:): Use nameOfSelctedFile:. Cleanup. (-nameOfSelctedCategory:): Return project name if subproject is selected. * Framework/PCProjectEditor.m: (-openEditorForCategoryPath:windowed:): Use PCEditor's fileStructureItemSelected if file structure component selected in browser. * Framework/PCProjectBuilder.m: Go to line number in editor on error/warning click functionality implemented. * Framework/PCProjectWindow.m: Cleanup. * Framework/PCPrefController.m: Fix some compiler warnings. * Modules/Parsers/ProjectCenter/ObjCMethodHandler.m: * Modules/Parsers/ProjectCenter/ObjCClassHandler.m: Fix bug #20855. Improve class names parsing: don't include spaces. * Modules/Editors/ProjectCenter/PCEditorView.h: Remove unused editorDocument variable. * Modules/Editors/ProjectCenter/PCEditor.h: * Modules/Editors/ProjectCenter/PCEditor.m: Make class independent from ProjectCenter framework. Added variable _highlighSyntax. It sould be set via preferences in the future. (-_createEditorViewWithFrame:): Use _highlighSyntax variable. (-_methodsForClass:): New method. Used to return to browser methods only for selected class. (-browserItemsForItem:): Use _methodsForClass method. (-scrollToClassName:): Implemented. Now it's a almost identical copy of scrollToMethodName:. TODO: think about code optimization. * Modules/Editors/ProjectCenter/PCEditorView.m: (-drawRect:): Call highilghter only if it's enabled. 2008-02-13 22:10-EST Gregory John Casamento * Framework/PCMakefileFactory.m: Correction for bug#22311. Added project-type specific makefile generation. 2008-02-10 23:53-EST Gregory John Casamento * Framework/PCEditorManager.m: Corrected problem with call to NSLog(..) which was causing a crash. 2008-02-05 Sergii Stoian * PCMenuController.m: Start thinking about "Go to line:" popup. * English.lproj/ProjectCenter.gorm: Added "Edit->Find->Line Number..." menu item. * Framework/PCProjectBrowser.m: (-nameOfSelectedFile:): Improve category select detection. (-pathToSelectedFile:): Use nameOfSelctedFile:. Cleanup. (-nameOfSelctedCategory:): Return project name if subproject is selected. * Framework/PCProjectEditor.m: (-openEditorForCategoryPath:windowed:): Use PCEditor's fileStructureItemSelected if file structure component selected in browser. * Framework/PCProjectBuilder.m: Go to line number in editor on error/warning click functionality implemented. * Framework/PCProjectWindow.m: Cleanup. * Framework/PCPrefController.m: Fix some compiler warnings. * Modules/Parsers/ProjectCenter/ObjCMethodHandler.m: * Modules/Parsers/ProjectCenter/ObjCClassHandler.m: Fix bug #20855. Improve class names parsing: don't include spaces. * Modules/Editors/ProjectCenter/PCEditorView.h: Remove unused editorDocument variable. * Modules/Editors/ProjectCenter/PCEditor.h: * Modules/Editors/ProjectCenter/PCEditor.m: Make class independent from ProjectCenter framework. Added variable _highlighSyntax. It sould be set via preferences in the future. (-_createEditorViewWithFrame:): Use _highlighSyntax variable. (-_methodsForClass:): New method. Used to return to browser methods only for selected class. (-browserItemsForItem:): Use _methodsForClass method. (-scrollToClassName:): Implemented. Now it's a almost identical copy of scrollToMethodName:. TODO: think about code optimization. * Modules/Editors/ProjectCenter/PCEditorView.m: (-drawRect:): Call highilghter only if it's enabled. 2008-02-13 22:10-EST Gregory John Casamento * Framework/PCMakefileFactory.m: Correction for bug#22311. Added project-type specific makefile generation. 2008-02-10 23:53-EST Gregory John Casamento * Framework/PCEditorManager.m: Corrected problem with call to NSLog(..) which was causing a crash. 2008-02-05 Sergii Stoian * Framework/PCProjectManager.[mh]: Cleaning up code that manages non-project editors. Use PCEditorManager instead. Remove PCFileManager's dalegate code(FileManagerDelegates category). (-newFile): Call PCFileCreator's method newFileInProject:. * Framework/PCFileManager.[mh]: Move code related to creation of new file in project from here * Framework/PCFileCreator.[mh]: to here. (-createFile): Add additional check before adding file to project (fixes bug #17493). * Framework/English.lproj/NewFile.gorm: Set owner to PCFileCreator. 2008-01-22 Sergii Stoian * Framework/PCEditorManager.m: Added. * Headers/ProjectCenter/PCEditormanager.h: Added. * PCMenuController.m: (-fileSaveAs:): move code to PCProjectManager.m. * Headers/ProjectCenter/PCEditorManager.h: New file. * Framework/PCEditorManager.m: New file. Superclass for PCProjectEditor. * Framework/PCProjectManager.m: Use PCEditorManager. Implement opening files outside of projects (fixes bug #15992). * Framework/PCProjectLoadedFiles.m: Use PCEditorManager. * Framework/PCProject.m: (-setProjectManager:): Use new method of initializing PCProjectEditor. * Framework/GNUmakefile: Add PCEditorManager.[hm]. * Framework/PCProjectBrowser.m: Made use of PCProjectEditor's editorForFile: method. * Framework/PCProjectEditor.m: Remove initializing of extern variables (moved into PCEditorManager). Use '_componentView' var instead of 'componentView'. The same with _scrollView and _project. (-initWithProject:): renamed into init. Removed code duplicated with superclass' code. (-dealloc): Removed code duplicated with superclass' code. (-editorForFile:key:): Removed. Code moved into superclass' editorForFile: method. (-openEditorForCategoryPath:windowed:): Code that determines existance of file and if file is plain text move into [super openEditorForFile:editable:windowed:]. Changed file opening coditions. Made use of [ fileStructureItemSelected] method. Code that determines classes and methods in category path was removed. (openEditorForFile:categoryPath:editable:windowed:): Removed in favour of superclass' method. (activeEditor): Ditto. (allEditors): Ditto. (closeActiveEditor:): Ditto. (closeEditorForFile:): Ditto. (saveFile): Ditto. (saveFileTo:): Ditto. (revertFileToSaved): Ditto. (editorDidResignActive:): Ditto. (editorDidChangeFileName:): Ditto. (closeAllEditors:): Cleanup. (saveFileAs:): Made use of new -openEditorForFile:editable:windowed: method. * Framework/PCProjectWindow.m: Made usage of editorManager method of protocol. * Modules/Editors/ProjectCenter/PCEditorView.m: (becomeFirstResponder): Use new -becomeFirstResponder: method of PCEditor class. * Modules/Editors/ProjectCenter/PCEditor.h: Change name of var projectEditor to _editorManager. Add parameter (PCEditorView *)view to becomeFistResponder and resignFirstResponder methods. Add some comments. * Modules/Editors/ProjectCenter/PCEditor.m: Rename method -openFileAtPath:categoryPath:projectEditor:editable: to -openFileAtPath:editorManager:editable. Rename -projectEditor method to -editorManager. Change becomeFistResponder and resignFirstResponder methods' definitions. (fileStructureItemSelected:): Add initial implementation of action code according to the type of selected item. * Headers/Protocols/CodeEditor.h: Change definition of -openFileAtPath:categoryPath:projectEditor:editable: mathod to -openFileAtPath:editorManager:editable. Remove methods scrollToClassName: and scrollToMethodName:. Rename projectEditor method into editorManager. * Headers/ProjectCenter/PCProjectEditor.h: Made PCProjectEditor as subclass of PCEditorManager. Add prefix '_' to variables. (-initWithProject:): renamed into init. (setProject:): Added. Removed methods and variables duplicated with superclass. * Headers/ProjectCenter/PCProjectManager.h: Add editorManager var. (-saveFileAs:): renamed to saveFileAs. 2008-01-17 Sergii Stoian * Framework/PCProjectBrowser.m: (doubleClick:): open file with external application only if NSWorkspace doesn't return "ProjectCenter.app" appliction name. 2008-01-16 Sergii Stoian * GNUmakefile: Remove FileRTF.tiff from resoures. * Images/FileRTF.tiff: Removed. * Images/FileM.tiff, * Images/FileMH.tiff, * Images/FileH.tiff, * Images/FileHH.tiff, * Images/FileC.tiff, * Images/FileCH.tiff, Moved to Modules/Editors/ProjectEditor/Resources. * Images/FileProject.tiff: Added * Modules/Editors/ProjectCenter/PCEditor.h: Added new variable _isEditable. * Modules/Editors/ProjectCenter/PCEditor.m: (_createEditorViewWithFrame:): Set editable state for NSTextView here. Add observer for changed text notification here. * Resources/Info.plist: NSTypes was extended. 2008-01-15 Sergii Stoian * Framework/PCBundleManager.m: (objectForClassName:bundleType:protocol:) Return nil if className is nil. 2007-12-20 Nicola Pero * PCMakefileFactory.m ([-createPreambleForProject:]): Output the -l flags in the ADDITIONAL_GUI_LIBS variable, not the ADDITIONAL_LDFLAGS one. This should fix linking applications on Windows, but will not work well for linking non-GUI libraries. ProjectCenter needs to be extended to allow specifying ADDITIONAL_TOOL_LIBS and ADDITIONAL_OBJC_LIBS on the gui. 2007-12-13 Nicola Pero * GNUmakefile.preamble (ADDITIONAL_LIB_DIRS): Improved linking to the ProjectCenter framework when it's not installed yet so that it should work on non-flattened layouts. * Modules/GNUmakefile.bundles (ADDITIONAL_LIB_DIRS): Same change. (BUNDLE_INSTALL_DIR): Use GNUSTEP_APPS, not GNUSTEP_SYSTEM_ROOT. 2007-09-27 Sergii Stoian * Framework/PCBundleManager.m, * Headers/ProjectCenter/PCBundleManager.h: Make massive cleaup. some methods changed, some deleted, some added. * Framework/PCProjectManager.m, * Framework/PCProjectEditor.m: Make use of changed PCBundleManager. * TextFinder.m: (-enterSelection:): Add sanity check for text variable. (-jumpToSelection:): Ditto. * Modules/Parsers/ProjectCenter/Resources/Info.table: Fix value of "Name" key. * Headers/Protocols/CodeEditor.h: Remove declaration of openExternalEditor:withPath:projectEditor: method. It will be provided by Custom.editor bundle (will be added soon). * Headers/ProjectCenter/PCProjectEditor.h: Cleanup. 2007-09-24 Sergii Stoian * English.lproj/FindPanel.gorm: Added Find panel. * PCMenuController.m: Added Find panel support. * TextFinder.[hm]: Added implementation of Find panel. 2007-08-29 Sergii Stoian * Frameworks/PCFileManager.m: (-filesForOpenOfType:multiple:title:accView:): Removed (-fileForSaveOfType:title:accView:): Removed. (-filesForAddOfTypes:): Removed. (-filesOfTypes:operation:multiple:title:accView:): Implemented. Replaces removed methods. (-_panelForOperation:title:accView:): New method. Returns panel for specified operation type. (-_saveLastDirectoryForPanel:): New method. Saves last opened directory for operation type (panel). (-panel:isValidFilename:): Validate directory as correct filename if project is opening and directory has PC.project file. * Headers/ProjectCenter/PCFileManager.h: Added new variable 'operation' and declaraion of new mathods. * Framework/PCProjectManager.m: Use new methods of PCFileManager. * Framework/PCProjectWindow.m: (-preferencesDidChange:): Show Builder and Launcher panels only they are visible in project window (fixes bug #20858). * Modules/Projects/Library/Resources/Version: Changed GCC version to 2.95.3. 2007-08-23 Sergii Stoian * Modules/Editors/ProjectCenter/Resources/ObjC.syntax: Change color of 'NO'. * Modules/Projects/Library/Resources/Version: Change gcc version to 2.9.5. 2007-08-22 Sergii Stoian * Framework/PCProjectBuilderOptions.m: Add missing file. * Headers/ProjectCenter/PCProjectBuilderOptions.h: Add missing file. * Framework/PCProject.m: (-rootCategories): Call subproject's method if subproject is active. (-rootEntries): Ditto. (-keyForCategory:): Ditto. Fix bug #20854. (-categoryForKey:): Ditto. (-keyForRootCategoryInCategoryPath:): Since keyForCategory: was made subproject's sensitive implement key searching here. 2007-08-21 Sergii Stoian * Framework/PCProjectBuilderOptions.m: New file. * Headers/ProjectCenter/PCProjectBuilderOptions.h: New file. * ProjectBuilder options handling finished. * Fixed compliance to GNUstep make v2. * Framework/PCFileNameIcon.m: Start implementing drag/drop. * Images/ProjectCenter.tiff: Use ProjectManager's app icon. * Modules/Projects/*/Resources/Info.table: change default targets. * Headers/ProjectCenter/PCDefines.h: Clean up. 2007-07-19 Sergii Stoian * GNUmakefile.postamble: Cleanup old code. * Headers/ProjectCenter/PCMakefileFacory.h: * Framework/PCMakefileFacory.m: (-createMakefileFroProject:): change argument type from NSSrting to PCProject. Set installation path PCInstallDir value. * Modules/Projects/*/PC*Project.m: (-writeMakefile): Adopt createMakefileForProject argument type changes. 2007-06-06 Sergii Stoian * GNUmakefile: Set GNUSTEP_INSTALLATION_DOMAIN to SYSTEM. 2007-06-05 Sergii Stoian * Framework/PCProjectBuilder.m: Added parsing of gcc error output. 2007-04-27 Nicola Pero * PCProjectLauncher.m ([-debug:]): Fixed determining the path of the executable to debug. Try (in the order) xxx.debug/xxx, xxx.app/xxx and obj/xxx. Fixed path printed in error message when gdb is not found. (Originally from a patch by Friedrich ) 2007-04-27 Nicola Pero * PCProject.m ([-execToolName]): Fixed typo where 'ExecuToolName' had been typed instead of 'ExecToolName'. * PCProjectLauncher.m ([-run:]): Add './' before the name when we're using openapp, so that we use 'openapp ./Gorm.app' but 'opentool autogsdoc'. This fixes running application/tool projects. 2007-03-06 Nicola Pero * GNUmakefile: Set GNUSTEP_MAKEFILES using gnustep-config if not yet set. Do not set GNUSTEP_INSTALLATION_DOMAIN. * PCBundleManager.m ([-loadBundlesWithExtension:]): Rewritten to use the proper NSSearchPathForDirectoriesInDomains API so that it works with all filesystem layouts. Also, load bundles from all ApplicationSupport/ProjectCenter locations, not just the System one. * Framework/PCPrefController.m (-setBundlePath:): Method removed. * Headers/ProjectCenter/PCPrefController.h: Same change. * PCFileManager.m ([-createDirectoriesIfNeededAtPath:]): Avoid infinite loop that would be triggered the first time you tried to build your project. 2007-02-14 Nicola Pero * GNUmakefile.bundles (BUNDLE_INSTALL_DIR): Fixed definition basing it on GNUSTEP_APPS. 2007-02-14 Nicola Pero * Modules/Projects/Application/PCAppProject.m: Do not set GNUSTEP_INSTALLATION_DIR in the GNUmakefile. This would not work with the new filesystem support. The GUI probably needs updating to make users aware of this. * Modules/Projects/Tool/PCToolProject.m: Same change. 2007-01-20 Sergii Stoian * Modules/Editors/ProjectCenter/Resources/ObjC.syntax: Update. 2007-01-15 Sergii Stoian * Framework/PCProjectManager.m: Remove code handling rootBuildPath var. Remove rootBuildPath var. * Headers/ProjectCenter/PCProjectManager.h: Ditto. * Framework/PCFileManager.m: Add removeDirsIfEmpty:(BOOL) parameter to remove* methods. * Headers/ProjectCenter/PCFileManager.h: Ditto. * Framework/PCProject.m: Pass removeDirsIfEmpty:(BOOL) parameter to PCFileManager remove* methods calls. * PCAppController.m: Ditto. * Modules/Projects/Application/PCAppProject.m: Ditto. * Modules/Projects/Tool/PCToolProject.m: Ditto. * Framework/PCProjectBuilder.m: Rename ivar currentProject into project. Use it. (prebuildCheck:): Create root build directory if not exist. * Headers/ProjectCenter/PCProjectBuilder.h: Rename ivar currentProject into project. * Documentation/TODO: Update. * Documentation/ANNOUNCE: Ditto. 2007-01-15 Sergii Stoian * Framework/PCProjectManager.m: Fix problem with closing project. * Framework/PCProjectr.m: Ditto. * Framework/PCMakefileFactory.m: Support for root build directory added. * Framework/PCProjectBuilder.m: Code cleanup. * Framework/PCProjectEditor.m: Enable usage of parser. Start testing process. * Framework/PCProjectWindows.m: Enable tooltips for buttons. * Framework/PCPrefController.m: setRootBuildDir: fix. * PCAppController.m: applicationWillTerminate: Remove file from build dir on application quit. This code still needs review (also removed build dir because of use PCFileManager's method). * Modules/Editors/ProjectCenter/PCEditor.m: browserItemsForItem: Crashes if file is not supported by parser. Fixed. 2007-01-12 Sergii Stoian * Framework/PCProjectBuilder.m: Parsing of error output almost complete, testing. Display number of warnings and errors in statud line after build process finished. * Framework/English.lproj/BuilderPanel.gorm: Change minimal size. * Framework/English.lproj/ProjectWindow.gorm: Fix minimal size. 2007-01-09 Sergii Stoian * Framework/English.lproj/Builder.gorm: Added. * Framework/English.lproj/BuilderPanel.gorm: Added. * Framework/PCProjectBuilder.m: Use GORM file for interface. Initial parsing for error logging view was added. * Framework/PCProjectBuilderPanel.m: Use GORM file for interface. 2006-12-26 Sergii Stoian * Merge changes from UNSTABLE_0_5 into trunk. * Localizable resources for application and framework was defined (English.lproj). * Rename directory with ProjectCenter framework from Library to Framework. * Fix makefiles wrt to framework directory renaming. 2006-11-20 Sergii Stoian * Rewritte bundle loading mechanizm. Bundle now loaded on demand. * Created Protocols directory. * PCEditor and friends moved to loadable bundle Modules/Editors/ProjectCenter. * PCLogController.[hm] and PCPrefController.[hm] was moved to Library. * Fixes for MingW environment (thanks to Adam Fedor). * Added attempt to find make and debugger utilities. 2006-11-15 Nicola Pero * Modules/GNUmakefile.bundles (BUNDLE_INSTALL_DIR): Install the bundles in GNUSTEP_INSTALLATION_DIR, not in GNUSTEP_SYSTEM_ROOT. * Modules/ApplicationProject/PCAppProject.m ([PCAppProject -appendHead:]): Do not hardcode GNUSTEP_INSTALLATION_DIR in GNUmakefiles. See comments in the file for an explanation of how to improve PC's installation controls. * Modules/RenaissanceProject/PCRenaissanceProject.m ([PCRenaissanceProject -appendHead:]): Same change. * Modules/ToolProject/PCToolProject.m ([PCToolProject -appendHead:]): Same change. * Modules/BundleProject/Resources/PC.project (INSTALLDIR): Install bundles by default in $(GNUSTEP_BUNDLES). 2006-10-21 15:41-EDT Gregory John Casamento * Resources/ProjectCenter.gorm: Corrected issue with dangling menu/ menu items in the .gorm file. 2006-10-09 Nicola Pero * GNUmakefile (GNUSTEP_INSTALLATION_DIR): Do not set GNUSTEP_INSTALLATION_DIR. It should never be set in GNUmakefiles. * Library/GNUmakefile: Same change. * Modules/GNUmakefile: Same change. * ProjectCenter/Resources/GNUmakefile: Same change. 2005-09-11 Serg Stoyan * Library/PCProject.m: (saveProjectWindowsAndPanels): save ProjectBrowser frame. * Library/PCProjectWindow.m: gormified. (_initUI): Adopt to grom model. Make self as delegate for h_split. (splitView:resizeSubviewsWithOldSize:) implemented h_split delegate method. Used for restoring saved frame of ProjectBrowser. In general, used to restore subviews size of horisontal and verstical split views from last session. "Remember project windows and panels in PC.project" task from TODO file is considered fully comleted now. Will use this scheme for other split views in PC. * Library/PCFileNameIcon.[hm]: new files. I'm not sure yet if it should be separate class for file icons. 2005-06-20 Serg Stoyan * Library/PCFileNameField.m: new file. * Library/PCProjectInspector.m: moved class PCFileNameField to separate file. * Library/PCProjectWindow.m: (_initUI)fileIconTitle now is PCFileNameField instead of NSTextField. 2005-06-11 Serg Stoyan * PCAppController.m: (applicationWillTerminate:): Don't remove temorary directory. Needs more investigation since NSTemporaryDirectory() returns f.e. /tmp/GNUstepSecure1000. * Library/PCProjectEditor.m: (orderFrontEditorForFile:): Always show editor subview (Fixed bug#11779). Incorporated from HEAD branch. 2005-01-28 Serg Stoyan * Moduleas/ResourceSetProject: Added. 2005-01-27 Serg Stoyan * Renaissance project type removed. 2005-01-26 Serg Stoyan * Renaissance project type code and templates moved into Applicaton project type. 2005-01-25 Serg Stoyan * Move "Project Name", "Project Type" and "Language" fields into Project Inspector's "Project Attributes section" * Library/PCProject.m: Add "Project Attributes" view. Modules' inspectors now subview of this view. 2005-01-23 Serg Stoyan * Move appendLibraries: from project modules into PCMakefileFactory.m * Include into GNUmakefile only public headers for Framework and Library project types. * Project type bundles now have .project suffix. * Library/PCBundleLoader.[hm]: (loadBundlesWithExtension:): Added and implemented. (loadBundlesAtPath:withExtension:): ditto. (loadBundleWithFullPath:): ditto. (loadBundles): removed. * Library/PCProjectManager.m: (loadProjectTypeBunldes): Call loadBundlesWithExtension:@"project". * Added Framework project type. * 0.5 branch started. 2005-01-22 Serg Stoyan * Release 0.4.1 * Modules/ApplicationProject/PCAppProject+Inspector.m: (addDocType:): Set all textfields to default values. (removeDocType:): Call fillFieldsForRow: after row removing. 2005-01-09 Gregory Jonh Casamento * Library/PCProjectBuilder.m: (build:): Exception handler added. 2005-01-09 Serg Stoyan * Library/PCButton.m: (release): Added and implemented. Remove tooltips if object is about to be dealloced. * Library/PCProjectBuilder.m: (stopBuild:): Eception handler added. 2005-01-05 Serg Stoyan * Library/GNUstep.postamble: Make "ln -s" ProjectCenter to the ../Library. It should make correct compiling on Windows. * Library/PCFileManager.m: (defaultManager:): Don't autorelease returned object. 2005-01-04 Serg Stoyan * Library/PCFilesManager.[hm]: (createDirectoriesIfNeededAtPath:): Added and implemented. (copyFile:toFile:): ditto. (copyFile:intoDirectory:): ditto. * Use above methods where it's appropriate. 2005-01-03 Serg Stoyan * Library/PCAddFilesPanel.[hm]: New implementation. Derived from NSOpenPanel. * Library/PCFileManager.m: Use PCAddFilesPanel instead of NSOpenPanel. * Library/PCProject.m: (projectFileFromFile:forKey:): Rewritten to correctly support subprojects' files and libraries. (addFiles:forKey:notify:): Add path to PCSearchLibs when adding libraries. * Library/PCProjectInspector.m: Observe project dictionary changes and reread it. Accept entered value when textfields are losting focus. * Library/PCProjectBrowser.m: (doubleClick:): Don't try to open libraries. * Modules/ApplicationProject/Resources/Main.gorm: Connect delegate to AppController (bug #11478). * Library/PCProjectEditor.m: (editorForFile:categoryPath:windowed:): Call orderFrontEditorForFile: to show already opened file (bug #11448). * Library/PCEditor.m: (_createEditorViewWithFrame:): Remove return of autoreleased ivar. * Library/PCFileManager.m: (filesForAddOfTypes:): Get list of categories from active project not from root active project. 2004-12-24 Serg Stoyan * "Build Tool" setting from Project Inspector was moved to PC Preferences. * Implemented support of document-based applications * Added "Document types" panel into Project Inspector * Library/PCFileManager.m: Fix crashing while calling "Add Files" panel. 2004-10-14 Serg Stoyan * Fixed interface (*.gorm) files wrt to latest GORM changes. 2004-07-22 Serg Stoyan * Library/PCButton.m: Rewritten tooltips code. Almost ready for incorporation into NSView. * Library/PCProjectBuilder.m: Use new tooltip code and remove old style code. * Library/PCProjectLauncher.m: ditto. * Library/PCProjectWindow.m: ditto. *Images/ButtonTile.tiff: removed. 2004-07-15 Serg Stoyan * Library/PCProject.m: (projectFileForFile:forKey:): Fix recognizing of subproject files. * Library/PCProjectManager.m: (addProjectFiles):ditto. * Update all GORM files with latest CVS GORM version. * Resources/Preferences.gorm: Fix Auto-Save slider. 2004-07-14 Serg Stoyan * Library/PCButton.m: PCButtonCell removed. (initWithFrame:): [self setCell:] removed. [_cell setGradientType:] added. 2004-07-04 Serg Stoyan * Library/PCProject.m: (projectFileFromFile:forKey:): If adding files from subproject to project add it with relative path to project's one. * Modules/ApplicationProject/PCAppProject.m: (writeMakefile): Do not add "Resources/" prefix if resource file is part of subproject. * Modules/BundleProject/PCBundleProject.m: (writeMakefile): ditto. * Modules/LibraryProject/PCLibProject.m: (writeMakefile): ditto. * Modules/RenaissanceProject/PCRenaissanceProject.m: (writeMakefile): ditto. * Modules/ToolProject/PCToolProject.m: (writeMakefile): ditto. 2004-07-03 Serg Stoyan * Library/PCProjectManager.m: (addProjectFiles:): Don't copy files that already in project directory structure. This allows adding of subproject's files to project resources. * Across the ProjectCenter: Comment out calls for PCLog*. This is speedup PC. 2004-06-22 Serg Stoyan * Library/PCFileManager.m: (panel:shouldShowFilename:): Treat .gorm dirs not as dirs. * Library/PCProject.m: (doesAcceptFile:forKey:): Check existance of file in sourceFileKeys and resourceFileKeys. * Modules/*: Made cleanup in sourceFileKeys, resourceFileKeys and otherKeys methods. 2004-06-21 Serg Stoyan * Library/PCFileManager.m: (panel:shouldShowFilename:): Fix filtering out files already included in project. Optimized. * GNUmakefile: Change VERSION var to 0.4.1pre. 2004-06-20 Serg Stoyan * Release 0.4.0. * Library/PCProjectWindow.m: (activeProjectDidChange:): Take into account subprojects of subprojects. (showProjectLaunch:): Remove attention panel if project is not executable. * Library/PCProjectBrowser.m: (activeProjectDidChange:): ditto. Take into account subprojects of subprojects. * Library/PCProjectLauncher.m: (debug:): Check if project is executable and order attention panel if not. * Modules/ApplicationProject/Resources/Inspector.gorm: Fix connection between "Add" button and addDocIcon: method. * Modules/ApplicationProject/PCAppProject.m: (appendApplication:): Removed. (appndHead:): Move appendApplication's code here. Write into GNUmakefile _STANDARD_INSTALL = no if install dir attribute was not set. * Modules/BundleProject/PCBundleProject.m: (appendHead:): Write into GNUmakefile _STANDARD_INSTALL = no if install dir attribute was not set. * Modules/RenaissanceProject/PCRenaissanceProject.m: (appendApplication:): ditto. * Modules/ToolProject/PCToolProject.m: (appendHead:): ditto 2004-06-19 Serg Stoyan * Library/PCProjectManager.m: (convertLegacyProject:atPath:): Get files list from .pcproj file not from directories. * Library/PCProject.m: (renameFile:toFile): Handle the case when filename already exist. Do not use removeFiles and addFiles methods, change projectDict directly. (setProjectDictObject:forKey:): Post notification with dictionary as notification object. Dictionary consists of "Project" and "Attribute" records. This is narrows actions to be taken on project dictionary changes. (assignProjectDict:): Set LANGUAGES to [NSUserDefaults userLanguages]. (setProjectDictObject:forKey:notify:): Renamed from setProjectDictObject:forKey:. Changed in various places accordinly. (removeFiles:forKey:notify:): Renamed from removeFiles:forKey:. (addFiles:forKey:notify:): Renamed from addFiles:forKey:. * Library/PCProjectBrowser.m: (projectDictDidChange): Changed wrt last PCProject changes. Reload column only if "Attribute" is one of the tracked by Projectbrowser. (reloadLastColumn): Renamed to reloadLastColumnAndNotify: and changed accordinly to its name. (reloadLastColumnAndSelectFile:): Added and implemented. * Library/PCProjectWindow.m: (projectDictDidChange:): Changed wrt last PCProject changes. * Library/PCLoadedFiles.m: (initWithProject:): Change NSLog with PCLogStatus. * Library/PCProjectInspector.m: (activeProjectDidChange:): Set window title only if project change to other project not subproject. * Library/PCFileManager.m: (filesForAdd): Fix setting panel attributes. * Modules/AggregateProject/PCAggregateProject.m: (appendHead:) Added generating of VERSION var. * Modules/ApplicationProject/PCAppProject.m: (appendApplication:): ditto. * Modules/BundleProject/PCBundleProject.m: (appendHead:): ditto. * Modules/LibraryProject/PCLibProject.m: (appendHead:): ditto. Added support for public headers. (renameFile:toFile:): Implemented. Handles the case with public headers. * Modules/RenaissanceProject/PCRenaissanceProject.m: (appendApplication:): ditto. * Modules/ToolProject/PCToolProject.m: (appendHead:): ditto * Modules/: Cleanup PC.project templates. Added PUBLIC_HEADERS and LANGUAGES. 2004-06-15 Serg Stoyan * Library/PCProjectManager.m: (convertLegacyProject:atPath:): added and implemented for conversion of old projects. (closeProject:): check if panels visible before performing close. * Libarary/PCProject.m: (fileTypesForCategoryKey:): moved implementation here from PC*Project classes. (dirForCategory:): ditto. * Library/PCProjectEditor.m: (editorDidClose:): remove calling to setActiveEditor:. (editorDidResignActive:): check if editor belongs to current project. (editorDidBecomeActive:): fix checking if editor belongs to current project. * Library/PCProjectBrowser.m: (projectDictDidChange:): Fix detection of project changed. * Modules/ApplicationProject/*.[hm]: * Modules/BundleProject/*.[hm]: * Modules/LibraryProject/*.[hm]: * Modules/RenaissanceProject/*.[hm]: * Modules/ToolProject/*.[hm]: Default location of non-localized resources changed to Resources subdir in project directory layout. No more Documentation and Images subdirectories. Removed PCProject overridings that are identical. Cleaned up. 2004-06-14 Serg Stoyan * Library/PCFileManager.m: (createFile): Removed extra ";" in newFiles declaration. * Modules/AggregateProject: Aggregate project type added. * Images/MultiFiles.tiff: added. 2004-06-13 Serg Stoyan * Library/PCProjectBrowser.m: (reloadLastColumn): Reload subprojects list only if subprojects added/removed. 2004-06-12 Serg Stoyan * Library/PCProjectManager.m: * Library/PCProject.m: * PCPrefController.m: Fix bugs related to opening legacy projects. * Fixes made to compile with gcc 3.4 * Resources/ProjectCenter.gorm: Remove all unimplemented items. 2004-06-11 Serg Stoyan * Library/PCProjectManager.m: (loadProjectAt:): Fix loading "Gorm" poject. 2004-06-09 Serg Stoyan * Library/PCProjectBrowser.[hm]: (pathOfSelectedFile): renamed to pathToSelectedFile. (nameOfSelectedCategory): implemented. Use it insetead PCProject's -categoryForCategoryPath. (pathToSelectedCategory): implemented. (setPathForFile:category:): removed. (reloadLastColumn): implemented. * Modules/ApplicationProject/PCAppProject.m: (renameFile:toFile:): remove calling of PCProjectBrowser's setPathForFile:category. * Modules/RenaissanceProject/ PCRenaissanceProject.m: (renameFile:toFile:): ditto. * Library/PCLoadedFilesPanel.m: * Library/PCBuildPanel.m: * Library/PCLaunchPanel.m: (activeProjectDidChange:): return if root project wasn't changed. * Library/PCProject.m: (setProjectmanager:): don't set project components for subproject. 2004-06-02 Serg Stoyan * Library/PCProjectManager (openProjectAt:): get project name from PC.project file instead of directory name. So project name and directory name may differ. * Library/PCProjectLauncher.m (debug:): Debug application using full path instead of "~/Application". * PCMenuController.m: disable "Tear-Off Editor Size" fields editing if Project Editor is not tear-off or Editor is not "ProjectCenter". Check only first arg of Editor value. 2004-06-01 Serg Stoyan * Finished on-the-fly applying "Tear-Off Panels" preferences. * Implemented remembering windows and panels visibility on project opening. * Various PCProject fixes. * Remove PC.project.backup if preference "Keep Project Backup File" is not set. 2004-05-27 Serg Stoyan * Finished support of external editors. 2004-05-10 Serg Stoyan * Preferences interface created using GORM. * Resources/Prefernces.gorm: added. * PCPrefController+UInterface.[hm]: removed. 2004-05-08 Serg Stoyan * Start new ChangeLog. Old ChangeLog resides in Documentation/ChangeLog-1 new in Documentation/ChangeLog. * Summary of changes: - massive overall refactoring and cleanup. Directory layout of PC changed; - ProjectWindow: implemented toolbar(hide/show); menu entry implemented; - ProjectInspector: PC*Project's parts moved into PC*Projects; more or less finished; - ProjectBuilder: switch from NSThread to NSTask method of executing tasks; "Build", "Stop Build", "Clean" menu entries implemented; - ProjectLauncher: ditto; finished all related menu entries; - LoadedFiles: Fully implemented; - LogController: implemented; made use it; - initial subprojects support added; - more stability around the whole ProjectCenter; - GORMified parts of PC now is: PC main menu, ProjectInspector, "File->New in Project" panel, "Project-> New Subproject" panel. - "File->Rename" implemented; - ProjectCenter library now framework.