Commit graph

1045 commits

Author SHA1 Message Date
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
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
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
Sergii Stoian
45320c4c28 * Framework/PCProjectBuilder.m: (parseErrorLine:) prepend filname with current
build path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28725 72102866-910b-0410-8b05-ffd578937521
2009-09-22 21:59:53 +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
0d792e2a6d fixed John's name, added Riccardo Mottola
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28706 72102866-910b-0410-8b05-ffd578937521
2009-09-18 23:26:15 +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
1f210b10e8 Fixed typo in last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28697 72102866-910b-0410-8b05-ffd578937521
2009-09-17 09:08:02 +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
Gregory John Casamento
09bc065c63 Change file type to allow opening of files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28358 72102866-910b-0410-8b05-ffd578937521
2009-06-17 22:00:44 +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
Riccardo Mottola
94ee603288 use PCDefine constant for PC_WINDOWS dictionary key
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28339 72102866-910b-0410-8b05-ffd578937521
2009-06-10 22:38:55 +00:00
Riccardo Mottola
0cd4ab00c7 save last editing in user file inside the wrapper and not main project file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28338 72102866-910b-0410-8b05-ffd578937521
2009-06-10 22:24:14 +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
dde3badacc delete custom PCSplitView class no longer used
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28164 72102866-910b-0410-8b05-ffd578937521
2009-03-31 22:21:44 +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
0f642e77d4 Updated TODO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28139 72102866-910b-0410-8b05-ffd578937521
2009-03-27 07:04:09 +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
9f00b0da00 * Documentaion/TODO: Update.
* Documentation/BUGS: Added. Contains reported bugs, not reported but
noticed during my tests, whish list of features, thougths.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28134 72102866-910b-0410-8b05-ffd578937521
2009-03-25 21:03:57 +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