summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite documentation of IO subsystem.pooryorick2019-11-061-3/+4
|
* Backout [0f2870649c804dd8], since testcase encoding-2.2 failsjan.nijtmans2019-10-241-3/+1
|\
* \ Merge 8.6.jan.nijtmans2019-10-231-1/+3
|\ \ | |/ | | Also unbreak windows build, broken since [0f2870649c804dd8].
* | Merge 8.6jan.nijtmans2019-09-191-1/+1
|\ \ | |/
| * Some more *A() -> *W() Win32 API changes, making Unicode calls Explicit.jan.nijtmans2019-09-191-16/+6
| |
* | Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without ↵jan.nijtmans2019-09-191-41/+41
|\ \ | |/ | | | | -DUNICODE)
| * TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since ↵jan.nijtmans2019-09-181-106/+106
| | | | | | | | we are impicitly compiling with -DUNICODE
* | Use *WChar* in stead of *Char16* functions on Windows, always. It's actually ↵jan.nijtmans2019-08-031-15/+15
| | | | | | | | the same, but more consistent.
* | Rename UTF-related functions to "WChar" and "Char16" variants, more ↵jan.nijtmans2019-07-111-15/+15
| | | | | | | | 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-15/+15
| |
* | Merge 8.7jan.nijtmans2019-06-291-14/+14
|\ \
| * | Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we ↵jan.nijtmans2019-06-291-14/+14
| | | | | | | | | | | | always compile in UNICODE mode.
| * | Merge 8.6jan.nijtmans2019-06-261-0/+0
| |\ \ | | |/
| | * UNEXEC win/tclWinFile.cjan.nijtmans2019-06-261-0/+0
| | |
| | * restore userenv, used in 8.6sebres2019-06-251-0/+1
| | |
| | * merge 8.5sebres2019-06-251-1/+0
| | |\
| | | * fixed build with MSVC 6.0sebres2019-06-251-1/+0
| | | |
* | | | TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide ↵jan.nijtmans2019-06-031-25/+40
|/ / / | | | | | | | | | more flexible replacement functions
* | | merge 8.6dgp2019-05-031-108/+201
|\ \ \ | |/ /
| * | Minor code style cleanup.dkf2019-04-231-108/+201
| | |
| * | Fix some gcc/MSVC (harmless) compiler warnings. Remove some unnecessary ↵jan.nijtmans2019-03-071-5/+5
| | | | | | | | | | | | end-of-line spacing
* | | Change TCHAR -> WCHAR in many places, since that's what it is since Windows NTjan.nijtmans2019-03-111-64/+64
| | |
* | | re-implemente changes in win/tclWinFile.c (handling -DTCL_UTF_MAX=6) using 3 ↵jan.nijtmans2019-03-101-10/+10
| | | | | | | | | | | | new utility functions. This allows to re-use code in more places: cleaner implementation more future-proof.
* | | Fixes for TCL_UTF_MAX=6, (gcc compiler warnings). Also make everything work ↵jan.nijtmans2019-03-071-16/+16
| | | | | | | | | | | | on win32/win64. Patch adapted from Androwish (thanks, Werner!)
* | | Fix "executable" flag for many files (now really!)jan.nijtmans2018-11-071-0/+0
| | |
* | | Implement TIP 445dkf2018-11-061-0/+0
|\ \ \
| * \ \ merge 8.7dgp2018-10-181-21/+8
| |\ \ \
| * \ \ \ merge 8.7dgp2018-06-041-18/+49
| |\ \ \ \
| * \ \ \ \ merge 8.7dgp2018-05-111-19/+39
| |\ \ \ \ \
| * \ \ \ \ \ merge trunkdgp2017-08-181-1/+1
| |\ \ \ \ \ \
* | \ \ \ \ \ \ Merge 8.6jan.nijtmans2018-10-301-0/+9
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | / / | | |_|_|_|/ / | |/| | | | |
| * | | | | | Merge 8.5jan.nijtmans2018-10-301-0/+9
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | |
| | * | | | | Add support for TIP #494 to registry and dde. Only effective when compiled ↵jan.nijtmans2018-10-301-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | against Tcl 9.0 headers. This way we can keep the source-code for those extensions 100% equal in all branches. Work-around for gcc warning in tclWinFile.c. Discovered by Travis CI.
* | | | | | | Purge end-of-line spacingjan.nijtmans2018-08-021-5/+5
| | | | | | |
* | | | | | | merge 8.6sebres2018-07-121-1/+2
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | merge 8.5sebres2018-07-121-1/+2
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | win: closes [3f7af0e21e13f1f5] - avoid "permissions denied" by `file ↵sebres2018-07-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | delete`, if file stat (TclpObjStat) used internally in other worker, for example by usage of `file mkdir` etc.
| | * | | | | resolves some warnings by compiling with new gcc-versions (>= 7.x):sebres2018-06-081-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] - passing argument 1 of 'Tcl_CreateExitHandler' from incompatible pointer type [-Wincompatible-pointer-types]
* | | | | | | Since Tcl is always compiled with -DUNICODE -D_UNICODE (on Windows) and we ↵jan.nijtmans2018-06-261-16/+2
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | know TCL_UTF_MAX>=4, we can simplify things. No change in functionality.
* | | | | | merge 8.6jan.nijtmans2018-05-291-10/+38
|\ \ \ \ \ \ | |/ / / / /
| * | | | | merge 8.5sebres2018-05-281-2/+2
| |\ \ \ \ \ | | |/ / / /
| | * | | | win: searching for FQDN in user-name should be utf-8 safe (user-name could ↵sebres2018-05-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | contain non-ascii utf-8 chars)
| * | | | | merge 8.5 (conflicts resolved, rewritten without winapi-stubs)sebres2018-05-281-8/+36
| |\ \ \ \ \ | | |/ / / /
| | * | | | minor indentation fix (no functional changes)sebres2018-05-251-4/+4
| | | | | |
| | * | | | avoid dual init of stubs (possible race condition, 8.5th only)sebres2018-05-251-19/+20
| | | | | |
| | * | | | optimized winapi-stubs loading (8.5th only); if user name specified without ↵sebres2018-05-251-78/+109
| | | | | | | | | | | | | | | | | | | | | | | | domain and equals the current user - try safest and fastest way to get current user-home path (without usage of netapi)
| | * | | | [9e6b569963] win: if user specified without domain (and local user was not ↵sebres2018-05-241-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | found), try to resolve user-home using current domain, so following code's are similar: file normalize ~$::tcl_platform(user)@$::env(USERDOMAIN) file normalize ~$::tcl_platform(user)
* | | | | | One TCL_NORETURN -> TCL_NORETURN1 minor mistake. Make it build when ↵jan.nijtmans2018-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Tcl_SetPanicProc is a macro (normally it isn't)
* | | | | | merge 8.6jan.nijtmans2018-05-251-10/+12
|\ \ \ \ \ \ | |/ / / / / | | | | | / | |_|_|_|/ |/| | | |
| * | | | merge 8.5, conflicts resolved (rewritten without winapi-stubs)sebres2018-05-241-10/+12
| |\ \ \ \ | | |/ / /