summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* * generic/tclBasic.c (TEOvI, GetCommandSource):Miguel Sofer2007-07-245-73/+80
| | | | | | | | | | * 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-207-25/+41
| | | | | | | | | * 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-192-20/+27
| | | | | | 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-182-43/+29
|
* typodgp2007-07-171-2/+2
|
* * generic/tclCompExpr.c (ParseExpr): While adding comments todgp2007-07-172-202/+258
| | | | | | 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-163-7/+126
| | | | | | * 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.
* additional commentarydgp2007-07-121-6/+25
|
* * generic/tclCompExpr.c: Factored out, corrected, and commenteddgp2007-07-122-44/+48
| | | | common code for reporting syntax errors in LEAF elements.
* 2007-07-11 Miguel Sofer <msofer@users.sf.net>Miguel Sofer2007-07-113-15/+36
| | | | | | | | * 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].
* * generic/tclCompExpr.c: Added a "parseOnly" flag argument todgp2007-07-112-49/+41
| | | | | | | | | | | ParseExpr() to indicate whether the caller is Tcl_ParseExpr(), with an end goal of filling a Tcl_Parse with Tcl_Tokens representing the parsed expression, or TclCompileExpr() with the goal of compiling and executing the expression. In the latter case, more aggressive conversion of QUOTED and BRACED lexeme to literals is done. In the former case, all such conversion is avoided, since Tcl_Token production would revert it anyway. This enables simplifications to the GenerateTokensForLiteral() routine as well.
* Renamed some variables fordgp2007-07-102-47/+117
| | | | clarity and replaced some cryptic logic with more readable macros.
* Removed some unused counter variables.dgp2007-07-102-6/+18
|
* * generic/tclCompExpr.c: Added a field for operator precedencedgp2007-07-102-40/+174
| | | | | | | | to be stored directly in the parse tree. There's no memory cost to this addition, since that memory would have been lost to alignment issues anyway. Also, converted precedence definitions and lookup tables to use symbolic constants instead of raw number for improved readability, and continued extending/improving/correcting comments.
* More extended commentary about the data structures of the expr parser.dgp2007-07-091-43/+85
|
* * generic/tclCompExpr.c: Revision so that the END lexeme neverdgp2007-07-092-4/+38
| | | | | | | gets inserted into the parse tree. Later tree traversal never reaches it since its location in the tree is not variable. Starting and stopping with the START lexeme (node 0) is sufficient. Also finished lexeme code commentary.
* * generic/tclCompExpr.c: Added missing creation and returndgp2007-07-092-2/+16
| | | | of the Tcl_Parse fields that indicate error conditions. [Bug 1749987]
* More work in progress commenting the expr parserdgp2007-07-051-10/+55
|