summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup to follow engineering manual guidelinesdkf2006-12-133-552/+663
|
* * generic/tclCompExpr.c: Now that the new internal structsdgp2006-12-122-3/+11
| | | | | | | | | are in use to support operator commands, might as well make them the default for [expr] as well and avoid passing every parsed expression through the inefficient Tcl_Token array format. This addresses most issues in [RFE 1517602] Assuming no performance disasters result from this, much dead code supporting the other implementation might now be removed.
* * generic/tclBasic.c: Final step routing all direct evaluation formsdgp2006-12-125-35/+163
| | | | | | * generic/tclCompExpr.c: of the operator commands through TEBC, * generic/tclCompile.h: dropping all the routines in tclMathOp.c. * generic/tclMathOp.c: Still needs Engineering Manual attention.
* * generic/tclBasic.c: Another step with all sorting operator commandsdgp2006-12-114-9/+73
| | | | | * generic/tclCompExpr.c: now routing through TEBC via * generic/tclCompile.h: TclSortingOpCmd().
* adjust tcltest.tcl line numbers in info-22.8 & info-23.6 that changed by ↵das2006-12-101-3/+3
| | | | last tcltest.tcl commit.
* * generic/tclBasic.c: Another step down the path of re-usingdgp2006-12-086-64/+122
| | | | | | | | * generic/tclCompExpr.c: TclExecuteByteCode to implement the TIP 174 * generic/tclCompile.h: commands instead of using a mass of code * generic/tclMathOp.c: duplication. Now all operator commands that * tests/mathop.test: demand exactly one operation are implemented via TclSingleOpCmd and a call to TEBC.
* * generic/tclCompExpr.c: Revised implementation of TclInvertOpCmddgp2006-12-085-31/+72
| | | | | | | | | | * generic/tclMathOp.c: to perform a bytecode compile / execute sequence. This demonstrates a path toward avoiding mountains of code duplication in tclMathOp.c and tclExecute.c. * generic/tclCompile.h: Change TclExecuteByteCode() from static to * generic/tclExecute.c: MODULE_SCOPE so all files including tclCompile.h may call it.
* * generic/tclMathOp.c: More revisions to make tests pass.dgp2006-12-083-10/+26
| | | | * tests/mathop.test:
* Fix [Bug 1571056] and silence a GCC warningdkf2006-12-082-2/+9
|
* Minor formattingdkf2006-12-081-3/+3
|
* More tests for bitopsdkf2006-12-082-37/+348
|
* typodas2006-12-081-2/+2
|
* * library/tcltest/tcltest.tcl: use [info frame] for "-verbose line".das2006-12-082-10/+23
|
* * generic/tclCompCmds.c: Additional commits correct mostdgp2006-12-074-11/+83
| | | | | * generic/tclExecute.c: failing tests illustrating bugs uncovered * generic/tclMathOp.c: in [Path 1578137].
* Handle the export of the commands from tcl::mathop more efficientlydkf2006-12-071-3/+3
|
* * generic/tclBasic.c: Biggest source of TIP 174 failures was thatdgp2006-12-072-29/+38
| | | | | the commands were not [namespace export]ed from the ::tcl::mathop namespace. More bits from [Patch 1578137] correct that.
* * tests/mathop.test: Commmitted several new tests from Peter Spjuthdgp2006-12-072-4/+741
| | | | | found in [Patch 157837]. Many failures now demonstrate issues to fix in the TIP 174 implementation.
* Remove erroneous linedkf2006-12-071-3/+2
|
* More #174 bits and piecesdkf2006-12-074-416/+394
|
* Fixed line endings broken by a previous checking that caused test failures ↵patthoyts2006-12-072-717/+721
| | | | on windows.
* More TIP 174 compilation bug fixes, consolidations, and improvements.dgp2006-12-061-93/+77
|
* * generic/tclCompCmds.c: Revised and consolidated into utilitydgp2006-12-063-117/+115
| | | | | * tests/mathop.c: routines some of routines that compile the new TIP 174 commands. This corrects some known bugs. More to come.
* Improved error reporting in test expr-47.12Kevin B Kenny2006-12-062-8/+23
|
* add new platform package files and earlier new test filesdas2006-12-061-0/+22
|
* fix errors flagged by make/htmldas2006-12-063-8/+8
|
* Whitespace/style copdkf2006-12-061-9/+10
|
* Documentation for platform package.andreas_kupries2006-12-053-0/+130
|
* * generic/tclBasic.c: TIP #291. Define tcl_platform element forandreas_kupries2006-12-0512-10/+551
| | | | | | | | | | | | | | | | * doc/tclvars.n: pointerSize. * win/Makefile.in: Added installation instructions for the platform * win/makefile.vc: package. Added the platform package. * win/makefile.bc: * unix/Makefile.in: * tests/platform.test: * tests/safe.test: * library/platform/platform.tcl: * library/platform/shell.tcl: * library/platform/pkgIndex.tcl:
* * generic/tclPkg.c: When no requirements are supplied to adgp2006-12-053-4/+19
| | | | | | | | | | | | * tests/pkg.test: [package require $pkg] and [package unknown] is invoked to find a satisfying package, pass the requirement argument "0-" (which means all versions are acceptable). This permits a registered [package unknown] command to call [package vsatisfies $testVersion {*}$args] without any special handling of the empty $args case. This fixes/avoids a bug in [::tcl::tm::UnknownHandler] that was causing old TM versions to be provided in preference to newer TM versions. Thanks to Julian Noble for discovering the issue.
* Fix leaking-stderr test breakagedkf2006-12-041-8/+25
|
* Implement TIP#267dkf2006-12-044-707/+739
|
* * generic/tclCompExpr.c: Added implementation for thedgp2006-12-042-24/+268
| | | | | | | CompileExprTree() routine that can produce expression bytecode directly from internal structures with no need to pass through the Tcl_Token array representation. Still disabled by default. #undef USE_EXPR_TOKENS to try it out.
* * generic/tclCompExpr.c: Added expr parsing routines thatdgp2006-12-032-6/+1100
| | | | | | | | | | produce a different set of internal structures representing the parsed expression, as well as routines that go on to convert those structures into the traditional Tcl_Token array format. Use of these routines is currently disabled. #undef PARSE_DIRECT_EXPR_TOKENS to enable them. These routines will only become really useful when more routines that compile directly from the new internal structures are completed.
* Bug 1606454 fixeddkf2006-12-022-492/+495
|
* fix warningdas2006-12-021-3/+4
|
* removed BZ_DIV_CUTOFF declaration now that it's gone from libtommathdas2006-12-021-4/+3
|
* TIP#299 IMPLEMENTATIONKevin B Kenny2006-12-015-10/+235
|
* Fixed results of bollixed commit of libtommath 0.39Kevin B Kenny2006-12-015-167/+16
|
* * tests/chan.test: Correct timing sensitivity in new testdgp2006-12-012-3/+7
| | | | [Bug 1606860]
* TIP#287 IMPLEMENTATIONdgp2006-12-019-11/+220
| | | | | | | | | | * doc/chan.n: New subcommand [chan pending]. * generic/tclBasic.c: Thanks to Michael Cleverly for proposal * generic/tclInt.h: and implementation. * generic/tclIOCmd.c: * library/init.tcl: * tests/chan.test: * tests/ioCmd.test:
* TIP#298 IMPLEMENTATIONdgp2006-12-017-178/+63
| | | | | | | | | | | * generic/tcl.decls: Tcl_GetBignumAndClearObj -> Tcl_TakeBignumFromObj. * generic/tclObj.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclExecute.c: Update callers. * generic/tclMathOp.c:
* declare new BZ_DIV_CUTOFF global as MODULE_SCOPEdas2006-12-011-3/+4
|
* typodas2006-12-011-1/+1
|
* fix warningsdas2006-12-012-6/+6
|
* fix typo: 0,0 -> 0.0das2006-12-011-3/+3
|
* fix gcc warning: "suggest parentheses around comparison in operand of &"das2006-12-011-3/+3
|
* Upgrade to tommath 0.39 plus patches from TomKevin B Kenny2006-12-0110-22/+190
|
* Import of libtommath 0.39+Kevin B Kenny2006-12-01128-5183/+970
|
* fixed bug in floating point initial approximation that caused convergence ↵Kevin B Kenny2006-11-301-4/+10
| | | | failure
* Olson's tzdata2006pKevin B Kenny2006-11-3012-704/+723
|