summaryrefslogtreecommitdiffstats
path: root/win/tclWinFCmd.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2019-09-191-62/+62
|\
| * Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without ↵jan.nijtmans2019-09-191-62/+62
| |\ | | | | | | | | | -DUNICODE)
| | * TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since ↵jan.nijtmans2019-09-181-123/+123
| | | | | | | | | | | | we are impicitly compiling with -DUNICODE
* | | Merge 8.7jan.nijtmans2019-09-141-21/+33
|\ \ \ | |/ /
| * | Use *WChar* in stead of *Char16* functions on Windows, always. It's actually ↵jan.nijtmans2019-08-031-19/+19
| | | | | | | | | | | | the same, but more consistent.
| * | Rename UTF-related functions to "WChar" and "Char16" variants, more ↵jan.nijtmans2019-07-111-19/+19
| | | | | | | | | | | | 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-19/+19
| | |
| * | Merge 8.7jan.nijtmans2019-06-291-1/+1
| |\ \
| * | | TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide ↵jan.nijtmans2019-06-031-21/+33
| | | | | | | | | | | | | | | | more flexible replacement functions
* | | | Merge 8.7jan.nijtmans2019-06-291-1/+1
|\ \ \ \ | | |/ / | |/| |
| * | | Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we ↵jan.nijtmans2019-06-291-1/+1
| |/ / | | | | | | | | | always compile in UNICODE mode.
* | | Merge 8.7dkf2019-05-251-0/+115
|\ \ \ | |/ /
| * | Fix crashing bug in tempdir name creationfvogel2019-05-131-1/+1
| | |
| * | Let branch compile with MSVC 2008fvogel2019-05-131-3/+2
| | |
| * | Implementation of [file tempdir]; hand-tested on OSX...dkf2019-04-301-6/+21
| | |
| * | Windows implementation of TclpCreateTemporaryDirectorydkf2019-04-301-0/+101
| | |
* | | Merge 8.7jan.nijtmans2019-04-011-1/+1
|\ \ \ | |/ /
| * | Modify testbytestring such that is only produces pure byte-arrays, if not it ↵jan.nijtmans2019-04-011-1/+1
| | | | | | | | | | | | | | | errors out. Modify Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewWideIntObj. Less references to "long" datatype.
* | | Eliminate many (mostly harmless) MSVC warning messages. Tcl 9 compiles ↵jan.nijtmans2019-03-131-2/+2
| | | | | | | | | | | | warning-free now on MSVC.
* | | Merge 8.7jan.nijtmans2019-03-111-47/+47
|\ \ \ | |/ /
| * | Change TCHAR -> WCHAR in many places, since that's what it is since Windows NTjan.nijtmans2019-03-111-47/+47
| | |
| * | re-implemente changes in win/tclWinFile.c (handling -DTCL_UTF_MAX=6) using 3 ↵jan.nijtmans2019-03-101-6/+7
| | | | | | | | | | | | new utility functions. This allows to re-use code in more places: cleaner implementation more future-proof.
* | | More size_t-related consolidations. Now regexp can handle strings >2GB and ↵jan.nijtmans2019-02-051-6/+7
| | | | | | | | | | | | more. Remove many type-casts which are not necessary any more.
* | | Another (big) round of int -> size_t enhancements. So Tcl can handle string ↵jan.nijtmans2019-02-011-5/+5
|\ \ \ | |/ / | | | | | | >2GiB in more places.
* | | TIP #494 implementation: More use of size_t in Tcl 9jan.nijtmans2018-10-081-2/+2
|\ \ \ | |/ / |/| |
| * | merge trunkjan.nijtmans2018-10-061-4/+3
| |\ \
| * \ \ merge trunkjan.nijtmans2018-10-041-1/+1
| |\ \ \
| * | | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-2/+2
| |/ / / | | | | | | | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | | | Merge 8.6 jan.nijtmans2018-10-081-2/+1
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| Also fix startup problems on win32, when the encoding path contains invalid UTF-8 (reported by François Vogel) Various other code cleanup, e.g. remove empty.zip file, as this didn't work quite as expected.
* | | merge 8.6dgp2018-10-051-4/+3
|\ \ \ | |/ / | | / | |/ |/|
| * Fix wrong usage of Tcl_WinTCharToUtf() contract: nativePath should never be ↵jan.nijtmans2018-10-051-4/+3
| | | | | | | | NULL, but actually it can be.
* | Eliminate variable which is only used once. And a minor end-of-line space ↵jan.nijtmans2017-10-121-3/+1
| | | | | | | | reduction. No functional change.
* | more internal use of size_t (in stead of int)jan.nijtmans2016-11-291-7/+7
| |
* | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-3/+3
|/ | | | in many places where possible.
* [792641f95b]: Normalized win32 paths should never contain backslash.jan.nijtmans2014-04-101-0/+5
|\
| * [792641f95b]: Normalized win32 paths should never contain backslash.jan.nijtmans2014-04-101-0/+5
| |
* | Only write back file attributes if any of them really changed.jan.nijtmans2014-03-261-3/+4
| |
* | Fix compilation with latest MinGW-w64 version 3.0: Conflict on ↵jan.nijtmans2013-10-021-31/+12
|\ \ | |/ | | | | EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64.
| * Fix compilation with latest MinGW-w64 version 3.0: Conflict on ↵jan.nijtmans2013-10-021-31/+12
| | | | | | | | EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64.
* | Eliminate a lot of dead code (for Windows 95/98/ME only). jan.nijtmans2013-06-191-43/+0
| | | | | | Eliminate all usage of TclWinSetInterfaces(), which does exactly the same as TclpSetInterfaces(), but keep exported symbol and stub entry.
* | eliminate unnecessary TEXT() macrosjan.nijtmans2012-09-231-2/+2
| |
* | Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-8/+8
| |
* | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-2/+2
| |
* | * generic/tclUtil.c (TclDStringToObj): Added internal function to makedkf2012-04-251-7/+5
| | | | | | | | the fairly-common operation of converting a DString into an Obj a more efficient one.
* | make some more internal tables constjan.nijtmans2012-04-231-1/+1
|\ \ | |/
| * make some more internal tables constjan.nijtmans2012-04-231-1/+1
| |\
| | * make some more internal tables constjan.nijtmans2012-04-231-1/+1
| | | | | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-2/+2
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-1/+1
| | |
| | * ifdef protections to permit builds with mingw on amd64 systems.jan.nijtmans2011-03-111-14/+22
| | | | | | | | | | | | Thanks to "mescalinum" for reporting and testing. Merged --cherrypick from Tcl8.5 (2010-09-08,48191d3979)