summaryrefslogtreecommitdiffstats
path: root/generic/tclCkalloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-121-1/+1
| | | corrections in history.tcl and tcltest.test.
* Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it ↵jan.nijtmans2023-03-301-1/+1
| | | | on other platforms either.
* Fix [816913a65e]: GrowStringBuffer(): signed integer overflow. And a few ↵jan.nijtmans2022-01-131-1/+1
| | | | similar situations in other place
* Fix [da6f155ca4]: STRING_SIZE() macro: parenthesize numChars usage. Fix more ↵jan.nijtmans2022-01-121-1/+1
| | | | macro's like this.
* Make tclCkalloc.c and tclExecute warning-free on Windows when compiled with ↵jan.nijtmans2021-01-201-7/+7
| | | | --enable-memory=(mem|all).
* Eliminate warnings when compiling with -Wundefjan.nijtmans2020-10-081-1/+1
|
* Eliminate many "register" keywords (which do nothing with modern compilers)jan.nijtmans2020-09-141-2/+2
| | | Eliminate many unnecessary type-casts to (unsigned)
* Eliminate many unnecessary type-casts, mostly (size_t) when value is already ↵jan.nijtmans2020-08-111-3/+3
| | | | size_t or int
* More uppercase HEX representations in source-code.jan.nijtmans2020-03-181-2/+2
|
* Add /* FALLTHRU */ markers in various places (silencing possible GCC ↵jan.nijtmans2019-08-281-0/+12
| | | | warnings). Eliminate some more "register" keywords. Eliminate (or silence) some unused function parameters.
* Silence some compiler warnings.dgp2013-01-241-0/+4
|\
| * Silence come compiler warnings.dgp2013-01-241-0/+4
| |\
| | * Silence some compiler warnings.dgp2013-01-241-0/+4
| | |
| * | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-6/+3
| |\ \ | | |/
| | * Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-6/+3
| | | | | | | | | Simplify stub tables for functions which work on both UNIX and windows
* | | Minor changes to improve style (C89 declarations, consistent indentation,dkf2012-08-071-3/+9
| | | | | | | | | | | | clarification of #endifs, reduction of unnecessary casts, use of array syntax for reading array elements, etc.)
* | | more result generation conversiondkf2012-08-031-24/+29
| | |
* | | merge to trunkdgp2011-07-121-4/+4
|\ \ \ | |/ /
| * | Silence type match warnings in debug print.dgp2011-07-121-2/+2
| |\ \ | | |/
* | | remove one level of allocator indirection in non-memdebug builds, imported ↵mig2011-03-211-6/+6
|\ \ \ | | | | | | | | | | | | from mig-alloc-reform.
| * | | remove one level of indirection in non-mem-debug buildsmig2011-03-211-6/+6
| | | |
| * | | development branch for allocator changesmig2011-03-181-4/+0
|/ / /
* | | [Bug #3197864] pointer truncation on Win64 TCL_MEM_DEBUG buildsjan.nijtmans2011-03-161-4/+4
|\ \ \ | |/ /
| * | [Bug #3197864] pointer truncation on Win64 TCL_MEM_DEBUG buildsjan.nijtmans2011-03-161-4/+4
| |\ \ | | |/
| | * [Bug #3197864] pointer truncation on Win64 TCL_MEM_DEBUG buildsjan.nijtmans2011-03-161-4/+4
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * [Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2,nijtmans2011-01-251-33/+35
| | | | | | | | | | | | backported strcpy->memcpy change but not change in any struct.
| | * * generic/tclAlloc.c: Cleaned up various routines in thedgp2009-09-281-7/+14
| | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclParse.c: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796].
| * | [Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2,nijtmans2011-01-251-3/+5
| | | | | | | | | | | | backported strcpy->memcpy change but not change in any struct.
| * | * generic/tclExecute.c (EvalStatsCmd): change 'evalstats' tohobbs2010-10-021-22/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | return data to interp by default, or if given an arg, use that as filename to output to (accepts 'stdout' and 'stderr'). Fix output to print used inst count data. * generic/tclCkalloc.c: change TclDumpMemoryInfo sig to allow * generic/tclInt.decls: objPtr as well as FILE* as output. * generic/tclIntDecls.h:
| * | Fix for [Bug 988703, 1565466]Joe Mistachkin2009-10-181-1/+22
| | |
| * | * generic/tclAlloc.c: Cleaned up various routines in thedgp2009-09-291-12/+18
| | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclInt.h: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796].
* | | [Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2nijtmans2010-12-101-3/+5
| | |
* | | [Bug 3129448]: possible over-allocation on 64-bit platformsnijtmans2010-12-061-4/+4
| | |
* | | Allow Tcl_Panic() to enter the debugger on win32nijtmans2010-12-011-11/+3
| | |
* | | Add missing 'objs' verb in error message.ferrieux2010-11-081-2/+4
| | |
* | | * generic/tclExecute.c (EvalStatsCmd): change 'evalstats' tohobbs2010-10-021-22/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | return data to interp by default, or if given an arg, use that as filename to output to (accepts 'stdout' and 'stderr'). Fix output to print used inst count data. * generic/tclCkalloc.c: change TclDumpMemoryInfo sig to allow * generic/tclInt.decls: objPtr as well as FILE* as output. * generic/tclIntDecls.h:
* | | [ tcl-Feature Requests-2958832 ] Furthernijtmans2010-02-251-3/+3
| | | | | | | | | | | | | | | | | | speed-up of ouster-hash function. Eliminate various unnecessary (ClientData) type casts.
* | | * generic/tclAlloc.c: Cleaned up various routines in thedgp2009-09-291-12/+18
| | | | | | | | | | | | | | | | | | | | | * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclInt.h: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796].
* | | Apply patch from [Bug 988703]. Many thanks to Joe Mistachkin for development.dkf2009-06-181-1/+22
| | |
* | | [Bug 218977] Tcl_DbCkfree needs a return valuenijtmans2009-02-271-7/+4
| | | | | | | | | | | | don't use CONST84/CONST86 in internal header files
* | | Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵dkf2009-01-091-8/+8
| | | | | | | | | | | | etc.)
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-23/+23
|/ /
* | * generic/tclCkalloc.c: fix warnings from gcc build configured withdas2007-04-231-4/+4
| | | | | | | | | | * generic/tclCompile.c: --enable-64bit --enable-symbols=all. * generic/tclExecute.c:
* | Whitespace policing, replacing commas in varargs with constant string ↵Kevin B Kenny2007-04-201-2/+2
| | | | | | | | catenation, and fixed an oversight in the fix for NZA time zones.
* | 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:
* | Minor updates (whitespace police, etc.)dkf2006-11-071-17/+17
| |
* | * generic/tclBasic.c: Further revised TclAppendPrintToObj() anddgp2006-11-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: