[rkward-cvs] rkward ChangeLog,1.71,1.72 TODO,1.65,1.66

Thomas Friedrichsmeier tfry at users.sourceforge.net
Fri Sep 23 14:29:49 UTC 2005


Update of /cvsroot/rkward/rkward
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30667

Modified Files:
	ChangeLog TODO 
Log Message:
Finished moving away from file-sinks to more direct method of retrieving output. Unfortunately, there is no way, yet, to reliably identify warning messages

Index: ChangeLog
===================================================================
RCS file: /cvsroot/rkward/rkward/ChangeLog,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** ChangeLog	19 Sep 2005 20:10:21 -0000	1.71
--- ChangeLog	23 Sep 2005 14:29:46 -0000	1.72
***************
*** 1,3 ****
! - fix display of warning messages
  - option to change list of package repositories
  - option to archive downloaded packages
--- 1,3 ----
! - fix display of warning messages (behavior does not match plain R, yet, but is mostly sane)
  - option to change list of package repositories
  - option to archive downloaded packages

Index: TODO
===================================================================
RCS file: /cvsroot/rkward/rkward/TODO,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** TODO	16 Sep 2005 16:08:11 -0000	1.65
--- TODO	23 Sep 2005 14:29:47 -0000	1.66
***************
*** 9,18 ****
  - use include "x.moc" in order to speed up build
  - use more QDicts instead of QMap<QString,...>s
  
  - Use R_WriteConsole-override instead of sink. Find a way to do the same for stderr
! 	- "real time" display of output in the console
! - add "window"-menu, esp. Window->close
  - check parts for correct destruction
  
  - remove classes/files:
  	- RKToggleWidget
--- 9,39 ----
  - use include "x.moc" in order to speed up build
  - use more QDicts instead of QMap<QString,...>s
+ - use R_DirtyImage to determine, whether workspace needs to be saved
  
  - Use R_WriteConsole-override instead of sink. Find a way to do the same for stderr
! 	- "real time" display of output in the console (remember to add Mutex protection before then!)
  - check parts for correct destruction
  
+ - printutils.c->481 Rvprintf: can we get at the standard out-connection and give it a fake vprintf (or better write?!) and fake fflush?
+ 	- see also: connections.c line 3246ff InitConnections
+ 	- seems ok now. But maybe we could still use this to catch immediate warning messages (which go to R_Consolefile)?
+ 
+ - still mysterious in warning-handling: 'help (doesnotexist); print ("stuff");'. Why is the order wrong?!
+ 
+ 
+ ##################
+ 
+ tryCatch (message ("a"), error=function (x) {print ("e"); x$message}, warning=function (y) {print ("w"); conditionMessage(y)}, message=function (z) {print ("m"); conditionCall (z)})
+ withCallingHandlers ({message ("a"); stop ("b");}, error=function (x) {print ("e"); x$message}, warning=function (y) {print ("w"); conditionMessage(y)}, message=function (z) {print ("c"); conditionCall (z)})
+ 
+ Not quite correct yet:
+ 	.Internal (.addCondHands (c ("error"), list (function (x) {print ("e"); print (conditionMessage (x))}), parent.frame (), NULL, TRUE))
+ 
+ .Internal (.addCondHands (c ("warning"), list (function (x) {print ("w"); print (conditionCall (x))}), globalenv (), NULL, TRUE))
+ 
+ condition handlers seem to be reset after an error!!!
+ 
+ #################
+ 
  - remove classes/files:
  	- RKToggleWidget





More information about the rkward-tracker mailing list