Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make read and write operations on Tcl_Var handles available in tclInt API. | dkf | 2017-06-08 | 1 | -3/+3 |
|\ | |||||
| * | Expose some of the core variable access APIs. | dkf | 2017-06-06 | 1 | -3/+3 |
| | | | | | | (Cherrypick from [b4dfc30083]) | ||||
* | | merge core-8-6-branch | jan.nijtmans | 2017-06-02 | 1 | -10/+8 |
|\ \ | |/ | |||||
| * | Change refCount field in DictObj from int to size_t. Cherry-picked from ↵ | jan.nijtmans | 2017-06-02 | 1 | -10/+8 |
| | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch. | ||||
* | | Merge core-8-6-branch. This removes the work currently being done in ↵ | jan.nijtmans | 2017-06-02 | 1 | -107/+10 |
|\ \ | |/ | | | | | | | "sebres-8-6-clock-speedup-cr1" branch, but that will be merged again as soon as the work is done. All other changes in "trunk" since then (e.g. the INST_STR_CONCAT1 performance improvement, and the removal of SunOS-4) are retained. | ||||
* | | merge trunk | sebres | 2017-03-06 | 1 | -1/+1 |
|\ \ | |||||
| * | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵ | jan.nijtmans | 2017-02-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking. | ||||
* | | | code review and inline documentation | sebres | 2017-01-10 | 1 | -3/+29 |
| | | | |||||
* | | | Merge remote-tracking branch 'remotes/fossil/trunk' into ↵ | sebres | 2017-01-10 | 1 | -17/+33 |
| | | | | | | | | | | | | sb/trunk-rewrite-clock-in-c; + minor fixes after merge. | ||||
* | | | dict: unused variable removed | sebres | 2017-01-10 | 1 | -1/+0 |
| | | | |||||
* | | | improve LocalizeFormat, internal caching of localized formats inside msgcat ↵ | sebres | 2017-01-10 | 1 | -32/+90 |
|/ / | | | | | | | | | | | for locale and format objects smart reference introduced in dict (smart pointer with 0 object reference but increase dict-reference, provide changeable locale dict) | ||||
* | | Minor simplifications. Eliminate FUNCPRT from regexp engine. Fix ↵ | jan.nijtmans | 2016-11-29 | 1 | -1/+1 |
| | | | | | | | | compile-error (non-debug) in tclDictObj.c, from previous commit | ||||
* | | more internal use of size_t (in stead of int) | jan.nijtmans | 2016-11-29 | 1 | -9/+7 |
| | | |||||
* | | WIP | dgp | 2016-10-28 | 1 | -2/+2 |
| | | |||||
* | | revise [dict append] to make use of common [string cat] engine. | dgp | 2016-10-28 | 1 | -6/+24 |
| | | |||||
* | | Add optimization to [dict append]. | dgp | 2016-10-28 | 1 | -8/+17 |
|/ | |||||
* | Simplify all the Tcl_NRPostProc declarations. | dgp | 2016-07-06 | 1 | -12/+6 |
| | |||||
* | typo in comment. Eliminate unnecessary end-of-line spacing. | jan.nijtmans | 2015-10-19 | 1 | -2/+2 |
| | |||||
* | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -1/+1 |
|\ | |||||
| * | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -1/+1 |
| | | |||||
* | | Suppress valgrind warnings about uninitialized values. | dgp | 2014-07-11 | 1 | -0/+4 |
| | | |||||
* | | [cb042d294e] Improve consistency of [dict] wrong-args error messages. | dkf | 2014-06-15 | 1 | -10/+10 |
| | | |||||
* | | Some more cleaning up | dkf | 2014-06-15 | 1 | -36/+44 |
| | | |||||
* | | Make [dict replace] and [dict remove] guarantee result canonicality. | dkf | 2014-06-15 | 1 | -84/+65 |
| | | |||||
* | | Improved the error messages. | dkf | 2014-06-07 | 1 | -9/+5 |
| | | | | | | | | We do not want parsing an invalid dictionary to give errors about lists! As compensation, we get greater precision in the errorcode. | ||||
* | | more tests, cleaning up the code a bit | dkf | 2014-06-04 | 1 | -16/+13 |
| | | |||||
* | | [1b0266d8bb] Working towards ensuring that all dict operations are ↵ | dkf | 2014-06-03 | 1 | -25/+21 |
| | | | | | | | | sufficiently strict. | ||||
* | | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -7/+7 |
| | | |||||
* | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -22/+20 |
|\ \ | |/ | |||||
| * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -22/+20 |
| | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | ||||
* | | Add super-simple compiler to many ensemble subcommands to allow better code | dkf | 2013-01-04 | 1 | -6/+6 |
| | | | | | | | | | | 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. | ||||
* | | Added compilation of [dict create] and [dict merge]. | dkf | 2012-11-01 | 1 | -19/+2 |
| | | |||||
* | | Added [dict exists] compilation; implementation is 95% shared with [dict get]. | dkf | 2012-10-30 | 1 | -1/+18 |
| | | |||||
* | | Added compilation of [dict unset]; the bytecode needed already existed anyway. | dkf | 2012-10-24 | 1 | -1/+1 |
| | | |||||
* | | merge trunk | dkf | 2012-10-16 | 1 | -0/+1 |
|\ \ | |||||
| * \ | Bug 3576509: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's ↵ | jan.nijtmans | 2012-10-14 | 1 | -0/+1 |
| |\ \ | | |/ | | | | | | | source code. | ||||
| | * | Bug 357650: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's ↵ | jan.nijtmans | 2012-10-14 | 1 | -0/+1 |
| | | | | | | | | | | | | source code. | ||||
| | * | some formatting (*.decls) | jan.nijtmans | 2012-04-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings | ||||
* | | | ...and all the compilation and tests now work/pass | dkf | 2012-10-05 | 1 | -1/+2 |
| | | | |||||
* | | | adjusted non-compiled implementation of [dict map] to match TIP | dkf | 2012-10-05 | 1 | -59/+247 |
| | | | |||||
* | | | merge trunk | dkf | 2012-09-04 | 1 | -16/+23 |
|\ \ \ | |/ / | |||||
| * | | converting to using Tcl_Obj API for error message generation; part done | dkf | 2012-08-03 | 1 | -16/+23 |
| | | | |||||
* | | | [Patch-3163961] Implementation of TIP #405 merged from private branch. ↵ | twylite | 2012-08-03 | 1 | -11/+56 |
|/ / | | | | | | | Includes 'mapeach', 'dict map' and 'foreacha' commands, test suite (partial for 'foreacha') and man pages (except for 'foreacha'). | ||||
* | | * generic/tclDictObj.c (DictExistsCmd): [Bug 3475264]: Ensure that | dkf | 2012-01-22 | 1 | -11/+5 |
|\ \ | |/ | | | | | | | errors only ever happen when insufficient arguments are supplied, and not when a path doesn't exist or a dictionary is poorly formatted (the two cases can't be easily distinguished). | ||||
| * | * generic/tclDictObj.c (DictExistsCmd): [Bug 3475264]: Ensure that | dkf | 2012-01-22 | 1 | -11/+5 |
| | | | | | | | | | | errors only ever happen when insufficient arguments are supplied, and not when a path doesn't exist or a dictionary is poorly formatted (the two cases can't be easily distinguished). | ||||
* | | Added support for having the dict var itself referenced by LVT index. | dkf | 2011-10-03 | 1 | -9/+34 |
| | | |||||
* | | Experimental compilation of the [dict with] subcommand. No tests yet, and not | dkf | 2011-10-02 | 1 | -64/+149 |
| | | | | | | | | yet certain that the added bytecode opcodes are correct; evaluation is still needed (but the test suite does pass...) | ||||
* | | New internal routines TclScanElement() and TclConvertElement(). | dgp | 2011-05-10 | 1 | -21/+37 |
|\ \ | |/ | | | Rewritten guts of machinery to produce string rep of lists. [Bug 3173086] | ||||
| * | Completed patch with mucho comments. Merge 8.5. | dgp | 2011-05-10 | 1 | -123/+69 |
| | |