tkcon
21 years ago * tkcon.tcl (tkcon::Retrieve): correct the check for tkcon version
Jeff Hobbs [Mon, 31 Mar 2003 20:44:42 +0000 (20:44 +0000)]
* tkcon.tcl (tkcon::Retrieve): correct the check for tkcon version
when retrieving from http.

21 years agomake sure OPT is known var
Jeff Hobbs [Fri, 21 Feb 2003 00:48:52 +0000 (00:48 +0000)]
make sure OPT is known var

21 years ago * tkcon.tcl (EvalCmd): set $:: (aka ${}) var to last command result.
Jeff Hobbs [Fri, 21 Feb 2003 00:45:30 +0000 (00:45 +0000)]
* tkcon.tcl (EvalCmd): set $:: (aka ${}) var to last command result.
(EvalOther): use tk_messageBox instead of tk_dialog
(Init): allow 'edit' to be overridden using OPT(edit)

21 years agoadd tk appname alias in WWW plugin case
Jeff Hobbs [Tue, 14 Jan 2003 04:59:45 +0000 (04:59 +0000)]
add tk appname alias in WWW plugin case

22 years ago * tkcon.tcl (tcl_unknown): allow ::namespace (:'s) to be
Jeff Hobbs [Tue, 8 Oct 2002 18:51:00 +0000 (18:51 +0000)]
* tkcon.tcl (tcl_unknown): allow ::namespace (:'s) to be
recognized. (koloska)
(MainInit): add option for overriding exit command.
(InitUI): add option to control the wm protocol for WM_DELETE_WINDOW.

22 years ago * tkcon.tcl (InterpEval): correctly handle no args case.
Jeff Hobbs [Tue, 1 Oct 2002 21:40:09 +0000 (21:40 +0000)]
* tkcon.tcl (InterpEval): correctly handle no args case.
(New): autoload tbcload when it exists.

22 years agocall Init with eval to break out argv into args
Jeff Hobbs [Sat, 22 Jun 2002 08:29:00 +0000 (08:29 +0000)]
call Init with eval to break out argv into args

22 years ago * tkcon.tcl (Init): convert env(home) from 'C:' to 'C:/' if necessary.
Jeff Hobbs [Tue, 4 Jun 2002 17:35:40 +0000 (17:35 +0000)]
* tkcon.tcl (Init): convert env(home) from 'C:' to 'C:/' if necessary.

22 years ago * tkcon.tcl: fixed Retrieve to use the proxy info (Thoyts).
Jeff Hobbs [Tue, 4 Jun 2002 02:25:59 +0000 (02:25 +0000)]
* tkcon.tcl: fixed Retrieve to use the proxy info (Thoyts).
Added code so that tkcon.tcl can be sourced in and used like a
quasi-package.  Once sourced, you can do a 'package require tkcon'
(there is no pkgIndex.tcl for it), and the first 'tkcon show' will
initialize anything that is needed.
(observe): corrected variables tracing to not allow duplicates.
(dump): improved check for empty named arrays as well as locally
aliased vars in var dumps.
Use the 'fixed' font on unix by default.

22 years ago * tkcon.tcl (AddSlaveHistory): changed history to not add the
Jeff Hobbs [Sat, 23 Feb 2002 06:52:40 +0000 (06:52 +0000)]
* tkcon.tcl (AddSlaveHistory): changed history to not add the
command if it is the same as the previous command (it will still
be evaluated).  (soderstrom)
Added panedwindow and labelframe as recognized Tk commands.

22 years agobumped to 2.3 for release
Jeff Hobbs [Thu, 24 Jan 2002 19:50:36 +0000 (19:50 +0000)]
bumped to 2.3 for release

22 years ago * docs/procs.html:
Jeff Hobbs [Thu, 24 Jan 2002 19:44:53 +0000 (19:44 +0000)]
* docs/procs.html:
* tkcon.tcl (what): changed to differentiate between 'array' and
'scalar' instead of just returning 'variable'.
(which): called what in uplevel to get scope right.

22 years ago * tkcon.tcl (ExpandPathname): use a safer regsub to first unescape
Jeff Hobbs [Wed, 23 Jan 2002 03:32:48 +0000 (03:32 +0000)]
* tkcon.tcl (ExpandPathname): use a safer regsub to first unescape
the str, then to protect it in the glob.
(dir): Use -directory arg in 8.3+ for better results.

22 years ago* docs/idebug.html: added note about ? help at debug prompt.
Jeff Hobbs [Wed, 23 Jan 2002 03:00:22 +0000 (03:00 +0000)]
* docs/idebug.html: added note about ? help at debug prompt.

22 years ago (Expand*): fixed ExpandPathname to better handle spaced pathnames.
Jeff Hobbs [Wed, 23 Jan 2002 02:54:48 +0000 (02:54 +0000)]
(Expand*): fixed ExpandPathname to better handle spaced pathnames.
[Bug #497079]

22 years ago * tkcon.tcl (dir): prevented possible 'divide by zero' error.
Jeff Hobbs [Wed, 23 Jan 2002 01:58:21 +0000 (01:58 +0000)]
* tkcon.tcl (dir): prevented possible 'divide by zero' error.
[Bug #496584]

22 years ago * tkcon.tcl: 'tkcon show' causes loss of focus on Windows, so an
Jeff Hobbs [Sat, 15 Dec 2001 00:13:14 +0000 (00:13 +0000)]
* tkcon.tcl: 'tkcon show' causes loss of focus on Windows, so an
extra focus to the console was added.

22 years ago * tkcon.tcl (EvalSocketEvent): changed EvalSocketClosed to only
Jeff Hobbs [Thu, 13 Dec 2001 00:53:29 +0000 (00:53 +0000)]
* tkcon.tcl (EvalSocketEvent): changed EvalSocketClosed to only
occur after gets, then eof check. (Gerold Jury)

23 years agoadded catch around file type call
Jeff Hobbs [Wed, 14 Nov 2001 22:18:12 +0000 (22:18 +0000)]
added catch around file type call

23 years ago * tkcon.tcl (Init): corrected loading of rcfile when it was in a
Jeff Hobbs [Sun, 14 Oct 2001 19:20:20 +0000 (19:20 +0000)]
* tkcon.tcl (Init): corrected loading of rcfile when it was in a
path including spaces. (siltberg)
(About): clarified CVS info in about box.

23 years agocorrect old refs to TKCON var
Jeff Hobbs [Sun, 14 Oct 2001 18:58:56 +0000 (18:58 +0000)]
correct old refs to TKCON var

23 years ago* tkcon.tcl (InitSlave): propagate auto_path from master to slave.
Jeff Hobbs [Fri, 31 Aug 2001 21:59:34 +0000 (21:59 +0000)]
* tkcon.tcl (InitSlave): propagate auto_path from master to slave.

23 years ago * tkcon.tcl (NewSocket, NewDisplay): when nothing is specified,
Jeff Hobbs [Fri, 24 Aug 2001 21:32:34 +0000 (21:32 +0000)]
* tkcon.tcl (NewSocket, NewDisplay): when nothing is specified,
just return.
(Display): fixed connecting to interps on other displays.

23 years ago * docs/bindings.html: noted ^r/^s change.
Jeff Hobbs [Thu, 23 Aug 2001 00:50:25 +0000 (00:50 +0000)]
* docs/bindings.html: noted ^r/^s change.

* tkcon.tcl (Event): changed event ^r/^s searching to search for
any matching substring, and blink the substring.
Added statusbar, default off (not much in status yet).

23 years ago * tkcon.tcl (EvalNamespace): fixed to work when attached to a
Jeff Hobbs [Mon, 20 Aug 2001 19:10:48 +0000 (19:10 +0000)]
* tkcon.tcl (EvalNamespace): fixed to work when attached to a
foreign interpreter. [Bug #453431]
Added fix that allows access to Tk privates in 8.4.  Still needs
a long-term fix. [Bug #450865] (porter)

23 years ago * tkcon.tcl (RetrieveFilter, RetrieveAuthentication): added
Jeff Hobbs [Thu, 5 Jul 2001 17:52:45 +0000 (17:52 +0000)]
* tkcon.tcl (RetrieveFilter, RetrieveAuthentication): added
support for retrieving latest tkcon via a proxy. (Thoyts)

23 years ago * tkcon.tcl (tkcon): made tkcon console return whatever result it
uid38172 [Thu, 5 Jul 2001 00:31:52 +0000 (00:31 +0000)]
* tkcon.tcl (tkcon): made tkcon console return whatever result it
received.  Fixed Bug #438281.

23 years agoalways retrieve the HEAD for the plugin demo
uid38172 [Thu, 5 Jul 2001 00:31:20 +0000 (00:31 +0000)]
always retrieve the HEAD for the plugin demo

23 years agoset version correctly tkcon-2-2
Jeff Hobbs [Thu, 21 Jun 2001 02:17:07 +0000 (02:17 +0000)]
set version correctly

23 years agoadded link to d/l
Jeff Hobbs [Thu, 21 Jun 2001 00:02:04 +0000 (00:02 +0000)]
added link to d/l

23 years agoremoved version remark
Jeff Hobbs [Thu, 21 Jun 2001 00:00:16 +0000 (00:00 +0000)]
removed version remark

23 years agoupdated for 2.2 release
Jeff Hobbs [Wed, 20 Jun 2001 23:58:44 +0000 (23:58 +0000)]
updated for 2.2 release

23 years ago * tkcon.tcl (InitUI): moved wm protocol inside check to not run
Jeff Hobbs [Wed, 20 Jun 2001 23:40:48 +0000 (23:40 +0000)]
* tkcon.tcl (InitUI): moved wm protocol inside check to not run
under plugin.
(::tkcon::Retrieve): added a new method to allow tkcon to retrieve
the latest version of itself.

23 years ago * tkcon.tcl (InitUI): moved wm protocol inside check to not run
Jeff Hobbs [Wed, 20 Jun 2001 22:34:14 +0000 (22:34 +0000)]
* tkcon.tcl (InitUI): moved wm protocol inside check to not run
under plugin.

23 years ago * tkcon.tcl (dir): added fallback in generic dir command to not
Jeff Hobbs [Wed, 20 Jun 2001 03:17:09 +0000 (03:17 +0000)]
* tkcon.tcl (dir): added fallback in generic dir command to not
require being run in tkcon.
(Init): Changed around how all options are initialized to allow
for tkcon embedders to set their own defaults.  Added a usehistory
PRIV key that tells us whether to load/save history files.  Added
showOnStartup PRIV key to control whether tkcon should deiconify
itself on startup.  Changed setting root to .tkcon to ensure that
root was just . before.

23 years ago (InitMenus) added version check around Attach to Socket menu, as
Jeff Hobbs [Tue, 19 Jun 2001 02:51:09 +0000 (02:51 +0000)]
(InitMenus) added version check around Attach to Socket menu, as
8.3 is need for the file channels call.

23 years ago * tkcon.tcl: (InitUI) added WM_DELETE_WINDOW hook to exit to
Jeff Hobbs [Mon, 18 Jun 2001 17:24:46 +0000 (17:24 +0000)]
* tkcon.tcl: (InitUI) added WM_DELETE_WINDOW hook to exit to
correctly deconstruct slave consoles.
(tkcon congets/getc) added tkcon show to ensure that tkcon would
be displayed when input is expected.
(GetSelection) new command to handle getting selection, this
supports the new UTF8_STRING type.

23 years ago * docs/start.html: added note about ::tkcon::OPT(gets) var.
Jeff Hobbs [Mon, 28 May 2001 08:47:12 +0000 (08:47 +0000)]
* docs/start.html: added note about ::tkcon::OPT(gets) var.
* docs/tkcon.html: improved docs for tkcon *get* methods.
* tkcon.tcl: reinstituted override of gets by default to use the
tkcon console based gets.

23 years ago * tkcon.tcl (dump): corrected outputting local vars with dump.
Jeff Hobbs [Mon, 28 May 2001 07:31:45 +0000 (07:31 +0000)]
* tkcon.tcl (dump): corrected outputting local vars with dump.
Added RCS info to PRIV array and About box.
(tkcon congets) corrected congets to set the limit and insert
properly to return data without needing to call the prompt.
(tkcon set) corrected to return [array get] string for arrays,
and scalar value for vars.
Placed exact level value to all calls to uplevel and upvar.

23 years ago * tkcon.tcl: make check for actual tkcon root existence to allow
Jeff Hobbs [Thu, 17 May 2001 21:05:48 +0000 (21:05 +0000)]
* tkcon.tcl: make check for actual tkcon root existence to allow
for setting the var ($::tkcon::PRIV(root)) in controlling apps to
better control the root window.

23 years agoadded high speed server release archive link tkcon-2-1
Jeff Hobbs [Sat, 5 May 2001 00:02:41 +0000 (00:02 +0000)]
added high speed server release archive link

23 years agoupdate for 2.1 notes
Jeff Hobbs [Fri, 4 May 2001 23:19:47 +0000 (23:19 +0000)]
update for 2.1 notes

23 years ago * docs/style.css: new file for html files to use.
Jeff Hobbs [Fri, 4 May 2001 23:14:46 +0000 (23:14 +0000)]
* docs/style.css: new file for html files to use.
* README.txt:
* index.html:
* doc/*: updated for 2.1 release.

23 years ago * tkcon.tcl: allowed 'tkcon font ...' and 'tkcon buffer ...' to
Jeff Hobbs [Fri, 4 May 2001 23:14:34 +0000 (23:14 +0000)]
* tkcon.tcl: allowed 'tkcon font ...' and 'tkcon buffer ...' to
work before the main console have been created.
Changed "TkCon" -> "tkcon", updated for new release.

23 years ago * tkcon.tcl (::tkcon::Init): added safe interp check around 'cd'
Jeff Hobbs [Thu, 29 Mar 2001 00:05:11 +0000 (00:05 +0000)]
* tkcon.tcl (::tkcon::Init): added safe interp check around 'cd'
call for Macs

24 years ago * tkcon.tcl (dir): fixed bug where permissions wouldn't print
Jeff Hobbs [Tue, 31 Oct 2000 00:46:05 +0000 (00:46 +0000)]
* tkcon.tcl (dir): fixed bug where permissions wouldn't print
correctly if user had no permissions. (kuchler)

24 years ago * tkcon.tcl (::tkcon::NamespacesList): corrected to not use window
Jeff Hobbs [Thu, 19 Oct 2000 00:36:05 +0000 (00:36 +0000)]
* tkcon.tcl (::tkcon::NamespacesList): corrected to not use window
starting with an uppercase letter (error). (reins)

24 years agotkcon.tcl (::tkcon::About): added 'variable COLOR' decl (Zaers)
Jeff Hobbs [Wed, 27 Sep 2000 21:12:51 +0000 (21:12 +0000)]
tkcon.tcl (::tkcon::About): added 'variable COLOR' decl (Zaers)

24 years ago (EvalCmd): Changed EvalSocket functionality to have the \'s
Jeff Hobbs [Wed, 20 Sep 2000 20:52:54 +0000 (20:52 +0000)]
(EvalCmd): Changed EvalSocket functionality to have the \'s
substituted before sending data, to allow for special chars to be
added to the string.

24 years ago (InitUI): fixed Configure binding to use correct namespace for OPT
Jeff Hobbs [Wed, 20 Sep 2000 19:03:03 +0000 (19:03 +0000)]
(InitUI): fixed Configure binding to use correct namespace for OPT
(EvalSocket, EvalSend, EvalAttached): cleaned up to require that
they accept only one arg as the command string to be evaluated.
Prior behavior left some ambiguity as to what was eval'ed where.
EvalOther, EvalSlave may need some sanitation as well.

24 years ago * tkcon.tcl (InitMenus): restricted the Attach Socket
Jeff Hobbs [Wed, 20 Sep 2000 16:30:23 +0000 (16:30 +0000)]
* tkcon.tcl (InitMenus): restricted the Attach Socket
functionality to Tcl 8.3+ due to use of [file channels].

24 years agocorrected urls
Jeff Hobbs [Wed, 20 Sep 2000 16:29:57 +0000 (16:29 +0000)]
corrected urls

24 years ago * tkcon.tcl (::tkcon::InitUI): corrected plugin handling, as 'wm
Jeff Hobbs [Tue, 19 Sep 2000 23:26:35 +0000 (23:26 +0000)]
* tkcon.tcl (::tkcon::InitUI): corrected plugin handling, as 'wm
withdraw' worked, but 'wm deiconify' was disallowed.

24 years agoindex.html: updated page with sourceforge links
Jeff Hobbs [Tue, 19 Sep 2000 23:25:46 +0000 (23:25 +0000)]
index.html: updated page with sourceforge links

24 years ago * docs/plugin.html: updated link to plugin source
Jeff Hobbs [Tue, 19 Sep 2000 23:23:44 +0000 (23:23 +0000)]
* docs/plugin.html: updated link to plugin source
* docs/changes.txt: noted that changes.txt is no longer updated in
favor of this ChangeLog

24 years agoindex.html: added toplevel html index doc
Jeff Hobbs [Tue, 19 Sep 2000 19:06:49 +0000 (19:06 +0000)]
index.html: added toplevel html index doc

24 years ago * tkcon.tcl: updated v2.0 to v2.1 alpha version
Jeff Hobbs [Tue, 19 Sep 2000 18:58:00 +0000 (18:58 +0000)]
* tkcon.tcl: updated v2.0 to v2.1 alpha version
All tkcon procedures have been namespaced, except for the ones
that are visible to the user.  TkCon has added the ability to
attach to other displays or a socket.

24 years ago * tkcon.tcl: updated v1.6 to v1.5 version, tagged tkcon-2-0 tkcon-2-0
Jeff Hobbs [Tue, 19 Sep 2000 18:55:05 +0000 (18:55 +0000)]
* tkcon.tcl: updated v1.6 to v1.5 version, tagged tkcon-2-0
This is the first version to require 8.0+ to run, although it
will still connect to older interps.

24 years agotkcon.tcl: updated v1.5 to v1.6 version, tagged tkcon-1-6 tkcon-1-6
Jeff Hobbs [Tue, 19 Sep 2000 18:53:02 +0000 (18:53 +0000)]
tkcon.tcl: updated v1.5 to v1.6 version, tagged tkcon-1-6

24 years agotkcon.tcl: updated v1.4 to v1.5 version, tagged tkcon-1-5 tkcon-1-5
Jeff Hobbs [Tue, 19 Sep 2000 18:51:23 +0000 (18:51 +0000)]
tkcon.tcl: updated v1.4 to v1.5 version, tagged tkcon-1-5

24 years agotkcon.tcl: updated v1.3 to v1.4 version, tagged tkcon-1-4 tkcon-1-4
Jeff Hobbs [Tue, 19 Sep 2000 18:50:27 +0000 (18:50 +0000)]
tkcon.tcl: updated v1.3 to v1.4 version, tagged tkcon-1-4

24 years agotkcon.tcl: updated v1.2 to v1.3 version, tagged tkcon-1-3 tkcon-1-3
Jeff Hobbs [Tue, 19 Sep 2000 18:49:29 +0000 (18:49 +0000)]
tkcon.tcl: updated v1.2 to v1.3 version, tagged tkcon-1-3

24 years agotkcon.tcl: updated v1.1 to v1.2 version, tagged tkcon-1-2 tkcon-1-2
Jeff Hobbs [Tue, 19 Sep 2000 18:45:56 +0000 (18:45 +0000)]
tkcon.tcl: updated v1.1 to v1.2 version, tagged tkcon-1-2

24 years agotkcon.tcl: updated v1.03 to v1.1 version, tagged tkcon-1-1 tkcon-1-1
Jeff Hobbs [Tue, 19 Sep 2000 18:44:34 +0000 (18:44 +0000)]
tkcon.tcl: updated v1.03 to v1.1 version, tagged tkcon-1-1

24 years agotkcon.tcl: updated v1.02 to v1.03 version, tagged tkcon-1-03 tkcon-1-03
Jeff Hobbs [Tue, 19 Sep 2000 18:43:28 +0000 (18:43 +0000)]
tkcon.tcl: updated v1.02 to v1.03 version, tagged tkcon-1-03

24 years agotkcon.tcl: updated v0.71 to v1.02 version, tagged tkcon-1-02 tkcon-1-02
Jeff Hobbs [Tue, 19 Sep 2000 18:42:16 +0000 (18:42 +0000)]
tkcon.tcl: updated v0.71 to v1.02 version, tagged tkcon-1-02

24 years agotkcon.tcl: updated v0.69 to v0.71 version, tagged tkcon-0-71 tkcon-0-71
Jeff Hobbs [Tue, 19 Sep 2000 18:40:51 +0000 (18:40 +0000)]
tkcon.tcl: updated v0.69 to v0.71 version, tagged tkcon-0-71

24 years agoupdated v0.68 to v0.69 version, tagged tkcon-0-69 tkcon-0-69
Jeff Hobbs [Tue, 19 Sep 2000 18:39:37 +0000 (18:39 +0000)]
updated v0.68 to v0.69 version, tagged tkcon-0-69

24 years agoupdated v0.67 to v0.68 version, tagged tkcon-0-68 tkcon-0-68
Jeff Hobbs [Tue, 19 Sep 2000 18:38:35 +0000 (18:38 +0000)]
updated v0.67 to v0.68 version, tagged tkcon-0-68

24 years ago * tkcon.tcl: updated v0.66 to v0.67 version, tagged tkcon-0-67 tkcon-0-67
Jeff Hobbs [Tue, 19 Sep 2000 18:36:55 +0000 (18:36 +0000)]
* tkcon.tcl: updated v0.66 to v0.67 version, tagged tkcon-0-67

24 years ago * tkcon.tcl: updated v0.65 to v0.66 version, tagged tkcon-0-66 tkcon-0-66
Jeff Hobbs [Tue, 19 Sep 2000 18:35:54 +0000 (18:35 +0000)]
* tkcon.tcl: updated v0.65 to v0.66 version, tagged tkcon-0-66

24 years ago * tkcon.tcl: updated v0.64 to v0.65 version, tagged tkcon-0-65 tkcon-0-65
Jeff Hobbs [Tue, 19 Sep 2000 18:34:36 +0000 (18:34 +0000)]
* tkcon.tcl: updated v0.64 to v0.65 version, tagged tkcon-0-65

24 years ago * tkcon.tcl: updated v0.63 to v0.64 version, tagged tkcon-0-64 tkcon-0-64
Jeff Hobbs [Tue, 19 Sep 2000 18:33:32 +0000 (18:33 +0000)]
* tkcon.tcl: updated v0.63 to v0.64 version, tagged tkcon-0-64

24 years ago * tkcon.tcl: updated v0.52 to v0.63 version tkcon-0-63
Jeff Hobbs [Tue, 19 Sep 2000 18:31:00 +0000 (18:31 +0000)]
* tkcon.tcl: updated v0.52 to v0.63 version
* ChangeLog: added a ChangeLog

24 years agoInitial revision
Jeff Hobbs [Tue, 19 Sep 2000 18:24:43 +0000 (18:24 +0000)]
Initial revision