The R Project SVN R-packages

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
6089 5274 d 1 h urbaneks /trunk/Mac-GUI/ fix to build; enable only active arch in Debug  
6060 5288 d 23 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
 
6059 5289 d 1 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
 
6058 5289 d 20 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
 
6048 5293 d 21 h bibiko /trunk/Mac-GUI/ • improved \section and \subsection display in section list
- now the section list shows the (sub)section argument i.e. the section name
• fixed tiny issue to replace the temp file name in error messages while rd checking
 
6034 5299 d 5 h bibiko /trunk/Mac-GUI/ • for Rd files do not show "Check successful" alert for Preview HTML/PDF  
6026 5302 d 4 h bibiko /trunk/Mac-GUI/ • further work on Rd support:
- added to main menu: New Rd Document ⌥⌘N
- added to Rd toolbox:
-- Insert Function Rd Template ^⌥⌘F (done via prompt())
-- Insert Data Rd Template ^⌥⌘D (done via prompt())
-- Check Rd Document ^⌥⌘C
-- assigned key equivalents to PDF/HTML Preview ^⌥⌘P/^⌥⌘H
- improved output of possible warnings or errors while Rd check
-- re-format output for better reading
-- tries to figure out where the first error/warning appears and jump to it after dismissing the alert
• minor code improvements and removing of forgotten debug outputs
 
6006 5305 d 19 h bibiko /trunk/Mac-GUI/ • placed validateToolbarItem: to the item's target in order to be called  
6004 5306 d 1 h bibiko /trunk/Mac-GUI/ • improved Rd syntax highlighting
• implemented PDF Preview of current Rd file
 
5997 5311 d 3 h bibiko /trunk/Mac-GUI/ • further work on Rd file support
- some improvement for saving files, esp. for changing file types from R to Rd e.g.
• corrected misspelled 'Secction'
 
5995 5311 d 17 h bibiko /trunk/Mac-GUI/ • further work for Rd support
- initial work on syntax highlighting
- applied (un)comment functionality
- implemented first stage of completion mode for \foo macros
- improved section parsing
- improved HTML preview
• fixed issue for R code completion if a '\' occurs i.e. it has to be escaped
 
5993 5312 d 22 h bibiko /trunk/Mac-GUI/ • initial commit to support "Rd Documention File" editing; not yet fully implemented but workable
- Rd files are assigned to R.app
- Rd file editor has its own toolbar and added "HTML Preview"
- Rd file will be parsed to build section list for pop-menu in toolbar (same approach as for function list of R files)

... work in progress
 
5741 5590 d 0 h urbaneks /trunk/Mac-GUI/ merge up to r158  
5719 5607 d 0 h urbaneks /trunk/Mac-GUI/ merge r109  
5707 5613 d 18 h urbaneks /trunk/Mac-GUI/ merge r82  
5705 5613 d 23 h urbaneks /trunk/Mac-GUI/ merge r79 from the new GUI plus bugfixes  
5676 5663 d 22 h urbaneks /trunk/Mac-GUI/ add encoding support  
4330 7022 d 0 h goedman /trunk/Mac-GUI/ Moved winctr workaround into RDocumentController.windowWillClose  
3159 7371 d 13 h urbaneks /trunk/Mac-GUI/ Clean up document handling; add hack for windows not closing properly; add window focus tracking in RDocumentController and use it to jump to windows by document type  
3104 7397 d 13 h urbaneks /trunk/Mac-GUI/ Add .rda and fix drag'n'drop of image files  

Show All