Jeff Hobbs [Thu, 7 Feb 2008 21:02:53 +0000 (21:02 +0000)]
* tkcon.tcl (::tkcon::Bindings): prevent Expand virtual events
from triggering follow-on events (most important for <Tab>).
(::tkcon::Retrieve): remove extraneous http::geturl call.
Jeff Hobbs [Sat, 23 Jun 2007 00:53:41 +0000 (00:53 +0000)]
* tkcon.tcl (::tkcon::EvalCmd): add OPT(resultfilter) and 'tkcon
resultfilter ?cmd?' to allow optional result filter command.
Command will be passed result code and data and must return what
tkcon will return to the user. Command is run in attached slave.
Ensure that initial files are sources at level #0.
Convert args after (--|-argv|-args) into slave arguments and set
them as the main $::argv/$::argc for propagation.
Jeff Hobbs [Thu, 21 Jun 2007 23:13:20 +0000 (23:13 +0000)]
remove oldschool style tags
Jeff Hobbs [Thu, 21 Jun 2007 23:08:55 +0000 (23:08 +0000)]
note 8.5 compatibility
Jeff Hobbs [Thu, 21 Jun 2007 23:07:16 +0000 (23:07 +0000)]
* docs/tkcon.1.man, docs/tkcon.n.man, docs/tkconrc.5.man (new):
* docs/dump.n.man, docs/observe.n.man, docs/idebug.n.man (new):
* index.html, docs/demopic.gif (removed), docs/demopic.png (new):
* docs/plugin.html, docs/start.html, docs/tkcon.html:
Updated docs and added doctools equivalents courtesy Sergei Golovan
* docs/style.css: updated stylesheet
Jeff Hobbs [Thu, 21 Jun 2007 22:10:48 +0000 (22:10 +0000)]
correct dos line endings and provided version
Jeff Hobbs [Thu, 5 Apr 2007 00:18:56 +0000 (00:18 +0000)]
bumped to version 2.5
Jeff Hobbs [Thu, 5 Apr 2007 00:18:07 +0000 (00:18 +0000)]
updated license
Jeff Hobbs [Wed, 4 Apr 2007 19:02:08 +0000 (19:02 +0000)]
* tkcon.tcl: ensure option overrides only effect tkcon and
subwidgets.
(edit): Add -wrap option to 'edit' command.
(::tkcon::AtSource): adjust argv0 existence check
Jeff Hobbs [Tue, 5 Sep 2006 23:08:31 +0000 (23:08 +0000)]
* tkcon.tcl (::tkcon::NewTab, ::tkcon::GetSlave): ensure that new
tabs in other toplevel tkcon windows are built in the correct
slave hierarchy.
Jeff Hobbs [Tue, 5 Sep 2006 22:25:19 +0000 (22:25 +0000)]
* pkgIndex.tcl: sample pkgIndex.tcl that allows using tkcon as a
package.
Jeff Hobbs [Tue, 5 Sep 2006 22:00:11 +0000 (22:00 +0000)]
* tkcon.tcl (::tkcon::InitSlave): adjust to make the first file
passed in to be argv0 in the slave
Jeff Hobbs [Fri, 25 Aug 2006 18:04:51 +0000 (18:04 +0000)]
* tkcon.tcl (tkcon): default wm protocol to hide tkcon when used
in embedded context.
Jeff Hobbs [Wed, 23 Aug 2006 18:00:29 +0000 (18:00 +0000)]
remove use of -exact in package require Tk
Jeff Hobbs [Sat, 5 Aug 2006 23:21:57 +0000 (23:21 +0000)]
correct cvs link
Jeff Hobbs [Thu, 29 Jun 2006 17:17:30 +0000 (17:17 +0000)]
* tkcon.tcl: updated to handle ttk scrollbars as well as other UI
cleanup.
Jeff Hobbs [Fri, 16 Jun 2006 00:13:12 +0000 (00:13 +0000)]
modify CVS location after SF changes
Jeff Hobbs [Fri, 16 Jun 2006 00:13:00 +0000 (00:13 +0000)]
correct reference email address
Jeff Hobbs [Tue, 28 Feb 2006 20:45:21 +0000 (20:45 +0000)]
* tkcon.tcl (tkcon): update 'gets stdin' override (tkcon congets)
to support usage at script load time. (decoster)
Jeff Hobbs [Wed, 25 Jan 2006 23:44:18 +0000 (23:44 +0000)]
* tkcon.tcl (MenuConfigure): Fix ActiveTcl Help link when pointing
to a file with space in path. [Bug
1408425]
(::tkcon::Save, ::tkcon::Load): in VFS paths, use the X11 dialogs
that support viewing in VFS dirs.
Jeff Hobbs [Mon, 12 Sep 2005 19:07:16 +0000 (19:07 +0000)]
* tkcon.tcl (::tkcon::AtSource): do not require argv to be defined
(edit): enable text -undo in editor
(::tkcon::InitUI): shrink aqua resize control space alloted
Jeff Hobbs [Thu, 14 Jul 2005 22:57:44 +0000 (22:57 +0000)]
* tkcon.tcl: add ::tkcon::OPT(maxlinelen) (default 0 == unlimited)
and 'tkcon linelength ?value?' to optionally limit long result
lines. True result is still captured in $_ (and 'puts $_' works).
Jeff Hobbs [Wed, 25 May 2005 20:23:53 +0000 (20:23 +0000)]
* tkcon.tcl (InitMenus): add ActiveTcl Help menu item, if AT Help
is found.
Jeff Hobbs [Thu, 7 Apr 2005 05:34:00 +0000 (05:34 +0000)]
* tkcon.tcl (ExpandXotcl): allow for xotcl method name expansion,
if you change ::tkcon::OPT(expandorder) to include Xotcl before
Procname
Jeff Hobbs [Mon, 21 Feb 2005 19:31:36 +0000 (19:31 +0000)]
* tkcon.tcl (::send::send): propagate -displayof to winfo interps
call. [Bug
1124369] (mbec)
Jeff Hobbs [Thu, 18 Nov 2004 19:18:06 +0000 (19:18 +0000)]
* tkcon.tcl (::tkcon::ExpandVariable): correct array keyname
expansion. [Bug
1004508] (bold)
Jeff Hobbs [Fri, 12 Nov 2004 18:06:54 +0000 (18:06 +0000)]
* tkcon.tcl (::tkcon::EvalSocket): pass sock arg. (allaert)
Jeff Hobbs [Thu, 11 Nov 2004 17:22:12 +0000 (17:22 +0000)]
* tkcon.tcl (::tkcon::DeleteTab): allow for exit code to be passed
when exit is aliased to DeleteTab. [Bug
1064462]
(::tkcon::Expect): graphicsSet isn't valid yet
Jeff Hobbs [Sun, 10 Oct 2004 22:55:14 +0000 (22:55 +0000)]
* tkcon.tcl (::tkcon::Highlight): use ctext for the 'edit' dialog
if available
Jeff Hobbs [Mon, 26 Jul 2004 21:54:42 +0000 (21:54 +0000)]
* index.html, docs/*.html: remove email links, update 2.4 info
* docs/plugin.html: update plugin page embed code
Jeff Hobbs [Sun, 25 Jul 2004 01:15:45 +0000 (01:15 +0000)]
note tabbed console feature
Jeff Hobbs [Thu, 24 Jun 2004 22:17:58 +0000 (22:17 +0000)]
* tkcon.tcl (DeleteTab, Destroy): improve the 'exit' handling so
that 'exit' in the first created tab doesn't do a full exit.
'exit' in the last tab of the first created console still exits
tkcon, fixing that requires a rearch of the console
creation/management.
(InitTab): Have the <Configure> binding only fire for the root
window, not for each tab.
(GotoTab): Keep tabs around - just raise/lower instead of grid
remove/add. break on Next/Prev Tab binding to get focus right.
(Prompt): return if console w doesn't exist
Jeff Hobbs [Thu, 10 Jun 2004 23:59:00 +0000 (23:59 +0000)]
* tkcon.tcl: add [X] tab delete button and Console -> Delete Tab
menu item. [Bug 970785]
Jeff Hobbs [Wed, 12 May 2004 21:09:10 +0000 (21:09 +0000)]
(observe): allow observe of "proc"
Jeff Hobbs [Sat, 20 Mar 2004 23:56:23 +0000 (23:56 +0000)]
turn off Expect behavior, accidently commited something that is far from working
Jeff Hobbs [Sat, 20 Mar 2004 23:54:36 +0000 (23:54 +0000)]
* tkcon.tcl (::tkcon::EvalSocketEvent): correctly handle socket
events after attachment changes
Jeff Hobbs [Mon, 1 Mar 2004 21:56:11 +0000 (21:56 +0000)]
* tkcon.tcl: correct 'exit' in extra tabs.
make tkconfixed font Courier -12 (was Courier 10), use it on unix.
Add extra space for OS X/Aqua in statusbar (for resize handle).
Only use -overrelief in 8.4
Jeff Hobbs [Fri, 13 Feb 2004 00:03:24 +0000 (00:03 +0000)]
(::tkcon::InterpEval, Interps): beware safe interps with Tk
Jeff Hobbs [Thu, 12 Feb 2004 20:35:22 +0000 (20:35 +0000)]
Show Attach info in tab text, maintain namespace attachment
between console switches.
Jeff Hobbs [Thu, 12 Feb 2004 17:34:09 +0000 (17:34 +0000)]
* tkcon.tcl (::tkcon::InitUI): check existence of tcl_platform(os)
as it doesn't exist in the Tcl plugin.
Jeff Hobbs [Thu, 5 Feb 2004 20:30:15 +0000 (20:30 +0000)]
* tkcon.tcl: brought code back to 8.0 compatability.
Use $_ as last cached result var (was ${}).
Ensure hoterrors garbage collection occurs across all tabs.
Jeff Hobbs [Fri, 30 Jan 2004 02:31:17 +0000 (02:31 +0000)]
first whack at tabbed console
Jeff Hobbs [Wed, 28 Jan 2004 21:39:40 +0000 (21:39 +0000)]
(::tkcon::Retrieve): correct retrieve URL and add intelligence to
sense whether what we retrieved is correct before overwriting file.
Jeff Hobbs [Wed, 28 Jan 2004 21:06:15 +0000 (21:06 +0000)]
* tkcon.tcl: don't use menu tearoffs
remove recognizable email addresses from source
enabled more send variants (comm, dde, winsend) [bug 649257] (thoyts)
change Packages menu (that would be too large with many packages)
to a Manage Packages dialog.
tightened up Create Socket dialog, added <Escape> dismiss binding.
Moved source time initialization into ::tkcon::AtSource to guard
against leftover vars and just better encapsulate it.
Jeff Hobbs [Tue, 18 Nov 2003 20:36:39 +0000 (20:36 +0000)]
* tkcon.tcl (::tkcon::InitSlave): remove tk_library from the
seeded auto_path. Do not add OPT(library) to auto_path if it is "".
Jeff Hobbs [Wed, 5 Nov 2003 02:54:55 +0000 (02:54 +0000)]
* tkcon.tcl (::tkcon::EvalSocketClosed): use tk_messageBox instead
of tk_dialog
Jeff Hobbs [Mon, 6 Oct 2003 19:12:43 +0000 (19:12 +0000)]
* tkcon.tcl (dir): use %9ld instead of %9d to support large files
Jeff Hobbs [Tue, 8 Apr 2003 18:07:36 +0000 (18:07 +0000)]
more tightening of display for WinCE
Jeff Hobbs [Tue, 8 Apr 2003 16:45:24 +0000 (16:45 +0000)]
* tkcon.tcl (::tkcon::InitUI): WinCE code to resize the window to
fit on the small screen
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.
Jeff Hobbs [Fri, 21 Feb 2003 00:48:52 +0000 (00:48 +0000)]
make sure OPT is known var
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)
Jeff Hobbs [Tue, 14 Jan 2003 04:59:45 +0000 (04:59 +0000)]
add tk appname alias in WWW plugin case
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.
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.
Jeff Hobbs [Sat, 22 Jun 2002 08:29:00 +0000 (08:29 +0000)]
call Init with eval to break out argv into args
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.
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.
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.
Jeff Hobbs [Thu, 24 Jan 2002 19:50:36 +0000 (19:50 +0000)]
bumped to 2.3 for release
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.
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.
Jeff Hobbs [Wed, 23 Jan 2002 03:00:22 +0000 (03:00 +0000)]
* docs/idebug.html: added note about ? help at debug prompt.
Jeff Hobbs [Wed, 23 Jan 2002 02:54:48 +0000 (02:54 +0000)]
(Expand*): fixed ExpandPathname to better handle spaced pathnames.
[Bug #497079]
Jeff Hobbs [Wed, 23 Jan 2002 01:58:21 +0000 (01:58 +0000)]
* tkcon.tcl (dir): prevented possible 'divide by zero' error.
[Bug #496584]
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.
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)
Jeff Hobbs [Wed, 14 Nov 2001 22:18:12 +0000 (22:18 +0000)]
added catch around file type call
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.
Jeff Hobbs [Sun, 14 Oct 2001 18:58:56 +0000 (18:58 +0000)]
correct old refs to TKCON var
Jeff Hobbs [Fri, 31 Aug 2001 21:59:34 +0000 (21:59 +0000)]
* tkcon.tcl (InitSlave): propagate auto_path from master to slave.
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.
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).
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)
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)
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.
uid38172 [Thu, 5 Jul 2001 00:31:20 +0000 (00:31 +0000)]
always retrieve the HEAD for the plugin demo
Jeff Hobbs [Thu, 21 Jun 2001 02:17:07 +0000 (02:17 +0000)]
set version correctly
Jeff Hobbs [Thu, 21 Jun 2001 00:02:04 +0000 (00:02 +0000)]
added link to d/l
Jeff Hobbs [Thu, 21 Jun 2001 00:00:16 +0000 (00:00 +0000)]
removed version remark
Jeff Hobbs [Wed, 20 Jun 2001 23:58:44 +0000 (23:58 +0000)]
updated for 2.2 release
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.
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.
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.
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.
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.
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.
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.
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.
Jeff Hobbs [Sat, 5 May 2001 00:02:41 +0000 (00:02 +0000)]
added high speed server release archive link
Jeff Hobbs [Fri, 4 May 2001 23:19:47 +0000 (23:19 +0000)]
update for 2.1 notes
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.
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.
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
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)
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)
Jeff Hobbs [Wed, 27 Sep 2000 21:12:51 +0000 (21:12 +0000)]
tkcon.tcl (::tkcon::About): added 'variable COLOR' decl (Zaers)
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.
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.
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].