[rkward-cvs] SF.net SVN: rkward:[2790] trunk/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Mar 17 08:29:15 UTC 2010


Revision: 2790
          http://rkward.svn.sourceforge.net/rkward/?rev=2790&view=rev
Author:   tfry
Date:     2010-03-17 08:29:15 +0000 (Wed, 17 Mar 2010)

Log Message:
-----------
Don't keep variables in 'pending' state forever

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/core/rkvariable.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2010-03-16 21:21:05 UTC (rev 2789)
+++ trunk/rkward/ChangeLog	2010-03-17 08:29:15 UTC (rev 2790)
@@ -1,3 +1,4 @@
+- Fixed: Newly created variables were not properly updated when closing and re-opening the editor
 - Added "paste special" action to script editor and console for pasting R vectors and matrices from spreadsheets
 - Fix order of menus for detached windows
 - File->Open R Script File now allows to specify the character encoding to use

Modified: trunk/rkward/rkward/core/rkvariable.cpp
===================================================================
--- trunk/rkward/rkward/core/rkvariable.cpp	2010-03-16 21:21:05 UTC (rev 2789)
+++ trunk/rkward/rkward/core/rkvariable.cpp	2010-03-17 08:29:15 UTC (rev 2790)
@@ -2,7 +2,7 @@
                           rkvariable  -  description
                              -------------------
     begin                : Thu Aug 12 2004
-    copyright            : (C) 2004, 2007, 2008 by Thomas Friedrichsmeier
+    copyright            : (C) 2004, 2007, 2008, 2010 by Thomas Friedrichsmeier
     email                : tfry at users.sourceforge.net
  ***************************************************************************/
 
@@ -234,6 +234,7 @@
 	if (!data) {
 		allocateEditData ();
 		if (!isPending ()) updateDataFromR (0);
+		else (type -= Pending);
 	}
 	++(data->num_listeners);
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list