Tcl Source Code

File History
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of generic/tclFCmd.c

2019-05-25
08:17
Merge 8.7 file: [55a543339d] check-in: [dd82009b2c] user: dkf branch: trunk, size: 42938
2019-04-30
18:31
Implementation of [file tempdir]; hand-tested on OSX... file: [66c607d3e4] check-in: [db87bf0a12] user: dkf branch: tip-431, size: 42935
2018-12-26
15:04
Many internal int -> size_t increases, so string lengths > 2Gb can be handled correctly in many more places. file: [bc1070bc7b] check-in: [2549977bc4] user: jan.nijtmans branch: trunk, size: 39273
2018-11-22
14:16
merge 8.6 file: [2396202cae] check-in: [80652194d5] user: sebres branch: core-8-branch, size: 39270
13:58
merge 8.5: fixes segfault [7a9dc52b29] and wrong normalization (inside TclJoinPath) for pure relative path-segments; test-cases extended and several windows-related are fixed. file: [c9d41d3f20] check-in: [8e8688f048] user: sebres branch: core-8-6-branch, size: 39393
2018-07-09
19:03
merge 8.6 file: [9080b9ba44] check-in: [7cc00415b4] user: sebres branch: core-8-branch, size: 39267
18:15
merge 8.5 file: [0d82539605] check-in: [ad71fa8ca4] user: sebres branch: core-8-6-branch, size: 39390
17:47
merge 8.5 (after fix of three-point race condition) file: [bdd2e12261] check-in: [87ce4cf1e0] user: sebres branch: rfe-4f322b9d21, size: 30097
17:18
closes [270f78ca95b642fb]: fix the race condition for `file mkdir` if some worker deletes directory immediately after the succeded create inside 3rd worker. file: [ee3766c8dd] check-in: [1c12ee9e45] user: sebres branch: core-8-5-branch, size: 29864
2018-07-02
14:46
Closes RFE [4f322b9d21]: provide return value for `file mkdir` to recognize the directories are really created, that can be used to avoid race condition by creating system-wide unique path (with multiple workers). See https://core.tcl-lang.org/tcl/info/4f322b9d2112772a for example. file: [accc230a6d] check-in: [7e5504fecf] user: sebres branch: rfe-4f322b9d21, size: 29691
2018-05-01
18:42
merge 8.6 file: [e04ad828e3] check-in: [bea1cbc1ad] user: jan.nijtmans branch: core-8-branch, size: 39001
2018-04-30
11:36
merge core-8-5-branch (fix-1613456fff) file: [561573e09e] check-in: [0eb9289e85] user: sebres branch: core-8-6-branch, size: 39124
2018-04-09
10:04
amend to [5acb57c7aec45e05]: set code to TCL_ERROR, because primitives from tclIOUtil return -1 file: [0f2a8b97e9] check-in: [6627aeef8e] user: sebres branch: fix-1613456fff, size: 29601
2018-04-06
17:28
[27b682284974d0cd] command "file delete": avoid possible race condition if file/directory deleted after call of lstat, so bypass ENOENT error code. Thanks to Rainer Müller (aka raimue) file: [93f84e147e] check-in: [5acb57c7ae] user: sebres branch: fix-1613456fff, size: 29577
2016-07-18
17:15
merge trunk file: [55e7fffa3f] check-in: [c58aa1576a] user: dgp branch: novem, size: 38998
2016-07-13
19:06
New private flag value INDEX_TEMP_TABLE. 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. file: [acc76d3693] check-in: [2413f3f624] user: dgp branch: trunk, size: 38926
2015-10-19
13:52
typo in comment. Eliminate unnecessary end-of-line spacing. file: [8ecab10307] check-in: [a3acef607b] user: jan.nijtmans branch: trunk, size: 39049
2015-10-04
10:27
merge trunk file: [b7bf4d7f88] check-in: [e58f76013c] user: jan.nijtmans branch: novem, size: 39115
10:20
Eliminate unnessessary end-of-line spacing. No functional change. file: [c3d40cf1a4] check-in: [7caaf52e89] user: jan.nijtmans branch: trunk, size: 39050
10:10
Eliminate unnessessary end-of-line spacing. No functional change. file: [20e179949e] check-in: [c8dd06d2fa] user: jan.nijtmans branch: core-8-5-branch, size: 29526
2014-06-20
20:00
merge trunk file: [4513aba97e] check-in: [dede94cd17] user: jan.nijtmans branch: novem, size: 39116
2014-06-17
14:30
[f0f876c141] Improve consistency in error messages. file: [534c6e6a55] check-in: [fffc281b07] user: dkf branch: trunk, size: 39051
2014-02-11
11:13
Merge trunk file: [5338a9d19b] check-in: [73afad5c30] user: jan.nijtmans branch: novem, size: 39138
2014-02-10
11:59
Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. 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 file: [98e55d6c6d] check-in: [80cf092cc7] user: jan.nijtmans branch: trunk, size: 39051
2013-09-26
13:13
merge novem    WARNING: No checks of build-ability done yet. file: [2f7e3ac4f6] check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 39289
2013-03-22
14:15
merge trunk file: [215fbcb3d7] check-in: [d836fd6c98] user: jan.nijtmans branch: novem, size: 39137
2013-03-19
14:39
3597000 Consistent [file copy] result. file: [55eff0b653] check-in: [64f4ffa382] user: dgp branch: trunk, size: 39050
14:31
3597000 Consistent [file copy] result. file: [aa113b8d97] check-in: [629ee9f78d] user: dgp branch: core-8-5-branch, size: 29527
14:26
3597000 Consistent [file copy] result. file: [9fcf56d36b] check-in: [ef8bec8154] user: dgp branch: core-8-4-branch, size: 29050
2013-02-10
13:12
Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>. file: [1def5c7898] check-in: [7725ffcfef] user: jan.nijtmans branch: core-8-5-branch, size: 29596
2013-01-24
10:37
Convert Tcl_GetIndexFromObj implementation to macro file: [cdd5a4b8af] check-in: [039696e2d8] user: jan.nijtmans branch: novem, size: 39206
2013-01-17
15:46
merge file: [53057dc4a9] check-in: [22a269a657] user: mig branch: mig-strip-brutal, size: 39095
08:38
revert [8abba84224], and make sure that every source file that uses Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h file: [260060a050] check-in: [a1d2456c70] user: jan.nijtmans branch: trunk, size: 39141
08:28
revert [8abba84224], and make sure that every source file that uses Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h file: [50401e56cd] check-in: [38228c7569] user: jan.nijtmans branch: core-8-5-branch, size: 29722
2013-01-05
16:05
removed TCL_EVAL_DIRECT support file: [c19da6fe98] check-in: [45eff1b998] user: mig branch: mig-strip-brutal, size: 39073
2012-12-03
08:11
merge core-8-5-branch eliminate more usage of to-be-deprecated functions file: [9d13dfd8ae] check-in: [976aeca8c6] user: jan.nijtmans branch: better-deprecation-85, size: 29748
2012-11-26
15:31
merge trunk file: [c1304db8fa] check-in: [cdc837ae05] user: mig branch: mig-alloc-reform, size: 39091
2012-11-21
00:42
converting to use TCL_STRLEN file: [26a214e4c0] check-in: [2afb72a22d] user: dkf branch: novem-64bit-sizes, size: 39271
2012-11-18
07:39
Better programming practice, no literal '-1' in source code. Might even be useful for 64bit-sizes branch    add TCL_NOSIZE as internal defined for -1, and use it in a lot of places Ass this function argument should be size_t, not ssize_t (still to be TIPped), something like this will be needed anyway. file: [9b05e34bd6] check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 39135
2012-11-16
22:44
yet more conversions file: [e40219e161] check-in: [ef4d60fc2b] user: dkf branch: novem-64bit-sizes, size: 39248
2012-08-06
08:48
fix two minor blunders, introduced by [1fb35ca910] Only define _USE_32BIT_TIME_T for Tcl build, and only once. file: [68f7f67370] check-in: [701864f6d2] user: jan.nijtmans branch: trunk, size: 39119
07:40
Reference to correct Bug #number. Fix warning in winDde.c, and more test-cases using Unicode characters file: [9fa1d37468] check-in: [359adb529b] user: jan.nijtmans branch: trunk, size: 39223
07:01
Reference to correct Bug #number file: [a8052d1af0] check-in: [cde975b711] user: jan.nijtmans branch: core-8-5-branch, size: 29700
06:54
Reference to correct Bug #number file: [697eafab95] check-in: [2516170e7c] user: jan.nijtmans branch: core-8-4-branch, size: 29117
2012-08-03
14:24
more result generation conversion file: [f988552ccc] check-in: [b3ccaec093] user: dkf branch: trunk, size: 39223
2012-03-27
12:15
[Bug 3508771] Wrong Tcl_StatBuf used on MinGW [Bug 2015723] duplicate inodes from file stat on windows (but now for cygwin as well) file: [ef217e8cc9] check-in: [cd7415d81d] user: jan.nijtmans branch: trunk, size: 38941
11:39
[Bug 3508771] Wrong Tcl_StatBuf used on MinGW [Bug 2015723] duplicate inodes from file stat on windows (but now for cygwin as well) file: [9f102dbbd4] check-in: [f9900bca57] user: jan.nijtmans branch: core-8-5-branch, size: 29700
11:20
[Bug 3508771] Wrong Tcl_StatBuf used on MinGW [Bug 2015723] duplicate inodes from file stat on windows file: [ffa94b9baf] check-in: [90c31690eb] user: jan.nijtmans branch: core-8-4-branch, size: 29117
2012-01-27
21:56
3479689 New internal routine TclJoinPath(). Refactor all the *Join*Path* routines to give them more useful interfaces that are easier to manage getting the refcounts right. file: [53a87be932] check-in: [55c8c6c155] user: dgp branch: trunk, size: 38911
2012-01-21
08:31
Bug-3474726 minGW Tcl_StatBuf not defined correctly in tcl.h file: [7f0da9ba52] check-in: [473eee5c31] user: jan.nijtmans branch: trunk, size: 38989
08:31
Bug-3474726 minGW Tcl_StatBuf not defined correctly in tcl.h file: [2074dee3ac] check-in: [b87b66b503] user: jan.nijtmans branch: core-8-5-branch, size: 29670
2012-01-19
21:22
[Bug-3474726] minGW Tcl_StatBuf not defined correctly in tcl.h file: [52bfe851dc] check-in: [096d7e242c] user: jan.nijtmans branch: core-8-4-branch, size: 29184
2011-08-16
07:36
[Bug 3388350] mingw64 compiler warnings n mingw, sys/stat.h must be included before winsock2.h, so make sure of that file: [8ef478d900] check-in: [008181d7a6] user: jan.nijtmans branch: core-8-4-branch, size: 29080
2011-04-20
17:52
(TclFileAttrsCmd): Added commands to reset the typePtr of the Tcl_Obj* whose 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. file: [fd2d5d70d1] check-in: [c39553c370] user: andreask branch: mistake, size: 38942
17:51
(TclFileAttrsCmd): Added commands to reset the typePtr of the Tcl_Obj* whose 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. file: [70db390459] check-in: [20a3aedb2a] user: andreask branch: core-8-5-branch, size: 29566
2011-04-19
14:19
merge trunk file: [f4d1ee8942] check-in: [d040767de8] user: mig branch: mig-alloc-reform, size: 38857
2011-04-16
11:51
Added comments to try to tame the file attributes guts, while trying to simplify 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. file: [3f5d038fc6] check-in: [f1162c3bd2] user: dkf branch: trunk, size: 38885
11:35
Added code to try to tame the [file attributes] guts, while trying to simplify 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. file: [2e5c93f6f2] check-in: [607ac42cb5] user: dkf branch: core-8-5-branch, size: 29509
2011-04-06
18:16
merge trunk to feature branch file: [ddb4fdce97] check-in: [611c232145] user: mig branch: mig-alloc-reform, size: 38456
13:05
More generation of error codes (most platform-specific parts not already using Tcl_PosixError). file: [d7362403af] check-in: [1b095ad294] user: dkf branch: trunk, size: 38484
2011-03-24
11:39
merge trunk file: [53927891a1] check-in: [4bc0292a61] user: mig branch: mig-alloc-reform, size: 38129
09:52
Ensure that any reference to temporary index tables is squelched immediately rather than hanging around to trip us up in the future. file: [c20e28e2e7] check-in: [7d471fa4b4] user: dkf branch: trunk, size: 38157
09:45
Ensure that any reference to temporary index tables is squelched immediately rather than hanging around to trip us up in the future. file: [cdd67e36df] check-in: [3971651ab7] user: dkf branch: core-8-5-branch, size: 29413
09:40
Ensure that any reference to temporary index tables is squelched immediately rather than hanging around to trip us up in the future. file: [4e1f1b22a1] check-in: [e7289d1266] user: dkf branch: core-8-4-branch, size: 29058
2011-03-15
09:44
retire TclInterpAlloc/Free/Realloc file: [9fa7d4eb96] check-in: [15d781d135] user: mig branch: mig-alloc-reform, size: 37976
2011-03-13
04:50
rename TclStackAlloc/Free to TclInterpAlloc/Free file: [456f2ba8c2] check-in: [820d67f844] user: mig branch: mig-alloc-reform, size: 38006
2011-03-02
20:27
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them (except in zlib files). file: [83b22642fc] check-in: [c64f310d38] user: dgp branch: trunk, size: 38004
16:06
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: [f121d1930a] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 29288
2011-03-01
15:38
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: [1db0144a37] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 28686
2011-01-12
15:23
This commit is both no-NRE v2, implemented by subtracting the NRE pieces (*), and update to CVS trunk head of Wednesday Jan 5. (*) no-NRE v1 in the other branch was created in an additive manner from the point where 8.5 was branched from the trunk, by adding all the patches but those for NRE. file: [c18b7302dd] check-in: [2d93b1436c] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 38072
2010-12-30
14:42
merge file: [a57e22da06] check-in: [45d5c91eaf] user: dgp branch: dgp-refactor, size: 38077
2010-12-16
12:32
Updated remainder. Branch is now sync'd with head Dec 16, in the morning. 15 significant test failures, + 1 known (tcltest), 3 crashes (error, http11, oo). file: [c3e2a6ed8b] check-in: [d80aeef81f] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 38075
2010-12-11
18:39
merge file: [0bae820cdf] check-in: [c291154f2c] user: kennykb branch: dogeen-assembler-branch, size: 38080
2010-12-09
15:09
* generic/tclCmdAH.c (TclInitFileCmd, TclMakeFileCommandSafe, ...): Break up [file] into an ensemble. Note that the ensemble is safe in itself, but the majority of its subcommands are not. * generic/tclFCmd.c (FileCopyRename,TclFileDeleteCmd,TclFileAttrsCmd) (TclFileMakeDirsCmd): Adjust these subcommand implementations to work inside an ensemble. (TclFileLinkCmd, TclFileReadLinkCmd, TclFileTemporaryCmd): Move these subcommand implementations from tclCmdAH.c, where they didn't really belong. * generic/tclIOCmd.c (TclChannelNamesCmd): Move to more appropriate source file. * generic/tclEnsemble.c (TclMakeEnsemble): Start of code to make partially-safe ensembles. Currently does not function as expected due to various shortcomings in how safe interpreters are constructed. * tests/cmdAH.test, tests/fCmd.test, tests/interp.test: Test updates to take into account systematization of error messages. file: [bf4594eba5] check-in: [264ccb78f6] user: dkf branch: trunk, size: 38072
2010-11-18
10:43
Next slice. file: [f768c04af7] check-in: [095fc2f85f] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 29289
2010-02-25
21:53
merge updates from HEAD file: [d7d9ce4786] check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 29294
2010-02-24
10:32
Pure whitespace changes, changing to follow Engineering Manual style. file: [9c00cb49fa] check-in: [c81eddebbb] user: dkf branch: trunk, size: 29289
2009-09-07
16:39
merge updates from HEAD file: [58a446d5e0] check-in: [8c0a6a5799] user: dgp branch: dgp-refactor, size: 29333
07:28
* generic/tclExecute.c: fix potential uninitialized variable use and * generic/tclFCmd.c: null dereference flagged by clang static * generic/tclProc.c: analyzer. * generic/tclTimer.c: * generic/tclUtf.c:    * generic/tclExecute.c: silence false positives from clang static * generic/tclIO.c: analyzer about potential null dereference. * generic/tclScan.c: * generic/tclCompExpr.c: file: [8897ff5cd9] check-in: [e93f957325] user: das branch: trunk, size: 29328
2008-10-11
03:37
merge updates from HEAD file: [508a86ecf7] check-in: [707fc4e9cf] user: dgp branch: dgp-refactor, size: 29308
2008-10-06
21:00
fixed constness of last commit for msvc file: [d1cd804ed9] check-in: [2d35bb9a0e] user: patthoyts branch: trunk, size: 29309
2008-10-05
22:25
* doc/FileSystem.3: CONSTified Tcl_FSFileAttrStringsProc * generic/tclFCmd.c: and tclpFileAttrStrings. This allows * generic/tclIOUtil.c: FileSystems to report their attributes * generic/tclTest.c: as const strings, without worrying that * unix/tclUnixFCmd.c: Tcl modifies them (which Tcl should not * win/tclWinFCmd.c: do anyway, but the API didn't indicate that) * generic/tcl.decls * generic/tclDecls.h: regenerated * generic/tcl.h: make sure that if CONST84 is defined as empty, CONST86 should be defined as empty as well (unless overridden). This change complies with TIP #27 *** POTENTIAL INCOMPATIBILITY *** file: [4229317798] check-in: [40d0887361] user: nijtmans branch: trunk, size: 29300
2008-09-25
13:34
merge updates from HEAD file: [298a8284ad] check-in: [27dcd71f8a] user: dgp branch: dgp-refactor, size: 29155
2008-09-24
19:31
TIP #323 IMPLEMENTATION (partial)    * doc/file.n: Revise [file delete] and [file mkdir] to * generic/tclCmdAH.c: accept zero "pathname" arguments (the * generic/tclFCmd.c: no-op case). * tests/cmdAH.test: * tests/fCmd.test: file: [0303459e5e] check-in: [5351913241] user: dgp branch: trunk, size: 29150
2008-07-29
20:13
merge updates from (near) HEAD file: [0c18769559] check-in: [f51e3a3c72] user: dgp branch: dgp-refactor, size: 29366
2008-07-21
14:56
Backported fix for bug #2015723 file: [e6fd8be0d0] check-in: [295579a555] user: patthoyts branch: core-8-5-branch, size: 29366
14:42
Inode numbers on Windows are not unique so avoid the inode check on this platform [Bug 2015723] file: [b482d53e23] check-in: [afa89c1865] user: patthoyts branch: trunk, size: 29367
2008-07-13
23:15
more consistent wrong # arg messages: change all messages containing ?options? to the form ?-option value ...? file: [ea023dd9bb] check-in: [7dcec0e5e2] user: nijtmans branch: trunk, size: 29350
2008-05-11
04:22
merge updates from HEAD file: [3befdd9934] check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 29346
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: [363c203bef] check-in: [2d205c22fb] user: dkf branch: trunk, size: 29341
2007-12-13
15:22
merge stable branch onto HEAD file: [57498cb5cf] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 29340
2007-09-17
15:10
merge updates from HEAD file: [260b6a073a] check-in: [998f41c78b] user: dgp branch: dgp-refactor, size: 29345
15:03
merge updates from HEAD file: [f29598d63e] check-in: [f5355cd31e] user: dgp branch: core-stabilizer-branch, size: 29344
10:43
Generate literal values more efficiently using TclNewLiteralStringObj macro. file: [b111c0f4d3] check-in: [9c077526f1] user: dkf branch: trunk, size: 29340
2007-07-01
18:29
merge updates from HEAD file: [4f4b95ead1] check-in: [0b87a0b021] user: dgp branch: dgp-refactor, size: 29342
17:31
merge updates from HEAD file: [876ffa5492] check-in: [25efbdbb22] user: dgp branch: core-stabilizer-branch, size: 29341
2007-06-28
21:10
Silence constness warnings for TclStackFree when building with msvc. file: [598f3980b6] check-in: [e7805530ef] user: patthoyts branch: trunk, size: 29343
2007-06-21
16:31
merge updates from HEAD file: [664f142007] check-in: [98cb152178] user: dgp branch: dgp-refactor, size: 29334
16:04
merge updates from HEAD file: [cbf8d8221b] check-in: [9b4cd8d23b] user: dgp branch: core-stabilizer-branch, size: 29333
2007-06-20
18:46
* generic/tclInt.decls: Revised the interfaces of the routines * generic/tclExecute.c: TclStackAlloc and TclStackFree to make them easier for callers to use (or more precisely, harder to misuse). TclStackFree now takes a (void *) argument which is the pointer intended to be freed. TclStackFree will panic if that's not actually the memory the call will free. TSA/TSF also now tolerate receiving (interp == NULL), in which case they simply fall back to be calls to Tcl_Alloc/Tcl_Free.    * generic/tclIntDecls.h: make genstubs    * generic/tclBasic.c: Updated callers * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclProc.c: * generic/tclTrace.c: * unix/tclUnixPipe.c: file: [ef9e754d55] check-in: [4ea644b0de] user: dgp branch: trunk, size: 29329
2007-04-20
17:13
merge updates from HEAD file: [32a16b1c0f] check-in: [92b90f2910] user: dgp branch: dgp-refactor, size: 29339
05:51
Whitespace policing, replacing commas in varargs with constant string catenation, and fixed an oversight in the fix for NZA time zones. file: [e365f43007] check-in: [d6ee490b6b] user: kennykb branch: trunk, size: 29338
2007-04-10
16:27
merge updates from HEAD file: [5f5f9f678b] check-in: [c49d7b4587] user: dgp branch: dgp-refactor, size: 29340
14:47
Handle creation of Tcl_Objs from constant strings better (easier to use, more efficient). After [Patch 1529526] (afredd) file: [a1c3bc00fb] check-in: [4d69119aad] user: dkf branch: trunk, size: 29335
2007-04-08
14:58
Merge updates from HEAD; may not build file: [cbbfcb146d] check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 29326
2007-04-02
18:48
* generic/tclBasic.c: Replace arrays on the C stack and ckalloc * generic/tclExecute.c: calls with TclStackAlloc calls to use memory * generic/tclFCmd.c: on Tcl's evaluation stack. * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclTrace.c: * unix/tclUnixPipe.c: file: [65a5d1f1b2] check-in: [fbe8c8af9f] user: dgp branch: trunk, size: 29321
2005-11-03
17:52
merge updates from HEAD file: [0b37e9250b] check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 29299
2005-11-01
15:30
ANSIfy. Also converted some deeply nested code to a less nested form for easier reading. file: [41cc659268] check-in: [a3b0b6f1d9] user: dkf branch: trunk, size: 29295
2005-08-17
17:46
* generic/tclFCmd.c (TclFileMakeDirsCmd): fix to race condition in file mkdir (backport from head 2005-06-13) [Bug 1217375] file: [30e0709200] check-in: [0078c07abe] user: hobbs branch: core-8-4-branch, size: 28760
2005-08-02
18:14
merge updates from HEAD file: [79d8e75597] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 29664
2005-07-26
04:11
Merge updates from HEAD file: [02c7e768db] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 29664
2005-07-24
22:56
Getting more systematic about style file: [de5026a8df] check-in: [83d72c558c] user: dkf branch: trunk, size: 29660
2005-07-12
20:35
merged changes from HEAD file: [2070c6b09e] check-in: [5316ea45e0] user: kennykb branch: kennykb-numerics-branch, size: 29997
2005-06-22
21:12
merge updates from HEAD file: [9aad1c1eb3] check-in: [2c0cc8807c] user: dgp branch: dgp-refactor, size: 29993
2005-06-13
08:31
correct fix to file mkdir file: [922350d0a5] check-in: [9c6c2985d7] user: vincentdarley branch: trunk, size: 29999
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611) file: [0c7386383e] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 29869
2005-06-09
16:24
fix to race condition in file mkdir and fix to glob documentation file: [d0f1daac75] check-in: [a6ebffa26e] user: vincentdarley branch: trunk, size: 29872
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [6a1c19f27a] check-in: [1cc2336920] user: kennykb branch: trunk, size: 29352
2005-01-24
21:43
merge updates from HEAD file: [eda52a4ab9] check-in: [3e37b6975d] user: dgp branch: dgp-refactor, size: 29352
2005-01-20
14:53
reverting to HEAD in preparation for changing from reworked 'mpexpr' to 'libtommath' file: [157073c3f3] check-in: [8f72684eeb] user: kennykb branch: kennykb-numerics-branch, size: 29356
2005-01-14
18:56
With vfs permissions can exist on non-unix filesystems file: [ea86437e75] check-in: [307ccff159] user: vincentdarley branch: trunk, size: 29358
14:16
Stop reliance on absolute attribute indexes with helper function [Bug 1100671] file: [76cb27ed90] check-in: [7612557f3c] user: dkf branch: trunk, size: 29379
2004-10-28
18:45
merge updates from HEAD file: [0a3375863b] check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 29270
2004-10-19
21:53
* generic/tclInt.h (Tcl*InterpState): New internal routines * generic/tclResult.c (Tcl*InterpState): TclSaveInterpState, TclRestoreInterpState, and TclDiscardInterpState are superior replacements for Tcl_(Save|Restore|Discard)Result. Intent is that these routines will be converted to public routines after TIP approval.    * generic/tclBasic.c (TclEvalObjvInternal): * generic/tclDictObj.c (DictUpdateCmd, DictWithCmd): * generic/tclIOGT.c (ExecuteCallback): * generic/tclTrace.c (Trace*Proc,TclCheck*Traces,TclCallVarTraces): Callers of Tcl_*Result updated to call the new routines. The calls were relocated in several cases to perform save/restore operations only when needed.    * generic/tclEvent.c (HandleBgErrors): * generic/tclFCmd.c (CopyRenameOneFile): Calls to Tcl_*Result that were eliminated because they appeared to serve no useful purpose, typically saving/restoring an error message, only to throw it away. file: [a936eaa50e] check-in: [4073981ce3] user: dgp branch: trunk, size: 29266
2004-10-06
14:59
* generic/tclBasic.c: * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: * generic/tclEncoding.c: * generic/tclExecute.c: * generic/tclFCmd.c: * generic/tclHistory.c: * generic/tclIndexObj.c: * generic/tclInterp.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated. file: [ab91353374] check-in: [ee7c709e65] user: dgp branch: trunk, size: 29470
13:09
Add braces round if body... file: [3225d78f74] check-in: [3ec20e5c0e] user: dkf branch: trunk, size: 29499
2004-04-09
20:57
Merge updates from HEAD file: [b3722173e7] check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 29490
2004-04-06
22:25
Patch 922727 committed. Implements three changes:    * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only.    * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same.    * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed): file: [51972c9445] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 29486
2004-03-26
22:28
Merge updates from HEAD. file: [5d95b4ae56] check-in: [6e8d2d7ba1] user: dgp branch: dgp-refactor, size: 29511
2004-03-17
18:14
Removed support for Mac OS Classic platform [Patch 918142] file: [5153a54e96] check-in: [b6330dbac7] user: das branch: trunk, size: 29507
2004-02-07
05:47
Merge updates from HEAD    Note that this branch currently does not fully support the new {expand} syntax. Updates to TclEvalScriptTokens and TclCompileScriptTokens are still to come. file: [9d50a170ba] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 29532
2004-01-29
10:28
filesystem fixes for '-force' consistency and picky compilers file: [833bd9f97d] check-in: [fff97fe116] user: vincentdarley branch: trunk, size: 29538
2004-01-21
19:59
filesystem optimisation -- Three main issues accomplished: (1) cleaned up variable names in file: [4c3102bbbe] check-in: [9cfcca63fb] user: vincentdarley branch: trunk, size: 29071
2003-06-24
17:27
Merge updates from the HEAD file: [fd3007a265] check-in: [d0a473ec1b] user: dgp branch: dgp-refactor, size: 28360
2003-06-23
10:21
file copy empty filename bug fix file: [98d23dbd5a] check-in: [601c047b17] user: vincentdarley branch: core-8-4-branch, size: 28132
10:14
filesystem fixes -- see ChangeLog file: [cb7091c96b] check-in: [c25e6f0318] user: vincentdarley branch: trunk, size: 28366
2003-05-14
19:21
Implementation of TIP 118:    * generic/tclFCmd.c (TclFileAttrsCmd): return the list of attributes that can be retrieved without error for a given file, instead of aborting the whole command when any error occurs.    * unix/tclUnixFCmd.c: added support for new file attributes and for copying Mac OS X file attributes & resource fork during [file copy].    * generic/tclInt.decls: added declarations of new external commands needed by new file attributes support in tclUnixFCmd.c.    * macosx/tclMacOSXFCmd.c (new): Mac OS X specific implementation of new file attributes and of attribute & resource fork copying.    * mac/tclMacFCmd.c: added implementation of -rsrclength attribute & fixes to other attributes for consistency with OSX implementation.    * mac/tclMacResource.c: fixes to OSType handling.    * doc/file.n: documentation of [file attributes] changes.    * unix/configure.in: check for APIs needed by new file attributes.    * unix/Makefile.in: * unix/tcl.m4: added new platform specifc tclMacOSXFCmd.c source.    * unix/configure: * generic/tclStubInit.c: * generic/tclIntPlatDecls.h: regen.    * tools/genStubs.tcl: fixes to completely broken code trying to prevent overlap of "aqua", "macosx", "x11" and "unix" stub entries.    * tests/unixFCmd.test: added tests of -readonly attribute.    * tests/macOSXFCmd.test (new): tests of macosx file attributes and of preservation of attributes & resource fork during [file copy].    * tests/macFCmd.test: restore -readonly attribute of test dir, as otherwise its removal can fail on unices supporting -readonly. file: [4929e6d8b9] check-in: [a25df0d3d9] user: das branch: trunk, size: 28016
2002-08-20
20:25
merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk file: [e100e035ac] check-in: [354986d9c3] user: das branch: macosx-8-4-branch, size: 27782
2002-08-08
10:41
[Patch #591647] (darley) (CopyRenameOneFile): this is currently disabled by default until further issues with such behavior (like relative links) can be handled correctly. file: [224d3e0680] check-in: [eda141e5d3] user: hobbs branch: trunk, size: 27780
08:56
* tests/fCmd.test: * tests/unixFCmd.test: updated tests for new link copy behavior. * generic/tclFCmd.c (CopyRenameOneFile): changed the behavior to follow links to endpoints and copy that file/directory instead of just copying the surface link. This means that trying to copy a link that has no endpoint (danling link) is an error. [Patch #591647] (darley) file: [2fb618c815] check-in: [2912293401] user: hobbs branch: trunk, size: 27765
2002-07-18
16:17
fix to knownBug test file: [e1d3ed44bb] check-in: [629fc26852] user: vincentdarley branch: trunk, size: 26277
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: [09196cb5a0] check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 25938
2002-03-24
11:41
4 fs fixes file: [592937904b] check-in: [d333686619] user: vincentdarley branch: trunk, size: 25939
2002-02-15
14:28
TIP#72 implementation. See ChangeLog for details. This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode. file: [7044936dc3] check-in: [8d82de1905] user: dkf branch: trunk, size: 26047
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [7eb674090c] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 26054
2002-01-17
04:37
* More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that were overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines. file: [5db8f6dc9d] check-in: [28b6020550] user: dgp branch: trunk, size: 26045
2001-11-28
17:58
* NOTES: New file. Read here about the new modularization macros, interdependencies, implications, etc.    * static.sizes.html: New file. Report on the cuts achieved so far. Regarding the object files only the files which did change in size are reported. Usage of the MODULAR_TCL macro currently cuts about 17 % of the code (measured using strip'ped object files and libraries).    * Changed files so far .. [cut, see changelog for full list]    * Working on modularization of the tcl core.    *************************** **** mod-8-3-4-branch **** *************************** file: [aa201449f6] check-in: [052bbd8095] user: andreas_kupries branch: mod-8-3-4-branch, size: 23212
2001-11-23
22:56
Made Tcl_Stat use old-style 'struct stat' in its declaration following suggestions from Vince Darley and Arjen Markus. Thanks for prompting me to do this, guys! Also tidied up a few spots. file: [01ebef084e] check-in: [1c171d3fff] user: dkf branch: dkf-64bit-support-branch, size: 26030
2001-10-15
10:30
small fs fixes file: [71e3163c12] check-in: [67fbce9b36] user: vincentdarley branch: trunk, size: 26036
2001-09-27
14:11
Backed out unwise changes file: [f152073d5c] check-in: [641711bb48] user: dkf branch: dkf-64bit-support-branch, size: 26028
2001-09-26
14:23
Now builds on Solaris8/SPARC with both SunPro CC *and* GCC. file: [689c84d7f2] check-in: [4850711173] user: dkf branch: dkf-64bit-support-branch, size: 26091
2001-09-25
16:49
Woo hoo! Builds on one platform (Solaris8/SPARC with SunPro CC) file: [334d61532b] check-in: [dd2d80954c] user: dkf branch: dkf-64bit-support-branch, size: 26059
10:24
Lots more type changes. Added Tcl_AllocStatBuf()... file: [0860bdac3c] check-in: [af4f696a00] user: dkf branch: dkf-64bit-support-branch, size: 26028
2001-09-08
14:05
channel-copy-fix file: [8e885bb5c4] check-in: [1f2c7bb4fd] user: vincentdarley branch: trunk, size: 26034
2001-09-04
18:06
minor fs, vfs fixes file: [3cc7c63eb1] check-in: [e50cc64ecb] user: vincentdarley branch: trunk, size: 25922
2001-08-30
08:53
filesystem file: [673df7719f] check-in: [63ee4e7a09] user: vincentdarley branch: trunk, size: 27337
2001-08-23
17:37
fs update file: [da5f892c13] check-in: [37484c1daa] user: vincentdarley branch: trunk, size: 27297
2001-08-11
18:43
vfs-related fixes file: [698607a5cc] check-in: [d7401f73f7] user: vincentdarley branch: trunk, size: 27303
2001-08-07
01:00
* generic/tclFileName.c (Tcl_FSSplitPath): update to Tcl style guide.    * generic/tclFCmd.c (FileCopyRename): fixed mem leak in introduction of vfs code where a new Tcl_Obj wasn't freed. file: [1f6772bb1d] check-in: [7a8f69b47b] user: hobbs branch: trunk, size: 26933
2001-07-31
19:12
Changes from TIP#17 "Redo Tcl's filesystem"    The following files were impacted.    * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c file: [4f9ae937e2] check-in: [9461aca548] user: vincentdarley branch: trunk, size: 27014
1999-07-01
23:21
Call TclStat instead of TclpStat in order to allow the stat hooks to work properly. file: [7c9fedd2a6] check-in: [5ff61ca415] user: redman branch: trunk, size: 22867
1999-04-21
21:50
Resynced with mainline. file: [731eac4d3f] check-in: [45b9dd789f] user: rjohnson branch: trunk, size: 22873
01:47
Merged with mainline. file: [759148f42a] check-in: [81c2b84aff] user: rjohnson branch: scriptics-tclpro-1-2, size: 22877 Added
1999-04-16
00:46
merged tcl 8.1 branch back into the main trunk file: [23a1e99a78] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 22877
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [6698ad8c50] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 22881
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [d813aee8eb] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 22840
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [9b732b79ff] check-in: [196f92fd17] user: stanton branch: trunk, size: 22831
1998-05-20
16:57
Changed call ref's from 'stat(...)' to 'TclStat(...)'. file: [3f404fa423] check-in: [734111e244] user: suresh branch: trunk, size: 22810
1998-03-26
14:45
Initial revision file: [5211466dbe] check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 22790 Added