summaryrefslogtreecommitdiffstats
path: root/generic/tclIndexObj.c
Commit message (Collapse)AuthorAgeFilesLines
* Implementation of TIP #585 - Promote the INDEX_TEMP_TABLE flag of ↵fvogel2020-09-021-4/+4
| | | | Tcl_GetIndexFromObj*() to the public interface
* Merge 8.6jan.nijtmans2020-05-131-1/+1
|\
| * One Tcl_UtfPrev() -> TclUtfPrev() change. Just a little bit cheaper.jan.nijtmans2020-05-131-1/+1
| |
* | more unused argumentsdgp2020-03-061-6/+3
| |
* | merge 8.6dgp2020-03-061-36/+1
|\ \ | |/
| * Remove SetIndexFromAny(), a useless routine that can only be reached viadgp2020-03-061-35/+1
| | | | | | unsupported shenanigans.
* | Let's try a real C++ build with Travis on Linuxjan.nijtmans2019-08-301-3/+7
|\ \
* \ \ Merge tip-548jan.nijtmans2019-08-151-5/+5
|\ \ \ | |/ /
| * | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-7/+7
| | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
* | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-7/+7
|\ \ \ | |/ /
* | | Experiment: compile Tcl with C++ compiler. WIPjan.nijtmans2019-07-041-8/+8
|/ /
* | 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-4/+2
| | | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. jan.nijtmans2019-01-281-8/+8
| | | | | | But ... don't use this function when the result is only compared to NULL: that's just overkill.
* | merge 8.7dgp2017-11-151-1/+2
|\ \
| * \ Change signature of (internal) TclScanElement() function. This saves memory ↵jan.nijtmans2017-11-151-1/+2
| |\ \ | | |/ | | | | | | allocation and the possibility for panic's in dict and list handling, requiring 1/4 of memory for internal allocation of temporary storage. No change to external API.
| | * Change signature of (internal) TclScanElement() function. This saves memory ↵jan.nijtmans2017-11-151-1/+2
| | | | | | | | | | | | allocation and the possibility for panic's in dict and list handling, requiring 1/4 of memory for internal allocation of temporary storage. No change to external API.
* | | merge trunkdgp2017-03-201-0/+2
|\ \ \ | |/ /
| * | If compiled with TCL_NO_DEPRECATED, remove some more stub entries which are ↵jan.nijtmans2017-03-201-0/+2
| | | | | | | | | | | | not used any more.
| * | Tidy up some references to INDEX_TEMP_TABLE.dkf2016-07-141-18/+13
| | |
* | | merge trunkdgp2016-07-131-6/+8
|\ \ \ | |/ /
| * | New private flag value INDEX_TEMP_TABLE.dgp2016-07-131-6/+7
| | | | | | | | | | | | | | | | | | | | | Used to signal to Tcl_GetIndexFromObj*() routines that the table in which lookups are done has a fleeting existence. Thus there is no value in caching any results, since the cache can never be useful. Improvement over existing hackery where cache is stored and then freed to avoid bogus results. Likely candidate to eventually push to the public interface.
* | | merge trunkdgp2016-07-091-5/+5
|\ \ \ | |/ /
| * | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-5/+5
| |/ | | | | | | in many places where possible.
* | merge trunkdgp2016-07-021-10/+8
|\ \ | |/
| * [4402cfa58c] Rework the spell check machinery into something that will not bedgp2016-07-011-13/+8
| | | | | | foiled by value sharing.
| * Don't see why the intrep should make and keep copies of things alreadydgp2016-05-121-2/+4
| | | | | | stored in the hash table.
* | First demonstration conversion to the new intrep manipulation routines.dgp2016-03-251-27/+34
| |
* | Revise the "index" Tcl_ObjType to use the new routine.dgp2016-03-241-7/+1
|/
* Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros.jan.nijtmans2013-02-281-0/+1
|
* merge core-8-5-branchjan.nijtmans2013-01-311-13/+13
|\
| * Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵jan.nijtmans2013-01-311-13/+13
| | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes.
* | Simplify STRING_AT macro.jan.nijtmans2013-01-241-5/+9
|\ \ | |/ | | Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that.
| * Simplify STRING_AT macro.jan.nijtmans2013-01-241-5/+9
| |\ | | | | | | Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that.
| | * Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or ↵jan.nijtmans2013-01-231-1/+5
| | | | | | | | | | | | -1. Undocumented, because I don't want to promote people start using that.
* | | Add super-simple compiler to many ensemble subcommands to allow better codedkf2013-01-041-3/+3
| | | | | | | | | | | | | | | generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job.
* | | Fix bug reported by Brian Griffin:jan.nijtmans2012-11-221-4/+0
|\ \ \ | |/ / | | | <p>[http://code.activestate.com/lists/tcl-core/12524/]
| * | Fix bug reported by Brian Griffin:jan.nijtmans2012-11-221-4/+0
| |\ \ | | |/ | | | <p>[http://code.activestate.com/lists/tcl-core/12524/]
| | * Fix bug reported by Brian Griffin:jan.nijtmans2012-11-221-4/+0
| | | | | | | | | <p>[http://code.activestate.com/lists/tcl-core/12524/]
* | | more result generation conversiondkf2012-08-031-41/+46
| | |
* | | protect Tcl_GetIndexFromObjStruct from empty strings in tablejan.nijtmans2012-07-051-7/+16
|\ \ \ | |/ /
| * | protect Tcl_GetIndexFromObjStruct from empty strings in tablejan.nijtmans2012-07-051-6/+15
| |\ \ | | |/
| | * protect Tcl_GetIndexFromObjStruct from empty strings in tablejan.nijtmans2012-07-051-6/+15
| | |
* | | make some more internal tables constjan.nijtmans2012-04-231-1/+1
|\ \ \ | |/ /
* | | Unbreak TCL_ARGV_AUTO_REST macro, found during testing.dkf2011-09-271-1/+8
| | |
* | | Proposed patch to fix [Bug 3413857]...dkf2011-09-261-24/+14
| | |
* | | Small changes to quell gcc warnings and make message generation less ugly.dkf2011-08-161-23/+21
| | |
* | | 3366265 Allocate proper size buffer for TclConvertElement() to write to.dgp2011-07-141-2/+4
|\ \ \ | |/ /
| * | 3366265 Allocate proper size buffer for TclConvertElement() to write to.dgp2011-07-141-2/+4
| | |
* | | New internal routines TclScanElement() and TclConvertElement().dgp2011-05-101-4/+6
|\ \ \ | |/ / | | | Rewritten guts of machinery to produce string rep of lists. [Bug 3173086]