summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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(). FossilOrigin-Name: 8727b42c2ce485832b263a35304846b1b59acfc7
* more detaildgp2004-01-131-0/+1
| | | FossilOrigin-Name: ea75b3a19d9de87d6ba76c68806a400c75e9a4ba
* * 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. FossilOrigin-Name: 884b1f7ddf56aa6721065b444f06af7ca043d261
* Fix shared object panics. [Bug 875395]dkf2004-01-132-3/+14
| | | FossilOrigin-Name: 1a953d39a5d8d479f61fa9d316f4944827aad272
* 2004-01-09 editdavygrvy2004-01-131-1/+3
| | | FossilOrigin-Name: 484c049a789f3b559a49656c86d9522c20a91e74
* improved commentsmsofer2004-01-121-10/+6
| | | FossilOrigin-Name: 46b09461070367a32184de8a12e16a21f87c697c
* * generic/tclCompExpr.c (CompileLandOrLorExpr): cosmetic changes.msofer2004-01-122-17/+16
| | | FossilOrigin-Name: f4eba2f0b38e07542b3be232c28b851096b2e6df
* Fix a comment.msofer2004-01-121-3/+2
| | | FossilOrigin-Name: 2afb845a0605c3b3f075ee0fec638f2e9892d122
* * generic/tclCompExpr.c (CompileLandOrLorExpr): new logic, fewermsofer2004-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. FossilOrigin-Name: d0d26ee384e53bd9f51007217b0e43110863374e
* no messagedavygrvy2004-01-111-1/+1
| | | FossilOrigin-Name: c4dfe68e26e226525a48fc292d9bca0da567235d
* no messagedavygrvy2004-01-111-0/+6
| | | FossilOrigin-Name: e234ac2dc1da6631ac10925fbf13e86d7a63f7ca
* * 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] FossilOrigin-Name: 6885a5fa491538a447df22914d64dbea9abbd3a7
* no messagedavygrvy2004-01-101-0/+4
| | | FossilOrigin-Name: a7eb027c899797fe4dbcec2825084a1608dbff28
* Added -DTCL_NO_DEPRECATED usage to makefile.vc. Called like this:davygrvy2004-01-102-2/+27
| | | | | | nmake -af makefile.vc CHECKS=nodep FossilOrigin-Name: 9bff31696e03a11cfda0bea649755d05244a01eb
* no messagedavygrvy2004-01-091-0/+7
| | | FossilOrigin-Name: 2aff60c745d5d19fc0433927aafb7975e3f4f072
* 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. FossilOrigin-Name: 39e2760edfca24e6ab6ac8092e48a76401931831
* TclFinalizeFilesystem fixvincentdarley2004-01-092-3/+8
| | | FossilOrigin-Name: ffc8724479981aa8c32191f4fa731704e7df686f
* * 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] FossilOrigin-Name: e091eeb230b7d84907f7351882a3ba5c60cb2afe
* typo fixesdgp2003-12-241-15/+9
| | | FossilOrigin-Name: e63aa2f51c9bec526fefa399bf56524a4421e969
* no messagedavygrvy2003-12-241-0/+63
| | | FossilOrigin-Name: 74197007230af690057e8784c8ee5ca61d6b9957
* Deprected use of Tcl_Ckalloc changed to Tcl_Alloc in thedavygrvy2003-12-241-2/+2
| | | | | | TclAllocObjStorage macro. FossilOrigin-Name: 19b15f1dba4ac06b9ee690f284880a0a53ba6775
* 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] FossilOrigin-Name: 524a53e3b36111f085cdb216a27da061773239ae
* prevent static buffer overflow (Doh!)davygrvy2003-12-231-4/+4
| | | FossilOrigin-Name: 1154089f0a3021caff7bd23855e26dede2203a47
* fixed static buffer overflowdavygrvy2003-12-231-2/+2
| | | FossilOrigin-Name: 105e213b31e4ff3e15683419dee20fa84675036d
* no messagedavygrvy2003-12-231-1/+13
| | | FossilOrigin-Name: f4746a904db95bcaa3fd28fb4afdbe626dc92eca
* Removed note that makefile.vc needs to have a version number changed.davygrvy2003-12-231-2/+1
| | | FossilOrigin-Name: 443bc592e1d99f468f08cf8b6e8122f0cc07e6fb
* VERSION macro now set by reading tcl.h for it.davygrvy2003-12-231-2/+13
| | | FossilOrigin-Name: cff1bedef26df0754d35d5603238b2b993b8c6b2
* 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. FossilOrigin-Name: 5bfd259afe55a8b1f101b82e412887dc642842fc
* no messagedavygrvy2003-12-211-0/+10
| | | FossilOrigin-Name: cff53f286bd6ff49d2928d433c9e9a15ec9130be
* 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] FossilOrigin-Name: 1c41033288de7f1528c1ea6f59c8cc56d79f5e8e
* * generic/tclBinary.c (DeleteScanNumberCache): fixed crashing bugdas2003-12-172-2/+9
| | | | | | when numeric scan-value cache contains NULL value. FossilOrigin-Name: 3bc06f90ec7504367232eff18a73854b5c0965bc
* fix to file normalization with relative linksvincentdarley2003-12-177-47/+183
| | | FossilOrigin-Name: b69743eda9ee9351ceeb7e81c6c3e91aff5cc88e
* fix to fs norm bug 860402vincentdarley2003-12-171-20/+30
| | | FossilOrigin-Name: 730275ac029c7c0627e88cea0dd157df36cf3724
* fix to fs norm bug 860402vincentdarley2003-12-173-4/+37
| | | FossilOrigin-Name: 487c53d709e90df7601d6568a286e52b5602e329
* Added trace for bugfixes #839519 and #861515vasiljevic2003-12-171-0/+9
| | | FossilOrigin-Name: cb311e4d9ccb72017f75ca9bff52f54631945ec2
* fixed Tcl_FSGetTranslatedPath to always return properly refcountedvasiljevic2003-12-171-9/+10
| | | | | | path object. This fixes Tcl Bug #861515. FossilOrigin-Name: 9efce085be24994dd3dee7befba4dd184f24b67d
* Fixed 2 memory (object) leaks; Tcl Bug #839519vasiljevic2003-12-171-2/+4
| | | FossilOrigin-Name: 12499f35c0bbf4a04dd01f66d55ad2bb7710c999
* improved documentation on memory managementvincentdarley2003-12-162-16/+26
| | | FossilOrigin-Name: f909afc788801e97fdf0afeca1193f1b597f4ae3
* marked test as nonPortablevincentdarley2003-12-162-2/+8
| | | FossilOrigin-Name: 2d3e725c1559a64b25035826b3042d14aaeca37f
* Made a variable file-local for safetydkf2003-12-162-2/+6
| | | FossilOrigin-Name: 54a83caeac380761f4ba0955013673a3a5508a6f
* * 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]. FossilOrigin-Name: cf0b9606ba18a016bafb2636ae0238e8b6bbc60c
* * 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>. FossilOrigin-Name: 97ef66fca17aebfcadf90edc29ecaf1d1311e097
* * wintclsh.rc: Slight modification to the STRINGIFY macro todavygrvy2003-12-161-0/+6
| | | | | | | support Borland's rc tool. From Helmut Giese <hgiese@ratiosoft.com>. FossilOrigin-Name: 385122fc8c2771251fe60d9120c13f658ba81f38
* Slight modification to the STRINGIFY macro to support Borland's rc tool.davygrvy2003-12-161-2/+2
| | | FossilOrigin-Name: ae05ff553c69f2afce18b35b44923e8d01869fa5
* * 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. FossilOrigin-Name: 58f0786941c8bf1d201178e0c20b5cb659c1dde9
* TIP#75 Implementationdkf2003-12-144-22/+305
| | | FossilOrigin-Name: 37ab2795dd6f9fca3fb10d1ef41cf2a77b07f3df
* Stop warnings due to (annoying) C type promotion rules.dkf2003-12-141-6/+5
| | | FossilOrigin-Name: c0649787a677c17463eec80421273846b0db0c86
* rewrite of file normalizationvincentdarley2003-12-142-84/+226
| | | FossilOrigin-Name: 5b1ae404848593ddff99b78548a804e854d3d42b
* prefer Tcl_LongAsWide and Tcl_WideAsLong for casts.davygrvy2003-12-131-5/+5
| | | FossilOrigin-Name: 990811b730bbdb7039b5057d7d3df36ade037586
* no messagedavygrvy2003-12-131-1/+8
| | | FossilOrigin-Name: 5d61b76a2291185f7ec19e9d2e54bddbd26badd9