summaryrefslogtreecommitdiffstats
path: root/generic/tclCkalloc.c
Commit message (Collapse)AuthorAgeFilesLines
* More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-4/+4
| | | | and (unsigned) type-casts, which don't make sense any more.
* Simplify usage of TCL_THREAD, along the lines of ↵jan.nijtmans2018-05-221-1/+1
| | | | [eeddb0693a950be980a66de3811630a00c7bab54|eeddb0693a]. Suggested by DKF
* TIP #491 implementation: Threading Support: phasing out non-threaded buildsjan.nijtmans2018-05-171-1/+1
|
* merge core-8-branchjan.nijtmans2017-12-191-2/+2
|\
| * If %llu is considered invalid, it means that "%" TCL_LL_MODIFIER "u" cannot ↵jan.nijtmans2017-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | be used Tcl_ObjPrintf(), but only in sprintf(). That's unfortunate, clearly an oversight in TIP #237. Conclusion: new TIP must be written to correct this. I'll read a TIP and see what case you have, but TCL_LL_MODIFIER was never meant to play any role in [format] or in Tcl_ObjPrintf(). TCL_LL_MODIFIER exists to help deal with platform differences in sprintf() calls. Tcl_ObjPrintf() in contrast ought to be consistent in its behavior across platforms and should not need such things. If that's false, then fixes to Tcl_ObjPrintf() are in order.
* | Merge trunkjan.nijtmans2017-03-311-26/+29
|\ \ | |/
| * Extend Tcl_DumpActiveMemory() and related functions for handling 64-bit ↵jan.nijtmans2017-03-311-24/+27
| |\ | | | | | | | | | | | | memory. Only effective with TCL_MEM_DEBUG. Merge-mark core-8-6-branch (this doesn't bring in any changes)
* | | (experimental) new internal macro TCL_Z_MODIFIER, just like TCL_LL_MODIFIER ↵jan.nijtmans2017-03-281-7/+7
|/ / | | | | | | but then for size_t.
* | Minor simplifications. Eliminate FUNCPRT from regexp engine. Fix ↵jan.nijtmans2016-11-291-1/+1
| | | | | | | | compile-error (non-debug) in tclDictObj.c, from previous commit
* | more internal use of size_t (in stead of int)jan.nijtmans2016-11-291-29/+28
|/
* 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: