| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
the same field, but it allows twoPtrValue.ptr2 to be used for other purposes.
|
|
|
|
| |
string.
|
| |
|
|
|
|
| |
quoting improvements
eliminate unused variable
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/ |
|
| |
| |
| | |
Store the Tcl_Filesystem instead, which is what we actually need.
|
|/
|
| |
something we are caching.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
move up #undef, for macro which is conflicting with later stuff.
remove some unused cygwin-related code
some minor gcc warnings
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
more harm than good. Purged them.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* 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]
|
|
|
|
| |
caused crashes. [Bug 2884203].
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* tests/fileName.test: [glob]. [Bug 2837800]
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
|
| |
* tests/fileName.test: that assumed (not "absolute" => "relative").
This is a false assumption on Windows, where "volumerelative" is
another possibility. [Bug 2571597].
|
|
|
|
|
| |
flag value TCLPATH_NEEDNORM to mark those intreps which need more
complete normalization attention for correct results. [Bug 2385549]
|
|
|
|
| |
Rolf Ade for detecting.
|
|
|
|
| |
Rolf Ade for detecting and Dan Steffen for the fix [Bug 2004654].
|
|
|
|
|
| |
Tcl_ObjType for the empty string value. Problem led to a crash in
the command [glob -dir {} a]. [Bug 1999176].
|
|
|
|
|
|
|
| |
operating on the "Special path" variant of the "path" Tcl_ObjType
intrep. A full normalization was getting done, in particular, coercing
relative paths to absolute, contrary to what the function of
producing the "translated path" is supposed to do. [Bug 1972879].
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Corrected several memory leaks that caused refcount imbalances
resulting in memory leaks on Windows. Thanks to Joe Mistachkin
for the patch.
|
|
|
|
| |
1515234]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and 'lowercase' in clock.n. [Bug 1656002]
Clarified that [clock scan] does not recognize a locale's
alternative calendar.
* library/clock.tcl: Corrected an error in skipping over the
%Ey field on input.
* library/msgs/ja.msg:
* tools/loadICU.tcl: Corrected several localisation faults in
the Japanese locale (most notably, incorrect dates for the
Emperors' eras). [Bug 1637471]. Many thanks to SourceForge
user 'nyademo' for pointing this out and developing a fix.
* generic/tclPathObj.c: Corrected a 'const'ness fault that
caused bitter complaints from MSVC.
|
| |
|
|
|
|
| |
efficient). After [Patch 1529526] (afredd)
|
| |
|
| |
|
| |
|
|
|
|
| |
* tests/fileSystem.test: family of path normalization bugs.
|
|
|
|
| |
of path normalization bugs.
|
|
|
|
| |
* tests/fileSystem.test: tries to go beyond root.[Bug 1379287]
|
| |
|
|
|
|
| |
to work on Windows.
|
|
|
|
|
| |
* tests/fileSystem.test: paths with /../ that lead back
to the root of the filesystem, like /foo/.. [Bug 1379287].
|