summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate usage of mp_isneg(), just check bignum->sign directly (as ↵jan.nijtmans2019-03-151-4/+4
| | | | | libtommath itself does) Make TclInitBugnumFromLong() a static function in stubtable only, as it isn't used by Tcl anymore.
* part of [db95e7a61e] reverted for consistency reasons: unsupported namespace ↵sebres2019-03-061-0/+7
| | | | is exported in previous versions (so this is more compatible to 8.5/8.6).
* timerate is supported in 8.7sebres2019-03-051-13/+0
|
* merge 8.6 (TIP#527, New measurement facilities in TCL: New command timerate, ↵sebres2019-03-051-7/+21
|\ | | | | | | performance test suite)
| * merge updated 8.5-timerate branchsebres2019-03-051-7/+20
| |\
| | * regarding the TIP#527, `timerate` shall be placed into `::tcl::unsupported` ↵sebres2019-03-051-7/+20
| | | | | | | | | | | | in versions prior to 8.7
| | * merge 8.5 (note: to avoid too many conflicts, merged using `fossil merge ↵sergey.brester2019-02-121-62/+104
| | |\ | | | | | | | | | | | | --baseline 0055a16a8b core-8-5-branch`)
| | * \ back-ported branch sebres-8-6-timerate (new command "timerate" for 8.5)sebres2017-05-161-0/+1
| | |\ \
| * | \ \ merge 8.6(.9), conflicts resolvedsergey.brester2019-02-071-120/+187
| |\ \ \ \ | | |_|/ / | |/| | |
| * | | | back-ported branch sebres_trunk_timerate (new command "timerate" for 8.6)sebres2017-05-091-0/+1
| |\ \ \ \
* | | | | | Various tommath/numeric related optimizations:jan.nijtmans2019-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Remove the DD_STEEL formatter: it isn't used anywhere in Tcl, and not recommended. - Remove double limit-checks, which are already done inside mp_to_unsigned_bin_n()
* | | | | | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | | | | | New internal macro TclHasIntRep() to re-encapsulate the typePtr field.dgp2019-02-251-1/+1
| | | | | |
* | | | | | New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. jan.nijtmans2019-01-281-8/+8
| | | | | | | | | | | | | | | | | | But ... don't use this function when the result is only compared to NULL: that's just overkill.
* | | | | | If compiled with -DTCL_NO_DEPRECATED, remove ↵jan.nijtmans2018-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_NewIntObj/Tcl_NewLongObj/Tcl_DbNewLongObj from stub table, as they will be gone in 9.0 (converted to a macro) Use Tcl_WideInt's directly in more places, diminishing the possibility of inadvent overflow.
* | | | | | Better use of Tcl_WideInt in stead of long, sometimesjan.nijtmans2018-12-111-11/+11
| | | | | |
* | | | | | Implement TIP 523dkf2018-11-061-0/+1
|\ \ \ \ \ \
| * | | | | | Implement TIP 523, New lpop commandpspjuth2018-10-221-0/+1
| | | | | | |
* | | | | | | merge 8.7dgp2018-10-181-86/+272
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Turn [zipfs tcl_library] into more internal [tcl::zipfs::tcl_library_init]. ↵dkf2018-10-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It wasn't documented and isn't very useful outside of Tcl's startup code.
| * | | | | | TIP #514 implementation: Platform differences in handling int/widejan.nijtmans2018-10-081-25/+5
| |\ \ \ \ \ \
| | * \ \ \ \ \ Merge 8.7jan.nijtmans2018-09-271-1/+98
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ merge tip-515 branchjan.nijtmans2018-09-221-2/+2
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ merge tip-515 (which is pre-requisite for this TIP now)jan.nijtmans2018-09-221-0/+3
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | TCL_NUMBER_WIDE -> TCL_NUMBER_INT. Two test-cases still failingjan.nijtmans2018-09-081-2/+2
| | | | | | | | | | |
| | * | | | | | | | | Merge TIP-515 branch, so part of the corrections in the TIP-514 ↵jan.nijtmans2018-09-081-2/+2
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation branch now moved to the TIP-515 implementation.
| | * \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2018-09-051-2/+2
| | |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Now, restore wide(), but make int() the same as entier(). Add new utility ↵jan.nijtmans2018-08-281-40/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function.
| | * | | | | | | | | | | improved reange checking (also for the Tcl 9.0 proposal). Make platform test ↵jan.nijtmans2018-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | platform 32/64-bit independant
| | * | | | | | | | | | | Re-base branch "all-wideint" to core-8-branch. Still WIPjan.nijtmans2018-08-191-44/+3
| | |\ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | Experiment, resolving platform differences at script level. Don't look ...jan.nijtmans2018-08-161-44/+3
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Centralise the de-fanging of standard ensembles in safe interpreters. Doing ↵dkf2018-10-071-2/+156
| | |_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it right once is easier than repeating hacks...
| * | | | | | | | | | | | Restricted the information made available to safe interpreters a bit.dkf2018-09-271-0/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | merge core-8-branchdkf2018-09-271-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / / / / / | | |/| | | | | | | | | |
| | * | | | | | | | | | | Change ULLONG_MAX -> UWIDE_MAX, LLONG_MAX -> WIDE_MAX and LLONG_MIN -> ↵jan.nijtmans2018-09-221-2/+2
| | | |_|_|_|/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WIDE_MIN everywhere, because not all platforms equal Tcl_WideInt type as equal to "long long". This should fix test-cases on platforms where Tcl_WideInt != long long, and have no effect on 'normal' platforms
| * | | | | | | | | | | merge core-8-branchdkf2018-09-211-50/+12
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / /
| | * | | | | | | | | | TIP #430 implementationjan.nijtmans2018-09-121-0/+3
| | |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|/ / / / / / | | |/| | | | | | | | |
| | | * | | | | | | | | Merging changes with 8.7hypnotoad2018-08-141-7/+1
| | | |\ \ \ \ \ \ \ \ \ | | | | | |/ / / / / / / | | | | |/| | | | | | |
| | | * | | | | | | | | merge 8.7dgp2018-05-241-29/+37
| | | |\ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ Merge 8.7; Updated the package manifest by hand; was broken until then.dgp2018-03-151-0/+1
| | | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there's a maintenance knob to turn, that needs to be better known.
| | | * \ \ \ \ \ \ \ \ \ \ merge 8.7dgp2018-03-111-3/+8
| | | |\ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ merge 8.7dgp2018-03-071-29/+20
| | | |\ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ Pulling changes from core-8-branchhypnotoad2018-01-091-6/+7
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ Pulling changes from core-8-branchhypnotoad2017-12-291-1/+1
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Pulling changes from core-8-branchhypnotoad2017-12-161-1/+3
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Pulling changes from core-8-branchhypnotoad2017-12-131-0/+2
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Pulling changes from core-8-branchhypnotoad2017-11-261-66/+154
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Pulling changes from core-8-6-branchhypnotoad2017-11-171-1/+1
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Pulling changes from core-8-branchtne2017-11-071-4/+4
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | | | | Improvements to Tip#430 based on community input. Added a forward ↵hypnotoad2017-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | declaration of TclZipfs_Init. Added TclZipfs_Mount() and TclZifs_Unmount to stubs table.