summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdMZ.c
Commit message (Collapse)AuthorAgeFilesLines
* merge core-8-6-branchjan.nijtmans2017-08-181-5/+5
|\
| * Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3jan.nijtmans2017-06-081-5/+5
| |
* | typo fixdgp2017-06-231-1/+1
| |
* | Repair compiler warning about uninitialized value.dgp2017-06-231-11/+9
| |
* | merge trunktip_463dgp2017-06-221-1/+1
|\ \
| * \ merge core-8-6-branchjan.nijtmans2017-06-071-1/+1
| |\ \ | | |/
| | * Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵jan.nijtmans2017-06-071-1/+1
| | | | | | | | | | | | simplifications/optimizations. No functional change.
| * | merge core-8-6-branchjan.nijtmans2017-06-021-1/+0
| |\ \ | | |/
| * | Merge core-8-6-branch. This removes the work currently being done in ↵jan.nijtmans2017-06-021-345/+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-11/+11
| |\ \ | | | | | | | | | | | | performance-tests are kept)
| | * | Remove "timerate" functionality: this definitely needs a TIP. Also undo ↵jan.nijtmans2017-05-311-347/+1
| | | | | | | | | | | | | | | | changes in library/reg/pkgIndex.tcl, which are unrelated to clock functionality
| | * | back-ported branch sebres_trunk_timerate (new command "timerate" for 8.6)sebres2017-05-091-1/+347
| | |\ \ | | |/ / | |/| / | | |/
| * | timerate: don't calculate threshold by too few iterations, because sometimes ↵sebres2017-03-071-0/+7
| | | | | | | | | | | | first iteration(s) can be too fast (cached, delayed clean up, etc).
| * | merge trunksebres2017-03-061-3/+27
| |\ \
| * | | [timerate] bug fix: missing scale conversion by Mac OSX on platform where ↵sebres2017-02-091-8/+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)
| * | | resolve warning: enumeration value ‘TMRT_LAST’ not handled in switch ↵sebres2017-02-091-1/+1
| | | | | | | | | | | | | | | | (impossible to handle in switch because of break);
| * | | New performance measurement routine "timerate" in opposition to "time" the ↵sebres2017-01-091-1/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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?
* | | | Add documentation of [regsub -command].dkf2017-02-181-2/+2
| | | |
* | | | Testing for some error cases.dkf2017-02-181-0/+8
| | | |
* | | | Stop problems with representation smashes.dkf2017-02-171-0/+7
| | | |
* | | | Switch to using command prefixes properly. This is quite a bit faster.dkf2017-02-171-17/+46
| | | |
* | | | Proposed implementation of [regsub -command].dkf2017-02-111-6/+76
| |/ / |/| |
* | | Merge trunk. Improve test-case. Bring back "source -nopkg", but only as ↵jan.nijtmans2017-01-051-3/+27
|\ \ \ | |/ / | | | | | | undocumented internal helper for ::tcl::Pkg::source.
* | | In stead of "source -nopkg" use a ::tcl::Pkg::source utility function.jan.nijtmans2017-01-041-25/+3
| | |
* | | Merge trunk. First steps in eliminating "source -nopkg". Some test-cases ↵jan.nijtmans2017-01-041-1/+1
|\ \ \ | |/ / | | | | | | still fail.
| * | Eliminate the internal macro/function TclNewIntObj: In all cases ↵jan.nijtmans2016-12-231-1/+1
| | | | | | | | | | | | TclNewLongObj is just as good.
* | | Bring back stub table in original state.jan.nijtmans2016-12-081-61/+4
|\ \ \ | |/ / | | | Merge trunk
| * | Route all [string repeat] operations through a common implementation.dgp2016-11-301-61/+4
| | | | | | | | | | | | | | | Code that to preserve bytearrays, eliminate unnecessary string rep generation, increase efficiency, and encapsulate access to internal rep details.
* | | Complete implementation, tests and documentationjan.nijtmans2016-11-281-2/+25
| | |
* | | Merge trunk.jan.nijtmans2016-11-251-1/+0
|/ / | | | | Implementation looks complete. Still missing: test-cases and documentation.
* | typosjan.nijtmans2016-11-241-1/+1
| |
* | Route all [string last] operations through a common implementation.dgp2016-11-081-56/+11
| |
* | Implement direct eval [string first] with the refactored engine.dgp2016-11-071-69/+9
| |
* | WIPdgp2016-10-281-1/+2
| |
* | Start bringing all `string cat` operations into one place so it can be codeddgp2016-10-271-9/+8
| | | | | | correctly one time instead of badly multiple times.
* | Use memcmp where possible.dgp2016-10-181-2/+2
| |
* | Update [string map] tests to get illustration of need for pure dictdgp2016-10-071-1/+1
|/ | | restriction up to date with ordered dicts.
* Simplify all the Tcl_NRPostProc declarations.dgp2016-07-061-8/+4
|
* Align comment. Remove some end-of-line spacing. No functional changes.jan.nijtmans2015-09-281-2/+2
|\
| * Fix more corner-cases like ↵jan.nijtmans2014-05-011-6/+6
| | | | | | | | [0e92c404f19ede5b2eb06e6db27647d3138cc56|0e92c404f1]: The only place where a type of &tclByteArrayType can be trusted is when determining its length, because the character length of a (UTF-8) string is always equal to the byte length of the byte array.
| * Better (safer) fix for [0e92c404f1]jan.nijtmans2014-04-301-1/+1
| |
* | More optimized non-BC [string cat] using Tcl_AppendObjToObj() - thx Donalferrieux2014-08-051-31/+14
| |
* | TIP 429 Implementation: [string cat]ferrieux2014-08-021-0/+71
| |
* | [f0f876c141] Improve consistency in error messages.dkf2014-06-171-7/+9
| |
* | add compilation of [string is]dkf2014-02-021-1/+1
|\ \
| * \ merge main working branchdkf2014-01-021-34/+1
| |\ \
| * \ \ merge main working branchdkf2013-12-301-16/+19
| |\ \ \
| * \ \ \ merge main dev branchdkf2012-11-051-5/+28
| |\ \ \ \
| * | | | | Work on compilation of [string is].dkf2012-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hit some problem edge cases with differences in strictness of edge cases that will force a rethink ([string is boolean] is significantly more strict than Tcl_GetBooleanFromObj).
* | | | | | Make DEFAULT_TRIM_SET a MODULE_SCOPE string constant, so its value can be ↵jan.nijtmans2014-01-081-6/+39
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | shared in tclCmdMZ.o and TclCompCmdsSZ.o and it no longer pollutes the tclStringTrim.h header file.