summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclStrToD.c: Applied patch for [Bug 1839067] (fpandreas_kupries2008-04-011-1/+20
| | | | | * unix/tcl.m4: rounding setup on solaris x86, native cc), provided by Michael Schlenker.
* * generic/tclStrToD.c: Resolve identifier conflict over "pow10"dgp2008-03-131-9/+9
| | | | | with libm in Cygwin and DJGPP. Thanks to Gordon Schumacher and Philip Moore. [Patch 1800636]
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* More minor cleanupdkf2007-11-181-111/+124
|
* * generic/tclEnv.c (ReplaceString): Clear memory correctly whenKevin B Kenny2007-04-231-19/+29
| | | | | | | | | growing the cache to avoid reads of uninitialised data. * generic/tclStrToD.c (AccumulateDecimalDigit): Fixed a mistake where we'd run beyond the end of the 'pow10_wide' array if a number begins with a string of more than 'maxpow10_wide' zeroes. Both these issues reported under [Bug 1705778] - detected with the existing test suite, no new regression tests required.
* Complete the purge of K&R function definitions from manually-written code.dkf2007-04-161-9/+9
|
* Handle creation of Tcl_Objs from constant strings better (easier to use, moredkf2007-04-101-2/+4
| | | | efficient). After [Patch 1529526] (afredd)
* various "const" additions, in line with TIP #27nijtmans2007-02-201-8/+8
|
* TIP#270 IMPLEMENTATIONdgp2006-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* Various minor object file size efficiency fixes. [Bug 1530474]dkf2006-08-101-2/+2
|
* * generic/regc_locale.c (cclass):das2006-07-201-7/+7
| | | | | | | | | | | | | * generic/tclExecute.c (TclExecuteByteCode): * generic/tclIOCmd.c (Tcl_ExecObjCmd): * generic/tclListObj.c (NewListIntRep): * generic/tclObj.c (Tcl_GetLongFromObj, Tcl_GetWideIntFromObj, FreeBignum, Tcl_SetBignumObj): * generic/tclParseExpr.c (Tcl_ParseExpr): * generic/tclStrToD.c (TclParseNumber): * generic/tclStringObj.c (TclAppendFormattedObjs): * unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
* * generic/tclIOUtil.c: Changed default configuration todgp2006-06-211-26/+3
| | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: #undef USE_OBSOLETE_FS_HOOKS which disables * generic/tclTest.c: access to the Tcl 8.3 internal routines for hooking into filesystem operations. Everyone ought to have migrated to Tcl_Filesystems by now. ***POTENTIAL INCOMPATIBILITY*** for any code still stuck in the pre-Tcl_Filesystem era. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclStrToD.c: Removed dead code that permitted disabling of recognition of the new 0b and 0o numeric formats. * generic/tclExecute.c: Removed dead code that implemented alternative * generic/tclObj.c: design where numeric values did not automatically narrow to the smallest Tcl_ObjType required to hold them.
* * generic/tclBinary.c: Revised the handling of the Q and q formatdgp2006-04-261-1/+17
| | | | | | * generic/tclInt.h: specifiers for [binary] to account for the * generic/tclStrToD.c: "middle endian" floating point format used in Nokia N770.
* fix for Martin Lemburg's DST conversion bug.Kevin B Kenny2006-04-191-2/+65
| | | | http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/9a8b15a4dfc0b7a0
* * generic/tclStrToD.c: One of the branches of AccumulateDecimalDigitdgp2006-03-211-1/+2
| | | | * tests/parseExpr.test: did not. [Bug 1451233]
* Export Tcl_InitBignumFromDoubleKevin B Kenny2005-12-271-5/+5
|
* 2005-12-19 Don Porter <dgp@users.sourceforge.net>dgp2005-12-191-13/+16
| | | | | | | | | | | | | | | * generic/tclCmdMZ.c: Modified [string is double] to use * tests/string.test: TclParseNumber() to parse trailing whitespace. Ensures consistency, and makes it easier to cleanup after invalid internal reps left behind by parsing [Bugs 1360432 1382287]. * generic/tclParseExpr.c: Added TCL_PARSE_NO_WHITESPACE to * generic/tclScan.c: TclParseNumber() calls since [scan] and * tests/scan.test: [expr] parsing don't want spaces in parsed numbers. * generic/tclInt.h: Added TCL_PARSE_NO_WHITESPACE flag to the * generic/tclStrToD.c: TclParseNumber() interface.
* * generic/tclStrToD.c: More data in the "can't happen" Tcl_Panicdgp2005-11-141-2/+3
| | | | to aid debugging.
* * generic/tclInt.h: Revised TclParseNumber interface to enabledgp2005-11-121-101/+134
| | | | | | * generic/tclScan.c: revision to the [scan] command implementation * generic/tclStrToD.c: to permit tests scan-4.44,55 to pass again. [Bug 1348067].
* Bug 1334461Kevin B Kenny2005-10-211-1/+2
|
* remove C++ commentsKevin B Kenny2005-10-211-4/+4
|
* Bug 1334461Kevin B Kenny2005-10-211-2/+4
|
* 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]
* * generic/tclBasic.c:Miguel Sofer2005-10-091-2/+3
| | | | | | | * generic/tclExecute.c: * generic/tclStrToD.c: * generic/tclStringObj.c: initialise variables to avoid compiler warnings ([Bug 1320818] among others).
* TIP#237 IMPLEMENTATIONdgp2005-10-081-643/+1919
| | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* fix formatting of fp number with smallest significandKevin B Kenny2005-08-241-2/+2
|
* Tk Bug 1227781Kevin B Kenny2005-07-161-1/+3
|
* Much whitespace/style tidying updkf2005-07-051-622/+590
|
* Add explanatory comment about static unprotected variables.dkf2005-06-261-1/+7
|
* Added UCHAR's to ctype macros in tclStrToD.cKevin B Kenny2005-05-111-6/+6
|
* Fixes for C++-style comment and bad NaN on PA-RISCKevin B Kenny2005-05-101-3/+16
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-0/+1361