Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Eliminate all Tcl_ConvertToType calls and all direct calls to ↵ | jan.nijtmans | 2013-02-04 | 1 | -2/+2 | |
| | | | | typePtr->setFromAnyProc (except the call from inside the Tcl_ConvertToType function) from the Tcl core. | |||||
* | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -2/+2 | |
|\ | ||||||
| * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -2/+2 | |
| | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | |||||
* | | 3559678 Fix bad filename normalization when the last component is the empty ↵ | dgp | 2012-08-20 | 1 | -2/+7 | |
|\ \ | |/ | | | | | string. | |||||
| * | 3559678 Fix bad filename normalization when the last component is the empty ↵ | dgp | 2012-08-20 | 1 | -2/+7 | |
| | | | | | | | | string. | |||||
* | | more result generation conversion | dkf | 2012-08-03 | 1 | -9/+7 | |
| | | ||||||
* | | Simplify tclFileSystem.h. Define structs where used. | dgp | 2012-06-28 | 1 | -12/+10 | |
|\ \ | |/ | ||||||
| * | Simplify tclFileSystem.h. Define structs where used. | dgp | 2012-06-28 | 1 | -12/+10 | |
| | | ||||||
* | | fix some gcc 64-bit warnings | jan.nijtmans | 2012-06-26 | 1 | -3/+0 | |
|\ \ | |/ | | | | | quoting improvements eliminate unused variable | |||||
| * | fix some gcc 64-bit warnings | jan.nijtmans | 2012-06-26 | 1 | -3/+0 | |
| | | | | | | | | quoting improvements eliminate unused variable | |||||
* | | 3024359 Make sure that the per-thread cache of the list of file systems | dgp | 2012-06-25 | 1 | -4/+13 | |
|\ \ | |/ | | | | | | | currently registered is only updated at times when no active loops are traversing it. Also reduce the amount of epoch storing and checking to where it can make a difference. | |||||
| * | Simplify bug fix so that active claims on the FilesystemRecord list of a threadbug_3024359 | dgp | 2012-06-25 | 1 | -2/+1 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | prevent any overwriting of that per-thread cache. This keeps active traversals of the list valid. The possible downside is that this may result in some delay in noticing new epochs and result in somewhat greater likelihood we will cache things in a "path" value that are out of date. Since the system has to deal with out of date cached data anyway, this should have no correctness affects, measured against the status quo. In multi-threaded operation the possibility of caching and/or retrieving outdated information can never be eliminated. Checkin also includes merge of 8.5. | |||||
| * \ | merge 8.5 | dgp | 2012-06-21 | 1 | -41/+24 | |
| |\ \ | | |/ | ||||||
| * | | Only record the filesystemEpoch when it actually marks the validity of | dgp | 2012-06-21 | 1 | -6/+15 | |
| | | | | | | | | | something we are caching. | |||||
* | | | Stop storing FilesystemRecord in the intrep of a "path". We never use it. | dgp | 2012-06-21 | 1 | -41/+23 | |
|\ \ \ | | |/ | |/| | Store the Tcl_Filesystem instead, which is what we actually need. | |||||
| * | | Stop storing FilesystemRecord in the intrep of a "path". We never use it. | dgp | 2012-06-21 | 1 | -41/+24 | |
| |/ | | | | | Store the Tcl_Filesystem instead, which is what we actually need. | |||||
| | | ||||||
| \ | ||||||
*-. \ | Remove dead code that complicates fs path values but adds no value. | dgp | 2012-06-20 | 1 | -42/+9 | |
|\ \ \ | | |/ | ||||||
| | * | Purge more dead fs path code. | dgp | 2012-06-20 | 1 | -17/+3 | |
| |/ | ||||||
| * | Remove dead code that complicates fs path values but adds no value. | dgp | 2012-06-20 | 1 | -26/+7 | |
| | | ||||||
* | | When using Tcl_SetObjLength() calls to grow and shrink the objPtr->bytes buffer, | dgp | 2012-05-21 | 1 | -1/+1 | |
|\ \ | |/ | | | | | | | care must be taken that the value cannot possibly become pure Unicode. Calling Tcl_AppendToObj() has the possibility of making such a conversion. Bug found while valgrinding the trunk. | |||||
| * | When using Tcl_SetObjLength() calls to grow and shrink the objPtr->bytes buffer, | dgp | 2012-05-21 | 1 | -1/+1 | |
| | | | | | | | | | | care must be taken that the value cannot possibly become pure Unicode. Calling Tcl_AppendToObj() has the possibility of making such a conversion. Bug found while valgrinding the trunk. | |||||
* | | * generic/tclUtil.c (TclDStringToObj): Added internal function to make | dkf | 2012-04-25 | 1 | -4/+1 | |
| | | | | | | | | the fairly-common operation of converting a DString into an Obj a more efficient one. | |||||
* | | some formatting (*.decls) | jan.nijtmans | 2012-04-04 | 1 | -33/+0 | |
|\ \ | |/ | | | | | remove some unused cygwin-related code some minor gcc warnings | |||||
| * | some formatting (*.decls) | jan.nijtmans | 2012-04-04 | 1 | -33/+0 | |
| | | | | | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings | |||||
* | | 3479689 New internal routine TclJoinPath(). | dgp | 2012-01-27 | 1 | -35/+26 | |
| | | | | | | | | Refactor all the *Join*Path* routines to give them more useful interfaces that are easier to manage getting the refcounts right. | |||||
* | | 3475569 Add checks for unshared values before calls demanding them. | dgp | 2012-01-26 | 1 | -6/+23 | |
|\ \ | |/ | | | 3479689 Stop memory corruption when shimmering 0-refCount value to "path" type. | |||||
| * | 3479689 Stop memory corruption when shimmering 0-refCount value to "path" type. | dgp | 2012-01-26 | 1 | -0/+3 | |
| | | ||||||
| * | 3475569 Add value-sharing checks before calls that demand unshared arguments. | dgp | 2012-01-24 | 1 | -6/+20 | |
| | | ||||||
* | | 3414754 Fix the PATHFLAGS != 0 intrep normalizing trailing slashes. | dgp | 2011-10-31 | 1 | -28/+11 | |
|\ \ | |/ | ||||||
| * | Purge the old, buggy implementation.bug_3414754 | dgp | 2011-10-31 | 1 | -34/+0 | |
| | | ||||||
| * | Proposed fix for 3414754 | dgp | 2011-10-27 | 1 | -0/+17 | |
| | | ||||||
* | | 3389764 Eliminate possibility that "path" value dup can create reference cycle. | dgp | 2011-08-12 | 1 | -12/+12 | |
|\ \ | |/ | ||||||
| * | 3389764 Eliminate possibility that "path" value dup can create reference cycle. | dgp | 2011-08-12 | 1 | -12/+12 | |
| | | ||||||
| * | Backport fix for [Bug 2857044]. | dgp | 2011-04-27 | 1 | -4/+1 | |
| | | ||||||
* | | TclFreeIntRep() related cleanup. | dgp | 2011-04-25 | 1 | -4/+0 | |
| | | ||||||
* | | More generation of error codes (namespace creation, path normalization, | dkf | 2011-04-03 | 1 | -0/+6 | |
| | | | | | | pipeline creation, package handling, procedures, [scan] formats) | |||||
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -8/+8 | |
| | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless. | |||||
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -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 cause | dgp | 2011-03-02 | 1 | -2/+0 | |
| | | | | | | more harm than good. Purged them. | |||||
| * | installData.tcl: Make sure that copyDir only receives normalized paths. | nijtmans | 2010-05-21 | 1 | -19/+33 | |
| | | | | | | | | | | | | tclPlatDecls.h: Fix <tchar.h> inclusion for CYGWIN. tclPathObj.c: Fix Tcl_SetStringObj usage for CYGWIN. *.c: Fix various minor other gcc warnings, like signed<->unsigned mismatch. | |||||
| * | * generic/tclPathObj.c (TclPathPart): Correct inconsistency between | dgp | 2010-01-05 | 1 | -26/+10 | |
| | | | | | | | | | | | | * tests/fileName.test (filename-14.31): the string rep and the intrep of a path value created by [file rootname]. Thanks to Vitaly Magerya for reporting. [Bug 2918610] | |||||
| * | * generic/tclPathObj.c: Missing refcount on cached normalized path | dgp | 2009-10-27 | 1 | -1/+2 | |
| | | | | | | | | caused crashes. [Bug 2884203]. | |||||
| * | * generic/tclPathObj.c: [Bug 2806250] Prevent the storage of strings | dgp | 2009-08-20 | 1 | -104/+99 | |
| | | | | | | | | | | | | | | | | starting with ~ in the "tail" part (normPathPtr field) of the path intrep when PATHFLAGS != 0. This establishes the assumptions relied on elsewhere that the name stored there is a relative path. Also refactored to make an AppendPath() routine instead of the cut/paste stanzas that were littered throughout. | |||||
| * | * generic/tclPathObj.c: Added NULL check to prevent crashes during | dgp | 2009-08-18 | 1 | -2/+8 | |
| | | | | | | | | * tests/fileName.test: [glob]. [Bug 2837800] | |||||
| * | * generic/tclPathObj.c (TclPathPart): TclPathPart() was computing | dgp | 2009-03-27 | 1 | -3/+29 | |
| | | | | | | | | | | | | * tests/fileName.test: the wrong results for both [file dirname] and [file tail] on "path" arguments with the PATHFLAGS != 0 intrep and with an empty string for the "joined-on" part. [Bug 2710920] | |||||
| * | * generic/tclPathObj.c: Fixed mistaken logic in TclFSGetPathType() | dgp | 2009-02-20 | 1 | -1/+10 | |
| | | | | | | | | | | | | * tests/fileName.test: that assumed (not "absolute" => "relative"). This is a false assumption on Windows, where "volumerelative" is another possibility. [Bug 2571597]. | |||||
| * | * generic/tclPathObj.c (Tcl_FSGetNormalizedPath): Added another | dgp | 2008-12-04 | 1 | -13/+76 | |
| | | | | | | | | | | flag value TCLPATH_NEEDNORM to mark those intreps which need more complete normalization attention for correct results. [Bug 2385549] | |||||
| * | * generic/tclPathObj.c: Plug memory leak in [Bug 1999176] fix. Thanks | dgp | 2008-06-29 | 1 | -3/+7 | |
| | | | | | | | | Rolf Ade for detecting. | |||||
| * | * generic/tclPathObj.c: Plug memory leak in [Bug 1972879] fix. Thanks | dgp | 2008-06-28 | 1 | -3/+8 | |
| | | | | | | | | Rolf Ade for detecting and Dan Steffen for the fix [Bug 2004654]. | |||||
| * | * generic/tclPathObj.c: Fixed some internals management in the "path" | dgp | 2008-06-24 | 1 | -2/+25 | |
| | | | | | | | | | | Tcl_ObjType for the empty string value. Problem led to a crash in the command [glob -dir {} a]. [Bug 1999176]. |