summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkdgp2017-09-141-2/+2
|\
| * Make mp_get_long and mp_set_long available to tommath-enabled Tcl ↵jan.nijtmans2017-09-131-2/+2
| | | | | | | | extensions. Deprecate the internal TclBNInitBignumFrom* functions, in favor of the official tommath functions with the same purpose.
* | merge trunkdgp2017-09-051-62/+104
|\ \ | |/
| * merge core-8-6-branchjan.nijtmans2017-09-041-1/+1
| |\
| | * Typo's (Thanks to Gustaf Neumann), nothing functional.jan.nijtmans2017-09-041-1/+1
| | |
| * | [0e4d88b650] Allow command overwrite when deletion callback deletes namespace.dgp2017-09-021-62/+104
| |\ \ | | |/
| | * [0e4d88b650] Allow command overwrite when deletion callback deletes namespace.dgp2017-09-021-62/+104
| | |\
| | | * Similar fix to Tcl_CreateCommand().dgp2017-09-021-31/+54
| | | |
| | | * Tidy up.dgp2017-09-021-33/+40
| | | |
| | | * [Bug 0e4d88b650] First draft fix. Re-resolve namespace after cmd deletion.dgp2017-09-021-8/+20
| | | |
| | | * Implement TIP #440: Add engine to tcl_platform Arrayjan.nijtmans2016-01-291-0/+7
| | | |
* | | | merge trunkdgp2017-06-161-5/+5
|\ \ \ \ | |/ / /
| * | | merge core-8-6-branchjan.nijtmans2017-06-071-5/+5
| |\ \ \ | | |/ /
| | * | Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵jan.nijtmans2017-06-071-5/+5
| | | | | | | | | | | | | | | | simplifications/optimizations. No functional change.
| * | | Merge core-8-6-branch. This removes the work currently being done in ↵jan.nijtmans2017-06-021-1/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | "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 (to sebres-trunk-timerate)sebres2017-05-111-7/+54
| |\ \ \
| * \ \ \ merge trunksebres2017-03-061-6/+5
| |\ \ \ \
| * | | | | New performance measurement routine "timerate" in opposition to "time" the ↵sebres2017-01-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execution limited by fixed time (in milliseconds) instead of repetition count (more precise results, to prevent very long execution time it is no more necessary to estimate repetition count) Syntax: timerate ?-direct? ?-calibrate? ?-overhead double? command ?time?
* | | | | | merge trunkdgp2017-04-171-1/+1
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | merge core-8-6-branchjan.nijtmans2017-04-141-1/+1
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| | * | | | Don't use "0%o" format in test-cases, as it suggest's it's the normal way to ↵jan.nijtmans2017-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | format octal numbers: it isn't. Better use "%#o". Add tests for "format" and "scan" corner-cases which weren't documented (except in TIP's) neither had tests before.
* | | | | | merge trunkdgp2017-04-121-2/+32
|\ \ \ \ \ \ | |/ / / / /
| * | | | | merge core-8-6-branchjan.nijtmans2017-04-121-1/+31
| |\ \ \ \ \ | | |/ / / /
| | * | | | bug fix for [42202ba1e5ff566e0f9abb9f890e460fbc6c1c5c]: segfault by coro injectfix_42202ba1e5ff566esebres2017-04-041-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | rewritten callback for ::tcl::unsupported::inject, without leave the interpreter in unusable state (inaccurate environment exchange by adding eval callback), test covered now.
| * | | | | Remove some unnecessary "struct" definitions and some type casts no longer ↵jan.nijtmans2017-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | necessary. No functional changes.
* | | | | | merge trunkdgp2017-04-061-1/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | If compiled with TCL_NO_DEPRECATED, the functions ↵jan.nijtmans2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | TclpGetDate/TclpLocaltime/TclpGmtime can be removed: They are internal and not used for anything any more.
* | | | | | merge trunkdgp2017-03-201-0/+6
|\ \ \ \ \ \ | |/ / / / /
| * | | | | If compiled with TCL_NO_DEPRECATED, remove some more stub entries which are ↵jan.nijtmans2017-03-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | not used any more.
* | | | | | merge trunkdgp2017-03-171-5/+16
|\ \ \ \ \ \ | |/ / / / /
| * | | | | If Tcl is compiled with -DTCL_NO_DEPRECATED, make sure that ↵jan.nijtmans2017-03-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | iPtr->(resultSpace|appendResult|appendAvl|appendUsed) are not used any more.
| * | | | | Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵Kevin B Kenny2017-03-141-5/+6
| |\ \ \ \ \ | | |/ / / / | | | | / / | | |_|/ / | |/| | | interps
| | * | | Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵kbk_clock_encoding_ensemblesKevin B Kenny2017-03-141-0/+1
| | | | | | | | | | | | | | | | | | | | interps
| | * | | Make 'clock' and 'encoding' into proper compilable ensemblesKevin B Kenny2017-03-141-5/+5
| | | | |
* | | | | merge trunkdgp2017-02-161-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | More internal use of size_t in stead of int, e.g. for epoch'sjan.nijtmans2017-02-151-1/+1
| | | | |
* | | | | merge trunkdgp2017-02-031-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵jan.nijtmans2017-02-031-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.
* | | | | merge trunkdgp2017-01-271-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | If TCL_NO_DEPRECATED is defined, remove the "case" statement, and use much ↵jan.nijtmans2017-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes.
* | | | | merge trunkdgp2017-01-121-3/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge core-8-6-branch. jan.nijtmans2017-01-111-3/+2
| |\ \ \ \ | | |/ / / | | | / / | | |/ / | |/| | Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage of "const". Make Tcl_AddErrorInfo() and Tcl_AddObjErrorInfo() a macro.
* | | | merge trunkdgp2016-12-021-7/+15
|\ \ \ \ | |/ / /
| * | | Remove dup line.dgp_cmd_epochdgp2016-12-021-6/+5
| | | |
| * | | Reports from NSF that command epoch bumping isn't properly timed.dgp2016-12-011-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://paste.tclers.tk/4030 Since the epoch should bump to indicate when Tcl_FindCommand() would produce a different result from the cached value, the bump ought to be connected to the state change that would have that effect. This checkin appears to be the more correct answer, and it makes the Delete path get into agreement with the Rename path. Review would be good.
* | | | merge trunkdgp2016-11-281-5/+3
|\ \ \ \ | |/ / /
| * | | Make compileEpoch "unsigned int", and start counting at 1.jan.nijtmans2016-11-241-1/+1
| | | |
| * | | More internal use of size_t in stead of int.jan.nijtmans2016-11-211-4/+2
| | | |
* | | | merge trunkdgp2016-11-161-9/+9
|\ \ \ \ | |/ / /
| * | | Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-161-9/+9
| | | | | | | | | | | | | | | | type-casts which are not necessary any more.