Bug 211157 - auto-logging of javascript commands
Summary: auto-logging of javascript commands
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.8.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 00:51 UTC by Andrew Walker
Modified: 2009-10-20 21:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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