1 | ENHANCED TK CONSOLE changes |
---|
2 | ------------------------------------------------------------------------- |
---|
3 | Changes file begun Tue May 7 19:09:51 PDT 1996 |
---|
4 | Newest changes at top of file. Release dates between '----'s. |
---|
5 | Changes for a particular version are BELOW the release date line. |
---|
6 | |
---|
7 | Attribution for code is specified after change, a preceding slash |
---|
8 | indicates an idea/bug report attribution fixed by myself. Where |
---|
9 | no attribution is made, assume (Hobbs). |
---|
10 | ------------------------------------------------------------------------- |
---|
11 | |
---|
12 | THIS FILE IS NO LONGER PERTINENT. |
---|
13 | |
---|
14 | All changes are now recorded in the ChangeLog. |
---|
15 | |
---|
16 | ---- March 31 1999 v1.6 ---- |
---|
17 | |
---|
18 | Changed tkConInsert to not use catch (avoids any error generation). |
---|
19 | |
---|
20 | Changed if check on auto_load in tcl_unknown to an llength on the |
---|
21 | args (from [info tclversion]) as 8.0p0 also used just one arg. |
---|
22 | |
---|
23 | Added -exec command line arg, so that users could do the -exec "" |
---|
24 | trick (causes tkcon to skip multi-interpreter model) and makes it |
---|
25 | easier to drop tkcon as a console on extended wish executables. |
---|
26 | |
---|
27 | Changed handling of fixed font for all tkcon text widgets, adding |
---|
28 | new -font option, TKCON(font) var, and redoing 'tkcon font'. |
---|
29 | |
---|
30 | Added color,(disabled|cursor|bg) variables as per Becker's |
---|
31 | recommendations, allowing for old defaults. |
---|
32 | |
---|
33 | Changed multiple instances of string comparisons with llength, |
---|
34 | where appropriate. |
---|
35 | |
---|
36 | Changed dump proc to not try and auto_load a proc arg and improved |
---|
37 | recognition of procs in namespaces. |
---|
38 | |
---|
39 | Added new 'what' proc to environment that tells you what a string |
---|
40 | is recognized as. Now used in various other procs. |
---|
41 | |
---|
42 | Improved hot errors to not pop up edit dialog when the mouse moved. |
---|
43 | |
---|
44 | ---- March 5 1999 v1.5 ---- |
---|
45 | |
---|
46 | Expanded tkConSave to support use in 'edit'. |
---|
47 | |
---|
48 | Added tkConGarbageCollect proc for periodic cleanup tasks |
---|
49 | (currently, cleaning up error tags in the console widget), |
---|
50 | with new gc-delay TKCON var. |
---|
51 | |
---|
52 | Revised error handling (errors are now hot in the console). |
---|
53 | |
---|
54 | Changed tkConExpandPathname to recognise that NT for 8.1+ is |
---|
55 | case-sensitive, and to not change case for other Windows configs |
---|
56 | when no further expansion was made. |
---|
57 | |
---|
58 | Made changes to tkConEvalOther and the aliasing of tkConEvalAttached |
---|
59 | for "Main" for more accurate evaluation. |
---|
60 | |
---|
61 | Changed the conditional 'update' in tkcon_puts (that overrides the |
---|
62 | core puts) to 'update idletasks'. This prevents problems with |
---|
63 | using puts in fileevent triggers and such. |
---|
64 | |
---|
65 | Added check to prevent lower-casing during pathname expansion when |
---|
66 | no further expansion can be made on a string. |
---|
67 | |
---|
68 | New auto-buffer (default 512 lines, set in TKCON(buffer)) for the |
---|
69 | console widget. Set this ridiculously high if you liked the |
---|
70 | text widget holding all that data. New tkcon buffer method to |
---|
71 | go with it. |
---|
72 | |
---|
73 | Rewrote edit command. Previous version was mostly bogus when used |
---|
74 | outside the original slave. |
---|
75 | |
---|
76 | Change tkcon error to use updated 'edit' command. |
---|
77 | |
---|
78 | Massaged tkConEvalOther & tkConInterpEval. |
---|
79 | |
---|
80 | Fixed problem with Show Last Error where a TkCon generated error |
---|
81 | was always appearing (from Package Submenu) and moved it above |
---|
82 | the packages submenu. |
---|
83 | |
---|
84 | Removed auto_execok from the slaveprocs list. |
---|
85 | |
---|
86 | Removed slaveappalias as it didn't work correctly. Made 'edit' |
---|
87 | a slavealias, with tkConAttach used to determine where it was |
---|
88 | called from |
---|
89 | |
---|
90 | Changed some regexps around to pass tclCheck's mistaken warnings |
---|
91 | (tclCheck's bad matching, not bad regexps). |
---|
92 | |
---|
93 | Changed dump to not try widgets before commands, as otherwise |
---|
94 | it won't automatically complain. |
---|
95 | |
---|
96 | Fixed pathname completion to only beep when trying to expand on a |
---|
97 | non-existent subdirectory (instead of throwing no-directory error). |
---|
98 | |
---|
99 | Fixed a few notes that TclPro's checker picked up (only one actual |
---|
100 | bug in the all switch of 'edit', otherwise it was mostly blowing |
---|
101 | wind...). (lvirden) |
---|
102 | |
---|
103 | ---- February 17 1999 v1.4 ---- |
---|
104 | |
---|
105 | Changed "changes" file to "changes.txt". |
---|
106 | |
---|
107 | Added edit/more/less proc that allows for the viewing/editing |
---|
108 | and returning back to the slave of vars/procs or files. |
---|
109 | |
---|
110 | Modified history to not got below 0. |
---|
111 | |
---|
112 | lremove extended with -pattern arg. |
---|
113 | |
---|
114 | Added code in tcl_unknown to ask about loading Tk when someone tries |
---|
115 | a Tk command without Tk being loaded. |
---|
116 | |
---|
117 | Had to change regexps because \E in Tcl8.1a2 was removed in 8.1b1 (arg!). |
---|
118 | |
---|
119 | Added "Make Xauth Secure" button for Unix. (heiko.federhenn@stest.ch) |
---|
120 | |
---|
121 | Fixed tkConInitInterp (used by "Send TkCon Commands") to reattach to |
---|
122 | the named namespace when appropriate. |
---|
123 | |
---|
124 | Fixed bug in popup-menu for Tk8 (bound to wrong toplevel). |
---|
125 | |
---|
126 | Fixed bug in tcl_unknown confusing auto_load between 8.0 and 7.x. |
---|
127 | |
---|
128 | Made Interp->Package menu more dynamic, so it recognizes changes in |
---|
129 | auto_path and updates itself when Interp is torn-off. |
---|
130 | |
---|
131 | Removed list from $new in exec redirect for tcl_unknown. (found by Imai) |
---|
132 | |
---|
133 | Changed package menu to handle multiple package versions. |
---|
134 | |
---|
135 | Added bogus package require statement to master and slaves to ensure |
---|
136 | that pkgIndex.tcl files were properly loaded into interps. |
---|
137 | |
---|
138 | If "Main" is passed to tkConAttachNamespace, it is interpreted as "::". |
---|
139 | |
---|
140 | Changed "Attach Namespace" menu to provide a listbox popup when |
---|
141 | more than $TKCON(maxmenu) namespaces are present. |
---|
142 | |
---|
143 | ---- June 1998 v1.3 ---- |
---|
144 | |
---|
145 | fixed long-standing expr bug (missing '$') in tkConSafeBind - found |
---|
146 | by TclPro! |
---|
147 | |
---|
148 | took out the use of tkcon_gets because it only worked for global vars. |
---|
149 | |
---|
150 | ---- March 1998 v1.2 unreleased ---- |
---|
151 | |
---|
152 | updated regexps in some places to support 8.1 regexps. |
---|
153 | |
---|
154 | dump now outputs only non-default options for widgets. (ridgway) |
---|
155 | |
---|
156 | Sorted output list for multiple tab matched items. |
---|
157 | |
---|
158 | Several minor changes for the plugin (user should see no difference). |
---|
159 | |
---|
160 | Known problems with dump command understanding namespaces have been |
---|
161 | fixed, but only for the 8.0 only version. |
---|
162 | |
---|
163 | Changed tkConTagProc to recognize ';' as not part of a proc name. |
---|
164 | |
---|
165 | Changed tkConNew to reuse slave numbers. |
---|
166 | |
---|
167 | Fixed problem with TKCON(exec) == {} (needed uplevel #0 instead of eval). |
---|
168 | |
---|
169 | On Mac, tries to source itself using -rsrc (8.0). (nijtmans) |
---|
170 | |
---|
171 | Changed to use 8.0 menu scheme if possible. (nijtmans) |
---|
172 | |
---|
173 | Changed tkConInitSlave and tkConNew to only set argv0 in new slave if it |
---|
174 | exists (it won't in the plugin). (demailly) |
---|
175 | |
---|
176 | Changed tkConInit to only checkpoint state once if the slave interp |
---|
177 | and main interp are the same (TKCON(exec) == {}). |
---|
178 | |
---|
179 | ---- 08 October 1997 v1.1 ---- |
---|
180 | |
---|
181 | For Tk8, made TkCon use a fixed font {Courier, size 10} if the current |
---|
182 | font is not of fixed type. |
---|
183 | |
---|
184 | Startup errors should now be found in the TkCon last error function. |
---|
185 | |
---|
186 | Changed the Triple-1 binding to not include last newline. |
---|
187 | |
---|
188 | Added fix to make sure that double-evaluation of the command line |
---|
189 | didn't occur (might occur for commands that used vwait or something). |
---|
190 | |
---|
191 | TKCON(errorInfo) is now set with all the errors that occur during start-up, |
---|
192 | so that you don't lose stack trace information. |
---|
193 | |
---|
194 | ---- July 03 1997 v1.03 ---- |
---|
195 | |
---|
196 | Updated namespace eval stuff for Tk8.0b2. |
---|
197 | |
---|
198 | rewrote tkConSepCmd. |
---|
199 | |
---|
200 | ls is now "dir -full" by default. |
---|
201 | |
---|
202 | changed the puts renaming from tcl_puts to tkcon_tcl_puts (so that it |
---|
203 | specifies what renamed it). |
---|
204 | |
---|
205 | added variable highlighting to command highlighting as a background (so |
---|
206 | that a command and var can be seen for the same word). |
---|
207 | |
---|
208 | increased default history size to 48. |
---|
209 | |
---|
210 | Fixed problem where aliased exit couldn't take extra args. |
---|
211 | |
---|
212 | replaced old [tkcon gets] with a new UI version to be used with the new |
---|
213 | tkcon_gets that, like tkcon_puts, replaces the Tcl gets with a version that |
---|
214 | doesn't rely on stdin being present. [tkcon gets] now accepts no args. |
---|
215 | **** POTENTIAL INCOMPATIBILITY **** |
---|
216 | |
---|
217 | ---- June 10 1997 v1.02 ---- |
---|
218 | |
---|
219 | Changed calculator mode commands to be put in the history (but the |
---|
220 | output still looks like an error). |
---|
221 | |
---|
222 | Fixed bug where "source" was assumed to work for primary interp, |
---|
223 | causing failure to load in Tk plugin. |
---|
224 | |
---|
225 | Fixed problem with the id'ing of the primary TkCon interpreter that would |
---|
226 | affect attaching to like named interps. |
---|
227 | |
---|
228 | ---- June 8 1997 v1.01 ---- |
---|
229 | |
---|
230 | minor streamlining in tkConEvalCmd. |
---|
231 | |
---|
232 | added file menu and separated some items from console menu. |
---|
233 | |
---|
234 | added support for connecting directly to a namespace (itcl or Tcl8). |
---|
235 | |
---|
236 | Fixed several potential problems where args to tkConEvalAttached where |
---|
237 | not properly protected from eval. |
---|
238 | |
---|
239 | added slaveexit variable to allow for exit in slaves to be non-destructive, |
---|
240 | which is the new default. |
---|
241 | |
---|
242 | enhanced Tab binding, made Escape the default pathname-only expansion. |
---|
243 | |
---|
244 | enhanced dump and which commands. |
---|
245 | |
---|
246 | Removed auto_execok redefinition for Tcl7.5-. TkCon is now intended to |
---|
247 | only run in Tcl7.6+ interpreters (though attaching to 7.5- is still OK). |
---|
248 | |
---|
249 | Added Load/Save menus and expanded Save functionality. |
---|
250 | |
---|
251 | ---- June 1 1997 v1.00 ---- |
---|
252 | |
---|
253 | TkCon now use virtual events for bindings (REQUIRES TK4.2+) and changed |
---|
254 | Console to TkConsole (to not conflict with new Console megawidget). |
---|
255 | |
---|
256 | Updated tcl_unknown to match Tcl8's unknown. |
---|
257 | |
---|
258 | Changed handling of preferences directory for macintosh. |
---|
259 | **** POTENTIAL INCOMPATIBILITY **** |
---|
260 | |
---|
261 | Changed tkCon global var to TKCON. |
---|
262 | **** POTENTIAL INCOMPATIBILITY **** |
---|
263 | |
---|
264 | Changed colors to use absolute #RRGGBB format for color-name disadvantaged |
---|
265 | systems. |
---|
266 | |
---|
267 | Removed use of tkCon(font) variable. |
---|
268 | **** POTENTIAL INCOMPATIBILITY **** |
---|
269 | |
---|
270 | Fixed procname expansion to work on/in namespaces. |
---|
271 | |
---|
272 | Fixed pathname expansion to expand on a directory. |
---|
273 | |
---|
274 | Fixed all if's to use {}s (better for Tcl8). |
---|
275 | |
---|
276 | Fixed potential paste problems, it now tries to get the general selection |
---|
277 | first, then the CLIPBOARD selection. |
---|
278 | |
---|
279 | Fixed problem with 'puts' being renamed too early. |
---|
280 | |
---|
281 | Added calcmode variable to allow typing expr commands write at the tkCon |
---|
282 | command line without always saying expr (handled in tkConEvalCmd). |
---|
283 | |
---|
284 | ---- no official release v0.72 ---- |
---|
285 | |
---|
286 | Changed tkConAbout to use text widget so info could be selected. |
---|
287 | |
---|
288 | Fixed problem with pathname expansion on windows due to case insensitivity. |
---|
289 | (how can anyone work with such an insensitive OS?) |
---|
290 | |
---|
291 | Fixed off-by-one error in history substitution reported by |
---|
292 | <s-imai@lsi.tmg.nec.co.jp>. |
---|
293 | |
---|
294 | Fixed error in the handling of packages with a space in the name. |
---|
295 | |
---|
296 | Removed general return of output from rcfile, now only errors are returned. |
---|
297 | |
---|
298 | New tkConEvent proc to handle event movement, fixed search event problem |
---|
299 | where cached event would become incorrect. |
---|
300 | |
---|
301 | new blinkrange variable to change electric bracing style. |
---|
302 | |
---|
303 | ---- December 20th 1996 v0.71 ---- |
---|
304 | |
---|
305 | changed to not use upvar for nested arrays (bad for Tcl8). |
---|
306 | |
---|
307 | catch package require statement for detecting loadable libraries. |
---|
308 | |
---|
309 | ---- November 15th 1996 v0.70 ---- |
---|
310 | |
---|
311 | Fixed problem with virtual event C/C/P bindings. (reported by |
---|
312 | robin@jessikat.demon.co.uk) |
---|
313 | |
---|
314 | ---- November 15th 1996 v0.69 ---- |
---|
315 | |
---|
316 | Added auto_execok to tkCon(slaveprocs), fixes "unknown" command bug. |
---|
317 | |
---|
318 | Fix for 'event' to work with plugin. (nijtmans) |
---|
319 | |
---|
320 | Added '--' and '-filter' options to 'dump'. |
---|
321 | |
---|
322 | ---- November 13th 1996 v0.68 ---- |
---|
323 | |
---|
324 | Added $tk_library to auto_path for safe slaves loading Tk. (nijtmans) |
---|
325 | |
---|
326 | Made "r" the default mode for tkConSafeOpen. (nijtmans) |
---|
327 | |
---|
328 | Changed global delcarations in tkConInit to avoid conflicts with |
---|
329 | Nijtmans' plus patch. |
---|
330 | |
---|
331 | ---- November 11th 1996 v0.67 ---- |
---|
332 | |
---|
333 | Fixed weird backslashing in tkConSafeWindow |
---|
334 | |
---|
335 | ---- November 8th 1996 v0.66 ---- |
---|
336 | |
---|
337 | Further changes for Tk plugin compatibility. (nijtmans) |
---|
338 | |
---|
339 | ---- November 7th 1996 v0.65 ---- |
---|
340 | |
---|
341 | Started to add to plugin compatible code. (nijtmans) |
---|
342 | |
---|
343 | Reworked tkConFind* to accept optional args. |
---|
344 | |
---|
345 | Added History menu which display last ten commands in history. |
---|
346 | |
---|
347 | Removed 'auto_execpath' and changed for new version of 'auto_execok' (in |
---|
348 | 'which' and 'unknown'), which will be redefined when TkCon is run in Tcl7.5. |
---|
349 | |
---|
350 | The attached environment is now checkpointed at startup (by default |
---|
351 | this is the slave). |
---|
352 | |
---|
353 | Fixed 'dump var' to use list when printing out nested array elements |
---|
354 | |
---|
355 | Added 'update' to puts, as well as better error reporting for tcl_puts. |
---|
356 | (nijtmans) |
---|
357 | |
---|
358 | Improved bracing around elseif statements. |
---|
359 | |
---|
360 | Removed 'warn' alias from distribution. Seemed superfluous. |
---|
361 | |
---|
362 | Added support for requiring Tk in Tcl8+. |
---|
363 | |
---|
364 | Made TkCon use tkCon(cols) and tkCon(rows) for startup text size. |
---|
365 | |
---|
366 | ---- September 30th 1996 v0.64 ---- |
---|
367 | |
---|
368 | Changed the way 'idebug' integrates with TkCon. |
---|
369 | |
---|
370 | Changed to require Tk of version [expr $tcl_version-3.4]. |
---|
371 | |
---|
372 | Fixed bug in observe_var (upvar shouldn't have had the \#0). |
---|
373 | |
---|
374 | Made Interp->Inspect menu disappear if TkConInspect package was not present. |
---|
375 | |
---|
376 | Made package handling only enabled for Tcl7.5+ interps and reworked |
---|
377 | how packages were recognized. |
---|
378 | |
---|
379 | ! Removed virtual events from Console bindings so that they don't screw |
---|
380 | ! up the Console bindings (temporary fix). |
---|
381 | |
---|
382 | Changed how initially loaded packages were detected. (nijtmans) |
---|
383 | |
---|
384 | Made all globals visible in tkConInit. (/nijtmans) |
---|
385 | |
---|
386 | ---- September 23rd 1996 v0.63 ---- |
---|
387 | |
---|
388 | Changed 'tkConFindBox' to not screw up search string. |
---|
389 | |
---|
390 | ---- September 20th 1996 v0.62 ---- |
---|
391 | |
---|
392 | Added option for automagically ignoring dead interpreter problems. (wart) |
---|
393 | |
---|
394 | Fixed bug for reattaching to default slave via menu. (wart) |
---|
395 | |
---|
396 | Changed how 'observe' spit out trace info for commands. |
---|
397 | |
---|
398 | Modified 'idebug' internals. |
---|
399 | |
---|
400 | Made 'idebug' create its own tkCon(exec) slave for maintaining history. |
---|
401 | |
---|
402 | Fixed long-standing bug in 'lremove' for -all switch. |
---|
403 | |
---|
404 | Made tkCon(SCRIPT) follow links to the true source script. |
---|
405 | |
---|
406 | Added 'idebug puts' and 'idebug echo' methods. |
---|
407 | |
---|
408 | Fixed 'idebug break' to not work at level 0. |
---|
409 | |
---|
410 | Removed line that could improperly set $name and placed a 'catch' |
---|
411 | around the 'interp alias' for 'ls' in tkConInitInterp. |
---|
412 | |
---|
413 | tkConInit(Slave|Interp) now just 'catch'es the renaming of puts. |
---|
414 | |
---|
415 | Added 'tkcon set' and 'tkcon upvar' methods. (nijtmans) |
---|
416 | |
---|
417 | ---- September 17th 1996 v0.61 ---- |
---|
418 | |
---|
419 | Added 'idebug' interactive debugging proc based off Stephen Uhler's all-Tcl |
---|
420 | debugger (Oct'95 _Linux_Journal_). Should work w/ or w/o TkCon. |
---|
421 | |
---|
422 | Added back accidental removal of 'ls' alias in slaves. |
---|
423 | |
---|
424 | ---- September 15th 1996 v0.60 ---- |
---|
425 | |
---|
426 | Added 'tkcon find str' method and find box to TkCon. |
---|
427 | |
---|
428 | Added 'observe{_var}' command for simple tracing of vars/cmds with |
---|
429 | output in the TkCon console window. |
---|
430 | |
---|
431 | Reworked tkConFillAppsMenu to be more efficient and correct. |
---|
432 | |
---|
433 | Added 'echo' as an internal proc and included it in tkCon(slaveprocs). |
---|
434 | |
---|
435 | Removed tkCon(prompt2). |
---|
436 | |
---|
437 | Changed tkCon(lightcmd) default to 1 from 0. |
---|
438 | |
---|
439 | Improved 'tkcon error' to allow it to check the errorInfo of other apps. |
---|
440 | |
---|
441 | 'dump var' now outputs nested array values. (loverso) |
---|
442 | |
---|
443 | Changed tkCon(Load|Save) to use the new Tk4.2 dialogs if available. |
---|
444 | |
---|
445 | Fixed tkConPrompt problem where marks were set incorrectly sometimes |
---|
446 | when it was called by an event (such as <Control-1>). |
---|
447 | |
---|
448 | Added bgerror to slaves and 'tkcon bgerror' method. (nijtmans) |
---|
449 | |
---|
450 | Added tcl_unknown along with other minor mods to get TkCon to work better |
---|
451 | with IncrTcl. (nijtmans) |
---|
452 | |
---|
453 | Made <Triple-1> binding not include the prompt. |
---|
454 | |
---|
455 | Add null Console bindings for the tkCon(root) bindings to avoid them |
---|
456 | getting generated spuriously. (Hobbs / Wart) |
---|
457 | |
---|
458 | Added -argv/-- command line option. This has very limited use, but is very |
---|
459 | good for wrapping TkCon around an existing application which has it's own |
---|
460 | command line args. It resets $argv in the main interpreter to what remains |
---|
461 | on the command line and TkCon ignores argv. This carries over to any "New |
---|
462 | Consoles". |
---|
463 | |
---|
464 | Reintroduced state procedures, placed them in Interp menu. These should |
---|
465 | only be used if you really understand what they do. |
---|
466 | |
---|
467 | Added 'dump command' method. Usefulness over 'dump proc' is minimal. |
---|
468 | |
---|
469 | Tightened up the command line args, dropped several optional switches. |
---|
470 | |
---|
471 | Placed all the Console bindings into tkConBindings, which is called |
---|
472 | in tkConInitUI. |
---|
473 | |
---|
474 | Added 'tkConInitInterp' which places the tkCon shell commands (already |
---|
475 | available in any tkCon slave) in the interpreter. It also rewires |
---|
476 | puts to send the result back to tkCon. |
---|
477 | |
---|
478 | Fixed dead attachment problem where attaching to another interp after |
---|
479 | being connected to a dead interp would munge the new interp's name. (H / Wart) |
---|
480 | |
---|
481 | Added 'tkConEvalOther' which evals in the named interpreter. |
---|
482 | |
---|
483 | Removed 'tkConCheckPackages'. Package handling is now separated into the |
---|
484 | autoloading part in tkConInit and into tkConInterpMenu which determines |
---|
485 | available static libraries and packages for an interpreter. Menus redesigned. |
---|
486 | |
---|
487 | Changed 'tkcon eval' to 'tkcon master' since eval gave the wrong connotation. |
---|
488 | |
---|
489 | Made '-nontcl' option take a TCL_BOOLEAN argument. |
---|
490 | |
---|
491 | Made 'which' return unknown commands as an error. |
---|
492 | |
---|
493 | Added button into the help window to send the help URL to netscape. |
---|
494 | |
---|
495 | Made history substitution spit out a correctly translated command if |
---|
496 | evaluation doesn't return an error. |
---|
497 | |
---|
498 | Changed history search to use the same event id as regular command line |
---|
499 | history. |
---|
500 | |
---|
501 | Added tkCon(meta) variable which varies the Meta definition based on the |
---|
502 | platform (Unix == Meta; Win == Alt; Mac == Command) |
---|
503 | |
---|
504 | Added 'dump widget' method. Spits out current widget state as returned |
---|
505 | by '.widget configure'. |
---|
506 | |
---|
507 | Changed 'dump proc' and 'which' to try and auto_load an unknown procedure. |
---|
508 | |
---|
509 | Added 'tkcon history' command to return a source'able history stack. |
---|
510 | |
---|
511 | Fixed off-by-one error in tkConExpand (caused expansion to not work unless |
---|
512 | you were expanding the last thing on the line and also not if a special |
---|
513 | char was the first on the line). |
---|
514 | |
---|
515 | Fixed TkCon package handling to work properly for IncrTcl. (nijtmans) |
---|
516 | |
---|
517 | ---- July 31 1996 v0.52 ---- |
---|
518 | |
---|
519 | Reversed changes file to have newest at top. |
---|
520 | |
---|
521 | Added 'tkcon version' command. |
---|
522 | |
---|
523 | Fixed scoping problem when attaching to the master interpreter of a |
---|
524 | particular console. |
---|
525 | |
---|
526 | Rewrote the expansion routines to handle spaces in names better (no longer |
---|
527 | requires the user to use grouping as it puts in '\ ' for spaces). |
---|
528 | |
---|
529 | Fixed off-by-one bug in tkConExpandBestMatch(2). |
---|
530 | |
---|
531 | Rewired attachments so that when 'send' is used to attach to an app and an |
---|
532 | error occurs, TkCon determines whether the app still exists to prevent |
---|
533 | multiple errors from arising due to a dead attachment. If this occurs, it |
---|
534 | prompts the user on whether to return to the primary slave or to check |
---|
535 | periodically for the attached interpreter to come back. tkConEvalSend was |
---|
536 | added to facilitate this. |
---|
537 | |
---|
538 | Command highlighting is now only attempted when a non-empty character is |
---|
539 | inserted into the command line (%A != {}). |
---|
540 | |
---|
541 | Added Ctrl-2 accelerator to get attach to master interpreter of a console |
---|
542 | and Ctrl-3 to get to attach to the Main interpreter. |
---|
543 | |
---|
544 | Made the attachment to Main set the tkCon(app) to Main (to get around the |
---|
545 | menu -value {} bug) and also set tkConEvalAttached alias to 'tkConMain eval'. |
---|
546 | |
---|
547 | Rewrote tkConPrompt to accept "pre" and "post" args to place before and |
---|
548 | after the prompt is printed. pre is tagged stdout, post is tagged stdin. |
---|
549 | |
---|
550 | Rewrote 'dump var' to recognize nested arrays, but not output them |
---|
551 | (it's too complicated to do that in source'able form), as well as |
---|
552 | recognize empty arrays. |
---|
553 | |
---|
554 | Rewrote tkConEvalCmd to keep track of errorInfo when errors occur. |
---|
555 | |
---|
556 | Added 'tkcon error' to display the last errorInfo. |
---|
557 | |
---|
558 | Changed dumpproc and dumpvar to dump (proc|var) ... |
---|
559 | |
---|
560 | Added -root argument to set the tkCon(root) variable explicitly. |
---|
561 | |
---|
562 | Changed the -(slave)eval args to append to rather than set their vars |
---|
563 | so that they can be specified multiple times on the command line. |
---|
564 | |
---|
565 | Added a limit argument to tkConMatch{Quote,Pair}. |
---|
566 | |
---|
567 | Rewrote dumpvar to recognize a single array value name (ie: a(b)). |
---|
568 | |
---|
569 | Renamed default non-Unix resource filename from from tkcon.bat to tkcon.cfg. |
---|
570 | |
---|
571 | No longer 'catch' the renaming of puts in a slave, because we'd want to |
---|
572 | know if that threw an error, although it never should... |
---|
573 | |
---|
574 | ---- July 14 1996 v0.51 ---- |
---|
575 | |
---|
576 | Removed tkConUsage since it was never called. |
---|
577 | |
---|
578 | Changed tkCon(Load|Save) to use tkFileSelect, if it exists. |
---|
579 | |
---|
580 | Added -load and -pkg equivalents for -package. |
---|
581 | |
---|
582 | Added Ctrl-Key-1 binding to reattach to primary slave. |
---|
583 | |
---|
584 | TkCon now will create itself in a different toplevel if there are already |
---|
585 | children of . when tkConInit is called. |
---|
586 | |
---|
587 | Changed tkConInitSlave not to overwrite tcl_puts in a slave if it exists. |
---|
588 | |
---|
589 | Created tkCon(slaveprocs) to identify what procs get dumped into a |
---|
590 | slave each time and tkCon(slavealias) to identify what will be |
---|
591 | aliased back into the main interpreter. |
---|
592 | |
---|
593 | ---- July 4 1996 v0.50 ---- |
---|
594 | |
---|
595 | Number of history events to keep now set by tkCon(history). |
---|
596 | |
---|
597 | 'unknown' reworked (yet again) to properly handle itself in either the slave |
---|
598 | or another interpreter. History substition was moved into tkConEvalCmd and |
---|
599 | made an option (via tkCon(subhistory)). |
---|
600 | |
---|
601 | Inlined _dir into dir/ls. It doesn't save any cycles, but it removes |
---|
602 | the need to manage _dir. |
---|
603 | |
---|
604 | Fixed 'dir/ls -f' to denote executable files with a *. |
---|
605 | |
---|
606 | Fixed dir/ls to not die on 'dir -f <pattern>'. (Thanks to steven@indra.com) |
---|
607 | |
---|
608 | Changed tkConExpand to stop at $ as well. |
---|
609 | |
---|
610 | Changed tkConTagProc binding from Console <KeyRelease> to PostCon <KeyPress>. |
---|
611 | It seems to miss a lot less now. |
---|
612 | |
---|
613 | ---- July 3 1996 v0.49 ---- |
---|
614 | |
---|
615 | Slight mod to <BackSpace>. |
---|
616 | |
---|
617 | Fixed <Delete> binding to not allow deletions of pre-Prompt text when a |
---|
618 | selection is made. |
---|
619 | |
---|
620 | Fixed tkConEvalCmd to properly send commands to foreign interpreters even |
---|
621 | if $tkCon(nontcl) was set. |
---|
622 | |
---|
623 | Made tkConEvalAttached be some type of alias at all times. |
---|
624 | |
---|
625 | Changed 'slavescript' to 'slaveeval' and added an 'eval' option. |
---|
626 | |
---|
627 | ---- June 25 1996 v0.48 ---- |
---|
628 | |
---|
629 | Fixed 'alias' problem with multiple args. |
---|
630 | |
---|
631 | Updated binding system to automatically set Console bindings to equivalent |
---|
632 | Text bindings, then redefine what we want. |
---|
633 | |
---|
634 | Updated tkConTagProc to eval in attached slaves. This can make it |
---|
635 | really slow when attached to foreign interpreters. |
---|
636 | |
---|
637 | ---- June 25 1996 v0.47 ---- |
---|
638 | |
---|
639 | Fixed tkConExpandBest* to be more accurate ([string first] is only valid |
---|
640 | for us when it returns 0). |
---|
641 | |
---|
642 | Updated tkConExpandPathname to work better for attached interpreters. |
---|
643 | |
---|
644 | Renamed tkExpand* to tkConExpand* (they'd become too TkCon oriented). |
---|
645 | |
---|
646 | Changed tkConEvalCmd to 'list' instead of 'concat' command for attached |
---|
647 | interpreters, and to ignore the whole thing if [string match {} $cmd]. |
---|
648 | |
---|
649 | Removed many bindings that were exactly duplicated by "Text" binding. |
---|
650 | |
---|
651 | Added tkCon(blinktime) option to allow user to specify blink duration. |
---|
652 | Value must be at least 100 (millisecs). |
---|
653 | |
---|
654 | Removed tkConUpDownLine. It never varied from tkTextUpDownLine. |
---|
655 | |
---|
656 | Improved package loading to handle bad pkgIndex.tcl entries. |
---|
657 | |
---|
658 | ---- June 21 1996 v0.46 ---- |
---|
659 | |
---|
660 | Improved package loading to be correct. |
---|
661 | |
---|
662 | Made 'dir' more Mac/Windows friendly (I hope). |
---|
663 | |
---|
664 | ---- June 21 1996 v0.45 (skipped v0.44) ---- |
---|
665 | |
---|
666 | Added "Non-Tcl Attachments" preference to disallow sends to interpreters |
---|
667 | which may not understand Tcl (ie - SchemeTk, PerlTk). |
---|
668 | |
---|
669 | Rewrote tkConCheckPackages to allow calling it without a widget reference. |
---|
670 | |
---|
671 | Updated tkConEvalCmd. |
---|
672 | |
---|
673 | Added tkConEvalAttached to evaluate more things in the right place. |
---|
674 | |
---|
675 | Rewrote tkConAttach to allow for attaching directly to slave interpreters |
---|
676 | (no send required). "Attach Console" menu now lists all slave interpreters |
---|
677 | by slave path (with Tk interp name in ()s), separate from foreign interps. |
---|
678 | |
---|
679 | Add tkConInitSlave to create a TkCon slave. |
---|
680 | |
---|
681 | Renamed tkExpand* to tclExpand*. |
---|
682 | |
---|
683 | Updated 'dir' for better output. |
---|
684 | |
---|
685 | Added command line argument support, rearranged tkConInit to support it. |
---|
686 | |
---|
687 | ---- June 18 1996 v0.43 ---- |
---|
688 | |
---|
689 | Fixed 'unknown' to work in both slave and master interpreter. |
---|
690 | |
---|
691 | Modified 'dir' to be dumpproc'ed into slave. |
---|
692 | |
---|
693 | Rewrote 'clear' to be dumpproc'ed as well. |
---|
694 | |
---|
695 | Fixed 'puts' bug for slaves. |
---|
696 | |
---|
697 | ---- June 17 1996 v0.42 ---- |
---|
698 | |
---|
699 | Added extra loop to tkConCheckPackages to account for packages that may |
---|
700 | auto-load Tk itself (like Tix or Tksteal). |
---|
701 | |
---|
702 | ---- June 15 1996 v0.41 ---- |
---|
703 | |
---|
704 | Added 'warn' as an alias back into the main interpreter. |
---|
705 | |
---|
706 | Fixed documentation leftovers (and updated upgrade.html) to include the |
---|
707 | move of the 'main' and 'slave' commands into 'tkcon'. |
---|
708 | |
---|
709 | Fixed problem in 'clear' command |
---|
710 | |
---|
711 | ---- June 14 1996 v0.40 Released ---- |
---|
712 | |
---|
713 | OK, I need to add some MAJOR changes here... |
---|
714 | |
---|
715 | Added package handling. |
---|
716 | |
---|
717 | Moved to two-level interpreter model (master control/slave execution). |
---|
718 | |
---|
719 | ---- June 13 1996 v0.38 ---- |
---|
720 | |
---|
721 | Fixed auto_execpath to work on windows |
---|
722 | |
---|
723 | ---- June 11 1996 v0.37 ---- |
---|
724 | |
---|
725 | Improved 'tkConResource' to get the right script name on all platforms |
---|
726 | under all manner of circumstances |
---|
727 | |
---|
728 | Improved sourcing of tkCon resource file to not throw bogus errors |
---|
729 | |
---|
730 | ---- Jun 10 1996 v0.36 ---- |
---|
731 | |
---|
732 | Fixed <Control-n> bug (incr $tkCon(event) --> incr tkCon(event)) |
---|
733 | |
---|
734 | ---- June 8 1996 v0.35 ---- |
---|
735 | |
---|
736 | Removed "Resource" from 'Edit' menu |
---|
737 | |
---|
738 | Rewrote 'clear' to accept percentage level |
---|
739 | |
---|
740 | Fixed <Control-s> forward history search bug |
---|
741 | |
---|
742 | ---- June 6 1996 v0.34 ---- |
---|
743 | |
---|
744 | Added 'clean' alias to revert a slave to its "pristine" state |
---|
745 | |
---|
746 | Added tkConState* procs to monitor state and be able to revert it |
---|
747 | |
---|
748 | Enhanced 'which' and added an 'auto_execpath' proc. |
---|
749 | |
---|
750 | Removed all known global uses of 'tmp*' variables. |
---|
751 | |
---|
752 | Fixed problem in tkExpandPathname that munged pathnames with spaces. |
---|
753 | |
---|
754 | Fixed problem in many places where spaces in directories and command names |
---|
755 | might get things confused. |
---|
756 | |
---|
757 | Fixed problem with non-interactive slaves. |
---|
758 | |
---|
759 | Commented out binding that recreates a deleted console window. |
---|
760 | |
---|
761 | Add tclindex command. |
---|
762 | |
---|
763 | Added support for -full to ls/dir. |
---|
764 | |
---|
765 | Added command buffer save and command buffer search bindings. |
---|
766 | |
---|
767 | Added Prefs menu. |
---|
768 | |
---|
769 | Changed File menu name to Console. |
---|
770 | |
---|
771 | Removed 'Load/Save File' command from File menu (to easy to source) and |
---|
772 | added 'save' command. |
---|
773 | |
---|
774 | Changed dumpvar to use "array set ..." when outputting array values. |
---|
775 | |
---|
776 | Changed tkCon to use tkcon.rc on non-unix machines. |
---|
777 | |
---|
778 | Revamped tkConInit and source file to make sure nothing specific to tkCon |
---|
779 | was set until an Init proc was called. |
---|
780 | |
---|
781 | ---- May 10 1996 Made 0.27 Available to the public ---- |
---|
782 | |
---|
783 | ---- May 8 1996 Released 0.26 Third semi-public release ---- |
---|
784 | |
---|
785 | tkConNew now returns the name of the newly created interpreter. |
---|
786 | |
---|
787 | Added 'main' and 'slave' inter-console communication commands. Also, |
---|
788 | all slave interpreters become commands in all slave consoles (make sure |
---|
789 | not to name procs "slave#") when created. tkConOtherInterp proc added |
---|
790 | to handle the communication. |
---|
791 | |
---|
792 | Moved tkConDestroy and tkConNew into new proc tkConMainInit to prevent |
---|
793 | resourcing problems with slave interpreters |
---|
794 | |
---|
795 | Fixed 'puts' bug by removing all 'uplevel subst ...' and placing an |
---|
796 | 'eval ...' at the beginning. |
---|
797 | |
---|
798 | ---- May 7 1996 Released 0.25 Second semi-public release ---- |
---|
799 | |
---|
800 | Discovered bug in puts/output sequence - still searching |
---|
801 | |
---|
802 | Added unalias command, fixed alias command to not unalias commands if |
---|
803 | not enough args were passed |
---|
804 | |
---|
805 | Updated 'unknown' to mirror current tcl7.5 'unknown' |
---|
806 | |
---|
807 | Changed var names inside some procs |
---|
808 | |
---|
809 | Added comments to most procs |
---|
810 | |
---|
811 | Fixed off-by-one bug in tkExpandPathname |
---|
812 | |
---|
813 | ---- May 4 1996 Released 0.24 First semi-public release ---- |
---|
814 | |
---|
815 | Changes file begun Tue May 7 19:09:51 PDT 1996 |
---|