summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * README: Bump version number to 8.4.12dgp2005-11-161-3/+3
| | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure:
* Bug 1350293Kevin B Kenny2005-11-091-2/+3
|
* * generic/tclPkg.c: Corrected inconsistencies in the value returneddgp2005-11-081-14/+76
| | | | | | | | * tests/pkg.test: by Tcl_PkgRequire(Ex) so that the returned values will always agree with what is stored in the package database. This way repeated calls to Tcl_PkgRequire(Ex) have the same results. Thanks to Hemang Lavana. [Bug 1162286]. * tests/namespace.test (25.7,8): Backport test of knownBug.
* Fix [Bug 1348775] using Miguel's patchdkf2005-11-081-17/+44
|
* Bug 1298737Kevin B Kenny2005-11-042-2/+8
|
* * generic/tclInt.h:Miguel Sofer2005-11-043-52/+178
| | | | | | | * generic/tclNamesp.c: * generic/tclVar.c: fix for [Bugs 1338280/1337229]. Thanks Don. * tests/trace.test: fix duplicate test numbers
* * generic/tclCmdMZ.c (TclCheckExecutionTraces): Corrected mistakendgp2005-11-011-14/+16
| | | | | assumption that all command traces are set at the script level. Report/fix from Jacques H. de Villiers. [Bug 1337941]
* * generic/tclCmdMZ.c (TraceVarProc): [Bug 1337229], partialMiguel Sofer2005-10-291-4/+6
| | | | | | | | | fix. Insure that a second call with TCL_TRACE_DESTROYED does not lead to a second call to Tcl_EventuallyFree(). It is still true that that second call should not happen, so the bug is not completely fixed. * tests/trace.test (test-18.3-4): added tests for bugs #1337229 and 1338280.
* * generic/tclExecute.c (ExprRoundFunc):mdejong2005-10-281-2/+2
| | | | | | | | | | | Fix typo where number before rounding is compared with smallest integer instead of number after rounding. This fix does not change the results of any tests. * tests/expr.test: Add round() tests for cases near the min and max int values. * tests/util.test: Remove pointless warning code about testobj command.
* * generic/tclBasic.c:Miguel Sofer2005-10-2312-76/+123
| | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclLink.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclVar.c: * mac/tclMacInit.c: * unix/tclUnixInit.c: * win/tclWinInit.c: Insure that the core never calls TclPtrSetVar, Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new value. It is not possible to handle error returns correctly in that case [Bug 1334947], one has the choice of leaking the object in some cases, or else risk crashing in some others.
* * generic/tclExecute.c (INST_CONCAT): disable the optimisation forMiguel Sofer2005-10-221-3/+5
| | | | wide integers, [Bug 1251791].
* Backed off change from 2005-10-04 (see ChangeLog and Tcl Bug# 1323992vasiljevic2005-10-141-14/+2
| | | | for more info.
* Fix [Bug 1284178] and tweak tests to accommodate.dkf2005-10-131-2/+6
|
* Added some more clarifying comments in Tcl_ClearChannelHandlers()vasiljevic2005-10-131-6/+5
|
* Temporary ifdef TCL_THREADS changes done to de-activate pendingvasiljevic2005-10-131-1/+8
| | | | event processing when channel is being closed/cutted.
* ensure MODULE_SCOPE declhobbs2005-10-101-1/+14
|
* * generic/tclPipe.c (TclCreatePipeline): Fixed [SF Tcl Bugandreas_kupries2005-10-051-7/+11
| | | | 1109294]. Applied the patch provided by David Gravereaux.
* * win/tclWinPort.h: define USE_PUTENV_FOR_UNSET 1hobbs2005-10-051-13/+32
| | | | | | | | | | * generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for various systems that have putenv(), but can't unset env vars with it. Note difference between Windows and Linux for actually unsetting the env var (use of '='). Correct the resizing of the environ array. We assume that we are in full ownership, but that's not correct.[Bug 979640]
* * generic/tclIOUtil.c (TclFSNormalizeAbsolutePath): make statichobbs2005-10-052-6/+6
| | | | * generic/tclEncoding.c (TclFindEncodings): make static
* Tcl_ClearChannelHandlers(): now deletes any outstandingvasiljevic2005-10-041-2/+14
| | | | | timer for the channel. Also, prevents events still in the event queue from triggering on the current channel.
* Tcl_ClearChannelHandlers(): bail out early if passed NULL argumentvasiljevic2005-10-041-3/+6
|
* * generic/tclMain.c: Separate encoding conversion of command linedgp2005-09-301-26/+23
| | | | arguments from list formatting. [Bug 1306162].
* Fix [Bug 1116542]dkf2005-09-271-2/+18
|
* * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negativedgp2005-09-071-36/+38
| | | | | | * tests/utf.test (utf-1.5): Tcl_UniChar input value. Incorrect handling was producing byte sequences outside of Tcl's legal internal encoding. [Bug 1283976].
* Bug 1275043Kevin B Kenny2005-08-291-10/+23
|
* Backport of fix for [Bug 1267380]dkf2005-08-251-1/+7
|
* * generic/tclFCmd.c (TclFileMakeDirsCmd): fix to race condition inhobbs2005-08-171-5/+31
| | | | file mkdir (backport from head 2005-06-13) [Bug 1217375]
* backport of 2005-08-10 fix to tclEvent.cKevin B Kenny2005-08-161-19/+19
|
* fix abs(MIN_INT) [Bug 1241572]Kevin B Kenny2005-08-051-4/+14
|
* silence compiler warningdgp2005-08-041-2/+2
|
* * generic/tclObj.c: Simplified routines that manage the typeTable.dgp2005-08-041-36/+25
|
* * generic/tclCompExpr.c: Untangled some dependencies in thedgp2005-08-034-27/+43
| | | | | | * generic/tclEvent.c: order of finalization routines. * generic/tclInt.h: [Bug 1251399] * generic/tclObj.c:
* Take care with globals that have an entry in the var table but "don't exist"dkf2005-07-291-3/+6
|
* Backport of fix for [Bug 1245953]dkf2005-07-281-2/+8
|
* * generic/tclBasic.c (Tcl_CallWhenDeleted): Converted to usedgp2005-07-261-9/+6
| | | | | per-thread counter, rather than a process global one that required mutex protection. [RFE 1077194]
* * generic/tclNamesp.c (TclTeardownNamespace): Re-ordering so thatdgp2005-07-261-16/+16
| | | | | * tests/trace.test (trace-34.4): command delete traces fire while the command still exists. [Bug 1047286]
* * generic/tclCmdAH.c New "encoding" Tcl_ObjType (not registered)dgp2005-07-053-11/+98
| | | | | | | * generic/tclEncoding.c that permits longer lifetimes of the * generic/tclInt.h Tcl_Encoding values kept as intreps of Tcl_Obj's. Reduces the need for repeated reading of encoding definition files from the filesystem. [Bug 1077262]
* * generic/tclNamesp.c: Allow for [namespace import] of a commanddgp2005-07-051-1/+11
| | | | | * tests/namespace.test: over a previous [namespace import] of itself without throwing an error. [RFE 1230597]
* finalize Tcl_Preserve after exit handlersKevin B Kenny2005-06-243-17/+12
|
* bug 1225727Kevin B Kenny2005-06-223-3/+20
|
* * generic/tclInt.h: Followup to change made on 2005-06-18 byandreas_kupries2005-06-221-1/+2
| | | | | | | Daniel Steffen. There are compilers (*) who error out on the redefinition of WORDS_BIGENDIAN. We have to undef the previous definition (on the command line) first to make this acceptable. (*): AIX native.
* bugs 1194458 and 1225044Kevin B Kenny2005-06-211-9/+15
|
* * generic/tclBasic.c: Made the walk of the active trace list awaredgp2005-06-213-8/+31
| | | | | | * generic/tclCmdMZ.c: of the direction of trace scanning, so the * generic/tclInt.h: proper correction can be made. [Bug 1224585] * tests/trace.test (trace-34.2,3):
* * generic/tclBasic.c (Tcl_DeleteTrace): Added missing walk of thedgp2005-06-211-1/+15
| | | | | * tests/trace.test (trace-34.1): list of active traces to cleanup references to traces being deleted. [Bug 1201035]
* *** 8.4.11 TAGGED FOR RELEASE ***das2005-06-181-1/+26
| | | | | | | | | | | | * generic/tclInt.h: ensure WORDS_BIGENDIAN is defined correctly with fat compiles on Darwin (i.e. ppc and i386 at the same time), the configure AC_C_BIGENDIAN check is not sufficient in this case because a single run of the compiler builds for two architectures with different endianness. * unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to ensure we can always relocate binaries with install_name_tool. * unix/configure: autoconf-2.13
* * README: Bump version number to 8.4.11dgp2005-06-181-3/+3
| | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf * win/configure:
* Fix bug in [format %hx] handling on selected platforms. [Bug 1154163]dkf2005-06-171-16/+22
|
* * README: Bumped patchlevel to 8.4.10hobbs2005-05-271-4/+4
| | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/tcl.spec, unix/configure, unix/configure.in: * win/configure, win/configure.in:
* * generic/tclCmdMZ.c (Tcl_TimeObjCmd): add necessary casthobbs2005-05-251-2/+3
|
* * generic/tclIOUtil.c (TclLoadFile):das2005-05-242-2/+61
| | | | | | | | | | * generic/tclInt.h: * unix/tcl.m4: * unix/tclLoadDyld.c: added support for [load]ing .bundle binaries in addition to .dylib's: .bundle's can be [unload]ed (unlike .dylib's), and can be [load]ed from memory, e.g. directly from VFS without needing to be written out to a temporary location first. [Bug 1202209] * unix/configure: autoconf-2.13