summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * 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].
* Add flag to lists so that evaluating contexts can handle them efficiently muchdkf2005-09-064-963/+1038
| | | | | of the time even when they are not pure. The flag works by keeping track of when the string rep was derived from the internal rep.
* Make symbol static to stop it from being visible outside the Tcl library ondkf2005-09-051-2/+2
| | | | traditional Unix platforms. [Bug 1263012]
* * unix/tclUnixSock.c (InitializeHostName): Synchronized use ofandreas_kupries2005-09-024-9/+9
| | | | | | | | | | | | | | | | | | | | | | | static modifier in declaration and definition of function. * unix/tclUnixChan.c (FileTruncateProc): Synchronized use of static modifier in declaration and definition of function. * generic/tclResult.c (ReleaseKeys): Synchronized use of static modifier in declaration and definition of function. * generic/tclListObj.c (NewListIntRep): Synchronized use of static modifier in declaration and definition of function. * generic/tclEncoding.c (InitializeEncodingSearchPath): Synchronized use of static modifier in declaration and definition of function. * generic/tclEncoding.c (FillEncodingFileMap): Synchronized use of static modifier in declaration and definition of function. * generic/tclIORChan.c (RcNewHandle): Synchronized use of static modifier in declaration and definition of function.
* allow NULL interp in Tcl_FSMatchInDirectoryvincentdarley2005-08-311-2/+3
|
* Bug 1275043Kevin B Kenny2005-08-291-16/+28
|
* * generic/tclIO.c: Moved Tcl_{Cut,Splice}Channel toandreas_kupries2005-08-262-10/+154
| | | | | | | | | {Cut,Splice}Channel for internal use, and created new public functions for Tcl_{Cut,Splice}Channel which walk the whole stack of transformations and invoke the necessary thread actions. Added code to Tcl_(Un)StackChannel to properly invoke the thread actions when pushing and popping transformations on/from a channel.
* Style systematization and _ANSI_ARGS_ removaldkf2005-08-261-1423/+1335
|
* Remove _ANSI_ARGS_dkf2005-08-261-20/+18
|
* More whitespace cleansing and _ANSI_ARGS_ purgingdkf2005-08-263-522/+445
|
* Remove _ANSI_ARGS_ and tidy up commentsdkf2005-08-261-236/+208
|
* Fix crashes when running Snit's test suite caused by traces forcing the interpdkf2005-08-261-2/+5
| | | | result object to become shared.
* Better to panic sanely than to crash with a bad memory access. [Bug 1267380]dkf2005-08-251-1/+7
|
* Fix memory leak caused by throwing away a duplicated objectdkf2005-08-251-5/+4
|
* TIP#219 IMPLEMENTATIONandreas_kupries2005-08-2411-56/+3461
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/SetChanErr.3: ** New File **. Documentation of the new channel API functions. * generic/tcl.decls: Stub declarations of the new channel API. * generic/tclDecls.h: Regenerated * generic/tclStubInit.c: * tclIORChan.c: ** New File **. Implementation of the reflected channel. * generic/tclInt.h: Integration of reflected channel and new error * generic/tclIO.c: propagation into the generic I/O core. * generic/tclIOCmd.c: * generic/tclIO.h: * library/init.tcl: * tests/io.test: Extended testsuite. * tests/ioCmd.test: * tests/chan.test: * generic/tclTest.c: * generic/tclThreadTest.c: * unix/Makefile.in: Integration into the build machinery. * win/Makefile.in: * win/Makefile.vc:
* fix formatting of fp number with smallest significandKevin B Kenny2005-08-241-2/+2
|
* fix a namespace clash with pendingObjData.georgeps2005-08-171-2/+2
|
* Added static to prevent a namespace clash with BuiltinFuncTable.georgeps2005-08-171-2/+2
|
* fixed bad clock test, removed duplicated code in Tcl_FinalizeKevin B Kenny2005-08-171-19/+1
|
* bug 1257830Kevin B Kenny2005-08-121-4/+6
|
* radical refactoring of thread storage to untangle dependenciesKevin B Kenny2005-08-114-817/+226
|
* further untangling of Tcl_Finalize, and test cleanup on Win32 threadedKevin B Kenny2005-08-101-19/+19
|
* Squelch a message about an unused variable.dkf2005-08-091-9/+8
|
* More informative comment.dkf2005-08-091-2/+6
|
* added nul-termination missing from earlier commit todaydgp2005-08-091-1/+2
|
* file rootname bug fixvincentdarley2005-08-081-2/+5
|
* regendkf2005-08-052-154/+54
|
* Stop exposing the thread storage guts. Non-core code should never touch it.dkf2005-08-053-158/+125
|
* Handle abs(-0x80000000) [Bug 1241572]Kevin B Kenny2005-08-051-2/+10
|
* silence compiler warningdgp2005-08-041-2/+2
|
* * generic/tclIO.c (CloseChannel): Fixed comment nit, addedandreas_kupries2005-08-042-4/+4
| | | | | | | apparently missing word to complete a sentence. * generic/tclObj.c (Tcl_DbDecrRefCount): Fixed whitespace nit in panic message.
* Deleted the UpdateStringOfBoolean() routine, that can never be called.dgp2005-08-041-34/+2
|
* * generic/tclObj.c: Simplified routines that manage the typeTable.dgp2005-08-041-36/+23
|