summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
Commit message (Collapse)AuthorAgeFilesLines
* fix typo found by Coverity; no effect on "most" platforms (is there anyone ↵Miguel Sofer2015-07-311-2/+2
| | | | where it would matter?)
* Improve documentation on the use of com ports (remove references to Windows ↵jan.nijtmans2014-11-131-4/+4
|\ | | | | | | | | 95, deprecate the use of postfix ':'). Allow lpt[5-9] just as com[5-9], and make sure that path normalization works as expected for ports > 4.
| * Improve documentation on the use of com ports (remove references to Windows ↵jan.nijtmans2014-11-131-4/+4
| | | | | | | | | | 95, deprecate the use of postfix ':'). Allow lpt[5-9] just as com[5-9], and make sure that path normalization works as expected for ports > 4.
* | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-101-1/+0
|\ \ | |/
| * Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-101-1/+0
| |
* | revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-0/+1
|\ \ | |/ | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
| * revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-0/+1
| | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
* | [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.