| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
the commands were not [namespace export]ed from the ::tcl::mathop
namespace. More bits from [Patch 1578137] correct that.
|
| |
|
| |
|
|
|
|
|
| |
* tests/mathop.c: routines some of routines that compile
the new TIP 174 commands. This corrects some known bugs. More to come.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
| |
|
| |
|
|
|
|
|
| |
Tcl_DecrRefCount() on the objPtr argument to plug memory leaks.
This makes the routine a consumer, which makes it easiest to use.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclCompCmds.c:
* generic/tclCompExpr.c:
* generic/tclCompile.c:
* generic/tclCompile.h:
* generic/tclExecute.c:
* generic/tclIOUtil.c:
* generic/tclInt.h:
* generic/tclInterp.c:
* generic/tclNamesp.c:
* generic/tclObj.c:
* generic/tclProc.c:
* tests/compile.test:
* tests/info.test:
* tests/platform.test:
* tests/safe.test:
|
|
|
|
| |
floating-point increment values. Thanks to William Coleda [Bug 1602991]
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
operators, plus docs and tests.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* generic/tclInt.h: tclInt.h. Only know user is Expect, which
already #include's tclInt.h. No need to continue greater exposure.
[Bug 926500]
|
| |
|
|
|
|
| |
[expr 2**(1<<63)]. Was operating on cleared bignum Tcl_Obj.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.decls: New public routines Tcl_ObjPrintf,
* generic/tclStringObj.c: Tcl_AppendObjToErrorInfo, Tcl_Format,
* generic/tclInt.h: Tcl_AppendLimitedToObj,
Tcl_AppendFormatToObj and Tcl_AppendPrintfToObj. Former internal
versions removed.
* generic/tclDecls.h: make genstubs
* generic/tclStubInit.c:
* generic/tclBasic.c: Updated callers.
* generic/tclCkalloc.c:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclCompExpr.c:
* generic/tclCompile.c:
* generic/tclDictObj.c:
* generic/tclExecute.c:
* generic/tclIORChan.c:
* generic/tclIOUtil.c:
* generic/tclMain.c:
* generic/tclNamesp.c:
* generic/tclObj.c:
* generic/tclPkg.c:
* generic/tclProc.c:
* generic/tclStrToD.c:
* generic/tclTimer.c:
* generic/tclUtil.c:
* unix/tclUnixFCmd.c:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
_ANSI_ARGS_ wrapper in generated declarations. Also revised to
accept variadic prototypes with more than one fixed argument.
(This is possible since TCL_VARARGS and its limitations are no
longer in use).
* generic/tcl.h: Some reordering so that macro definitions
do not interfere with the now _ANSI_ARGS_-less stub declarations.
* generic/tclDecls.h: make genstubs
* generic/tclIntDecls.h:
* generic/tclIntPlatDecls.h:
* generic/tclPlatDecls.h:
* generic/tclTomMathDecls.h:
|
|
|
|
|
| |
* generic/tclNamesp.c: [namespace import] with 0 arguments introspects
the list of imported commands.
|
| |
|
|
|
|
|
|
|
| |
the "iso8859-1" encoding, save a copy of that encoding per-thread to
avoid repeated freeing and re-loading of it from the file system.
This replaces the cached copy of this encoding that the platform
initialization code used to keep in pre-8.5 releases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclEncoding.c: pointer from/to integer of different
* generic/tclEvent.c: size' on 64-bit platforms by casting to
* generic/tclExecute.c: intermediate types intptr_t/uintptr_t
* generic/tclHash.c: via new PTR2INT(), INT2PTR(),
* generic/tclIO.c: PTR2UINT() and UINT2PTR() macros.
* generic/tclInt.h: [Patch 1592791]
* generic/tclProc.c:
* generic/tclTest.c:
* generic/tclThreadStorage.c:
* generic/tclTimer.c:
* generic/tclUtil.c:
* unix/configure.in:
* unix/tclUnixChan.c:
* unix/tclUnixPipe.c:
* unix/tclUnixPort.h:
* unix/tclUnixTest.c:
* unix/tclUnixThrd.c:
* unix/configure: autoconf-2.59
* unix/tclConfig.h.in: autoheader-2.59
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompExpr.c: tclParseExpr.c into tclCompExpr.c.
* unix/Makefile.in: This sets the stage for expr compiling to
* win/Makefile.in: work directly with the full parse tree
* win/makefile.bc: structures, and not have to pass through
* win/makefile.vc: the information lossy format of an array
* win/tcl.dsp: of Tcl_Tokens.
|
| |
|
|
|
|
| |
Finalizes basic TIP#272 implementation.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
an invalid format specifier string. No longer panics; now produces
an error message as output.
|