summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
Commit message (Collapse)AuthorAgeFilesLines
* [Bug #1536227]: Cygwin network pathname supoortjan.nijtmans2012-08-081-47/+53
|\
| * [Bug #1536227]: Cygwin network pathname supoortjan.nijtmans2012-08-081-145/+96
| |
* | converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-17/+22
| |
* | missed a spotdkf2012-07-041-2/+1
| |
* | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-17/+15
| |
* | [Patch #1536227]: Cygwin network pathname supportjan.nijtmans2012-06-251-17/+23
|\ \ | |/
| * [Patch #1536227]: Cygwin network pathname supportjan.nijtmans2012-06-251-6/+23
| |\
| | * Cygwin network pathname supportbug_1536227jan.nijtmans2012-06-221-6/+28
| |/
* | When using Tcl_SetObjLength() calls to grow and shrink the objPtr->bytes buffer,dgp2012-05-211-2/+2
|\ \ | |/ | | | | | | 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,dgp2012-05-211-2/+2
| |\ | | | | | | | | | | | | 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,dgp2012-05-211-2/+2
| | | | | | | | | | | | | | | 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.
| | * make some more internal tables CONSTjan.nijtmans2012-04-181-1/+1
| | | | | | | | | fix compilation with -DNO_CONST
* | | * generic/tclUtil.c (TclDStringToObj): Added internal function to makedkf2012-04-251-9/+4
| | | | | | | | | | | | the fairly-common operation of converting a DString into an Obj a more efficient one.
* | | Reduce amount of unreachable code. Refactor Win socket and load code to be lessdkf2012-04-051-67/+9
| | | | | | | | | baroque in its internals.
* | | some formatting (*.decls)jan.nijtmans2012-04-041-9/+0
|\ \ \ | |/ / | | | | | | remove some unused cygwin-related code some minor gcc warnings
| * | some formatting (*.decls)jan.nijtmans2012-04-041-9/+0
| |\ \ | | |/ | | | | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings
| | * [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-201-11/+0
| | | | | | | | | (backported from Tcl 8.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
| * | CONST-ification update.dgp2011-10-271-2/+3
| | |
* | | 3479689 New internal routine TclJoinPath().dgp2012-01-271-22/+18
| | | | | | | | | | | | Refactor all the *Join*Path* routines to give them more useful interfaces that are easier to manage getting the refcounts right.
* | | Use Tcl_PrintfObj to generate more (complex) error messages.dkf2011-08-051-7/+7
| | |
* | | More generation of errorCode information (default [bgerror] and [glob]).dkf2011-04-021-0/+17
| | |
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-3/+2
| | | | | | | | | 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 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.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-171-3/+27
| | | | | | | | | | | | * tests/fileName.test: matches something like ~foo. [Bug 2837800]
| | * * generic/tclFileName.c (TclDoGlob): One of thedgp2008-12-031-4/+4
| | | | | | | | | | | | | | | | | | | | | Tcl_FSMatchInDirectory() calls did not have its return code checked. Some VFS drivers can return TCL_ERROR, and when that's not checked, the error message gets converted into a list of matching files returned by [glob], with ridiculous results.
| | * * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-1/+5
| | | | | | | | | | | | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
| | * Attempt to correct regression filename-16.6 due to 2006-05-13 commit.dgp2006-10-031-2/+6
| | |
| | * * generic/tclFileName.c (TclGlob): Prevent doubling of directorydgp2006-10-021-1/+5
| | | | | | | | | | | | separators by [glob]. [Bug 1569042]
| | * * generic/tclFileName.c (TclDoGlob): match incr with existing decr.hobbs2006-08-301-6/+6
| | |
| | * * generic/tclFileName.c (TclDoGlob): Disabled the partialdgp2006-05-131-4/+8
| | | | | | | | | | | | | | | | | | normalization done by the recursive glob routine, since changing the precise string of the pathname broke [glob] on some Tcl_Filesystems. [Bug 943995]
| | * bugs 1194458 and 1225044Kevin B Kenny2005-06-211-9/+15
| | |
| | * more tests and a fix to bug 1158199vincentdarley2005-03-151-4/+7
| | |
| | * fix to file norm, file pathtype on windows reserved filenames - ensure build ↵vincentdarley2005-03-151-4/+10
| | | | | | | | | | | | ok on unix
| | * fix to file norm, file pathtype on windows reserved filenamesvincentdarley2005-03-151-18/+19
| | |
| | * glob -path fix for near filesystem rootvincentdarley2004-03-091-1/+11
| | |
| | * * generic/tclFileName.c (Tcl_GlobObjCmd): Latest changes todgp2004-01-131-24/+16
| | | | | | | | | | | | | | | | | | | | | management of the interp result by Tcl_GetIndexFromObj() exposed improper interp result management in the [glob] command procedure. Corrected by adopting the Tcl_SetObjResult(Tcl_NewStringObj) pattern. This stopped a segfault in test filename-11.36.
| | * filesystem bug fixes: volumerelative normalization, file join inconsistencyvincentdarley2003-10-061-2/+3
| | |
| | * backporting of filesystem tests, docsvincentdarley2003-10-031-5/+6
| | |
| | * 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>hobbs2003-07-171-40/+13
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIOUtil.c (SetFsPathFromAny): Add Cygwin specific code to convert POSIX filename to native format. * generic/tclFileName.c (Tcl_TranslateFileName): And remove from here. (TclDoGlob): Adjust for cygwin and append / for dirs instead of \ * win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin.
| | * * generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]dgp2003-07-161-2/+1
| | | | | | | | | | | | | | | | | | * generic/tclIOUtil.c (Tcl_FSConvertToPathType):[Bug 771947] * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949] Silence compiler warnings about unreached lines.
| | * glob and square brackets fixvincentdarley2003-04-291-3/+14
| | |
| * | installData.tcl: Make sure that copyDir only receives normalized paths.nijtmans2010-05-211-5/+4
| | | | | | | | | | | | | | | | | | 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/tclFileName.c: Correct regression in [Bug 2837800] fix.dgp2009-08-211-2/+2
| | | | | | | | | | | | * tests/fileName.test:
| * | * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-201-2/+30
| | | | | | | | | | | | matches something like ~foo. [Bug 2837800]
| * | * generic/tclFileName.c (DoGlob): One of thedgp2008-12-031-3/+4
| | | | | | | | | | | | | | | | | | Tcl_FSMatchInDirectory() calls did not have its return code checked. This caused error messages returned by some Tcl_Filesystem drivers to be swallowed.
| * | * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-1/+5
| | | | | | | | | | | | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
* | | Don't use arrays of length 1, just use a single element then, it makes code ↵nijtmans2010-05-191-6/+6
| | | | | | | | | | | | more readable.