Commit graph

364 commits

Author SHA1 Message Date
Riccardo Mottola
46dbf0ce36 remove default for the build tool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37608 72102866-910b-0410-8b05-ffd578937521
2014-01-15 23:36:40 +00:00
Riccardo Mottola
f76a08b9a0 Use the convenience method to determine better defaults for make and gdb
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37588 72102866-910b-0410-8b05-ffd578937521
2014-01-13 10:50:50 +00:00
Riccardo Mottola
842c395eae debug stuff cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37584 72102866-910b-0410-8b05-ffd578937521
2014-01-12 20:12:47 +00:00
Germán Arias
907f26aab5 Change the height of Preferences panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37266 72102866-910b-0410-8b05-ffd578937521
2013-10-20 19:15:14 +00:00
Germán Arias
bdf1f9e902 Use standard menu Find and connect Line Number... to first responder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37221 72102866-910b-0410-8b05-ffd578937521
2013-10-13 19:04:09 +00:00
Germán Arias
74db97895a Improvements to handle the style NSWindows95InterfaceStyle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37153 72102866-910b-0410-8b05-ffd578937521
2013-09-25 00:25:49 +00:00
Riccardo Mottola
f0f502f8ab Transition to NSUInteger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37137 72102866-910b-0410-8b05-ffd578937521
2013-09-22 20:26:06 +00:00
Riccardo Mottola
3dfb67766c NSUInteger / NSInteger transitions for count/length variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37135 72102866-910b-0410-8b05-ffd578937521
2013-09-22 18:53:40 +00:00
Riccardo Mottola
78d4babed7 Do not advance start and get startType if we are at the end anyway.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37134 72102866-910b-0410-8b05-ffd578937521
2013-09-22 18:49:37 +00:00
Riccardo Mottola
f33f962c25 Transition count/length variables to NSUInteger
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37132 72102866-910b-0410-8b05-ffd578937521
2013-09-21 23:22:04 +00:00
Riccardo Mottola
560bdde237 Fix parser check for temrination, do not look past last char.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37128 72102866-910b-0410-8b05-ffd578937521
2013-09-21 17:58:39 +00:00
Riccardo Mottola
c0007e5b0a replace deprecated makevariable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37090 72102866-910b-0410-8b05-ffd578937521
2013-09-17 17:16:59 +00:00
Sebastian Reitenbach
7c84efcd92 * Framework/PCProjectBrowser.m
* Framework/PCSaveModified.m
        * Framework/PCProjectLoadedFiles.m
        * Framework/PCProjectBuilder.m
        * Headers/ProjectCenter/PCProjectBrowser.h
        * Headers/ProjectCenter/PCSaveModified.h
        * Headers/ProjectCenter/PCProjectLoadedFiles.h
        * Modules/Projects/Application/PCAppProject+Inspector.h
        * Modules/Projects/Application/PCAppProject+Inspector.m
          some more (unsigned) int -> NS(U)Integer transitions
          not catched from clang, but found by libobjc2 in debug mode

OK Fred



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@36108 72102866-910b-0410-8b05-ffd578937521
2013-02-10 18:34:12 +00:00
Sebastian Reitenbach
8562d733c5 * Framework/PCProjectInspector.m
* Modules/Editors/ProjectCenter/SyntaxDefinition.m
        * Modules/Editors/ProjectCenter/SyntaxHighlighter.m
        * Modules/Editors/ProjectCenter/TextPattern.m
        * Modules/Preferences/EditorFSC/PCEditorFSCPrefs.m
          some more (unsigned) int -> NS(U)Integer transitions
          and some shutup of clang compiler warnings

OK Fred



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@36107 72102866-910b-0410-8b05-ffd578937521
2013-02-10 18:30:25 +00:00
Sebastian Reitenbach
b97e7068dc * Modules/Debuggers/ProjectCenter/PTYView.m
Include right headers for openpty on OpenBSD

OK Fred



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@36099 72102866-910b-0410-8b05-ffd578937521
2013-02-09 14:42:13 +00:00
Sebastian Reitenbach
b97769af80 * Modules/Preferences/Build/PCBuildPrefs.m
* Framework/PCButton.m
        * Modules/Parsers/ProjectCenter/ObjCMethodHandler.m
          shutup some clang warnings
        * Framework/PCProjectBrowser.m
          NSInteger conversions

