summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclCmdIL.c: Removed unused variables.dgp2009-07-167-16/+43
| | | | | | | | | | | | * generic/tclCompile.c: * generic/tclVar.c: * unix/tclUnixChan.c: * generic/tclScan.c: Typo in ACCEPT_NAN configuration. * generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200]
* fix 64bit int <-> ptr cast warningsdas2009-07-153-9/+9
|
* * generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter,andreas_kupries2009-07-147-124/+163
| | | | | | | | | | | | | | | | | | | | | | TclArgumentBCRelease, TclArgumentGet): * generic/tclCompile.c (EnterCmdWordIndex, TclCleanupByteCode, TclInitCompileEnv, TclCompileScript): * generic/tclCompile.h (ExtCmdLoc): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclInt.h (ExtIndex, CFWordBC): * tests/info.test (info-39.0): Backport of some changes made to the Tcl head, to handle literal sharing better. The code here is much simpler (trimmed down) compared to the head as the 8.5 branch is not bytecode compiling whole files, and doesn't compile eval'd code either. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This removes the problems with location data caused by literal sharing in proc bodies. Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex).
* Cast wide integer to int conversion and some signed/unsigned conversions. ↵patthoyts2009-07-012-14/+14
| | | | (silence msvc6 warnings)
* Handle the GetUserName API call appropriately for wide/narrow versions. [Bug ↵patthoyts2009-07-014-9/+22
| | | | 2806622]
* * generic/tclStringObj.c: sprintf() -> Tcl_ObjPrintf() conversion.dgp2009-06-152-5/+7
|
* test name conflictdgp2009-06-131-2/+2
|
* * generic/tclCompile.c: The value stashed in iPtr->compiledProcPtrdgp2009-06-134-7/+31
| | | | | | | | | | | | | * generic/tclProc.c: when compiling a proc survives too long. We * tests/execute.test: only need it there long enough for the right TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once that is done, the CompileEnv controls. If we let the value of iPtr->compiledProcPtr linger, though, then any other bytecode compile operation that takes place will also have its CompileEnv initialized with it, and that's not correct. The value is meant to control the compile of the proc body only, not other compile tasks that happen along. Thanks to Carlos Tasada for discovering and reporting the problem. [Bug 2802881].
* * generic/tclStringObj.c: Revised [format] to not overflow thedgp2009-06-102-9/+77
| | | | | | | integer calculations computing the length of the %ll formats of really big integers. Also added protections so that [format]s that would produce results overflowing the maximum string length of Tcl values throw a normal Tcl error instead of a panic. [Bug 2801413]
* * generic/tclGetDate.y: Fixed a thread safety bug in the generatedKevin B Kenny2009-06-095-291/+521
| | | | | | | | | | * library/clock.tcl: Bison parser (needed a %pure-parser * tests/clock.test: declaration to avoid static variables). Discovered that the %pure-parser declaration allowed for returning the Bison error message to the Tcl caller in the event of a syntax error, so did so. * generic/tclDate.c: bison 2.3
* New DST rule for Bangladesh (Olson's tzdata2009i)Kevin B Kenny2009-06-082-0/+7
|
* * generic/tclExecute.c: Replace dynamically-initialized table withdgp2009-06-022-44/+14
| | | | | a table of static constants in the lookup table for exponent operator computations that fit in a 64 bit integer result.
* * generic/tclExecute.c: Corrected implementations and selectiondgp2009-06-022-41/+69
| | | | logic of the INST_EXPON instruction to fix [Bug 2798543].
* * tests/expr.test: Added many tests demonstrating the brokendgp2009-06-012-1/+331
| | | | cases of [Bug 2798543].
* Applied Olson's tzdata2009hKevin B Kenny2009-05-303-105/+110
|
* * library/platform/platform.tcl: Fixed handling of cpu ia64,andreas_kupries2009-05-295-10/+17
| | | | | | * library/platform/pkgIndex.tcl: taking ia64_32 into account * unix/Makefile.in: now. Bumped version to 1.0.5. Updated the * win/Makefile.in: installation commands.
* * generic/tclObj.c (Tcl_GetCommandFromObj): fix for bug [2785893],Miguel Sofer2009-05-082-1/+8
| | | | | insure that a command in a deleted namespace cannot be found through a cached name.
* * generic/tclCmdMZ.c: Improve overflow error message fromdgp2009-05-063-3/+10
| | | | [string repeat]. [Bug 2582327]
* Revert last commit which fails to build with msvc2005 and msvc6patthoyts2009-04-292-9/+4
|
* Fix [Bug 2651823].dkf2009-04-292-4/+9
|
* comment with last tcl.m4 changehobbs2009-04-281-0/+5
|
* * unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): harden the checkhobbs2009-04-282-5/+7
| | | | to add _r to CC on AIX with threads.
* Backport fix for [Bug 1028264]: WSACleanup() too early. The fix introduces ↵ferrieux2009-04-274-5/+115
| | | | "late exit handlers" for similar late process-wide cleanups.
* Backport fix for [Bug 2446662]: resync Win behavior on RST with that of unix ↵ferrieux2009-04-272-2/+19
| | | | (EOF).
* Fix examples. [Bug 2780680]dkf2009-04-272-23/+29
|
* Don't chmod/exec installManPage. [Patch 2769530]stwo2009-04-242-7/+9
|
* * generic/tclStringObj.c: AppendUnicodeToUnicodeRep failedcore_8_5_7dgp2009-04-152-1/+5
| | | | to set stringPtr->allocated to 0, leading to crashes.
* * changes: Update for 8.5.7 release.dgp2009-04-152-7/+11
|
* Removed -Wno-implicit-int from CFLAGS_WARNING.stwo2009-04-143-2/+6
| | | | Regen unix/configure.
* * library/tzdata/Asia/Karachi: Updated rules for Pakistan SummerKevin B Kenny2009-04-142-0/+7
| | | | Time (Olson's tzdata2009f)
* update Apple copyright notice for 2009-04-10 changesdas2009-04-144-51/+13
|
* typosdgp2009-04-131-3/+3
|
* D'ohdas2009-04-111-2/+2
|
* fix warningdas2009-04-101-1/+3
|
* silence warning preventing symbols build with msvc6 (signed/unsigned comparison)patthoyts2009-04-101-2/+2
|
* *** 8.5.7 TAGGED FOR RELEASE ***dgp2009-04-101-0/+2
|
* * generic/tclStringObj.c (UpdateStringOfString): Fix bug detecteddgp2009-04-102-3/+6
| | | | by compiler warning about undefined "dst".
* Darwin additionsdas2009-04-101-1/+5
|
* * unix/tclUnixChan.c: TclUnixWaitForFile(): use FD_* macrosdas2009-04-103-68/+66
| | | | | * macosx/tclMacOSXNotify.c: to manipulate select masks (Cassoff). [Bug 1960647]
* typosdgp2009-04-101-2/+2
|
* * unix/tclLoadDyld.c: use RTLD_GLOBAL instead of RTLD_LOCAL.das2009-04-102-3/+6
| | | | [Bug 1961211]
* typodas2009-04-101-2/+2
|
* * macosx/tclMacOSXNotify.c: revise CoreFoundation notifier to allowdas2009-04-108-437/+1088
| | | | | | | | | | | | | | | | | | * unix/tclUnixChan.c: embedding into applications that * unix/tclUnixEvent.c: already have a CFRunLoop running and want to run the tcl event loop via Tcl_ServiceModeHook(TCL_SERVICE_ALL). * macosx/tclMacOSXNotify.c: add CFRunLoop based Tcl_Sleep() and * unix/tclUnixChan.c: TclUnixWaitForFile() implementations * unix/tclUnixEvent.c: and disable select() based ones in CoreFoundation builds. * unix/tclUnixNotify.c: simplify, sync with tclMacOSXNotify.c. * generic/tclInt.decls: add TclMacOSXNotifierAddRunLoopMode() * generic/tclIntPlatDecls.h: internal API, regen. * generic/tclStubInit.c:
* * unix/configure.in (Darwin): use Darwin SUSv3 extensions ifdas2009-04-103-5/+100
| | | | | | | | available; remove /Network locations from default tcl package search path (NFS mounted locations and thus slow). * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* * changes: Update for 8.5.7 release.dgp2009-04-102-1/+44
|
* * macosx/tclMacOSXBundle.c: on Mac OS X 10.4 and later, replacedas2009-04-102-8/+84
| | | | deprecated NSModule API by dlfcn API.
* * generic/tcl.h: Bump to 8.5.7 for release.dgp2009-04-1010-16/+27
| | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * README: * unix/configure: autoconf-2.59 * win/configure:
* * tests/httpd: Backport new tests for http 2.7.3.dgp2009-04-103-5/+22
| | | | * tests/http.tcl:
* Fix tzdata line terminatorsKevin B Kenny2009-04-09561-49072/+49075
|
* Olson's tzdata2009eKevin B Kenny2009-04-09560-48700/+49075
|