Skip to content
Tcl Source Code Check-in [8f0e879bbd]
Login

Check-in [8f0e879bbd]

Overview
Comment: * doc/FileSystem.3: Implementation of * doc/source.n: TIPs 137/151. Adds * doc/tclsh.1: a -encoding option to * generic/tcl.decls: the [source] command * generic/tclCmdMZ.c (Tcl_SourceObjCmd): and a new C routine, * generic/tclIOUtil.c (Tcl_FSEvalFileEx): Tcl_FSEvalFileEx(), * generic/tclMain.c (Tcl_Main): that provides C access * mac/tclMacResource.c (Tcl_MacSourceObjCmd): to the same function. * tests/cmdMZ.test: Also adds command line * tests/main.test: option handling in Tcl_Main() so that tclsh * tests/source.test: and other apps built on Tcl_Main() respect a -encoding command line option before a script filename. Docs and tests updated as well. [Patch 742683] This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs that embed Tcl, build on Tcl_Main(), and make use of Tcl_Main's former ability to pass a leading "-encoding" option to interactive shell operations. * generic/tclInt.decls: Added internal stub * generic/tclMain.c (Tcl*StartupScript*): table entries for two new functions Tcl_SetStartupScript() and Tcl_GetStartupScript() that set/get the path and encoding for the startup script to be evaluated by either Tcl_Main() or Tk_Main(). Given public names in anticipation of their exposure by a followup TIP. * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c:
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8f0e879bbdc4e2ab4f52f86e0fb90d1455447e7b
User & Date: dgp on 2003-09-05 21:52:11.000
Other Links: manifest | tags
Context
2003-09-05
22:55
one more bit of TIP 137 documentation... check-in: 42b052f2e4 user: dgp tags: trunk
21:52
* doc/FileSystem.3: Implementation of * doc/source.n: ... check-in: 8f0e879bbd user: dgp tags: trunk
2003-09-04
17:50
&& of constraints is the default; need not be specified. check-in: 2a1fb216e1 user: dgp tags: trunk
Changes