Version 80 of Changes in Tcl/Tk 8.4

Updated 2002-07-09 18:50:59

based on Tcl/Tk 8.4b1

New packages

  • dde 1.2
  • http 2.4.2
  • msgcat 1.3
  • tcltest 2.1

New Tcl commands

  • lset

New Tk commands

Removed Tk commands

  • All private commands matching tk[A-Z]*

New Tcl subcommands

  • array statistics
  • file link
  • file normalize
  • file separator
  • file system
  • info functions
  • interp recursionlimit
  • interp recursionlimit
  • memory active (TCL_MEM_DEBUG)
  • memory init (TCL_MEM_DEBUG)
  • memory onexit (TCL_MEM_DEBUG)
  • memory tag (TCL_MEM_DEBUG)
  • namespace exists
  • trace add variable|command|execution
  • trace remove variable|command|execution
  • trace info variable|command|execution

Removed Tcl subcommands

  • memory display (TCL_MEM_DEBUG)

New Tk subcommands

  • clipboard get
  • image inuse
  • photo transparency
  • text edit
  • tk caret
  • wm attributes
  • wm stackorder

Expanded syntax/new options

array names arrayName ?mode? ?pattern?

bell ?-nice?

binary format wW ...

binary scan string wW ...

button pathName ?... -disabledbackground ... -disabledforeground ... -readonlybackground ...?

checkbutton pathName ?... -overrelief ... -offrelief ...?

entry pathName ?... -compound ... -overrelief ...?

expr ... ne ... eq ... wide(...)

fconfigure serial -mode baud,parity,data,stop -handshake type -queue -timeout msec -ttycontrol signalMap -ttystatus -xchar charPair -pollinterval msec -sysbuffer sizeList -lasterror

frame pathName ?... -padx ... -pady ...?

glob -tails pattern ...

grid columnconfigure master index ?... -uniform ...?

grid configure slave ?slave ...? ?... -padx {left right} ... -pady {top bottom} ...?

grid rowconfigure master index ?... -uniform ...?

info script ?filename?

lindex list ?index ...?

listbox pathName ?... -activestyle ... -disabledforeground ... -state ...?

lsearch -all -ascii -decreasing -dictionary -increasing -inline -integer -not -real -sorted -start

menu add type ?... -compound ...?

menubutton pathName ?... -compound ...?

pack configure slave ?slave ...? ?... -padx {left right} ... -pady {top bottom} ...?

photo copy sourceImage ?... -compositingrule ...?

radiobutton pathName ?... -overrelief ... -offrelief ...?

regsub ?switches? exp string subSpec ?varName?

text pathName ?... -autoseparators ... -undo ...?

text delete index1 index2 index3 ...

text get index1 index2 index3 ...

tk_getOpenFile ?... -multiple ... -message ...?

tk_getSaveFile ?... -multiple ... -message ...?

toplevel pathName ?... -padx ... -pady ...?

unset ?-nocomplain? ?--? ?name ...?

New Tcl global variables

  • tcl_platform(wordSize)

Removed Tk global variables

  • tkPriv

New Tk event types

  • <CirculateRequest>
  • <ConfigureRequest>
  • <Create>
  • <MapRequest>
  • <ResizeRequest>

New Tk virtual events

  • <<Selection>>
  • <<Modified>>

New Tk bind substitutions

  • %i
  • %P

Changed behavior

fcopy now respects encodings of its channels.

format %ld and likewise treat argument as wide integer

scan %ld and likewise no longer ignore the field width specifier

source treats the byte 0x1a as an end-of-file character on all platforms.

subst treats break and continue during command substitution differently

Global variables tcl_traceExec and tcl_traceCompile only have their tracing function in the TCL_COMPILE_DEBUG variant of Tcl.

tk_getOpenFile and tk_getSaveFile are different in whether the returned file name includes the extension.

wm transient .t .t now raises an error.

A transient toplevel now mirrors the state of its master.

photo copy now copies transparency info correctly, and animated GIFs work.

All Tk dialogs are now localized, including use of ampersand magic.

Improved Input Method Editor interfacing on Unix (but only tested on SuSE Linux).