summaryrefslogtreecommitdiffstats
path: root/win/tclWinLoad.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2020-12-081-1/+1
|\
| * Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-1/+1
| | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | Merge 8.7jan.nijtmans2020-11-061-28/+0
|\ \ | |/
| * Deprecate the (internal) functions TclGuessPackageName/TclGetLoadedPackages ↵jan.nijtmans2020-11-061-28/+0
| |\ | | | | | | | | | functions, since they turn out to be useless. The can be removed in 9.0
* | \ merge 8.7dgp2020-03-091-9/+3
|\ \ \ | |/ /
| * | TCL_UNUSED for win sources.dgp2020-03-091-9/+3
| | |
* | | Merge 8.7jan.nijtmans2020-03-041-1/+1
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2020-03-041-1/+1
| |\ \ | | |/
| | * Some more gcc(-9) warningsjan.nijtmans2020-03-041-6/+10
| | |
* | | Merge 8.7jan.nijtmans2020-03-041-1/+1
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2020-03-041-1/+1
| |\ \ | | |/
| | * Fix some gcc(-9) warnings caused by -Wcast-function-typejan.nijtmans2020-03-041-1/+1
| | |
* | | Merge 8.7jan.nijtmans2020-02-281-6/+10
|\ \ \ | |/ /
| * | Merge 8.7jan.nijtmans2019-09-191-2/+2
| |\ \
| * \ \ Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵jan.nijtmans2019-09-051-0/+4
| |\ \ \ | | | | | | | | | | | | | | | Windows) without -Wunused-parameters warnings
| * \ \ \ Merge tip-548 (since using the *WChar* functions leads to less type-casts in ↵jan.nijtmans2019-08-031-1/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c++) Als finish implementaton for MacOSX
| * | | | | Merge 8.7. Continue implementation for win32jan.nijtmans2019-08-021-6/+6
| | | | | |
* | | | | | Merge 8.7jan.nijtmans2019-09-191-2/+2
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without ↵jan.nijtmans2019-09-191-2/+2
| |\ \ \ \ \ | | |_|_|/ / | |/| | | / | | | |_|/ | | |/| | -DUNICODE)
| | * | | TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since ↵jan.nijtmans2019-09-181-4/+4
| | | | | | | | | | | | | | | | | | | | we are impicitly compiling with -DUNICODE
| | * | | Fix some gcc/MSVC (harmless) compiler warnings. Remove some unnecessary ↵jan.nijtmans2019-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | end-of-line spacing
* | | | | Merge 8.7jan.nijtmans2019-09-141-1/+2
|\ \ \ \ \ | |/ / / /
| * | | | Use *WChar* in stead of *Char16* functions on Windows, always. It's actually ↵jan.nijtmans2019-08-031-1/+1
| | |_|/ | |/| | | | | | | | | | the same, but more consistent.
| * | | Rename UTF-related functions to "WChar" and "Char16" variants, more ↵jan.nijtmans2019-07-111-1/+1
| | | | | | | | | | | | | | | | intuitive because they represent wchar_t and char16_t (since C++11) types in modern compilers.
| * | | Improvement: always export both 16-bit and 32-bit UTF functionjan.nijtmans2019-07-051-1/+1
| | | |
| * | | Merge 8.7jan.nijtmans2019-06-291-1/+1
| |\ \ \ | | | |/ | | |/|
| * | | TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide ↵jan.nijtmans2019-06-031-1/+2
| | | | | | | | | | | | | | | | more flexible replacement functions
* | | | Merge 8.7jan.nijtmans2019-06-291-1/+1
|\ \ \ \ | | |/ / | |/| |
| * | | Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we ↵jan.nijtmans2019-06-291-1/+1
| |/ / | | | | | | | | | always compile in UNICODE mode.
* | | Another (big) round of int -> size_t enhancements. So Tcl can handle string ↵jan.nijtmans2019-02-011-2/+2
|\ \ \ | |/ / | | | | | | >2GiB in more places.
* | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-3/+3
|/ / | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | merge core-8-6-branchjan.nijtmans2017-11-031-3/+7
|\ \ | |/
| * Fix [6f2f83cc149e9918884faffefebc8dfa695f4ea0|6f2f83cc14]: tclWinload.c ↵jan.nijtmans2017-11-031-3/+7
| | | | | | | | robustness. And fix a minor possible memory leak in TclSetupEnv() as well. Thanks to Christian Werner for both suggestions, backported from Androwish.
| * RFE [566a999189] - better error message for 32/64 bit mismatch on load.apnadkarni2017-09-211-3/+27
| |
* | Eliminate variable which is only used once. And a minor end-of-line space ↵jan.nijtmans2017-10-121-1/+1
| | | | | | | | reduction. No functional change.
* | RFE [566a999189] - better error message for 32/64 bit mismatch on load.apnadkarni2017-09-211-3/+27
|/
* Where "interp" is only used for error-reporting, it can be allowed to be ↵jan.nijtmans2015-10-071-30/+32
| | | | NULL. This should fix [5da26d4760]: Tcl_LoadFile() segfaults if "interp" is NULL.
* Add "flags" parameter from Tcl_LoadFile to to various internal functions, so ↵jan.nijtmans2012-10-231-1/+2
|\ | | | | | | these flags are available through the whole filesystem for (future) internal use
* | more result generation conversiondkf2012-08-041-16/+18
| |
* | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-1/+1
| |
* | fix windows build broken by [92cfbef048]jan.nijtmans2012-04-111-1/+1
| | | | | | (Refactor Win socket and load code to be less baroque in its internals)
* | Reduce amount of unreachable code. Refactor Win socket and load code to be lessdkf2012-04-051-105/+124
| | | | | | baroque in its internals.
* | More generation of error codes (most platform-specific parts not already usingdkf2011-04-061-8/+19
| | | | | | Tcl_PosixError).
* | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-6/+5
| | | | | | 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.
| | * Backported from 8.6 (see 2010-08-04).andreas_kupries2010-11-031-3/+5
| | | | | | | | | | | | | | | | | | | | | * win/tclWin32Dll.c (asciiProcs, unicodeProcs): * win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with * win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to prefer dependent DLLs in same dir as loaded DLL.
| * | * win/tclWin32Dll.c (asciiProcs, unicodeProcs):hobbs2010-08-041-3/+5
| | | | | | | | | | | | | | | | | | * win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with * win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to prefer dependent DLLs in same dir as loaded DLL.
* | | Various clean-ups, converting from tclWinProc->xxxProc directly to Xxxnijtmans2010-09-131-6/+6
| | | | | | | | | | | | (no change in functionality)