summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* [104f2885bb] Rework the "chan" Tcl_ObjType to properly validate cached ↵dgp2016-07-182-90/+75
|\ | | | | | | | | channel name lookups. Also merge backlog of test suite & doc improvements.
| * [104f2885bb] Rework the "chan" Tcl_ObjType to properly validate cached ↵dgp2016-07-182-90/+75
| |\ | | | | | | | | | channel name lookups.
| | * [104f2885bb] Rework the "chan" Tcl_ObjType to properly validate cacheddgp2016-07-182-89/+78
| | | | | | | | | channel name lookups.
* | | Remove unmaintained disabled speculative code.dgp2016-07-151-24/+0
| | | | | | | | | Such things are for branches and history.
* | | Factor the cmdName intrep setting code into common utility routine.dgp2016-07-151-75/+63
| | |
* | | Stop using the tclCmdNameType to store failed command lookups. If we don'tdgp2016-07-151-14/+11
| | | | | | | | | find a command, there's nothing to store, so better not to shimmer at all.
* | | One of the validity checks for the "cmdName" type is to see if thedgp2016-07-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | resolved command has been deleted by checking for the CMD_IS_DELETED flag. Only one thing sets this flag -- Tcl_DeleteCommandFromToken(), and every time it sets that flag it also bumps the cmdEpoch of the Command as well. The "cmdName" type is already validating that epoch. It gains nothing to be checking the CMD_IS_DELETED flag too. Eliminated the pointless test.
* | | Stop checking case that can never happen.dgp2016-07-141-4/+4
| | |
* | | Plug memory leak created in recent variable Tcl_ObjType reform.dgp2016-07-141-8/+1
| | |
* | | Tidy up some references to INDEX_TEMP_TABLE.minor_changedkf2016-07-141-18/+13
| | |
* | | New private flag value INDEX_TEMP_TABLE.dgp2016-07-133-14/+18
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix "file owned" for Cygwin: st_uid is only 16-bit there.jan.nijtmans2016-07-121-1/+6
|\ \ \ | |/ /
| * | Fix "file owned" for Cygwin: st_uid is only 16-bit there.jan.nijtmans2016-07-121-1/+6
| | |
* | | Make hash type changable by compiling with -DTCL_HASH_TYPE=size_t (for ↵jan.nijtmans2016-07-124-10/+14
| | | | | | | | | | | | example). Default (unsigned) cannot be changed in Tcl 8.x, that must wait until Tcl 9.
* | | merge 8.6dgp2016-07-111-0/+7
|\ \ \ | |/ /
| * | [cea0344a1] Restore a clearing of the ensemble rewrite in one execution pathdgp2016-07-111-0/+7
| | | | | | | | | | | | so attempts to use the data after free are not made. Test namespace-50.9 demonstrates the need for this.
* | | merge 8.6dgp2016-07-102-0/+13
|\ \ \ | |/ /
| * | [96fe2f1cc7] Plug memory leak.dgp2016-07-101-0/+1
| | |
| * | Bugfix [da340d4f32]. clock-55.9 and clock-55.10 test failures.ashok2016-07-101-0/+12
| | |
* | | merge 8.6dgp2016-07-096-67/+86
|\ \ \ | |/ /
| * | Revise INST_INVOKE_REPLACE to call EvalObjv with TCL_EVAL_INVOKE anddgp2016-07-091-15/+14
| | | | | | | | | | | | no longer call EvalObjEx which does not support it reliably. Also convert to conventional list operations.
| * | [1493a43044] Make [namespace upvar] ignore variable resolvers; the previous ↵dkf2016-07-094-38/+40
| |\ \ | | | | | | | | | | | | situation was completely unintuitive.
| | * | Expose the AVOID_RESOLVERS flag to [namespace upvar] implementations, which ↵bug_1493a43044dkf2016-07-074-38/+40
| | | | | | | | | | | | | | | | seem to need it.
| * | | Bugfix [3613671]. file owned implementation for Windows.ashok2016-07-091-11/+6
| | | |
| * | | Bugfix [ae61a67192]. file {stat, type, size} etc. support for built-in ↵ashok2016-07-091-0/+19
| | | | | | | | | | | | | | | | special Windows files/devices like CON.
| * | | Repair some memory corruption problems in EnsembleCmdRep.dgp2016-07-081-3/+7
| |\ \ \
| | * | | Missed a cleanup line, which created a memleak.dgp_ecrdgp2016-07-071-0/+1
| | | | |
| | * | | To use a Tcl_Command token [aka (Command *)] for epoch checking, we must notdgp2016-07-071-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | permit it to be freed while we hold it or else it could be mistaken for another token allocated later that just happens to reside at the same address. (Command *) preservation machinery already exists, just need to use it. An extension facing the same problem might have to rely on command delete traces. Earlier revisions used (Namespace *) lifetime to achieve the same results, but that's really an indirect (possibly non-robust) path to achieving the proper goal. Valgrind is happy now.
* | | | | Merge core-8-6-branch: Bug [a47641a031]. TclJoinPath was calling ↵jan.nijtmans2016-07-081-3/+7
|\ \ \ \ \ | |/ / / / | | | | | | | | | | TclNewFSPathObj with a first argument that was not an absolute path. Added a check for that. Fixes Windows test failures fileSystem-1.{3,4}
| * | | | Bug [a47641a031]. TclJoinPath was calling TclNewFSPathObj with aashok2016-07-081-3/+7
| | | | | | | | | | | | | | | | | | | | first argument that was not an absolute path. Added a check for that. Fixes Windows test failures fileSystem-1.{3,4}
* | | | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-0833-155/+155
| | | | | | | | | | | | | | | | | | | | in many places where possible.
* | | | | Merge core-8-6-branch: jan.nijtmans2016-07-0711-74/+47
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | New tests to demo the remaining flaw in ensemble dispatch revisions. Itcl 4 also demonstrated these [bd7f17bce8] Revise ensemble dispatch to call TclNREvalObjv() which supports the TCL_EVAL_INVOKE Simplify all the Tcl_NRPostProc declarations Create and use a utility Tcl_NRPostProc when decr ref count of values is all that is needed Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows
| * | | | Create and use a utility Tcl_NRPostProc when decr ref count of values isdgp2016-07-063-21/+16
| | | | | | | | | | | | | | | all that is needed.
| * | | | Simplify all the Tcl_NRPostProc declarations.dgp2016-07-0610-45/+23
| | | | |
| * | | | [bd7f17bce8] Revise ensemble dispatch to call TclNREvalObjv() which supportsdgp2016-07-061-16/+10
| | |/ / | |/| | | | | | the TCL_EVAL_INVOKE flag that is needed.
| * | | New tests to demo the remaining flaw in ensemble dispatch revisions.dgp2016-07-051-1/+7
| | | | | | | | | | | | Itcl 4 also demonstrated these problems.
* | | | Fixup the ensemble rewrite conversionsjan.nijtmans2016-07-052-8/+1
|\ \ \ \ | |/ / /
| * | | Fixup the ensemble rewrite conversions (merge fork)jan.nijtmans2016-07-052-8/+1
| |\ \ \
| | * | | Fixup the ensemble rewrite conversions.core_8_6_branch_forkdgp2016-07-042-8/+1
| | | | |
* | | | | Use conventional list operations for ensemble dispatchjan.nijtmans2016-07-042-37/+159
|\ \ \ \ \ | |/ / / / | | | | | Add ability to disassemble TclOO constructors and destructors
| * | | | typo and end-of-line spacingjan.nijtmans2016-07-041-5/+5
| | | | |
| * | | | Add ability to disassemble TclOO constructors and destructors ([1493a43044] ↵dkf2016-07-041-1/+134
| |/ / / | | | | | | | | | | | | motivates)
| * | | Use conventional list operations for ensemble dispatch.dgp2016-07-031-34/+23
| | | |
* | | | [f961d7d1dd] Repair usage message for ensemble parameters with spaces.dgp2016-07-021-10/+3
|\ \ \ \ | |/ / /
| * | | [f961d7d1dd] Repair usage message for ensemble parameters with spaces.dgp2016-07-021-10/+3
| |/ /
* | | [4402cfa58c] Rework the spell check machinery into something that will not ↵dgp2016-07-014-134/+240
|\ \ \ | |/ / | | | | | | be foiled by value sharing.
| * | The EnsembleCmdRep struct that is the internal rep for caching ensembledgp2016-07-012-22/+21
| | | | | | | | | dispatches and spelling corrections can now be file static.
| * | merge 8.6dgp2016-07-011-8/+2
| |\ \
| * | | [4402cfa58c] Rework the spell check machinery into something that will not bedgp2016-07-013-35/+177
| | | | | | | | | | | | foiled by value sharing.
| * | | Encapsulate the fetching of the ensemble rewrite root, used by [namespace].dgp2016-07-013-17/+38
| | | |