OK Fred 



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@36098 72102866-910b-0410-8b05-ffd578937521
2013-02-09 14:33:38 +00:00
Sebastian Reitenbach
e89f88456b * Framework/PCFileCreator.m
* Framework/PCMakefileFactory.m
        * Framework/PCProjectBuilder.m
        * Framework/PCProjectLauncher.m
        * Framework/PCProjectManager.m
        * Framework/PCProject.m
        * Modules/Projects/Application/PCAppProject.m
        * Modules/Projects/Tool/PCToolProject.m
          shutup clang compiler warning about redunant literal
          string usage


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@36097 72102866-910b-0410-8b05-ffd578937521
2013-02-09 14:29:44 +00:00
Germán Arias
ca05e41d9f Fix problem with Library projects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@35815 72102866-910b-0410-8b05-ffd578937521
2012-11-22 06:47:03 +00:00
Riccardo Mottola
df3d681858 Do not include stropts.h for most OS's anymore.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@35480 72102866-910b-0410-8b05-ffd578937521
2012-08-30 09:08:26 +00:00
Wolfgang Lux
f3ac6d9d8a ProjectCenter fixes for compilation on 64-bit hosts.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@35330 72102866-910b-0410-8b05-ffd578937521
2012-07-30 21:07:19 +00:00
Riccardo Mottola
906750c769 NetBSD doesn't support streams either.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@35092 72102866-910b-0410-8b05-ffd578937521
2012-04-20 08:35:30 +00:00
Riccardo Mottola
7b81179dce Fix imports for freebsd
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@35087 72102866-910b-0410-8b05-ffd578937521
2012-04-17 10:20:03 +00:00
Riccardo Mottola
2ca9202b6e Remove extra parentheses which confuse = and == warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@32801 72102866-910b-0410-8b05-ffd578937521
2011-04-07 16:28:14 +00:00
Fred Kiefer
e0fe4ae4e3 * Modules/Parsers/ProjectCenter/PCParser.m [-parse]: Move the
selector and IMP definitions inside the method. Global IMP caching
is always wrong! And this broke compilation with llvm.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@32788 72102866-910b-0410-8b05-ffd578937521
2011-04-06 18:46:03 +00:00
Nicola Pero
26fafd712c Added FIXME
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@32574 72102866-910b-0410-8b05-ffd578937521
2011-03-14 10:50:23 +00:00
Wolfgang Lux
405a68887b Ask user for confirmation before reverting a file in PC.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31943 72102866-910b-0410-8b05-ffd578937521
2011-01-24 13:29:44 +00:00
Wolfgang Lux
f8767ee74f Fix an annoying bug in PC's editor where pressing the tab key would
delete whole empty lines. Also register insertions done by the tab key
at the undo manager.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31942 72102866-910b-0410-8b05-ffd578937521
2011-01-24 13:27:52 +00:00
Wolfgang Lux
6abca97576 ... and get the PC inspector panel's display right again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31843 72102866-910b-0410-8b05-ffd578937521
2011-01-06 16:10:59 +00:00
Wolfgang Lux
20d074fc08 Fix PC bug where the document based app flag was reset after opening
the project inspector for the first time.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31842 72102866-910b-0410-8b05-ffd578937521
2011-01-06 15:58:13 +00:00
Germán Arias
d334376dd6 Reverted a previous change since extension project is not used anymore
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31704 72102866-910b-0410-8b05-ffd578937521
2010-12-04 06:01:21 +00:00
Riccardo Mottola
eb2972f8fb Set, use and create makefiles using ain installation DOMAIN and not a director
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31688 72102866-910b-0410-8b05-ffd578937521
2010-11-28 21:38:53 +00:00
Germán Arias
102557c7ca Fix on key PCUserLanguages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31639 72102866-910b-0410-8b05-ffd578937521
2010-11-22 01:33:53 +00:00
Riccardo Mottola
2a4aa4f0b8 initialize range to ensure it does not ocntain garbage later
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31628 72102866-910b-0410-8b05-ffd578937521
2010-11-18 16:47:25 +00:00
Riccardo Mottola
099849f7ff Init could return a different object, take it in account
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31617 72102866-910b-0410-8b05-ffd578937521
2010-11-17 23:45:17 +00:00
Germán Arias
28c343707e Delete the extension .project at the name of the applications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31590 72102866-910b-0410-8b05-ffd578937521
2010-11-06 05:50:22 +00:00
Riccardo Mottola
e1689431f6 remove LAST_EDITING from project template. It is not needed for validation and should not be in an empty project.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30944 72102866-910b-0410-8b05-ffd578937521
2010-07-10 21:29:37 +00:00
Riccardo Mottola
a255e0650c remove LAST_EDITING from project template. It is not needed for validation and should not be in an empty project.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30943 72102866-910b-0410-8b05-ffd578937521
2010-07-10 21:28:37 +00:00
Gregory John Casamento
c3960f94ee * Modules/Editors/ProjectCenter/PCEditor.m: in -save implemented
simple mechanism for propagating changes in classes to Gorm when 
	updating a header file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30941 72102866-910b-0410-8b05-ffd578937521
