summaryrefslogtreecommitdiffstats
path: root/generic/tclPathObj.c
Commit message (Collapse)AuthorAgeFilesLines
* various "const" additions, in line with TIP #27nijtmans2007-02-201-26/+26
|
* Bug #1479814. Handle extended paths on Windows NT and above.patthoyts2007-02-201-1/+16
|
* fixed [ 1548263 ] NULL return from Tcl_FSGetNormalizedPath segvcoldstore2006-08-291-2/+4
|
* * generic/tclPathObj.c: Yet another revised fix for the [Bug 1379287]dgp2006-04-071-5/+12
| | | | * tests/fileSystem.test: family of path normalization bugs.
* * generic/tclPathObj.c: Revised fix for the [Bug 1379287] familydgp2006-04-061-30/+19
| | | | of path normalization bugs.
* * generic/tclPathObj.c: More fixes for path normalization when /../dgp2006-03-291-9/+15
| | | | * tests/fileSystem.test: tries to go beyond root.[Bug 1379287]
* another stab at fixing 1379287dgp2006-03-041-6/+13
|
* * generic/tclPathObj.c: Revised yesterday's fix for [Bug 1379287]dgp2006-03-031-4/+6
| | | | to work on Windows.
* * generic/tclPathObj.c: Fix for failed normalization ofdgp2006-03-031-2/+10
| | | | | * tests/fileSystem.test: paths with /../ that lead back to the root of the filesystem, like /foo/.. [Bug 1379287].
* Fixed potential overwriting of already freed memoryvasiljevic2006-01-121-3/+7
| | | | | which caused all kinds of (rare but reproducible) coredumps all over the place.
* * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes (dist): add new macosx files. * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixFCmd.c: * macosx/tclMacOSXFCmd.c: ppc64 and endian (i386) fixes. (TclMacOSXCopyFileAttributes): add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser (new file): * macosx/Tcl.xcode/project.pbxproj (new file): * macosx/Tcl.xcodeproj/default.pbxuser (new file): * macosx/Tcl.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tcltest targets and support for universal (fat) compiles. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * unix/dltest/Makefile.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tcl/macosx, add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tcl.decls: add Tcl_Main declaration as comment to avoid 'checkstubs' target complaining about it missing from stubs. * generic/regex.h: * generic/tclDate.c: * generic/tclEnv.c: * generic/tclGetDate.y: * generic/tclIOUtil.c: * generic/tclObj.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclPathObj.c: * generic/tclThreadAlloc.c: * generic/tclThreadStorage.c: * generic/tclTrace.c: * generic/tclVar.c: * generic/tommath.h: * tools/fix_tommath_h.tcl: * unix/tclUnixFCmd.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file). These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclNamesp.c (NamespaceEnsembleCmd): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/tclExecute.c (TclExecuteByteCode): fix unused variable warning when NO_WIDE_TYPE is defined. * generic/regguts.h: only #define NDEBUG if not already #defined. * unix/tclUnixNotfy.c: * macosx/tclMacOSXNotify.c: sync whitespace & comments. * unix/tclUnixPort.h: * win/tclWinPort.h: remove declaration of obsolete&unused TclpMutex API. * unix/configure: * unix/tclConfig.h.in: regen.
* Formatting and pure ANSI function declsdkf2005-10-121-152/+161
|
* Fix for [Bug 1325099]dkf2005-10-121-2/+2
|
* More informative comment.dkf2005-08-091-2/+6
|
* added nul-termination missing from earlier commit todaydgp2005-08-091-1/+2
|
* file rootname bug fixvincentdarley2005-08-081-2/+5
|
* Systematizing the formattingdkf2005-07-211-881/+932
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
|
* * doc/Thread.3: Fixed sentence describing flags for Tcl_CreateThread.davidw2005-02-051-2/+2
| | | | | | | * doc/FileSystem.3: Cleaned up typo in Tcl_FSNewNativePath documentation. * generic/tclPathObj.c: Cleaned up typo in comment.
* filesystem, glob, tilde fixvincentdarley2004-12-021-1/+17
|
* fix to windows file join bugvincentdarley2004-11-221-4/+12
|
* filesystem generic/platform code splittingvincentdarley2004-10-071-80/+6
|
* Style improvements and more macro use.dkf2004-10-061-203/+361
|
* Factorize out the code for freeing an object's internal rep.dkf2004-09-291-13/+5
|
* fix to small filesystem bugsvincentdarley2004-09-271-8/+15
|
* * generic/tclPathObj.c: Corrected [file tail] results when operatingdgp2004-06-101-1/+16
| | | | on a path produced by TclNewFSPathObj(). [Bug 970529]
* Silence compiler warnings.dgp2004-06-081-2/+3
|
* fix to 'file dirname' and to fs refCount documentationvincentdarley2004-05-191-3/+28
|
* fix to two filesystem bugs: more consistent file separator proc and correct ↵vincentdarley2004-04-231-2/+10
| | | | Tcl_FSJoinPath return values
* 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):
* fix to Tcl bug 918320vincentdarley2004-03-301-19/+25
|
* fixed another volume-relative file normalization problemvincentdarley2004-03-261-4/+12
|
* fix to windows volume-relative path normalizationvincentdarley2004-03-261-5/+7
|
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-81/+8
|
* fixed typos in documentation and commentsvincentdarley2004-03-091-3/+3
|
* fix to file normalization with linksvincentdarley2004-01-291-11/+43
|
* filesystem fixes for '-force' consistency and picky compilersvincentdarley2004-01-291-1/+7
|
* file normalize bug fixes for .. and .vincentdarley2004-01-231-1/+4
|
* filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-211-211/+541
| | | | variable names in
* All uses of 'panic' (the macro) changeddavygrvy2003-12-241-2/+2
| | | | | | | to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
* fix to fs norm bug 860402vincentdarley2003-12-171-4/+7
|
* fixed Tcl_FSGetTranslatedPath to always return properly refcountedvasiljevic2003-12-171-9/+10
| | | | path object. This fixes Tcl Bug #861515.
* Stop warnings due to (annoying) C type promotion rules.dkf2003-12-141-6/+5
|
* rewrite of file normalizationvincentdarley2003-12-141-84/+220
|
* remove windows [cd] bugvincentdarley2003-11-241-5/+12
|
* whitespacevincentdarley2003-11-031-2/+2
|
* filesystem bug fixesvincentdarley2003-10-131-2/+14
|
* Exported symbol name police (thanks GPS for spotting this!)dkf2003-10-101-9/+9
|
* fixed inconsistent handling of file separators in file joinvincentdarley2003-09-301-34/+53
|
* Symbols which are visible outside a single compilation unit must havedkf2003-09-291-14/+14
| | | | | the prefix 'Tcl' to keep them out of the way of non-Tcl C code on Unix. (Problem reported by George Staplin.)