summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
Commit message (Collapse)AuthorAgeFilesLines
* filesystem generic/platform code splittingvincentdarley2004-10-071-1/+128
|
* * unix/tclUnixFile.c (NativeMatchType): added support fordas2004-07-201-1/+5
| | | | readonly matching of user immutable files (where available).
* * generic/tclEncoding.c: Static TclFindEncodings -> FindEncodings.dgp2004-06-181-2/+3
| | | | | | | * generic/tclInt.h: Updated TclpFindExecutable() so that failed * generic/tclUtil.c: attempts to find the executable are saved * unix/tclUnixFile.c: just as successful finds are. [Patch 966053] * unix/tclUnixTest.c:
* 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):
* filesystem fixes for '-force' consistency and picky compilersvincentdarley2004-01-291-1/+6
|
* filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-211-21/+53
| | | | variable names in
* fix to file normalization with relative linksvincentdarley2003-12-171-11/+47
|
* allow creation of relative linksvincentdarley2003-12-121-3/+24
|
* free path when no longer neededvincentdarley2003-11-031-1/+2
|
* filesystem bug fixesvincentdarley2003-10-131-3/+10
|
* glob -l on broken symlink fixvincentdarley2003-02-121-2/+14
|
* * unix/tclUnixFile.c (TclpMatchInDirectory): simplify the hiddenhobbs2003-02-111-24/+14
| | | | file match check.
* filesystem speed up round 2vincentdarley2003-02-101-58/+36
|
* non-ascii chars in file mtime fixvincentdarley2003-01-091-1/+24
|
* * unix/tclUnixFile.c (TclpObjLink): removed unnecessary/unfreedhobbs2002-09-031-13/+4
| | | | extra native char*.
* vfs fixesvincentdarley2002-07-201-4/+8
|
* Global symbols are now all either prefixed with 'tcl' (or 'Tcl' or ...) or ↵dkf2002-07-191-4/+2
| | | | have file-scope.
* Changed all the Tcl_Platform* symbols to TclOS*; they weren't public so theirdkf2002-06-281-15/+15
| | | | names were really badly chosen. Also prevented a double-#def.
* tip99vincentdarley2002-06-211-8/+23
|
* vfs, winfs testsuitevincentdarley2002-06-131-5/+9
|
* Made this file compile!dkf2002-06-121-2/+4
|
* fs clarification and windows fixesvincentdarley2002-06-121-7/+19
|
* fix to 551306vincentdarley2002-05-021-1/+28
|
* 4 fs fixesvincentdarley2002-03-241-196/+219
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-25/+19
| | | | | 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.
* * djgpp/ (new directory)davygrvy2002-02-121-3/+12
| | | | | | | | | | | | | | | * djgpp/Makefile (new): * unix/tclAppInit.c: * unix/tclMtherr.c: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPort.h: Early stage of DJGPP support for building Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32 for the TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe that runs Tcl in protected-mode, flat memory. [exec] and pipes will need the most work as multi-tasking on DOS has to be carefully.
* * Partial TIP 27 rollback. Following routinesdgp2002-02-081-5/+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.
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-251-7/+7
| | | | | | | | | | | 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-5/+5
| | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines.
* Fix for bug 475941; access() was being called with path-free file names ondkf2001-10-291-5/+4
| | | | some paths through the glob code!
* filesystemvincentdarley2001-08-301-136/+88
|
* fs updatevincentdarley2001-08-231-49/+72
|
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-311-136/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * unix/tclUnixFile.c: fixed signature style on functionshobbs2000-01-111-16/+16
| | | | | | * unix/Makefile.in: made sure tcl.m4 would be installed with dist * unix/tcl.m4: added ELF support for NetBSD [Bug: 3959]
* removed \n in panichobbs1999-12-131-2/+2
|
* * doc/glob.n:hobbs1999-12-121-19/+117
| | | | | | | | | | | | | | | | * tests/fileName.test: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclEncoding.c: * generic/tclFileName.c: * mac/tclMacFile.c: * unix/tclUnixFile.c: * win/tclWinFile.c: enhanced the glob command with the new options -types -path -directory and -join. Deprecated TclpMatchFiles with TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added GlobTypeData structure.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-295/+308
|
* Merged stubs changes into mainline for 8.0stanton1999-03-101-2/+50
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* fixed behavior of Tcl_FindExecutable on null path elementsstanton1998-06-171-1/+10
|
* Changed call ref's of 'stat(...)' to 'TclStat(...)' and 'access(...)' tosuresh1998-05-201-4/+4
| | | | 'TclAccess(...)'.
* Initial revisionrjohnson1998-03-261-0/+528