2010-07-10 05:11:58 +00:00
Gregory John Casamento
c816587571 Fixed issue with pause button.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30935 72102866-910b-0410-8b05-ffd578937521
2010-07-07 18:39:56 +00:00
Riccardo Mottola
491745fd36 Fix highlighting for standalone editors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30819 72102866-910b-0410-8b05-ffd578937521
2010-06-22 16:03:05 +00:00
Riccardo Mottola
10ccc32c63 Deleted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30818 72102866-910b-0410-8b05-ffd578937521
2010-06-22 16:02:49 +00:00
Riccardo Mottola
85941fac98 clean up parenthesis highlighting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30805 72102866-910b-0410-8b05-ffd578937521
2010-06-22 00:20:46 +00:00
Wolfgang Lux
c546135d3e Fix bug where ProjectCenter could include some localized resources in
the RESOURCE_FILES Makefile variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30723 72102866-910b-0410-8b05-ffd578937521
2010-06-15 03:52:02 +00:00
Wolfgang Lux
082fb0ae70 Attempt to prevent ProjectCenter crashes when a project is closed by
ensuring that project and editor windows are closed before their
owners are deallocated.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30599 72102866-910b-0410-8b05-ffd578937521
2010-06-07 07:04:24 +00:00
Riccardo Mottola
de94278815 declare string constants with @
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30566 72102866-910b-0410-8b05-ffd578937521
2010-06-03 22:02:06 +00:00
Riccardo Mottola
43211ec2b7 declare new code editor view protocol, make the PCEditorView return the editor with a n accessor, make the project window access the undo manager that way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30551 72102866-910b-0410-8b05-ffd578937521
2010-06-02 23:55:29 +00:00
Riccardo Mottola
7928e2b4e5 keep an Undo manager for the Editor and return that to the window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30527 72102866-910b-0410-8b05-ffd578937521
2010-06-01 13:35:07 +00:00
Gregory John Casamento
00ca943852 * Modules/Projects/Application/Resources/main.m: Same as below.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30485 72102866-910b-0410-8b05-ffd578937521
2010-05-30 07:34:25 +00:00
Gregory John Casamento
bf26cfe775 * Modules/Projects/Application/Resources/AppController.h
* Modules/Projects/Application/Resources/AppController.m
	* Modules/Projects/Tool/Resources/main.m: Remove licensing
	and copyright information from these since we don't want to 
	assume that the user will be writing a GPLv3 program owned by the
	FSF (while that would be nice) it's not correct to assume it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30484 72102866-910b-0410-8b05-ffd578937521
2010-05-30 07:10:31 +00:00
Gregory John Casamento
3517ccbc92 * Modules/Editors/ProjectCenter/PCEditor.m: Temporarily comment out
previous change util we find the proper fix as it was preventing 
	files from being saved.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30480 72102866-910b-0410-8b05-ffd578937521
2010-05-30 05:36:36 +00:00
Riccardo Mottola
3ce2f4a4c5 setup undo on the editor view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@29858 72102866-910b-0410-8b05-ffd578937521
2010-03-06 16:07:28 +00:00
Richard Frith-MacDonald
6607fcc0ef update templates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@29063 72102866-910b-0410-8b05-ffd578937521
2009-11-26 12:43:40 +00:00
Gregory John Casamento
f2a055ef97 * Framework/PCProject.m: Implement openWrapperAtPath:
* Framework/PCProjectManager.m: Change method call to use
	openWrapperAtPath:
	* Headers/ProjectCenter/PCProject.h: Add wrapperPath ivar.
	* Modules/Projects/Application/PCAppProject.m:
	Change method to call super.
	* Modules/Projects/Tool/PCToolProject.m: Change method to 
	call super.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28138 72102866-910b-0410-8b05-ffd578937521
