summaryrefslogtreecommitdiffstats
path: root/win/tclWinLoad.c
Commit message (Collapse)AuthorAgeFilesLines
* Make a start converting -1 -> TCL_INDEX_NONE where appropriatejan.nijtmans2022-07-191-1/+1
|
* Merge 8.7. Clean-up tclWinConsole.c the same wayjan.nijtmans2022-07-121-2/+3
|\
| * Code cleanup (use {} in if/else statemenets)jan.nijtmans2022-07-121-2/+3
| |
* | Make everything compile warning-free when TCL_THREADS=0jan.nijtmans2021-08-231-0/+2
|\ \ | |/
* | TclWinConvertError -> Tcl_WinConvertErrorjan.nijtmans2021-03-091-2/+2
| |
* | 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
* | 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
* | TCL_UNUSED for win sources.dgp2020-03-091-9/+3
| |
* | Merge 8.6jan.nijtmans2020-03-041-1/+1
|\ \ | |/
| * Some more gcc(-9) warningsjan.nijtmans2020-03-041-6/+10
| |
* | 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.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
* | | Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵jan.nijtmans2019-09-051-0/+4
|\ \ \ | |/ / | | | | | | Windows) without -Wunused-parameters warnings
| * | Use *WChar* in stead of *Char16* functions on Windows, always. It's actually ↵jan.nijtmans2019-08-031-1/+1
| | | | | | | | | | | | the same, but more consistent.
* | | 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
| * | 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.7. Continue implementation for win32jan.nijtmans2019-08-021-6/+6
| |/ / |/| |
* | | Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we ↵jan.nijtmans2019-06-291-1/+1
|/ / | | | | | | always compile in UNICODE mode.
* | 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)
* | | * 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.
* | | Unnecessary type casts, See Tcl [Patch #2997087]nijtmans2010-05-111-2/+2
| | | | | | | | | | | | Don't duplicate CYGWIN timezone #define from tclPort.h in tclWinPort.h
* | | Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-221-2/+2
| | | | | | | | | | | | Eliminate various unnecessary type casts.
* | | Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmpnijtmans2010-04-131-9/+8
| | | | | | | | | | | | Fix gcc warning: comparison of unsigned expression >= 0 is always true
* | | * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-021-23/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol, * generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API. * generic/tclInt.h: * generic/tclLoad.c: * generic/tclLoadNone.c: * generic/tclStubInit.c: * tests/fileSystem.test: * tests/load.test: * tests/unload.test: * unix/tclLoadDl.c: * unix/tclLoadDyld.c: * unix/tclLoadNext.c: * unix/tclLoadOSF.c: * unix/tclLoadShl.c: * unix/tclUnixPipe.c: * win/Makefile.in: * win/tclWinLoad.c:
* | | Revert a few files from the previous commit, preventingnijtmans2010-03-111-2/+2
| | | | | | | | | | | | conflicts with Kevin's TIP #357 work