summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* More ANSIfyingdkf2005-11-091-25/+25
|
* * generic/tclPkg.c: Corrected inconsistencies in the value returneddgp2005-11-081-14/+83
| | | | | | | * 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].
* Fix for [Bug 1348775]dkf2005-11-081-32/+84
|
* ANSIfydkf2005-11-071-7/+9
|
* Strip a few more pre-ANSI-ismsdkf2005-11-071-21/+20
|
* ANSIfydkf2005-11-077-90/+89
|
* Tidy updkf2005-11-071-41/+47
|
* Silence a warning.dkf2005-11-071-2/+3
|
* * win/tclWinPort.h: Applied patch #1267871 by Matt Newman forpatthoyts2005-11-041-2/+2
| | | | | | * win/tclWinPipe.c: extended error code support on Windows. * tests/exec.test: Tests for extended error codes. * generic/tclPipe.c: Permit long codes (platform macros permitting).
* * generic/tclBinary.c:Miguel Sofer2005-11-0410-83/+44
| | | | | | | | | | | | | | | | * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclIOCmd.c: * generic/tclLink.c: * generic/tclTest.c: * generic/tclVar.c: fix for [Bug 1334947]. The functions TclPtrSetVar, Tcl_ObjSetVar2 and Tcl_SetVar2Ex now always consume the newValuePtr argument - i.e., they will free a 0-refCount object if they failed to set the variable. Fixed all callers in the core.
* Bug 1298737Kevin B Kenny2005-11-042-46/+56
|
* * generic/tclInt.h:Miguel Sofer2005-11-043-82/+204
| | | | | | | | * generic/tclNamesp.c: * generic/tclVar.c: * tests/trace.test: fix for [Bugs 1338280/1337229]; changed to use the same approach as the 8.4 patch in the ticket (i.e., removed the patch committed on 2005-31-10).
* Applied patch #1096916 to support building with MSVC 8.patthoyts2005-11-033-18/+22
| | | | | | | | | | | | | * generic/regerror.c: Avoid use of reserved word. * generic/tcl.h: Select the right Tcl_Stat structure * generic/tclDate.c: Casts to handle 64 bit time_t case. * tests/env.test: Include essential envvar on Win32 * win/nmakehlp.c: Handle new return codes. * win/makefile.vc: Use the selected options. * win/rules.vc: Check options are applicable * win/tclWinPort.h: Disable deprecated function warnings * win/tclWinSock.c: Provide default value to avoid warning. * win/tclWinTime.c: Add casts to handle 64bit time_t type.
* ANSIfy the test code (well, strip some of the worst offences!)dkf2005-11-024-1286/+1201
|
* ANSIfy; generic/*.c now all done except for test codedkf2005-11-0210-626/+635
|
* ANSIfy (though only partially - function decls only - for tclExecute.c)dkf2005-11-027-924/+1030
|
* Partial ANSIfydkf2005-11-021-213/+209
|
* ANSIfydkf2005-11-028-1151/+1165
|
* * generic/tclTrace.c (TclCheckExecutionTraces): Corrected mistakendgp2005-11-011-13/+15
| | | | | assumption that all command traces are set at the script level. Report/fix from Jacques H. de Villiers. [Bug 1337941]
* Think-o fixesdkf2005-11-011-3/+3
|
* ANSIfy. Also converted some deeply nested code to a less nested form for ↵dkf2005-11-0114-2694/+2761
| | | | easier reading.
* * generic/tclNamesp.c: fix for [Bugs 1338280/1337229]. Thanks Don.Miguel Sofer2005-10-311-10/+10
| | | | * tests/trace.test: fix duplicate test numbers
* typodgp2005-10-311-2/+2
|
* Convert to using ANSI decls/definitions and using the (ANSI) assumption that ↵dkf2005-10-316-1652/+1611
| | | | | | NULL can be cast to any pointer type transparently.
* Assorted syntactic cleanupsdkf2005-10-301-120/+110
|
* * generic/tclTrace.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.
* fix to glob memory leak and file stat ino/nlink on windowsvincentdarley2005-10-231-1/+7
|
* * generic/tclExecute.c (INST_INCR_*): fixed [Bug 1334570]. ObjMiguel Sofer2005-10-221-4/+4
| | | | leak detection and patch by Eric Melbardis.
* Bug 1334461Kevin B Kenny2005-10-211-1/+2
|
* remove C++ commentsKevin B Kenny2005-10-211-4/+4
|
* Bug 1334461Kevin B Kenny2005-10-211-2/+4
|
* * generic/tclListObj.c (TclLsetFlat):Miguel Sofer2005-10-201-5/+22
| | | | | * tests/lset.test (lset-10.3): fixed handling of unshared lists with shared sublists, [Bug 1333036] reported by neuronstorm.
* Fix crash caused by passing -1 as the length to TclNewStringObj(). Only dkf2005-10-191-12/+7
| | | | | Tcl_NewStringObj (the function call, not the macro) handles that sort of thing correctly.
* * generic/tclClock.c: Removed some dead code.dgp2005-10-1910-971/+18
| | | | | | | | | | | | * generic/tclCmdIL.c: * generic/tclCompCmds.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclLiteral.c: * generic/tclParseExpr.c: * generic/tclScan.c: * generic/tclUtil.c: * generic/tclVar.c:
* Silence a warningdkf2005-10-191-2/+2
|
* More typos obscured by typos fixed in previous checkin...dkf2005-10-191-4/+4
|
* Fix silly typosdkf2005-10-191-14/+15
|
* General cleanup of reflected channel codedkf2005-10-191-1609/+1490
|
* * generic/tclExecute.c (INST_DICT_APPEND, INST_DICT_LAPPEND):Miguel Sofer2005-10-191-2/+2
| | | | | fixed faulty peephole optimisation that can cause crashes [Bug 1331475]
* ANSIfy function declarations and definitionsdkf2005-10-181-399/+384
|
* ANSI function definitionsdkf2005-10-181-137/+137
|
* Style update and ANSI function definitions.dkf2005-10-181-28/+34
|
* * generic/tclExecute.c: Added optimization for I32L64 systems todgp2005-10-181-2/+22
| | | | | avoid using bignums to perform int multiplies. The improvement shows up most dramatically in tclbench's matrix.bench.
* * generic/tclExecute.c: Restored some optimizations of thedgp2005-10-151-25/+103
| | | | INST_INCR_SCALAR1_IMM opcode.
* Fixed bad definition of CRTEXPORT which should have beenvasiljevic2005-10-141-2/+2
| | | | CRTIMPORT rather.
* Backed off change from 2005-10-04 (see ChangeLog and Tcl Bug# 1323992vasiljevic2005-10-141-13/+1
| | | | for more info).
* more revisions to TclIncrObjdgp2005-10-141-23/+39
|
* removed another do {} while(0)Kevin B Kenny2005-10-141-11/+10
|
* Tidied up do {...} while(0)Kevin B Kenny2005-10-141-67/+21
|
* * generic/tcl.h: Fix for bug #1256937 - correctly decoratepatthoyts2005-10-142-4/+20
| | | | * generic/tclMain.c: imported functions from msvcrt in static builds.