2009-03-27 07:01:11 +00:00
Sergii Stoian
f8d2b38fe4 * GNUmakefile,
* Framework/GNUmakefile: Change versions to 0.5.3.
* Modules/Preferences/Build/PCBuildPrefs.m: Cleanup.
* Modules/Preferences/EditorFSC/PCEditorFSCPrefs.m: Implement editor
color preferences.
* Modules/Preferences/Saving/PCSavingPrefs.m: Cleanup.
* Modules/Preferences/Misc/PCMiscPrefs.m: Cleanup.
* Documentation/TODO: Update.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28079 72102866-910b-0410-8b05-ffd578937521
2009-03-15 22:47:23 +00:00
Sergii Stoian
e6ce23e63b * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28074 72102866-910b-0410-8b05-ffd578937521
2009-03-15 00:12:00 +00:00
Sergii Stoian
8c23bab5c2 * Remove compile time files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28059 72102866-910b-0410-8b05-ffd578937521
2009-03-09 20:17:15 +00:00
Sergii Stoian
64995148d5 * Remove compile time files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28058 72102866-910b-0410-8b05-ffd578937521
2009-03-09 20:16:03 +00:00
Sergii Stoian
29d7d59abc * Sswitch to new interface setting.
* Modules/Preferences/EditorFSC: Add new prefs section.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28057 72102866-910b-0410-8b05-ffd578937521
2009-03-09 20:15:10 +00:00
Sergii Stoian
ec139b282b * 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


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28042 72102866-910b-0410-8b05-ffd578937521
2009-03-05 00:42:59 +00:00
Sergii Stoian
9d2a79b3a4 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28038 72102866-910b-0410-8b05-ffd578937521
2009-03-04 22:05:51 +00:00
Sergii Stoian
aaab08aa2a * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28010 72102866-910b-0410-8b05-ffd578937521
2009-03-01 01:17:02 +00:00
Sergii Stoian
0e196e0fd1 * Modules/Preferences/Build/Resources/BuildPrefs.gorm: Add missing oulet
for new option.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28009 72102866-910b-0410-8b05-ffd578937521
2009-02-28 22:55:41 +00:00
Sergii Stoian
811a306f55 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28008 72102866-910b-0410-8b05-ffd578937521
2009-02-28 22:47:37 +00:00
Sergii Stoian
9ae293917b * Use new preferences system instead of direct using of NSUserDefaults.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28007 72102866-910b-0410-8b05-ffd578937521
2009-02-28 22:10:30 +00:00
Sergii Stoian
dfb30e2882 * Rewriting of preferences finished
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27991 72102866-910b-0410-8b05-ffd578937521
2009-02-27 00:46:25 +00:00
Sergii Stoian
4b2e398b0d * Start rewriting of PC preferences. "Build" preferences implemented
as loadable module. See Changelog for details.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27969 72102866-910b-0410-8b05-ffd578937521
2009-02-25 00:34:59 +00:00
Sergii Stoian
9724c929cb * Finish alert panels review. All situations that I've missed will
be worked out in future.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27954 72102866-910b-0410-8b05-ffd578937521
2009-02-22 21:46:01 +00:00
Sergii Stoian
1699452ef8 * 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. Use
<CodeEditor> close: methods instead of closeFile:save:.
(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.
(saveFile): Add alert panel on fail.
(closeFile:save:): Rewritten to properly process 'save' flag.
* Headers/Protocols/CodeEditor.h: Added close: method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27873 72102866-910b-0410-8b05-ffd578937521
2009-02-16 00:10:59 +00:00
Gregory John Casamento
41f163d735 * Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Detect when the
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
2009-02-15 19:06:10 +00:00
Nicola Pero
923416f666 Do not compile the ProjectCenter Debugger module on MinGW
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27860 72102866-910b-0410-8b05-ffd578937521
2009-02-14 10:52:43 +00:00
Gregory John Casamento
2c703a94f5 * Modules/Debuggers/ProjectCenter/PCDebuggerView.m: Correct
mispelling of search string.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27855 72102866-910b-0410-8b05-ffd578937521
2009-02-13 03:55:44 +00:00
Gregory John Casamento
cb81af5c42 * 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
2009-02-12 03:02:57 +00:00
Sergii Stoian
a417d8581e * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27807 72102866-910b-0410-8b05-ffd578937521
2009-02-08 00:38:13 +00:00
Sergii Stoian
6f85c6383a * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27798 72102866-910b-0410-8b05-ffd578937521
2009-02-05 23:59:32 +00:00
Sergii Stoian
5e5fa71d5a * Modules/Projects/Application/Resources/AppController.m:
(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
2009-01-17 00:11:12 +00:00
Riccardo Mottola
f0c308711b OpenBSD portability
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27504 72102866-910b-0410-8b05-ffd578937521
2009-01-02 17:51:00 +00:00
Gregory John Casamento
6a062ed252 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27493 72102866-910b-0410-8b05-ffd578937521
2009-01-02 00:34:09 +00:00
Gregory John Casamento
90c55771fd Change file extension entry so that tools can be debugged.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27492 72102866-910b-0410-8b05-ffd578937521
2009-01-01 22:34:46 +00:00
Gregory John Casamento
fd51336457 * Modules/Debuggers/ProjectCenter/Resources/PCDebugger.gorm:
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
2009-01-01 20:59:06 +00:00
Gregory John Casamento
55e2966fb3 * Modules/Debuggers/ProjectCenter/GNUmakefile
* Modules/Debuggers/ProjectCenter/PTYView.h
	* Modules/Debuggers/ProjectCenter/PTYView.m: Change code to use
	openpty(...).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27487 72102866-910b-0410-8b05-ffd578937521
2009-01-01 18:01:42 +00:00
Richard Frith-MacDonald
763d325c6a quick hack to get this to compile on windows again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27486 72102866-910b-0410-8b05-ffd578937521
2009-01-01 11:39:51 +00:00
Richard Frith-MacDonald
073b6a650d Use #import throughout
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27463 72102866-910b-0410-8b05-ffd578937521
2008-12-30 13:47:27 +00:00
Gregory John Casamento
321b334912 * Modules/Debuggers/ProjectCenter/Resources/continue_button.png:
Add image.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27461 72102866-910b-0410-8b05-ffd578937521
2008-12-30 03:22:13 +00:00
Gregory John Casamento
4b0be76f13 * Modules/Debuggers/ProjectCenter/GNUmakefile: Add continue icon.
* Modules/Debuggers/ProjectCenter/PCDebugger.m: Add continue method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27460 72102866-910b-0410-8b05-ffd578937521
2008-12-30 03:21:13 +00:00
Gregory John Casamento
f41650b9b8 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27459 72102866-910b-0410-8b05-ffd578937521
2008-12-30 01:17:05 +00:00
Riccardo Mottola
f684926ec8 removed --args parameter
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27457 72102866-910b-0410-8b05-ffd578937521
2008-12-29 22:47:11 +00:00
Gregory John Casamento
591ef01a5b * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27445 72102866-910b-0410-8b05-ffd578937521
2008-12-29 05:25:52 +00:00
Gregory John Casamento
fc1d806411 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27444 72102866-910b-0410-8b05-ffd578937521
2008-12-28 16:19:27 +00:00
Gregory John Casamento
eefe748587 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27440 72102866-910b-0410-8b05-ffd578937521
2008-12-28 07:19:45 +00:00
Gregory John Casamento
96c021a74f * 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:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27439 72102866-910b-0410-8b05-ffd578937521
2008-12-27 05:43:41 +00:00
Gregory John Casamento
ca0d589c85 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27430 72102866-910b-0410-8b05-ffd578937521
2008-12-26 17:55:11 +00:00
Gregory John Casamento
1d1c796f67 * Framework/PCEditorManager.m
* 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
2008-12-26 07:18:55 +00:00
Gregory John Casamento
466f1709f2 Changes to allow the debugger to notify the editor when a breakpoint is encountered.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27428 72102866-910b-0410-8b05-ffd578937521
2008-12-26 06:38:46 +00:00
Gregory John Casamento
43e24cad84 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27416 72102866-910b-0410-8b05-ffd578937521
2008-12-25 15:46:41 +00:00
Gregory John Casamento
cd2924d9ab Write to the stream directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27411 72102866-910b-0410-8b05-ffd578937521
2008-12-23 14:48:11 +00:00
Gregory John Casamento
dad9dde30e * Modules/Debuggers/ProjectCenter/PCDebugger.h
* 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
2008-12-23 00:49:57 +00:00
Gregory John Casamento
3ea83315ba Info table for debugger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27409 72102866-910b-0410-8b05-ffd578937521
2008-12-23 00:01:09 +00:00
Gregory John Casamento
50ac933d43 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27407 72102866-910b-0410-8b05-ffd578937521
2008-12-22 23:45:43 +00:00
Riccardo Mottola
0f85f9390c interpret char from the view and send them to the debugger std in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27394 72102866-910b-0410-8b05-ffd578937521
2008-12-22 00:39:45 +00:00
Riccardo Mottola
61691b8689 interpret char from the view and send them to the debugger std in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27393 72102866-910b-0410-8b05-ffd578937521
2008-12-22 00:38:35 +00:00
Gregory John Casamento
c35bd787df Changes for gorm file and debugger class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27382 72102866-910b-0410-8b05-ffd578937521
2008-12-22 00:09:23 +00:00
Nicola Pero
077d9acf41 Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=ProjectCenter
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27352 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:13:49 +00:00
Nicola Pero
dd04c2f9b6 Set GNUSTEP_CORE_SOFTWARE to YES so that project center is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27338 72102866-910b-0410-8b05-ffd578937521
2008-12-18 19:25:05 +00:00
Richard Frith-MacDonald
0fcb14a78f Avoid some confusion when selecting files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27323 72102866-910b-0410-8b05-ffd578937521
2008-12-17 10:46:22 +00:00
Richard Frith-MacDonald
d616702b69 Allow more types of help
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27322 72102866-910b-0410-8b05-ffd578937521
2008-12-17 09:47:48 +00:00
Richard Frith-MacDonald
f3d2771081 Add help
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27318 72102866-910b-0410-8b05-ffd578937521
2008-12-17 07:04:14 +00:00
Gregory John Casamento
173eb165ac Beginnings of debugger interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27314 72102866-910b-0410-8b05-ffd578937521
2008-12-16 21:31:41 +00:00
Richard Frith-MacDonald
1597cd9cee Fixups for NSRole
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27312 72102866-910b-0410-8b05-ffd578937521
2008-12-16 20:40:20 +00:00
Gregory John Casamento
5fbc998044 Correct warning in AppController.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27162 72102866-910b-0410-8b05-ffd578937521
2008-11-28 02:09:36 +00:00
Riccardo Mottola
0234884099 fix memory related crash, enhancements for relative install paths
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@26954 72102866-910b-0410-8b05-ffd578937521
2008-10-22 19:55:32 +00:00
Gregory John Casamento
6a3279d598 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@26933 72102866-910b-0410-8b05-ffd578937521
2008-10-18 22:16:05 +00:00
Gregory John Casamento
2efa58419a Corrected issue with header file section in makefile generation for library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@26745 72102866-910b-0410-8b05-ffd578937521
2008-07-04 15:16:08 +00:00
Gregory John Casamento
7434ba3a2c Corrected an issue with headers in GNUmakefile generation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@26744 72102866-910b-0410-8b05-ffd578937521
2008-07-02 23:10:43 +00:00
Sergii Stoian
f66acd94df * Documentation/Changelog: Update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@26095 72102866-910b-0410-8b05-ffd578937521
2008-02-18 22:50:56 +00:00
Sergii Stoian
4e24cf3451 * 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🔑): 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 [<CodeEditor> 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 <CodeEditor> 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. 



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25991 72102866-910b-0410-8b05-ffd578937521
2008-01-21 22:26:36 +00:00
Sergii Stoian
993f6d5b82 * 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.
* 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25954 72102866-910b-0410-8b05-ffd578937521
2008-01-16 00:35:17 +00:00
Nicola Pero
91629266a0 Small improvements to makefiles; use GNUSTEP_APPS instead of GNUSTEP_SYSTEM_ROOT/Applications when installing, and support non-flattened when linking
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25731 72102866-910b-0410-8b05-ffd578937521
2007-12-13 19:43:42 +00:00
Sergii Stoian
26dc666444 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25504 72102866-910b-0410-8b05-ffd578937521
2007-09-27 00:03:51 +00:00
Sergii Stoian
e8e18614e8 * English.lproj/FindPanel.gorm: Added Find panel.
* PCMenuController.m: Added Find panel support.
* TextFinder.[hm]: Added implementation of Find panel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25498 72102866-910b-0410-8b05-ffd578937521
2007-09-23 22:27:21 +00:00
Gregory John Casamento
1cf72798df Replacment images for PC.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25462 72102866-910b-0410-8b05-ffd578937521
2007-09-07 06:03:51 +00:00
Sergii Stoian
c71af8d5cf Commit last logged change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25425 72102866-910b-0410-8b05-ffd578937521
2007-08-29 22:08:26 +00:00
Sergii Stoian
6f1525ed30 * Modules/Projects/Library/Resources/Version: Change gcc version
to 2.9.5.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25412 72102866-910b-0410-8b05-ffd578937521
2007-08-22 22:34:35 +00:00
Sergii Stoian
0674dcb996 * Modules/Editors/ProjectCenter/Resources/ObjC.syntax: Change color
of 'NO'.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25411 72102866-910b-0410-8b05-ffd578937521
2007-08-22 22:29:49 +00:00
Sergii Stoian
5882671bfb * Modules/Projects/*/Resources/Info.table: Add missing targets to some
project types.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25408 72102866-910b-0410-8b05-ffd578937521
2007-08-21 23:28:29 +00:00
Sergii Stoian
2c508faefe * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25407 72102866-910b-0410-8b05-ffd578937521
2007-08-21 23:22:12 +00:00
Sergii Stoian
39c33fcf2d 2007-07-19 Sergii Stoian <stoyan255@gmail.com>
* 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.
	* Documentation/TODO: Update



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25340 72102866-910b-0410-8b05-ffd578937521
2007-07-18 23:01:17 +00:00
Sergii Stoian
b4044a3d1f 2007-06-05 Sergii Stoian <stoyan255@gmail.com>
* Framework/PCProjectBuilder.m: Added parsing of gcc error output.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@25220 72102866-910b-0410-8b05-ffd578937521
2007-06-04 22:27:18 +00:00
Nicola Pero
d93c8551e6 Fixed definition of where to install ProjectCenter bundles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24560 72102866-910b-0410-8b05-ffd578937521
2007-02-14 12:50:32 +00:00
Nicola Pero
53135405c5 Do not set GNUSTEP_INSTALLATION_DIR in generated GNUmakefiles, to make sure they work with the new Linux FHS support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24558 72102866-910b-0410-8b05-ffd578937521
2007-02-14 12:47:27 +00:00
Sergii Stoian
a827776a6e * Modules/Editors/ProjectCenter/Resources/ObjC.syntax: Update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24390 72102866-910b-0410-8b05-ffd578937521
2007-01-20 15:04:42 +00:00
Sergii Stoian
7fb3796a38 * 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.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24369 72102866-910b-0410-8b05-ffd578937521
2007-01-16 16:27:33 +00:00
Sergii Stoian
3793013f03 * 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.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24353 72102866-910b-0410-8b05-ffd578937521
2007-01-15 18:40:58 +00:00
Sergii Stoian
c3973a8573 Localizable resources for application and framework was defined (English.lproj)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24254 72102866-910b-0410-8b05-ffd578937521
2006-12-26 17:04:57 +00:00
Sergii Stoian
62f062f726 continuing merging...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24243 72102866-910b-0410-8b05-ffd578937521
2006-12-26 11:10:53 +00:00
Sergii Stoian
f113470a11 continuing merging...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24242 72102866-910b-0410-8b05-ffd578937521
2006-12-26 11:00:33 +00:00
Sergii Stoian
787bb6a506 Start merging changes from unstable branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24241 72102866-910b-0410-8b05-ffd578937521
2006-12-26 10:58:39 +00:00
Nicola Pero
78a45e6a2e Updates to prevent ProjectCenter from generating utterly broken makefiles wrt installation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24104 72102866-910b-0410-8b05-ffd578937521
2006-11-15 18:06:59 +00:00
Nicola Pero
4164ae01d8 Added long comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24103 72102866-910b-0410-8b05-ffd578937521
2006-11-15 18:05:56 +00:00
Nicola Pero
efbe1eac39 Do not set GNUSTEP_INSTALLATION_DIR in the GNUmakefile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@23809 72102866-910b-0410-8b05-ffd578937521
2006-10-09 21:51:47 +00:00
Richard Frith-MacDonald
dec193e4c5 Support specification of help file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@23665 72102866-910b-0410-8b05-ffd578937521
2006-09-29 08:25:12 +00:00
Richard Frith-MacDonald
a4c58b49cd Update copyright notice and conform to coding standards in templates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@23548 72102866-910b-0410-8b05-ffd578937521
2006-09-18 12:57:33 +00:00
Riccardo Mottola
d9fb8ea6bb updated templates and GPL addresses
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@23452 72102866-910b-0410-8b05-ffd578937521
2006-09-11 08:47:36 +00:00
Sergii Stoian
5e07243fa8 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@22011 72102866-910b-0410-8b05-ffd578937521
2005-11-14 23:39:37 +00:00
Sergii Stoian
48956cf88d Fixed bug #13590
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@21385 72102866-910b-0410-8b05-ffd578937521
2005-06-30 21:34:14 +00:00
Sergii Stoian
2cb3174880 Release 0.4.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@20600 72102866-910b-0410-8b05-ffd578937521
2005-01-23 00:06:03 +00:00
Sergii Stoian
27d6b344e7 Fix compiling on Windows. Fix returning PCFileManager's defaultManager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@20523 72102866-910b-0410-8b05-ffd578937521
2005-01-05 21:04:12 +00:00
Sergii Stoian
1f6aad8624 Added methods into PCFileManager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@20519 72102866-910b-0410-8b05-ffd578937521
2005-01-04 23:11:20 +00:00
Sergii Stoian
7ece56461a Added files PCAddFilesPanel.[hm]. Fixed bug #11478
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@20515 72102866-910b-0410-8b05-ffd578937521
2005-01-03 01:25:10 +00:00
Sergii Stoian
9cab0f9822 PCAddFilesPanel added. Bugfixes in file adding code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@20514 72102866-910b-0410-8b05-ffd578937521
2005-01-03 00:20:54 +00:00
Sergii Stoian
bb13a30ed7 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@20491 72102866-910b-0410-8b05-ffd578937521
2004-12-27 21:04:29 +00:00
Sergii Stoian
81f0133a29 Update gorm files with latest GORM
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19770 72102866-910b-0410-8b05-ffd578937521
2004-07-22 15:12:41 +00:00
Sergii Stoian
b8cf3d75c5 Update all GORM files with latest CVS GORM version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19741 72102866-910b-0410-8b05-ffd578937521
2004-07-15 22:06:19 +00:00
Sergii Stoian
f8b0c67d51 Another fix to adding resource files of subprojects files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19683 72102866-910b-0410-8b05-ffd578937521
2004-07-04 19:22:47 +00:00
Gregory John Casamento
aacf8a79b1 Minor correction to #ifdef directive. It was misspelled causing a build failure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19633 72102866-910b-0410-8b05-ffd578937521
2004-06-27 16:48:45 +00:00
Sergii Stoian
aab56397c9 PCProject's doesAcceptFile:forKey: fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19576 72102866-910b-0410-8b05-ffd578937521
2004-06-22 07:46:07 +00:00
Sergii Stoian
9084d3fa4b Add Files fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19574 72102866-910b-0410-8b05-ffd578937521
2004-06-21 20:35:37 +00:00
Sergii Stoian
5137d57150 ProjectWindow, ProjectLauncher, ApplicationProject Inspector.gorm fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19561 72102866-910b-0410-8b05-ffd578937521
2004-06-20 00:07:52 +00:00
Sergii Stoian
17526fd33f Removed Modules/ApplicationProject/Resources/GNUmakefile.*
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19557 72102866-910b-0410-8b05-ffd578937521
2004-06-19 22:30:45 +00:00
Sergii Stoian
4867c9aa5d see Documentation ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19555 72102866-910b-0410-8b05-ffd578937521
2004-06-19 21:55:29 +00:00
Sergii Stoian
cfe02368c5 Various fixes and cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19527 72102866-910b-0410-8b05-ffd578937521
2004-06-15 20:41:49 +00:00
Sergii Stoian
cc6f1ede8b *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19516 72102866-910b-0410-8b05-ffd578937521
2004-06-14 09:42:27 +00:00
Sergii Stoian
0b4fa737b8 Aggregate project type added. MultiFiles.tiff added. Fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19515 72102866-910b-0410-8b05-ffd578937521
2004-06-14 09:19:48 +00:00
Sergii Stoian
f896634c59 gcc 3.4.0 compilation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19507 72102866-910b-0410-8b05-ffd578937521
2004-06-12 19:23:26 +00:00
Sergii Stoian
6f7a22551b Start merging branches
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19495 72102866-910b-0410-8b05-ffd578937521
2004-06-11 13:43:02 +00:00