summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclExecute.c: check the two most frequent instructionsMiguel Sofer2007-08-162-1/+22
| | | | before the switch. Reduces both runtime and obj size a tiny bit.
* * generic/tclCompExpr.c: Added a "constant" field to the OpNodedgp2007-08-162-90/+305
| | | | | | | | 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-153-14/+49
|
* * generic/tclExecute.c (INST_INVOKE*): peephole opt, do not getMiguel Sofer2007-08-142-1/+11
| | | | the interp's result if it will be pushed/popped.
* comment correctionsdgp2007-08-141-8/+7
|
* * generic/tclBasic.c: Use fully qualified variable names fordgp2007-08-144-7/+15
| | | | | | * 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-143-172/+394
| | | | | | issues with loading from memory on intel and 64bit; add debug messages. * tests/load.test: add test load-10.1 for loading from vfs.
* * unix/dltest/pkga.c: whitespace & comment cleanup, removedas2007-08-147-67/+22
| | | | | | | | | * unix/dltest/pkgb.c: unused pkgf.c. * unix/dltest/pkgc.c: * unix/dltest/pkge.c: * unix/dltest/pkgf.c (removed): * unix/dltest/pkgua.c: * macosx/Tcl.xcodeproj/project.pbxproj:
* * generic/tclExecute.c: Provide DECACHE/CACHE protection to thedgp2007-08-133-2/+21
| | | | * tests/trace.test: Tcl_LogCommandInfo() call. [Bug 1773040]
* * generic/tclCmdMZ.c (Tcl_SplitObjCmd): use TclNewStringObj macroMiguel Sofer2007-08-122-5/+8
| | | | instead of calling the function.
* * generic/tcl_Obj.c (TclAllocateFreeObjects): remove unneededMiguel Sofer2007-08-122-2/+6
| | | | memset to 0 of all allocated objects.
* * generic/tclInt.h: remove redundant ops in TclNewStringObj macroMiguel Sofer2007-08-112-3/+10
|
* fix missing preprocessor \ line continuationdas2007-08-111-2/+2
|
* * generic/tclInt.h: fix the TclSetVarNamespaceVar macro, wasMiguel Sofer2007-08-102-3/+10
| | | | causing a leak.
* Then reorder code todgp2007-08-102-220/+176
| | | | eliminate duplication.
* * generic/tclCompExpr.c: Revise CompileExprTree() to use thedgp2007-08-102-65/+126
| | | | | | | | 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-102-10/+12
| | | | required varflag values when loading precompiled procs.
* * generic/tclExecute.c (INST_STORE_ARRAY):Miguel Sofer2007-08-093-25/+36
| | | | | * 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-082-8/+12
| | | | procPtr. codePtr->procPtr == NULL exposed by tbcload.
* * generic/tclExecute.c: Corrected failure to compile/linkdgp2007-08-082-2/+5
| | | | in the -DNO_WIDE_TYPE configuration.
* * generic/tclExecute.c: Corrected improper use of bignum argumentsdgp2007-08-083-8/+24
| | | | * tests/expr.test: to *SHIFT operations. [Bug 1770224].
* renamed InitCompiledLocals to InitResolvedLocals to make it clearer that itMiguel Sofer2007-08-082-9/+11
| | | | is not called in the normal case.
* * generic/tclInt.h: remove comments refering to VAR_SCALAR, asMiguel Sofer2007-08-083-80/+69
| | | | | | 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-075-8/+27
| | | | | | * generic/tclInt.h: xotcl adapt to VarReform. * generic/tclIntDecls.h: * generic/tclStubInit.c:
* * unix/Makefile.in: add support for compile flags specific todas2007-08-074-36/+59
| | | | | | | | | | 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
* * generic/tclEnv.c: improve environ handling on Mac OS X (adapteddas2007-08-072-35/+11
| | | | * unix/tclUnixPort.h: from Apple changes in Darwin tcl-64).
* * tests/parseExpr.test: Update source file name of expr parser code.dgp2007-08-063-265/+299
| | | | | | | | | * 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-064-444/+739
| | | | | | | | silence compiler warnings. * generic/tclDate.c: Regenerated * win/tclWinTest.c: Added a cast to the call to GetSecurityDescriptorDacl to silence compiler warnings.
* fix breakage in TCL_COMPILE_DEBUG builddas2007-08-051-9/+11
|
* missing Changelog entryMiguel Sofer2007-08-041-0/+10
|
* modifs to help itcl adapt to VarReformMiguel Sofer2007-08-046-13/+61
|
* Tidying up.dkf2007-08-034-278/+326
|
* autoheader-2.59das2007-08-021-0/+6
|
* Regenerated configure using autoconf 2.59. Autoconf 2.61 changedandreas_kupries2007-08-012-8263/+7656
| | | | the location of the installed manpages.
* Rewrote word.tcl for greater efficiency. [Bug 1764318]dkf2007-08-012-90/+108
|
* Abstracted the 'offsetof' to a TclOffset macro as per Tk_Offset to permitpatthoyts2007-08-014-5/+23
| | | | compilation with MSVC6 and anything else that may not define this macro.
* * generic/tclVar.c (TclCleanupVar): fix [Bug 1765225], thx LarryMiguel Sofer2007-08-012-2/+7
| | | | Virden.
* VarReform [Patch 1750051]Miguel Sofer2007-07-3121-2158/+2812
| | | | *** POTENTIAL INCOMPATIBILITY *** (tclInt.h and tclCompile.h)
* Regen with autoconf 2.61Miguel Sofer2007-07-313-7582/+8331
|
* * unix/configure.in: allow use of 'inline' in Tcl sourcesMiguel Sofer2007-07-314-4/+12
| | | | | * win/configure.in: [Patch 1754128] * win/makefile.vc:
* Whitespace/format cleanupdkf2007-07-312-64/+61
|
* Added missing bug number. ;-)dkf2007-07-311-1/+1
|
* * unix/tclUnixInit.c (TclpSetVariables): Use the thread-safe getpwuiddkf2007-07-312-15/+25
| | | | | replacement to fill the tcl_platform(user) field as it is not subject to spoofing.
* Simplify the #ifdef logic.dkf2007-07-312-334/+398
|
* One more bad change spotted by AKudkf2007-07-311-2/+2
|
* Fix test failures.dkf2007-07-312-2/+6
|
* Added macros to make bit chopping clearerdkf2007-07-302-183/+198
|
* fix wrong TIP # in ChangelogMiguel Sofer2007-07-241-1/+1
|
* comment fixMiguel Sofer2007-07-241-3/+2
|
* changelog completionMiguel Sofer2007-07-241-1/+4
|