Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't ever allow UTF-8 sequences of more than 4 characters to be generated ↵ | jan.nijtmans | 2016-08-30 | 3 | -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.nijtmans | 2016-08-30 | 1 | -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.6 | dgp | 2016-07-20 | 1 | -4/+0 |
| |\ | |||||
| * \ | merge 8.6 | dgp | 2016-07-18 | 2 | -90/+75 |
| |\ \ | |||||
| * | | | Dup test name. Bump to TclOO 1.0.5. | dgp | 2016-07-12 | 1 | -1/+1 |
| | | | | |||||
| * | | | merge 8.6 | dgp | 2016-07-12 | 1 | -1/+6 |
| |\ \ \ | |||||
| * | | | | Start RC branch for Tcl 8.6.6 | dgp | 2016-07-12 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Stop internals intrusion into lists. | dgp | 2016-07-20 | 1 | -17/+4 |
| | | | | | |||||
* | | | | | Streamline TclObjLookupVarEx | dgp | 2016-07-20 | 1 | -14/+18 |
| | | | | | |||||
* | | | | | Use strchr() to parse array variable syntax. | dgp | 2016-07-20 | 1 | -43/+15 |
| | | | | | |||||
* | | | | | Use the new private flag INDEX_TEMP_TABLE in testing command too. | dgp | 2016-07-20 | 1 | -16/+2 |
| | | | | | |||||
* | | | | | Factor out common prologue. | dgp | 2016-07-19 | 1 | -128/+48 |
| | | | | | |||||
* | | | | | merge 8.6 | dgp | 2016-07-19 | 1 | -4/+0 |
|\ \ \ \ \ | | |_|_|/ | |/| | | | |||||
| * | | | | Remove outdated comment. | dgp | 2016-07-19 | 1 | -4/+0 |
| | |_|/ | |/| | | |||||
* | | | | [0363f0146c] Fix [array startsearch] id handling to support var name variations | dgp | 2016-07-19 | 3 | -142/+31 |
| | | | | |||||
* | | | | [104f2885bb] Rework the "chan" Tcl_ObjType to properly validate cached ↵ | dgp | 2016-07-18 | 2 | -90/+75 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | channel name lookups. Also merge backlog of test suite & doc improvements. | ||||
| * | | | [104f2885bb] Rework the "chan" Tcl_ObjType to properly validate cached ↵ | dgp | 2016-07-18 | 2 | -90/+75 |
| |\ \ \ | | |_|/ | |/| | | | | | | channel name lookups. | ||||
| | * | | [104f2885bb] Rework the "chan" Tcl_ObjType to properly validate cached | dgp | 2016-07-18 | 2 | -89/+78 |
| | | | | | | | | | | | | channel name lookups. | ||||
* | | | | Remove unmaintained disabled speculative code. | dgp | 2016-07-15 | 1 | -24/+0 |
| | | | | | | | | | | | | Such things are for branches and history. | ||||
* | | | | Factor the cmdName intrep setting code into common utility routine. | dgp | 2016-07-15 | 1 | -75/+63 |
| | | | | |||||
* | | | | Stop using the tclCmdNameType to store failed command lookups. If we don't | dgp | 2016-07-15 | 1 | -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 the | dgp | 2016-07-15 | 1 | -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. | dgp | 2016-07-14 | 1 | -4/+4 |
| | | | | |||||
* | | | | Plug memory leak created in recent variable Tcl_ObjType reform. | dgp | 2016-07-14 | 1 | -8/+1 |
| | | | | |||||
* | | | | Tidy up some references to INDEX_TEMP_TABLE.minor_change | dkf | 2016-07-14 | 1 | -18/+13 |
| | | | | |||||
* | | | | New private flag value INDEX_TEMP_TABLE. | dgp | 2016-07-13 | 3 | -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.nijtmans | 2016-07-12 | 1 | -1/+6 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fix "file owned" for Cygwin: st_uid is only 16-bit there. | jan.nijtmans | 2016-07-12 | 1 | -1/+6 |
| | |/ | |/| | |||||
* | | | Make hash type changable by compiling with -DTCL_HASH_TYPE=size_t (for ↵ | jan.nijtmans | 2016-07-12 | 4 | -10/+14 |
| | | | | | | | | | | | | example). Default (unsigned) cannot be changed in Tcl 8.x, that must wait until Tcl 9. | ||||
* | | | merge 8.6 | dgp | 2016-07-11 | 1 | -0/+7 |
|\ \ \ | |/ / | |||||
| * | | [cea0344a1] Restore a clearing of the ensemble rewrite in one execution path | dgp | 2016-07-11 | 1 | -0/+7 |
| | | | | | | | | | | | | so attempts to use the data after free are not made. Test namespace-50.9 demonstrates the need for this. | ||||
* | | | merge 8.6 | dgp | 2016-07-10 | 2 | -0/+13 |
|\ \ \ | |/ / | |||||
| * | | [96fe2f1cc7] Plug memory leak. | dgp | 2016-07-10 | 1 | -0/+1 |
| | | | |||||
| * | | Bugfix [da340d4f32]. clock-55.9 and clock-55.10 test failures. | ashok | 2016-07-10 | 1 | -0/+12 |
| | | | |||||
* | | | merge 8.6 | dgp | 2016-07-09 | 6 | -67/+86 |
|\ \ \ | |/ / | |||||
| * | | Revise INST_INVOKE_REPLACE to call EvalObjv with TCL_EVAL_INVOKE and | dgp | 2016-07-09 | 1 | -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 ↵ | dkf | 2016-07-09 | 4 | -38/+40 |
| |\ \ | | | | | | | | | | | | | situation was completely unintuitive. | ||||
| | * | | Expose the AVOID_RESOLVERS flag to [namespace upvar] implementations, which ↵bug_1493a43044 | dkf | 2016-07-07 | 4 | -38/+40 |
| | | | | | | | | | | | | | | | | seem to need it. | ||||
| * | | | Bugfix [3613671]. file owned implementation for Windows. | ashok | 2016-07-09 | 1 | -11/+6 |
| | | | | |||||
| * | | | Bugfix [ae61a67192]. file {stat, type, size} etc. support for built-in ↵ | ashok | 2016-07-09 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | special Windows files/devices like CON. | ||||
| * | | | Repair some memory corruption problems in EnsembleCmdRep. | dgp | 2016-07-08 | 1 | -3/+7 |
| |\ \ \ | |||||
| | * | | | Missed a cleanup line, which created a memleak.dgp_ecr | dgp | 2016-07-07 | 1 | -0/+1 |
| | | | | | |||||
| | * | | | To use a Tcl_Command token [aka (Command *)] for epoch checking, we must not | dgp | 2016-07-07 | 1 | -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.nijtmans | 2016-07-08 | 1 | -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 a | ashok | 2016-07-08 | 1 | -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.nijtmans | 2016-07-08 | 33 | -155/+155 |
| | | | | | | | | | | | | | | | | | | | | in many places where possible. | ||||
* | | | | | Merge core-8-6-branch: | jan.nijtmans | 2016-07-07 | 11 | -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 is | dgp | 2016-07-06 | 3 | -21/+16 |
| | | | | | | | | | | | | | | | all that is needed. | ||||
| * | | | | Simplify all the Tcl_NRPostProc declarations. | dgp | 2016-07-06 | 10 | -45/+23 |
| | | | | | |||||
| * | | | | [bd7f17bce8] Revise ensemble dispatch to call TclNREvalObjv() which supports | dgp | 2016-07-06 | 1 | -16/+10 |
| | |/ / | |/| | | | | | | the TCL_EVAL_INVOKE flag that is needed. |