summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
Commit message (Collapse)AuthorAgeFilesLines
* Make Tcl compile warning-free using -Wshadowjan.nijtmans2020-09-281-3/+1
|
* Use the right encoding when converting (Unicode) messages regarding socket ↵jan.nijtmans2019-12-041-37/+32
| | | | errors on Windows. Some code cleanup in win/tclWinfile.c.
* Make tclWinFile compile warningless using -DTCL_UTF_MAX=6 (not officially ↵jan.nijtmans2019-11-131-4/+4
| | | | supported, but used by Androwish)
* Some more *A() -> *W() Win32 API changes, making Unicode calls Explicit.jan.nijtmans2019-09-191-16/+6
|
* TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since ↵jan.nijtmans2019-09-181-106/+106
| | | | we are impicitly compiling with -DUNICODE
* 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
| |
* | 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
* | 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.
* | 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]
* | 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)
* | merge 8.5, conflicts resolved (rewritten without winapi-stubs)sebres2018-05-241-10/+12
|\ \ | |/
| * win: TclpGetUserHome should return normalized path (also in case we find ↵sebres2018-05-241-10/+11
| | | | | | | | | | domain and NetUserGetInfo returns path), PoC: file normalize ~$::tcl_platform(user)@$::env(USERDOMAIN)
* | amend after merge 8.5sebres2018-04-301-1/+1
| |
* | merge core-8-5-branch (fix-1613456fff)sebres2018-04-301-19/+39
|\ \ | |/
| * minor fix on comment (restored getFileSecurityProc back, because ↵sebres2018-03-221-1/+1
| | | | | | | | getNamedSecurityInfoProc not used)
| * win: fixes check of file permissions (readable, writable, executable) - more ↵sebres2018-03-221-19/+40
| | | | | | | | | | faster and stable solution without direct check of security permissions by optimal terms; additionally corrected executable extensions (missing .ps1/.cmd) in useWide case.
| * (cherry-pick): Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable ↵jan.nijtmans2016-07-081-1/+3
| | | | | | | | on Windows.
| * Fix minor msvc compiler warning in tclWinFile.cjan.nijtmans2015-10-101-2/+1
| |
* | Support cross-compiling Tcl for 'Win32 on ARM' using Visual Studio.Joe Mistachkin2017-08-131-1/+1
| |
* | Another attempt to fix the two executable flags.jan.nijtmans2017-04-121-0/+0
| |
* | Allow additional optional "interp" argument for testinterpresolver command. ↵jan.nijtmans2016-09-051-4/+4
| | | | | | | | | | | | Not used yet in any test-case. Protect panic in tclLiteral.c for possible null-pointer access. (cherry-picked from Gustaf Neuman's interpresolver patch). Eliminate some unecessary spacing.
* | Fix compiler warnings (const-ness and unused label) that did not show up ashok2016-07-101-2/+1
| | | | | | in the non-optimized build before last checkin.
* | Bugfix [9ece99d58b]. Make exec understand .CMD files on Windows.ashok2016-07-091-1/+0
| |
* | Bugfix [3613671]. file owned implementation for Windows.ashok2016-07-091-1/+65
| |
* | Bugfix [ae61a67192]. file {stat, type, size} etc. support for built-in ↵ashok2016-07-091-10/+33
| | | | | | | | special Windows files/devices like CON.
* | Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows.ashok2016-07-071-1/+3
| |
* | Decorate Tcl_Exit() and Tcl_SetExitProc()'s argument with TCL_NORETURN as ↵jan.nijtmans2015-10-081-2/+1
| | | | | | | | | | appropriate, as already done with Tcl_Panic() earlier. Fix minor msvc compiler warning in tclWinFile.c
* | Fix [b42a851475]: file normalize ~user returns wrong directory on Windowsjan.nijtmans2015-10-061-5/+14
|\ \ | |/
| * Fix [b42a851475]: file normalize ~user returns wrong directory on Windowsjan.nijtmans2015-10-061-7/+23
| |
* | Decorate Tcl_Panic and Tcl_PanicVA with the noreturn option, alowing further ↵jan.nijtmans2015-09-221-2/+2
| | | | | | | | optimizations by the C-compiler.
* | Fix [0df7a1ec2674a76a]: unix/tclUnixFile.c: return value of call to ↵jan.nijtmans2015-08-251-1/+1
|\ \ | |/ | | | | TclpGetCwd in TclpFindExecutable is not checked, variable cwd is used uninitialized.
* | Fix bug [f00009f7ce]: memory (object) leaks in TclNativeCreateNativeRep for ↵sebres2015-07-301-7/+17
| | | | | | | | | | windows platform: missing decrement of refCount, because of confusing differently behavior Tcl_FSGetTranslatedPath vs Tcl_FSGetNormalizedPath.
* | Fix bug [f00009f7ce]: memory (object) leaks in TclNativeCreateNativeRep for ↵sebres2015-07-301-7/+3
| | | | | | | | windows platform (erroneous Tcl_IncrRefCount removed)
* | Open linked folder shared on Windows - Patch [19ea026e43]oehhar2015-04-231-1/+1
|\ \ | |/
| * Open linked folder shared on Windows - Patch [19ea026e43]oehhar2015-04-231-1/+1
| |
* | Improve documentation on the use of com ports (remove references to Windows ↵jan.nijtmans2014-11-131-2/+2
|\ \ | |/ | | | | | | 95, deprecate the use of postfix ':'). Allow lpt[5-9] just as com[5-9], and make sure that path normalization works as expected for ports > 4.
| * Improve documentation on the use of com ports (remove references to Windows ↵jan.nijtmans2014-11-131-2/+2
| | | | | | | | | | 95, deprecate the use of postfix ':'). Allow lpt[5-9] just as com[5-9], and make sure that path normalization works as expected for ports > 4.