summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * compat/strftime.c (_fmt, ISO8601Week): Kevin B Kenny2004-05-184-23/+241
| | | | | | | * doc/clock.n: * tests/clock.test: Major rework to the handling of ISO8601 week numbers. Now passes all the %G and %V test cases on Windows, Linux and Solaris [Bugs #500285, #500389, and #852944]
* commit genstubs generated files with unix line endingsdgp2004-05-175-7227/+7227
|
* * generic/tclInt.decls: Restored TclpTime_t kludge to all Kevin B Kenny2004-05-1710-7260/+7272
| | | | | | | * generic/tclIntPlatDecls.h: places where it appeared before the * unix/tclUnixPort.h changes of 14 May, because use of * unix/tclUnixTime.h native time_t in its place requires * win/tclWinTime.h: the 8.5 header reforms. [Bug #955146]
* Docbug. [Bug 953374]dkf2004-05-172-2/+7
|
* 2004-05-14 Kevin B. Kenny <kennykb@acm.org> Kevin B Kenny2004-05-1411-161/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime * generic/tclIntDecls.h: from Unix-specific stubs to the generic * generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs' * generic/tclStubInit.c: * unix/tclUnixPort.h: * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to the correct 'GMT0'. [Bug #922848] * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to unix/tclUnixTime.c where they belong. * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone, ThreadSafeGMTime [removed], ThreadSafeLocalTime [removed], SetTZIfNecessary, CleanupMemory): Restructured to make sure that the same mutex protects all calls to localtime, gmtime, and tzset. Added a check in front of those calls to make sure that the TZ env var hasn't changed since the last call to tzset, and repeat tzset if necessary. [Bug #942078] Removed a buggy test of the Daylight Saving Time information in 'gettimeofday' in favor of applying 'localtime' to a known value. [Bug #922848] * tests/clock.test (clock-3.14): Added test to make sure that changes to $env(TZ) take effect immediately. * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer for 'localtime' and 'gmtime' calls.
* no messagedavygrvy2004-05-101-0/+3
|
* (TclpCreateProcess): When under NT, with no console, and executing adavygrvy2004-05-101-2/+2
| | | | | DOS application, the path priming does not need an ending space as BuildCommandLine() will do this for us.
* no messagedavygrvy2004-05-101-0/+5
|
* (BuildCommandLine): Append a space when the path got primed.davygrvy2004-05-101-4/+6
|
* * doc/unset.n: added upvar.n to the "see also" listMiguel Sofer2004-05-072-2/+6
|
* (TclSetLibraryPath): Suppress a warning [from DKF]davygrvy2004-05-061-3/+3
|
* no messagedavygrvy2004-05-061-0/+43
|
* * generic/tclEncoding.c: Added FreeEncoding(systemEncoding) indavygrvy2004-05-061-1/+2
| | | | | TclFinalizeEncodingSubsystem because its ref count was incremented in TclInitEncodingSubsystem.
* * win/tclWin32Dll.c: Structured Exception Handling added arounddavygrvy2004-05-061-3/+82
| | | | | | | | | | | | Tcl_Finalize called from DllMain's DLL_PROCESS_DETACH. We can't be 100% assured that Tcl is being unloaded by the OS in a stable condition and we need to protect the exit handlers should the stack be in a hosed state. AT&T style assembly for SEH under MinGW included, too. [Patch 858493] Also added DisableThreadLibraryCalls() for the DLL_PROCESS_ATTACH case. We're not interested in knowing about DLL_THREAD_ATTACH, so disable the notices.
* * win/tclWinSock.c:davygrvy2004-05-061-4/+9
| | | | | | | | | | | (SocketThreadExitHandler): Don't call TerminateThread when WaitForSingleObject returns a timeout. Tcl_Finalize called from DllMain will pause all threads. Trust that the thread will get the close notice at a later time if it does ever wake up before being cleaned up by the system anyway. (SocketEventProc) : connect errors should fire both the readable and writable handlers because this is how it works on UNIX [Bug 794839]
* * win/coffbase.txt: Added the tls extension to the list ofdavygrvy2004-05-061-1/+3
| | | | preferred load addresses.
* * generic/tclInt.h:davygrvy2004-05-064-10/+72
| | | | | | | | | * generic/tclThread.c: * generic/tclEvent.c: * unix/tclUnixThrd.c: * win/tclWinThrd.c: Provisions made so masterLock, initLock, allocLock and joinLock mutexes can be recovered during Tcl_Finalize.
* * generic/tclEvent.c: TclSetLibraryPath's use of caching thedavygrvy2004-05-061-4/+16
| | | | | | | | | | | | | | stringrep of the pathPtr object to TclGetLibraryPath called from another thread was ineffective if the original's stringrep had been invalidated as what happens when it gets muted to a list. * generic/tclInt.h: * generic/tclThread.c: * generic/tclEvent.c: * unix/tclUnixThrd.c: * win/tclWinThrd.c: Provisions made so masterLock, initLock, allocLock and joinLock mutexes can be recovered during Tcl_Finalize.
* * tests/unixInit.test (unixInit-2.10): Test correction for Mac OSX.dgp2004-05-052-3/+13
| | | | | Be sure to consistently compare normalized path names. Thanks to Steven Abner (tauvan). [Bug 948177]
* Remove reference to totally non-existant API. [Bug 848440]dkf2004-05-052-2/+7
|
* * generic/tclIOUtil.c (Tcl_FSChdir): Work-around crash conditionhobbs2004-05-043-9/+69
| | | | | * tests/winFCmd.test (winFCmd-16.12): triggered when $HOME is volumerelative (ie 'C:').
* * tests/fileName.test (filename-12.9): use C:/ instead of thehobbs2004-05-042-2/+10
| | | | | first item in file volumes - that's usually A:/, which for most will have nothing in it.
* * tests/tcltest.test: Test corrections for Mac OSX. Thanksdgp2004-05-042-10/+24
| | | | to Steven Abner (tauvan). [Bug 947440]
* * Applied [SF Tcl Patch 868853], fixing a mem leak inandreas_kupries2004-05-042-1/+16
| | | | | TtySetOptionProc. Report and Patch provided by Stuart Cassoff <stwo@users.sf.net>.
* * win/tclWin32Dll.c (TclpCheckStackSpace): Kevin B Kenny2004-05-033-3/+39
| | | | | * tests/stack.test (stack-3.1): Fix for undetected stack overflow in TclReExec on Windows. [Bug 947070]
* * library/init.tcl: Corrected unique prefix matching ofdgp2004-05-032-3/+17
| | | | interactive command completion in [unknown]. [Bug 946952]
* * generic/tclProc.c (TclObjInvokeProc):Miguel Sofer2004-05-023-5/+35
| | | | | * tests/proc.test (proc-3.6): fix for bad quoting of multi-word proc names in error messages [Bug 942757]
* * generic/tclIO.c (Tcl_SetChannelOption): Fixed [SF Tcl Bugandreas_kupries2004-04-234-2/+880
| | | | | 930851]. When changing the eofchar we have to zap the related flags to prevent them from prematurely aborting the next read.
* revert back to 1.24.2.2 from prior mistaken commit.davygrvy2004-04-231-34/+5
|
* * win/tclWinTime.c: If the Tcl_ExitProc (StopCalibration) isdavygrvy2004-04-231-5/+34
| | | | | called from the stack frame of DllMain's PROCESS_DETACH, the wait operation should timeout and continue.
* * win/configure:hobbs2004-04-073-9/+39
| | | | | * win/configure.in: define TCL_LIB_FLAG, TCL_BUILD_LIB_SPEC, TCL_LIB_SPEC and TCL_PACKAGE_PATH in tclConfig.sh.
* * tests/unixInit.test (unixInit-3.1): Default encoding on Darwindgp2004-04-062-2/+9
| | | | systems is utf-8. Thanks to Steven Abner (tauvan). [Bug 928808]
* root interacts badly with access(...,X_OK) [Bug 929892]dkf2004-04-062-2/+8
|
* add thanksdgp2004-04-021-1/+1
|
* * tests/tcltest.test: Corrected constraint typos: "nonRoot" ->dgp2004-04-022-4/+9
| | | | "notRoot". [Bug 928353]
* * doc/msgcat.n: Clarified message catalog file encodings. [Bug 811457]dgp2004-03-313-9/+17
| | | | | | | | | | | * library/msgcat/msgcat.tcl ([mcset], [ConvertLocale], [Init]): Corrected [mcset] to be able to successfully set a translation to the empty string. [mcset $loc $src {}] was incorrectly set the $loc translation of $src back to $src. Also changed [ConvertLocale] to minimally require a non-empty "language" part in the locale value. If not, an error raised prompts [Init] to keep looking for a valid locale value, or ultimately fall back on the "C" locale. [Bug 811461]. * library/msgcat/pkgIndex.tcl: Bump to msgcat 1.3.2.
* * library/msgcat/msgcat.tcl ([mcset]): Corrected [mcset] to be abledgp2004-03-313-5/+12
| | | | | | * library/msgcat/pkgIndex.tcl: to successfully set a translation to the empty string. [mcset $loc $src {}] was incorrectly set the $loc translation of $src back to $src. Bump to msgcat 1.3.2.
* Backport of fixes to make HashObjKey hash the whole object...dkf2004-03-302-18/+14
|
* * generic/tclInt.h:hobbs2004-03-297-44/+78
| | | | | | | | | * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): * mac/tclMacInit.c (TclpInitLibraryPath): Correct handling of UTF * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the * win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from paths that contain multi-byte chars on Windows [Bug 920667]
* * generic/tclCompile.c (TclCompileScript): corrected possibleMiguel Sofer2004-03-292-3/+10
| | | | | segfault when a compilation returns TCL_OUTLINE_COMPILE after having grown the compile environment [Bug 925121].
* * win/tclWinInit.c (TclpSetInitialEncodings): recognize WIN32_CEhobbs2004-03-212-5/+14
| | | | as a unicode (WCHAR) platform.
* define WIN32_CE platform infohobbs2004-03-211-1/+5
|
* * generic/tclCompile.c (TclCompileScript):Miguel Sofer2004-03-153-6/+18
| | | | | | | | | * tests/compile.test (compile-3.5): corrected wrong test and behaviour in the earlier fix for [Bug 705406]; Don Porter reported this as [Bug 735055], and provided the solution. Fixed in HEAD on 2003-05-09, but backport to 8-4-branch was wrongly omitted; re-reported as [Bug 916795] by Roy Terry, diagnosed by dgp.
* glob -path fix for near filesystem rootvincentdarley2004-03-093-2/+48
|
* updated release note files for 8.4.6core_8_4_6dgp2004-03-012-4/+14
|
* * unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling ondgp2004-03-013-2/+6
| | | | | IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.13
* * generic/tclCmdMZ.c (TclCheckInterpTraces): The TIP 62dgp2004-03-014-4/+34
| | | | | | | | * generic/tclTest.c (TestcmdtraceCmd): implementation introduced a * tests/basic.test (basic-39.10): bug by testing the CallFrame level instead of the iPtr->numLevels level when deciding what traces created by Tcl_Create(Obj)Trace to call. Added test to expose the error, and made fix. [Request 462580]
* * macosx/Makefile: fixed copyright year in Tcl.framework Info.plistdas2004-02-262-3/+8
|
* moved core-8-4-6 release taghobbs2004-02-261-4/+2
|
* * tests/basic.test: Made several tests more robust to thedgp2004-02-259-102/+170
| | | | | | | | | | * tests/cmdMZ.test: list-quoting of path names that might * tests/exec.test: contain Tcl-special chars like { or [. * tests/io.test: Should help us sort out Tcl Bug 554068. * tests/pid.test: * tests/socket.test: * tests/source.test: * tests/unixInit.test: