summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* record bug report numberdgp2004-01-151-2/+1
|
* Allow [dict exists {a {b c}} d e] to not be an error. [Bug 871387]dkf2004-01-143-22/+52
|
* Dict refcount fixes from Peter Spjuth. Thanks! [Bug 876170]dkf2004-01-143-20/+219
|
* * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Silence compiler warnings.dgp2004-01-132-3/+6
|
* Patch 876451: restores performance of [return]. Also allows formsdgp2004-01-137-134/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | such as [return -code error $msg] to be bytecompiled. * generic/tclInt.h: Factored Tcl_ReturnObjCmd() into two pieces: * generic/tclCmdMZ.c: TclMergeReturnOptions(), which can parse the options to [return], check their validity, and create the corresponding return options dictionary, and TclProcessReturn(), which takes that return options dictionary and performs the [return] operation. * generic/tclCompCmds.c: Rewrote TclCompileReturnCmd() to call TclMergeReturnOptions() at compile time so the return options dictionary is computed at compile time (when it is fully known). The dictionary is pushed on the stack along with the result, and the code and level values are included in the bytecode as operands. Also supports optimized compilation of un-[catch]ed [return]s from procs with default options into the INST_DONE instruction. * generic/tclExecute.c: Rewrote INST_RETURN instruction to retrieve the code and level operands, pop the return options from the stack, and call TclProcessReturn() to perform the [return] operation. * generic/tclCompile.h: New utilities include TclEmitInt4 macro * generic/tclCompile.c: and TclWordKnownAtCompileTime().
* more detaildgp2004-01-131-0/+1
|
* * generic/tclFileName.c (Tcl_GlobObjCmd): Latest changes todgp2004-01-132-24/+23
| | | | | | management of the interp result by Tcl_GetIndexFromObj() exposed improper interp result management in the [glob] command procedure. Corrected by adopting the Tcl_SetObjResult(Tcl_NewStringObj) pattern.
* Fix shared object panics. [Bug 875395]dkf2004-01-132-3/+14
|
* 2004-01-09 editdavygrvy2004-01-131-1/+3
|
* improved commentsMiguel Sofer2004-01-121-10/+6
|
* * generic/tclCompExpr.c (CompileLandOrLorExpr): cosmetic changes.Miguel Sofer2004-01-122-17/+16
|
* Fix a comment.Miguel Sofer2004-01-121-3/+2
|
* * generic/tclCompExpr.c (CompileLandOrLorExpr): new logic, fewerMiguel Sofer2004-01-123-39/+70
| | | | | | | instructions. As a side effect, the instructions INST_LOR and INST_LAND are now never used. * generic/tclExecute.c (INST_JUMP*): small optimisation; fix a bug in debug code.
* no messagedavygrvy2004-01-111-1/+1
|
* no messagedavygrvy2004-01-111-0/+6
|
* * win/tclWinThrd.c (Tcl_ConditionNotify): condPtr must be dereferenceddavygrvy2004-01-111-2/+2
| | | | | to see if there are waiters else uninitialized datum is manipulated. [Bug 849007]
* no messagedavygrvy2004-01-101-0/+4
|
* Added -DTCL_NO_DEPRECATED usage to makefile.vc. Called like this:davygrvy2004-01-102-2/+27
| | | | nmake -af makefile.vc CHECKS=nodep
* no messagedavygrvy2004-01-091-0/+7
|
* Renamed and deprecated #defines moved to within the #ifndef TCL_NO_DEPRECATEDdavygrvy2004-01-091-16/+18
| | | | | block. This alows us to build Tcl to check for deprecated functions in use, such as panic() and Tcl_Ckalloc(). By request from DKF.
* TclFinalizeFilesystem fixvincentdarley2004-01-092-3/+8
|
* * win/tclWin32Dll.c (DllMain): Add HAVE_NO_SEHmdejong2003-12-262-1/+76
| | | | | | blocks in place of __try and __except statements to support gcc builds. This is needed after David's changes on 2003-12-21. [Tcl patch 858493]
* typo fixesdgp2003-12-241-15/+9
|
* no messagedavygrvy2003-12-241-0/+63
|
* Deprected use of Tcl_Ckalloc changed to Tcl_Alloc in thedavygrvy2003-12-241-2/+2
| | | | TclAllocObjStorage macro.
* All uses of 'panic' (the macro) changeddavygrvy2003-12-2451-306/+309
| | | | | | | to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
* prevent static buffer overflow (Doh!)davygrvy2003-12-231-4/+4
|
* fixed static buffer overflowdavygrvy2003-12-231-2/+2
|
* no messagedavygrvy2003-12-231-1/+13
|
* Removed note that makefile.vc needs to have a version number changed.davygrvy2003-12-231-2/+1
|
* VERSION macro now set by reading tcl.h for it.davygrvy2003-12-231-2/+13
|
* New feature for extensions that use rules.vc. Now reads header files fordavygrvy2003-12-232-12/+90
| | | | | version strings. No more hard coding TCL_VERSION = 8.5 and having to edit it when you swap cores.
* no messagedavygrvy2003-12-211-0/+10
|
* Structured Exception Handling added around Tcl_Finalize called fromdavygrvy2003-12-211-3/+14
| | | | | | | | DllMain's DLL_PROCESS_DETACH. We can't 100% assured that Tcl is being unloaded by the OS in a stable condition and we need to protect the exit handlers should the stack be in a hosed state. AT&T style assembly for SEH under MinGW has not been added yet. This is a first part change for [Patch 858493]
* * generic/tclBinary.c (DeleteScanNumberCache): fixed crashing bugdas2003-12-172-2/+9
| | | | when numeric scan-value cache contains NULL value.
* fix to file normalization with relative linksvincentdarley2003-12-177-47/+183
|
* fix to fs norm bug 860402vincentdarley2003-12-171-20/+30
|
* fix to fs norm bug 860402vincentdarley2003-12-173-4/+37
|
* Added trace for bugfixes #839519 and #861515vasiljevic2003-12-171-0/+9
|
* fixed Tcl_FSGetTranslatedPath to always return properly refcountedvasiljevic2003-12-171-9/+10
| | | | path object. This fixes Tcl Bug #861515.
* Fixed 2 memory (object) leaks; Tcl Bug #839519vasiljevic2003-12-171-2/+4
|
* improved documentation on memory managementvincentdarley2003-12-162-16/+26
|
* marked test as nonPortablevincentdarley2003-12-162-2/+8
|
* Made a variable file-local for safetydkf2003-12-162-2/+6
|
* * win/tclWinFile.c (TclpUtime) : utimbuf struct not a problemdavygrvy2003-12-163-6/+35
| | | | | | | | | with Borland. * win/tclWinTime.c (TclpGetDate) : Borland's localtime() has a slight behavioral difference. From Helmut Giese <hgiese@ratiosoft.com> [Patch 758097].
* * win/tcl.rc: Slight modification to the STRINGIFY macro todavygrvy2003-12-161-2/+2
| | | | | support Borland's rc tool. From Helmut Giese <hgiese@ratiosoft.com>.
* * wintclsh.rc: Slight modification to the STRINGIFY macro todavygrvy2003-12-161-0/+6
| | | | | support Borland's rc tool. From Helmut Giese <hgiese@ratiosoft.com>.
* Slight modification to the STRINGIFY macro to support Borland's rc tool.davygrvy2003-12-161-2/+2
|
* * generic/tclInt.decls: commented-out entry fordavygrvy2003-12-154-17/+17
| | | | | | TclpCheckStackSpace, removing it from the Stubs table. It's already declared in tclInt.h and labeled as a function that is not to be exported. Regened tables.
* TIP#75 Implementationdkf2003-12-144-22/+305
|