summaryrefslogtreecommitdiffstats
path: root/generic/tclAlloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling errors in comments and documentation, but also a ↵pooryorick2023-04-121-3/+3
|\ | | | | | | non-comment corrections in history.tcl and tcltest.test.
| * Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-3/+3
| | | | | | corrections in history.tcl and tcltest.test.
* | Clean up the notifier code to not spread the hooks quite so widelydkf2021-04-031-0/+2
|\ \ | |/
| * Start of doing a clean up of the notifier code.dkf2021-03-211-0/+2
| | | | | | | | | | This originated as trying to stop macOS builds from doing silly warnings during a static build, but I noticed that there were common patterns that belong in generic code instead of being repeated in each of the platform-specific pieces.
* | Merge 8.7jan.nijtmans2021-02-261-5/+5
|\ \ | |/
| * Further internal variable upgrade from long -> size_tjan.nijtmans2021-02-261-5/+5
| |
* | Merge 8.7 (resolve conflicts)dgp2021-01-081-1/+1
|\ \ | |/
| * Merge 8.7. Don't bother BorlandC, LCC and WatcomC any more, since they ↵jan.nijtmans2021-01-071-1/+1
| | | | | | | | (probably) cannot handle Windows 7 API anyway.
* | Merge 8.7jan.nijtmans2020-12-081-3/+3
|\ \ | |/
| * Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-3/+3
| | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | Merge 8.7jan.nijtmans2020-10-091-1/+1
|\ \ | |/
| * Make everything compile warning-free with -Wundef. Put enum ↵jan.nijtmans2020-10-081-1/+1
| |\ | | | | | | | | | ASSEM_DICT_GET_DEF last in TalInstType, so it's binary compatible with Tcl 8.6
| | * 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-11/+11
| | | | | | | | | Eliminate many unnecessary type-casts to (unsigned)
| | * Eliminate many unnecessary type-casts, mostly (size_t) when value is already ↵jan.nijtmans2020-08-111-1/+1
| | | | | | | | | | | | size_t or int
* | | Merge 8.7jan.nijtmans2020-05-061-1/+1
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2020-05-061-1/+1
| |\ \ | | |/
| | * Merge 8.5. More usage of UCHAR() macro.jan.nijtmans2020-05-061-1/+1
| | |\
* | | \ Merge 8.7jan.nijtmans2020-03-181-4/+4
|\ \ \ \ | |/ / /
| * | | Merge 8.6jan.nijtmans2020-03-181-4/+4
| |\ \ \ | | |/ /
| | * | More uppercase HEX representations in source-code.jan.nijtmans2020-03-181-4/+4
| | | |
* | | | Merge 8.7jan.nijtmans2020-03-071-1/+1
|\ \ \ \ | |/ / /
| * | | Change (interal) function signature of TclpAlloc/TclpRealloc/TclpFree, using ↵jan.nijtmans2020-03-071-12/+12
| | | | | | | | | | | | | | | | (void *) in stead of (char *)
* | | | Merge 8.7jan.nijtmans2019-08-151-9/+9
|\ \ \ \ | |/ / /
| * | | Merge 8.7jan.nijtmans2019-08-141-2/+2
| |\ \ \
| | * | | Two places where "char *" is actually better than "void *", since that's the ↵jan.nijtmans2019-08-041-2/+2
| | | | | | | | | | | | | | | | | | | | type the function returns
| * | | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-9/+9
| |/ / / | | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
| * | | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-3/+3
| | | | | | | | | | | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | | | More size_t-related consolidations. Now regexp can handle strings >2GB and ↵jan.nijtmans2019-02-051-2/+2
| | | | | | | | | | | | | | | | more. Remove many type-casts which are not necessary any more.
* | | | Merge 8.7jan.nijtmans2018-12-111-2/+2
|\ \ \ \ | |/ / / | | | | | | | | In test-cases, don't load Tcltest package if it isn't actually used. Another round of size_t related improvements. Nothing functional. Also improve some comments.
* | | | Formatting, PTR2INT range improvements, and remove some macro's only used on ↵jan.nijtmans2018-10-211-3/+2
| | | | | | | | | | | | | | | | Cygwin, which are no longer necessary
* | | | merge trunkjan.nijtmans2018-05-231-3/+3
|\ \ \ \ | |/ / /
| * | | Simplify usage of TCL_THREAD, along the lines of ↵jan.nijtmans2018-05-221-3/+3
| | | | | | | | | | | | | | | | [eeddb0693a950be980a66de3811630a00c7bab54|eeddb0693a]. Suggested by DKF
| * | | TIP #491 implementation: Threading Support: phasing out non-threaded buildsjan.nijtmans2018-05-171-3/+3
| | | |
* | | | merge trunkjan.nijtmans2018-02-221-5/+5
|\ \ \ \ | |/ / /
| * | | merge core-8-branchjan.nijtmans2017-12-191-3/+3
| |\ \ \
| * | | | (experimental) new internal macro TCL_Z_MODIFIER, just like TCL_LL_MODIFIER ↵jan.nijtmans2017-03-281-5/+5
| |/ / / | | | | | | | | | | | | but then for size_t.
* | | | Fix compilation using -DUSE_TCLALLOC=1jan.nijtmans2017-12-281-6/+6
| | | |
* | | | Merge trunk. jan.nijtmans2017-12-271-8/+10
|\ \ \ \ | |/ / / | | | | | | | | Rename Tcl_MemAlloc and friends back to Tcl_Alloc, as this renaming turns out not to be necessary. Make everything compile/run with TCL_MEM_DEBUG=1 (a few signatures were still not correct)
* | | | re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming.jan.nijtmans2017-11-161-2/+2
|\ \ \ \ | |/ / / |/| | |
| * | | merge trunkjan.nijtmans2016-12-231-21/+21
| |\ \ \ | |/ / / |/| | |
| * | | More internal use of size_t. Eliminate unused "isBin" argument from ↵jan.nijtmans2016-12-011-4/+4
| |/ / | | | | | | | | | TclpSysAlloc()
* | | Update -DMSTATS functionality, for possible total memory sizes > 2Gb. One ↵jan.nijtmans2016-12-231-22/+22
|/ / | | | | | | more place where use of size_t can increase range.
* | Fix [59a2e78e54d3361c33b8cd6eef55d384d8abecd7|59a2e78e54] : tclWinTime.c ↵jan.nijtmans2014-10-081-1/+1
|\ \ | |/ | | | | | | does not compile with MSVC14. Eliminate use of __MINGW32__ macro everywhere, as it is deprecated.
| * Fix [59a2e78e54d3361c33b8cd6eef55d384d8abecd7|59a2e78e54] : tclWinTime.c ↵jan.nijtmans2014-10-081-1/+1
| | | | | | | | | | does not compile with MSVC14. Eliminate use of __MINGW32__ macro everywhare, as it is deprecated.
* | [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-13/+7
|\ \ | |/
| * [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-13/+7
| |\
| | * [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-13/+7
| | |
* | | MINOR: Formatting fixes, mainly to comments, so code better fits the style indkf2011-03-101-2/+2
| | | | | | | | | the Engineering Manual.
* | | 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).