summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Don't ever allow UTF-8 sequences of more than 4 characters to be generated ↵jan.nijtmans2016-08-303-47/+27
|\ | | | | | | | | or parsed, even when TCL_UTF_MAX>4: According to current Unicode standard, a byte string of >4 characters can never form a single UTF-8 character. And a few minor micro-optimizations related to UTF-8 handling.
| * Don't ever allow UTF-8 sequences of more than 4 characters to be generated ↵jan.nijtmans2016-08-301-44/+24
| | | | | | | | | | or parsed, even when TCL_UTF_MAX>4: According to current Unicode standard, a byte string of >4 characters can never form a single UTF-8 character. And a few minor micro-optimizations related to UTF-8 handling.
| * merge 8.6dgp2016-07-201-4/+0
| |\
| * \ merge 8.6dgp2016-07-182-90/+75
| |\ \
| * | | Dup test name. Bump to TclOO 1.0.5.dgp2016-07-121-1/+1
| | | |
| * | | merge 8.6dgp2016-07-121-1/+6
| |\ \ \
| * | | | Start RC branch for Tcl 8.6.6dgp2016-07-121-2/+2
| | | | |
* | | | | Stop internals intrusion into lists.dgp2016-07-201-17/+4
| | | | |
* | | | | Streamline TclObjLookupVarExdgp2016-07-201-14/+18
| | | | |
* | | | | Use strchr() to parse array variable syntax.dgp2016-07-201-43/+15
| | | | |
* | | | | Use the new private flag INDEX_TEMP_TABLE in testing command too.dgp2016-07-201-16/+2
| | | | |
* | | | | Factor out common prologue.dgp2016-07-191-128/+48
| | | | |
* | | | | merge 8.6dgp2016-07-191-4/+0
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Remove outdated comment.dgp2016-07-191-4/+0
| | |_|/ | |/| |
* | | | [0363f0146c] Fix [array startsearch] id handling to support var name variationsdgp2016-07-193-142/+31
| | | |
* | | | [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.