[rkward-cvs] rkward/rkward main.cpp,1.14,1.15 robjectbrowser.cpp,1.15,1.16

Thomas Friedrichsmeier tfry at users.sourceforge.net
Thu Apr 28 21:29:14 UTC 2005


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

Modified Files:
	main.cpp robjectbrowser.cpp 
Log Message:
Decreasing default debug level. TODO: make sure no messages clearly for debugging purposes only get shown by default, use correct RK_DO... everywhere.

Index: robjectbrowser.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/robjectbrowser.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** robjectbrowser.cpp	22 Apr 2005 14:52:55 -0000	1.15
--- robjectbrowser.cpp	28 Apr 2005 21:29:12 -0000	1.16
***************
*** 126,132 ****
  	if (!object) return;
  	if (object == RKGlobals::rObjectList ()) return;
! 
! 	if ( (RKGlobals::rkApp()->activeWindow())->inherits("RKCommandEditorWindow") ) {
! 		( (RKCommandEditorWindow*)RKGlobals::rkApp()->activeWindow() )->insertText(object->getFullName());
  	}
  }
--- 126,133 ----
  	if (!object) return;
  	if (object == RKGlobals::rObjectList ()) return;
! 	if (!RKGlobals::rkApp ()->activeWindow ()) return;	// yes, apparently this can happen!
! 	
! 	if ((RKGlobals::rkApp ()->activeWindow ())->inherits ("RKCommandEditorWindow")) {
! 		static_cast<RKCommandEditorWindow*> (RKGlobals::rkApp ()->activeWindow ())->insertText (object->getFullName ());
  	}
  }

Index: main.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/main.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** main.cpp	24 Apr 2005 15:22:09 -0000	1.14
--- main.cpp	28 Apr 2005 21:29:12 -0000	1.15
***************
*** 78,82 ****
  {
    { "+[File]", I18N_NOOP ("file to open"), 0 },
!   { "debug-level <level>", I18N_NOOP ("Verbosity of debug messages (0-5)"), "4"}, 
    { "debug-flags <flags>", I18N_NOOP ("Mask for components to debug as a binary number (see debug.h)"), "111111111111" }, 
    { 0, 0, 0 }
--- 78,82 ----
  {
    { "+[File]", I18N_NOOP ("file to open"), 0 },
!   { "debug-level <level>", I18N_NOOP ("Verbosity of debug messages (0-5)"), "3"}, 
    { "debug-flags <flags>", I18N_NOOP ("Mask for components to debug as a binary number (see debug.h)"), "111111111111" }, 
    { 0, 0, 0 }





More information about the rkward-tracker mailing list