Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Decorate Tcl_Exit() and Tcl_SetExitProc()'s argument with TCL_NORETURN as ↵ | jan.nijtmans | 2015-10-08 | 1 | -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 Windows | jan.nijtmans | 2015-10-06 | 1 | -5/+14 |
|\ | |||||
| * | Fix [b42a851475]: file normalize ~user returns wrong directory on Windows | jan.nijtmans | 2015-10-06 | 1 | -7/+23 |
| | | |||||
* | | Decorate Tcl_Panic and Tcl_PanicVA with the noreturn option, alowing further ↵panic_noreturn | jan.nijtmans | 2015-09-22 | 1 | -2/+2 |
| | | | | | | | | optimizations by the C-compiler. | ||||
* | | Fix [0df7a1ec2674a76a]: unix/tclUnixFile.c: return value of call to ↵ | jan.nijtmans | 2015-08-25 | 1 | -1/+1 |
|\ \ | |/ | | | | | TclpGetCwd in TclpFindExecutable is not checked, variable cwd is used uninitialized. | ||||
* | | Fix bug [f00009f7ce]: memory (object) leaks in TclNativeCreateNativeRep for ↵ | sebres | 2015-07-30 | 1 | -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 ↵ | sebres | 2015-07-30 | 1 | -7/+3 |
| | | | | | | | | windows platform (erroneous Tcl_IncrRefCount removed) | ||||
* | | Open linked folder shared on Windows - Patch [19ea026e43] | oehhar | 2015-04-23 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | 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. | ||||
| * | 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 | -3/+3 |
|\ \ | |/ | | | | | Prevent possible buffer-overflow if COM name ends with ':'. | ||||
| * | 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 | -5/+9 |
|\ \ | |/ | | | | | postfix. Possible fix for [dcc03414f5], but anyway a good idea. | ||||
| * | 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. | ||||
* | | Addition of a cast in tclWinFile.c to match types in a comparison, and | andreask | 2014-08-01 | 1 | -1/+1 |
| | | | | | | | | | | fix of a TRACE string literal in tclExecute.c with a bogus escape. Both would otherwise bug a Windows debug build (where warnings are errors). | ||||
* | | Fix [3cdcfa40809ffd2b9d3d71f77dc57da615243730|3cdcfa4080]: tclWinFile.c does ↵ | jan.nijtmans | 2014-07-17 | 1 | -2/+3 |
| | | | | | | | | not compile with Win VC6 | ||||
* | | Minor bug-fix in [3118489] implementation: NUL in filenames. Filenames ↵ | jan.nijtmans | 2014-05-15 | 1 | -6/+5 |
|\ \ | |/ | | | | | starting with <drive>: but without a following slash should be considered volume-relative i.e. the ':' is valid here. | ||||
| * | Fix [3118489]: NUL in filenames. (On Windows, protect against invalid use of ↵ | jan.nijtmans | 2014-05-15 | 1 | -2/+61 |
| | | | | | | | | ':' in filenames as well) | ||||
* | | More efficient/robust implementation of function TclNativeCreateNativeRep(). rfe_3389978 | jan.nijtmans | 2014-05-08 | 1 | -46/+63 |
| | | | | | | | | | | | | - No more intermediate results in a Tcl_DString, just allocate space directly. - Let MultiByteToWideChar() do all the difficult work, inclusive checking for invalid byte sequences. - Handled extended win32 paths, inclusive UNC paths. Implementation for a great deal taken over from fossil. | ||||
* | | Start working on [3389978]. Appears to work, but some clean-up needed. | jan.nijtmans | 2014-05-06 | 1 | -2/+30 |
| | | |||||
* | | Fix [3118489]: NUL in filenames, now fixed for both Windows and UNIX. | jan.nijtmans | 2014-04-11 | 1 | -0/+9 |
| | | | | | | For consistancy, any NUL character in a filename prevents the native filesystem to generate a native file representation for it. Other filesystems than the native one may still accept it, but it's not recommended. | ||||
* | | Fix [3118489] for Windows only: NUL in filenames. This allows various ↵ | jan.nijtmans | 2014-04-11 | 1 | -3/+5 |
| | | | | | | | | characters to be used in win32 filenames which are normally invalid, as described here: [http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars]. The Cygwin shell can handle those same filenames as well. In other shells (cmd.exe/mSys) or on the Windows desktop the filenames will look strange, but that's all. | ||||
* | | [792641f95b]: Normalized win32 paths should never contain backslash. | jan.nijtmans | 2014-04-10 | 1 | -9/+7 |
|\ \ | |/ | |||||
| * | [792641f95b]: Normalized win32 paths should never contain backslash. | jan.nijtmans | 2014-04-10 | 1 | -9/+6 |
| | | |||||
* | | Eliminate a lot of dead code (for Windows 95/98/ME only). | jan.nijtmans | 2013-06-19 | 1 | -312/+152 |
| | | | | | | Eliminate all usage of TclWinSetInterfaces(), which does exactly the same as TclpSetInterfaces(), but keep exported symbol and stub entry. | ||||
* | | Better place to put vsnprintf switch, so it is usable by all *.c files. | jan.nijtmans | 2013-06-18 | 1 | -4/+0 |
| | | | | | | Fix comment on _ANSI_ARGS_ which is no longer true since 8.6. | ||||
* | | Fix [42b8083613] | jan.nijtmans | 2013-06-17 | 1 | -0/+4 |
| | | |||||
* | | Silence various warnings when doing a 64-bit build with MSVC: Those warnings ↵ | jan.nijtmans | 2013-06-12 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | can only _really_ be fixed in "novem" (so, don't silence them there). Use vsnprintf (more portable) in stead of _vsnprintf, except on MSVC | ||||
* | | 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). | ||||
| | * | 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!) | ||||
| | * | 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 3608360]: Incompatible behaviour of "file exists". | jan.nijtmans | 2013-03-19 | 1 | -5/+17 |
|\ \ \ | |/ / | |||||
| * | | [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 |
| | | | |||||
* | | | Back out bug fix for [Bug 2893771], because it was the cause of the regression. | jan.nijtmans | 2013-03-19 | 1 | -24/+5 |
| | | | |||||
* | | | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h> | jan.nijtmans | 2013-02-10 | 1 | -1/+0 |
|\ \ \ | |/ / | |||||
| * | | 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. | ||||
| * | | [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.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 | ||||
| * | | 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. |