summaryrefslogtreecommitdiffstats
path: root/win/tclWinInit.c
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tclUnixInit.c (TclpInitLibraryPath):dgp2003-11-101-3/+22
| | | | | * win/tclWinInit.c (TclpInitLibraryPath): Fix for [Bug 832657] that should not run afoul of startup constraints.
* * win/tclWinInit.c: recognize amd64 and ia32_on_win64 cpus.hobbs2003-08-061-3/+10
|
* * win/tclWinInt.h (VER_PLATFORM_WIN32_CE): conditionally define.hobbs2003-04-181-3/+3
| | | | | * win/tclWinInit.c: recognize Windows CE as a Win platform. This just recognizes CE - full support will come later.
* Fixed a bug in TclpSetVeriables: initialize dwUserNameLen to avoid crash in ↵chengyemao2003-02-271-2/+2
| | | | calling GetUserName
* Added conversion from the system encoding to tcl_platform(user), so Kevin B Kenny2003-02-131-5/+9
| | | | that it works with non-ASCII7 user names. [Bug 685926]
* finalization and test fixesvincentdarley2003-02-041-4/+4
|
* WinTcl crash on exit fixvincentdarley2003-01-101-7/+7
|
* * generic/tclStubInit.c: regenhobbs2002-12-061-1/+30
| | | | | | | | | | | | * generic/tclIntPlatDecls.h: regen * generic/tclInt.decls: added TclWinResetInterface * win/tclWin32Dll.c (TclWinResetInterfaces): * win/tclWinInit.c (TclpSetInitialEncodings, WinEncodingsCleanup): add exit handler that resets the encoding information to a state where we can reuse Tcl. Following these changes, it is possible to reuse Tcl (following Tcl_FindExecutable or Tcl_CreateInterp) following a Tcl_Finalize.
* * Partial TIP 27 rollback. Following routinesdgp2002-02-081-3/+2
| | | | | | | | | | | | | restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects. * generic/tclCmdMZ.c: corrected use of C++-style comment.
* win/tclWinInit.c (TclpFindVariable): CONSTification touch-uphobbs2002-01-291-3/+4
|
* * Sought out and eliminated instances of CONST-casting that are nodgp2002-01-261-3/+3
| | | | longer needed after the TIP 27 effort.
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-251-6/+6
| | | | | | | | | | | generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath.
* added Win64 SDK RC1 compilation supporthobbs2001-10-011-8/+8
|
* added extra processor definitions.hobbs2001-09-201-3/+18
|
* * Removeddgp2001-09-101-19/+2
| | | | | vestiges of Tcl's old initialization from registry variables. [Bug 455645]
* * Correcteddgp2001-08-271-10/+9
| | | | | | inconsistency between the search path for script libraries and the directory name $DISTNAME into which distributions built by 'make test' unpack. [Bug 455642]
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-311-37/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* * tests/unixInit.test (unixInit-2.8): Corrected test for alldgp2001-07-021-1/+13
| | | | | | | | | | | | absolute pathnames in library path when executable is installed near root directory to use correct development directory layout. [Bug 438014] * tests/unixInit.test (unixInit-2.9): * unix/tclUnixInit.c (TclpInitLibraryPath): * win/tclWinInit.c (TclpInitLibraryPath): Corrected buggy construction of search path entries relative to executable. Added test for bad construction. [Bug 438014]
* 2001-01-04 Don Porter <dgp@users.sourceforge.net>dgp2001-01-041-7/+12
| | | | | | | | | | | | * tests/unixInit.test: * unix/tclUnixInit.c (TclpInitLibraryPath): * win/tclWinInit.c (TclpInitLibraryPath): Several entries in the library path ($tcl_libPath) are determined relative to the absolute path of the executable. When the executable is installed in or near the root directory of the file system, relative pathnames were being incorrectly generated, and in the worst case, memory access violations were crashing the program. [Bug 119416, Patch 102972]
* Thread-safe rewrite for the Tcl_Async* commands.davidg2000-07-261-45/+1
|
* * win/tclWinDde.c:ericm2000-06-131-3/+2
| | | | | | | | * win/tclWinInit.c: * win/tclWinNotify.c: * win/tclWinPipe.c: * win/tclWinReg.c: * win/tclWinThrd.c: Applied patch from [Bug 5794].
* * generic/tclInt.decls:hobbs2000-03-311-2/+2
| | | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: * win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s support). * win/tclWinReg.c: made use of TclWinGetPlatformId instead of getting info again * win/tclWinPort.h: * win/Makefile.in: * win/configure.in: * win/tcl.m4: Added support for gcc/mingw on Windows [Bug: 4234]
* * win/tclWin32Dll.c:hobbs1999-12-091-10/+2
| | | | | | | | | | | | | | | * win/tclWinChan.c: * win/tclWinFCmd.c: * win/tclWinInit.c: * win/tclWinPipe.c: * win/tclWinSock.c: removed all code that supported Win32s. It was no longer officially supported, and likely didn't work anyway. * win/makefile.vc: removed 16 bit stuff, cleaned up. * win/tcl16.rc: * win/tclWin16.c: * win/winDumpExts.c: these files have been removed from the source tree (no longer necessary to build) * win/aclocal.m4: made it just include tcl.m4
* * Changed version to 8.2b2.redman1999-07-221-8/+8
| | | | | | | | | | | | | | | | | | * win/tclWinPort.h: Block out include of sys/*.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * generic/tclCmdMZ.c: * generic/tclIO.c: Fix ANSI-style prototypes based on patch from Ulrich Ring. [Bug: 2391] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * tests/var.test: * generic/tclVar.c: Fixed bug that caused a seg. fault when using "array set a(b) {}", which is a bad array name anyway. Now the "array set" command will return an error in this case. Added test case and fixed existing test. [Bug: 2427]
* added a line to initialize the tclDefaultLibrary tcl global var to "", ashershey1999-07-211-2/+9
| | | | was done in Tcl8.0.5.
* * generic/tclInitScript.h:hershey1999-07-211-7/+5
| | | | | | | | | * unix/tclUnixInit.c: merged code with 8.0.5. We now use an intermediate global tcl var "tclDefaultLibrary" to keep the "tcl_library" var from being set by the default value in the Makefile. Also fixed a bug in which caused the value of TCL_LIBRARY env var to be ignored. * unix/tclWinInit.c: just updated some comments.
* * win/tclWinInit.c (TclpSetVariables): Avoid calling GetUserNamestanton1999-05-131-6/+12
| | | | | if the value can be determined from the USERNAME environment variable. GetUserName is very slow.
* * win/tclWinInit.c (TclpInitPlatform): Added call to TclWinInitstanton1999-04-231-1/+11
| | | | | | when building a static library since DllMain will not be invoked. This could break old code that explicitly called TclWinInit, but should be simpler in the long run.
* * win/tclWinInit.c:stanton1999-04-211-5/+48
| | | | | * unix/tclUnixInit.c: Changed initial search path to match that found used by tcl_findLibrary.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-151/+501
|
* * win/tclWinPipe.c:stanton1999-03-111-1/+42
| | | | | | | | | | | | | | | * 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.
* * win/tclWinInit.c (TclPlatformInit): Added code to ensurestanton1999-02-021-2/+4
| | | | tcl_pkgPath is set to "" when no registry entry is found. [Bug: 978]
* On Windows, Added the "debug" element of the tcl_platform array whichsuresh1998-10-201-1/+13
| | | | | | | indicates that the particular Tcl shell has been compiled with debug information Using "info exists tcl_platform(debug)" a Tcl script can direct the interpreter to load debug versions of DLLs with the load command.
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* fixed bad registry codestanton1998-08-051-11/+18
|
* added support for getting tcl_pkgPath from the registrystanton1998-07-311-38/+75
|
* changed to use default value instead of "Root"stanton1998-07-241-13/+21
| | | | changed to set tclDefaultLibrary instead of tcl_library
* Moved the variable 'tclPreInitScript' to generic/tclInitScript.h.suresh1998-07-091-10/+3
|
* Changed variable name "tclAlternateInitScript" to "tclPreInitScript".suresh1998-07-011-7/+8
| | | | Added error-checking for pre-initialization script.
* Added definition of variable "tclAlternateInitScript" which is a globabl var-suresh1998-07-011-2/+13
| | | | | | iable and if set to a non-NULL value, will be evaluated just before the built-in script given in the file (variable) "generic/tclInitScript.h" ("initScript").
* plugin updateswelch1998-06-271-74/+4
|
* Added an additional env. var. ("tcl_pkgLibrary") that is searched prior to allsuresh1998-06-231-0/+3
| | | | other locations for the "tk.tcl" file. This facilitates application packaging.
* Initial revisionrjohnson1998-03-261-0/+394