summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* removed BZ_DIV_CUTOFF declaration now that it's gone from libtommathdas2006-12-021-4/+3
|
* TIP#299 IMPLEMENTATIONKevin B Kenny2006-12-011-1/+119
|
* TIP#287 IMPLEMENTATIONdgp2006-12-013-3/+78
| | | | | | | | | | * 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-016-178/+50
| | | | | | | | | | | * 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
|
* fix warningsdas2006-12-012-6/+6
|
* * generic/tclBasic.c (Tcl_AppendObjToErrorInfo): Addeddgp2006-11-291-1/+2
| | | | | Tcl_DecrRefCount() on the objPtr argument to plug memory leaks. This makes the routine a consumer, which makes it easiest to use.
* * generic/tclBasic.c: TIP #280 implementation.andreas_kupries2006-11-2819-196/+2165
| | | | | | | | | | | | | | | | | | | | | * 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:
* * generic/tclExecute.c (TclIncrObj): Correct failure to detectdgp2006-11-271-2/+2
| | | | floating-point increment values. Thanks to William Coleda [Bug 1602991]
* Finished coding part of TIP#174. Still have tests and docs to do.dkf2006-11-252-1392/+2894
|
* Added some more implementationsdkf2006-11-241-3/+274
|
* Supply missing #ifdefdgp2006-11-241-1/+3
|
* Added Mod implementationdkf2006-11-231-2/+209
|
* Added implementations of the interpreted comparison operatorsdkf2006-11-231-15/+561
|
* Added some interpreted operator implementationsdkf2006-11-231-7/+61
|
* *Partial* implementation of TIP#174. Still needs non-compiled versions of mostdkf2006-11-233-4/+1129
| | | | operators, plus docs and tests.
* whitespacedas2006-11-231-5/+5
|
* TIP#269 implementationdkf2006-11-221-10/+65
|
* * generic/tcl.h: Remove mention of win/README.binary in comment.dgp2006-11-221-2/+1
|
* * generic/tcl.h: Moved TCL_REG_BOSONLY #define from tcl.h todgp2006-11-222-12/+14
| | | | | | * generic/tclInt.h: tclInt.h. Only know user is Expect, which already #include's tclInt.h. No need to continue greater exposure. [Bug 926500]
* Make the guts of [chan] more robust.dkf2006-11-201-17/+45
|
* * generic/tclExecute.c (INST_EXPON): Corrected crash ondgp2006-11-171-1/+6
| | | | [expr 2**(1<<63)]. Was operating on cleared bignum Tcl_Obj.
* TIP#270 IMPLEMENTATIONdgp2006-11-1524-116/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* * tools/genStubs.tcl: Updated script to no longer produce thedgp2006-11-156-2565/+2355
| | | | | | | | | | | | | | | _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:
* TIP#261 IMPLEMENTATIONdgp2006-11-141-1/+23
| | | | | * generic/tclNamesp.c: [namespace import] with 0 arguments introspects the list of imported commands.
* Silence a compiler warining about presenting a volatile pointer to 'memset'Kevin B Kenny2006-11-131-3/+3
|
* * generic/tclIO.c: When [gets] on a binary channel needs to usedgp2006-11-131-12/+41
| | | | | | | 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/tclCompExpr.c: fix gcc warnings about 'cast to/fromdas2006-11-1312-54/+79
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Regendkf2006-11-122-2/+30
|
* Transfer TclPtrMakeUpvar and TclObjLookupVar to the internal stubs table.dkf2006-11-122-9/+11
|
* * generic/tclParseExpr.c (removed): Moved all the code ofdgp2006-11-092-1076/+1051
| | | | | | | | | * 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.
* Optimize for the unshared case.dkf2006-11-092-20/+59
|
* Implemented [string reverse].dkf2006-11-091-5/+25
| | | | Finalizes basic TIP#272 implementation.
* Implemented [lreverse] from TIP#272dkf2006-11-093-3/+57
|
* Minor simplification of memcpy usagedkf2006-11-084-73/+110
|
* Rewrite for style and clarity (esp. tclPkg.c)dkf2006-11-082-624/+788
|
* Minor updates (whitespace police, etc.)dkf2006-11-073-29/+29
|
* Minor changes (whitespace police, etc.)dkf2006-11-071-59/+56
|
* * generic/tclStringObj.c: Changed Tcl_ObjPrintf() response todgp2006-11-051-2/+3
| | | | | an invalid format specifier string. No longer panics; now produces an error message as output.
* TIP#274 IMPLEMENTATIONdgp2006-11-051-2/+6
| | | | | * generic/tclParseExpr.c: Exponentiation operator is now * tests/expr.test: right associative. [Patch 1556802]
* * generic/tclBasic.c (TEOVI): fix por possible leak of a CommandMiguel Sofer2006-11-041-3/+5
| | | | in the presence of execution traces that delete it.
* * generic/tclBasic.c (TEOVI):Miguel Sofer2006-11-031-10/+14
| | | | | | * tests/trace.test (trace-21.11): fix for [Bug 1590232], execution traces may cause a second command resolution in the wrong namespace.
* * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-9/+15
| | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* * generic/tclCmdAH.c: Further revisions to produce the routinesdgp2006-11-024-108/+21
| | | | | | * generic/tclInt.h: TclFormat() and TclAppendFormatToObj() that * generic/tclNamesp.c: accept (objc, objv) arguments rather than * generic/tclStringObj.c: any varargs stuff.
* Silence compiler grumbles.dkf2006-11-024-49/+45
|
* Fix some comments, make selected if/while bodies clearer by inserting comments.dkf2006-11-021-9/+11
|
* * generic/tclBasic.c: Further revised TclAppendPrintToObj() anddgp2006-11-0218-95/+86
| | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: TclObjPrintf() routines to panic when unable * generic/tclCmdAH.c: to complete their formatting operations, rather * generic/tclCmdIL.c: than report an error message. This means an * generic/tclCmdMZ.c: interp argument for error message recording is * generic/tclDictObj.c: no longer needed, further simplifying the * generic/tclExecute.c: interface for callers. * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
* Reverted tclEncoding.c commits that caused crashes and failures all overdgp2006-11-021-123/+128
| | | | the place.
* Make better use of the core's internal macros.dkf2006-11-021-89/+96
|
* Removed unnecessary casts and reworked some loops for more clarity.dkf2006-11-021-40/+28
|