summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclStrToD.c: More data in the "can't happen" Tcl_Panicdgp2005-11-141-2/+3
| | | | to aid debugging.
* * generic/tclBasic.c (CallCommandTraces): Save/restore thedgp2005-11-141-1/+9
| | | | interp result during traces to fix [Bug 1355342].
* * generic/tclInt.h:Miguel Sofer2005-11-142-6/+14
| | | | | | | | | * generic/tclNamesp.c: * tests/namespace.test: fix for bugs #1354540 and #1355942. The new tests 7.3-6 and the modified 51.13 fail due to the unrelated [Bug 1355342] * tests/trace.test: added tests 20.13-16 for [Bug 1355342]
* fixing last commit, no Changelog entryMiguel Sofer2005-11-131-3/+9
|
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken):Miguel Sofer2005-11-132-11/+5
| | | | | | * generic/tclObj.c (Tcl_GetCommandFromObj): more partial fixes for [Bug 1354540] - making sure that cached references to a command being deleted cannot be made reusable by a delete trace.
* Partial fix for [Bug 1355342]dkf2005-11-121-350/+350
| | | | Also ANSIfy the rest of the file
* * generic/tclInt.h: Revised TclParseNumber interface to enabledgp2005-11-123-125/+166
| | | | | | * generic/tclScan.c: revision to the [scan] command implementation * generic/tclStrToD.c: to permit tests scan-4.44,55 to pass again. [Bug 1348067].
* typodas2005-11-121-2/+2
|
* More bits of ANSIfyingdkf2005-11-111-653/+665
| | | | Also start moving to use the new code for doing formatted prints to objects
* More bits of ANSIfyingdkf2005-11-112-163/+180
|
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken):Miguel Sofer2005-11-112-10/+11
| | | | | | | | | * generic/tclObj.c (Tcl_GetCommandFromObj): bump the cmd epoch early to insure that cached references to this command are invalidated. Partial fix for [Bug 1352734] - at least insures that namespace-51.13 does not cause a panic. The test is still marked as knownbug, pending resolution of what is actually the correct return value ([Bug 1354540])
* Finish applying the style guide to the RE engine (except for variable anddkf2005-11-105-1472/+1817
| | | | function names, which are a much bigger job to fix!)
* Deleted unwanted extra space at end of some linesdkf2005-11-101-5/+5
|
* bugs 1350291 and 1350293Kevin B Kenny2005-11-091-57/+79
|
* ANSIfy the RE compiler.dkf2005-11-098-4852/+5523
|
* 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
|