summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Formatting cleanup to more accurately match the coding standards ofdkf2005-10-131-734/+713
| | | | the rest of the core.
* * generic/tclStrToD.c (TclParseNumber): Missing goto caused crashdgp2005-10-131-1/+2
| | | | when parsing "Na". [Bug 1325833]
* formattingdkf2005-10-131-182/+178
|
* quick typo fix; testingdgp2005-10-131-2/+2
|
* formatting and de-_ANSI_ARGS_-ificationdkf2005-10-131-82/+75
|
* formattingdkf2005-10-121-12/+19
|
* * generic/tclExecute.c (GetNumberFromObj): Restored some lostdgp2005-10-121-1/+7
| | | | | optimizations for empty string values. We avoid cost of a call to TclParseNumber just to tell us an empty string isn't a number.
* Formattingdkf2005-10-121-53/+66
|
* Scrap _ANSI_ARGS_ macro use, yay!dkf2005-10-121-97/+92
|
* Formatting and pure ANSI function declsdkf2005-10-121-152/+161
|
* Fix for [Bug 1325099]dkf2005-10-121-2/+2
|
* performance improvements to [incr]Kevin B Kenny2005-10-121-60/+65
|
* * generic/tclCompCmds.c: New convenience macro CompileTokens().Miguel Sofer2005-10-101-16/+20
|
* * generic/tclExecute.c: Corrections to the NO_WIDE_TYPE build. Alsodgp2005-10-102-3/+4
| | | | added missing "break" to a switch that broke wide XOR operations.
* * generic/tclExecute.c: Corrections to the NO_WIDE_TYPE build.dgp2005-10-102-6/+8
| | | | | | * generic/tclInt.h: Restored HEAD to the NO_WIDE_TYPE configuration until some breakage in the #undef NO_WIDE_TYPE configuration is corrected.
* Fix two bugs in limits, one a crash and the other a failed flag reset.dkf2005-10-101-380/+376
|
* removing wrong commentMiguel Sofer2005-10-101-2/+1
|
* * generic/tclExecute.c: fixing errors in last commit.Miguel Sofer2005-10-101-1/+3
|
* * generic/tclBasic.c:Miguel Sofer2005-10-094-56/+75
| | | | | | | * generic/tclExecute.c: * generic/tclStrToD.c: * generic/tclStringObj.c: initialise variables to avoid compiler warnings ([Bug 1320818] among others).
* TIP#237 IMPLEMENTATIONdgp2005-10-0830-3295/+5655
| | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* * generic/tclPipe.c (TclCreatePipeline): Fixed [SF Tcl Bugandreas_kupries2005-10-051-7/+11
| | | | 1109294]. Applied the patch provided by David Gravereaux.
* * generic/tclIORChan.c (RcClose): Removed unreachable panic/returnandreas_kupries2005-10-051-4/+1
| | | | statements. This fixes the remainder of [SF Tcl Bug 1286256].
* * tests/env.test (env-6.1):hobbs2005-10-051-7/+27
| | | | | | | | | | | * win/tclWinPort.h: define USE_PUTENV_FOR_UNSET 1 * generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for various systems that have putenv(), but can't unset env vars with it. Note difference between Windows and Linux for actually unsetting the env var (use of '='). Correct the resizing of the environ array. We assume that we are in full ownership, but that's not correct.[Bug 979640]
* * generic/tclParse.c (Tcl_ParseCommand): add code that recognizeshobbs2005-10-041-15/+23
| | | | | {} in addition to {expand} for word expansion (make with -DALLOW_EMPTY_EXPAND).
* Tcl_DeleteTimerHandler(): bail out early if passed NULL argument.vasiljevic2005-10-041-3/+6
|
* Tcl_ClearChannelHandlers(): now deletes any outstandingvasiljevic2005-10-041-6/+18
| | | | | timer for the channel. Also, prevents events still in the event queue from triggering on the current channel.
* * generic/tclMain.c: Separate encoding conversion of command linedgp2005-09-301-28/+23
| | | | arguments from list formatting. [Bug 1306162].
* Formatting fixesdkf2005-09-271-127/+126
|
* update tclTomMath.h for bug 1263012Kevin B Kenny2005-09-261-1/+11
|
* Regen tommath.h from release 0.36Kevin B Kenny2005-09-261-11/+28
|
* silence compiler warningdgp2005-09-161-2/+1
|
* * generic/tclStringObj.c (TclAppendFormattedObjs): Revisionkennykb_numerics_branch_20050915dgp2005-09-151-9/+7
| | | | to eliminate one round of string copying.
* * generic/tclBasic.c: More callers of TclObjPrintf anddgp2005-09-159-58/+70
| | | | | | | | | | | | | | * generic/tclCkalloc.c: TclFormatToErrorInfo. * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c * unix/configure: autoconf-2.59
* * generic/tclStringObj.c: Bug fixes: ObjPrintfVA needed todgp2005-09-149-93/+57
| | | | | | | | | | | | | | | | | | support "*" fields and needed to interpret precision limits on %s conversions as a maximum number of bytes, not Tcl_UniChars, to take from the (char *) argument. * generic/tclBasic.c: Updated several callers to use * generic/tclCkalloc.c: TclFormatToErrorInfo() and/or * generic/tclCmdAH.c: TclObjPrintf(). * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclProc.c:
* * generic/tclBasic.c: Updated several callers to usedgp2005-09-142-49/+31
| | | | | | | * generic/tclCmdMZ.c: TclFormatToErrorInfo(). * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclProc.c:
* * generic/tclStringObj.c: Bug fixes: ObjPrintfVA needed todgp2005-09-144-44/+53
| | | | | | | | | | | | | support "*" fields and needed to interpret precision limits on %s conversions as a number of bytes, not Tcl_UniChars, to take from the (char *) argument. * generic/tclBasic.c: Updated several callers to use * generic/tclCmdMZ.c: TclFormatToErrorInfo(). * generic/tclIOUtil.c: * library/init.tcl: Keep [unknown] in sync with errorInfo formatting rules.
* * generic/tclBasic.c: First caller of TclFormatToErrorInfo.dgp2005-09-143-55/+61
| | | | | | * generic/tclInt.h: Using stdarg.h conventions, add more * generic/tclStringObj.c: fixed arguments to TclFormatObj() and TclObjPrintf(). Added new routine TclFormatToErrorInfo().
* * generic/tcl.h: Explicitly standardized on the use of stdarg.hdgp2005-09-137-61/+51
| | | | | | | | | | | | | | | | | * generic/tclBasic.c: conventions for functions with variable number * generic/tclInt.h: of arguments. Support for varargs.h has been * generic/tclPanic.c: implicitly gone for some time now. All * generic/tclResult.c: TCL_VARARGS* macros purged from Tcl sources, * generic/tclStringObj.c: leaving only some deprecated #define's * tools/genStubs.tcl: in tcl.h for the sake of older extensions. * generic/tclDecls.h: make genstubs * doc/AddErrInfo.3: Replaced all documented requirement for use * doc/Eval.3: of TCL_VARARGS_START() with requirement for * doc/Panic.3: use of va_start(). * doc/SetResult.3: * doc/StringObj.3:
* 2005-09-12 Don Porter <dgp@users.sourceforge.net>dgp2005-09-121-4/+6
| | | | | | * generic/tclStringObj.c (TclAppendFormattedObjs): Bug fix: make sure %ld formats force the collection of a wide value, when the value could be a different long.
* silence compiler warningsdgp2005-09-091-5/+2
|
* * generic/tclIORChan.c (RcDecodeEventMask): Added missing typeandreas_kupries2005-09-091-1/+2
| | | | | | declaration for the parameter 'mask'. This fixes the [SF Tcl Bug 1286256]. The other warning can be removed only by removing the panic/return code.
* * generic/tclInt.h: New internal routine TclObjPrintf()dgp2005-09-092-2/+132
| | | | | * generic/tclStringObj.c: is similar to TclFormatObj() but accepts arguments in non-Tcl_Obj format.
* added missing casts in tclStringObj.cKevin B Kenny2005-09-091-3/+3
|
* * generic/tclInt.h: New internal routines TclFormatObj()dgp2005-09-093-3/+622
| | | | | | | | | | * generic/tclStringObj.c: and TclAppendFormattedObjs() to offer sprintf()-like means to append to Tcl_Obj. Work in progress toward [RFE 572392]. * generic/tclCmdAH.c: Compiler directive NEW_FORMAT when #define'd directs the [format] command to be implemented in terms of the new TclAppendFormattedObjs() routine.
* Squelch warningdkf2005-09-081-2/+2
|
* Test suite about fixed up for TIP#254dkf2005-09-081-3/+1
|
* Oops!dkf2005-09-081-19/+19
|
* Added support machinery for TIP#254 testsdkf2005-09-081-8/+269
|
* TIP #254 implementationdkf2005-09-082-962/+1132
| | | | Still missing additional tests.
* * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negativedgp2005-09-071-36/+38
| | | | | | * tests/utf.test (utf-1.5): Tcl_UniChar input value. Incorrect handling was producing byte sequences outside of Tcl's legal internal encoding. [Bug 1283976].