summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
Commit message (Collapse)AuthorAgeFilesLines
* Move new declarations to more conventional place for tidier merging.dgp2017-09-141-4/+3
|
* Make mp_get_long and mp_set_long available to tommath-enabled Tcl ↵jan.nijtmans2017-09-131-0/+4
| | | | extensions. Deprecate the internal TclBNInitBignumFrom* functions, in favor of the official tommath functions with the same purpose.
* merge core-8-6-branchjan.nijtmans2017-07-131-1/+1
|\
| * Fix [293344d4f3]: Regression in SQLite test-suite. Long-standing bug in ↵jan.nijtmans2017-07-131-1/+1
| |\ | | | | | | | | | implementation of TclUtfToUniChar() macro.
| | * Fix [293344d4f3]: Regression in SQLite test-suite. Long-standing bug in ↵jan.nijtmans2017-07-131-1/+1
| | | | | | | | | | | | implementation of TclUtfToUniChar() macro.
| | * (cherry-pick): Fix [e14c77b845]: Compilation error over typedef.jan.nijtmans2016-06-141-1/+2
| | |
* | | Make read and write operations on Tcl_Var handles available in tclInt API.dkf2017-06-081-6/+7
|\ \ \ | |/ /
| * | Expose some of the core variable access APIs. dkf_expose_ptrgetvar_8_6dkf2017-06-061-6/+7
| | | | | | | | | (Cherrypick from [b4dfc30083])
* | | Merge core-8-6-branch. This removes the work currently being done in ↵jan.nijtmans2017-06-021-23/+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 core-8-6-branch (except: the "timerate" command and the clock ↵jan.nijtmans2017-05-311-1/+1
|\ \ \ | | | | | | | | | | | | performance-tests are kept)
| * | | More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, ↵jan.nijtmans2017-05-311-1/+1
| | | | | | | | | | | | | | | | preventing a (char *) type case. No functional changes.
| * | | Remove "timerate" functionality: this definitely needs a TIP. Also undo ↵jan.nijtmans2017-05-311-3/+0
| | | | | | | | | | | | | | | | changes in library/reg/pkgIndex.tcl, which are unrelated to clock functionality
| | | |
| \ \ \
*-. \ \ \ 3-way merge sebres-trunk-clock-speedup / core-8-6-branch (clock speed-up / ↵sebres2017-05-291-0/+23
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | flightaware Tcl-bounties#4, see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | | | |
| | | \ \
| | *-. \ \ reintegrate sebres-8-6-clock-speedup back to sebres-clock-speedup (trunk ↵sebres2017-05-111-64/+53
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | clock-speedup, 3-way merge)
| | | | * \ \ merge trunk (to sebres-trunk-timerate)sebres2017-05-111-64/+53
| | | | |\ \ \
| * | | | \ \ \ merge sebres-8-6-clock-speedup (clock speed-up / flightaware Tcl-bounties#4, ↵sebres2017-05-291-0/+23
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | / / | | |_|_|_|/ / | |/| | | | | see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | * | | | | [interim-merge-commit] back-ported branch sebres-clock-speedup (from trunk ↵sebres2017-05-101-0/+8
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | to 8.6): tcl-clock functionality rewritten in C.
| | | * | | | merge trunksebres2017-03-061-11/+13
| | | |\ \ \ \
| | | * \ \ \ \ merge sebres-trunk-timeratesebres2017-02-091-0/+12
| | | |\ \ \ \ \
| | | * | | | | | code review and inline documentationsebres2017-01-101-0/+7
| | | | | | | | |
| | | * | | | | | improve LocalizeFormat, internal caching of localized formats inside msgcat ↵sebres2017-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for locale and format objects smart reference introduced in dict (smart pointer with 0 object reference but increase dict-reference, provide changeable locale dict)
| | * | | | | | | back-ported branch sebres_trunk_timerate (new command "timerate" for 8.6)sebres2017-05-091-0/+15
| | |\ \ \ \ \ \ \ | | | | |_|_|/ / / | | | |/| | | | |
| | | * | | | | | merge trunksebres2017-03-061-11/+13
| | | |\ \ \ \ \ \ | | | | |_|/ / / / | | | |/| | / / / | | | | | |/ / / | | | | |/| | |
| | | * | | | | [win] accomplished winTime module using very fast wide clicks, with ↵sebres2017-02-091-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | denominator scale to/from microseconds, and therefore more precise "timerate" results under windows (using similar mechanisms as by Mac OSX). Especially multi-threaded, because it works without lock opposite to microseconds (that use crictical section, because of the calibration thread). The reason for usage of wide clicks instead microseconds explains following example (shows 20% performance deference): % timerate -calibrate {} % timerate {clock microseconds} 5000 0.297037 µs/# 14465901 # 3366585 #/sec 4296.906 nett-ms % timerate {clock clicks} 5000 0.247797 µs/# 16869084 # 4035554 #/sec 4180.116 nett-ms
| | | * | | | | [timerate] bug fix: missing scale conversion by Mac OSX on platform where ↵sebres2017-02-091-0/+16
| | | | |/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | high resolution clicks are not microseconds based; [win] use high resolution timer for the wide clicks and microseconds directly, prevent several forwards/backwards conversions; [win, unix, mac-osx] normalize some functions for common usage in different time units (clicks, micro- and nanoseconds)
| | | * | | | missing entry of tclInt.h addedsebres2017-01-091-0/+3
| | | | | | |
* | | | | | | merge core-8-6-branchaspect2017-05-191-3/+3
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | / / | |_|_|_|/ / |/| | | | |
| * | | | | fix build failure with TCL_MEM_DEBUG introduced by [8b717dc06a3e3d49]aspect2017-05-191-3/+3
| |/ / / /
* | | | | merge core-8-6-branchjan.nijtmans2017-05-091-29/+29
|\ \ \ \ \ | |/ / / /
| * | | | Let local variables declared from within macro's always start with ↵jan.nijtmans2017-05-091-29/+29
| | | | | | | | | | | | | | | | | | | | underscore, this fixes some gcc warnings with -Wshadow.
* | | | | [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-271-2/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | zlib channel transform.
| * | | | A better way of getting source file location information when disassembling.dkf2017-04-221-2/+3
| | | | |
* | | | | Remove unused functions like TclWinSetSockOpt()/Tcl_DStringTrunc() if ↵jan.nijtmans2017-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | compiled with -DTCL_NO_DEPRECATED
* | | | | Remove some unnecessary "struct" definitions and some type casts no longer ↵jan.nijtmans2017-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | necessary. No functional changes.
* | | | | Add TCL_NORETURN attribute to TclpThreadExit() and Tcl_ExitThread()jan.nijtmans2017-03-241-1/+1
| | | | |
* | | | | 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.
* | | | | Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-0/+6
|\ \ \ \ \ | |/ / / / | | | | | | | | | | [clock seconds].
| * | | | Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-0/+6
| | | | | | | | | | | | | | | | | | | | [clock seconds].
* | | | | Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵Kevin B Kenny2017-03-141-4/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | 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-4/+1
| | | | |
* | | | | Eliminate internal use of ↵jan.nijtmans2017-03-131-26/+0
| |_|/ / |/| | | | | | | | | | | TclNewBooleanObj()/TclSetBooleanObj()/TclSetIntObj(). Replace Tcl_DbNewBooleanObj() with trivial macro.
* | | | More internal use of size_t in stead of int, e.g. for epoch'sjan.nijtmans2017-02-151-6/+6
| | | |
* | | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵jan.nijtmans2017-02-031-5/+4
| | | | | | | | | | | | | | | | | | | | 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.
* | | | If TCL_NO_DEPRECATED is defined, remove the "case" statement, and use much ↵jan.nijtmans2017-01-251-0/+2
| | | | | | | | | | | | | | | | less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes.
* | | | Introduce new function TclInitThreadAlloc(), symmetric with ↵notifierjan.nijtmans2017-01-131-0/+1
| |/ / |/| | | | | | | | TclFinalizeThreadAlloc()
* | | TIP [http://www.tcl.tk/cgi-bin/tct/tip/459|459] implementation, but (for ↵jan.nijtmans2017-01-041-0/+5
|\ \ \ | | | | | | | | | | | | now) without the "source -nopkg" part.
| * \ \ Bring back stub table in original state.jan.nijtmans2016-12-081-2/+6
| |\ \ \ | | | | | | | | | | Merge trunk
| * | | | Complete implementation, tests and documentationjan.nijtmans2016-11-281-0/+1
| | | | |
| * | | | Starting implementing the "package files" command. TIP still to be written.jan.nijtmans2016-11-241-0/+1
| | | | |