summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
Commit message (Collapse)AuthorAgeFilesLines
* filesystem generic/platform code splittingvincentdarley2004-10-071-176/+14
|
* Simplify the guts of [glob]; maybe mortals can comprehend it now?dkf2004-10-061-110/+96
|
* fix to small filesystem bugsvincentdarley2004-09-271-77/+102
|
* two bugs fixed in filesystem docs and testsvincentdarley2004-08-311-147/+153
|
* cd infinite loop bug fixedvincentdarley2004-07-171-18/+37
|
* cd fix in vfsvincentdarley2004-07-111-12/+19
|
* Fixed Tcl_FSChdir not to forcefully update private cwd cached copy.vasiljevic2004-06-101-2/+16
| | | | | This fixes the problem of [cwd] reporting relative file paths under certain cirumstances.
* Partially corrected [Bug 932314]vasiljevic2004-06-091-5/+12
|
* fix to some compiler warningsvincentdarley2004-05-081-2/+2
|
* vfs glob root volume fixvincentdarley2004-05-071-11/+60
|
* fix to two filesystem bugs: more consistent file separator proc and correct ↵vincentdarley2004-04-231-4/+11
| | | | Tcl_FSJoinPath return values
* fix to comment (bug 931148)vincentdarley2004-04-071-4/+4
|
* Patch 922727 committed. Implements three changes:dgp2004-04-061-3/+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):
* cross-filesystem boundary glob fixvincentdarley2004-04-011-2/+19
|
* fix to glob with volume relative paths, bug 898238vincentdarley2004-03-301-3/+10
|
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-21/+14
|
* filesystem fixes for '-force' consistency and picky compilersvincentdarley2004-01-291-5/+17
|
* file normalize bug fixes for .. and .vincentdarley2004-01-231-7/+34
|
* filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-211-70/+258
| | | | variable names in
* TclFinalizeFilesystem fixvincentdarley2004-01-091-3/+3
|
* All uses of 'panic' (the macro) changeddavygrvy2003-12-241-4/+4
| | | | | | | to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
* Fixed 2 memory (object) leaks; Tcl Bug #839519vasiljevic2003-12-171-2/+4
|
* compilation warningvincentdarley2003-11-071-3/+10
|
* loadHandle vs clientData cleanupvincentdarley2003-11-031-16/+104
|
* * generic/tclBasic.c (TclAppendObjToErrorInfo): New internal routinedgp2003-10-141-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | that appends a Tcl_Obj to the errorInfo, saving the caller the trouble of extracting the string rep. * generic/tclStringObj.c (TclAppendLimitedToObj): New internal routine that supports truncated appends with optional ellipsis marking. This single routine supports UTF-8-safe truncated appends needed in several places throughout the Tcl source code, mostly for error and stack messages. Clean fix for [Bug 760872]. * generic/tclInt.h: Declarations for new internal routines. * generic/tclCmdMZ.c: Updated callers to use the new routines. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclProc.c: * generic/tclStringObj.c: * mac/tclMacResource.c: * library/init.tcl: Updated ::errorInfo cleanup in [unknown] to reflect slight modifications to Tcl_LogCommandInfo(). Corrects failing init-4.* tests.
* filesystem bug fixesvincentdarley2003-10-131-6/+171
|
* Exported symbol name police (thanks GPS for spotting this!)dkf2003-10-101-8/+8
|
* Symbols which are visible outside a single compilation unit must havedkf2003-09-291-10/+10
| | | | | the prefix 'Tcl' to keep them out of the way of non-Tcl C code on Unix. (Problem reported by George Staplin.)
* * doc/FileSystem.3: Implementation ofdgp2003-09-051-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/source.n: TIPs 137/151. Adds * doc/tclsh.1: a -encoding option to * generic/tcl.decls: the [source] command * generic/tclCmdMZ.c (Tcl_SourceObjCmd): and a new C routine, * generic/tclIOUtil.c (Tcl_FSEvalFileEx): Tcl_FSEvalFileEx(), * generic/tclMain.c (Tcl_Main): that provides C access * mac/tclMacResource.c (Tcl_MacSourceObjCmd): to the same function. * tests/cmdMZ.test: Also adds command line * tests/main.test: option handling in Tcl_Main() so that tclsh * tests/source.test: and other apps built on Tcl_Main() respect a -encoding command line option before a script filename. Docs and tests updated as well. [Patch 742683] This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs that embed Tcl, build on Tcl_Main(), and make use of Tcl_Main's former ability to pass a leading "-encoding" option to interactive shell operations. * generic/tclInt.decls: Added internal stub * generic/tclMain.c (Tcl*StartupScript*): table entries for two new functions Tcl_SetStartupScript() and Tcl_GetStartupScript() that set/get the path and encoding for the startup script to be evaluated by either Tcl_Main() or Tk_Main(). Given public names in anticipation of their exposure by a followup TIP. * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c:
* Applied changes from 8.4.4 regarding the Bug #753315vasiljevic2003-08-231-150/+167
|
* * generic/tclIOUtil.c: ensure cd is thread-safe.hobbs2003-05-131-69/+103
| | | | [Bug #710642] (vasiljevic)
* remove duplicate function definitionvincentdarley2003-04-151-121/+1
|
* shared filesystem functionvincentdarley2003-04-141-5/+5
|
* fix 5 small filesystem bugs, and some typosvincentdarley2003-04-111-2084/+434
|
* Mac OS Classic specific fixes:core_8_4_2das2003-03-031-1/+13
| | | | | | | | | | | | | * generic/tclIOUtil.c (TclNewFSPathObj): on TCL_PLATFORM_MAC, skip potential directory separator at the beginning of addStrRep. * mac/tclMacChan.c (OpenFileChannel, CommonWatch): followup fixes to cut and splice implementation for file channels. * mac/tclMacFile.c (TclpUtime): pass native path to utime(). * mac/tclMacFile.c (TclpObjLink): correctly implemented creation of alias files via new static proc CreateAliasFile(). * mac/tclMacPort.h: define S_ISLNK macro to fix stat'ing of links. * mac/tclMacUtil.c (FSpLocationFromPathAlias): fix to enable stat'ing of broken links.
* * generic/tclIOUtil.c (MakeFsPathFromRelative): removed dead codehobbs2003-02-271-6/+2
| | | | check of typePtr (darley).
* * generic/tclIOUtil.c (Tcl_FSJoinPath, Tcl_FSGetNormalizedPath):hobbs2003-02-111-79/+91
| | | | | | | | (UpdateStringOfFsPath): revert the cwdLen == 0 check and instead follow a different code path in Tcl_FSJoinPath. (Tcl_FSConvertToPathType, Tcl_FSGetNormalizedPath): (Tcl_FSGetFileSystemForPath): Update string rep path objects before freeing the internal object. (darley)
* * tests/fileSystem.test: added test 8.3hobbs2003-02-111-73/+78
| | | | | * generic/tclIOUtil.c (Tcl_FSGetNormalizedPath): (Tcl_FSMatchInDirectory): handle the cwdLen == 0 case
* further fs cleanupvincentdarley2003-02-101-43/+8
|
* filesystem speed up round 2vincentdarley2003-02-101-109/+571
|
* finalization and test fixesvincentdarley2003-02-041-86/+131
|
* filesystem bug fix and new testvincentdarley2003-01-281-2/+10
|
* WinTcl crash on exit fixvincentdarley2003-01-101-1/+10
|
* non-ascii chars in file mtime fixvincentdarley2003-01-091-30/+2
|
* * generic/tclIOUtil.c (TclFinalizeFilesystem): reset statics tohobbs2002-12-061-2/+13
| | | | their original values on finalize to allow reuse of the library.
* filesystem cleanup fix, virtual filesystem load fixvincentdarley2002-12-041-12/+15
|
* * generic/tclIOUtil.c (SetFsPathFromAny): Objects should only havedkf2002-08-161-19/+7
| | | | | | | their old representation deleted when we know that we are about to install a new one. This stops a weird TclX bug under Linux with certain kinds of memory debugging enabled which essentally came down to a double-free of a string.
* removed load-related clientData, made filesystem staticvincentdarley2002-07-221-3/+7
|
* removed load-related clientData, made filesystem staticvincentdarley2002-07-221-13/+26
|
* * Silence compiler warning. [Bug 584408]dgp2002-07-211-1/+3
|