Commit graph

148 commits

Author SHA1 Message Date
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