summaryrefslogtreecommitdiffstats
path: root/generic/tclFCmd.c
Commit message (Collapse)AuthorAgeFilesLines
* Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-1/+1
| | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-1/+1
| | | | TclNewIntObj or Tcl_NewWideIntObj)
* Implementation of TIP #585 - Promote the INDEX_TEMP_TABLE flag of ↵fvogel2020-09-021-2/+2
| | | | Tcl_GetIndexFromObj*() to the public interface
* moredgp2020-03-061-18/+9
|
* Let's try a real C++ build with Travis on Linuxjan.nijtmans2019-08-301-9/+18
|
* Implementation of [file tempdir]; hand-tested on OSX...dkf2019-04-301-1/+146
|
* merge 8.6sebres2018-11-221-1/+1
|\
| * merge 8.5: fixes segfault [7a9dc52b29] and wrong normalization (inside ↵sebres2018-11-221-1/+1
| |\ | | | | | | | | | TclJoinPath) for pure relative path-segments; test-cases extended and several windows-related are fixed.
* | \ merge 8.6sebres2018-07-091-14/+20
|\ \ \ | |/ /
| * | merge 8.5sebres2018-07-091-14/+20
| |\ \ | | |/
| | * closes [270f78ca95b642fb]: fix the race condition for `file mkdir` if some ↵sebres2018-07-091-14/+18
| | | | | | | | | | | | worker deletes directory immediately after the succeded create inside 3rd worker.
* | | merge 8.6jan.nijtmans2018-05-011-10/+10
|\ \ \ | |/ /
| * | merge core-8-5-branch (fix-1613456fff)sebres2018-04-301-10/+10
| |\ \ | | |/
| | * amend to [5acb57c7aec45e05]: set code to TCL_ERROR, because primitives from ↵sebres2018-04-091-1/+1
| | | | | | | | | | | | tclIOUtil return -1
| | * [27b682284974d0cd] command "file delete": avoid possible race condition if ↵sebres2018-04-061-9/+9
| | | | | | | | | | | | | | | file/directory deleted after call of lstat, so bypass ENOENT error code. Thanks to Rainer Müller (aka raimue)
* | | New private flag value INDEX_TEMP_TABLE.dgp2016-07-131-8/+2
|/ / | | | | | | | | | | | | Used to signal to Tcl_GetIndexFromObj*() routines that the table in which lookups are done has a fleeting existence. Thus there is no value in caching any results, since the cache can never be useful. Improvement over existing hackery where cache is stored and then freed to avoid bogus results. Likely candidate to eventually push to the public interface.
* | typo in comment. Eliminate unnecessary end-of-line spacing.jan.nijtmans2015-10-191-1/+1
| |
* | Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-1/+1
|\ \ | |/
| * Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-1/+1
| |
* | [f0f876c141] Improve consistency in error messages.dkf2014-06-171-1/+1
| |
* | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-101-1/+1
| | | | | | | | | | Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | 3597000 Consistent [file copy] result.dgp2013-03-191-10/+7
|\ \ | |/
| * 3597000 Consistent [file copy] result.dgp2013-03-191-10/+7
| |\
| | * 3597000 Consistent [file copy] result.dgp2013-03-191-8/+7
| | |
* | | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-101-1/+0
|\ \ \ | |/ /
| * | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-101-6/+0
| | |
* | | revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-0/+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.nijtmans2013-01-171-0/+1
| | | | | | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
* | | fix two minor blunders, introduced by [1fb35ca910]jan.nijtmans2012-08-061-5/+0
| | | | | | | | | Only define _USE_32BIT_TIME_T for Tcl build, and only once.
* | | Reference to correct Bug #number. jan.nijtmans2012-08-061-1/+1
|\ \ \ | |/ / | | | Fix warning in winDde.c, and more test-cases using Unicode characters
| * | Reference to correct Bug #numberjan.nijtmans2012-08-061-1/+1
| |\ \ | | |/
| | * Reference to correct Bug #numberjan.nijtmans2012-08-061-1/+1
| | |
* | | more result generation conversiondkf2012-08-031-65/+74
| | |
* | | [Bug 3508771] Wrong Tcl_StatBuf used on MinGWjan.nijtmans2012-03-271-1/+1
|\ \ \ | |/ / | | | | | | [Bug 2015723] duplicate inodes from file stat on windows (but now for cygwin as well)
| * | [Bug 3508771] Wrong Tcl_StatBuf used on MinGWjan.nijtmans2012-03-271-1/+1
| |\ \ | | |/ | | | | | | [Bug 2015723] duplicate inodes from file stat on windows (but now for cygwin as well)
| | * [Bug 3508771] Wrong Tcl_StatBuf used on MinGWjan.nijtmans2012-03-271-14/+17
| | | | | | | | | [Bug 2015723] duplicate inodes from file stat on windows
* | | 3479689 New internal routine TclJoinPath().dgp2012-01-271-4/+1
| | | | | | | | | | | | Refactor all the *Join*Path* routines to give them more useful interfaces that are easier to manage getting the refcounts right.
* | | Bug-3474726 minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-211-0/+5
|\ \ \ | |/ /
| * | Bug-3474726 minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-211-0/+5
| |\ \ | | |/
| | * [Bug-3474726] minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-191-0/+5
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-0/+1
| | | | | | | | | | | | n mingw, sys/stat.h must be included before winsock2.h, so make sure of that
| * | (TclFileAttrsCmd): Added commands to reset the typePtr of the Tcl_Obj* whose ↵andreask2011-04-201-0/+2
| | | | | | | | | | | | | | | | | | | | | int-rep was just purged. Required to prevent a dangling IndexRep* to reused, smashing the heap. See also the entries at 2011-04-16 and 2011-03-24 for the history of the problem. Note also bug 2857044. This is the original report and fix of such issues for HEAD.
| * | Added code to try to tame the [file attributes] guts, while trying to simplifydkf2011-04-161-9/+12
| | | | | | | | | | | | things enough that I can puzzle out AK's TclVFS problems. I suspect this is not a real fix though; just an attempt to make the problem tractable.
* | | Added comments to try to tame the file attributes guts, while trying to simplifydkf2011-04-161-14/+22
| | | | | | | | | | | | things enough that I can puzzle out AK's TclVFS problems. I suspect this is not a real fix though; just an attempt to make the problem tractable.
* | | More generation of error codes (most platform-specific parts not already usingdkf2011-04-061-0/+8
| | | | | | | | | Tcl_PosixError).
* | | Ensure that any reference to temporary index tables is squelched immediatelydkf2011-03-241-0/+6
|\ \ \ | |/ / | | | rather than hanging around to trip us up in the future.
| * | Ensure that any reference to temporary index tables is squelched immediatelydkf2011-03-241-0/+6
| |\ \ | | |/ | | | rather than hanging around to trip us up in the future.
| | * Ensure that any reference to temporary index tables is squelched immediatelydkf2011-03-241-0/+10
| | | | | | | | | rather than hanging around to trip us up in the future.
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.