Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix [85d1fa7d07]: Duplicate file extension check in [file executable] on ↵ | jan.nijtmans | 2021-04-15 | 1 | -1/+0 |
| | | | | Windows. It looks like checking for "ps1" is a mistake. | ||||
* | Revise buffer-sizes used in GetModuleFileNameW() calls. Available ↵ | jan.nijtmans | 2021-02-23 | 1 | -1/+1 |
| | | | | buffer-size reported to GetModuleFileNameW() was not always accurate | ||||
* | Remove EXECUTE flag for tclWinFile.c. More eol-spacing cleanup (keeping ↵ | jan.nijtmans | 2019-06-26 | 1 | -0/+0 |
| | | | | tests-pref/* among other the same in multiple branches) | ||||
* | fixed build with MSVC 6.0 | sebres | 2019-06-25 | 1 | -1/+0 |
| | |||||
* | Add support for TIP #494 to registry and dde. Only effective when compiled ↵ | jan.nijtmans | 2018-10-30 | 1 | -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. | ||||
* | win: closes [3f7af0e21e13f1f5] - avoid "permissions denied" by `file ↵ | sebres | 2018-07-12 | 1 | -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): | sebres | 2018-06-08 | 1 | -2/+8 |
| | | | | - '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] - passing argument 1 of 'Tcl_CreateExitHandler' from incompatible pointer type [-Wincompatible-pointer-types] | ||||
* | win: searching for FQDN in user-name should be utf-8 safe (user-name could ↵ | sebres | 2018-05-28 | 1 | -2/+2 |
| | | | | contain non-ascii utf-8 chars) | ||||
* | minor indentation fix (no functional changes) | sebres | 2018-05-25 | 1 | -4/+4 |
| | |||||
* | avoid dual init of stubs (possible race condition, 8.5th only) | sebres | 2018-05-25 | 1 | -19/+20 |
| | |||||
* | optimized winapi-stubs loading (8.5th only); if user name specified without ↵ | sebres | 2018-05-25 | 1 | -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 ↵ | sebres | 2018-05-24 | 1 | -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) | ||||
* | win: TclpGetUserHome should return normalized path (also in case we find ↵ | sebres | 2018-05-24 | 1 | -10/+11 |
| | | | | | domain and NetUserGetInfo returns path), PoC: file normalize ~$::tcl_platform(user)@$::env(USERDOMAIN) | ||||
* | minor fix on comment (restored getFileSecurityProc back, because ↵ | sebres | 2018-03-22 | 1 | -1/+1 |
| | | | | getNamedSecurityInfoProc not used) | ||||
* | win: fixes check of file permissions (readable, writable, executable) - more ↵ | sebres | 2018-03-22 | 1 | -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.nijtmans | 2016-07-08 | 1 | -1/+3 |
| | | | | on Windows. | ||||
* | Fix minor msvc compiler warning in tclWinFile.c | jan.nijtmans | 2015-10-10 | 1 | -2/+1 |
| | |||||
* | Fix [b42a851475]: file normalize ~user returns wrong directory on Windows | jan.nijtmans | 2015-10-06 | 1 | -7/+23 |
| | |||||
* | Open linked folder shared on Windows - Patch [19ea026e43] | oehhar | 2015-04-23 | 1 | -1/+1 |
| | |||||
* | Improve documentation on the use of com ports (remove references to Windows ↵ | jan.nijtmans | 2014-11-13 | 1 | -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. | ||||
* | Extend WinIsReserved() to recognize COM[5-9]: as valid com ports as well. | jan.nijtmans | 2014-10-31 | 1 | -2/+2 |
| | |||||
* | When translating a reserved devicename to native pathname, strip ':' ↵ | jan.nijtmans | 2014-10-31 | 1 | -1/+4 |
| | | | | postfix. Possible fix for [dcc03414f5], but anyway a good idea. | ||||
* | Fix [3118489]: NUL in filenames. (On Windows, protect against invalid use of ↵ | jan.nijtmans | 2014-05-15 | 1 | -2/+61 |
| | | | | ':' in filenames as well) | ||||
* | [792641f95b]: Normalized win32 paths should never contain backslash. | jan.nijtmans | 2014-04-10 | 1 | -9/+6 |
| | |||||
* | Slightly more correct: If FindFirstFile() fails, the error should be "no ↵ | jan.nijtmans | 2013-03-20 | 1 | -1/+1 |
|\ | | | | | | | such file or directory" (ENOENT) not "permission denied" (EACCES). | ||||
| * | Slightly more correct: If FindFirstFile() fails, the error should be "no ↵ | jan.nijtmans | 2013-03-20 | 1 | -1/+1 |
| | | | | | | | | such file or directory" (ENOENT) not "permission denied" (EACCES). | ||||
* | | Handle the (unlikely) case that the file is deleted in between. Suggested by ↵ | jan.nijtmans | 2013-03-19 | 1 | -0/+4 |
|\ \ | |/ | | | | | Harald Oehlmann (Thanks!) | ||||
| * | Handle the (unlikely) case that the file is deleted in between. Suggested by ↵ | jan.nijtmans | 2013-03-19 | 1 | -0/+4 |
| | | | | | | | | Harald Oehlmann (Thanks!) | ||||
* | | [Bug 2893771]: file stat fails on locked files on win32. | jan.nijtmans | 2013-03-19 | 1 | -5/+17 |
|\ \ | |/ | |||||
| * | make sure that [file stat] returns the right data, even for locked files. | jan.nijtmans | 2013-03-19 | 1 | -0/+6 |
| | | |||||
| * | [Bug 2893771]: file stat fails on locked files on win32. | jan.nijtmans | 2013-03-19 | 1 | -5/+11 |
| | | |||||
* | | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>. | jan.nijtmans | 2013-02-10 | 1 | -1/+0 |
| | | |||||
* | | [Bug 3603434] Make sure TclpObjNormalizePath() properly declares "a:/" to | dgp | 2013-02-05 | 1 | -0/+12 |
|\ \ | |/ | | | be normalized, even when no "A:" drive is present on the system. | ||||
| * | Fix for Bug 3603434. | dgp | 2013-02-05 | 1 | -0/+12 |
| | | |||||
| * | Backported [Bug 2882342]: correct struct _REPARSE_DATA_BUFFER in tcl 8.4 | jan.nijtmans | 2013-01-09 | 1 | -15/+16 |
| | | |||||
* | | revert [8abba84224], and make sure that every source file that uses ↵ | jan.nijtmans | 2013-01-17 | 1 | -1/+1 |
| | | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h | ||||
* | | [Bug 3092089]: [file normalize] can remove path components. | jan.nijtmans | 2013-01-08 | 1 | -5/+6 |
|\ \ | |/ | | | [Bug 3587096] win vista/7: "can't find init.tcl" when called via junction. | ||||
| * | [Bug 3092089]: [file normalize] can remove path components. | jan.nijtmans | 2013-01-08 | 1 | -5/+6 |
| |\ | | | | | | | [Bug 3587096] win vista/7: "can't find init.tcl" when called via junction. | ||||
| | * | new attempt for better fix | jan.nijtmans | 2013-01-08 | 1 | -11/+6 |
| | | | |||||
| | * | suggested fix for Bug 3092089: [file normalize] can remove path component, | jan.nijtmans | 2013-01-03 | 1 | -0/+6 |
| |/ |/| | | | and for Bug 3587096: startup error message when exe in folder with junction with limited rights | ||||
| * | tclStubInit.c: move up #undef, so it is clear that this | jan.nijtmans | 2012-04-04 | 1 | -3/+3 |
| | | | | | | | | macro is conflicting with another definition in this file. Fix some other gcc warnings | ||||
| * | [Bug 3288345] Wrong Tcl_StatBuf used on Cygwin | jan.nijtmans | 2012-03-20 | 1 | -60/+0 |
| | | | | | | (backported from Tcl 8.5) | ||||
* | | x | jan.nijtmans | 2012-03-15 | 1 | -62/+0 |
| | | |||||
* | | [Bug 3388350] mingw64 compiler warnings | jan.nijtmans | 2012-03-12 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | [Bug 3388350] mingw64 compiler warnings | jan.nijtmans | 2012-03-12 | 1 | -2/+2 |
| | | |||||
| * | 2974459,2879351,1951574,1852572,1661378,1613456 Revisions to the NativeAccess() | dgp | 2012-02-02 | 1 | -24/+46 |
| |\ | |/ |/| | | | | | | | routine that queries file permissions on Windows native filesystems. Meant to fix numerous bugs where [file writable|readable|executable] "lies" about what operations are possible, especially when the file resides on a Samba share. Patch cherrypicked off the fix-win-native-access branch. | ||||
* | | merge to bugfix branch | dgp | 2012-01-24 | 1 | -4/+0 |
|\ \ | |||||
* | | | Contributed patch aiming to fix [file writable] problems on Windows & Samba. | dgp | 2012-01-11 | 1 | -20/+45 |
|/ / | |||||
* | | [Bug 2935503] Windows: file mtime sets wrong time (VS2005+ only) | jan.nijtmans | 2011-11-22 | 1 | -3/+0 |
|\ \ | |/ | |||||
| * | [Bug 2935503]: Windows: file mtime sets wrong time | jan.nijtmans | 2011-11-22 | 1 | -0/+1 |
| | |