Commit graph

244 commits

Author SHA1 Message Date
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
4cddbeda45 Removed useless INSTDOMAIN variable during build phase
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31699 72102866-910b-0410-8b05-ffd578937521
2010-12-01 16:48:53 +00:00
Riccardo Mottola
a0f1d6efca version bump
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31698 72102866-910b-0410-8b05-ffd578937521
2010-12-01 15:27:06 +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
07308c6ccf Removed Project Languages option on Inspector panel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31648 72102866-910b-0410-8b05-ffd578937521
2010-11-24 06:34:02 +00:00
Riccardo Mottola
77f710f67e Initialize isDir value
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31643 72102866-910b-0410-8b05-ffd578937521
2010-11-23 07:15:15 +00:00
Germán Arias
912da0d4b3 Adding Languages panel part I
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31642 72102866-910b-0410-8b05-ffd578937521
2010-11-22 17:25:34 +00:00
Germán Arias
79ae98bbb0 Improvements at Project Inspector
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31640 72102866-910b-0410-8b05-ffd578937521
2010-11-22 03:12:59 +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
a8749dd060 fix memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31620 72102866-910b-0410-8b05-ffd578937521
2010-11-18 09:32:19 +00:00
Riccardo Mottola
aab308dba1 remove useless instruction and assignment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31618 72102866-910b-0410-8b05-ffd578937521
2010-11-18 09:10:36 +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
95eb255d35 Fix on AddFiles panel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31613 72102866-910b-0410-8b05-ffd578937521
2010-11-16 17:13:19 +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
Sergii Stoian
c1c7f004d4 * Framework/PCProjectBrowser.m:
(-nameOfSelectedCategory): Return 'nil' if name of subproject
selected. Add comments.
(-nameOfSelectedFile): Check if category is selected.
(-click:): check if category is selected.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31105 72102866-910b-0410-8b05-ffd578937521
2010-08-09 23:37:47 +00:00
Sergii Stoian
18efb7552d 2010-07-31 Sergii Stoian <stoyan255@ukr.net>
* Framework/PCProject.m:
        (-assignProjectDict:): Fix setting projectPath to project
        dir (not to *.pcproj dir).
        * Framework/PCFilemanager.m:
        (-filesOfTypes:operation:multiple:title:accView:): Set allowed
        file types to panel of types is not nil.
        (-panel:isValidFilename): Use set allowed file types to panel.

2010-07-30 Sergii Stoian <stoyan255@ukr.net>
        * Framework/PCProject.m:
        (-subprojectWithName:): Pass to openProjectAt: subproject dir.
        openProjectat: can now handle this situation.
        * Framework/PCProjectManager.m:
        (-openProjectAt:): Implement handling of 'aPath' argument as
        project file and as project dir. Select *.pcproj if exists then
        try to load PC.project.
        (-openProject): Implement intelligent selection of project file
        when selected *.pcproj, PC.project or project dir.
        * Framework/PCFilemanager.m:
        (-filesOfTypes:operation:multiple:title:accView:): Remove code
        specific for opening projects (moved to PCProjectManager's
        openProject).
        (-panel:isValidFilename): Fix handling project file detection.
        (-filesWithExtension:atPath:includeDirs:): New method. Returns
        list of files with specified extension. Also returns dirs if
        'includeDirs' set to YES.

2010-07-28 Sergii Stoian <stoyan255@ukr.net>
        * Framework/PCProject.m:
        (close:): Fix closing of subprojects. Remove subproject from
        Projectmanager's list of loaded projects.
        * Framework/PCLogController.m:
        (-init): Change font size to systemFontSize.

2010-07-24 Sergii Stoian <stoyan255@ukr.net>
        * Headers/ProjectCenter/PCProjectBuilder.m:
        * Framework/PCProjectBuilder.m:
        (cleanupAfterMake:): Added new argument (NSString) to method
        containing current status text. Before status text in project window
        always stated "...terminated".


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31093 72102866-910b-0410-8b05-ffd578937521
2010-08-07 21:56:04 +00:00
Riccardo Mottola
be6c8bbcf1 Log conversion into PC log and not console. Remove unneded keys.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30951 72102866-910b-0410-8b05-ffd578937521
2010-07-13 09:31:38 +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
Riccardo Mottola
760149038d When opening a subproejct pass the bundle of the project, not the project file inside
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30937 72102866-910b-0410-8b05-ffd578937521
2010-07-08 22:45:40 +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
a35a744f7a fixed warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30843 72102866-910b-0410-8b05-ffd578937521
2010-06-24 10:56:44 +00:00
Riccardo Mottola
e5b908e541 removed floorf()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30826 72102866-910b-0410-8b05-ffd578937521
2010-06-22 21:36:33 +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
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
1c0d8df3db Add .dylib to ProjectCenter's list of known library extensions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30724 72102866-910b-0410-8b05-ffd578937521
2010-06-15 03:57:31 +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
bd0738109c Prevent a crash when opening a subproject in ProjectCenter and fix bug
where ProjectCenter would not quit after opening a subproject.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30721 72102866-910b-0410-8b05-ffd578937521
2010-06-15 03:43:32 +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
b013152da8 check before replacing and allow undo (by Wolfgang Lux)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30567 72102866-910b-0410-8b05-ffd578937521
2010-06-03 22:39:54 +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
b4c12c1a73 * Framework/English.lproj/SaveModified.gorm: Correct issues with
Gorm file.
	* Framework/PCSaveModified.m: Use setTitle: instead of setStringValue:
	to set the titles of the buttons.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30481 72102866-910b-0410-8b05-ffd578937521
