summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify usage of TCL_THREAD, along the lines of ↵jan.nijtmans2018-05-221-2/+2
| | | | [eeddb0693a950be980a66de3811630a00c7bab54|eeddb0693a]. Suggested by DKF
* TIP #491 implementation: Threading Support: phasing out non-threaded buildsjan.nijtmans2018-05-171-2/+2
|\
* | General code style cleanup.dkf2018-05-131-27/+35
|/
* merge 8.7dgp2018-03-121-107/+196
|\
| * Improve -DTCL_NO_DEPRECATED compiles. It now can handle loading stub-enabled ↵jan.nijtmans2018-03-071-3/+8
| | | | | | | | extensions with incompatible magic number (backported from trunk)
| * Use mp_isneg() in stead of mp_cmp_d() when the output of this function is ↵jan.nijtmans2018-02-271-1/+1
| | | | | | | | simply compared with MP_LT.
| * TIP 484: Merge 'int' and 'wideInt' Obj-type to a single 'int'dgp2018-02-061-25/+8
| |\
| | * Rename (internal) TclNewWideObj macro to TclNewIntObj. Change ↵jan.nijtmans2018-01-261-1/+1
| | | | | | | | | | | | Tcl_SetIntObj/Tcl_SetLongObj to macro's referencing Tcl_SetWideIntObj (since all of those do the same now)
| | * Merge core-8-branch. Also some minor performance improvement: Turn ↵jan.nijtmans2018-01-261-1/+1
| | |\ | | | | | | | | | | | | Tcl_NewLongObj/Tcl_NewIntObj/Tcl_DBNewLongObj into macro's refering to their WideInt equivalent, since all of those do exactly the same now.
| | * \ merge core-8-branchjan.nijtmans2018-01-221-2/+8
| | |\ \
| | * \ \ merge core-8-branchjan.nijtmans2018-01-161-6/+7
| | |\ \ \
| | * \ \ \ merge core-8-branchjan.nijtmans2017-12-281-1/+1
| | |\ \ \ \
| | * \ \ \ \ merge core-8-branchjan.nijtmans2017-12-191-1/+5
| | |\ \ \ \ \
| | * \ \ \ \ \ merge core-8-branchjan.nijtmans2017-12-061-66/+154
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ merge core-8-branch. Also fix some test-cases, expecting the existence of ↵jan.nijtmans2017-11-151-1/+1
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "int" objType.
| | * \ \ \ \ \ \ \ Rebase back to 8.7 (core-8-branch), since that's what the TIP is meant for. ↵jan.nijtmans2017-11-091-12/+99
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (I see no reason to wait for 9.0)
| | * \ \ \ \ \ \ \ \ merge trunkdgp2017-11-091-99/+12
| | |\ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ TIPs 330 & 336 changes to Tcl 9 Implementationdgp2017-11-031-98/+12
| | | |\ \ \ \ \ \ \ \ \
| | | | * | | | | | | | | tidyingdgp2017-10-301-2/+1
| | | | | | | | | | | | |
| | | | * | | | | | | | | Patch to make changes to Tcl 9 prescribed by TIPs 330 and 336.dgp2017-10-301-97/+12
| | | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the Tcl_Interp struct fully opaque. No interp->result or interp->errorline
| | | * | | | | | | | | merge trunkdgp2017-10-301-4/+4
| | | |\ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / /
| | | * | | | | | | | | Implementation branch for TIP 114 - Eliminate Octal Parsing...dgp2017-10-231-1/+0
| | | | | | | | | | | |
| | * | | | | | | | | | Finally, get rid of tclWideIntType completelyjan.nijtmans2017-11-011-1/+1
| | | | | | | | | | | |
| | * | | | | | | | | | Eliminate most usage of TCL_NUMBER_LONG, just use TCL_NUMBER_WIDE in stead ↵jan.nijtmans2017-10-311-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (since both have the same internal representation now)
| | * | | | | | | | | | more progress in code simplificationsjan.nijtmans2017-10-301-23/+7
| | | |/ / / / / / / / | | |/| | | | | | | |
| * | | | | | | | | | Add remaining wrapper to the NR functions, remaining calls topooryorick2018-02-061-1/+3
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | TCL_NRAddCallback, and a test for a package require script that yields.
| * | | | | | | | | typodgp2018-01-221-1/+1
| | |_|_|_|_|_|_|/ | |/| | | | | | |
| * | | | | | | | Follow-up to previous commit (TIP #485 implementation). Actually remove ↵jan.nijtmans2018-01-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_Backslash and Tcl_EvalTokens when compiling with -DTCL_NO_DEPRECATED.
| * | | | | | | | merge core-8-branchjan.nijtmans2018-01-121-8/+13
| |\ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ | | |/| | | | | |
| | * | | | | | | Merge pyk-TclOO branch. See [90657479e8]pooryorick2018-01-081-0/+1
| | |\ \ \ \ \ \ \
| | | * \ \ \ \ \ \ merge core-8-branchpooryorick2017-12-261-2/+4
| | | |\ \ \ \ \ \ \ | | | | | |_|_|_|_|/ | | | | |/| | | | |
| | | * | | | | | | Add the check for wrong arguments back to TclOO_Object_Destroy, removepooryorick2017-12-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inadvertant increment of Namespace->refCount.
| | | * | | | | | | Streamline TclOO object cleanup routines.pooryorick2017-12-101-0/+2
| | | | | | | | | |
| | * | | | | | | | Rearrange a few lines TclRenameCommand to reduce operations.pooryorick2018-01-081-6/+6
| | | |/ / / / / / | | |/| | | | | |
| | * | | | | | | [586e71dce4] Exeception handling at level #0 by EvalObjvdgp2017-12-191-1/+1
| | |\ \ \ \ \ \ \ | | | |_|_|_|_|_|/ | | |/| | | | | |
| | | * | | | | | [586e71dce4] Exeception handling at level #0 by EvalObjvdgp2017-12-191-1/+1
| | | | | | | | |
| | * | | | | | | Revert a few more (int -> size_t) transitions, which could effect extensions ↵jan.nijtmans2017-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (such as Itcl 3.4) which use internal Tcl header files. Better wait until 9.0 for this. What we _can_ do is change some (internal) fields to 'unsigned': that doubles the epoch range without further danger. Thanks, Don, for pointing this out!
| | * | | | | | | Revert the (int -> size_t) transition of the "cmdEpoch" field ofdgp2017-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the struct Command that was part of [ff3f6a12a8d099ef], and related changes. This change broke the ability of Itcl 3.4 built against Tcl 8.6 headers to successfully [load] into and operate in a Tcl 8.7 interp. "Command" is a private struct, and Itcl 3 should have respected that, but it has not, and changing the size of the cmdEpoch field broke the ability of Itcl 3 to operate on later fields of the struct, notably the deleteProc, which it makes extensive use of. I believe we should keep the change in the Tcl 9 sources.
| | * | | | | | | Mark TclPrecTraceProc() as deprecated, and remove it when compiling with ↵jan.nijtmans2017-12-151-0/+2
| | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | -DTCL_NO_DEPRECATED. See TIP #488
| | * | | | | | merge 8.6dgp2017-12-061-0/+2
| | |\ \ \ \ \ \ | | | |/ / / / / | | | | | | | / | | | |_|_|_|/ | | |/| | | |
| | | * | | | [0e4d88b650] Added enough refcounting to stop `make valgrind` complaints aboutdgp2017-12-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | "Invalid read". This is not a complete fix. Things are still broken. A working system of Namespace lifetime management looks like an 8.7 project.
| * | | | | | merge core-8-branchjan.nijtmans2017-11-301-66/+85
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | merge pyk-command-named-colonpooryorick2017-11-251-66/+85
| | |\ \ \ \ \
| | | * | | | | Move return type to its own line.pooryorick2017-11-231-2/+4
| | | | | | | |
| | | * | | | | Fix segmentation fault in TclOO that was noted in [16fe1b5807]. Updatepooryorick2017-11-191-29/+17
| | | | | | | | | | | | | | | | | | | | | | | | coroutine and TclOO object creation routines to use TclCreateObjCommandInNs.
| | | * | | | | Lift the restriction on command names names that begin with ":".pooryorick2017-11-171-8/+0
| | | | | | | |
| | | * | | | | Fix [16fe1b5807]: namespace ensemble command named ":" is mistakenly given thepooryorick2017-11-171-34/+71
| | | | |_|_|/ | | | |/| | | | | | | | | | empty string as its name.
| * | | | | | merge core-8-branch. jan.nijtmans2017-11-231-1/+74
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | now really remove the math-related functions when compiling with -DTCL_NO_DEPRECATED. Also no longer supply Tcl_Value, Tcl_ValueType and TCL_RESULT_SPACE.
| | * | | | | Re-base to core-8-branch: This change is fine as-is for Tcl 8.7, I wouldn't ↵jan.nijtmans2017-11-201-47/+69
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | recommend it for 8.6 (even though it's only for the changed error-message)
| | * | | | | Changed math functions min and max to C implementations.pspjuth2017-11-191-0/+69
| | | |/ / / | | |/| | |