Commit graph

811 commits

Author SHA1 Message Date
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
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
e5681f4a50 * Framework/PCProjectInspector.m:
(searchOrderPopupDidChange:): Clean selection in list. Clean text field.
(searchOrderClick:): Show value of selected item in text field.
(addSearchOrder:): Add check for entered value. More checking will be added
in the future.
* Documentation/TODO: Rearrange some items. Update state.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28117 72102866-910b-0410-8b05-ffd578937521
2009-03-22 00:12:43 +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
a6359c679d * Framework/PCProjectBuilderOptions.m:
(initWithProject:): Listen to PCProjectDictDidChangeNotification notification.
(awakeFromNib): Move loading of project properties from here...
(loadProjectProperties): ...to here. This is a notification action.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28115 72102866-910b-0410-8b05-ffd578937521
2009-03-21 22:59:46 +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
d6a49c572a * Framework/PCProject.m:
(buildTargets): Return default build targets only if project file 
doesn't contains list them.
* Framework/PCProjectBuilder.m:
(prebuildCheck): Create build directory only if preference was set.
(build:): Set initial "=== started ===" string.
* Framework/PCProjectInspector.m:
(createBuildAttributes): Set target and action for table view.
(searchOrderPopupDidChange:): Add support for "Build Targets".
(setSearchOrderButtonsState): Enable "Remove" button only if item in 
list was selected.
(syncSearchOrder): Add support for "Build Targets".
* Documentation/TODO: Add some tasks and update status of others.
* Headers/ProjectCenter/PCDefines.h: Add key for build targets support.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28099 72102866-910b-0410-8b05-ffd578937521
2009-03-20 00:53:39 +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
ace38821ad * Framework/PCProjectManager.m:
(dealloc): Replace if() check with TEST_RELEASE.
(openFileAtPath:): Use class variable instead of method's local.
(saveFile): Call saveFile to project editor if project is active and
project window has key state. Call non-project editor manager otherwise.
* PCPrefController.m:
(stringForKey:defaultValue:): Set value to non-existent key only if
defaultValue is not 'nil' ('nil' when called via stringForKey: method).
(boolForKey:defaultValue:): Set value to non-existent key only if
defaultValue has positive value (has '-1' when called via boolForKey: method).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28095 72102866-910b-0410-8b05-ffd578937521
2009-03-19 00:13:25 +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
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
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
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
8300389ecf Clean up code that includes removed PCInterfacePrefs module header file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28066 72102866-910b-0410-8b05-ffd578937521
2009-03-11 22:25:44 +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
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
628a5ffa00 * Framework/PCProjectManager.m:
(convertLegacyProject:atPath:): Correctly convert legacy application project.
* Framework/PCEditorManager.m;
(openEditorForFile:editable:windowed:): Don't open lert panel if file is
not text file. Situation when editor for non text files called to be opened
must be reviewd.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28040 72102866-910b-0410-8b05-ffd578937521
2009-03-04 23:00:19 +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
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
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
5b5c07c061 Fix string constants
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28020 72102866-910b-0410-8b05-ffd578937521
2009-03-02 01:01:44 +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
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
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
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
ecec5ece13 * Documentation/TODO: Update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27961 72102866-910b-0410-8b05-ffd578937521
2009-02-23 19:08:02 +00:00
Sergii Stoian
8f26eb4a77 * Update Documentation/TODO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27956 72102866-910b-0410-8b05-ffd578937521
2009-02-22 22:32:34 +00:00