summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* Make Miguel's overflow-detection more mnemonic with a macro.dkf2007-08-191-4/+9
|
* * generic/tclExecute.c: changed the check for overflow in sums,Miguel Sofer2007-08-191-0/+12
| | | | | | | | | | | reducing objsize, number of branches and cache misses (according to cachegrind). Non-overflow for s=a+b: previous ((a >= 0 || b >= 0 || s < 0) && (s >= 0 || b < 0 || a < 0)) now (((a^s) >= 0) || ((a^b) < 0)) This expresses: "a and s have the same sign or else a and b have different sign".
* Resolve [Bug 1752148]dkf2007-08-191-0/+5
|
* * generic/tclVar.c: improved localVarNameType caching to leverageMiguel Sofer2007-08-171-0/+4
| | | | | the new availability of Tcl_Obj in variable names, avoiding string comparisons to verify that the cached value is usable.
* * generic/tclExecute.c: check the two most frequent instructionsMiguel Sofer2007-08-161-0/+5
| | | | before the switch. Reduces both runtime and obj size a tiny bit.
* * generic/tclCompExpr.c: Added a "constant" field to the OpNodedgp2007-08-161-0/+9
| | | | | | | | struct (again "free" due to alignment requirements) to mark those subexpressions that are completely known at compile time. Enhanced CompileExprTree() and its callers to precompute these constant subexpressions at compile time. This resolves the issue raised in [Bug 1564517].
* Fix [Bug 1773127]dkf2007-08-151-0/+6
|
* * generic/tclExecute.c (INST_INVOKE*): peephole opt, do not getMiguel Sofer2007-08-141-0/+5
| | | | the interp's result if it will be pushed/popped.
* * generic/tclBasic.c: Use fully qualified variable names fordgp2007-08-141-0/+7
| | | | | | * tests/thread.test: ::errorInfo and ::errorCode so that string * tests/trace.test: reported to variable traces are fully qualified in agreement with Tcl 8.4 operations.
* * unix/tclLoadDyld.c: use dlfcn API on Mac OS X 10.4 and later; fixdas2007-08-141-0/+15
| | | | | | issues with loading from memory on intel and 64bit; add debug messages. * tests/load.test: add test load-10.1 for loading from vfs.
* * generic/tclExecute.c: Provide DECACHE/CACHE protection to thedgp2007-08-131-0/+5
| | | | * tests/trace.test: Tcl_LogCommandInfo() call. [Bug 1773040]
* * generic/tclCmdMZ.c (Tcl_SplitObjCmd): use TclNewStringObj macroMiguel Sofer2007-08-121-0/+3
| | | | instead of calling the function.
* * generic/tcl_Obj.c (TclAllocateFreeObjects): remove unneededMiguel Sofer2007-08-121-0/+5
| | | | memset to 0 of all allocated objects.
* * generic/tclInt.h: remove redundant ops in TclNewStringObj macroMiguel Sofer2007-08-111-0/+4
|
* * generic/tclInt.h: fix the TclSetVarNamespaceVar macro, wasMiguel Sofer2007-08-101-0/+5
| | | | causing a leak.
* Then reorder code todgp2007-08-101-1/+2
| | | | eliminate duplication.
* * generic/tclCompExpr.c: Revise CompileExprTree() to use thedgp2007-08-101-0/+9
| | | | | | | | OpNode mark field scheme of tree traversal. This eliminates the need to use magic values in the left and right fields for that purpose. Also stop abusing the left field within ParseExpr() to store the number of arguments in a parsed function call. CompileExprTree() now determines that for itself at compile time.
* * generic/tclProc.c (TclCreateProc): better comments on theMiguel Sofer2007-08-101-0/+3
| | | | required varflag values when loading precompiled procs.
* * generic/tclExecute.c (INST_STORE_ARRAY):Miguel Sofer2007-08-091-0/+6
| | | | | * tests/trace.test (trace-2.6): whole array write traces on compiled local variables were not firing [Bug 1770591]
* * generic/tclProc.c (InitLocalCache): reference firstLocalPtr viahobbs2007-08-081-0/+5
| | | | procPtr. codePtr->procPtr == NULL exposed by tbcload.
* * generic/tclExecute.c: Corrected failure to compile/linkdgp2007-08-081-0/+3
| | | | in the -DNO_WIDE_TYPE configuration.
* * generic/tclExecute.c: Corrected improper use of bignum argumentsdgp2007-08-081-0/+5
| | | | * tests/expr.test: to *SHIFT operations. [Bug 1770224].
* renamed InitCompiledLocals to InitResolvedLocals to make it clearer that itMiguel Sofer2007-08-081-1/+3
| | | | is not called in the normal case.
* * generic/tclInt.h: remove comments refering to VAR_SCALAR, asMiguel Sofer2007-08-081-0/+7
| | | | | | that flag bit does not exist any longer. * generic/tclProc.c (InitCompiledLocals): removed optimisation for non-resolved case, as the function is never called in that case.
* * generic/tclInt.decls: Exporting via stubs to helpMiguel Sofer2007-08-071-1/+7
| | | | | | * generic/tclInt.h: xotcl adapt to VarReform. * generic/tclIntDecls.h: * generic/tclStubInit.c:
* * unix/Makefile.in: add support for compile flags specific todas2007-08-071-5/+19
| | | | | | | | | | object files linked directly into executables. * unix/configure.in (Darwin): only use -seg1addr flag when prebinding; use -mdynamic-no-pic flag for object files linked directly into exes; support overriding TCL_PACKAGE_PATH/TCL_MODULE_PATH in environment. * unix/configure: autoconf-2.59
* * tests/parseExpr.test: Update source file name of expr parser code.dgp2007-08-061-0/+11
| | | | | | | | | * generic/tclCompExpr.c: Added a "mark" field to the OpNode struct, which is used to guide tree traversal. This field costs nothing since alignement requirements used the memory already. Rewrote ConvertTreeToTokens() to use the new field, which permitted consolidation of utility routines CopyTokens() and GenerateTokensForLiteral().
* * generic/tclGetDate.y: Added a cast to the definition of YYFREE toKevin B Kenny2007-08-061-0/+9
| | | | | | | | silence compiler warnings. * generic/tclDate.c: Regenerated * win/tclWinTest.c: Added a cast to the call to GetSecurityDescriptorDacl to silence compiler warnings.
* missing Changelog entryMiguel Sofer2007-08-041-0/+10
|
* Rewrote word.tcl for greater efficiency. [Bug 1764318]dkf2007-08-011-22/+26
|
* Abstracted the 'offsetof' to a TclOffset macro as per Tk_Offset to permitpatthoyts2007-08-011-0/+6
| | | | compilation with MSVC6 and anything else that may not define this macro.
* * generic/tclVar.c (TclCleanupVar): fix [Bug 1765225], thx LarryMiguel Sofer2007-08-011-0/+5
| | | | Virden.
* VarReform [Patch 1750051]Miguel Sofer2007-07-311-0/+52
| | | | *** POTENTIAL INCOMPATIBILITY *** (tclInt.h and tclCompile.h)
* Regen with autoconf 2.61Miguel Sofer2007-07-311-1/+1
|
* * unix/configure.in: allow use of 'inline' in Tcl sourcesMiguel Sofer2007-07-311-0/+6
| | | | | * win/configure.in: [Patch 1754128] * win/makefile.vc:
* Added missing bug number. ;-)dkf2007-07-311-1/+1
|
* * unix/tclUnixInit.c (TclpSetVariables): Use the thread-safe getpwuiddkf2007-07-311-0/+4
| | | | | replacement to fill the tcl_platform(user) field as it is not subject to spoofing.
* Simplify the #ifdef logic.dkf2007-07-311-0/+2
|
* Fix test failures.dkf2007-07-311-0/+4
|
* Added macros to make bit chopping clearerdkf2007-07-301-34/+38
|
* fix wrong TIP # in ChangelogMiguel Sofer2007-07-241-1/+1
|
* changelog completionMiguel Sofer2007-07-241-1/+4
|
* * generic/tclBasic.c (TEOvI, GetCommandSource):Miguel Sofer2007-07-241-0/+8
| | | | | | | | | | * generic/tclExecute.c (TEBC, TclGetSrcInfoForCmd): * generic/tclInt.h: * generic/tclTrace.c (TclCheck(Interp|Execution)Traces): Removed the need for TEBC to inspect the command before calling TEOvI, leveraging the TIP 282 infrastructure. Moved the generation of a correct nul-terminated command string away from the trace code, back into TEOvI/GetCommandSource.
* * library/platform/platform.tcl: Fixed bug in 'platform::patterns'andreas_kupries2007-07-201-0/+10
| | | | | | | | | * library/platform/pkgIndex.tcl: where identifiers not matching * unix/Makefile.in: the special linux and solaris forms would not * win/Makefile.in: get 'tcl' as an acceptable platform added to * doc/platform.n: the result. Bumped package to version 1.0.3 and * doc/platform_shell.n: updated documentation and Makefiles. Also fixed bad version info in the documentation of platform::shell.
* * generic/tclParse.c: In contexts where interp and parsePtr->interpdgp2007-07-191-0/+7
| | | | | | might be different, be sure to use the latter for error reporting. Also pulled the interp argument back out of ParseTokens() since we already had a parsePtr->interp to work with.
* * generic/tclCompExpr.c: Removed unused arguments and variables.dgp2007-07-181-0/+4
|
* * generic/tclCompExpr.c (ParseExpr): While adding comments todgp2007-07-171-0/+7
| | | | | | explain the operations of ParseExpr(), made significant revisions to the code so it would be easier to explain, and in the process made the code simpler and clearer as well.
* * generic/tclCompExpr.c: More commentary.dgp2007-07-161-0/+7
| | | | | | * tests/parseExpr.test: Several tests of syntax error messages to check that when expression substrings are truncated they leave visible the context relevant to the reported error.
* * generic/tclCompExpr.c: Factored out, corrected, and commenteddgp2007-07-121-0/+5
| | | | common code for reporting syntax errors in LEAF elements.
* 2007-07-11 Miguel Sofer <msofer@users.sf.net>Miguel Sofer2007-07-111-0/+8
| | | | | | | | * generic/tclCompCmds.c (TclCompileWhileCmd): * generic/tclCompile.c (TclCompileScript): Corrected faulty avoidance of INST_START_CMD when the first opcode in a script is within a loop (as produced by 'while 1'), so that the corresponding command is properly counted [Bug 1752146].