summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclExecute.c (INST_CONCAT1): added a peepholeMiguel Sofer2004-09-102-1/+22
| | | | | | optimisation for concatting an empty string. This enables replacing the idiom 'K $x [set x {}]' by '$x[set x {}]' for fastest execution.
* Also corrected faulty prevention of [namespace import] cycles.dgp2004-09-093-22/+74
| | | | [Bug 1017299]
* * generic/tclNamesp.c (Tcl_ForgetImport): Corrected faultydgp2004-09-093-46/+199
| | | | | * tests/namespace.test: logic that relied exclusively on string matching and failed in the presence of [rename]s. [Bug 560297]
* * compat/strftime.c (_conv): Corrected a problem where hour 0Kevin B Kenny2004-09-083-5/+22
| | | | | | would format as a blank format group with %k. * tests/clock.test (clock-41.1): Added regression test case for %k at the zero hour.
* * generic/tclTimer.c: Removed a premature optimisation thatKevin B Kenny2004-09-072-14/+11
| | | | | | attempted to store the assoc data in the client data; the optimisation caused a bug that [after] would overwrite its imports. [Bug 1016167]
* Clarify meaning of [lsearch -dictionary]dkf2004-09-022-3/+10
|
* * win/tclWin32Dll.c (TclWinCPUID): need _asm for WIN64 (Itanium),hobbs2004-09-012-3/+13
| | | | until we have it, just return unknown. [Bug 1020445]
* WIN64 correctionshobbs2004-09-012-9/+17
|
* Fix crash in [string map] when objects are shared. [Bug 1018562]dkf2004-08-303-6/+31
|
* * tests/env.test: macosx fixes.das2004-08-262-3/+7
|
* Ensure that the %ld conversion works correctly on 64-bit platforms. [Bug ↵dkf2004-08-193-12/+15
| | | | 1011860]
* date correctiondgp2004-08-161-1/+1
|
* fix for [Bug 1008314]Miguel Sofer2004-08-165-12/+88
|
* * library/msgcat/msgcat.tcl: Added checks to prevent [mclocale]dgp2004-08-134-7/+35
| | | | | | * tests/msgcat.test: from registering filesystem paths to possibly malicious code to be evaluated by a later [mcload]. * library/msgcat/pkgIndex.tcl: Bump to msgcat 1.3.3
* Changed handling of the returned thread ID since broken on 64-bitvasiljevic2004-08-102-2/+10
| | | | systems (Cray). Thanks to Rob Ratcliff for reporting the bug.
* * generic/tclEvent.c (Tcl_Finalize): Re-organized Tcl_Finalizedgp2004-07-302-24/+30
| | | | | so that Tcl_ExitProc's that call Tcl_Finalize recursively do not cause deadlock. [Patch 999084 fixes Tk Bug 714956]
* * unix/configure:das2004-07-304-5/+14
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var. * unix/Makefile.in: added MAC_OSX_OBJS variable.
* * generic/tclMain.c (Tcl_Main, StdinProc): Append newline onlydgp2004-07-283-6/+14
| | | | | | * tests/basic.test (basic-46.1): to incomplete scripts as part of multi-line script construction. Do not add an extra trailing newline to the complete script. [Bug 833150]
* (io-61.1): create file in binary mode for x-platcore_8_4_7hobbs2004-07-262-1/+4
|
* note 8.4.7 tag datehobbs2004-07-262-13/+14
|
* * generic/tclThreadAlloc.c: Moved the tclInt.h include to providepatthoyts2004-07-252-4/+9
| | | | Tcl_Panic which is now required for non-threaded build.
* A couple of trivial edits to the changes - added credits for bugKevin B Kenny2004-07-231-3/+4
| | | | reports and fixed a typo in one date.
* * tests/eofchar.data (removed): Test io-61.1 now generates its owndgp2004-07-233-855/+19
| | | | * tests/io.test: file of test data as needed.
* minor fixes to 8.4.7 changeshobbs2004-07-231-13/+18
|
* * win/tclWinDde.c: Bump to dde 1.2.3 to cover changesdgp2004-07-234-6/+87
| | | | | | * library/dde/pkgIndex.tcl: committed on 2004-06-14. * changes: Updated for Tcl 8.4.7 release.
* typo/format fixesdgp2004-07-221-4/+5
|
* * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-216-23/+137
| | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
* * unix/tcl.m4: fixed Darwin autoconf breakage caused bydas2004-07-205-258/+279
| | | | | | | | recent CFLAGS reordering. * unix/configure: regen * unix/tclConfig.sh.in: replaced EXTRA_CFLAGS with CFLAGS. * unix/dltest/Makefile.in: replaced EXTRA_CFLAGS with DEFS.
* * macosx/tclMacOSXBundle.c: dynamically acquire address fordas2004-07-202-2/+26
| | | | | CFBundleOpenBundleResourceMap symbol, since it is only present in full CoreFoundation on Mac OS X and not in CFLite on pure Darwin.
* * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after theirhobbs2004-07-195-2608/+2654
| | | | | | | | | | | | * unix/configure.in, unix/configure: _DEFAULT to allow for env setting to override m4 switches. Consolidate header checks to limit redundancy in configure. (CFLAGS_WARNING): Remove -Wconversion, add -fno-strict-aliasing for gcc builds (need to suppress 3.x type puning warnings). (SC_ENABLE_THREADS): Set m4 to force threaded build when built against a threaded Tcl core. Reorder configure.in for better 64-bit build configuration, replacing EXTRA_CFLAGS with CFLAGS. [Bug #874058]
* Redefined MASTER_LOCK to call TclpMasterLock for the sake of Tcl APIvasiljevic2004-07-192-4/+11
| | | | users never creating interpreters.
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Corrected a typo in theandreas_kupries2004-07-162-3/+7
| | | | | generation of error messages and simplified by reusing data in a variable instead of retrieving the string again. Fixes [Tcl SF Bug 835289].
* * doc/OpenFileChnl.3: Added description of the behaviour ofandreas_kupries2004-07-162-1/+9
| | | | | Tcl_ReadChars when its 'charsToRead' argument is set to -1. Fixes [Tcl SF Bug 934511].
* * doc/CrtCommand.3: Added note that the arguments given to theandreas_kupries2004-07-162-1/+10
| | | | | command proc of a Tcl_CreateCommand are in utf8 since Tcl 8.1. Closing [Tcl SF Patch 414778].
* * doc/ChnlStack.3: Removed the declaration that the interpandreas_kupries2004-07-162-2/+7
| | | | | | argument to Tcl_(un)StackChannel can be NULL. This fixes [Tcl SF Bug 881220], reported by Marco Maggi <marcomaggi@users.sourceforge.net>.
* Typo fix.andreas_kupries2004-07-161-1/+1
|
* * tests/socket.test: Accepted two new testcases by Stuart Casoffandreas_kupries2004-07-162-1/+11
| | | | | <stwo@users.sourceforge.net> checking that -server and -async don't go together [Tcl SF Bug 796534].
* * unix/tclUnixNotfy.c (NotifierThreadProc): Accepted Joeandreas_kupries2004-07-162-1/+9
| | | | | Mistachkin's patch for [Tcl SF Bug 990500], properly closing the notifier thread when its exits.
* * unix/tclUnixThrd.c (TclpFinalizeMutex): Accepted Joeandreas_kupries2004-07-152-0/+7
| | | | | Mistachkin's patch for [Tcl SF Bug 99453], closing leakage of mutexes. They were not destroyed properly upon finalization.
* Added new fix for the Tcl Bug #770053. Now we conditionaly performvasiljevic2004-07-152-2/+24
| | | | | the TclFinalizeNotifier in order to correct broken ref-counting of the notifier thread.
* * generic/tclIO.h (CHANNEL_INCLOSE): New flag. Set inandreas_kupries2004-07-154-5/+96
| | | | | | | | | | | | | | | | | | | | | | * generic/tclIO.c (Tcl_UnregisterChannel): 'Tcl_Close' while the * generic/tclIO.c (Tcl_Close): close callbacks are run. Checked in 'Tcl_Close' and 'Tcl_Unregister' to prevent recursive call of 'close' in the close-callbacks. This is a possible error made by implementors of virtual filesystems based on 'tclvfs', thinking that they have to close the channel in the close handler for the filesystem. * generic/tclIO.c: * generic/tclIO.h: * Not reverting, but #ifdef'ing the changes from May 19, 2004 out of the core. This removes the ***POTENTIAL INCOMPATIBILITY*** for channel drivers it introduced. This has become possible due to Expect gaining a BlockModeProc and now handling blockingg and non-blocking modes correctly. Thus [SF Tcl Bug 943274] is still fixed if a recent enough version of Expect is used. * doc/CrtChannel.3: Added warning about usage of a channel without a BlockModeProc.
* * generic/tclIOCmd.c (Tcl_PutsObjCmd): Added length check to theandreas_kupries2004-07-152-2/+9
| | | | | | old depreceated newline syntax, to ensure that only "nonewline" is accepted. [Tcl SF Bug 985869], reported by Joe Mistachkin <mistachkin@users.sourceforge.net>.
* Remoevd initialization of TSD for the new thread in NewThreadProc()vasiljevic2004-07-151-10/+1
| | | | since this will result in TclInitNotifier never being called.
* Backout of changes to fix the Tcl Bug #770053.vasiljevic2004-07-151-2/+7
| | | | See SF bugreport for more info.
* * README, generic/tcl.h, tools/tcl.wse.in: bumped tohobbs2004-07-1310-25/+31
| | | | | * unix/configure, unix/configure.in, unix/tcl.spec: patchlevel * win/README.binary, win/configure, win/configure.in: 8.4.7
* See file...vasiljevic2004-07-131-0/+6
|
* Fixed broken build on Windows caused by missing TCL_THREAD_CREATE_RETURNvasiljevic2004-07-131-1/+3
| | | | | in NewThreadProc(). This is backported from head. Thnx to Kevin Kenny for spotting this.
* added support for wide integers to round(); [Bug 908375], reported byMiguel Sofer2004-07-033-40/+59
| | | | Hemang Lavana.
* see changeshobbs2004-07-021-0/+7
|
* * generic/tclPipe.c (TclCreatePipeline): Add 2>@1 as a specialhobbs2004-07-022-16/+41
| | | | * tests/exec.test: case redir of stderr to the result output.