From: Andrew M. <fit...@us...> - 2006-06-06 01:24:35
|
Update of /cvsroot/radmind/radmind-assistant/rte In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22488 Modified Files: RXTranscript.h RXTranscript.m Log Message: Audit results can be edited/deleted (feature request 1376676). Better accessor method use to hide globals. Generalized storage and display of transcript lines. Improved undo/redo for line deletions. Removed obsolete browser-related code. Improved status messages when search or audit is in progress. Removed unused drawer code. Using NSView setHidden method rather than removeFromSuperview. Index: RXTranscript.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rte/RXTranscript.m,v retrieving revision 1.107 retrieving revision 1.108 diff -C2 -d -r1.107 -r1.108 *** RXTranscript.m 12 Apr 2006 19:34:08 -0000 1.107 --- RXTranscript.m 5 Jun 2006 22:50:40 -0000 1.108 *************** *** 67,71 **** if ( parsedLines != nil ) { [[[ self undoManager ] prepareWithInvocationTarget: self ] ! setTranscriptContents: parsedLines ]; [ parsedLines release ]; parsedLines = nil; --- 67,71 ---- if ( parsedLines != nil ) { [[[ self undoManager ] prepareWithInvocationTarget: self ] ! setTranscriptContents: [ self transcriptContents ]]; [ parsedLines release ]; [...1214 lines suppressed...] *** 2734,2741 **** } ! if ( parsedLines != nil ) { ! [ parsedLines release ]; ! } ! [ searchResults release ]; [ self autorelease ]; --- 2623,2632 ---- } ! if ( [ self displayedTranscriptContents ] == nil ) { ! [ self setDisplayedTranscriptContents: nil ]; ! } ! if ( [ self transcriptContents ] != nil ) { ! [ self setTranscriptContents: nil ]; ! } [ self autorelease ]; Index: RXTranscript.h =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rte/RXTranscript.h,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** RXTranscript.h 27 Mar 2006 16:15:30 -0000 1.41 --- RXTranscript.h 5 Jun 2006 22:50:40 -0000 1.42 *************** *** 160,166 **** double prog; BOOL _isSearching; id _rteTranscriptDelegate; ! NSMutableArray *columnContents, *parsedLines, *searchResults; //NSMutableArray *curColumnItems; //NSView *origSuperView; --- 160,168 ---- double prog; BOOL _isSearching; + BOOL _rteTranscriptAuditing; id _rteTranscriptDelegate; ! NSMutableArray *columnContents, *parsedLines; ! NSMutableArray *_rteDisplayedTranscriptLines; //NSMutableArray *curColumnItems; //NSView *origSuperView; *************** *** 200,204 **** - ( void )readTranscriptCopyAtPath: ( NSString * )path threadID: ( int )ID; - - ( void )setMaxLoadIndicatorValue: ( double )value; - ( void )readFile: ( NSDictionary * )contextInfo; - ( void )readFinishedFromThreadWithID: ( int )ID; --- 202,205 ---- *************** *** 211,217 **** --- 212,227 ---- - ( void )deleteSelectedLines: ( id )sender; + - ( void )removeLinesFromArray: ( NSMutableArray * )transcriptLines + searchResults: ( NSMutableArray * )searchResults + withIndexes: ( NSIndexSet * )indexes; + - ( void )addLines: ( NSArray * )lines + toArray: ( NSMutableArray * )transcript + searchResults: ( NSMutableArray * )searchResults + atIndexes: ( NSIndexSet * )indexes; + - ( void )calculateAndDisplayLoadsetSize; - ( void )auditTranscript: ( id )sender; + - ( void )endAudit: ( id )sender; /* twhich methods */ *************** *** 249,254 **** - ( IBAction )cancelAddItem: ( id )sender; - - ( IBAction )toggleDrawer: ( id )sender; - - ( NSString * )retrievePassword; --- 259,262 ---- |