2010-05-30 05:47:11 +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
1a3b127a7e * Framework/PCMakefileFactory.m: Check if buildDir is nil before
generating the BUILD_DIR directive in the make file.   Sometimes
	this is coming up with (nil) on Windows which is causing the build
	phase to fail.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28716 72102866-910b-0410-8b05-ffd578937521
2009-09-20 07:46:11 +00:00
Riccardo Mottola
ae023c0c49 added icon drawn by me
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28715 72102866-910b-0410-8b05-ffd578937521
2009-09-19 21:44:23 +00:00
Riccardo Mottola
2db88e2844 Use path component instead of hard-coded slash
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28705 72102866-910b-0410-8b05-ffd578937521
2009-09-18 21:57:35 +00:00
Nicola Pero
daa35431f2 Output no GNUSTEP_INSTALLATION_DOMAIN if it's not set
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28698 72102866-910b-0410-8b05-ffd578937521
2009-09-17 09:20:21 +00:00
Nicola Pero
a2e0ccf011 Try to detect spaces in paths and warn users if they create projects with spaces in paths, and follow the official recommendations of not setting GNUSTEP_INSTALLATION_DOMAIN unless a particular one needs to be specified
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28696 72102866-910b-0410-8b05-ffd578937521
2009-09-17 09:05:45 +00:00
Richard Frith-MacDonald
524a2e7ceb improve generated makefiles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28684 72102866-910b-0410-8b05-ffd578937521
2009-09-15 09:13:43 +00:00
Riccardo Mottola
05c75052d3 launch executable directly without openapp/opentool. Removed execToolName
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28676 72102866-910b-0410-8b05-ffd578937521
2009-09-14 22:38:28 +00:00
Gregory John Casamento
2fc703c5de * Framework/PCProject.m
* Framework/PCProjectManager.m
	* Headers/ProjectCenter/PCProjectManager.h
	* PCAppController.m: Correct issues with project bundle loading.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28369 72102866-910b-0410-8b05-ffd578937521
2009-06-23 22:21:10 +00:00
Gregory John Casamento
6e95a9a1e5 Update changelog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28359 72102866-910b-0410-8b05-ffd578937521
2009-06-17 22:02:19 +00:00
Riccardo Mottola
7a09098880 udpated Changelog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28341 72102866-910b-0410-8b05-ffd578937521
2009-06-11 20:52:10 +00:00
Gregory John Casamento
55f05b710b * Framework/PCEditorManager.m: Added code in -openEditorForFile:
editable:windowed: to open files which are not handled by any editor
	using [NSWorkspace openFile:] as a fallback.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28289 72102866-910b-0410-8b05-ffd578937521
2009-05-19 21:13:24 +00:00
Gregory John Casamento
194e62f47a * Framework/PCProject.m: Add new project directory name.
* Framework/PCProjectManager.m: Fix issue reported with loading of
	subprojects from an aggregate project.   Changed loadProjectAt: method
	to handle both the current and old file locations.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28288 72102866-910b-0410-8b05-ffd578937521
2009-05-18 21:27:56 +00:00
Gregory John Casamento
b8a1ac5612 * Framework/PCProjectManager.m: Remove logic requiring projectWindow
to be key in order to save file.   This was causing files in 
	tear-off editors to not be saved.  This change is in the saveFile
	method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28260 72102866-910b-0410-8b05-ffd578937521
2009-04-27 21:09:30 +00:00
Gregory John Casamento
e885b519a6 remove special characters
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28240 72102866-910b-0410-8b05-ffd578937521
2009-04-22 20:35:39 +00:00
Gregory John Casamento
01c3eadcf5 * Framework/PCProject.m: Changes to make plist output in
human readable format.
	* Resources/Info-gnustep.plist: Changes to read C++ files using
	C editor.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28239 72102866-910b-0410-8b05-ffd578937521
2009-04-22 20:32:36 +00:00
Sergii Stoian
8b186c4ad7 * Framework/PCProjectBuilder.m:
(-startBuild:), (-startClean:): Move _isBuilding and _isCleaning vars
before build: method call for correct determination in cleanupAfterMake
method.
(build:): Initialize build time vars before call to preBuildChecj method.
* Framework/PCProjectBuilderOptions.m: Do not notify when changing project
properties (build options).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28216 72102866-910b-0410-8b05-ffd578937521
2009-04-14 23:24:14 +00:00
Riccardo Mottola
8c5d1ef6ed removed and replaced PCSplitView with standard NSSplitView in all instances, bumped framework release to 0.6.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28163 72102866-910b-0410-8b05-ffd578937521
2009-03-31 22:13:37 +00:00
Sergii Stoian
89697c5df2 * Framework/PCProjectBuilder.m:
(updateTargetField): Process args correctly when it has nil value.
(startBuild): Move initializing of currentBuildPath and 
currentBuildFile from here...
(build:):...to here. Rename pipes and handles vars to more appropriate
names. Initialize pipes with alloc, init.
(startClean): Use buildArguments as in startBuild method.
(stopMake:): It seems that [makeTask isRunning] works correctly -
use it. Remove comment.   
(cleanupAfterMake): Use _isBuilding and _isCleaning vars to detect
running mode. Release currentBuildPath and currentBuildFile here.
(buildDidTerminate): Release pipes here.        
(logData:error:): Initialize newLineRange.location before entering
cycle.
(logBuildString:newLine:): Cleanup.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28142 72102866-910b-0410-8b05-ffd578937521
2009-03-27 23:39:02 +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
Gregory John Casamento
03a7c073c2 * Framework/English.lproj/Builder.gorm: Update icons for stop and
options.
	* Framework/PCProject.m: Added code to put files into packages when
	saving.
	* Headers/ProjectCenter/PCProject.h: Added ivar for file wrapper


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28137 72102866-910b-0410-8b05-ffd578937521
2009-03-27 05:18:53 +00:00
Riccardo Mottola
e8c6874eb1 save windows placements to a separate file with the username as a name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28136 72102866-910b-0410-8b05-ffd578937521
2009-03-26 23:21:36 +00:00
Sergii Stoian
9515b6703f * Framework/PCProjectBuilder.m: Add some comments
(parseCompilerLine:): Implemented gcc output for compiling and linking.
Set currentBuildFile var on file compilation.
(cleanupAfterMake),(build:),(parseBuildLine:),(buildDidTerminate): Update 
status field of builder panel and project window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28126 72102866-910b-0410-8b05-ffd578937521
2009-03-24 00:47:32 +00:00
Sergii Stoian
baa1cfbd35 * Framework/PCProjectBuilder.m: Change type of currentBuildPath var
to NSMutableString.
(buildArguments): Always use messages=yes argument internally.
"Verbose ouput" option (Build Options panel) just toogle if build
shows as with make argument 'messages=yes' or not.
(line:startsWithString:): Implemented line start detection.
(parseMakeLine:): Inital implementation of parsing make tool
output.
(parseCompilerLine:): Add for future implementation.
(logBuildString:newLine:): Remove error: argument as it's not used.
Method outputs to build view.
(parseBuildLine:): Add implementation of entry point of build output
parsing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28125 72102866-910b-0410-8b05-ffd578937521
2009-03-23 22:05:36 +00:00
Sergii Stoian
67dfd71e53 * Framework/PCProjectBuilder.m: Some rearrangement of log methods.
Category 'Logging' is for general logging methods, 'BuildLogging'
for stantard output processing, 'ErrorLogging' for error output
processing.
(logBuildString:newLine:): New name of logString:error:newLine:.
Use new name across the file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28119 72102866-910b-0410-8b05-ffd578937521
2009-03-22 01:16:40 +00:00
Sergii Stoian
1a6b1b6f5b Update ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28118 72102866-910b-0410-8b05-ffd578937521
2009-03-22 00:13:42 +00:00
Sergii Stoian
9f0394f9c3 Update ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28116 72102866-910b-0410-8b05-ffd578937521
2009-03-21 23:01:05 +00:00
Sergii Stoian
0f3a1e0ba4 Update ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28100 72102866-910b-0410-8b05-ffd578937521
2009-03-20 00:56:05 +00:00
Sergii Stoian
a002b0c43c Update Changelog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28096 72102866-910b-0410-8b05-ffd578937521
2009-03-19 00:14:54 +00:00
Sergii Stoian
96516dd723 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28087 72102866-910b-0410-8b05-ffd578937521
2009-03-16 23:32:00 +00:00
Sergii Stoian
7756df5dbf Update Changelog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28075 72102866-910b-0410-8b05-ffd578937521
2009-03-15 00:14:56 +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
51459e04f9 Update changelog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28041 72102866-910b-0410-8b05-ffd578937521
2009-03-04 23:01:27 +00:00
Sergii Stoian
6ee8943ebf * Update changelog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28039 72102866-910b-0410-8b05-ffd578937521
2009-03-04 22:08:46 +00:00
Riccardo Mottola
863a0c679b allow authors inside table to scroll during editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28034 72102866-910b-0410-8b05-ffd578937521
2009-03-03 23:21:57 +00:00
Riccardo Mottola
c756ee4dd3 update log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28019 72102866-910b-0410-8b05-ffd578937521
2009-03-02 01:01:35 +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
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
e61398e79c * Add short messages to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27992 72102866-910b-0410-8b05-ffd578937521
2009-02-27 00:50:18 +00:00
Sergii Stoian
e8bc76c5b3 * 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. 
NUstep bug?).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27955 72102866-910b-0410-8b05-ffd578937521
2009-02-22 22:18:40 +00:00
Sergii Stoian
7a92c39ce5 * Framework/PCSaveModifiedFiles.m: Change to more generic
implementation. PCRunSaveModifiedFilesPanel() implemented.
* Framework/PCProjectBuilder.m:
(prebuildCheck): Use PCRunSaveModifiedFiles().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27952 72102866-910b-0410-8b05-ffd578937521
2009-02-22 20:57:42 +00:00
Sergii Stoian
5c6a72a7ca * Framework/PCSaveModifiedFiles.m:
* Framework/English.lproj/SaveModifiedFiles.gorm:
* Headers/ProjectCenter/PCSaveModifiedFiles.m:
Add initial implementation of "Save Modified Files" panel.
* Framework/PCProjectBuilder.m:
(prebuildCheck): Use PCSaveModifiedFiles.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27947 72102866-910b-0410-8b05-ffd578937521
2009-02-22 01:31:37 +00:00
Sergii Stoian
ea0d43d72f * Framework/PCProjectBuilder.m:
(prebuildCheck): Swap button names.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27921 72102866-910b-0410-8b05-ffd578937521
2009-02-19 00:39:10 +00:00
Sergii Stoian
ae3f0a1870 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27896 72102866-910b-0410-8b05-ffd578937521
2009-02-17 00:06:13 +00:00
Sergii Stoian
d40f593b64 * Framework/PCProjectBuilder.m:
(prebuildCheck): Check if project has edited files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27875 72102866-910b-0410-8b05-ffd578937521
2009-02-16 00:33:42 +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
Sergii Stoian
7ea7dc4063 * 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27864 72102866-910b-0410-8b05-ffd578937521
2009-02-15 00:24:12 +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
2e847b959a * 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 fron


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27853 72102866-910b-0410-8b05-ffd578937521
2009-02-12 16:51:26 +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
bc9f8bb1f3 Update Changelog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27839 72102866-910b-0410-8b05-ffd578937521
2009-02-11 00:23:46 +00:00
Sergii Stoian
375f9098a5 Update Changelog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27836 72102866-910b-0410-8b05-ffd578937521
2009-02-10 21:30:09 +00:00
Sergii Stoian
58757ae6d4 * Update Changelog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27808 72102866-910b-0410-8b05-ffd578937521
2009-02-08 00:41:46 +00:00
Sergii Stoian
9b5a3b8e4c * Update Changelog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27799 72102866-910b-0410-8b05-ffd578937521
2009-02-06 00:02:13 +00:00
Sergii Stoian
719bf01886 Udpdate ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27701 72102866-910b-0410-8b05-ffd578937521
2009-01-26 23:11:40 +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
Sergii Stoian
7866230c2c 2009-01-17 Yavor Doganov <yavor@gnu.org>
* Framework/GNUmakefile:
(ProjectCenter_LIBRARIES_DEPEND_UPON): Define to `$(OBJC_LIBS)
$(FND_LIBS) $(GUI_LIBS)' to avoid unresolved symbols. Fixes bug #23792.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27616 72102866-910b-0410-8b05-ffd578937521
2009-01-16 23:59:19 +00:00
Sergii Stoian
62c8affc56 * Framework/PCProject.m:
(fileTypesForCategoryKey:): add "nib" as recognizable interface file type.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27615 72102866-910b-0410-8b05-ffd578937521
2009-01-16 23:38:44 +00:00