| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclEnv.c: Moved the "array set" C level code into a
common routine (TclArraySet). The TclSetupEnv routine now uses
this API to create an env array w/ no elements.
* generic/tclEnv.c:
* generic/tclWinInit.h:
* generic/tclUnixInit.h:
* generic/tclInt.h: Made the Env module I18N compliant. Changed the
FindVariable routine to TclpFindVariable, that now does a case
insensitive string comparison on Windows, and not on UNIX. [Bug:
1299, 1500]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-------
1) Broke the initialization of memory and finding the encodings file
into seprarate routines.
2) Added wrapper hooks for locating files and initialization.
3) Modified the library path lookup algorithm.
What I Changed
--------------
1) Modified generic/tclInt.h
a) Added cache of the tclNativeExecutable name so the
variable does not have be recomputed on subsequent calls to
TclpFindExecutable.
a) Added variable tclDefaultEncoding dir to store the path to the
encoding files.
b) Added prototype for TclpFindExecutable & TclpFindEncodings.
2) Modified generic/tclInitScript.h
a) Added the TclSetPreInitScript proc and pointer to the script.
3) Modified generic/tclUtil.c
a) Added initialization of the tclNativeExecutableName.
4) Modified generic/tclEvent.c
a) Added boolean that indicates if the encodings have been
initialized.
b) Modified TclInitSubsystems so it only initializes "in-memory"
subsystems, and not the encoding sub system.
c) Added TclFindEncodigs procedure to initialize the encoding
subsystem.
d) Tcl_Finallize cleans up memory allocated for
tclNativeExecutableName and tclDefaultEncodingDir.
5) Modified generic/tclEncoding.c
a) Added intialization of the tclDefaultEncodingDir variable.
b) Added two accessor functions, Tcl_GetDefaultEncodingDir and
Tcl_SetDefaultEncodingDir.
c) Made Tcl_FindExecutable platform independent, and moved to this
file.
6) Modified unix/tclUnixFile.c and win/tclWinFile.c
a) Added TclpFindExecutable(argv0) to compute a native string.
c) Tcl_FindExecutable calls TclpFindExecutable to get the native
string.
d) Modified the TclpInitLibraryPath lookup algorithm (see below)
7) Modified unix/tclUnixInit.c and win/tclWinInit.c
a) Added the call evaluate to the pre-init script
b) Modified TclpInitLibraryPath to take a native path to the
executable so it does not have to call Tcl_FindExecutable.
c) On windows, the AppendRegistry routine was removed.
8) Modified unix/tclUnixTest.c
a) Modified TestfindexecutableCmd to reset the cached value
of tclNativeExecutable name.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.decls: Changed Tcl_ReleaseType from an enum to
macros so it can be used in .rc files.
Added Tcl_GetString.
* mac/tclMacNotify.c:
* generic/tclNotify.c:
* generic/tclInt.h:
* win/tclWinNotify.c:
* generic/tcl.h: Renamed Tcl_AlertNotifier to TclpAlertNotifier.
* generic/tclInt.decls: Added TclWinAddProcess to make it possible
for expect to use Tcl_WaitForPid(). This patch is from Gordon
Chaffee.
* mac/tclMacPort.h:
* win/tclWinInit.c:
* unix/tclUnixPort.h:
* generic/tclAsync.c: Added TclpAsyncMark to fix bug in async
handling on Windows where async events don't wake up the event
loop. This patch comes from Gordon Chaffee.
* generic/tcl.decls: Fixed declarations of reserved slots.
|
|
|
|
|
|
|
|
|
|
| |
* doc/SetVar.3:
* generic/tcl.h:
* generic/tclVar.c: Restored Tcl_ObjGetVar2 and Tcl_ObjSetVar2
from 8.0. Renamed Tcl_Get/SetObjVar2 to Tcl_GetVar2Ex and
Tcl_SetVar2Ex.
* Merged 8.0.5b2 patches
|
| |
|
|
|
|
|
|
| |
* tclWinInit.c: lint
* tclWin32Dll.c: removed TclpFinalize, cleanup of merges
|
| |
|
| |
|
|
|