summaryrefslogtreecommitdiffstats
path: root/win/tclWinInit.c
Commit message (Collapse)AuthorAgeFilesLines
* Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-031-14/+6
|\ | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
| * Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-031-4/+1
| | | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
* | merge core-8-6-branchfix_1997007jan.nijtmans2017-04-281-1/+1
|\ \
* | | shared structures of pipe-workers rewritten using atomic state of the thread; sebres2017-04-111-0/+20
|/ / | | | | | | asynchronous start/stop of pipe-workers (if possible), try the soft way to end workers using cancelSynchronousIo before it would be terminated;
* | Remove unused variable, don't use deprecated function, some formatting.jan.nijtmans2014-04-161-5/+5
| |
* | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-14/+10
|\ \ | |/ | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
| * Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-14/+10
| | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
* | Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-041-2/+2
|\ \ | |/
| * Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-041-2/+2
| |
* | Add missing __stdcall (which crashes on win32), and clean-up indentingjan.nijtmans2014-02-041-10/+11
|\ \ | |/
| * Add missing __stdcall (which crashes on win32), and clean-up indentingjan.nijtmans2014-02-041-10/+11
| |
* | Fix [651e828a52]: Wrong Windows version reported for Windows 8.1jan.nijtmans2014-02-031-4/+14
|\ \ | |/
| * Fix [651e828a52]: Wrong Windows version reported for Windows 8.1jan.nijtmans2014-02-031-4/+14
| |
* | Starting with Windows 8 DSK, GetVersionExA is deprecatedjan.nijtmans2013-11-201-3/+3
|\ \ | |/
| * Starting with Windows 8 DSK, GetVersionExA is deprecatedjan.nijtmans2013-11-201-3/+3
| |
* | Eliminate a lot of dead code (for Windows 95/98/ME only). jan.nijtmans2013-06-191-6/+3
| | | | | | Eliminate all usage of TclWinSetInterfaces(), which does exactly the same as TclpSetInterfaces(), but keep exported symbol and stub entry.
* | also search for the library directory (init.tcl, encodings, etc) relative to ↵Joe Mistachkin2012-11-131-1/+63
|\ \ | |/ | | | | the build directory associated with the source checkout.
| * also search for the library directory (init.tcl, encodings, etc) relative to ↵Joe Mistachkin2012-11-131-1/+63
| | | | | | | | the build directory associated with the source checkout.
* | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-271-2/+0
|\ \ | |/
| * [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-1/+1
| |\
| | * [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-1/+1
| | |
* | | * generic/tclUtil.c (TclDStringToObj): Added internal function to makedkf2012-04-251-3/+2
| | | | | | | | | | | | the fairly-common operation of converting a DString into an Obj a more efficient one.
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-4/+4
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * generic/tclBasic.c:Miguel Sofer2005-10-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclLink.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclVar.c: * mac/tclMacInit.c: * unix/tclUnixInit.c: * win/tclWinInit.c: Insure that the core never calls TclPtrSetVar, Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new value. It is not possible to handle error returns correctly in that case [Bug 1334947], one has the choice of leaking the object in some cases, or else risk crashing in some others.
| | * * generic/tclInt.h:hobbs2004-03-291-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): * mac/tclMacInit.c (TclpInitLibraryPath): Correct handling of UTF * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the * win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from paths that contain multi-byte chars on Windows [Bug 920667]
| | * * win/tclWinInit.c (TclpSetInitialEncodings): recognize WIN32_CEhobbs2004-03-211-5/+8
| | | | | | | | | | | | as a unicode (WCHAR) platform.
| | * * win/tclWinInit.c (AppendEnvironment):mdejong2004-02-201-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | Use the tail component of the passed in lib path instead of just blindly using lib+4. That worked when lib was "lib/..." but fails for other values. Thanks go to Patrick Samson for pointing this out.
| | * * tests/unixInit.test (unixInit-2.10): re-enabled.dgp2003-11-101-3/+22
| | | | | | | | | | | | | | | | | | * unix/tclUnixInit.c (TclpInitLibraryPath): Alternative fix * win/tclWinInit.c (TclpInitLibraryPath): for [Bug 832657] that should not run afoul of startup constraints.
| | * * win/tclWinInit.c: recognize amd64 and ia32_on_win64 cpus andhobbs2003-08-061-5/+12
| | | | | | | | | | | | Windows CE platform.
| * | fix gcc warning: dereferencing pointer 'oemId' does break strict-aliasing rulesnijtmans2010-11-191-7/+8
| | |
| * | Handle the GetUserName API call appropriately for wide/narrow versions. [Bug ↵patthoyts2009-07-011-5/+8
| | | | | | | | | | | | 2806622]
* | | Various clean-ups, converting from tclWinProc->xxxProc directly to Xxxnijtmans2010-09-131-5/+5
| | | | | | | | | | | | (no change in functionality)
* | | Eliminate all internal Tcl_WinUtfToTCharnijtmans2010-02-151-2/+2
| | | | | | | | | | | | | | | and Tcl_WinTCharToUtf calls, needed for mslu support.
* | | Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-181-7/+8
| | |
* | | eliminate TclWinResetInterfaceEncodings, becausenijtmans2009-08-021-30/+3
| | | | | | | | | | | | | | | | | | it does exactly the same as TclWinEncodingsCleanup, make sure that tclWinProcs and tclWinTCharEncoding are always set and reset concurrently.
* | | Handle the GetUserName API call appropriately for wide/narrow versions. [Bug ↵patthoyts2009-07-011-5/+8
| | | | | | | | | | | | 2806622]
* | | - eliminate some unnessary type castsnijtmans2009-02-031-2/+2
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Style improvements - invoking callbacks without visual junk.dkf2008-10-261-2/+2
| | |
* | | Add "const" to many internalnijtmans2008-10-161-3/+3
| | | | | | | | | | | | | | | const tables. No functional or API change.
* | | * win/tclWinChan.c: Fix minor compiler warnings whennijtmans2008-10-141-3/+3
| | | | | | | | | | | | | | | | | | | | | * win/tclWinDde.c: compiling wit -Wwrite-strings * win/tclWinInit.c: * win/tclWinReg.c: * win/tclWinSerial.c:
* | | Implement TIP #315.dkf2008-09-251-1/+7
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-13/+13
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Spelling mistake in comment!dkf2007-11-191-2/+2
| |
* | More type-pun warning squelchesdkf2007-05-051-3/+3
| |
* | Eliminate use of (VOID*) casts when calling memset or memcpy.dkf2007-04-171-4/+4
| |
* | fix to compile problemsvincentdarley2006-04-051-3/+3
| |