The R Project SVN R-packages

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
6453 4892 d 1 h ripley /branches/MacGUI-2-x/ branch  
/branches/MacGUI-2-x
6070 5282 d 16 h bibiko /trunk/Mac-GUI/ • fixed bug for RTextView:copy
• fixed issues for changing font size via trackpad gesture
• fixed issue for setting selection background color
• started to add functionality to support user-definable actions like inserting programmable text macros with highlighted snippet etc. - will be continued soon
• improved *.R dragging by applying the above mentioned text macro mechanism
- the value of the parameter(s) 'chdir' is/are highlighted which can then changed by the user; use TAB and SHIFT+TAB to navigate through the highlighted snippets; a final TAB will place the cursor at the end of the inserted template - docs will follow
- added possibility to the user to define other drag actions due to file extension - docs will follow
- fixed some minor issues
• some minor fixes and improvements
 
/trunk/Mac-GUI/NEWS
/trunk/Mac-GUI/NSString_RAdditions.m
/trunk/Mac-GUI/NSTextView_RAdditions.m
/trunk/Mac-GUI/PrefPanes/SyntaxColorsPrefPane.m
/trunk/Mac-GUI/PreferenceKeys.h
/trunk/Mac-GUI/RController.h
/trunk/Mac-GUI/RController.m
/trunk/Mac-GUI/RDocumentWinCtrl.m
/trunk/Mac-GUI/RScriptEditorTextView.m
/trunk/Mac-GUI/RTextView.h
/trunk/Mac-GUI/RTextView.m
6064 5287 d 18 h bibiko /trunk/Mac-GUI/ • some minor fixes  
/trunk/Mac-GUI/NSString_RAdditions.m
/trunk/Mac-GUI/RDocumentWinCtrl.m
6060 5288 d 19 h bibiko /trunk/Mac-GUI/ • renamed and added resp. NSString's methods from "runBashCommandWithEnvironment" to "evaluateAsBashCommandWithEnvironment" and "runAsBashCommandWithEnvironment" resp.
- runAs... will run it without returning stdout for speed
- evaluateAs... will run it and return stdout
- added further placeholder methods like runAsBashCommand or runAsBashCommandAndError: etc.
- if no NSError will be passed write stderr to /dev/null
 
/trunk/Mac-GUI/NSString_RAdditions.h
/trunk/Mac-GUI/NSString_RAdditions.m
/trunk/Mac-GUI/PreferenceKeys.h
/trunk/Mac-GUI/RDocument.m
/trunk/Mac-GUI/RDocumentWinCtrl.m
6059 5288 d 21 h bibiko /trunk/Mac-GUI/ • further improvements for Format R Code
- keep users empty lines since (but clean them)
- sped it up a bit
- fixed mixing indentation of 4 and 2 spaces coming from deparse()
• avoid re-entering Rd tools or R code formatting methods
• made deparse's width.cutoff customizable via Pref key RScriptEditorFormatWidthCutoff; if set to 0 the window's width will be taken otherwise the user's setting
 
/trunk/Mac-GUI/NSString_RAdditions.m
/trunk/Mac-GUI/PreferenceKeys.h
/trunk/Mac-GUI/RDocument.h
/trunk/Mac-GUI/RDocument.m
/trunk/Mac-GUI/RDocumentWinCtrl.h
/trunk/Mac-GUI/RDocumentWinCtrl.m
/trunk/Mac-GUI/RTextView.m
6058 5289 d 15 h bibiko /trunk/Mac-GUI/ • added NSString method runBashCommandWithEnvironment:atCurrentDirectoryPath:error: to be able to run any bash command(s) including code of other scripting languages like Python, Perl, etc (by specifying the magic header #!...)
- example: NSString *d = [@"date" runBashCommandWithEnvironment:nil atCurrentDirectoryPath:nil error:nil];
will run the command 'date' in a separate bash shell and set d to the current date.
- any of these called bash commands can be cancelled by pressing ⌘+. (Apple standard)
• applied above mentioned method to decouple editing stuff from REngine for checking Rd docs, converting Rd doc into HTML/PDF, and formatting R code since it's not a good idea to disturb a running R command in the RConsole while editing a doc. Furthermore now if the checking of a Rd doc freezes the user can simply press ⌘+. to cancel that separate task
• improved Format R code
• fixed some minor stuff for deleting temporary files
 
/trunk/Mac-GUI/NSString_RAdditions.h
/trunk/Mac-GUI/NSString_RAdditions.m
/trunk/Mac-GUI/PreferenceKeys.h
/trunk/Mac-GUI/R.xcodeproj/project.pbxproj
/trunk/Mac-GUI/RDocument.h
/trunk/Mac-GUI/RDocument.m
/trunk/Mac-GUI/RDocumentWinCtrl.m