summaryrefslogtreecommitdiffstats
path: root/generic/tclLiteral.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2019-08-151-22/+22
|\
| * Merge 8.7jan.nijtmans2019-08-141-3/+3
| |\
| * | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-22/+22
| | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
* | | Merge 8.7jan.nijtmans2019-08-011-1/+1
|\ \ \ | | |/ | |/|
| * | Add some "const" keywords, in places where strings are really const.jan.nijtmans2019-07-301-1/+1
| | |
* | | Merge 8.7jan.nijtmans2019-07-241-2/+2
|\ \ \ | |/ /
| * | Eliminate the use of C++ keywords as variable names. Nothing more than ↵jan.nijtmans2019-07-231-2/+2
| |/ | | | | | | rename the variables in something else.
* | Merge 8.7jan.nijtmans2019-06-071-6/+6
|\ \ | |/
| * More usage of TCL_INDEX_NONE in stead of -1. More internal use of size_t, ↵jan.nijtmans2019-06-071-19/+23
| | | | | | | | mainly in memory statistics (debug-mode only), and TCL_Z_MODIFIER. This gives broader memory statistics on win64.
* | Merge 8.7, and add some more usage of TCL_INDEX_NONE/TCL_AUTO_LENGTHjan.nijtmans2019-06-061-2/+4
|\ \ | |/
| * Squelch compiler warnings, but make refCount of type unsigned int.jan.nijtmans2019-06-061-4/+6
| |\
| | * squelch int vs. long int (size_t) warings in comparison, format specifiersbch2019-06-061-4/+4
| |/
* | Merge 8.7jan.nijtmans2019-03-011-1/+1
|\ \ | |/
| * More use of TclHasIntRep() macro. Add vfs build director to fossil ignore-globjan.nijtmans2019-03-011-1/+1
| |
| * More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-2/+2
| | | | | | | | 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-19/+12
| | | | | | | | more. Remove many type-casts which are not necessary any more.
* | Merge 8.7jan.nijtmans2019-01-261-15/+26
|\ \ | |/
| * Do not assume that literals have a non-NULL bytes field; user code could ↵dkf2019-01-251-15/+26
| |\ | | | | | | | | | purge it.
| | * Do not assume that literals have a non-NULL bytes field; user code could ↵dkf2019-01-251-15/+26
| | |\ | | | | | | | | | | | | purge it.
| | | * Do not assume that literals have a non-NULL bytes field; user code could ↵dkf2019-01-251-15/+26
| | | | | | | | | | | | | | | | purge it.
* | | | Merge 8.7jan.nijtmans2018-12-111-11/+11
|\ \ \ \ | |/ / / | | | | | | | | 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.
* | | | Now that we have TCL_AUTO_LENGTH/TCL_IO_FAILURE macro's, use them to make ↵jan.nijtmans2018-11-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | code and documentation more readable. Shifted to feature branch as a temporary measure since it doesn't build.
* | | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-14/+14
|\ \ \ \ | |/ / / | | | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | | | More using TCL_Z_MODIFIER where possiblejan.nijtmans2018-06-281-6/+6
| | | |
* | | | merge trunkjan.nijtmans2017-12-221-2/+2
|\ \ \ \ | |/ / /
| * | | Change a few (internal) refCount/mask variables to unsigned type.jan.nijtmans2017-12-221-11/+12
| | | |
* | | | re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming.jan.nijtmans2017-11-161-64/+66
|\ \ \ \ | |/ / / |/| | |
| * | | More internal use of size_t in stead of int (e.g. in many 'epoch's)jan.nijtmans2017-02-221-8/+6
| | | |
| * | | More internal use of size_t. Eliminate unused "isBin" argument from ↵jan.nijtmans2016-12-011-51/+55
| | | | | | | | | | | | | | | | TclpSysAlloc()
| * | | merge trunkjan.nijtmans2016-11-251-4/+4
| |\ \ \ | |/ / / |/| | |
| * | | merge trunkjan.nijtmans2016-09-211-2/+7
| |\ \ \ | |/ / / |/| | |
| * | | merge trunkjan.nijtmans2016-09-161-1/+1
| |\ \ \
| * \ \ \ merge trunkjan.nijtmans2016-09-071-16/+19
| |\ \ \ \
| * \ \ \ \ merge trunkjan.nijtmans2016-09-051-1/+2
| |\ \ \ \ \
| * | | | | | Merge trunkjan.nijtmans2016-07-121-7/+7
| | | | | | |
* | | | | | | Merge core-8-6-branch. Add more comments to tclLiteral.c, contributed by ↵jan.nijtmans2016-09-211-2/+7
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | / / | | |_|_|/ / | |/| | | | mr_calvin
* | | | | | merge core-8-6-branchjan.nijtmans2016-09-161-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | / / | |_|_|/ / |/| | | |
| * | | | Proposed fix for [c7d0bc9a549714e0]. Thanks to mr_calvinjan.nijtmans2016-09-151-1/+1
| | | | |
* | | | | Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd ↵jan.nijtmans2016-09-071-16/+19
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | literal sharing vs. per-interp resolvers
| * | | Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd ↵jan.nijtmans2016-09-071-12/+15
| |\ \ \ | | | | | | | | | | | | | | | literal sharing vs. per-interp resolvers
| | * | | Additiona patch/suggestion from Gustaf. This indeed fixes the crash in ↵jan.nijtmans2016-09-061-7/+0
| | | | | | | | | | | | | | | | | | | | oo.test. Looks good to me, so only waiting for final feedback from Gustaf and eventually feedback from other people.
| | * | | some more clean-upjan.nijtmans2016-09-051-1/+3
| | | | |
| | * | | Some patch clean-up, no change in functionalityjan.nijtmans2016-09-051-12/+8
| | | | |
| | * | | Proposed patch for [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1], by ↵jan.nijtmans2016-09-021-10/+23
| | | | | | | | | | | | | | | | | | | | Gustaf Neumann
* | | | | merge core-8-6-branchjan.nijtmans2016-09-051-1/+2
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | |
| * | | Allow additional optional "interp" argument for testinterpresolver command. ↵jan.nijtmans2016-09-051-1/+2
| |/ / | | | | | | | | | | | | | | | Not used yet in any test-case. Protect panic in tclLiteral.c for possible null-pointer access. (cherry-picked from Gustaf Neuman's interpresolver patch). Eliminate some unecessary spacing.
* | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-4/+4
|/ / | | | | | | in many places where possible.
* | Fix signed<->unsigned compare gcc compiler warning.jan.nijtmans2015-10-011-3/+4
|\ \ | |/
| * Eliminate a few gcc compiler warnings, when using -Wwrite-strings (tested ↵jan.nijtmans2015-10-011-5/+6
| | | | | | | | with the brand-new gcc 5.2.0)
* | [3e7eca8c8c] Prevent overflow in size values passed to allocators.dgp2015-07-291-3/+19
|\ \ | |/