Bug 211157

Summary: auto-logging of javascript commands
Product: [Applications] kst Reporter: Andrew Walker <arwalker>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.8.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andrew Walker 2009-10-20 00:51:20 UTC
Version:           1.8.0 (using KDE 4.3.0)
OS:                Linux

Would be desirable to automatically have kst log all commands entered by the user in the kst javascript console.
Comment 1 Andrew Walker 2009-10-20 20:48:48 UTC
SVN commit 1038170 by arwalker:

BUG:211157 Added the ability to automatically log javaScripts commands. The syntax is Kst.autoWriteHistory(string filename[, boolean append]). If append is false then the file will be truncated when the autoWriteHistory command is called. Each new js command issued will be automatically added to the specified filename.

 M  +30 -0     bind_kst.cpp  
 M  +9 -0      bind_kst.h  
 M  +12 -0     js.cpp  
 M  +2 -0      js.h  
 M  +34 -0     jsiface_impl.cpp  
 M  +2 -0      jsiface_impl.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1038170
Comment 2 Andrew Walker 2009-10-20 21:06:32 UTC
SVN commit 1038176 by arwalker:

CCBUG:211157 Append to existing file if requested.

 M  +1 -1      jsiface_impl.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1038176