* 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
* 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
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
of author list items after item deletion. Inspired by bug #25571.
Bug should be closed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@35271 72102866-910b-0410-8b05-ffd578937521
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
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
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
since the debug variable no longer has a clear default for quite some
time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31791 72102866-910b-0410-8b05-ffd578937521
when creating a new project in PC and do not arbitrarily strip
extensions from the project name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31706 72102866-910b-0410-8b05-ffd578937521
(-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
* 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
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
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
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
* 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
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
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
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
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
* 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
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
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
(-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
(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
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
(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
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
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
(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
* 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
* 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
* 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
(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
(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
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
(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
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
-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