summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclStringObj.c: Bug fixes: ObjPrintfVA needed todgp2005-09-146-47/+70
| | | | | | | | | | | | | 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-144-55/+67
| | | | | | * 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-1314-78/+86
| | | | | | | | | | | | | | | | | * 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-122-4/+12
| | | | | | * 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-092-1/+9
| | | | | | 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.
* typodgp2005-09-091-1/+1
|
* * generic/tclInt.h: New internal routine TclObjPrintf()dgp2005-09-093-2/+136
| | | | | * generic/tclStringObj.c: is similar to TclFormatObj() but accepts arguments in non-Tcl_Obj format.
* added missing casts in tclStringObj.cKevin B Kenny2005-09-092-3/+8
|
* * generic/tclInt.h: New internal routines TclFormatObj()dgp2005-09-094-3/+633
| | | | | | | | | | * 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.
* D'oh, missed a spotdkf2005-09-081-2/+2
|
* Final fixesdkf2005-09-081-3/+3
|
* Squelch warningdkf2005-09-081-2/+2
|
* Test suite about fixed up for TIP#254dkf2005-09-083-8/+7
|
* Closer to being right...dkf2005-09-081-11/+29
|
* More fixingdkf2005-09-081-17/+17
|
* A bit more fixing...dkf2005-09-081-15/+17
|
* First step to fixing test suitedkf2005-09-081-20/+20
|
* Oops!dkf2005-09-081-19/+19
|
* Added support machinery for TIP#254 testsdkf2005-09-082-9/+271
|
* TIP #254 implementationdkf2005-09-084-967/+1233
| | | | Still missing additional tests.
* * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negativedgp2005-09-073-37/+49
| | | | | | * 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-066-964/+1071
| | | | | 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-052-2/+7
| | | | traditional Unix platforms. [Bug 1263012]
* * unix/tclUnixSock.c (InitializeHostName): Synchronized use ofandreas_kupries2005-09-027-13/+37
| | | | | | | | | | | | | | | | | | | | | | | 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.
* fix datevincentdarley2005-08-311-1/+1
|
* allow NULL interp in Tcl_FSMatchInDirectoryvincentdarley2005-08-315-18/+34
|
* * library/tm.tcl (::tcl::tm::roots): Accepted Don Porter's patchandreas_kupries2005-08-293-3/+9
| | | | | for [Tcl SF Bug 1189657]. Syncs the implementation to the specification (TIP #189).
* renumber expr-39.* to expr-46.*Kevin B Kenny2005-08-292-14/+14
|
* fix test case bracing and numberingKevin B Kenny2005-08-291-10/+10
|
* removed inappropriate swizzling of tcl_precisionKevin B Kenny2005-08-291-3/+1
|
* Bug 1275043Kevin B Kenny2005-08-293-17/+111
|
* * generic/tclIO.c: Moved Tcl_{Cut,Splice}Channel toandreas_kupries2005-08-263-10/+164
| | | | | | | | | {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-262-2/+12
| | | | result object to become shared.
* Better to panic sanely than to crash with a bad memory access. [Bug 1267380]dkf2005-08-252-1/+11
|
* Fix memory leak caused by throwing away a duplicated objectdkf2005-08-252-12/+17
|
* Remove extra blank lines between tests so groups go together better.dkf2005-08-241-220/+1
|
* TIP#219 IMPLEMENTATIONandreas_kupries2005-08-2420-89/+7028
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-243-3/+106
|
* * unix/configure.in:mdejong2005-08-234-10/+11
| | | | | | * win/configure: Regen. * win/configure.in: Update minimum autoconf version to 2.59.
* * unix/tclConfig.h.in: autoheader-2.59.das2005-08-222-11/+6
|
* updated entry with another clashgeorgeps2005-08-171-0/+3
|
* fix a namespace clash with pendingObjData.georgeps2005-08-171-2/+2
|
* new entry. fixed the dates on KBK's entries.georgeps2005-08-171-3/+8
|
* 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-173-41/+26
|