summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-10/+76
| | | | | 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-2/+2
| | | | | | | | | | | | | 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.
* * [Patch 505630] Updated interfaces of generic/tclBasic.cc (TIP 27).dgp2002-01-251-3/+3
| | | | | | | * [Patch 506818] Updated interfaces of generic/tclHash.c (TIP 27). * [Patch 506807] Updated interfaces of generic/tclObj.c (TIP 27). * [Patch 507304] Updated interfaces of win/tclWin32.c (TIP 27). * Update all callers.
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-251-4/+4
| | | | | | | | | | | 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.
* * Corrected tilde-substitutiondgp2002-01-251-6/+26
| | | | of pathnames where > 1 separator follows the ~. [Bug 504950]
* * More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that weredgp2002-01-171-8/+8
| | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines.
* * Updated APIs in generic/tclIOUtil.c and generic/tclPosixStr.cdgp2002-01-151-8/+8
| | | | according to the guidelines of TIP 27. Updated callers. [Patch 499196]
* * generic/tclEvent.c (TclInExit):dgp2002-01-071-5/+5
| | | | | | | * generic/tclIOUtil.c (SetFsPathFromAbsoluteNormalized, SetFsPathFromAny,Tcl_FSNewNativePath,DupFsPathInternalRep): * generic/tclListObj.c (TclLsetList,TclLsetFlat): Added some type casts to satisfy picky compilers.
* * doc/FileSystem.3:dgp2002-01-031-19/+19
| | | | | * generic/tclIOUtil.c: Updated some old uses of "fileName" to new VFS terminology, "pathPtr".
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-1/+4
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* file copy soft link docsvincentdarley2001-11-021-7/+16
|
* win fs fixesvincentdarley2001-10-291-19/+15
|
* Tcl_FSChdir fixvincentdarley2001-10-181-6/+40
|
* fs doc improvementvincentdarley2001-09-291-1/+8
|
* * More CONST poisoningdgp2001-09-281-4/+5
| | | | | | fixes from the 2001-09-24 TIP 27 changes. CONST-ified Tcl_FSLoadFile and TclpLoadFile. Report and patch from Kevin Kenny. [Bug 465833]
* channel-copy-fixvincentdarley2001-09-081-19/+16
|
* fsvincentdarley2001-09-061-11/+74
|
* minor fs, vfs fixesvincentdarley2001-09-041-52/+186
|
* filesystemvincentdarley2001-08-301-83/+62
|
* corrected minor compiler warningshobbs2001-08-231-3/+3
|
* fs updatevincentdarley2001-08-231-131/+615
|
* vfs-related fixesvincentdarley2001-08-111-1/+2
|
* * generic/tclIOUtil.c (Tcl_FSMatchInDirectory): correctedhobbs2001-08-021-21/+23
| | | | uninitialized value.
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-311-86/+3358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* * tests/info.test:hobbs2000-05-271-2/+4
| | | | | | | | * doc/info.n: * generic/tclIOUtil.c (Tcl_EvalFile): * generic/tclCmdIL.c (InfoScriptCmd): added ability to set the info script return value [info script ?newFileName?]. This will be beneficial for virtual file system programs. [Bug: 4225]
* * doc/source.n:hobbs2000-05-111-1/+7
| | | | | | | | | * doc/Eval.3: * tests/source.test: * generic/tclIOUtil.c (Tcl_EvalFile): added explicit \32 (^Z) eofchar (affects Tcl_EvalFile in C, "source" in Tcl). This was implicit on Windows already, and is now cross-platform to allow for scripted documents.
* * generic/tclIOUtil.c: changed Tcl_Alloc to ckallochobbs1999-11-101-4/+4
| | | | | | | | | * generic/tclInt.h: * generic/tclObj.c: rolled back changes from 1999-10-29 Purify noted new leaks with that code * generic/tclParse.c: added code in Tcl_ParseBraces to test for possible unbalanced open brace in a comment
* Resynced with mainline.rjohnson1999-04-211-1/+1
|
* changes make Tcl_Access and Tcl_Stat public.hershey1999-04-171-2/+2
| | | | also one minor fix in tests/all.tcl to fix bug 1770.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-72/+76
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Added some ^L page breaks.suresh1998-06-121-3/+3
|
* Some code clean up to removed unnecesary pointer definitions.suresh1998-06-121-66/+103
| | | | Comments and "@@@" To-Do symbols removed.
* Changed call references of 'stat(...)' to 'TclStat(...)' & 'access(...)' tosuresh1998-06-041-1/+444
| | | | | | | | | | | | | 'TclAccess(...)'. Added the "hookable" functions 'TclStat(...)', 'TclAccess(...)', & 'Tcl_OpenFileChannel(...)'. Added appropriate data structure to maintain the linked list of 'TclStat(...)', 'TclAccess(...)', & 'Tcl_OpenFileChannel(...)'. Added the appropriate "insert" and "delete" routines for each of these. A test file 'tests/iOUtil.test' has been written to test the hooking function- ality of each of the routines. 'tclInt.h' has been updated to include the function prototypes for all new functions.
* Initial revisionrjohnson1998-03-261-0/+392