summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclFileName.c (DoGlob): match incrs with decrs.hobbs2006-08-301-1/+3
|
* fix to two filesystem issuesvincentdarley2006-03-191-31/+28
|
* fix to glob memory leak and file stat ino/nlink on windowsvincentdarley2005-10-231-1/+7
|
* ANSI function definitionsdkf2005-10-181-137/+137
|
* Getting more systematic about styledkf2005-07-171-422/+540
|
* bug 1194458Kevin B Kenny2005-06-211-8/+15
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
|
* silenced a compiler warningKevin B Kenny2005-04-201-2/+2
|
* 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/+4
| | | | ok on unix
* 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-14/+15
|
* fix to test suite failuresvincentdarley2005-02-101-3/+12
|
* * generic/tclThread.c: Typo police. Fixed some nitsandreas_kupries2005-01-211-2/+2
| | | | | | * generic/tclCmdAH.c: in header comments of functions. * generic/tclBasic.c: (Missing --). * generic/tclFileName.c:
* fix to glob failure on Windows sharesvincentdarley2005-01-171-2/+18
|
* filesystem generic/platform code splittingvincentdarley2004-10-071-3/+14
|
* Simplify the guts of [glob]; maybe mortals can comprehend it now?dkf2004-10-061-199/+214
|
* Silence compiler warning...dkf2004-10-061-1/+2
|
* Style fixes (spaces, braces, etc.)dkf2004-10-061-466/+463
|
* fix to small filesystem bugsvincentdarley2004-09-271-1/+7
|
* fix to some compiler warningsvincentdarley2004-05-081-2/+6
|
* vfs glob root volume fixvincentdarley2004-05-071-2/+19
|
* Patch 922727 committed. Implements three changes:dgp2004-04-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* Corrected case: Filesystem.h -> FileSystem.hdgp2004-03-301-2/+2
|
* fix to glob with volume relative paths, bug 898238vincentdarley2004-03-301-2/+50
|
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-576/+3
|
* glob -path fix for near filesystem rootvincentdarley2004-03-091-3/+6
|
* glob -path fix for near filesystem rootvincentdarley2004-03-091-1/+8
|
* * generic/tclFileName.c (SkipToChar): Corrected CONST anddgp2004-02-051-6/+5
| | | | type-casting issues that caused compiler warnings.
* filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-211-374/+436
| | | | variable names in
* * 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.
* filesystem bug fixesvincentdarley2003-10-131-5/+7
|
* 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>hobbs2003-07-171-40/+13
| | | | | | | | | * generic/tclPathObj.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. [Patch 679315]
* * generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]dgp2003-07-161-2/+1
| | | | | | * generic/tclPathObj.c (Tcl_FSConvertToPathType):[Bug 771947] * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949] Silence compiler warnings about unreached lines.
* fix to glob and filenames with square bracketsvincentdarley2003-04-251-3/+14
|
* remove unused variablevincentdarley2003-01-091-4/+1
|
* 3 small fixesvincentdarley2002-11-131-3/+45
|
* 2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>hobbs2002-09-271-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added basic Cygwin support. * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW. * win/configure.in: Allow Cygwin build. (SEH test): Define to be 1 instead of empty value. (EXCEPTION_DISPOSITION): Add test. * win/configure: Regenerate. * generic/tcl.h: Don't explicitly define __WIN32__ for Cygwin, let the user decide whether to use Windows or POSIX personality. (TCL_WIDE_INT_TYPE, TCL_LL_MODIFIER, struct Tcl_StatBuf): Define for Cygwin. * generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for Cygwin. * generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX to native format. (TclDoGlob): Likewise. * generic/tclPlatDecls.h (TCHAR): Define for Cygwin. * win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree, TclpSysRealloc): Define for Cygwin.
* * generic/tclFileName.c (TclGlob): mac specific fix todas2002-06-051-2/+12
| | | | | | | | | recent changes in 'glob -tails' handling. * mac/tclMacPort.h: * mac/tclMacChan.c: fixed TIP#91 bustage. * mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf conversion of text resource contents. * tests/macFCmd.test (macFCmd-1.2): allow CWIE creator.
* glob fixesvincentdarley2002-05-301-28/+62
|
* fix to bug 553320vincentdarley2002-05-071-2/+9
|
* fix to 551306vincentdarley2002-05-021-6/+6
|
* 4 fs fixesvincentdarley2002-03-241-21/+10
|
* * generic/tclFileName.c (Tcl_TranslateFileName): decr refcount forhobbs2002-02-271-3/+4
| | | | error case to prevent mem leak.
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-2/+26
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* * Partial TIP 27 rollback. Following routinesdgp2002-02-081-3/+3
| | | | | | | | | | | | | restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects. * generic/tclCmdMZ.c: corrected use of C++-style comment.
* * Sought out and eliminated instances of CONST-casting that are nodgp2002-01-261-3/+3
| | | | longer needed after the TIP 27 effort.
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-251-46/+24
| | | | | | | | | | | generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath.
* * More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that weredgp2002-01-171-2/+2
| | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines.
* * Updated APIs in generic/tclUtf.c and generic/tclRegexp.c accordingdgp2002-01-171-3/+3
| | | | to the guidelines of TIP 27. Updated callers.