summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't bother unrelated error-messagesjan.nijtmans2024-07-091-1/+1
|
* Remaining can't -> cannot changesjan.nijtmans2024-07-081-1/+1
|
* Improvement: If objPtr can be represented as a list and has >1 elements, ↵jan.nijtmans2024-07-071-7/+22
| | | | give a slightly different error-message which doesn't contain the string representation any more: this string representation could be long
* Possible fix for [0439e1e1a3]: Slow detection of illegal expr argumentjan.nijtmans2024-07-051-0/+7
|
* TclGetStringFromObj() cannot be used herejan.nijtmans2024-07-031-3/+3
|
* Merge 8.7jan.nijtmans2024-07-031-23/+23
|\
| * Merge 8.6jan.nijtmans2024-07-031-66/+67
| |\
| | * Tcl_RegisterObjType() in alphabetical order. Backport some formatting and ↵jan.nijtmans2024-07-031-93/+97
| | | | | | | | | | | | type-casts from 8.7/9.0
| | * Another round of sentinel fixes for 8.6, NULL -> (char *)NULLjan.nijtmans2024-05-291-11/+11
| | |
| | * Make TclGlob() a static function. Sentinel/indenting/comment improvements ↵jan.nijtmans2024-05-281-14/+14
| | | | | | | | | | | | (all backported from 8.7)
* | | Merge 8.7. Random indent fixesjan.nijtmans2024-06-271-40/+40
|\ \ \ | |/ /
* | | Merge 8.7jan.nijtmans2024-05-271-12/+12
|\ \ \ | |/ /
| * | Another round of sentinel improvementsjan.nijtmans2024-05-271-12/+12
| |\ \ | | |/
* | | Backout the "dullest commit ever" (not my words ....). It breaks the build. jan.nijtmans2024-05-141-184/+179
| | | | | | | | | JN: Many of those changes are actually good, but there are too many changes to be able to search for a bug somewhere. Feel free to re-apply, after assuring it's really only whitespace changes. (my advise: do that after 9.0b2)
* | | Clean up a lot of small whitespace issues dkf2024-05-131-179/+184
| | | | | | | | | This is the dullest commit ever. Sorry.
* | | More whitespace cleanupdkf2024-05-101-2/+0
| | |
* | | TIP #648: New functions Tcl_NewWideUIntObj()/Tcl_SetWideUIntObj()jan.nijtmans2024-04-201-0/+67
|\ \ \ | |/ /
| * | TIP #648: New functions Tcl_NewWideUIntObj()/Tcl_SetWideUIntObj()jan.nijtmans2024-04-201-0/+67
| |\ \
| | * \ Revive TIP #648jan.nijtmans2024-04-081-0/+67
| | |\ \
| | | * \ Rebase to 8.7jan.nijtmans2022-11-211-0/+67
| | | |\ \
| | | | * \ Rebase to latest 8.7jan.nijtmans2022-11-201-0/+67
| | | | |\ \
| | | | | * \ Merge 8.7jan.nijtmans2022-11-151-24/+10
| | | | | |\ \
| | | | | * | | Fix panic messagejan.nijtmans2022-11-111-1/+1
| | | | | | | |
| | | | | * | | Fix for Tcl_SetWideUIntObjjan.nijtmans2022-11-111-1/+1
| | | | | | | |
| | | | | * | | Merge 8.7jan.nijtmans2022-11-111-2/+1
| | | | | |\ \ \
| | | | | * | | | New functions Tcl_NewWideUIntObj()/Tcl_SetWideUIntObj() (still experimental)jan.nijtmans2022-11-041-0/+68
| | | | | |/ / /
* | | | | | | | merge 8.7sebres2024-04-121-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | merge 8.6sebres2024-04-121-1/+1
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | |
| | * | | | | | merge 8.5, amend to [82f721a5a039596f]: the bug was fixed incompletely, this ↵sebres2024-04-121-1/+1
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is full bug fix now - don't allow direct compare if keys contain values rather than pointers; introduced new hash-key type flag TCL_HASH_KEY_DIRECT_COMPARE... I know it is public interface, but the bug is grave, and I don't know how one could fix it without that, by retaining same performance for pointer hashes (e. g. vars, dicts and all of TclObjs).
| | | * | | | | | amend to [295b0570ff660950]: the bug was fixed incompletely, this is full ↵sebres2024-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug fix now - don't allow direct compare if keys contain values rather than pointers. introduced new hash-key type flag TCL_HASH_KEY_DIRECT_COMPARE... I know it is public interface, but the bug is grave, and I don't know how one could fix it without that, by retaining same performance for pointer hashes (e. g. vars, dicts and all of TclObjs).
| | | * | | | | | Update some libtommath functions to the latest trunk versions. Small step ↵jan.nijtmans2019-05-291-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | forward in the upgrade to (upcoming) libtommath 1.2. Advantage: simplify Tcl code accessing those functions.
* | | | | | | | | Merge 8.7jan.nijtmans2024-04-101-32/+32
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | / / / / / | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Merge 8.6 Use TclHasInternalRep() macro in more places.jan.nijtmans2024-04-101-33/+33
| |\ \ \ \ \ \ \ | | |/ / / / / /
* | | | | | | | Merge 8.7. Tcl_GetStringFromObj() -> TclGetStringFromObj() (optimization)jan.nijtmans2024-03-211-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Formatting/indentingjan.nijtmans2024-03-211-3/+3
| | | | | | | |
| * | | | | | | Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6jan.nijtmans2024-03-131-1/+1
| | | | | | | |
* | | | | | | | Fix indentation/brace usage style issuesdkf2024-03-191-2/+4
| | | | | | | |
* | | | | | | | Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too.jan.nijtmans2024-03-121-1/+1
| | | | | | | |
* | | | | | | | Restore the TclGetStringFromObj() macro in tclInt.h as it was in 8.6/8.7jan.nijtmans2024-03-121-0/+1
| | | | | | | |
* | | | | | | | Merge 8.7jan.nijtmans2024-02-081-6/+5
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge 8.6. Some int -> Tcl_Sizejan.nijtmans2024-02-081-10/+10
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | Fix gcc 13.2.1 (Fedora 39.1) warning: Writing of 1 byte into a region of ↵jan.nijtmans2024-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | size 0 [-Wstringop-overflow=]
* | | | | | | | Revise macro usagejan.nijtmans2023-11-161-2/+11
| | | | | | | |
* | | | | | | | Remaining fixes for [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usagejan.nijtmans2023-10-221-3/+3
| | | | | | | |
* | | | | | | | Merge 8.7jan.nijtmans2023-10-191-12/+12
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Handle sentinels for any C++ compilerjan.nijtmans2023-10-171-12/+12
| | | | | | | |
* | | | | | | | Merge 8.7jan.nijtmans2023-10-101-2/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / /
* | | | | | | | Merge 8.7apnadkarni2023-09-251-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Fix (actually benign) gcc warning below about writing past array bound.apnadkarni2023-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | D:/src/tcltk/wip/tcl/generic/tclObj.c: In function 'ParseBoolean': D:/src/tcltk/wip/tcl/generic/tclObj.c:2329:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2329 | lowerCase[length] = 0; | ~~~~~~~~~~~~~~~~~~^~~ D:/src/tcltk/wip/tcl/generic/tclObj.c:2281:10: note: at offset [-2147483648, -1] into destination object 'lowerCas ' of size 6 2281 | char lowerCase[6]; | ^~~~~~~~~
* | | | | | | | Merge 8.7jan.nijtmans2023-09-121-9/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / /