summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* vfs fixesvincentdarley2002-07-201-1/+2
|
* Global symbols are now all either prefixed with 'tcl' (or 'Tcl' or ...) or ↵dkf2002-07-191-17/+24
| | | | have file-scope.
* Tcl_LoadHandle usagevincentdarley2002-07-181-5/+5
|
* load comments and clientData replacementvincentdarley2002-07-181-3/+4
|
* load comments and clientData replacementvincentdarley2002-07-181-9/+9
|
* load internals refactoringvincentdarley2002-07-171-1/+43
|
* comment cleanup and code speedup for fsvincentdarley2002-07-151-9/+9
|
* no zero refcount in Tcl_FSvincentdarley2002-07-081-1/+12
|
* fs cleanupvincentdarley2002-07-081-2/+2
|
* fs cleanupvincentdarley2002-07-081-2/+23
|
* empty path name error msgsvincentdarley2002-06-261-1/+19
|
* tip99vincentdarley2002-06-211-10/+13
|
* vfs, winfs testsuitevincentdarley2002-06-131-3/+4
|
* fs clarification and windows fixesvincentdarley2002-06-121-20/+53
|
* fs fixed commitvincentdarley2002-06-101-3/+3
|
* small fs fixesvincentdarley2002-06-101-11/+43
|
* load cleanup in vfsvincentdarley2002-05-281-7/+56
|
* memory cleanupvincentdarley2002-05-141-2/+17
|
* memory cleanupvincentdarley2002-05-131-2/+54
|
* commentvincentdarley2002-05-131-3/+5
|
* fix to 551306vincentdarley2002-05-021-31/+45
|
* * generic/tclIOUtil.c (Tcl_FSRegister, Tcl_FSUnregister):hobbs2002-04-231-10/+13
| | | | | corrected calling of Tcl_ConditionWait to ensure that there would be a condition to wait upon.
* tilde expansion cache-clearingvincentdarley2002-04-031-20/+27
|
* fixed typo and compiler warning in last commit; all tests now pass on unixvincentdarley2002-03-241-2/+2
|
* 4 fs fixesvincentdarley2002-03-241-14/+48
|
* Further changes to the TIP 72 patch to make it compile under VC++Kevin B Kenny2002-02-151-3/+18
|