summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | * | | | | | | | | | | | | | | | | | | tclUtil.c: Use TclUtfToUniChar() in stead of handling ASCII characters ↵jan.nijtmans2017-06-082-36/+13
| | | | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | separately: This macro already does that. Add new test-case for Tcl_NumUtfChars(), for a knownBug still to be fixed.
| | * | | | | | | | | | | | | | | | | | | | When possible delay string rep generation until necessary.dgp2017-06-081-10/+46
| | |/ / / / / / / / / / / / / / / / / / /
| | * | | | | | | | | | | | | | | | | | | merge core-8-6-branchjan.nijtmans2017-06-073-18/+16
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / / / /
| | | * | | | | | | | | | | | | | | | | | Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵jan.nijtmans2017-06-073-22/+19
| | | | |/ / / / / / / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplifications/optimizations. No functional change.
| | * | | | | | | | | | | | | | | | | | [716b427f76] Optimize TclStringCatObjv when only one non-empty argument.dgp2017-06-062-56/+56
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | | A few more tweaks to streamline and clarify.bug_716b427f76dgp2017-06-061-13/+17
| | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | makes TclStringCatObjv safe accepting objc = 0 (or 1), then fast exits with ↵sebres2017-06-061-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new object / first; check-cycles rewritten to be still more faster.
| | | * | | | | | | | | | | | | | | | | | amend to [eac4656f1e8cf793] (moved to scope where numChars != 0 in Unicode case)sebres2017-06-061-3/+3
| | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | small code review: don't need to check length if unchanged + the same case ↵sebres2017-06-061-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if 0 length
| | | * | | | | | | | | | | | | | | | | | Optimize TclStringCatObjv() for case when only one argument is non-empty.dgp2017-06-051-8/+22
| | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | Revert performance optimization as first step to providing a refactored one.dgp2017-06-051-24/+1
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | merge core-8-6-branchjan.nijtmans2017-06-061-18/+18
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / / / / | | |/| / / / / / / / / / / / / / / / / / | | | |/ / / / / / / / / / / / / / / / /
| | | * | | | | | | | | | | | | | | | | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵jan.nijtmans2017-06-061-18/+18
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | / | | | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | | |/| | | | | | | | | | | | | | | in character tests, comment fixes. No change in functionality.
| | | | * | | | | | | | | | | | | | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵jan.nijtmans2017-06-061-75/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | documented.
| | * | | | | | | | | | | | | | | | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵dgp2017-06-051-3/+9
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | documented.
| | | * | | | | | | | | | | | | | | | merge core-8-6-branchbug_67aa9a2070jan.nijtmans2017-06-021-10/+8
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-06-021-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UTF-8 can inject unexpected characters
| | * | | | | | | | | | | | | | | | | | merge core-8-6-branchjan.nijtmans2017-06-022-11/+8
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | Change refCount field in DictObj from int to size_t. Cherry-picked from ↵jan.nijtmans2017-06-021-10/+8
| | | |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch.
| | * | | | | | | | | | | | | | | | | Merge core-8-6-branch. This removes the work currently being done in ↵jan.nijtmans2017-06-0214-7472/+740
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "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.
| | * | | | | | | | | | | | | | | | | Fix [83a3d869722fab9caaae3b6728215fb2507a6f0d|83a3d86972]: tclEpollNotfy.c ↵jan.nijtmans2017-05-311-5733/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fails to compile on Linux 2.6.<22 due to unconditionally including <sys/eventfd.h> Also re-generate regc_locale.c with Unicode 10 tables: previous generation went horribly wrong somehow...
| | * | | | | | | | | | | | | | | | | merge core-8-6-branchjan.nijtmans2017-05-311-3/+9
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-05-311-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UTF-8 can inject unexpected characters
| | * | | | | | | | | | | | | | | | | | merge core-8-6-branch (except: the "timerate" command and the clock ↵jan.nijtmans2017-05-3112-258/+257
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | performance-tests are kept)
| | | * | | | | | | | | | | | | | | | | More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, ↵jan.nijtmans2017-05-3110-246/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | preventing a (char *) type case. No functional changes.
| | | * | | | | | | | | | | | | | | | | Remove "timerate" functionality: this definitely needs a TIP. Also undo ↵jan.nijtmans2017-05-313-351/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes in library/reg/pkgIndex.tcl, which are unrelated to clock functionality
| | * | | | | | | | | | | | | | | | | | performance of INST_STR_CONCAT1: closes ↵sebres2017-05-311-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [716b427f76f8f97a8d9a06043903c53bb2b592c2]: minor optimization in simplest cases, fixed performance regression of TclStringCatObjv usage from [fc9ed1e751180816384d569101950c1f8c4582ad], optimizes patterns like "$v[unset v]", "$v[set v {}]" etc.
| | * | | | | | | | | | | | | | | | | | merge core-8-6-branch (resolves warnings)sebres2017-05-304-10/+10
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / / /
| | | * | | | | | | | | | | | | | | | | small code review: resolves several warning on some compilerssebres2017-05-304-10/+10
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | *-. \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 3-way merge sebres-trunk-clock-speedup / core-8-6-branch (clock speed-up / ↵sebres2017-05-2913-733/+7463
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flightaware Tcl-bounties#4, see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | | | * | | | | | | | | | | | | | | | | merge sebres-8-6-clock-speedupsebres_trunk_clock_speedupsebres2017-05-292-9/+11
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge sebres-8-6-clock-speedupsebres2017-05-151-5/+7
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge sebres-8-6-clock-speedupsebres2017-05-111-5/+5
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | *-. \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ reintegrate sebres-8-6-clock-speedup back to sebres-clock-speedup (trunk ↵sebres2017-05-1148-818/+1738
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clock-speedup, 3-way merge)
| | | | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge trunk (to sebres-trunk-timerate)sebres2017-05-1144-744/+1640
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge sebres-8-6-clock-speedup (clock speed-up / flightaware Tcl-bounties#4, ↵sebres2017-05-2914-745/+7490
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | |_|_|_|_|_|/ / / / / / / / / / / / / / / / / | | | | |/| | | | | | / / / / / / / / / / / / / / / / | | | | |_|_|_|_|_|_|/ / / / / / / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | | | * | | | | | | | | | | | | | | | | | | | | | small amend with forgetten static keyword by optionsebres_8_6_clock_speedupsebres2017-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | optimized special case "-now" of base (by scan or add) or clock value (by ↵sebres2017-05-161-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | format): bypass integer recognition if it looks like option "-now"
| | | | * | | | | | | | | | | | | | | | | | | | | | resolved warnings compiled with gcc, removed unused "MsgCtLitIdxs" (was ↵sebres2017-05-161-4/+1
| | | | | |_|_|_|_|/ / / / / / / / / / / / / / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | moved to tclClock.c)
| | | | * | | | | | | | | | | | | | | | | | | | | Fixed stardate format: be sure positive after decimal point (note: ↵sebres2017-05-121-5/+7
| | | | | |_|_|_|/ / / / / / / / / / / / / / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clock-value can be negative - modulo operation in C has the same sign as dividend)
| | | | * | | | | | | | | | | | | | | | | | | | fixes lost indentation during back-portingsebres2017-05-111-18/+18
| | | | | |/ / / / / / / / / / / / / / / / / / | | | | |/| | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | [clock] tclStrIdxTree extended with possibility to hold client data; also ↵sebres2017-05-113-36/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changed in clock - indices starts with 1 instead of 0, and 0(NULL) instead of -1 used as sign of ambiguous keys.
| | | | * | | | | | | | | | | | | | | | | | | prevents loss of key object if the format object (where key stored) becomes ↵sebres2017-05-111-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changed (loses its internal representation during evals); should avoid possible theoretical segfault there.
| | | | * | | | | | | | | | | | | | | | | | | Added files missing after merge/back-port (rebase with merge point)sebres2017-05-104-0/+4336
| | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | Fixed wrong args message (e.g. "clock format ..." instead of ↵sebres2017-05-101-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "::tcl::clock::format") if failed through compiled ensemble execution.
| | | | * | | | | | | | | | | | | | | | | | | Ensemble "clock" fixed after merge with kbk's clock ensemble solution. All ↵sebres2017-05-102-36/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands (including new) compiled now also in ensemble (implemented without TclMakeEnsemble, because it can be extended via new map entries). Ensemble handling partially cherry-picked from new performance branch (TODO: check temporary "-compile" option can be reverted if it becomes ready/merged).
| | | | * | | | | | | | | | | | | | | | | | | resolving differences between 8.6 and trunk sebres2017-05-101-10/+8
| | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | [interim-merge-commit] back-ported branch sebres-clock-speedup (from trunk ↵sebres2017-05-106-685/+2691
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | |/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to 8.6): tcl-clock functionality rewritten in C.
| | | | | * | | | | | | | | | | | | | | | | | merge sebres-trunk-timeratesebres2017-03-071-0/+7
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | |/ / / / / / / / / / / / / / / / /
| | | | | * | | | | | | | | | | | | | | | | | tclEmptyStringRep -> &tclEmptyStringsebres2017-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | |