Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Plug memory leak handling circular path values. | dgp | 2018-04-25 | 1 | -8/+6 | |
| | ||||||
* | merge 8.7 | dgp | 2017-12-06 | 1 | -3/+2 | |
|\ | ||||||
| * | [ce3a211dcb] Failed file normalize when tail is empty string. | dgp | 2017-12-06 | 1 | -3/+2 | |
| |\ | ||||||
| | * | [ce3a211dcb] Failed file normalize when tail is empty string. | dgp | 2017-12-06 | 1 | -3/+2 | |
| | |\ | ||||||
| | | * | [ce3a211dcb] Failed file normalize when tail is empty string. | dgp | 2017-12-06 | 1 | -3/+2 | |
| | | | | ||||||
* | | | | More TIP 445 conversion of the "path" Tcl_ObjType. | dgp | 2017-09-22 | 1 | -35/+5 | |
| | | | | ||||||
* | | | | Partial conversion of the "path" Tcl_ObjType to TIP 445 contributed by | dgp | 2017-09-22 | 1 | -130/+64 | |
| | | | | | | | | | | | | | | | | | | | | Cyan Ogilvie. This reworking also eliminates circular references in the "path" values. Test suite indicates the change works. Don't know what, if anything, was lost compared to the original Darley design. | |||||
* | | | | merge trunk | dgp | 2017-07-06 | 1 | -33/+31 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | merge 8.6 | dgp | 2017-07-06 | 1 | -39/+43 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Pull out of the loop a block of code that can only run in first iteration. | dgp | 2017-07-06 | 1 | -18/+19 | |
| | | | | ||||||
| | * | | Alternative fix for memleaks in fs path join machinery. | dgp | 2017-07-06 | 1 | -17/+16 | |
| | | | | ||||||
| * | | | merge core-8-6-branch | jan.nijtmans | 2017-07-03 | 1 | -32/+26 | |
| |\ \ \ | ||||||
| | * \ \ | tclPathObj: fixed TclJoinPath - usage of released object and object leakage. | sebres | 2017-07-03 | 1 | -32/+26 | |
| | |\ \ \ | | | |/ / | | |/| / | | | |/ | closes [adb198c256df8c4192838cc3c1112fb2821314e9] | |||||
| | | * | tclPathObj: fixed TclJoinPath (backported from 8.6) - usage of released ↵ | sebres | 2017-07-03 | 1 | -84/+70 | |
| | | | | | | | | | | | | | | | | | | | | object and object leakage. closes [adb198c256df8c4192838cc3c1112fb2821314e9] | |||||
* | | | | merge trunk | dgp | 2017-05-08 | 1 | -1/+18 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Revert the colorful debug garbage mistakenly committed. | dgp | 2017-05-01 | 1 | -8/+2 | |
| | | | | ||||||
| * | | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52* | dgp | 2017-05-01 | 1 | -3/+19 | |
| |\ \ \ | | |/ / | ||||||
| | * | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52* | dgp | 2017-05-01 | 1 | -1/+11 | |
| | |\ \ | | | |/ | ||||||
| | | * | [f9fe90d0fa] [file join] normalization. See filesystem-1.52* | dgp | 2017-05-01 | 1 | -1/+11 | |
| | | | | ||||||
| * | | | [f34cf83dd0] An optimization was being taken in a case where it produced the ↵ | dgp | 2017-04-28 | 1 | -0/+7 | |
| |\ \ \ | | |/ / | | | | | | | | | wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok. | |||||
| | * | | [f34cf83dd0] An optimization was being taken in a case where it produced the ↵ | dgp | 2017-04-28 | 1 | -0/+7 | |
| | |\ \ | | | |/ | | | | | | | | | wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok. | |||||
| | | * | [f34cf83dd0] An optimization was being taken in a case where it produced | dgp | 2017-04-28 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | the wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok. | |||||
| * | | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵ | jan.nijtmans | 2017-02-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking. | |||||
* | | | | Reduce direct use of the tclEmptyStringRep. | dgp | 2016-10-12 | 1 | -2/+1 | |
| | | | | ||||||
* | | | | merge trunk | dgp | 2016-07-09 | 1 | -27/+31 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Merge core-8-6-branch: Bug [a47641a031]. TclJoinPath was calling ↵ | jan.nijtmans | 2016-07-08 | 1 | -3/+7 | |
| |\ \ \ | | |/ / | | | | | | | | | TclNewFSPathObj with a first argument that was not an absolute path. Added a check for that. Fixes Windows test failures fileSystem-1.{3,4} | |||||
| | * | | Bug [a47641a031]. TclJoinPath was calling TclNewFSPathObj with a | ashok | 2016-07-08 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | first argument that was not an absolute path. Added a check for that. Fixes Windows test failures fileSystem-1.{3,4} | |||||
| * | | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵ | jan.nijtmans | 2016-07-08 | 1 | -26/+26 | |
| |/ / | | | | | | | | | | in many places where possible. | |||||
* | | | Use static name for a static struct. | dgp | 2016-04-11 | 1 | -19/+19 | |
|/ / | ||||||
* | | [3479689] Plug memory leak due to incomplete bug fix. | dgp | 2014-07-11 | 1 | -12/+6 | |
| | | ||||||
* | | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵ | jan.nijtmans | 2014-02-10 | 1 | -3/+3 | |
| | | | | | | | | | | 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] | |||||
* | | 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 thread | 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 | |
| | |