summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Clean up uses of cast NULLs.dkf2006-11-021-22/+22
|
* Added explanations, cleaned up whitespace.dkf2006-11-021-12/+30
|
* Indentation policingdkf2006-11-021-20/+24
|
* More trivial formatting stuffdkf2006-11-021-17/+22
|
* Remove confusing line breakdkf2006-11-021-3/+2
|
* Whitespace policingdkf2006-11-021-9/+8
|
* Rewrote comments in TEOVI for clarity and usefulness.dkf2006-11-021-26/+69
| | | | Switched to using TclStackAlloc for unknown handler scratch space.
* fix warningdas2006-10-311-2/+1
|
* * unix/tclUnixPort.h: ensure MODULE_SCOPE is defined before use, sodas2006-10-311-2/+2
| | | | | | | that tclPort.h can once again be included without tclInt.h. * generic/tclEnv.c (Darwin): mark _environ symbol as unexported even when MODULE_SCOPE != __private_extern__.
* * generic/tclBasic.c: Refactored and renamed the routinesdgp2006-10-3118-190/+187
| | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: TclObjPrintf, TclFormatObj, and * generic/tclCmdAH.c: TclFormatToErrorInfo to a new set of * generic/tclCmdIL.c: routines TclAppendPrintfToObj, * generic/tclCmdMZ.c: TclAppendFormatToObj, TclObjPrintf, and * generic/tclDictObj.c: TclObjFormat, with the intent of making * generic/tclExecute.c: the latter list, plus TclAppendLimitedToObj * generic/tclIORChan.c: and TclAppendObjToErrorInfo, public via * generic/tclIOUtil.c: a revised TIP 270. * 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:
* * generic/tclBasic.c:Miguel Sofer2006-10-314-13/+8
| | | | | | | | * generic/tcl.h: * generic/tclInterp.c: * generic/tclNamesp.c: removing the flag bit TCL_EVAL_NOREWRITE, the last remnant of the callObjc/v fiasco. It is not needed, as it is now always set and checked or'ed with TCL_EVAL_INVOKE.
* Fix [Bug 1587618], eliminating the callObjc and callObjv fields from the Interpdkf2006-10-314-90/+52
| | | | structure.
* boo - last commit did not compile :(Miguel Sofer2006-10-311-2/+2
|
* * generic/tclBasic.c (TEOVI): insured that the interp's callObjc/vMiguel Sofer2006-10-311-3/+13
| | | | | fields are restored after traces run, as they be spoiled. This was causing a segfault in tcllib's profiler tests.
* * generic/tclExecute.c (INST_MOD): Corrected improper testing ofdgp2006-10-301-3/+3
| | | | | * tests/expr.test: the sign of bignums when applying Tcl's division rules. Thanks to Peter Spjuth. [Bug 1585704]
* D'oh! Updated the wrong thing.dkf2006-10-301-13/+15
|
* Add missing initialization.dkf2006-10-301-1/+2
|
* * generic/tclNamesp.c (EnsembleImplementationCmd):Miguel Sofer2006-10-291-2/+2
| | | | | * tests/namespace.test (47.7-8): reverted a wrong "optimisation" that completely broke snit; added two tests.
* Minor style consistency cleanupdkf2006-10-281-39/+39
|
* Added some explanatory comments.dkf2006-10-281-10/+14
|
* Regendkf2006-10-282-2/+17
|
* Insert of calling point in middle of procedure code. Also cleaned up howdkf2006-10-283-121/+245
| | | | [apply] terms generate stack trace info.
* Make a comment look nicer. :-)dkf2006-10-281-3/+3
|
* Added missing type to declarationdkf2006-10-271-2/+2
|
* Cleaning up of various bits in tclVar.c to make code clearer to understand.dkf2006-10-271-38/+41
|
* Regendkf2006-10-272-2/+14
|
* Allow extensions that use the internal stubs to set a namespace path.dkf2006-10-272-9/+10
|
* Add field to CallFrame for holding object call frame data.dkf2006-10-272-4/+14
|
* Regendkf2006-10-271-3/+3
|
* Fixed a spot where CONSTness had been forgotten.dkf2006-10-272-7/+7
|
* * generic/tclProc.c (SetLambdaFromAny): minor change, eliminateMiguel Sofer2006-10-271-2/+2
| | | | redundant call to Tcl_GetString (thanks aku).
* * generic/tclInterp.c (ApplyObjCmd):aMiguel Sofer2006-10-262-6/+7
| | | | | * generic/tclNamesp.c (EnsembleImplementationCmd): replaced ckalloc (heap) with TclStackAlloc (execution stack).
* * generic/tclProc.c (ObjInterpProcEx): disable itcl hacks forMiguel Sofer2006-10-241-8/+8
| | | | | calls from ApplyObjCmd (islambda==1), as they mess apply's error messages [Bug 1583266]
* * generic/tclProc.c (ApplyObjCmd): fix wrong#args for apply byMiguel Sofer2006-10-242-16/+39
| | | | | | using the ensemble rewrite engine, [Bug 1574835]. * generic/tclInterp.c (AliasObjCmd): previous commit missed usage of TCL_EVAL_NOREWRITE for aliases.