summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* many more TIP 173 changesKevin B Kenny2004-09-2715-1765/+868
|
* small typovincentdarley2004-09-272-2/+6
|
* Report compilation errors at runtime, [Patch 103368] by dgp.Miguel Sofer2004-09-2614-873/+410
|
* Fix spelling of test names...dkf2004-09-241-21/+21
|
* * generic/tclBasic.c: Corrections to the 2004-09-21 commitdgp2004-09-246-6/+45
| | | | | | | | * generic/tclExecute.c: regarding ERR_ALREADY_LOGGED. That commit * generic/tclNamesp.c: caused Tk test send-10.7 to fail. Added * tests/namespace.test (25.7,8): tests in the Tcl test suite * tests/pkg.test (2.25,26): to catch this error without the aid of Tk in the future.
* * unix/dltest/Makefile.in (clean): Fixup make cleanmdejong2004-09-232-2/+13
| | | | | | rule so that it does not delete all files when SHLIB_SUFFIX is set to the empty string in a static build. [Bug 1016726]
* * generic/tclCmdAH.c (Tcl_ExprObjCmd): Simplified the TclObjCmdProcdgp2004-09-232-34/+10
| | | | of [expr] with a call to Tcl_ConcatObj.
* Corrected the base for the errorline calculationdgp2004-09-231-2/+2
|
* * generic/tclCmdMZ.c (TclProcessReturn): Support the -errorlinedgp2004-09-225-30/+76
| | | | | | | * generic/tclCompile.c (TclCompileScript): option to [return]. * tests/compile.test (16.23.*): Use that capability to defer reporting * tests/misc.test (1.2): of parse errors until runtime. Updated tests to reflect change. [Bug 1032805]
* reverting unintentional change in unix/tclUnixInit.cMiguel Sofer2004-09-221-3/+2
|
* * generic/tclExecute.c (INST_START_CMD):Miguel Sofer2004-09-224-5/+43
| | | | | * tests/proc.test (7.2-3): fix for [Bug 729692] was incorrect whenever a loop exception was returned.
* Updated America/MontevideoKevin B Kenny2004-09-222-0/+10
|
* * generic/tclCompCmds.c: Tolerate [append] syntax errorsdgp2004-09-223-8/+22
| | | | | * tests/appendComp.test (8.1): at compile time, and allow runtime to raise the error (or succeed if a redefined [append] allows).
* * generic/tclBasic.c: Reworked management of the interpdgp2004-09-215-30/+16
| | | | | | | | | | | | | | * generic/tclCompile.c: flag ERR_ALREADY_LOGGED, to reduce * generic/tclExecute.c: its exposure. Still left several * generic/tclNamesp.c: references that are just too nice on performace to do away with. These changes also resolve an inconsistency in the ::errorInfo values produced by [namespace eval x error foo bar] and [namespace eval x {error foo bar}]. * generic/tclExecute.c (TclCompEvalObj): Simplified the TclCompEvalObj routine. Much housekeeping now reliably happens elsewhere. [Patch 1031949]
* * generic/tclExecute.c (TclCompEvalObj): Simplifieddgp2004-09-212-62/+19
| | | | | the TclCompEvalObj routine. Much housekeeping now reliably happens elsewhere. [Patch 1031949]
* Tighten up wording on [interp eval] and stack frames. [Bug 926590]dkf2004-09-212-5/+23
|
* Highlight document-internal referencesdkf2004-09-211-12/+12
|
* * tests/error.test (error-6.2,3): Added more tests to verifydgp2004-09-202-1/+15
| | | | ::errorCode setting by/after a [catch].
* Some tests were non-portable, alas.dkf2004-09-191-3/+3
|
* * generic/tclCmdAH.c: removed outdated comment [Bug 1029518].Miguel Sofer2004-09-192-7/+5
|
* no messagedavygrvy2004-09-181-0/+6
|
* Dde package can load into a safe interp. Claim this fact for thedavygrvy2004-09-181-2/+3
| | | | | Tcl_StaticPackage() call when the shell is built with the TCL_USE_STATIC_PACKAGES option.
* Fix silly mistakes :} and make sure that the original bug is a test case.dkf2004-09-182-16/+21
|
* Make sure large shifts shift for real. [Bug 868467]dkf2004-09-183-8/+86
|
* Fix "operand"/"operator" confusiondkf2004-09-181-6/+5
|
* more formatting policedkf2004-09-181-2/+2
|
* More fixes from Mikhail Kolesnitchenko, and also standardize highlightingdkf2004-09-1837-473/+498
| | | | of symbols like TCL_OK, TCL_ERROR, etc.
* Whitespace policedkf2004-09-181-1/+1
|
* * generic/tclBasic.c (Tcl_AddObjErrorInfo, Tcl_LogCommandInfo):dgp2004-09-176-46/+41
| | | | | | | | | | | | * generic/tclCmdAH.c ([catch], [error]): * generic/tclCmdMZ.c ([return]): * generic/tclProc.c (TclUpdateReturnInfo): * generic/tclResult.c (Tcl_SetErrorCodeVA, Tcl_SetObjErrorCode TclTransferResult): Refactored so that all errorCode setting flows through Tcl_SetObjErrorCode(). This greatly reduces the number of different places in the code that need to know details about an internal bitflag field of the Interp struct. Also places errorCode setting in one place for easier future mods.
* more changes for bison supportKevin B Kenny2004-09-174-134/+199
|
* make tclGetDate.y use bison instead of yaccKevin B Kenny2004-09-174-1269/+1858
|
* silence compiler warning in tclClock.cKevin B Kenny2004-09-142-2/+12
|
* * doc/interp.n:Miguel Sofer2004-09-144-45/+85
| | | | | | * generic/tclInterp.c (TclPreventAliasLoop, AliasCreate): * tests/interp.test (17.4-6, 19.3-4): fixing problems with renaming of aliases [Bugs 707104 1026493]. Fix designed by dgp.
* Fix [Bug 1026903] by storing what ensemble the ensemble is cached for.dkf2004-09-133-3/+26
|
* * generic/tclClock.c (TclMktimeObjCmd): Corrected a bad checkKevin B Kenny2004-09-114-5/+38
| | | | | | | | | for error return from 'mktime'. * generic/tclObj.c (Tcl_GetIntFromObj): Corrected a problem where demoting a wide to an int failed on a big-endian machine. [Bug 1026125]. * tests/clock.test (clock-43.1): Added regression test for error return from 'mktime'.
* * generic/tclExecute.c (INST_CONCAT1): fix for [Bug 1025834];Miguel Sofer2004-09-112-37/+60
| | | | avoid unnecessary string copies.
* tcltest-12.3-4 needed to have ::tcltest::loadScript set to empty in their -setupdavygrvy2004-09-112-1/+8
|
* Minor mods to latest commit to correct bugs and compiler warnings ondgp2004-09-101-8/+11
| | | | TCL_WIDE_INT_IS_LONG platforms.
* One less crazy long/wide aunt in the attic [Bug 868489]dkf2004-09-103-26/+212
|
* Fix [Bug 1025359]; make sure wide seeks don't lose errorsdkf2004-09-102-5/+10
|
* * generic/tcl.h: Micro formatting fixes.andreas_kupries2004-09-103-6/+12
| | | | | * generic/tclIOGT.c: Channel version fixed, must be 3, to have wideseekProc. Thanks to David Graveraux <davygrvy@pobox.com>.
* comment typodgp2004-09-101-2/+2
|
* * generic/tclNamespace.c (TclGetNamespaceForQualName): Resolveddgp2004-09-102-12/+18
| | | | | | | | | longstanding inconsistency in the treatment of the TCL_NAMESPACE_ONLY flag revealed by testing the 2004-09-09 commits against Itcl. TCL_NAMESPACE_ONLY now acts as specified in the pre-function comment, forcing resolution in the passed in context namespace. It has been incorrectly forcing resolution in the interp's current namespace.
* fixed a bug where %z was always positive in :localtimeKevin B Kenny2004-09-103-6/+33
|
* * generic/tclExecute.c (INST_CONCAT1): added a peepholeMiguel Sofer2004-09-102-1/+22
| | | | | | optimisation for concatting an empty string. This enables replacing the idiom 'K $x [set x {}]' by '$x[set x {}]' for fastest execution.
* Calls to WriteFile and WriteConsoleA changed to WriteConsole.davygrvy2004-09-102-10/+14
|
* Also corrected faulty prevention of [namespace import] cycles.dgp2004-09-093-21/+74
| | | | [Bug 1017299]
* * generic/tclNamesp.c (Tcl_ForgetImport): Corrected faultydgp2004-09-093-46/+199
| | | | | * tests/namespace.test: logic that relied exclusively on string matching and failed in the presence of [rename]s. [Bug 560297]
* * compat/strftime.c (_conv): Corrected a problem where hour 0Kevin B Kenny2004-09-083-7/+20
| | | | | | would format as a blank format group with %k. * tests/clock.test (clock-41.1): Added regression test case for %k at the zero hour.
* * generic/tclBasic.c (Tcl_CreateInterp): Removed obsoletedgp2004-09-082-228/+117
| | | | | field for storing the string-based command procedure of built-in commands. We no longer have any string-based built-in commands!