mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-18 00:21:22 +00:00
Updates in Project Builder make errors parsing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24337 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
096f3ed392
commit
8e2277ff6a
1 changed files with 36 additions and 5 deletions
|
@ -31,6 +31,15 @@
|
|||
@class PCProject;
|
||||
@class PCButton;
|
||||
|
||||
typedef enum _ErrorLevel {
|
||||
ELFile,
|
||||
ELFunction,
|
||||
ELIncluded,
|
||||
ELIncludedError,
|
||||
ELError,
|
||||
ELNone
|
||||
} ErrorLevel;
|
||||
|
||||
@interface PCProjectBuilder : NSObject
|
||||
{
|
||||
NSBox *componentView;
|
||||
|
@ -38,22 +47,35 @@
|
|||
PCButton *cleanButton;
|
||||
PCButton *installButton;
|
||||
PCButton *optionsButton;
|
||||
NSSplitView *split;
|
||||
id buildStatusField;
|
||||
id targetField;
|
||||
NSTextView *logOutput;
|
||||
NSTextView *errorOutput;
|
||||
/// NSTextView *errorOutput;
|
||||
|
||||
// Error logging
|
||||
NSTableView *errorOutputTable;
|
||||
NSTableColumn *errorImageColumn;
|
||||
NSTableColumn *errorColumn;
|
||||
NSMutableArray *errorArray;
|
||||
NSMutableString *errorString;
|
||||
|
||||
ErrorLevel currentEL;
|
||||
ErrorLevel lastEL;
|
||||
ErrorLevel nextEL;
|
||||
NSString *lastIndentString;
|
||||
|
||||
// Options
|
||||
NSPopUpButton *popup;
|
||||
|
||||
NSPanel *optionsPanel;
|
||||
NSTextField *buildTargetHostField;
|
||||
NSTextField *buildTargetArgsField;
|
||||
|
||||
NSString *makePath;
|
||||
|
||||
// Variables
|
||||
PCProject *currentProject;
|
||||
NSDictionary *currentOptions;
|
||||
|
||||
NSString *makePath;
|
||||
NSString *statusString;
|
||||
NSMutableString *buildTarget;
|
||||
NSMutableArray *buildArgs;
|
||||
|
@ -97,7 +119,6 @@
|
|||
|
||||
@interface PCProjectBuilder (UserInterface)
|
||||
|
||||
- (void)_createComponentView;
|
||||
- (void)_createOptionsPanel;
|
||||
|
||||
@end
|
||||
|
@ -110,4 +131,14 @@
|
|||
|
||||
@end
|
||||
|
||||
@interface PCProjectBuilder (ErrorLogging)
|
||||
|
||||
- (void)logErrorString:(NSString *)string;
|
||||
- (void)addItems:(NSArray *)items;
|
||||
|
||||
- (NSString *)lineTail:(NSString*)line afterString:(NSString*)string;
|
||||
- (NSArray *)parseErrorLine:(NSString *)string;
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue