Issues.00322 - lordmundi/wikidoctest GitHub Wiki
00322: add "tcl" block to config files for non-tk scripts
Summary: add "tcl" block to config files for non-tk scripts
Created: 2011–02–08 16:01
Status: Released
Category: Request
From: frankie
Version: 2.1
Released_In: 2.2
Description:
now that we will have a -notk option available in DOUG, it is preferred that we have a block in the config file of scripts that get sourced when we have tcl but no tk.
Currently, the GUI block is usually used when both tcl and tk are available (the normal doug mode)
But, when running with "-notk" we don't want to source all of these scripts, but we need a method to source non-tk tcl scripts. This is the request for such a block, and we request it to be called "TCL".
Also, if other scripting languages were added in the future, this sets up a good precedent for adding those.
Comments
brad February 09, 2011, at 08:10 AM This has been implemented, in addition to the traditional GUI block you can now have a TCL block which will always get processed, and you can have a TCLTK block which like the GUI block will only get parsed if the tcl interpreter supports tk.
Associated Commits
| commit | 16e9a082470e3c90a39a3373ae0ecad65a00f5e9
link6 |
||
| Author: | Frank Graffagnino
|
| Date: | Tue Feb 15 11:47:21 2011 -0600
|
| Message: | [@Issue 50201, 00322, 00290, 00274: Quite a few updates for RCS and DNSD
- Updated the tcl udp package with a patch file that allows the reuse of udp
sockets. This allows multiple EDGE instances on the same machine to reuse the same multicast socket. I got the patch file from here: http://sourceforge.net/tracker/?func=detail&atid=543224&aid=1693037&group_id=75201
- Updated the cev.cfg file to have a "TCL" block where we can place scripts that
do not rely on visual components from Tk (such as the RCS).
- Updated the run_manager script to basically run the doug executable with the
"-notk" option. This means the run_manager script is almost identical to the other run scripts.
- Updated the dsp_dnssd Makefile to be more like the simdata makefile after the
build system updates @] |
Affected Files:
cev.cfg | 6 +±
gui/remote_commanding_server.tcl | 6 ±-
lib_Linux_FC3/libudp1.0.8.so | Bin 15810 -> 16296 bytes
plugin_Linux_FC3/dsp_dnssd.so | Bin 37945 -> 34427 bytes
run_manager | 36 +++++++++±----
src.dist/plugins/dsp_dnssd/Makefile | 51 ++±------------------
src.dist/plugins/dsp_dnssd/dsp_dnssd.cpp | 4 ±
tcltk_unix/tcl8.5/tcludp-1.0.8/generic/udp_tcl.c | 11 +++++
tcltk_win32/tcl8.5/tcludp-1.0.8/generic/udp_tcl.c | 11 +++++
9 files changed, 64 insertions(+), 61 deletions(-)
| commit | 53d0a54609e26349ba5a294ec972ab4cfd1677f0
link7 |
||
| Author: | Brad Bell
|
| Date: | Tue Feb 8 10:08:43 2011 -0600
|
| Message: | [@Issue 00317 and 00322: fixed bug that was causing core dumps and added two new
blocks 'TCLTK' and 'TCL' that get parsed depending on the -tk and -notk options @] |
Affected Files:
bin_Linux_FC3/doug | Bin 672542 -> 672958 bytes
bin_Win32/doug.exe | Bin 1808815 -> 1811393 bytes
2 files changed, 0 insertions(+), 0 deletions(-)