History of generic/tclCmdMZ.c of f41248f05784051a
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of file generic/tclCmdMZ.c at check-in f41248f05784051a

2026-09-07
14:11
Use TclStackAlloc for more places. Requires interp and right lifetime to be worthwhile... file: [fe1cab9c76] check-in: [5aaa7cb9e1] user: dkf branch: use-stackalloc-more, size: 142140
2026-08-23
11:04
Error string compaction file: [6dfbb8bdf4] check-in: [88c80c8187] user: dkf branch: tip-757, size: 141554
2026-08-09
11:38
Error messages almost all generated via Tcl_PrintfResult family file: [ff1d923689] check-in: [4b4b6ea188] user: dkf branch: tip-757, size: 141557
2026-07-18
08:10
Add Tcl_AppendPrintfToErrorInfo to our set of printers file: [063e13b708] check-in: [a65eb900f8] user: dkf branch: tip-757, size: 142001
2026-07-17
06:50
Use of TIP 757 in many places file: [bec1cf959a] check-in: [2237c55faf] user: dkf branch: tip-757-use, size: 141621
2026-05-28
12:13
Merge 9.0. Formatting file: [e153d71953] check-in: [8e78be4610] user: jan.nijtmans branch: main, size: 142116
2026-05-17
15:06
More indentation/spacing corrections; no behaviour changes file: [8a21b8dfdc] check-in: [7c918d5f96] user: dkf branch: main, size: 142158
2026-05-11
08:09
Clean up places missed file: [a859deba92] check-in: [b12c59c368] user: dkf branch: c11-array-literals, size: 142003
2026-05-10
12:03
Fix merge, apply branch theme in more places file: [aec6ddf068] check-in: [7acb2fbb2b] user: dkf branch: c11-array-literals, size: 142013
2026-05-09
15:06
merge trunk file: [e629adc838] check-in: [eec8f88d37] user: dkf branch: c11-array-literals, size: 142107
10:43
merge trunk file: [0885c28c20] check-in: [38a70f1e88] user: dkf branch: c11-anon-members, size: 142125
2026-04-30
14:52
Fix formatting of function-level comments file: [068311e505] check-in: [3dc5544544] user: dkf branch: main, size: 142155
2026-04-27
20:02
More indentation corrections file: [5ea4ccd0c0] check-in: [c0ab8b0d2c] user: dkf branch: main, size: 142003
2026-03-22
12:57
More whitespace fixes file: [072dac3614] check-in: [c65a7aa504] user: dkf branch: main, size: 142009
2026-02-04
11:35
Rebase to trunk file: [a60380cd1d] check-in: [a2c78ac50d] user: jan.nijtmans branch: tip-748, size: 142012
2026-02-03
22:12
Internally use TclNRAddCallback whenever we know the callback function is defined file: [9e1b0add2e] check-in: [572df39630] user: dkf branch: main, size: 142007
2026-01-26
10:21
Rebase to trunk file: [0c32c46ddb] check-in: [4c28ce8a24] user: jan.nijtmans branch: attemptgetstring, size: 142769
2026-01-20
08:01
Even more Tcl_GetMonotonicTime() usage file: [2f4110c978] check-in: [a9fb386bce] user: jan.nijtmans branch: main, size: 142029
2026-01-12
07:47
Merge trunk file: [9eb877a1fb] check-in: [324255f4a1] user: jan.nijtmans branch: attemptgetstring, size: 142961
2026-01-06
10:34
merge main file: [6a9dda6774] check-in: [80398a116e] user: oehhar branch: tip-723-timer-wall-monotonic, size: 142221
2025-12-29
21:49
Rebase to trunk file: [ab531309e4] check-in: [4bc0680742] user: jan.nijtmans branch: tip-748, size: 142317
2025-12-28
16:19
Fix some indentation of comments file: [6d646b8498] check-in: [870237637e] user: dkf branch: main, size: 142312
2025-12-16
12:19
TIP-723 timer: correct C syntax error in Linux found by CI runner. file: [9987adee96] check-in: [ae92b04a21] user: oehhar branch: tip-723-timer-wall-monotonic, size: 142262
2025-12-15
15:06
merge main and adapt to Tcl_ObjCmdProc2 interface file: [fa0054ab22] check-in: [e1928eabdb] user: oehhar branch: tip-723-timer-wall-monotonic, size: 142263
13:34
Rebase to trunk file: [59c94670e3] check-in: [f69efd5ab6] user: jan.nijtmans branch: attemptgetstring, size: 143093
2025-12-14
15:47
Some more adaptations for small strings. file: [199bbde0e6] check-in: [b949edd94f] user: apnadkarni branch: apn-ss-wip, size: 142347
2025-12-10
20:31
TIP-723 timer: change Tcl_GetMonotonicTime to return a long long value instead of Tcl_Time. No optimizations jet. file: [e940c27313] check-in: [2ea993cf8b] user: oehhar branch: tip-723-timer-wall-monotonic, size: 141870
2025-12-04
17:12
More signature changes to 'bool' file: [c22b9ce618] check-in: [4aeb62cdab] user: jan.nijtmans branch: tip-748, size: 141965
2025-12-01
14:22
Merge main file: [b626772915] check-in: [a0530cd9a7] user: oehhar branch: tip-723-timer-wall-monotonic, size: 141978
2025-11-28
08:46
Rebase to trunk file: [68c742029b] check-in: [821ab78290] user: jan.nijtmans branch: attemptgetstring, size: 142700
2025-11-23
20:43
Use _Generic() to select function type file: [839cc1cd19] check-in: [c4f087760d] user: jan.nijtmans branch: tip-626, size: 142348
2025-11-19
14:21
bugfixing ... file: [199f8bbc61] check-in: [2c7a9b0997] user: jan.nijtmans branch: tip-615, size: 143357
2025-11-18
17:15
Work in progress: adding restrict to OUT arguments file: [d0048bd0bc] check-in: [f9725400dd] user: dkf branch: c11-restrict, size: 142014
2025-11-17
21:15
2 bugfixes, more testcases file: [79fc07d2f0] check-in: [48b847c877] user: jan.nijtmans branch: tip-615, size: 143242
16:45
merge trunk file: [ad72477ce9] check-in: [fdcff3b256] user: dkf branch: c11-varargs-nr-add-callback, size: 141915
09:18
merge trunk file: [5111ec41f4] check-in: [8d7f54a91b] user: dkf branch: c11-automarker, size: 141583
2025-11-16
14:49
merge trunk file: [838820732f] check-in: [99532e9544] user: dkf branch: c11-anon-members, size: 141930
2025-11-15
21:56
merge trunk file: [1333e67440] check-in: [459669e809] user: dkf branch: c-std-update, size: 140459
18:54
TIP 723: advanced to nearly complete implementation on windows. Unfortunately, Test stall, to investigate. file: [c93ce05ff9] check-in: [3b84406110] user: oehhar branch: tip-723-timer-wall-monotonic, size: 142108
2025-11-14
14:23
Merge 9.0. Finish TIP #615 implementation for all commands file: [361ac4ea3e] check-in: [16f49571d6] user: jan.nijtmans branch: tip-615, size: 143242
2025-11-13
20:36
Rebase to trunk file: [76e8afc272] check-in: [c9532e9436] user: jan.nijtmans branch: tip-626, size: 142353
17:06
Rebase to trunk file: [ace34f6794] check-in: [9163ba2a15] user: jan.nijtmans branch: tip-615, size: 143441
2025-10-31
10:21
Rebase to trunk file: [9188c42f16] check-in: [73d0ab0ee2] user: jan.nijtmans branch: tip-615, size: 143571
2025-10-28
12:41
Yet more bools... file: [32dad5eca8] check-in: [0517c8f089] user: dkf branch: c11-bool, size: 142246
2025-10-27
14:35
More booleans file: [9a7d8834db] check-in: [c3432ca23e] user: dkf branch: c11-bool, size: 142233
2025-10-23
15:16
Split off expr substitution parsing in separate function TclParseExprSubst(). Add "interp exprsubst" knob, turning this new feature on and off. Not very well tested yet, but appears to work! file: [318427be38] check-in: [c22335a43d] user: jan.nijtmans branch: tip-672, size: 142221
2025-10-21
18:14
Update tclParse to latest versions. Fix compilation file: [586e2a556f] check-in: [8d5ce89a33] user: jan.nijtmans branch: tip-672, size: 142209
15:01
Start implementing 'subst -noexpr' file: [56bb5756b5] check-in: [c350347e54] user: jan.nijtmans branch: tip-672, size: 142189
2025-10-13
17:04
Rebase to trunk file: [f3c5cc548c] check-in: [644669e6cb] user: jan.nijtmans branch: attemptgetstring, size: 142830
15:38
Turn TclNRAddCallback into a varargs macro so we don't need quite so many NULLs file: [5cd991ca48] check-in: [48d37299c0] user: dkf branch: c11-varargs-nr-add-callback, size: 142045
2025-10-12
18:25
Use the array literal (with variable contents) capabilities of C11 file: [5eb151243d] check-in: [599e4e5089] user: dkf branch: c11-array-literals, size: 142042
2025-10-10
14:11
Tranche 3 of adoption of bool file: [112bfe3fb4] check-in: [6e7e183bb2] user: dkf branch: c11-bool, size: 142238
2025-10-07
14:02
Tranche 2 of adoption of bool file: [5b2d09e1f2] check-in: [7c0638716d] user: dkf branch: c11-bool, size: 142232
2025-10-06
14:21
Simplify some of the code by using anonymous struct/union members file: [91498687d3] check-in: [87d19e421a] user: dkf branch: c11-anon-members, size: 142060
08:31
Adoption of TclAppendPrintfToErrorInfo file: [a515958ba0] check-in: [e3a772f56c] user: dkf branch: c11-printf-result, size: 141295
2025-10-05
19:26
Tranche 3 of adoption of TclPrintfResult file: [0a9232e531] check-in: [3aa1ace500] user: dkf branch: c11-printf-result, size: 141575
2025-10-04
11:12
Tranche 1 of adoption of TclPrintfResult file: [d6c17dbafb] check-in: [4bd77df23d] user: dkf branch: c11-printf-result, size: 141864
2025-10-03
11:47
Use C11 macros to automatically add a NULL to the end of varargs sequences file: [fa5267e4dc] check-in: [9c524e00d4] user: dkf branch: c11-automarker, size: 141713
2025-09-26
18:53
merge trunk file: [41ac421fe8] check-in: [f0dcb3e615] user: dkf branch: c-std-update, size: 140734
2025-09-25
19:07
merge trunk file: [78746898df] check-in: [1555a1857d] user: dkf branch: internal-ensemble-cleanup, size: 141960
2025-09-23
16:11
Rebase to trunk file: [aa3b71f97b] check-in: [02a7870070] user: jan.nijtmans branch: tip-626, size: 142459
2025-09-22
18:51
Implement TIP 730: switch -integer file: [0264c41e4e] check-in: [4a00305bd5] user: dkf branch: main, size: 142090
2025-09-16
08:04
merge trunk file: [23b58a113f] check-in: [d63cf48838] user: dkf branch: internal-ensemble-cleanup, size: 141322
2025-09-11
19:35
Unneeded header file inclusion. Duplicated -DUTF8PROC_STATIC on command line file: [b03bb7bc61] check-in: [6a06ddd51c] user: jan.nijtmans branch: main, size: 141452
2025-09-09
15:19
simplify file: [9bc9bbb88b] check-in: [d3db61c86b] user: jan.nijtmans branch: attemptgetstring, size: 142230
15:12
Error-message consistancy file: [c20c1ed75a] check-in: [4a0e06ae02] user: jan.nijtmans branch: attemptgetstring, size: 142256
08:30
Start of implementation of [switch -integer] file: [69de800a02] check-in: [48342ad1ca] user: dkf branch: tip730-switch-integer, size: 142124
2025-09-05
07:08
Introduce Tcl_AttemptGetCharLength() file: [e43fa3b382] check-in: [24bb637dd2] user: jan.nijtmans branch: attemptgetstring, size: 142104
2025-09-04
15:01
Rebase to trunk file: [b16d633919] check-in: [42e496eea2] user: jan.nijtmans branch: attemptgetstring, size: 141728
09:52
Rebase to trunk file: [7c4fc85ec9] check-in: [84e8b8343a] user: jan.nijtmans branch: tip-626, size: 141855
08:24
Minor indent fixes file: [7e611a9a02] check-in: [518418cbc3] user: dkf branch: main, size: 141486
2025-09-02
20:04
Rebase to trunk file: [98a0a4ff5c] check-in: [1880179400] user: jan.nijtmans branch: tip-626, size: 141871
14:54
(partial) merge trunk file: [5007147b19] check-in: [70410fe882] user: jan.nijtmans branch: tip-626, size: 138783
2025-09-01
13:53
(partial) merge trunk file: [6d50a4aa7e] check-in: [893e489e6e] user: jan.nijtmans branch: tip-626, size: 138570
2025-08-31
17:16
Merge 9.0. Fix TIP #726 implementation, so all functions give the same answer as Tcl 9.0 for out-of-bound characters file: [8416427c8e] check-in: [cc4f7b61e2] user: jan.nijtmans branch: main, size: 141502
2025-08-27
15:38
Rebase to latest trunk file: [44c5e4bec8] check-in: [6399ade2e2] user: jan.nijtmans branch: attemptgetstring, size: 139334
2025-08-17
11:25
More bools and pieces file: [bd4844032e] check-in: [28a7d957c7] user: dkf branch: c-std-update, size: 137736
2025-08-12
14:14
Yet more booleans file: [fe972164d5] check-in: [98c372af54] user: dkf branch: c-std-update, size: 137748
09:06
More booleans. file: [41f8f182a8] check-in: [8a9080996d] user: dkf branch: c-std-update, size: 138644
2025-08-06
09:25
Start to use the real bool type. file: [0ea3499fb9] check-in: [3dc71d011c] user: dkf branch: c-std-update, size: 138629
2025-08-01
11:48
More moving of variable declarations file: [39d047b3a8] check-in: [1d20e4cf45] user: dkf branch: c-std-update, size: 138607
2025-07-27
00:59
Add C API Tcl_UtfToNormalized file: [ca70e0b5fa] check-in: [b00ff15275] user: apnadkarni branch: tip-726, size: 141493
2025-07-26
06:14
Merge tip-726-plus to eliminate use of tclUniData.c. file: [7ffacb9043] check-in: [0a1c3bc2fb] user: apnadkarni branch: tip-726, size: 141491
05:00
Fix gcc warnings, mingw build and extraneous prototype defs used in debug file: [0e2e05ef82] check-in: [ff495c9305] user: apnadkarni branch: tip-726-plus, size: 153256
2025-07-25
17:55
Remove unicode toXXXX commands as no longer needed for confirming equivalence with string toXXXX file: [ea45d421a9] check-in: [30a02828fc] user: apnadkarni branch: tip-726-plus, size: 153653
17:46
Eliminate use of tclUniData.c file: [d4e741c600] check-in: [1dcc7678c8] user: apnadkarni branch: tip-726-plus, size: 158813
17:34
Implement unicode toXXXX congruent to string toXXXX file: [0e2018a63b] check-in: [369ac8bf18] user: apnadkarni branch: tip-726-plus, size: 158861
15:49
Implement unicode is CLASS to match string is CLASS file: [c021c7ab89] check-in: [7beae32e00] user: apnadkarni branch: tip-726-plus, size: 153676
2025-07-22
17:53
Oops, forgot upper case file: [b93293c422] check-in: [58714ef853] user: apnadkarni branch: tip-726-plus, size: 152126
17:40
Add UCD tests for string is lower,upper. Add ICU and utf8proc API's for the same file: [6496df67a9] check-in: [bbde0ed6d3] user: apnadkarni branch: tip-726-plus, size: 152128
2025-07-19
12:31
More moving of variable declarations file: [12442d015d] check-in: [c149575323] user: dkf branch: c-std-update, size: 138707
2025-07-15
11:41
TIP 726 implementation with tests file: [5c49a2ca5c] check-in: [b0b1bd2680] user: apnadkarni branch: tip-726, size: 141457
2025-07-14
14:58
Use macros to reduce number of explicit marker NULLs file: [972258f7fa] check-in: [2b21439624] user: dkf branch: c-std-update, size: 138721
14:26
TclSetErrorCode lets us avoid writing a lot of marker values file: [51b9b2049c] check-in: [a29f1f8fab] user: dkf branch: c-std-update, size: 138728
08:11
A bunch of small changes building on previous commits file: [5d198226ba] check-in: [1811f74742] user: dkf branch: c-std-update, size: 139066
2025-07-13
07:03
Define TclAppendPrintfToErrorInfo for a related pattern file: [51bd82a58d] check-in: [321d2b5cd3] user: dkf branch: c-std-update, size: 139069
2025-07-12
20:58
Define TclPrintfResult() for common pattern in error generation. file: [35dca4a599] check-in: [70b6205548] user: dkf branch: c-std-update, size: 139131
16:42
[8cd74c5cd2]: 2-argument string toupper/tolower/totitle doesn't work as documented. Either change the documentation, or the implementation. Both are done in this commit (but only one of them should be merged to trunk) file: [9141c0ccd4] check-in: [83bd3ccec5] user: jan.nijtmans branch: bug-8cd74c5cd2, size: 139098
16:03
Start on TIP 726. Add utf8proc to the build system file: [dc095ba2da] check-in: [49fd86f978] user: apnadkarni branch: tip-726, size: 139171
2025-07-11
15:43
Make 'first last' arguments optional for more commands file: [136dbf6e12] check-in: [a3869f215f] user: jan.nijtmans branch: tip-615, size: 140573
13:46
merge trunk file: [8357f5a7bd] check-in: [c43800c51a] user: dkf branch: c-std-update, size: 139619
13:45
Rewrite interpreted [try] to use more efficient internal data model. file: [06461b3ccc] check-in: [9a9b3fc6f8] user: dkf branch: c-std-update, size: 139622
2025-07-10
21:12
Clearer declarations of many C arrays; C11 lets the initialisers be expressions file: [b4df3903fe] check-in: [63912394cf] user: dkf branch: c-std-update, size: 138943
20:27
Implementation fully working (but could use some more testcases) file: [62029cf74f] check-in: [5d2f688de1] user: jan.nijtmans branch: tip-615, size: 140402
14:34
Merge trunk file: [cb0e6d8f0e] check-in: [5553660b8a] user: jan.nijtmans branch: tip-615, size: 139673
11:50
Some int -> Tcl_Size modifications, and type-cast changes, which were missed up to now. file: [d0e1ea07db] check-in: [ccf01b5339] user: jan.nijtmans branch: main, size: 139092
08:39
Implement "string is index -strict" file: [ce00a7ce74] check-in: [9e22e67d0f] user: jan.nijtmans branch: tip-615, size: 139676
2025-07-09
19:15
Update to latest 9.1 file: [f2a630c5c0] check-in: [26919f1a9e] user: jan.nijtmans branch: tip-615, size: 139652
2025-06-27
15:01
Cleaning up how we go about declaring some of our ensembles. Work in Progress. file: [2df647ca6f] check-in: [47b870434f] user: dkf branch: internal-ensemble-cleanup, size: 139242
2025-06-20
08:19
Corrections/improvements to use of C standard capabilities; TclNRAddCallback now requires non-NULL callback function, accepts variable number of data arguments file: [0abc5ca8f7] check-in: [0ae4935331] user: dkf branch: c-std-update, size: 139034
2025-06-17
12:27
TIP 712 - Add "positive" options to the subst command file: [137c942282] check-in: [f41248f057] user: max branch: main, size: 139095
2025-06-02
14:18
Backport: Add [[unreachable]] and [[fallthrough]] from C23 (where available) file: [7a3e29769b] check-in: [01eaeaebf1] user: jan.nijtmans branch: core-9-0-branch, size: 138453
2025-05-29
08:13
more unreachable/fallthrough marks file: [0a0db43f01] check-in: [dc49f7f0a3] user: dkf branch: tcl-unreachable, size: 138416
2025-05-27
11:28
Add a TCL_UNREACHABLE macro for marking a code path as never reached Inspired by https://en.cppreference.com/w/c/language/attributes/deprecated file: [5dfad83af0] check-in: [e1684bac3a] user: dkf branch: tcl-unreachable, size: 138407
2025-05-23
09:24
Rebase to trunk file: [0f2710c754] check-in: [db81c145b2] user: jan.nijtmans branch: attemptgetstring, size: 138445
09:03
Clean up indentation and overlong lines file: [0f9724677d] check-in: [71f3f24f7b] user: dkf branch: main, size: 138203
2025-05-21
10:09
Rebase to latest trunk file: [08e8b5a26a] check-in: [d265be08af] user: jan.nijtmans branch: tip-712, size: 138884
2025-05-20
09:28
Rebase to attemptgetstring file: [21921e4fe9] check-in: [70e5788e19] user: jan.nijtmans branch: tip-626, size: 138814
2025-05-15
15:14
New function Tcl_AttemptGetString(). WIP file: [d2f930b6d6] check-in: [68a2b7038d] user: jan.nijtmans branch: attemptgetstring, size: 138447
2025-05-10
14:49
[3328635] Merge main. Only tested on Windows. file: [c17272ad4d] check-in: [6ff6edf427] user: oehhar branch: tkt3328635-posix-monotonic-clock, size: 138223
2025-04-20
17:44
Rebase file: [525d13e4b6] check-in: [c4b6797289] user: jan.nijtmans branch: tip-626, size: 138572
2025-04-19
16:43
Merge trunk. Another round of (harmless) -Wconversion fixes file: [1313bce160] check-in: [9f799357d8] user: jan.nijtmans branch: conversion-warning, size: 138205
2025-03-26
16:33
More C4244 Windows warnings file: [e445afc1f4] check-in: [6938f5b6c3] user: jan.nijtmans branch: tip-626, size: 138602
10:34
More int->Tcl_Size, making command processing 64-bit safe. file: [e66d17492c] check-in: [e5495dc820] user: jan.nijtmans branch: tip-626, size: 138490
2025-03-24
10:51
Remove 2 "> INT_MAX" checks, which are no longer necessary file: [3135b3b6ca] check-in: [1df7224b09] user: jan.nijtmans branch: tip-626, size: 138445
2025-03-04
16:45
Rebase to 9.1 file: [d4c4811ade] check-in: [f3e5cd43bf] user: jan.nijtmans branch: tip-626, size: 138464
16:28
Merge 9.0 file: [ffb2041789] check-in: [ebdb2ce8fe] user: jan.nijtmans branch: main, size: 138235
16:27
Update changes.md file: [040f36a598] check-in: [90ef891146] user: jan.nijtmans branch: core-9-0-branch, size: 138240
2025-03-02
20:50
Merge 9.1 file: [f06fce9c92] check-in: [6f0eac8f6d] user: jan.nijtmans branch: tip-626, size: 138465
15:48
Bunch of whitespace basic fixes. file: [bdaa20f399] check-in: [809d595b56] user: dkf branch: main, size: 138236
2025-02-20
21:36
Merge 9.1. dde -> 1.5a0 file: [1787e27be1] check-in: [25fb7c50d2] user: jan.nijtmans branch: tip-626, size: 138470
2025-02-10
10:53
merge main & tip-712, optimize TclSubstOptions; now the order of options doesn't affect result (negative wins over positive) file: [36a5bfe2c9] check-in: [e6deb2b5a5] user: sebres branch: tip-712--subst-allow-mix-opt, size: 138877
10:24
simplify detection of combination for positive and negative options file: [e85d2b1da4] check-in: [240c763773] user: sebres branch: tip-712, size: 138920
2025-02-08
16:10
merge trunk (optimized TclSubstOptions, etc); reorganizes options (almost alphanumeric, positive group first); optimizes TclSubstOptions - reducing the branch misprediction, etc file: [ee779d7e55] check-in: [21b1ad8e5a] user: sebres branch: tip-712, size: 138884
15:54
merge 8.7 (optimization of TclSubstOptions) file: [5f63ddd72f] check-in: [88a9cc67b6] user: sebres branch: main, size: 138241
15:52
merge 8.6 (optimization of TclSubstOptions) file: [e7c6c81672] check-in: [b32100901b] user: sebres branch: core-8-branch, size: 139263
15:49
simplify and optimize TclSubstOptions (reducing the branch misprediction etc) file: [597a6d2f0f] check-in: [7a3b47fb37] user: sebres branch: core-8-6-branch, size: 143022
2025-02-05
18:09
allow mixing positive/negative switches, following TIP 323 (Do Nothing Gracefully) file: [7e956cb4d1] check-in: [7ccc8d1075] user: sebres branch: tip-712--subst-allow-mix-opt, size: 138689
2025-02-04
18:06
subst: Fix segfault when mixing positive and negative options and add a test case for it. file: [cf19467011] check-in: [cdd1265d56] user: max branch: tip-712, size: 139217
12:29
TclSubstOptions: Optimize the positive/negative detection logic (thanks, Rolf). Other minor refinements. file: [2fca0ed8df] check-in: [f058702e41] user: max branch: tip-712, size: 139197
2025-01-31
14:47
Initial reference implementation of TIP 712 (Add "positive" options to the subst command) with code, documentation and tests. file: [f485603b5a] check-in: [5d32279001] user: max branch: tip-712, size: 139321
13:38
Merge 9.1 file: [5fcba88742] check-in: [6f12047185] user: jan.nijtmans branch: tip-626, size: 138710
2025-01-24
09:40
More WS... file: [b184d60b4b] check-in: [0e28e62952] user: dkf branch: whitespace-fix, size: 136395
2025-01-23
12:38
merge 8.7 (timerate stability fix: no hang by iterations with quadratic complexity, better threshold calculation agorithm, predicting duration of next iterations) file: [4028562d0c] check-in: [3dad298082] user: sebres branch: main, size: 138481
12:36
merge 8.6 (timerate stability fix: no hang by iterations with quadratic complexity, better threshold calculation agorithm, predicting duration of next iterations) file: [057092642c] check-in: [c96e4ca5c0] user: sebres branch: core-8-branch, size: 139503
12:20
TclWideMUInt may be signed on some platforms, back to WIDE_MAX for default max count (9e18 is anyway large enough) file: [5ea9aa9c02] check-in: [ce034989e2] user: sebres branch: core-8-6-branch, size: 143268
12:13
TclWideMUInt may be signed on some platforms, back to WIDE_MAX for default max count (9e18 is anyway large enough) file: [be95517078] check-in: [80cab99157] user: sebres branch: core-8-5-branch, size: 118684
2025-01-22
17:34
merge timerate fix: avoids drastic growth of execution time on iteration with quadratic complexity, O(n**2) etc file: [d0bcb112d1] check-in: [cc95459d85] user: sebres branch: core-8-6-branch, size: 143269
17:24
fixes timerate command (avoids drastic growth of execution time on iteration with quadratic complexity, O(n**2) etc) file: [18eaa7f176] check-in: [d7c4578e96] user: sebres branch: core-8-5-branch, size: 118685
2025-01-21
16:13
may fix [48a7a56dda] in the form that -overhead 0 is not expected anymore to estimate the overhead in calibrated timerate file: [653d171501] check-in: [98b8512f2f] user: sebres branch: fix-48a7a56dda-timerate-overhead-with-calibrate, size: 116598
2025-01-20
14:39
Fixes for many many whitespace infelicities file: [ba728462e3] check-in: [ba7d219e65] user: dkf branch: whitespace-fix, size: 136400
2025-01-13
09:59
More macros for measuring literals at compile time, and a shortcut for adding to error info file: [31565767a6] check-in: [43e1c33e9e] user: dkf branch: dkf-c11-features, size: 135483
2025-01-10
13:01
Add TclPrintfResult() for easy error message generation file: [c4fbd365c7] check-in: [665eb99f69] user: dkf branch: dkf-c11-features, size: 135536
2025-01-09
09:30
TclSetErrorCode is a macro to end-mark Tcl_SetErrorCode file: [21f1b253b7] check-in: [0e84f9c9df] user: dkf branch: dkf-c11-features, size: 135994
2025-01-08
15:25
Switch over Tcl_NRAddCallback to TclNRAddCallback in a bunch of places that should have already been using it. file: [389a82e33a] check-in: [5129927198] user: dkf branch: dkf-c11-features, size: 136362
15:02
Use C11 features, especially variadic macros. file: [7c00ee2a70] check-in: [38f3728d9a] user: dkf branch: dkf-c11-features, size: 136400
2024-09-03
08:56
Add "Ptr" suffix to Tcl_ObjType pointers, and fix one spot where the address of the pointer was used instead of the pointer. file: [907caef4d2] check-in: [79838d0b45] user: pooryorick branch: unchained, size: 137130
2024-08-30
20:45
Merge [d78abb141c92e42a]: Use TclStringCmp() instead of strcmp() to compare Tcl_Obj values. file: [5260253edd] check-in: [16e6aa9637] user: pooryorick branch: unchained, size: 137112
2024-08-29
08:23
Merge [f6c559b364487a9d]: Space before tab is an extremely unlikely to be correct indentation pattern. file: [05284197ff] check-in: [8a11a89576] user: pooryorick branch: unchained, size: 137112
2024-08-28
22:08
Merge [b0caf377fc292002]: Another round of sentinel improvements. file: [ea118dea74] check-in: [f34f26f893] user: pooryorick branch: unchained, size: 137120
21:41
Merge [735641d5cb93cd80]: More C functions for working with dicts [656fe3c816]. file: [5c241b8693] check-in: [5e25f5c971] user: pooryorick branch: unchained, size: 137120
16:33
Merge [3a60363aa10ef993]: Clean up a lot of whitespace issues. file: [4df79365a0] check-in: [627781a6db] user: pooryorick branch: unchained, size: 137356
2024-08-26
22:10
Merge [364a550ce5768b4f]: Undo the encodingPtr -> encodingNamePtr change. file: [96df3ff380] check-in: [de64c552c7] user: pooryorick branch: unchained, size: 137351
11:01
Merge [9b8a66aff6923a69]: Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!). file: [97d8e2be34] check-in: [9f27ea7880] user: pooryorick branch: unchained, size: 137347
09:45
Merge [1fbff64078d7fb02]: Fix indentation/brace usage style issues. file: [a0e8753556] check-in: [bd3faf4a67] user: pooryorick branch: unchained, size: 137351
2024-08-25
20:44
Merge [63d442cdc0d0d498]: "Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too." Also remove TclListObjGetElements and TclListObjLength from the stubs table. file: [17210df3df] check-in: [891803cf8c] user: pooryorick branch: unchained, size: 137353
12:24
Merge [ca14b3054d49c1f4]: TIP #652. file: [48f66bf1c5] check-in: [cc54f1c099] user: pooryorick branch: unchained, size: 137367
05:36
Merge [c83fa73b65ca3849]: Fix [abd489a1c]: TclStringCmp() calls functions through pointer to incorrect type. file: [7d776d7795] check-in: [c9ab508174] user: pooryorick branch: unchained, size: 137459
2024-08-23
14:43
Merge [b7e48b4f00d8e784]: Revise macro usage. file: [9b7e66d74c] check-in: [9308ee47da] user: pooryorick branch: unchained, size: 137461
14:00
Merge [252948ef015ff03e]: Fix binary/format/string testcase failures on 32-bit platforms. Reported by Harald Oehlmann. file: [1e0cf2e361] check-in: [b66f7a1859] user: pooryorick branch: unchained, size: 137400
2024-08-22
20:52
Merge [f67f60d202716adf]: Fix [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usage; Handle any C++-compiler as well. file: [faa1976940] check-in: [e18c9ab9f6] user: pooryorick branch: unchained, size: 137165
10:53
Merge [26edba2039d2b587], Make TclStringCmpOpts() static. file: [2d5c6e413c] check-in: [c86c2fd47b] user: pooryorick branch: unchained, size: 136989
2024-08-18
02:26
Merge [336125e9e807df1c], A bunch of 64 bit fixes (int->Tcl_Size) and the like.Merge [336125e9e807df1c], A bunch of 64 bit fixes (int->Tcl_Size) and the like. file: [370e759b71] check-in: [cee62ab600] user: pooryorick branch: unchained, size: 136865
00:11
Merge [ae23b0ea9611d93a], "Fix bug [c25d2cd3e6], as well as memory leaks in lsearch and concat." Add "IsEmpty" to string interface API. Use API to create ObjectInterface structures instead of literal struct code segments. file: [43a9f15b96] check-in: [0a30282ca7] user: pooryorick branch: unchained, size: 136826
2024-08-17
22:51
Merge 9.0 file: [5f4dfac3f7] check-in: [0a52011e47] user: jan.nijtmans branch: tip-626, size: 136652
2024-08-05
22:44
Missed some backports from 9.0. Some indenting file: [c6aff7ee0f] check-in: [41996582d5] user: jan.nijtmans branch: core-8-branch, size: 137445
14:12
Use TclStringCmp() instead of strcmp() to compare Tcl_Obj values file: [2130262ae9] check-in: [d78abb141c] user: dkf branch: main, size: 136423
2024-07-20
15:59
Merge trunk [91c2f411e7e71552], TIP #636 (tip-636-tcl9-644), resolve all conflicts including those resulting from conflicting Tcl_Obj interface implementations, and relicense under GNU Affero General Public License. All tests pass. file: [64bf0a9612] check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 136839
2024-06-07
11:31
Merge 9.0 file: [91a62797ab] check-in: [84ae5008cc] user: jan.nijtmans branch: tip-626, size: 136652
2024-06-04
15:35
Space before tab is an extremely unlikely to be correct indentation pattern file: [a3bb50bd29] check-in: [f6c559b364] user: dkf branch: main, size: 136423
2024-05-29
19:14
Another round of sentinel fixes for 8.6, NULL -> (char *)NULL file: [397b3876ba] check-in: [4a1e38600e] user: jan.nijtmans branch: core-8-6-branch, size: 141211
2024-05-27
21:15
Merge 8.7 file: [2c4b49774d] check-in: [b0caf377fc] user: jan.nijtmans branch: main, size: 136431
21:04
Another round of sentinel improvements file: [f775a72424] check-in: [a688bb7213] user: jan.nijtmans branch: core-8-branch, size: 137434
2024-05-26
14:09
Merge 8.7 file: [c3923845a0] check-in: [735641d5cb] user: dkf branch: main, size: 136431
13:19
merge 8.6 file: [3900b359ce] check-in: [9e8cd97a2b] user: dkf branch: core-8-branch, size: 137434
2024-05-25
11:31
Use the new operations file: [78c42b01bd] check-in: [a3435c30a3] user: dkf branch: more-dict-c-funcs, size: 141203
2024-05-23
08:53
More trickery with macros file: [db35d89b0e] check-in: [a3f9c1bec2] user: dkf branch: more-macros, size: 136178
2024-05-20
16:38
merge trunk file: [b268bc1e1e] check-in: [3fd88cd4cd] user: dkf branch: result-helpers, size: 136177
2024-05-14
16:06
Add helper macros TclSetResult and TclPrintfResult file: [15609044b4] check-in: [0b65fb9e0c] user: dkf branch: result-helpers, size: 136182
2024-05-13
15:41
Clean up a lot of small whitespace issues This is the dullest commit ever. Sorry. file: [b38709b2a0] check-in: [3a60363aa1] user: dkf branch: main, size: 136672
2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [8b523fd861] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 136666
2024-04-14
14:05
Merge 9.0 file: [f554ba7e74] check-in: [1861587f45] user: jan.nijtmans branch: tip-626, size: 136896
2024-04-10
11:52
Merge 9.0 file: [72d93e8605] check-in: [f4b3e69a07] user: jan.nijtmans branch: tip-691, size: 137097
08:49
Make "-profile tcl8" a 100% dummy option, for maximum compatibility (in case the system encoding is shiftjis or big5) file: [74a527e807] check-in: [40098cbf10] user: jan.nijtmans branch: tip-691-for-8.6, size: 141580
2024-04-08
12:52
(dummy) implementation of TIP #691 for 8.6 file: [642de26097] check-in: [1590f15656] user: jan.nijtmans branch: tip-691-for-8.6, size: 141618
2024-04-05
13:58
Merge 9.0. Change flag names file: [8ca6a783f1] check-in: [8889b0c536] user: jan.nijtmans branch: tip-691, size: 137073
2024-04-04
14:25
Merge 8.7 (undid the encodingPtr -> encodingNamePtr change) file: [c1d339657f] check-in: [364a550ce5] user: jan.nijtmans branch: main, size: 136667
13:32
Merge 8.6 file: [a74a097a74] check-in: [b7e442b293] user: jan.nijtmans branch: core-8-branch, size: 137670
13:06
Backout [0a9ae478ac], as requested file: [62b30c6cb8] check-in: [33bbacee4e] user: jan.nijtmans branch: core-8-6-branch, size: 141322
11:44
Merge 8.6 file: [2c78ba8bd9] check-in: [09cdca236b] user: jan.nijtmans branch: core-8-branch, size: 137654
11:09
Tcl_GetString() -> TclGetString(), for minor speedup. file: [c704c070af] check-in: [0256b2a319] user: jan.nijtmans branch: core-8-6-branch, size: 141310
10:52
encodingName -> encoding (where appropriate) file: [0539735f6f] check-in: [0a9ae478ac] user: jan.nijtmans branch: core-8-6-branch, size: 141136
2024-04-03
20:21
encodingName -> encoding (where appropriate) file: [11cae2b137] check-in: [5b26e92fbb] user: jan.nijtmans branch: tip-691, size: 137073
2024-04-02
20:22
Rebase to 9.0 file: [73bcd7f8f1] check-in: [bdcf3280d6] user: jan.nijtmans branch: tip-691, size: 137093
2024-04-01
20:48
Merge 9.0 file: [4ac3834ae6] check-in: [d4eee66f60] user: jan.nijtmans branch: tip-626, size: 136892
2024-03-22
21:05
Merge 9.0 file: [440d336dc4] check-in: [66dedd5931] user: jan.nijtmans branch: tip-691, size: 137147
20:53
Appears to work better now file: [c4e4ee7735] check-in: [cbb3889233] user: jan.nijtmans branch: tip-691, size: 137173
11:27
More progress (not well tested yet) file: [0643c29332] check-in: [bc7883f663] user: jan.nijtmans branch: tip-691, size: 137073
2024-03-21
13:55
Merge 8.7. Tcl_GetStringFromObj() -> TclGetStringFromObj() (optimization) file: [53c9b4bbe2] check-in: [28e5e230b6] user: jan.nijtmans branch: main, size: 136663
2024-03-20
20:29
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!) file: [c7fb02841a] check-in: [9b8a66aff6] user: jan.nijtmans branch: main, size: 136689
20:09
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!) file: [42fdfa9403] check-in: [3186ba81a2] user: jan.nijtmans branch: core-8-branch, size: 137666
14:27
Merge 9.0 file: [5f92e140d1] check-in: [4271f3b52a] user: jan.nijtmans branch: tip-626, size: 136896
2024-03-19
14:56
Fix indentation/brace usage style issues file: [4b61e7dd7c] check-in: [1fbff64078] user: dkf branch: main, size: 136693
2024-03-13
17:11
Merge 9.0 file: [dd007a19a2] check-in: [a29cf046b8] user: jan.nijtmans branch: tip-626, size: 136924
09:45
Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6 file: [70d795cb6f] check-in: [c575f9dc00] user: jan.nijtmans branch: core-8-branch, size: 137670
2024-03-12
21:24
Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too. file: [3683e6960b] check-in: [63d442cdc0] user: jan.nijtmans branch: main, size: 136695
2024-02-12
12:45
Merge 9.0 file: [2632f5a06f] check-in: [21764a7a92] user: jan.nijtmans branch: tip-626, size: 136938
2024-02-11
22:05
TIP #652 file: [e42ec9fa61] check-in: [2e1b89ace3] user: jan.nijtmans branch: core-8-branch, size: 137684
2024-02-07
14:47
Implementation of TIP 652. file: [484699c900] check-in: [f76bde9ba9] user: pooryorick branch: tip-652, size: 136709
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: [98d7d791f7] check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 136796
2024-01-11
08:07
Few minor implementation fixes (e.g. "transferable" < "true") file: [47faa7b820] check-in: [3457ff04da] user: jan.nijtmans branch: tip-685, size: 137796
2024-01-10
12:41
TIP 685 implementation: rename "string is unicode" to "string is transferable". Also rename underlying C function "Tcl_UniCharIsUnicode" to "Tcl_UniCharIsTransferable". file: [483252acc9] check-in: [5018317bb2] user: oehhar branch: tip-685, size: 137796
2024-01-04
20:59
Merge 9.0 file: [14db9f39dc] check-in: [0da856df54] user: jan.nijtmans branch: tip-626, size: 137030
2023-12-29
23:54
Fix [abd489a1c]: TclStringCmp() calls functions through pointer to incorrect type file: [234962c390] check-in: [c83fa73b65] user: jan.nijtmans branch: main, size: 136801
12:39
Merge 8.6 file: [30129ec009] check-in: [b307c14710] user: jan.nijtmans branch: core-8-branch, size: 137776
2023-11-24
13:28
Merge 9.0 file: [dd452949c3] check-in: [96e43e34f3] user: jan.nijtmans branch: tip-626, size: 137032
2023-11-16
23:21
Revise macro usage file: [ff96c2705a] check-in: [b7e48b4f00] user: jan.nijtmans branch: main, size: 136803
19:26
Fix binary/format/string testcase failures on 32-bit platforms. Reported by Harald Oehlmann. file: [d2434812a5] check-in: [252948ef01] user: jan.nijtmans branch: main, size: 136742
2023-10-22
19:56
Merge 9.0 file: [07d4eeb4c3] check-in: [f107021263] user: jan.nijtmans branch: tip-626, size: 136736
2023-10-19
18:48
Merge 8.7 file: [392a8562bb] check-in: [f67f60d202] user: jan.nijtmans branch: main, size: 136507
2023-10-17
06:02
Handle sentinels for any C++ compiler file: [f02d8931ad] check-in: [6876d1f99a] user: jan.nijtmans branch: bug-26870862f0, size: 137792
2023-10-13
13:27
Proposed fix for [abd489a1c]: TclStringCmp() calls functions through pointer to incorrect type. Modified, swapping the wrapping-order file: [962439fa79] check-in: [6d9d5ac6a7] user: jan.nijtmans branch: bug-abd489a1c, size: 141148
2023-10-10
19:27
More int -> Tcl_Size (backported from 9.0) file: [a29f6b854a] check-in: [e94d0fede9] user: jan.nijtmans branch: core-8-branch, size: 137616
2023-09-27
07:46
Merge 9.0 file: [0f43c61bdd] check-in: [95237a74ce] user: jan.nijtmans branch: tip-626, size: 136560
2023-09-22
20:09
Merge 9.0 file: [0214c458ed] check-in: [804629d14a] user: jan.nijtmans branch: tip-626, size: 136574
2023-09-20
07:23
Fix compilation with CFLAGS=-DTCL_NO_DEPRECATED file: [bc1a4d2998] check-in: [c0fd9e3418] user: jan.nijtmans branch: core-8-branch, size: 137611
2023-09-18
14:45
Merge 8.7. Add testcase file: [4ed6b58831] check-in: [26edba2039] user: jan.nijtmans branch: main, size: 136331
14:37
silence compiler warning about uninitialized variable file: [7cadeb37f0] check-in: [c3171a4b62] user: dgp branch: core-8-branch, size: 137612
14:11
int -> Tcl_Size (where appropriate). Make TclStringCmpOpts() static file: [7476259251] check-in: [ed3800d997] user: jan.nijtmans branch: core-8-branch, size: 137607
2023-09-13
15:19
More type-casts (c++-compatibility) file: [bd29611bcd] check-in: [42c4e352ff] user: jan.nijtmans branch: core-8-6-branch, size: 141232
09:18
Rebase to 9.0 file: [887512595a] check-in: [561988be17] user: jan.nijtmans branch: tip-626, size: 136445
2023-09-12
10:11
Merge 8.7 file: [a6a0bb8f05] check-in: [d24c3420fa] user: jan.nijtmans branch: main, size: 136207
07:45
TIP #665: Remove support for internal utf-16 for Tcl 8.7 (and 9.0) file: [fa20ed87f0] check-in: [f28f0f4b68] user: jan.nijtmans branch: core-8-branch, size: 137022
2023-08-24
15:37
Merge main file: [6227a25c72] check-in: [27410d7b51] user: apnadkarni branch: apn-string-split, size: 135527
2023-07-29
16:42
Rebase to 9.0 file: [3dbde883e2] check-in: [c9b9082483] user: jan.nijtmans branch: tip-626, size: 136594
2023-07-13
20:49
Merge TIP 636. Resolve conflicts. Result shows TclStackFree panic when freeing the compiledLocals. file: [ef5ddbfc0b] check-in: [b9d1bef880] user: dgp branch: dgp-refactor, size: 136341
2023-07-11
16:48
Abstract list type for strings file: [84b570a7b7] check-in: [fbc9c695cc] user: apnadkarni branch: apn-string-split, size: 135488
2023-07-09
14:47
Permit large scripts > INT_MAX. Not complete because compiler source line tracking still limited. file: [f95a1b1cb2] check-in: [f2432558f7] user: apnadkarni branch: apn-fix-scripts64, size: 136356
2023-06-26
07:24
Merge unchained branch [22400aa71b] and resolve conflicts. file: [3333ddbaaf] check-in: [961f58e148] user: pooryorick branch: pyk-objinterface, size: 136454
2023-06-21
07:33
Merge 9.0 file: [fb97adcfc4] check-in: [db89a8f843] user: jan.nijtmans branch: tip-626, size: 136603
2023-06-18
21:30
Merge trunk-encoding-defaultstrict [c499122331]. file: [bec9976633] check-in: [22400aa71b] user: pooryorick branch: unchained, size: 136207
2023-06-06
20:26
merge trunk file: [2996bcdabe] check-in: [e06d17fb2a] user: griffin branch: tip-636-tcl9-644, size: 136317
2023-06-02
15:19
merge trunk file: [661a9ccbc3] check-in: [702e1cdfc7] user: dgp branch: dgp-refactor, size: 136389
13:59
Merge 8.7 file: [33641e7164] check-in: [486d398306] user: jan.nijtmans branch: main, size: 136365
2023-05-19
11:26
Merge "unchained" branch commit [05b72c0b3f] and resolve conflicts. file: [adaff1ea88] check-in: [2840dda8db] user: pooryorick branch: pyk-objinterface, size: 136470
2023-05-02
16:43
Merge 9.0 file: [9f19bfb3de] check-in: [d66ed253e8] user: jan.nijtmans branch: tip-626, size: 136619
2023-05-01
20:28
More progress file: [7afe432d61] check-in: [f3015fa249] user: jan.nijtmans branch: tip-665, size: 137034
19:42
Remove internal use of TCL_UTF_MAX=3 as much as possible, without compromizing existing TIP's file: [58fb9e5669] check-in: [86503e53c7] user: jan.nijtmans branch: tip-665, size: 137037
2023-04-30
23:09
Partial sync-up with trunk. file: [77fa114979] check-in: [82fe864420] user: griffin branch: tip-636-tcl9-644, size: 136333
2023-04-28
19:19
Remove TclUtfToUCS4(), TclUniCharToUCS4(), and TclUCS4Prev(). file: [6b5245b1dd] check-in: [0d4245ab9f] user: pooryorick branch: unchained, size: 136223
17:34
Remove all code related to TCL_UTF_MAX=3. file: [d86a5dc177] check-in: [d0c75e3b88] user: pooryorick branch: unchained, size: 136265
2023-04-24
18:57
merge trunk file: [7266524f8c] check-in: [2fbfe7da2b] user: dgp branch: dgp-refactor, size: 136405
18:47
Merge TIP 660 commit. Resolve enough conflicts to compile. file: [8d9cae4259] check-in: [16ce472043] user: dgp branch: dgp-refactor, size: 136379
16:28
Fix [a814ee5bbd] - string compare/equal -length for long strings file: [190cc7e938] check-in: [e831429a4d] user: apnadkarni branch: main, size: 136381
2023-04-21
13:32
Merge 9.0 file: [499b8e20bf] check-in: [b732c118b6] user: jan.nijtmans branch: tip-626, size: 136593
2023-04-20
16:53
Merge 9.0 file: [16ed46f1d2] check-in: [aa3e7e529f] user: jan.nijtmans branch: tip-626, size: 137149
2023-04-14
15:01
Merge trunk file: [51a682e223] check-in: [e36ab1e9ba] user: apnadkarni branch: tip-660, size: 136355
09:12
Merge 9.0 file: [ca5d1d2f90] check-in: [f041e13465] user: jan.nijtmans branch: tip-626, size: 137063
2023-04-12
14:25
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [dd71236ec9] check-in: [d65da06a77] user: pooryorick branch: main, size: 136913
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [40d34c39e2] check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 137074
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: [a9d4f83f16] check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 140992
2023-04-02
21:49
Merge 9.0. Add some more utility macro's file: [6c7bce118f] check-in: [4bedba476d] user: jan.nijtmans branch: optional-signed-size, size: 136874
2023-03-30
18:01
TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntu file: [bfb7077f4d] check-in: [eb81a25271] user: apnadkarni branch: tip-660, size: 136354
2023-03-27
11:35
More (internal) usage of TclGetString() and TclGetStringFromObj() macro's file: [a4a541d690] check-in: [86bf13933a] user: jan.nijtmans branch: core-8-branch, size: 137073
2023-03-25
00:29
Merge trunk file: [daef229673] check-in: [f6aa53859c] user: griffin branch: tip-636-tcl9-644, size: 136864
2023-03-05
20:46
Merge 9.0 file: [80d7252a6c] check-in: [fef53bf657] user: jan.nijtmans branch: tip-626, size: 137062
19:57
Another round of -1 -> TCL_INDEX_NONE file: [6eac173f61] check-in: [1ad5d08ee8] user: jan.nijtmans branch: main, size: 136912
2023-01-19
15:04
Merge 9.0 file: [2a093f86d0] check-in: [c74698a3cd] user: jan.nijtmans branch: tip-626, size: 136882
2023-01-18
17:06
Merge 8.7 file: [2014456101] check-in: [1ec1783f5d] user: jan.nijtmans branch: main, size: 136732
16:54
Merge 8.6 file: [1f63010a63] check-in: [6dac80a981] user: jan.nijtmans branch: core-8-branch, size: 137075
2023-01-15
19:26
Fix issue [8f7fdea2d], string-2.20.1 fails on big endian, and also fix issues in TclStringCmp when checkEq is 1. file: [cc0c969799] check-in: [9858a68816] user: pooryorick branch: core-8-6-branch, size: 140989
2022-12-01
14:23
Merge 9.0 file: [14bae8b0ac] check-in: [7787a1c006] user: jan.nijtmans branch: tip-626, size: 136882
2022-11-30
10:36
Stop shimmering for "llength". Internal optimization (but using TIP #644) file: [382760a6cd] check-in: [65a5858ae7] user: jan.nijtmans branch: main, size: 136732
2022-11-29
09:53
Merge 9.0 file: [5ed6804716] check-in: [9a47cad54b] user: jan.nijtmans branch: tip-636-tcl9-644, size: 136696
2022-11-28
23:44
Merge 8.7 file: [2c1d1dd531] check-in: [e0ddaec6df] user: jan.nijtmans branch: main, size: 136684
23:16
Reduce shimmering: If a conclusion can be drawn about the number of list elements, don't get the elements before the list length is checked file: [036b1074fe] check-in: [2664970782] user: jan.nijtmans branch: core-8-branch, size: 137075
16:13
Merge 9.0 file: [20736bc16d] check-in: [9ee2792e3b] user: jan.nijtmans branch: tip-636-tcl9-644, size: 136609
2022-11-25
23:38
Merge 9.0 file: [545db962d9] check-in: [117b6812c3] user: jan.nijtmans branch: internal-abstract-list, size: 136645
16:26
Merge 8.7 file: [4ed32fed6e] check-in: [5356f8d107] user: jan.nijtmans branch: main, size: 136597
16:11
Tcl_NewDoubleObj -> TclNewDoubleObj and Tcl_NewWideIntObj -> TclNewIntObj (and similar). Gives more info when debugging file: [8d037d8609] check-in: [c4a4662af3] user: jan.nijtmans branch: core-8-branch, size: 136989
2022-11-24
01:18
Support multiple indicies in abstract list lindex operation. Catch up with trunk. file: [2f3ad3e675] check-in: [cf418732cb] user: griffin branch: tip-636-tcl9-644, size: 136619
2022-11-23
17:04
Internal abstract list, don't let "llength" shimmer any more. file: [c30e7eafd4] check-in: [db554866c9] user: jan.nijtmans branch: internal-abstract-list, size: 136655
2022-11-13
21:46
Merge 9.0 file: [7e9e690d3f] check-in: [f4ff6ec315] user: jan.nijtmans branch: tip-626, size: 136757
2022-11-11
22:26
Fix for Tcl_SetWideUIntObj file: [8e9889235e] check-in: [49dd813cf1] user: jan.nijtmans branch: tip-648, size: 137001
21:51
Merge 8.7 file: [35d4532a31] check-in: [4b1fe64736] user: jan.nijtmans branch: main, size: 136607
2022-11-06
11:19
Rebase TIP #626 to latest 9.0. Change Tcl version number from 9.0 to 9.1a0 file: [dd5e702450] check-in: [efcf7c37fe] user: jan.nijtmans branch: tip-626, size: 136747
2022-11-04
11:11
New functions Tcl_NewWideUIntObj()/Tcl_SetWideUIntObj() (still experimental) file: [b660505f32] check-in: [40bdd7b7bd] user: jan.nijtmans branch: tip-648, size: 137015
2022-11-03
12:26
Bug [0f98bce669]. Fix limits for string replace. file: [a2c10d517d] check-in: [997d8c2052] user: apnadkarni branch: main, size: 136597
2022-11-02
15:56
Bug #0f98bce669 - string repeat support for > 2**31 characters file: [2c19185398] check-in: [adec5fcc5c] user: apnadkarni branch: main, size: 136545
2022-09-26
15:06
Merge 9.0 file: [fe44a45ebe] check-in: [e868215b25] user: jan.nijtmans branch: tip-626, size: 136683
2022-09-24
06:12
merge [trunk] file: [a2a4a363b0] check-in: [89288053a9] user: bch branch: bch_sign_and_width, size: 136744
2022-09-21
17:50
merge [trunk] file: [96b3af4d95] check-in: [ab16261020] user: bch branch: bch_sign_and_width, size: 136653
13:10
Merge 8.7 file: [55affd9ea6] check-in: [c83b5c1986] user: jan.nijtmans branch: main, size: 136533
13:08
Merge 8.6 file: [faf83eeaa1] check-in: [6979bf518d] user: jan.nijtmans branch: core-8-branch, size: 137013
2022-09-20
20:42
Proposed fix for [c0bc269178], with testcase file: [08a73ffaa9] check-in: [ea165f0333] user: jan.nijtmans branch: bug-c0bc269178, size: 140575
2022-09-06
13:57
Merge 8.7 file: [3ba67c87b1] check-in: [91e5b361ec] user: jan.nijtmans branch: bug-45ddcfc3b1, size: 137016
2022-08-14
01:22
Rename command from "range" to "lseq". Remove public C API calls, not part of the TIP. Fix shimmer in [join] command. Implement GetElements call for ArithSeries. file: [e7013f39cb] check-in: [6d9ef1c25a] user: griffin branch: tip-629, size: 136927
2022-07-24
20:04
Fix windows build (invalid '&'). Eliminate end-of-line spacing file: [ddd2a1f546] check-in: [d4725a9969] user: jan.nijtmans branch: tip-629, size: 146837
2022-07-22
19:15
Rewrite argument processing code. All correct and error conditions are handled. Add some new tests and disable some tests that should maybe work. file: [db0fdbd05d] check-in: [d51e8e415e] user: griffin branch: tip-629, size: 146875
2022-07-14
03:23
Remove support for double (real) values. Fix a couple cases of shimmering. Don't update the string rep just to convert an ArithSeries to a List. Manpage update. file: [d1af5ddddd] check-in: [f2cc3b1d88] user: griffin branch: tip-629, size: 142641
01:42
floor() wants math.h *at least* on NetBSD, and appears other *nix too(?) file: [57cfac0b2a] check-in: [1953e58093] user: bch branch: tip-629, size: 145299
01:33
"range", Tcl_RangeObjCmd() to proper compilation unit file: [91b1cbd3fd] check-in: [5220a8151a] user: bch branch: tip-629, size: 145281
2022-07-12
08:20
Code cleanup (use {} in if/else statemenets) file: [3c4d09bf62] check-in: [ba232277ee] user: jan.nijtmans branch: core-8-6-branch, size: 140488
2022-07-05
21:57
Merge 9.0 file: [99f577557e] check-in: [83b4c4aca0] user: jan.nijtmans branch: tip-626, size: 136592
2022-06-09
20:25
Merge 9.0 file: [3659d81c25] check-in: [631cce8656] user: jan.nijtmans branch: tip-619, size: 136442
16:31
Merge 9.0 file: [d14efbc90c] check-in: [475b98506a] user: jan.nijtmans branch: tip-626, size: 136565
07:03
More (internal) int -> size_t, allowing values > 2^31 file: [613ddd94ff] check-in: [5d828b481d] user: jan.nijtmans branch: main, size: 136415
2022-06-08
12:40
Merge 9.0 file: [8871988318] check-in: [2532f27b23] user: jan.nijtmans branch: tip-626, size: 136562
10:23
TIP #616: Tcl lists > 2^31 elements file: [35ecfc6117] check-in: [574358cda4] user: jan.nijtmans branch: main, size: 136412
2022-05-27
21:40
Prevent "switch" crash file: [df1ab1f7f4] check-in: [2a068538e2] user: jan.nijtmans branch: tip-626, size: 136764
09:53
Merge tip-616. Fix 2 crashes. Fix Windows build file: [478422e831] check-in: [05feab5d87] user: jan.nijtmans branch: tip-626, size: 136744
2022-05-25
22:20
Many int-> size_t file: [ef3edb9eb1] check-in: [7062de3ba7] user: jan.nijtmans branch: tip-626, size: 136744
10:26
Add testcases and fix implementation file: [c8fa4bb846] check-in: [4d9158033b] user: jan.nijtmans branch: bug-76ad7aeba3, size: 140803
2022-05-24
12:34
Starting TIP #626 implementation. WIP, far from finished file: [349c96899c] check-in: [16a9e324dd] user: jan.nijtmans branch: tip-626, size: 136619
2022-05-22
17:11
Proposed fix for [76ad7aeba3]: boundary case bug in [string is integer]. Missing: more unit-tests file: [1cb4cb99e3] check-in: [66a187edf2] user: jan.nijtmans branch: bug-76ad7aeba3, size: 140688
2022-05-17
16:27
Merge 9.0 file: [477a7ad7d3] check-in: [bc06da9fc7] user: jan.nijtmans branch: tip-619, size: 136524
13:27
Merge 9.0 file: [50c821d56e] check-in: [e563372259] user: jan.nijtmans branch: tip-616, size: 136614
11:17
Merge 8.7 file: [e9f6796a3b] check-in: [74c6a378ca] user: jan.nijtmans branch: main, size: 136497
09:32
Rename macro's TclListObjGetElements -> TclListObjGetElementsM and TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616) file: [72d127f5af] check-in: [eaf93525a5] user: jan.nijtmans branch: core-8-branch, size: 136926
2022-05-16
07:20
Merge 9.0 file: [71f6d19ba4] check-in: [bb7df394c9] user: jan.nijtmans branch: tip-616, size: 136601
2022-05-15
23:06
merge [trunk] file: [455da11f38] check-in: [ef75766f09] user: bch branch: bch_sign_and_width, size: 136695
2022-04-26
07:26
Merge 9.0 file: [5cf16f3b14] check-in: [cd7b8ec59c] user: jan.nijtmans branch: tip-622, size: 136484
2022-04-20
20:24
merge [trunk] file: [86aa489fda] check-in: [3550542d19] user: bch branch: bch_sign_and_width, size: 136676
14:08
Merge 8.7 file: [616a13b7d2] check-in: [c4c36b2706] user: jan.nijtmans branch: tip-618, size: 136971
2022-04-14
21:01
Merge 9.0 file: [5b32d7a462] check-in: [15bcaf1527] user: jan.nijtmans branch: tip-616, size: 136582
13:17
Merge 9.0 file: [c7e0d2d349] check-in: [118b29f6a7] user: jan.nijtmans branch: tip-619, size: 136492
2022-04-11
11:20
Merge 9.0. Eliminate almost all remaining (enum) casts file: [80d40d965d] check-in: [c07c617c41] user: jan.nijtmans branch: tip-613-usage, size: 136465
2022-04-01
15:28
Start handling 'last' arguments file: [db712a6969] check-in: [544f0f0fc5] user: jan.nijtmans branch: tip-615, size: 137523
13:36
Rebase to Tcl 9.0 file: [84bb3596bf] check-in: [2c8ec3463c] user: jan.nijtmans branch: tip-613-usage, size: 136476
2022-03-25
08:20
Put back Tcl_AppendUnicodeToObj() file: [1bd21560bd] check-in: [b0051f1af1] user: jan.nijtmans branch: tip-622, size: 136632
2022-03-24
13:58
Add TclGetUniChar() to the compatibility set file: [c70ef4feec] check-in: [e75009fecd] user: jan.nijtmans branch: full-utf-for-87, size: 136913
13:18
Fix internal usage of Tcl_GetRange/Tcl_UtfAtIndex file: [30b604137f] check-in: [51e84a3825] user: jan.nijtmans branch: full-utf-for-87, size: 136915
2022-03-16
23:08
Handle Tcl_UtfAtIndex file: [fb2e3d9d3c] check-in: [4d35f48f7c] user: jan.nijtmans branch: full-utf-for-87, size: 136918
22:21
Handle Tcl_GetCharLength file: [db121076ba] check-in: [2cce141084] user: jan.nijtmans branch: full-utf-for-87, size: 136924
2022-03-12
23:21
Start defining "utf32string" type file: [5d936dd56c] check-in: [b46d5c684f] user: jan.nijtmans branch: full-utf-for-87, size: 136935
22:30
More progress file: [3b2c051f68] check-in: [2e24803530] user: jan.nijtmans branch: full-utf-for-87, size: 136954
2022-03-11
22:43
2 more functions file: [6029ee8f42] check-in: [f3580d9f09] user: jan.nijtmans branch: full-utf-for-87, size: 136959
22:11
Handle TclUniCharNcmp() file: [78a12204fd] check-in: [715b107f62] user: jan.nijtmans branch: full-utf-for-87, size: 136961
2022-03-08
22:26
initial work at using signed-storage for cases where values can actually be signed. file: [6d6859d9f2] check-in: [5030ee02cf] user: bch branch: bch_sign_and_width, size: 136824
2022-03-07
11:52
More int -> size_t file: [fa2004fd11] check-in: [f8c76f841a] user: jan.nijtmans branch: tip-616, size: 136730
2022-03-03
13:05
TIP #619 implementation. tests not working yet file: [aac5e66d3a] check-in: [e791d2994c] user: jan.nijtmans branch: tip-619, size: 136640
2022-03-02
16:00
Use TIP #613's Tcl_GetIndexFromObj() to eliminate typecasts which are no longer necessary file: [65e7b9aec1] check-in: [ef3c6d5538] user: jan.nijtmans branch: tip-613-usage, size: 136826
2022-02-22
21:01
TIP #618: New Tcl_GetBool* functions with INDEX_NULL_OK flag file: [2fb837c23c] check-in: [566ab0f509] user: jan.nijtmans branch: tip-618, size: 136963
2022-02-16
14:18
Merge 8.7 file: [ab1a04c9df] check-in: [9c9eb4873b] user: jan.nijtmans branch: tip-615, size: 137254
2022-02-14
21:26
Merge 9.0 file: [bf618fe5b8] check-in: [e71c5544bf] user: jan.nijtmans branch: tip-615-bis, size: 136671
18:10
Merge 8.7 file: [404eee8d19] check-in: [27a9a7d379] user: jan.nijtmans branch: strict-index-experiment, size: 137042
2022-02-10
09:45
Merge 8.7 file: [0efe301540] check-in: [d7e83e77e8] user: jan.nijtmans branch: main, size: 136613
09:37
Merge 8.6 file: [1dd28a7d0e] check-in: [c03b7afd75] user: jan.nijtmans branch: core-8-branch, size: 136963
09:26
Use TclListObjLength/TclListObjGetElements in stead of Tcl_ListObjLength/Tcl_ListObjGetElements everywhere. This is slightly more efficient if the refered list already has the correct type file: [ec5352603e] check-in: [30cd3187fc] user: jan.nijtmans branch: core-8-6-branch, size: 140489
08:42
Same with TclListObjGetElements file: [eba5d9cb45] check-in: [5f2ed67ee3] user: jan.nijtmans branch: tip-616, size: 136698
08:34
Tcl_ListObjLength -> TclListObjLength file: [e2a3b69f1b] check-in: [8186be0b8d] user: jan.nijtmans branch: tip-616, size: 136705
2022-01-31
11:49
Merge 8.7 file: [6be4f9e56f] check-in: [8b1bfefd8e] user: jan.nijtmans branch: tip-615, size: 137264
2022-01-29
00:16
merge [argx_rejig] file: [52cf1d4456] check-in: [f834558929] user: bch branch: mistake, size: 136754
2022-01-27
15:15
More progress file: [9a0b3fcf93] check-in: [22b7c31f21] user: jan.nijtmans branch: tip-616, size: 136711
2022-01-25
09:38
Show reason for TIP #615. Consisancy in return values meaning 'nothing found' file: [46ba075332] check-in: [7aecdb70cb] user: jan.nijtmans branch: tip-615-bis, size: 136681
2022-01-24
15:23
change signature for Tcl_DictObjPutKeyList and Tcl_DictObjRemoveKeyList too file: [be417828d9] check-in: [5673a14bd0] user: jan.nijtmans branch: tip-616, size: 136708
11:53
Tcl Dicts > 2^31 elements too file: [bd62ee1b1a] check-in: [6f6602a104] user: jan.nijtmans branch: tip-616, size: 136626
08:18
TIP #616: Tcl lists > 2^31 elements. WIP file: [4335cb545b] check-in: [ff0a9cf127] user: jan.nijtmans branch: tip-616, size: 136626
2022-01-21
15:56
Merge 8.7 file: [8e078e2fe1] check-in: [1b61155cda] user: jan.nijtmans branch: main, size: 136623
15:15
Merge 8.6 file: [ccd1ffd647] check-in: [2306f87127] user: jan.nijtmans branch: core-8-branch, size: 136973
14:44
Undo part of [26539e78a7]. Although Tcl_GetRange() does it's own parameter check, it's caller doesn't have to do it any more. However, put back these check, better not depend on the improved behavior of Tcl_GetRange (yet). This gives the freedom to bring back Tcl_GetRange() to how it was in Tcl 8.6.10, if desired file: [11d5ad1fa4] check-in: [78bfdd485f] user: jan.nijtmans branch: core-8-6-branch, size: 140497
2022-01-18
23:53
Merge 8.7 file: [84b4ff23c8] check-in: [daff5c453c] user: jan.nijtmans branch: tip-615, size: 137308
16:14
Merge 8.7 file: [e59f310fcc] check-in: [86dd2bcab2] user: jan.nijtmans branch: main, size: 136666
15:52
Merge 8.6 file: [a52515ce82] check-in: [de79810eea] user: jan.nijtmans branch: core-8-branch, size: 137016
14:40
TIP #615: string is index. WIP file: [b8aa2aaff2] check-in: [9077972219] user: jan.nijtmans branch: tip-615, size: 137210
2022-01-17
22:23
Remove all protections in StringRangeCmd(), and switch off compilation of "string range" file: [a35cf6e388] check-in: [756287e16e] user: jan.nijtmans branch: bug-e9a2715d91-investigate, size: 140938
17:26
Possible fix for [e9a2715d91]: Tcl 8.6.11: Incompatible Tcl_GetRange() file: [e5836c36a6] check-in: [ed61de701e] user: jan.nijtmans branch: bug-e9a2715d91, size: 140449
13:37
Merge 8.7 file: [9ccec01b10] check-in: [fe9317ddb0] user: jan.nijtmans branch: main, size: 136618
11:21
Merge 8.6 file: [038531d925] check-in: [636d27ef56] user: jan.nijtmans branch: core-8-branch, size: 136918
10:35
Follow-up to [767e070d35]: Tcl_GetRange and Tcl_GetUniChar do not validate index inputs. Now that Tcl_GetRange() checks its arguments, the callers of this function don't have to do that any more. This also shows a off-by-one error in the Tcl_GetRange() check file: [133db2805d] check-in: [147f3b129a] user: jan.nijtmans branch: core-8-6-branch, size: 140351
2021-12-21
16:18
New macro TclNewIndexObj(). For Tcl 8.7 it's the same as TclNewIntObj(), but in Tcl 9.0 not any more. Merge 8.6 file: [90f9d24213] check-in: [cc79d9889f] user: jan.nijtmans branch: core-8-branch, size: 137033
2021-10-31
22:41
Simplify -matchvar/-indexvar processing of regexp/switch file: [75a5296bb9] check-in: [899b89ec3b] user: jan.nijtmans branch: simpl_matchvar, size: 137481
16:21
Merge 8.7 file: [0d00f3ccae] check-in: [e837834cb3] user: jan.nijtmans branch: strict-index-experiment, size: 137112
2021-10-26
08:54
Merge 9.0 file: [f56536521a] check-in: [62c63b4818] user: jan.nijtmans branch: pyk-objinterface, size: 137004
2021-10-24
15:55
Fix memory errors in lsearch, add the first few string routines to Tcl_ObjType, modify StringIndexCmd to use to use the Tcl_ObjType interface. Valgrind reports no memory errors. file: [4aa6f83b2f] check-in: [cb6b5b14dd] user: pooryorick branch: pyk-objinterface, size: 136954
2021-10-18
15:02
Add the first few string functions to the Tcl_ObjType interface, move function declarations out of tclInt.h. file: [c1ceaed4d4] check-in: [09c4094c6e] user: pooryorick branch: pyk-objinterface, size: 137400
2021-10-08
08:40
Merge 8.7 file: [22f1d6bcdd] check-in: [916029c89c] user: jan.nijtmans branch: main, size: 136704
2021-10-06
19:33
Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing list file: [9844e4c6a2] check-in: [0509fa5750] user: jan.nijtmans branch: internalrep, size: 136993
2021-09-21
08:36
Experiment: Make Tcl_Time a long long in stead of a struct file: [82bd63ae53] check-in: [7d007b4694] user: jan.nijtmans branch: tcl-time-64bit, size: 136502
2021-08-23
10:01
Add FALLTHRU markers, to help GCC emit less false warnings file: [000f40fa10] check-in: [85f10205a7] user: jan.nijtmans branch: core-8-5-branch, size: 116627
2021-07-16
07:02
Merge 8.7 file: [ea51fca9d1] check-in: [5a8fc13f33] user: jan.nijtmans branch: main, size: 136654
06:58
Merge 8.6 file: [f298cd5693] check-in: [6dc87d9af2] user: jan.nijtmans branch: core-8-branch, size: 136943
2021-07-13
07:56
finally -> finallyIndex, preventing conflicts with Tru64 headers (reported by Jay K) file: [c085c8e8da] check-in: [88566e9de6] user: jan.nijtmans branch: core-8-6-branch, size: 140466
2021-04-30
08:49
Merge 8.7. Remove "string bytelength" completely. Also fix some TIP #595 leftover testcases, which were skipped file: [113d02f5cc] check-in: [ef90dfbe67] user: jan.nijtmans branch: main, size: 136629
2021-04-12
09:37
Merge 8.7 file: [0b668f115f] check-in: [77a1a3e4bb] user: jan.nijtmans branch: tip-597, size: 136926
09:30
Merge 8.7 file: [c0619817cd] check-in: [fd66e6e20e] user: jan.nijtmans branch: main, size: 137566
09:26
Fix [7f1162a867]. Don't compile "string cat" any more, since there still is a bug in it, demonstrated by utf-1.18 testcase file: [d01920cb23] check-in: [adfaa5c0d2] user: jan.nijtmans branch: core-8-branch, size: 136706
2021-04-09
15:19
Deprecate/remove "string bytelength" file: [0026155d2f] check-in: [074266ee3b] user: jan.nijtmans branch: tip-597, size: 136918
2021-03-10
15:39
Fix [4c591fa487]: [string compare] EIAS violation file: [9ad452c82b] check-in: [6a5a5e21f1] user: jan.nijtmans branch: core-8-6-branch, size: 140441
12:55
TIP #597 implementation: "string is unicode" and new wtf-8 encoding file: [c2ba2d64c4] check-in: [fc3656894a] user: jan.nijtmans branch: tip-597, size: 136790
2021-01-14
11:50
More progress file: [ac9206e3a7] check-in: [07a0f898f8] user: jan.nijtmans branch: bug-45ddcfc3b1, size: 136788
2021-01-11
10:03
Merge 8.7, resolve conflicts file: [09293aafe9] check-in: [015ff38790] user: jan.nijtmans branch: main, size: 137558
2020-12-17
15:44
Simplifications when assuming VS 2015 or later file: [d5e6c842e7] check-in: [c9307db938] user: jan.nijtmans branch: tip-592, size: 136698
2020-12-08
15:42
Merge 8.7 file: [9980c4f957] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 137519
15:31
Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet file: [82dbb60e12] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 136698
2020-12-04
11:02
Merge 8.7 file: [3bbdf8dfc6] check-in: [6ce9d46084] user: jan.nijtmans branch: main, size: 137524
10:44
Merge 8.6 file: [d541690233] check-in: [afd2fa5fae] user: jan.nijtmans branch: core-8-branch, size: 136703
10:31
Merge 8.5 (syncing "tcltest" package). Use more uppercase hex representations file: [fc835f1838] check-in: [fe25ac7b6f] user: jan.nijtmans branch: core-8-6-branch, size: 140413
2020-11-18
14:29
Merge 8.7 file: [b04380795b] check-in: [0e52f34ca2] user: jan.nijtmans branch: main, size: 137524
13:51
More usage of TclUtfToUCS4/TclUniCharToUCS4 in stead of it's UniChar variants: This handles surrogate pairs better. file: [0e29bd3ddd] check-in: [d843858583] user: jan.nijtmans branch: core-8-branch, size: 136703
2020-11-05
17:06
Merge 8.7 file: [511ad4a5f8] check-in: [23c0c45dd0] user: jan.nijtmans branch: tip-575, size: 139683
2020-10-22
14:31
Merge 8.7 file: [6682bd37af] check-in: [a2f5f1c204] user: jan.nijtmans branch: tip-575, size: 139665
2020-10-18
20:21
Merge trunk. Some simplicifactions file: [167750c3ce] check-in: [49b1e0359c] user: jan.nijtmans branch: empty-not-found, size: 137781
16:29
Merge 8.7 file: [d7097848e3] check-in: [a10082400d] user: jan.nijtmans branch: trunk, size: 137731
16:24
3 times -1 -> TCL_INDEX_NONE file: [fcb1b1f9df] check-in: [7e6536e672] user: jan.nijtmans branch: core-8-branch, size: 136921
2020-10-15
09:30
Merge trunk file: [67bec5e320] check-in: [86d311d78b] user: jan.nijtmans branch: empty-not-found, size: 137790
2020-10-14
06:08
Merge 8.7 file: [312cb7eae8] check-in: [a5f7cc9ba9] user: jan.nijtmans branch: tip-575, size: 139653
2020-10-13
15:54
Merge 8.7 file: [5768bc5ca0] check-in: [b054ba1d5f] user: jan.nijtmans branch: trunk, size: 137719
15:45
Merge 8.6 file: [1420c2cbe2] check-in: [bfda87dfca] user: jan.nijtmans branch: core-8-branch, size: 136909
14:59
More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in stead of Tcl_NewIntObj() file: [de7ca1af69] check-in: [cfbd35f083] user: jan.nijtmans branch: core-8-6-branch, size: 140413
12:40
Revise Tcl to return {} in stead of -1 or {-1 -1} when a search result is emtpy (or not-found) file: [093b84aa8a] check-in: [c3183c83bf] user: jan.nijtmans branch: empty-not-found, size: 137806
2020-10-12
09:27
Merge 8.7 file: [2de416da78] check-in: [ff7bcb2801] user: jan.nijtmans branch: strict-index-experiment, size: 137044
2020-10-02
16:30
Merge 8.7 file: [f31ac427e6] check-in: [e2a265f8e9] user: jan.nijtmans branch: trunk, size: 137735
16:28
Fix -Wshadow warnings, when compiling with a C++ compiler file: [833095f579] check-in: [1011055d6b] user: jan.nijtmans branch: core-8-branch, size: 136925
2020-09-18
23:05
Fix gcc warnings, compiling on 32-bit Linux file: [08db273fff] check-in: [ec6c5484c5] user: jan.nijtmans branch: trunk, size: 137602
10:31
Make switch -regexp -indexvar without match return {} file: [0e1e998b3e] check-in: [19011a25db] user: jan.nijtmans branch: strict-index-experiment, size: 136911
09:43
Merge 8.7. Undo signature change for Tcl_GetIntForIndex file: [cf1fdb62e8] check-in: [6b2676abbb] user: jan.nijtmans branch: strict-index-experiment, size: 136869
08:33
New macro TclNewIndexObj() which does the same as TclNewWideIntObjFromSize() but optimized the same way as TclNewIntObj(). file: [0425a944a7] check-in: [d701aa51d5] user: jan.nijtmans branch: trunk, size: 137586
2020-09-17
13:48
Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> TclNewIntObj or Tcl_NewWideIntObj) file: [459265c4cc] check-in: [ef22eb8ac3] user: jan.nijtmans branch: core-8-branch, size: 136792
2020-09-14
12:31
Eliminate many "register" keywords (which do nothing with modern compilers) Eliminate many unnecessary type-casts to (unsigned) file: [57e0c11669] check-in: [62884c2f30] user: jan.nijtmans branch: core-8-6-branch, size: 140409
2020-08-13
14:24
Merge 8.7 file: [2afedfbc6e] check-in: [35e221aa02] user: jan.nijtmans branch: trunk, size: 137552
14:20
More usage of TclNewIntObj() macro file: [c4461a4e9f] check-in: [539d9dcf7e] user: jan.nijtmans branch: core-8-branch, size: 136745
2020-08-11
05:39
Eliminate many unnecessary type-casts, mostly (size_t) when value is already size_t or int file: [df7804deb0] check-in: [013b828787] user: jan.nijtmans branch: core-8-6-branch, size: 140494
2020-06-18
13:49
With -DTCL_NO_DEPRECATED use empty string as "nothing found" on more places. Experimental. file: [40988979cb] check-in: [927afdb9df] user: jan.nijtmans branch: strict-index-experiment, size: 137487
09:31
msgcat: Don't use "string first/last" file: [32564d27f2] check-in: [64f9fb3f9a] user: jan.nijtmans branch: strict-index-experiment, size: 137632
2020-06-07
20:31
Merge 8.7 file: [295c0a9809] check-in: [9a0d15188b] user: jan.nijtmans branch: strict-index-experiment, size: 137452
19:35
Merge 8.7. This makes disabling Microsoft warning C4307 no longer necessary: It appears this warning was good for something after all. file: [1895613b2d] check-in: [1214233eb4] user: jan.nijtmans branch: trunk, size: 137549
19:11
If "endValue" doesn't matter in TclGetIntForIndexM() call, use INT_MAX - 1, not 0 or -1. This results in skipping the Tcl_GetIntFromObj() call for all non-negative integerss file: [af3749a505] check-in: [e436e10650] user: jan.nijtmans branch: core-8-branch, size: 136742
2020-05-29
13:36
Change implementation "charstart", not behaving as "prevchar" any more. Also optimize charend/charstart for TCL_UTF_MAX>3 (not need to do actual conversion then). file: [b5ce98ff3d] check-in: [076b766c9c] user: jan.nijtmans branch: tip-575, size: 139466
2020-05-28
11:44
Remove nextword/prevword. Rename nextchar/prefchar to charend/charstart, for consistancy with wordend/wordstart. Slightly adapt wordend/wordstart when index is out of range. file: [57f1cfef8a] check-in: [f610ee7453] user: jan.nijtmans branch: tip-575, size: 138992
2020-05-25
11:53
Finish implementation of "string nextchar|nextword|prevchar|prevword". Not thourougly test yet, but seems OK at first sight. file: [ad27180782] check-in: [0a46907d56] user: jan.nijtmans branch: tip-575, size: 142326
2020-05-24
22:35
Merge jn-index-reform branch file: [ba6beac6cb] check-in: [2d1fc5b3d1] user: jan.nijtmans branch: strict-index-experiment, size: 137432
22:29
Put back "string bytelength", not _that_ important for this TIP. Document that Tcl_UtfCharComplete() can be used now to protect Tcl_UtfNext() file: [05e9749ccb] check-in: [f4989d1e8f] user: jan.nijtmans branch: tip-575, size: 143017
2020-05-23
22:07
Rewrite "string wordend" to use the Tcl_UniChar array. file: [58d650e5ec] check-in: [8333c88b3c] user: jan.nijtmans branch: tip-575, size: 143145
2020-05-22
21:28
Split more "string" functions. New helper function TclUniCharToUCS4(), not used yet but that's the next step. file: [80906f7c28] check-in: [ec03d6f62d] user: jan.nijtmans branch: tip-575, size: 143263
15:27
New "string" subcommands: "nextchar", "nextword", "prevchar", "prevword". Not implemented yet (for now same as "wordstart"/"wordend"). Deprecate "string bytelength". file: [d0fcbabceb] check-in: [04d41e57ba] user: jan.nijtmans branch: tip-575, size: 137109
14:36
Merge 8.7 Add function Tcl_UniCharFold(). It's the same as Tcl_UniCharToLower() for now, but that will change. file: [6b5c248805] check-in: [c338858460] user: jan.nijtmans branch: tip-575, size: 136705
2020-05-12
18:59
First, experimental implementation of TIP #575. Barely tested, will fail. WIP file: [298b92686c] check-in: [d15b9cb99e] user: jan.nijtmans branch: tip-575, size: 136723
2020-05-06
13:31
Merge 8.7 file: [37f62e5db6] check-in: [c990c1d146] user: jan.nijtmans branch: trunk, size: 137555
13:22
Merge 8.6 file: [8b38661b37] check-in: [918cfd8094] user: jan.nijtmans branch: core-8-branch, size: 136722
13:14
Merge 8.5. More usage of UCHAR() macro. file: [d83f2aa725] check-in: [3f3c0fda44] user: jan.nijtmans branch: core-8-6-branch, size: 140512
2020-05-04
12:31
New internal function TclGetUCS4() only available when TCL_UTF_MAX=4. This fixes all "knownBug" testcases related to tip389. file: [7ca9c55734] check-in: [41517f0841] user: jan.nijtmans branch: core-8-6-branch, size: 140521
2020-05-03
22:16
Re-join utf-6.93.0 and utf-6.93.1 (please disregard comment in previous commit, it was not correct). Perfectionalize TclUtfToUCS4()/TclUCS4Complete() and new (internal) function TclUCS4ToUtf(). They can help preventing bugs regarding splitting/joining surrogates. Used them in a few more places. file: [5fc74fb6fd] check-in: [161196f054] user: jan.nijtmans branch: core-8-6-branch, size: 140533
2020-04-24
10:49
Merge 8.7 file: [476ce77432] check-in: [aa56ee88d9] user: jan.nijtmans branch: trunk, size: 137564
2020-04-17
05:49
Merging forward the Utf changes. Needs some repair yet. file: [b82c2f85d8] check-in: [36303870fc] user: dgp branch: dgp-fixme, size: 136731
2020-04-16
20:38
Merge 8.5. Failing tests for now. To be remedied shortly. file: [9818dc435e] check-in: [6596c4af31] user: dgp branch: core-8-6-branch, size: 140672
18:14
Create and use macro TclUtfPrev for Tcl_UtfPrev. file: [5b72c2d866] check-in: [3ba6c74d19] user: dgp branch: core-8-5-branch, size: 116606
2020-04-14
14:30
Merge 8.7 file: [51dd97077f] check-in: [bd5cc21d39] user: jan.nijtmans branch: trunk, size: 137565
10:17
Merge 8.6 file: [65f1155501] check-in: [250fd8a281] user: jan.nijtmans branch: core-8-branch, size: 136732
2020-04-13
21:36
Merge 8.5. Failing tests highlight ticket [1b1f5f0b53]. file: [70ee5a50f8] check-in: [50b6d532c4] user: dgp branch: core-8-6-branch, size: 140673
15:01
Known bug test string-22.14 is not so hard to fix. file: [449a959fe9] check-in: [0cf00e7ba0] user: dgp branch: core-8-5-branch, size: 116607
13:19
Remove traces of INST_TRY_CVT_TO_INDEX, not needed now file: [4d81144966] check-in: [48c71f107b] user: jan.nijtmans branch: strict-index-experiment, size: 137286
10:05
Merge jn-index-reform file: [74f81be34a] check-in: [fceb35f4f7] user: jan.nijtmans branch: strict-index-experiment, size: 137287
2020-04-09
17:30
Guarantee TclNeedSpace and TclFindElement have common definition of whitespace by having both call the same routine. Create a macro form to contain performance costs and adapt callers. file: [7b191c8ca3] check-in: [da9a473a26] user: dgp branch: core-8-5-branch, size: 116449
2020-04-08
08:11
Merge 8.7 file: [cb7f7f3c32] check-in: [440a7405d5] user: jan.nijtmans branch: trunk, size: 137409
07:27
Teach "split", "string wordstart" and "string wordend" how to handle Unicode characters >\uFFFF, using the new utility function TclUtfToUCS4(). (Thanks, Don!). Add test-cases to prove it. file: [5aa76ca9ef] check-in: [437453c4f4] user: jan.nijtmans branch: core-8-branch, size: 136576
2020-04-02
23:26
merge 8.7 file: [c2c8d0277d] check-in: [abac91f4a0] user: dgp branch: trunk, size: 137662
22:18
merge 8.6 file: [1b18a4c496] check-in: [f1db0ed67c] user: dgp branch: core-8-branch, size: 136829
20:18
New utility routine TclUtfToUCS4() to contain some complexity. Two callers adapted. file: [60311fe3cf] check-in: [63e224f042] user: dgp branch: core-8-6-branch, size: 140514
2020-03-30
13:09
Merge jn-index-reform file: [021e5cc1db] check-in: [2c684cf313] user: jan.nijtmans branch: strict-index-experiment, size: 138096
12:04
Merge 8.7 file: [39e0e9459e] check-in: [beb27c9e8c] user: jan.nijtmans branch: trunk, size: 138218
11:37
Optimize TclStringFirst/TclStringLast: Let it return a Tcl_Obj * in stead of an int, so its callers don't need to do the conversion any more. file: [6331c4b9ab] check-in: [cb795a476e] user: jan.nijtmans branch: core-8-branch, size: 137385
2020-03-29
20:44
Merge jn-index-reform. Be a little bit more strict file: [1e05ce17bf] check-in: [3f05ac8086] user: jan.nijtmans branch: strict-index-experiment, size: 138144
2020-03-27
10:33
Fix [767e070d35]: Tcl_GetRange and Tcl_GetUniChar do not validate index inputs file: [22d8543bf8] check-in: [89f3dff179] user: jan.nijtmans branch: bug-767e070d35, size: 141070
2020-03-26
15:48
Start using the 'flags' parameter of Tcl_GetIntForIndex(). Still WIP. file: [303c1b1c28] check-in: [e38b507841] user: jan.nijtmans branch: strict-index-experiment, size: 137906
09:40
Merge jn-index-reform. Add 'flags' parameter to Tcl_GetIntForIndex(). Not used yet. file: [e77c044c2b] check-in: [91983175e0] user: jan.nijtmans branch: strict-index-experiment, size: 137809
2020-03-20
13:02
Merge jn-index-reform file: [79fb2c3f57] check-in: [1390c5d311] user: jan.nijtmans branch: strict-index-experiment, size: 137749
2020-03-18
14:06
Merge 8.7 file: [0e4f8f2a37] check-in: [1d0787097e] user: jan.nijtmans branch: trunk, size: 138280
13:54
Merge 8.6 file: [2c4f1d91ba] check-in: [2b7c852b44] user: jan.nijtmans branch: core-8-branch, size: 137433
12:51
More uppercase HEX representations in source-code. file: [ff6d4e2675] check-in: [7d760e228e] user: jan.nijtmans branch: core-8-6-branch, size: 141073
2020-03-17
16:58
Merge jn-index-reform file: [a65dd1c5b0] check-in: [09cf9f4362] user: jan.nijtmans branch: strict-index-experiment, size: 137684
14:07
Implement "none" index and "string is none"/"string is index" commands. No compiled version yet. file: [f1b42b9087] check-in: [88c45a2fec] user: jan.nijtmans branch: strict-index-experiment, size: 137700
01:20
merge 8.7 file: [31b0cb2d06] check-in: [4d9717c8ef] user: dgp branch: trunk, size: 138280
01:01
TIP 569 - remove lint comments file: [8dad1e699f] check-in: [658a498ae4] user: dgp branch: core-8-branch, size: 137433
2020-03-12
22:43
Merge 8.7. More progress. file: [2e42530594] check-in: [e90505aff4] user: jan.nijtmans branch: strict-index-2, size: 137451
2020-03-06
21:33
merge 8.7 file: [f6010b4291] check-in: [89fde09430] user: dgp branch: trunk, size: 138296
18:02
More TCL_UNUSED(). file: [5346d3430d] check-in: [1d62614dd9] user: dgp branch: core-8-branch, size: 137449
2020-02-28
12:46
Merge 8.7 file: [66484793da] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 139379
2020-02-13
22:06
Merge 8.7 file: [d0342db462] check-in: [c59e305ca6] user: jan.nijtmans branch: cplusplus, size: 138532
2020-01-20
14:19
Merge 8.7 file: [aa9965207c] check-in: [3d7b2dce60] user: jan.nijtmans branch: trunk, size: 138519
2020-01-13
12:11
Merge 8.7 file: [6565baad62] check-in: [4a9636c39a] user: jan.nijtmans branch: trunk, size: 138542
2019-09-25
13:42
Merge 8.7 file: [6e18434a76] check-in: [be233f3e67] user: jan.nijtmans branch: utf-max, size: 137675
2019-08-29
13:28
Merge tip-548 file: [ec3fb28c5d] check-in: [c933888049] user: jan.nijtmans branch: cplusplus, size: 138532
2019-08-28
11:45
Merge 8.7 file: [7008410e43] check-in: [590a4ca494] user: jan.nijtmans branch: trunk, size: 138490
11:15
Merge 8.6 file: [e44672c4d9] check-in: [8f92213e5f] user: jan.nijtmans branch: core-8-branch, size: 137675
09:59
Add /* FALLTHRU */ markers in various places (silencing possible GCC warnings). Eliminate some more "register" keywords. Eliminate (or silence) some unused function parameters. file: [052355d259] check-in: [7c9c59b504] user: jan.nijtmans branch: core-8-6-branch, size: 141073
2019-08-15
15:20
Merge tip-548 file: [21e1cce50e] check-in: [fb24db99f5] user: jan.nijtmans branch: cplusplus, size: 137887
08:10
Merge 8.7 file: [1685fb89a4] check-in: [f33e2933b5] user: jan.nijtmans branch: trunk, size: 138469
2019-08-14
07:24
Merge 8.7 file: [9f043f4f56] check-in: [c367ba59b1] user: jan.nijtmans branch: no-register, size: 137654
2019-08-13
21:00
Eliminate dependency in test-suite on Unicode functions. Merge tip-548. Fix build with -DTCL_NO_DEPRECATED file: [dc0e507df8] check-in: [67ec088a1c] user: jan.nijtmans branch: utf-max, size: 137717
2019-08-12
20:38
Merge branch tip-548. No longer define addtional stub-entries for functions that will be removed (because of deprecation) anyway file: [4695d21b1b] check-in: [50d822dbab] user: jan.nijtmans branch: utf-max, size: 137688
2019-08-03
20:25
Merge tip-548 (since using the *WChar* functions leads to less type-casts in c++) Als finish implementaton for MacOSX file: [f35cb719e0] check-in: [3da6c33030] user: jan.nijtmans branch: cplusplus, size: 137950
2019-08-02
12:45
Add one more knownMsvcBug marker, for a test-case which sometimes fails in Travis. Fix a struct initializer, add two typecasts and a "const", which can generate gcc warnings with some compiler options. file: [c258cf27c6] check-in: [3331352b51] user: jan.nijtmans branch: core-8-6-branch, size: 141052
12:15
Merge 8.7. Continue implementation for win32 file: [394777e22b] check-in: [ff6fa30271] user: jan.nijtmans branch: cplusplus, size: 137944
2019-08-01
11:55
Merge tip-548 file: [76d6da6001] check-in: [8819e7a6a3] user: jan.nijtmans branch: utf-max, size: 137683
2019-07-25
09:01
Merge 8.7 file: [b3cf378344] check-in: [d1d9e1e6b5] user: jan.nijtmans branch: trunk, size: 138532
2019-07-24
14:14
merge 8.6 file: [234af3bd7e] check-in: [32d0df81b1] user: sebres branch: core-8-branch, size: 137717
13:49
cherrypick timerate-loop-opti--discard-result file: [56ef978d49] check-in: [b0068126eb] user: sebres branch: core-8-5-branch, size: 116448
2019-07-23
21:43
small amend with a comment about the optimization file: [725c5baf63] check-in: [3b40f959b5] user: sebres branch: timerate-loop-opti--discard-result, size: 141046
21:08
fix done optimization (TCL_EVAL_DISCARD_RESULT) for nested call - supply and reset discard result flag in registering TEBC-callback, because it is applicable for this call only, and should not affect all the nested invocations may return result (added tests covering that). file: [a69460f99e] check-in: [66eae16555] user: sebres branch: timerate-loop-opti--discard-result, size: 140827
17:40
better rewritten loop optimization: new evalFlag "TCL_EVAL_DISCARD_RESULT" introduced, which allows to organize faster TEBC-loop with discarding of result, simulating pop & done, like it does continue in loop (so ensures that setting of result will not smudge the measurement). file: [607380dced] check-in: [2958e9399c] user: sebres branch: timerate-loop-opti--discard-result, size: 140888
2019-07-17
15:38
Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated in C++ (removed in C++17, even), and essentially does nothing with most modern compilers. file: [618b595eac] check-in: [f074bda87c] user: jan.nijtmans branch: no-register, size: 137929
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: [79ac10a0f5] check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 138219
2019-07-04
06:54
Experiment: compile Tcl with C++ compiler. WIP file: [519c887a89] check-in: [99d5f9c948] user: jan.nijtmans branch: cplusplus, size: 138034
2019-06-26
21:25
Merge tip-548 file: [d15cd4684d] check-in: [3c0f28be06] user: jan.nijtmans branch: utf-max, size: 137958
2019-06-25
19:04
merge 8.6 file: [e1ce5d35be] check-in: [83d2a10768] user: sebres branch: core-8-branch, size: 137992
18:02
merge 8.5 file: [7781c5b343] check-in: [47054b13b2] user: sebres branch: core-8-6-branch, size: 141321
16:09
fixed build with MSVC 6.0 file: [54da03b090] check-in: [f8e839fa90] user: sebres branch: core-8-5-branch, size: 116723
2019-05-31
23:35
Merge tip-547 file: [32b6f3b683] check-in: [9265001ec1] user: jan.nijtmans branch: utf-max, size: 137958
12:50
TIP 537 implementation: Enable 64-bit indexes in regexp matching file: [d92cdba19d] check-in: [6e8aae14c1] user: jan.nijtmans branch: trunk, size: 138807
2019-05-26
10:47
Fix a few critical errors and allow int32 as a type file: [04a9066f45] check-in: [5672730e2e] user: dkf branch: tip-480, size: 141577
07:19
merge 8.7 file: [8f62b6b13f] check-in: [494534d018] user: dkf branch: tip-480, size: 141414
2019-05-24
20:14
Merge 8.7 file: [f9c2e094b5] check-in: [6d0a9b1b43] user: jan.nijtmans branch: trunk, size: 138688
20:12
Merge 8.6 file: [e92c0907f6] check-in: [fe4f4b2ccf] user: jan.nijtmans branch: core-8-branch, size: 137992
20:10
end-of-line spacing file: [6c6384e034] check-in: [b770ca8973] user: jan.nijtmans branch: core-8-6-branch, size: 141321
20:03
Missing keyword: "static" file: [ba2781f077] check-in: [6315463cce] user: jan.nijtmans branch: core-8-5-branch, size: 116723
17:01
merge 8.7 file: [dff15bbed8] check-in: [19d4ff0924] user: sebres branch: trunk, size: 138690
17:00
merge 8.6 file: [5946b99a64] check-in: [b756e59aec] user: sebres branch: core-8-branch, size: 137994
16:56
merge 8.5 file: [f07a5c4b9c] check-in: [65b4686506] user: sebres branch: core-8-6-branch, size: 141323
16:49
fixes typo ("net" instead of outdated term "nett") file: [1bef90c3ed] check-in: [c03e508528] user: sebres branch: core-8-5-branch, size: 116725
2019-05-22
21:50
More simplifications, taking deprecations into account file: [108414fe13] check-in: [b95de9a625] user: jan.nijtmans branch: utf-max, size: 137961
07:33
Merge 8.7 file: [b68c14d0ba] check-in: [94403689d1] user: jan.nijtmans branch: utf-max, size: 137953
07:32
More WIP: eliminate all usage of (platform-specific) Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() to its proposed portable replacements: Tcl_Utf16ToUtfDString()/Tcl_UtfToUtf16DString() This allows for Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() to be declared deprecated. file: [6b7c063e0f] check-in: [a33e22b6ba] user: jan.nijtmans branch: utf-max, size: 137928
2019-05-21
18:05
merge 8.7 file: [1f22b1aec3] check-in: [3ab610c06b] user: sebres branch: trunk, size: 138691
18:04
merge 8.6 file: [060157c0a8] check-in: [1f016b0993] user: sebres branch: core-8-branch, size: 137995
18:01
merge 8.5 (timerate unsigned calc) file: [3038f027b5] check-in: [23eaea57ed] user: sebres branch: core-8-6-branch, size: 141324
17:52
timerate: be more precise using unsigned wide (for total execution time), avoid signed vs unsigned comparison warning (if compiled with VS). file: [eb3ce398bb] check-in: [8d402ef26e] user: sebres branch: core-8-5-branch, size: 116726
11:46
merge 8.7 file: [09808223cd] check-in: [273d53b2e7] user: sebres branch: trunk, size: 138666
2019-05-17
14:22
Merge 8.7 file: [ae96434dd2] check-in: [592c6ff5b4] user: jan.nijtmans branch: utf-max, size: 137970
10:40
merge 8.6 file: [1bc61f8f4d] check-in: [645515e90f] user: sebres branch: core-8-branch, size: 137970
2019-05-16
18:19
merge 8.5 file: [f2f55e7b0a] check-in: [594a6ef663] user: sebres branch: core-8-6-branch, size: 141300
18:17
small amend to [ac566e9df84daeab] with rollback of done/continue optimization file: [7ffe30c5cf] check-in: [bb7ad323d4] user: sebres branch: core-8-5-branch, size: 116687
17:56
merge 8.5 (timerate fix to avoid impact of object duplication on shared interp result by the measurement) file: [bb438060b7] check-in: [dbe7cb43bc] user: sebres branch: core-8-6-branch, size: 141092
17:49
timerate: allow continue from measurement cycle (used for conditional flow control of iterations); more gentle evaluation behaviour, similar to a cycle now (also avoids extra overhead to set result to interp, etc.); todo: rewrite optimization of INST_DONE using last-instruction pointer or optimization flags for compile of iteration (if sebres's perf-branch gets merged). file: [d991ac4f66] check-in: [ac566e9df8] user: sebres branch: core-8-5-branch, size: 116479
2019-05-10
07:50
Merge trunk file: [2274696c34] check-in: [f0009090a2] user: jan.nijtmans branch: regexp-api-64bit, size: 138100
07:46
merge 8.7 file: [a9afcd6fbf] check-in: [f3302db091] user: jan.nijtmans branch: utf-max, size: 137285
2019-04-23
06:54
merge 8.7 file: [bcd07b0eb5] check-in: [94c83464b9] user: dkf branch: trunk, size: 137981
06:50
timerate: code style, doc style file: [b5ec610657] check-in: [c4804bce46] user: dkf branch: core-8-branch, size: 137285
06:43
timerate: code style, doc style file: [38bac1e995] check-in: [14a413ba72] user: dkf branch: core-8-6-branch, size: 140615
06:28
timerate: code style, doc style file: [3132cf4549] check-in: [55a6f5b9b4] user: dkf branch: core-8-5-branch, size: 116002
2019-04-19
07:06
Fix broken tests file: [6f2fc0a3c3] check-in: [9cc01bf517] user: dkf branch: trunk, size: 137187
00:38
merge 8.7 file: [f5cf428d10] check-in: [ddaa30125b] user: dkf branch: trunk, size: 137155
2019-04-18
08:31
Style corrections and warning elimination file: [638b3dd16a] check-in: [6be9e0f989] user: dkf branch: core-8-branch, size: 136491
2019-04-12
20:16
merge 8.7 file: [672b45d9e4] check-in: [c8c10b1df8] user: dgp branch: dgp-string-insert, size: 136486
2019-04-08
13:49
merge 8.7 file: [5fc4254494] check-in: [581926e4c8] user: dgp branch: dgp-string-insert, size: 136673
13:01
Fix for [45b9faf103f2], [try] interaction with local variable names produces segmentation fault. file: [38a66f6ec7] check-in: [4100488a3c] user: pooryorick branch: core-8-branch, size: 135232
2019-04-03
19:52
Merge 8.7 file: [3e8c98adea] check-in: [c1bdc62c2a] user: jan.nijtmans branch: utf-max, size: 135045
2019-04-02
20:09
Merge trunk file: [45287e3df9] check-in: [85c116565b] user: jan.nijtmans branch: regexp-api-64bit, size: 135830
19:17
Merge 8.6 file: [c3642644dc] check-in: [1bcfcb3ac6] user: jan.nijtmans branch: androwish, size: 139840
2019-04-01
14:32
merge 8.7 file: [61825cc91b] check-in: [40514b76f3] user: sebres branch: trunk, size: 135711
14:24
merge 8.6 file: [7abc6eff76] check-in: [0a66d35b63] user: sebres branch: core-8-branch, size: 135045
14:00
merge 8.5 file: [3981d021c0] check-in: [11c73f263c] user: sebres branch: core-8-6-branch, size: 139821
13:51
timerate: avoid divide by zero by no iterations in measurement cycle (e. g. count is 0) file: [f198a49ffb] check-in: [c9ac395fd2] user: sebres branch: core-8-5-branch, size: 115222
2019-03-29
12:54
More internal use of size_t file: [26e68c67b1] check-in: [305e64b47b] user: jan.nijtmans branch: regexp-api-64bit, size: 135605
09:41
Change regexp C API to handle indexes > 2G. New TIP upcoming. file: [df81f48b31] check-in: [3eca80b890] user: jan.nijtmans branch: regexp-api-64bit, size: 135531
2019-03-18
22:17
Merge 8.7 file: [a344c61d0f] check-in: [b9ad5fe740] user: jan.nijtmans branch: trunk, size: 135486
22:14
enlarge a few small buffers, which could overflow using Unicode characters > /UFFFF. Eliminate some end-of-line spacing file: [9f7a3da1aa] check-in: [41c373ad8f] user: jan.nijtmans branch: core-8-branch, size: 134820
2019-03-16
21:10
Merge 8.7 Move up some stub entries related to Tcl_UniChar Use TCL_UTF_MAX=4 for full Unicode in stead of TCL_UTF_MAX=6 (TCL_UTF_MAX: 3 is default) file: [8c8c7e8ec3] check-in: [81502a66ed] user: jan.nijtmans branch: utf-max, size: 134820
2019-03-08
23:54
Merge trunk. Further WIP for TIP #497, far from finished .... file: [7739b9361f] check-in: [9fcbdde251] user: jan.nijtmans branch: tip-497, size: 135096
2019-03-07
08:39
Merge 8.7 file: [b01c371080] check-in: [feb76896c3] user: jan.nijtmans branch: trunk, size: 135496
08:31
Merge 8.6. Remove unneeded code from init.tcl file: [207917ef1a] check-in: [3efa92355e] user: jan.nijtmans branch: core-8-branch, size: 134830
08:00
Fix some gcc/MSVC (harmless) compiler warnings. Remove some unnecessary end-of-line spacing file: [8943404019] check-in: [4100db67b1] user: jan.nijtmans branch: core-8-6-branch, size: 139596
2019-03-05
18:23
merge 8.7 (TIP#527, New measurement facilities in TCL: New command timerate, performance test suite) file: [f3bf9f6af8] check-in: [e41cbd042a] user: sebres branch: trunk, size: 135513
17:34
merge 8.6 (TIP#527, New measurement facilities in TCL: New command timerate, performance test suite) file: [bf7b2c501b] check-in: [2d254280f0] user: sebres branch: core-8-branch, size: 134847
16:59
integrate sebres-8-6-timerate, merge 8.5 (TIP#527, New measurement facilities in TCL: New command timerate, performance test suite) file: [758d04299e] check-in: [49f82cfd7f] user: sebres branch: core-8-6-branch, size: 139600
2019-03-02
16:04
Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish. file: [c7087d4215] check-in: [9e1984c250] user: jan.nijtmans branch: core-8-6-branch, size: 129091
2019-03-01
21:59
Merge 8.7 file: [a23fa30321] check-in: [3e48d44568] user: jan.nijtmans branch: trunk, size: 124993
21:05
More use of TclHasIntRep() macro. Add vfs build director to fossil ignore-glob file: [1ab426f3fc] check-in: [6df74d3d53] user: jan.nijtmans branch: core-8-branch, size: 124327
2019-02-27
21:58
Merge 8.7 file: [8a3f0099e0] check-in: [727e74f081] user: jan.nijtmans branch: trunk, size: 124991
21:29
Fix [bd94500678e837d7]: SEGFAULT by conversion of unicode (out of BMP) to byte-array file: [8a6f22df24] check-in: [efe8f3e6b0] user: jan.nijtmans branch: core-8-branch, size: 124325
2019-02-26
19:37
More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) and (unsigned) type-casts, which don't make sense any more. file: [d8a5e31e31] check-in: [2c7db3fa01] user: jan.nijtmans branch: mistake, size: 124264
2019-02-25
21:15
Merge 8.7 file: [dfae593716] check-in: [5a8767b61e] user: jan.nijtmans branch: trunk, size: 124883
21:10
Finish complete fix, all corner-cases correct now. Also spurious UTF-8 testcase failure (as seen on travis) fixed now. file: [739981152d] check-in: [b3d886c84f] user: jan.nijtmans branch: bug-bd94500678, size: 124330
19:50
New internal macro TclHasIntRep() to re-encapsulate the typePtr field. file: [3bd285c687] check-in: [86b1045cc4] user: dgp branch: core-8-branch, size: 124275
2019-02-19
19:38
Minor optimizations file: [3f3b6384a9] check-in: [0e2621fc4b] user: jan.nijtmans branch: bug-bd94500678, size: 124314
2019-02-18
20:48
Proposed fix for [bd94500678]: SEGFAULT by conversion of unicode (out of BMP) to byte-array. file: [f35c9273d0] check-in: [9f67c17d01] user: jan.nijtmans branch: bug-bd94500678, size: 124356
2019-02-14
20:05
merge 8.7 file: [9ae3c5f5ba] check-in: [2a36cf176f] user: dgp branch: dgp-string-insert, size: 125710
2019-02-13
02:57
merge 8-5-timerate (?max-count?, break possibility, diverse fixes) + windows time-calibration cycle optimization [f6637d3dd8] (clock ticks never backwards, more precise and smooth drifting) file: [ae5b95a141] check-in: [2f5413a0fb] user: sebres branch: sebres-8-6-timerate, size: 139457
01:10
timerate: extended with ?max-count? optional parameter, code review and more tests file: [625e8f3ce8] check-in: [0f6e941c6e] user: sebres branch: sebres-8-5-timerate, size: 114997
2019-02-12
19:46
fixes estimated time of too short execution considering calibrated overhead (it is 0us and not 1us, example: `timerate {break}` with and without calibration) file: [ac85f23d7c] check-in: [cde1464889] user: sergey.brester branch: sebres-8-5-timerate, size: 114643
19:38
timerate: allow break from measurement cycle (usable to provide conditional stop possibility inside timerate) file: [d93ccec1f4] check-in: [11760d10b0] user: sergey.brester branch: sebres-8-5-timerate, size: 114642
19:35
cherrypick [8ad25ef9eb] from 8.6 - timerate: added dynamic factor by threshold calculation (avoid growing of the execution time if iterations are not consistent, e. g. wax continuously on time) file: [83ca4aa75a] check-in: [fd80b4356e] user: sergey.brester branch: sebres-8-5-timerate, size: 114422
18:41
merge 8.5 (note: to avoid too many conflicts, merged using `fossil merge --baseline 0055a16a8b core-8-5-branch`) file: [a8c817a66a] check-in: [0e846f3e6f] user: sergey.brester branch: sebres-8-5-timerate, size: 113788
2019-02-07
21:20
timerate: added dynamic factor by threshold calculation (avoid growing of the execution time if iterations are not consistent, e. g. wax continuously on time) file: [8d6680a872] check-in: [8ad25ef9eb] user: sebres branch: sebres-8-6-timerate, size: 138881
15:45
merge 8.6(.9), conflicts resolved file: [684002e51b] check-in: [f29f1e9566] user: sergey.brester branch: sebres-8-6-timerate, size: 138247
2019-02-04
22:45
Merge trunk file: [ab3a607496] check-in: [a6db8815ce] user: jan.nijtmans branch: tip-502-for-9, size: 124877
2019-02-01
20:36
Another (big) round of int -> size_t enhancements. So Tcl can handle string >2GiB in more places. file: [b0b0d6dcfb] check-in: [8534448b44] user: jan.nijtmans branch: trunk, size: 124577
2019-01-28
21:47
Merge 8.7 file: [3db8430466] check-in: [08dd3497f1] user: jan.nijtmans branch: trunk, size: 124579
21:34
New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. But ... don't use this function when the result is only compared to NULL: that's just overkill. file: [950b11ee0e] check-in: [d3ed67412e] user: jan.nijtmans branch: core-8-branch, size: 124269
16:23
merge 8.7 file: [2c16741aa1] check-in: [be327fce6d] user: sebres branch: trunk, size: 124603
16:19
merge 8.6 ([4ee9b4f3e965a7da5133] was already fixed in 8.7, so no functional changes here) file: [9ecd474950] check-in: [2f22a13f00] user: sebres branch: core-8-branch, size: 124293
16:15
merge 8.5 file: [fa33958f3c] check-in: [99fa18a640] user: sebres branch: core-8-6-branch, size: 128948
16:12
fixes [4ee9b4f3e965a7da5133]: result of command `time` overflows by single iteration longer as 35 minutes (uses wide-int instead of int as result now). file: [ddf40185de] check-in: [523e36b232] user: sebres branch: core-8-5-branch, size: 104614
2019-01-26
17:08
Merge 8.6. Also reduce tclCharTypeTable[] to 256 entries, as this table is always addressed with unsigned chars now. Eliminate some useless end-of-line spacing that slipped in. file: [1a5e4814ab] check-in: [6d7fdfa9fa] user: jan.nijtmans branch: core-8-branch, size: 124294
2019-01-20
01:36
Merge trunk. All callers of TclIndexDecode and related functions now adapted for enhanced index range. file: [6ed9b1d2fb] check-in: [87b7cb4d1c] user: jan.nijtmans branch: tip-502-for-9, size: 124933
2019-01-17
18:02
WIP: Allow value > 2^31 for indexes used in string ranges. Not complete yet. file: [b7688696de] check-in: [c4f1623e18] user: jan.nijtmans branch: tip-502-for-9, size: 124627
2019-01-15
11:38
fixes out-of-range index [string is ... -fail idx ...] on 32-bit platform (should return -1 instead of 4294967295), almost the same case as [3e0a2d99f3] file: [5a52d25a8d] check-in: [175e053939] user: sebres branch: trunk, size: 124604
2019-01-10
14:43
merge 8.6 file: [b433851609] check-in: [1de35d1115] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 138280
2018-12-26
15:04
Many internal int -> size_t increases, so string lengths > 2Gb can be handled correctly in many more places. file: [6106ff8776] check-in: [2549977bc4] user: jan.nijtmans branch: trunk, size: 124597
2018-12-14
13:12
Why are we using rvm? Why? file: [ebeb5ea7e6] check-in: [f79b38e8c7] user: dkf branch: core-8-6-branch, size: 128937
2018-12-13
21:01
Merge 8.7, and make all test-cases pass. file: [1538138cd9] check-in: [6415cac417] user: jan.nijtmans branch: trunk, size: 124480
2018-12-12
20:28
Fix [3e0a2d99f365c035ce84ec9de1e3acd80c2e2c6c|3e0a2d99f3], for "string last" as well. file: [16bea61c63] check-in: [f7f4130007] user: jan.nijtmans branch: trunk, size: 124400
20:14
Merge 8.7 file: [bc9574cd9e] check-in: [4c2ed52f8f] user: jan.nijtmans branch: trunk, size: 124386
19:38
If compiled with -DTCL_NO_DEPRECATED, remove 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. file: [a66c5bb4e3] check-in: [72e64ef096] user: jan.nijtmans branch: core-8-branch, size: 124295
17:00
better fix for [3e0a2d99f3], considering [string first] could return a value larger that INT_MAX for x64 file: [aa808ee987] check-in: [080ecbe60a] user: sebres branch: fix-3e0a2d99f3-str-first-x86-x64, size: 124325
14:59
fixes [3e0a2d99f3]: size_t is smaller as wideInt on 32-bit platform (so by not found, -1 results into 4294967295) file: [90c4fb67e2] check-in: [d7843f5d69] user: sebres branch: trunk, size: 124313
2018-11-19
17:29
merge 8.7 file: [7ed1133ac8] check-in: [4c3f9f283e] user: dgp branch: dgp-string-insert, size: 125664
2018-11-16
20:44
merge 8.7 file: [2c503ef00c] check-in: [d167840eb0] user: dgp branch: trunk, size: 124317
20:37
merge 8.6 file: [779a6003d3] check-in: [d00889251a] user: dgp branch: core-8-branch, size: 124223
13:45
Clear up a bunch of small issues found by Coverity analysis. file: [e037867a31] check-in: [a7f216790f] user: dkf branch: core-8-6-branch, size: 128523
2018-11-13
21:04
Implement TIP 445 file: [d2f816b1c0] check-in: [439113e1be] user: dgp branch: trunk, size: 124316
15:52
Adapted TIP 501 file: [e4850945e2] check-in: [4c1f444dd9] user: dgp branch: trunk, size: 124281
2018-11-06
12:59
merge core-8-branch file: [9cd76abdb9] check-in: [445db2cb18] user: dkf branch: mistake, size: 124304
11:12
Implement TIP 501 file: [b347ab0857] check-in: [2ac1f40dd9] user: dkf branch: core-8-branch, size: 124222
10:04
merge core-8-branch file: [20c91158f0] check-in: [33398e15df] user: dkf branch: tip-501, size: 123004
2018-11-05
09:33
Added tests file: [c3779650b6] check-in: [372fa01f11] user: dkf branch: tip-480, size: 126196
2018-11-04
23:05
Added missing boolean test file: [41bea8d6e3] check-in: [7f1442d9bc] user: dkf branch: tip-480, size: 125641
23:00
Rest of baseline implementation of TIP. file: [bfdf511bad] check-in: [9ad995dc14] user: dkf branch: tip-480, size: 125488
2018-10-18
15:31
merge 8.7 file: [4730365c55] check-in: [000ee6e038] user: dgp branch: tip-445, size: 122809
2018-10-17
20:02
merge 8.7 file: [4fb00ae029] check-in: [9e834efc20] user: dgp branch: dgp-string-insert, size: 124215
2018-10-12
18:29
Merge 8.7 file: [03a614eb1e] check-in: [41013f5dac] user: jan.nijtmans branch: trunk, size: 122856
18:14
TIP #502 implementation: Index value reform. file: [0e5362ad8e] check-in: [bae05b9e6f] user: jan.nijtmans branch: core-8-branch, size: 122774
2018-10-09
21:16
Merge 8.7 file: [5eded5ea45] check-in: [ca235a6fe7] user: jan.nijtmans branch: trunk, size: 122852
19:43
isspace -> TclIsSpaceProc in various places. Re-generate tclDate.c with Bision 3.1 file: [8331ff22f0] check-in: [0217bf6a6a] user: jan.nijtmans branch: core-8-branch, size: 122770
2018-10-08
19:36
Merge 8.7 file: [dfc235a1bc] check-in: [acd6c0661e] user: jan.nijtmans branch: trunk, size: 122845
2018-09-25
13:31
merge 8.7 file: [904ee1f0af] check-in: [6b93e85592] user: dgp branch: tip-502, size: 122877
2018-09-11
15:39
merge 8.7 file: [40df9942ca] check-in: [0c62aa4c94] user: dgp branch: dgp-string-insert, size: 124314
2018-09-01
22:01
Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion) file: [af82855a27] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 122955
2018-08-28
22:28
Now, restore wide(), but make int() the same as entier(). Add new utility function. file: [258e2eca53] check-in: [d6c1d88425] user: jan.nijtmans branch: tip-514, size: 122763
2018-08-16
18:03
Experiment, resolving platform differences at script level. Don't look ... file: [cd23fff748] check-in: [f22395629e] user: jan.nijtmans branch: all-wideint, size: 122763
2018-07-09
14:53
merge 8.7 file: [264e5bde79] check-in: [d5870fa9fd] user: dgp branch: dgp-sebres-timerate-review, size: 132135
2018-07-03
19:24
More size_t API changes (*.decls files are complete now) file: [c72a14a27f] check-in: [c49c6efd43] user: jan.nijtmans branch: memory-API, size: 122945
2018-07-01
10:31
New macro TclGetByteArrayFromObj() which can handle size_t file: [962ec1d909] check-in: [c62e09171f] user: jan.nijtmans branch: memory-API, size: 122901
2018-06-28
20:30
More using TCL_Z_MODIFIER where possible file: [5891cdc352] check-in: [3cdf0d20c9] user: jan.nijtmans branch: memory-API, size: 122844
2018-06-27
19:09
merge trunk file: [27e0cd08b5] check-in: [2cc2d71f0a] user: jan.nijtmans branch: memory-API, size: 122969
2018-06-24
20:27
Merge 8.7 file: [829c2563fc] check-in: [1c88810e71] user: jan.nijtmans branch: trunk, size: 122855
20:26
Fix "string tolower" and friends for handling unpaired surrogates correctly. Also add test-cases for those situations. Various typo's in comments. file: [c23346bcd6] check-in: [1cdc9199e9] user: jan.nijtmans branch: core-8-branch, size: 122873
2018-06-16
12:32
Change signature of Tcl_GetRange() to use size_t. Merge trunk. file: [69ab143c87] check-in: [8e3bd50a3b] user: jan.nijtmans branch: memory-API, size: 122904
2018-06-01
16:04
Rebase the sebres clock bounty work to the 8.7 branch. file: [95dac08b6e] check-in: [3e943144b9] user: dgp branch: dgp-sebres-clock-review, size: 132070
2018-05-31
21:24
merge zipfs file: [409d0bb95f] check-in: [fc74365c13] user: jan.nijtmans branch: androwish, size: 128523
2018-05-29
17:58
back-porting of tclclockmod done, merge current 8.6 file: [fe5d4f30da] check-in: [913e5f51f9] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 137843
2018-05-24
13:04
merge 8.7 file: [300ddcec6b] check-in: [aae85a444a] user: dgp branch: dgp-string-insert, size: 124249
12:46
merge 8.7 file: [4e2cd3fc92] check-in: [620705ca16] user: dgp branch: tip-445, size: 122843
12:24
merge 8.7 file: [34b9d66da7] check-in: [4ed7fe60d8] user: dgp branch: tip-502, size: 122812
2018-05-23
20:09
merge trunk file: [4d6593a5ff] check-in: [1a6fcb9bdc] user: jan.nijtmans branch: memory-API, size: 122915
2018-05-13
13:55
merge 8.7 file: [3dab6c7bb5] check-in: [aba84558d8] user: jan.nijtmans branch: trunk, size: 122790
07:17
General code style cleanup. file: [036ac1947a] check-in: [ea1fc89541] user: dkf branch: core-8-branch, size: 122808
2018-05-11
11:30
merge 8.7 file: [4c72ac2e01] check-in: [6733cec87a] user: dgp branch: dgp-string-insert, size: 124245
11:26
merge 8.7 file: [90fa44091e] check-in: [5dd49e9ab7] user: dgp branch: tip-445, size: 122839
11:26
merge 8.7 file: [9e21ae2d2b] check-in: [97fa4939ba] user: dgp branch: tip-502, size: 122808
2018-05-08
15:22
merge 8.7 file: [9abc18aeef] check-in: [966bdc055f] user: dgp branch: trunk, size: 122786
10:16
prevents UB/segfault by unexpected return-code (not -1/0/1) and avoid warnings like: tclCmdMZ.c:2815:15: warning: `s1` may be used uninitialized in this function [-Wmaybe-uninitialized] s1len = Tcl_NumUtfChars(s1, s1len); ^~~~~~~~~~~~~~~~~~~~~~~~~~ file: [2ece30660c] check-in: [cb1fc580ea] user: sebres branch: core-8-6-branch, size: 128500
2018-05-07
14:33
merge core-8-6-branch file: [738c6a45a6] check-in: [cb43f6d65a] user: pooryorick branch: core-8-branch, size: 122804
07:43
Deduplicate code in INST_STR_CMP, StringCmpCmd, and StringEqualCmd. file: [eaff606957] check-in: [1841bf54d1] user: pooryorick branch: core-8-6-branch, size: 128372
07:42
merge 8.7 file: [99884f942c] check-in: [aa4790b28f] user: jan.nijtmans branch: trunk, size: 127503
07:40
Remove some tip389 restrictions in test-cases, which are no longer necessary. Eliminate gcc compiler warnings when compiling with -DTCL_UTF_MAX=6 Other code clean-up and comment improvements. No change in functionality. file: [7727d83daf] check-in: [385fda311b] user: jan.nijtmans branch: core-8-branch, size: 127521
2018-05-06
18:13
Factor options handling out of StringCmpCmd. file: [de0a00f243] check-in: [88e60c5289] user: pooryorick branch: core-8-6-branch, size: 131970
13:45
Preparation to deduplicate code between byte-compiled and legacy implementations of [string compare]. file: [dd376a9a18] check-in: [e423459fce] user: pooryorick branch: core-8-6-branch, size: 131476
2018-04-25
13:39
merge 8.7 file: [46d1196a7d] check-in: [84f04d0eb5] user: dgp branch: dgp-string-insert, size: 128970
13:02
merge 8.7 file: [dcba41e419] check-in: [c16d974b49] user: dgp branch: tip-445, size: 127580
2018-04-24
13:12
merge 8.7 file: [3506f2a6d4] check-in: [9d5aba59fd] user: dgp branch: mistake, size: 127533
2018-04-20
10:18
merge 8.7 file: [06af1b8f82] check-in: [149309017e] user: jan.nijtmans branch: trunk, size: 127511
10:16
TIP #389 implementation. file: [1fc99332bb] check-in: [e109760b1c] user: jan.nijtmans branch: core-8-branch, size: 127529
2018-04-16
23:01
Merge trunk. Update (internal) Trim* functions to use size_t file: [b2d2c84231] check-in: [5064787134] user: jan.nijtmans branch: memory-API, size: 127561
13:41
merge 8.7 file: [6482b43a65] check-in: [0b2e37e7c2] user: dgp branch: trunk, size: 127483
2018-04-15
22:01
Merge trunk file: [4c0e4e23fb] check-in: [ee95a2c1be] user: jan.nijtmans branch: memory-API, size: 127545
2018-04-11
16:17
merge 8.7 file: [052f13b8bd] check-in: [fdf9328219] user: dgp branch: tip-389, size: 127535
2018-04-07
17:07
merge 8.7 file: [5096c24735] check-in: [faf8c0b052] user: dgp branch: tip-445, size: 127552
17:07
merge 8.6 file: [8bd637f7d3] check-in: [82ddedafd7] user: dgp branch: core-8-branch, size: 127501
17:02
merge 8.6 file: [e16dcfb3d0] check-in: [d68658bdfc] user: dgp branch: mistake, size: 127505
16:56
merge 8.5 file: [f615e57072] check-in: [0d32dfc5f0] user: dgp branch: core-8-6-branch, size: 128586
16:55
Correct out-of-date documentation for [string is]. file: [2e7d1e4660] check-in: [c3a1f0b5e9] user: dgp branch: core-8-5-branch, size: 104603
2018-03-30
12:32
Rebase TIP 502 draft implementation. file: [ecdb0afac7] check-in: [13095e7fe4] user: dgp branch: tip-502, size: 127517
2018-03-21
16:26
A compiler for [string insert] mirroring the one for [linsert]. file: [5cf6b57e37] check-in: [8feb3acbd5] user: dgp branch: dgp-string-insert, size: 128954
15:31
Rebooting a [string insert] implementation branch, bringing over pieces from the past branches and merging against the updated index parsing machinery. file: [90ca993a5d] check-in: [41eb59e341] user: dgp branch: dgp-string-insert, size: 128933
2018-03-15
14:37
merge 8.7 file: [6f69565fd4] check-in: [d1e80d709a] user: dgp branch: tip-389, size: 127547
14:23
merge 8.7 file: [2622b87dc1] check-in: [4f13fe6bce] user: dgp branch: tip-445, size: 127564
2018-03-14
23:06
there's still more file: [fe45b09bf6] check-in: [f9ea1f5e64] user: dgp branch: mistake, size: 127170
17:21
merge 8.7 file: [94d3307750] check-in: [86f7de7c98] user: dgp branch: trunk, size: 127495
17:20
unused variable fix file: [7c72da0996] check-in: [67e1ea3939] user: dgp branch: core-8-branch, size: 127513
16:17
merge 8.7 file: [ffe253f1c5] check-in: [961ccb69d2] user: dgp branch: trunk, size: 127535
15:17
New routine TclStringReplace() serves as a common implementation for both compiled and direct eval paths of [string replace]. One routine to debug, optimize, convert to new data structures, etc. This routine will also make a good core engine for [string insert]. With this refactoring done, the value of the INST_STR_REPLACE instruction is no longer clear. Until now, the value of compiling to it was that it routed you through the "better" of the two implementations. An instruction that does nothing different from what invocation to the direct eval fallback would do does not have obvious value. file: [8b528d7156] check-in: [190272213a] user: dgp branch: core-8-branch, size: 127553
05:51
merge 8.7 file: [10860abbe6] check-in: [3ba4c8e05a] user: dgp branch: trunk, size: 127789
01:30
merge 8.6 file: [d62796dd5b] check-in: [ad1f243d40] user: dgp branch: core-8-branch, size: 127807
00:53
merge 8.5 file: [27a02ef30e] check-in: [4fd30be85b] user: dgp branch: core-8-6-branch, size: 128598
00:03
Make TclTrim* routines robust against some malformation in inputs. Better than access violations and panics! file: [6aa31c7319] check-in: [e2a4fef6e1] user: dgp branch: core-8-5-branch, size: 104615
2018-03-13
18:52
remove unexpected panic by TclTrimLeft/TclTrimRight, handling rewritten: - instead of check the NTS-byte after string (may cause segfault by access violation if out of range), it checks now the end-character is well-formed utf8-sequence; - both work well now on non-NTS strings (without null character at end); - additionally fixed wrong offsets (trim-length if last char malformed in case of out of range); new function TclTrim introduced (as combination of TclTrimLeft/TclTrimRight). file: [483f1ec06b] check-in: [b3969d0fab] user: sebres branch: sebres-8-5-fix-trim-on-mailformed, size: 104116
17:30
merge 8.7 file: [e450f5a7e1] check-in: [ff0766467e] user: dgp branch: trunk, size: 127863
17:14
merge 8.6 file: [5405e74a42] check-in: [1a04240e68] user: dgp branch: core-8-branch, size: 127881
03:26
Merge new test and comments from 8.5 to demo that INST_STR_REPLACE is bad. file: [b8376dbb42] check-in: [d50c1e61f1] user: dgp branch: core-8-6-branch, size: 128672
03:15
Tidy up and comment [string replace] and its corner cases. file: [4add336733] check-in: [dfe3934edb] user: dgp branch: core-8-5-branch, size: 104689
2018-03-12
14:49
merge 8.7 file: [abd61eb581] check-in: [e2316b333f] user: dgp branch: trunk, size: 127679
14:17
merge 8.6 file: [d34902cdf8] check-in: [87fbb05e7f] user: dgp branch: core-8-branch, size: 127697
02:48
It is confusingly stupid to use variable "length" to hold an actual length in part of a routine, and hold an end index value later. file: [8cda65341d] check-in: [4d996dc6aa] user: dgp branch: core-8-6-branch, size: 128488
2018-02-26
18:17
merge amg-string-insert updates file: [d916103abd] check-in: [98f0601375] user: dgp branch: sebres-string-insert-cr1, size: 128551
2018-02-23
18:08
merge 8.7 file: [33af5c8d74] check-in: [8d012d639c] user: dgp branch: amg-string-insert, size: 128556
18:01
merge 8.7 file: [22865fb50f] check-in: [9d0eb0566c] user: dgp branch: tip-445, size: 127295
2018-02-22
21:17
merge trunk file: [cbaf4422f5] check-in: [709a045dbb] user: jan.nijtmans branch: memory-API, size: 127276
2018-02-15
19:54
Use internalRep.wideValue as internal representation for booleans. This simplifies the handling of "int" resp "boolean", sharing its internal representation. file: [b47f597e2b] check-in: [9376106350] user: jan.nijtmans branch: trunk, size: 127226
18:02
Distingish between boolean and int when checking whether a boolean is true or not: The internal representation might be either long or wideInt. file: [609721cacc] check-in: [b1bcf543c8] user: jan.nijtmans branch: core-8-branch, size: 127244
2018-02-13
18:55
Implemetation of tip 501. Note: The build fails with: bad stack depth computations: is 0, should be 1 Abort trap: 6 When "string is dict" is called file: [c4926cf5e5] check-in: [46ed8c3c33] user: hypnotoad branch: tip-501, size: 128230
2018-02-09
20:57
merge 8.7 file: [f60eb73df3] check-in: [d200f0036e] user: dgp branch: amg-string-insert, size: 128586
2018-02-06
21:11
merge 8.7 file: [73942a844c] check-in: [f7dba39527] user: dgp branch: tip-445, size: 127325
21:08
merge trunk file: [f5a4df010c] check-in: [a233811733] user: jan.nijtmans branch: memory-API, size: 127325
20:54
merge core-8-branch file: [a50e8191b4] check-in: [30f95df8b0] user: jan.nijtmans branch: trunk, size: 127275
20:07
TIP 484: Merge 'int' and 'wideInt' Obj-type to a single 'int' file: [ff03e20f4a] check-in: [4f6d4a2b15] user: dgp branch: core-8-branch, size: 127274
19:10
Rework TclStringReverse to consistent standard form. file: [dd9ffdc42c] check-in: [40a7339d29] user: dgp branch: dgp-string-tidy, size: 127431
18:33
TclStringLast fixed. file: [2990065247] check-in: [514c7bb735] user: dgp branch: dgp-string-tidy, size: 127413
17:26
Rename TclStringFind to TclStringFirst. Repair its operations on bytearrays. Stop trying to operate on utf-8 until we nail that down better. file: [29a3c1cb56] check-in: [d37a7eed5d] user: dgp branch: dgp-string-tidy, size: 127550
2018-02-05
16:34
Revise the TclStringCat() interface to follow a common pattern. file: [8ecd1900dc] check-in: [77b878eb09] user: dgp branch: dgp-string-tidy, size: 127682
16:10
Revise TclStringRepeat() interface so that in place operations are done only by caller request. Establish a re-usable pattern. file: [42e5645ad5] check-in: [87c1b5cb88] user: dgp branch: dgp-string-tidy, size: 127845
2018-01-31
12:18
Change Tcl_Token definition (int -> size_t). Many related code-changes. file: [2797ab2611] check-in: [e3a724b790] user: jan.nijtmans branch: memory-API, size: 127873
2018-01-26
21:09
merge amg-string-insert updates file: [1161bc6492] check-in: [fbf1c81f32] user: dgp branch: sebres-string-insert-cr1, size: 129129
13:29
Rename (internal) TclNewWideObj macro to TclNewIntObj. Change Tcl_SetIntObj/Tcl_SetLongObj to macro's referencing Tcl_SetWideIntObj (since all of those do the same now) file: [c034bfbf9b] check-in: [b162d433dc] user: jan.nijtmans branch: no-wideint, size: 127665
2018-01-25
19:36
merge 8.7 file: [07d1cbfcae] check-in: [aedd087091] user: dgp branch: amg-string-insert, size: 129134
2018-01-22
08:41
merge core-8-branch file: [64eafe0484] check-in: [63ddd9b65a] user: jan.nijtmans branch: no-wideint, size: 127666
2018-01-18
14:05
merge 8.7 file: [57ae1f931b] check-in: [d72a37bafb] user: dgp branch: tip-389, size: 127856
13:32
merge 8.7 file: [0396b771e7] check-in: [bac2c99230] user: dgp branch: tip-445, size: 127881
2018-01-11
15:59
merge core-8-branch. Remove left-over debugging code. Test-case string-5.21 still fails. file: [a3b8a8f8a1] check-in: [ad24e66451] user: jan.nijtmans branch: tip-389, size: 127857
14:11
Add test-cases for bug [11ae2be95dac9417], and make a start fixing it. Almost works. file: [84c0c3c6d6] check-in: [6758341b2f] user: jan.nijtmans branch: tip-389, size: 127940
2017-12-06
12:00
merge core-8-branch file: [3863c5902b] check-in: [bd596603e2] user: jan.nijtmans branch: no-wideint, size: 127667
2017-12-01
15:03
merge trunk file: [605fa8d1a4] check-in: [e008d0adce] user: jan.nijtmans branch: memory-API, size: 127861
2017-11-30
17:52
merge 8.7 file: [049bb53164] check-in: [1e5dc1b17c] user: dgp branch: tip-445, size: 127882
16:18
merge core-8-branch file: [ebb87abd1d] check-in: [3d9c34fb19] user: jan.nijtmans branch: tip-485, size: 127822
2017-11-29
09:49
Fix [8e1e31eac0fd6b6c4452bc108a98ab08c6b64588|8e1e31eac0]: lsort treats NUL chars strangely file: [d9eba04b90] check-in: [e2a6110884] user: jan.nijtmans branch: tip-389, size: 127823
2017-11-21
09:13
Revert [d874801c57]: putting back "string bytelength". It turns out to be too complicated to take along with the other deprecations in TIP #485 file: [5801bd6f13] check-in: [db112bb527] user: jan.nijtmans branch: tip-485, size: 127819
2017-11-20
16:01
merge core-8-branch. Deprecate support for "string bytelength" file: [60e14350c6] check-in: [d874801c57] user: jan.nijtmans branch: tip-485, size: 128006
2017-11-17
12:34
merge zipfs file: [b0deea125b] check-in: [721f1c35f5] user: jan.nijtmans branch: androwish, size: 128053
2017-11-15
14:13
Merge dgp's "end-int-registration" branch, but slightly different: In stead of not registering "int", continue to register it as being "wideInt" for Tcl 8.x. This should assure maximum compatibility with Tcl 8.6-based extensions. In addition, revert some boolean-related changes (keep the longValue usage here in stead of wideValue). And stop registering oldBoolean starting with Tcl 9. file: [f1c6f24f6f] check-in: [d1aa4663ab] user: jan.nijtmans branch: no-wideint, size: 127664
2017-11-14
18:52
merge 8.7 file: [ed12f83a72] check-in: [673e6ace67] user: dgp branch: tip-445, size: 127879
18:19
merge 8.7 file: [fb386d24a8] check-in: [ccd961edbd] user: dgp branch: no-wideint, size: 127664
2017-11-13
11:47
merge novem file: [1e409b71e1] check-in: [b066227b02] user: jan.nijtmans branch: novem-more-memory-API, size: 127858
09:43
merge trunk file: [7d1b94a109] check-in: [bb4c02db34] user: jan.nijtmans branch: novem, size: 127854
2017-11-10
08:49
merge core-8-6-branch file: [6783aa247b] check-in: [3d5a87d84a] user: jan.nijtmans branch: core-8-branch, size: 127820
08:40
Make "string split" and "string is (alpha|graph|...)" work as expected with Unicode chars > U+ffff, when Tcl is compiled with TCL_UTF_MAX == 4. No effect when TCL_UTF_MAX == 3 or TCL_UTF_MAX == 6. Test-case added for "string split". file: [79972f7177] check-in: [2135bb7772] user: jan.nijtmans branch: core-8-6-branch, size: 128035
2017-11-07
12:15
Somewhat simplified implementation of TIP #389, in which the "string length" if characters > U+FFFF is considered to be 2, not 1. file: [89ad3d9388] check-in: [d224d38a6d] user: jan.nijtmans branch: tip-389, size: 127686
2017-11-01
12:35
Finally, get rid of tclWideIntType completely file: [92b4314732] check-in: [01d55bd3e1] user: jan.nijtmans branch: no-wideint, size: 127258
2017-10-30
14:32
more progress in code simplifications file: [9f1fea3e53] check-in: [3876616fc4] user: jan.nijtmans branch: no-wideint, size: 127342
08:47
Experimental branch meant to eliminate the "wideint" type, just merge it to a single "int" type. No effect on linux64 and similar systems, code simplification for Win64 and 32-bit system. No TIP yet, implementation ongoing. file: [91b887f440] check-in: [c2abe1efd0] user: jan.nijtmans branch: no-wideint, size: 127414
2017-10-20
12:36
Merge core-8-6-branch (execpt file win/makefile.vc) file: [86e4b2e5d6] check-in: [0c840ffac5] user: dgp branch: sebres-8-6-clock-speedup-cr1, size: 136972
2017-10-06
19:52
compiled [string insert]: rewritten via INST_STR_REPLACE (with operand); compiled [string replace]: because of variable stack length now, replace without replacement (remove) don't push empty object; op1#0 - insert, op1#1 - replace, op1#2 - remove file: [b325b06d2c] check-in: [1ecff38fdd] user: sebres branch: sebres-string-insert-cr1, size: 128721
2017-09-23
16:36
Simplify implementation of non-bytecoded [string replace] file: [aaf33d5910] check-in: [e2718c364b] user: andy branch: amg-string-insert, size: 128726
2017-09-18
01:38
Rename Tcl_StringReplace() to Tcl_ReplaceObj() for consistency with other public string object functions, most notably Tcl_ConcatObj() file: [24a5ad5150] check-in: [e5bf34271e] user: andy branch: amg-string-insert, size: 128800
00:32
Implement bytecoded [string insert] file: [efd08b30a6] check-in: [064fc1f23c] user: andy branch: amg-string-insert, size: 128806
2017-09-10
13:35
merge novem file: [87e1070f4a] check-in: [4fa9cc2903] user: jan.nijtmans branch: novem-more-memory-API, size: 127452
2017-09-01
00:52
merge trunk file: [7de8d4d822] check-in: [c3fbabfb73] user: dgp branch: tip-445, size: 127473
2017-08-30
15:22
Merge trunk file: [62d0495e86] check-in: [0def7d0317] user: andy branch: amg-string-insert, size: 128785
15:20
Rename TclStringReplace() to Tcl_StringReplace() and add to the stubs table. Documentation not yet started. file: [4f6b1edf72] check-in: [678e846973] user: andy branch: amg-string-insert, size: 128765
2017-08-29
09:19
Merge trunk file: [142d15649c] check-in: [f2f6504adb] user: jan.nijtmans branch: novem, size: 127448
2017-08-25
13:46
Merge trunk file: [d8b7b3dadd] check-in: [c841475a89] user: jan.nijtmans branch: tip-389-impl, size: 127641
2017-08-20
03:45
Add string-14.18 to test that [string replace] with last<first does not insert a string, even though we might wish that it did, to be in compliance with the documented behavior. Correct non-bytecoded [string replace] accordingly. file: [eb8abbc6b1] check-in: [de104ef5ab] user: andy branch: amg-string-insert, size: 128763
03:21
Reimplement NON-BYTECODED [string replace] in terms of new TclStringReplace() function file: [5f82d7d2f9] check-in: [c0036938dd] user: andy branch: amg-string-insert, size: 128747
02:44
Work toward dgp's suggestion that the underlying engine handle both [string insert] and [string replace]. Ref: [https://sourceforge.net/p/tcl/mailman/message/36002472/] file: [40c5735afb] check-in: [0cfeecb740] user: andy branch: amg-string-insert, size: 128624
2017-08-18
22:06
merge core-8-6-branch file: [edcad0efde] check-in: [75da8b29f8] user: jan.nijtmans branch: trunk, size: 127414
2017-08-16
15:14
Test code to investigate command ensemble argument reference counts file: [2587611def] check-in: [b163c4f423] user: andy branch: amg-string-insert, size: 128567
2017-08-15
08:04
Remove repeated code file: [2ef2a83e18] check-in: [d83ac7baf8] user: andy branch: amg-string-insert, size: 128408
07:50
Begin implementation of [string insert] file: [f0ec579265] check-in: [cbfded0f59] user: andy branch: amg-string-insert, size: 128472
2017-07-10
11:31
merge core-8-6-branch file: [6595136c1f] check-in: [1e6415bbda] user: sebres branch: sebres-8-6-event-perf-branch, size: 136908
2017-06-26
20:14
merge trunk file: [c8a48e8460] check-in: [b9b632a2ca] user: dgp branch: tip-445, size: 127453
2017-06-23
15:05
merge trunk file: [09df1a9770] check-in: [d3b73e481b] user: jan.nijtmans branch: novem, size: 127428
13:11
typo fix file: [f5f60fee69] check-in: [b3af99ceb9] user: dgp branch: trunk, size: 127394
12:28
Repair compiler warning about uninitialized value. file: [a7deb7ada3] check-in: [d06a0b65c1] user: dgp branch: trunk, size: 127395
09:14
Merge trunk (but without %#d format, pending further decision and bug-fixing) file: [df8b71c5c4] check-in: [818930fdcd] user: jan.nijtmans branch: novem, size: 127456
2017-06-22
12:25
merge trunk file: [7a03d68a7a] check-in: [d26f75a105] user: dgp branch: tip-463, size: 127422
2017-06-16
20:28
merge trunk file: [cce8ae0335] check-in: [2b4060cef5] user: dgp branch: tip-445, size: 123998
2017-06-09
12:20
merge trunk file: [5648b4b43d] check-in: [ee2c5cf945] user: jan.nijtmans branch: tip-389-impl, size: 124186
11:48
merge novem file: [f022e269a8] check-in: [f687ce6a36] user: jan.nijtmans branch: novem-more-memory-API, size: 123977
2017-06-08
12:59
merge trunk file: [f91a7795b9] check-in: [7b30d63181] user: jan.nijtmans branch: novem, size: 123973
08:47
merge zipfs. Upstream androwish changes. file: [df94a87996] check-in: [cf6e40cbd2] user: jan.nijtmans branch: androwish, size: 127647
08:26
Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3 file: [9588f18a25] check-in: [5ae46a0093] user: jan.nijtmans branch: rfe-6c0d7aec67, size: 127629
2017-06-07
15:23
merge core-8-6-branch file: [057900fadb] check-in: [eba046ff54] user: jan.nijtmans branch: trunk, size: 123939
15:21
merge core-8-6-branch file: [cc7b426651] check-in: [9cc60b112d] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr1, size: 136952
15:18
Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other simplifications/optimizations. No functional change. file: [54d90887fd] check-in: [b96e8d7611] user: jan.nijtmans branch: core-8-6-branch, size: 127609
12:38
Clock options should be alphabetica (so "-base" first). Struct members should start with lowercase. file: [83d4eb4532] check-in: [e6cadbd013] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr1, size: 136953
10:40
Fix LookupLastTransition() for behavior when tick < compVal, undo Tcl_EvalObjEx -> TclEvalObjEx change, eliminate two inline macro's which are only used once. Eliminate many unnecessary MODULE_SCOPE declarations (duplicated with header files) file: [d793a6aa32] check-in: [0c978a034b] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr1, size: 136971
2017-06-02
08:12
Merge core-8-6-branch. This removes the work currently being done in "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. file: [68ea9b1552] check-in: [3527801f9f] user: jan.nijtmans branch: trunk, size: 123964
2017-05-31
12:51
merge trunk file: [6e42d765ec] check-in: [f07a85fee0] user: jan.nijtmans branch: tip-389-impl, size: 133464
09:19
merge core-8-6-branch (except: the "timerate" command and the clock performance-tests are kept) file: [c5087bc250] check-in: [1922f2d481] user: jan.nijtmans branch: trunk, size: 133217
2017-05-23
14:57
merge trunk file: [311c4559d1] check-in: [9430d4c198] user: jan.nijtmans branch: tip-389-impl, size: 124187
2017-05-16
12:41
back-ported branch sebres-8-6-timerate (new command "timerate" for 8.5) file: [f26a0cc58c] check-in: [c8c40eda06] user: sebres branch: sebres-8-5-timerate, size: 113364
2017-05-09
21:58
back-ported branch sebres_trunk_timerate (new command "timerate" for 8.6) file: [968e2677b1] check-in: [aa888d99ab] user: sebres branch: sebres-8-6-timerate, size: 136909
2017-05-04
11:35
merge novem file: [581b704c65] check-in: [70b0b53b8a] user: jan.nijtmans branch: novem-more-memory-API, size: 123978
2017-04-13
10:00
Merge trunk file: [2e977b3f75] check-in: [0169fbc878] user: jan.nijtmans branch: tkt3328635-posix-monotonic-clock, size: 123958
2017-03-07
11:35
timerate: don't calculate threshold by too few iterations, because sometimes first iteration(s) can be too fast (cached, delayed clean up, etc). file: [bb97cccf5e] check-in: [e2fc653f78] user: sebres branch: sebres-trunk-timerate, size: 133239
2017-03-06
20:18
merge trunk file: [5cdce0dbe6] check-in: [5770326f2f] user: sebres branch: sebres-trunk-timerate, size: 133045
2017-02-18
18:38
Add documentation of [regsub -command]. file: [2389bb72e8] check-in: [ca85c6e424] user: dkf branch: tip-463, size: 127423
16:24
Testing for some error cases. file: [05aaaa39ad] check-in: [5db1e4b6bc] user: dkf branch: tip-463, size: 127417
2017-02-17
09:20
Stop problems with representation smashes. file: [8fafbd9a57] check-in: [4cedaaf0b1] user: dkf branch: tip-463, size: 127162
06:08
Switch to using command prefixes properly. This is quite a bit faster. file: [ab0e797664] check-in: [5a5b6340e8] user: dkf branch: tip-463, size: 126996
2017-02-11
21:36
Proposed implementation of [regsub -command]. file: [89c9b875f7] check-in: [a087f987e8] user: dkf branch: tip-463, size: 125794
2017-02-09
13:59
merge trunk file: [1788b9e016] check-in: [f16876b377] user: dgp branch: tip-445, size: 123999
11:34
resolve warning: enumeration value ‘TMRT_LAST’ not handled in switch (impossible to handle in switch because of break); file: [2ed7af4c96] check-in: [843daedfe7] user: sebres branch: sebres-trunk-timerate, size: 131962
2017-02-07
19:36
resolve warning: enumeration value ‘TMRT_LAST’ not handled in switch (impossible to handle in switch because of break); file: [8bca140473] check-in: [4cb3b2644e] user: sebres branch: sebres-trunk-timerate, size: 132265
19:35
[timerate] bug fix: missing scale conversion by Mac OSX on platform where 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) # Conflicts: # win/tclWinTime.c file: [63cb60e8fb] check-in: [6554392102] user: sebres branch: sebres-trunk-timerate, size: 132280
2017-02-03
14:03
merge trunk file: [6c99332faf] check-in: [052d6fe213] user: jan.nijtmans branch: novem, size: 123974
2017-01-09
19:09
New performance measurement routine "timerate" in opposition to "time" the 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? file: [399f730a0e] check-in: [886773ba3b] user: sebres branch: sebres-trunk-timerate, size: 131977
2017-01-05
11:55
Merge trunk. Improve test-case. Bring back "source -nopkg", but only as undocumented internal helper for ::tcl::Pkg::source. file: [fa741ade06] check-in: [8857d5cd3e] user: jan.nijtmans branch: package_files, size: 123940
2017-01-04
14:05
Merge trunk. First steps in eliminating "source -nopkg". Some test-cases still fail. file: [460edc36d3] check-in: [a4eab161ae] user: jan.nijtmans branch: package_files, size: 123816
2016-12-23
15:21
merge trunk file: [4f76d6e6d8] check-in: [01d8a401a8] user: dgp branch: tip-445, size: 123219
08:27
Eliminate the internal macro/function TclNewIntObj: In all cases TclNewLongObj is just as good. file: [023d07a391] check-in: [d12ed0fcc6] user: jan.nijtmans branch: trunk, size: 123160
2016-12-19
10:42
merge novem file: [ae076826d5] check-in: [10c36e48f6] user: jan.nijtmans branch: novem-more-memory-API, size: 123198
2016-12-08
17:52
Bring back stub table in original state. Merge trunk file: [eb75fc07c3] check-in: [7054e2f2eb] user: jan.nijtmans branch: package_files, size: 123815
2016-11-30
14:27
Merge trunk file: [33d45b2972] check-in: [39918e8e32] user: jan.nijtmans branch: novem, size: 123194
03:16
merge trunk file: [ea0e7a2687] check-in: [c2b9c28871] user: dgp branch: tip-445, size: 123218
03:08
Route all [string repeat] operations through a common implementation. Code that to preserve bytearrays, eliminate unnecessary string rep generation, increase efficiency, and encapsulate access to internal rep details. file: [e1d0b95baf] check-in: [e6e6fee0e1] user: dgp branch: trunk, size: 123159
2016-11-28
16:08
merge trunk file: [9951b8806d] check-in: [9174c893f4] user: dgp branch: tip-445, size: 124769
13:17
Complete implementation, tests and documentation file: [08a8a2d39f] check-in: [6a2f13e8d2] user: jan.nijtmans branch: package_files, size: 125562
2016-11-25
15:06
Merge trunk. Implementation looks complete. Still missing: test-cases and documentation. file: [1ac7f48df4] check-in: [1ae9161edd] user: jan.nijtmans branch: package_files, size: 124905
2016-11-24
11:57
merge trunk. Make epoch in Tcl_DictSearch "unsigned int". This doubles the epoch range here. Use 0 as special value in stead of -1 (so start counting epoch's with 1). file: [d80dd9a90a] check-in: [5fe02150a3] user: jan.nijtmans branch: novem, size: 124941
10:26
typos file: [af634fb0c7] check-in: [7df0e4369e] user: jan.nijtmans branch: trunk, size: 124906
2016-11-14
12:16
merge trunk file: [f7bfdb29e4] check-in: [56c05639b5] user: dgp branch: tip-445, size: 124768
2016-11-10
15:13
merge trunk file: [dbbcbf591f] check-in: [8d4c5a08c5] user: jan.nijtmans branch: novem, size: 124940
2016-11-08
02:56
Route all [string last] operations through a common implementation. file: [71b6a93d2b] check-in: [6622b74446] user: dgp branch: trunk, size: 124905
2016-11-07
19:28
Implement direct eval [string first] with the refactored engine. file: [54664167bd] check-in: [7fb4fda651] user: dgp branch: dgp-string-find, size: 126067
2016-11-01
16:29
merge trunk file: [9d4385914a] check-in: [2d438eeb1d] user: dgp branch: novem, size: 127593
16:18
merge trunk file: [11ce56eacb] check-in: [ed328bc1b1] user: dgp branch: tip-445, size: 127419
2016-10-28
20:33
WIP file: [941f9ddc07] check-in: [8f63620a09] user: dgp branch: dgp-string-cat, size: 127556
2016-10-27
19:39
Start bringing all `string cat` operations into one place so it can be coded correctly one time instead of badly multiple times. file: [9729aaa5b1] check-in: [30418debb6] user: dgp branch: dgp-string-cat, size: 127534
2016-10-21
13:25
merge trunk file: [4ca3f680ec] check-in: [e8a67dbd32] user: dgp branch: novem, size: 127655
2016-10-20
16:37
merge trunk file: [d5b82fc1e3] check-in: [b1dcc7542c] user: dgp branch: tip-445, size: 127481
2016-10-18
19:16
Use memcmp where possible. file: [0152707a48] check-in: [1799506222] user: dgp branch: trunk, size: 127618
2016-10-11
18:19
merge trunk file: [d4d05628f3] check-in: [bd685a542e] user: dgp branch: novem, size: 127649
2016-10-07
19:04
Use the new purity test. file: [ec890a914b] check-in: [698059b100] user: dgp branch: tip-445, size: 127475
18:53
merge trunk file: [0e894e1ac6] check-in: [197b134426] user: dgp branch: tip-445, size: 127466
18:52
Update [string map] tests to get illustration of need for pure dict restriction up to date with ordered dicts. file: [ab660ed028] check-in: [89ba7d62f0] user: dgp branch: trunk, size: 127612
2016-09-26
09:35
[3328635] Latest patch from Christian Werner file: [ee4062fd2f] check-in: [965d56c3af] user: jan.nijtmans branch: tkt3328635-posix-monotonic-clock, size: 127628
2016-08-30
13:57
merge trunk file: [45a67293f6] check-in: [2a530e021b] user: jan.nijtmans branch: tip-389-impl, size: 127857
2016-07-09
17:21
merge trunk file: [9e2fd8445d] check-in: [c991627aa9] user: dgp branch: tip-445, size: 127464
2016-07-07
07:54
merge trunk file: [6075402b0d] check-in: [33e8f920fa] user: jan.nijtmans branch: novem, size: 127647
2016-07-06
15:50
Simplify all the Tcl_NRPostProc declarations. file: [195989ef11] check-in: [1c9802632e] user: dgp branch: core-8-6-branch, size: 127610
2016-04-19
20:35
Fork of Tcl used in the "Little" project. http://www.mcvoy.com/lm/little/index.html file: [58de718c07] check-in: [69b737f5a1] user: dgp branch: little, size: 127108
2016-03-30
20:03
The following patch against a stock tcl 8.6.5 source tree tries to implement most of TIP #302 for UN*X and WIN32/64: * use clock_gettime(CLOCK_MONOTONIC) for relative timing (UN*X) when available (tested at runtime) * use PTHREAD_CONDATTR_SETCLOCK et.al. for pthread_cond (UN*X) when available (tested at runtime) * use GetTickCount64() for relative timing (WIN64) * use GetTickCount() for relative timing (WIN32 for WINNT<6.0) * configure (UN*X) detects availabilty of clock_gettime() and pthread_condattr_setclock() plus adds optional -lrt to LIBS * configure (WIN32) adds command line option --with-tickcount to turn on GetTickCount*() usage Trade-off: implementation eliminates virtualized time, unfortunately. Best regards, Christian Werner --- missing merge --- diff -ur tcl8.6.5-orig/win/configure.in tcl8.6.5/win/configure.in --- tcl8.6.5-orig/win/configure.in 2016-02-29 20:13:09.000000000 +0100 +++ tcl8.6.5/win/configure.in 2016-03-25 06:47:47.712516747 +0100 @@ -142,6 +142,15 @@ ]) AC_DEFINE(HAVE_ZLIB, 1, [Is there an installed zlib?]) +AC_ARG_WITH(tickcount, + AC_HELP_STRING([--with-tickcount], + [use GetTickCount for timers, turns off interp time limits]), + [tcl_ok=$withval], [tcl_ok=no]) +AC_MSG_RESULT([$tcl_ok]) +if test $tcl_ok = yes; then + AC_DEFINE(WIN32_USE_TICKCOUNT, 1, [Use GetTickCount for timers?]) +fi + AC_CHECK_TYPE([intptr_t], [ AC_DEFINE([HAVE_INTPTR_T], 1, [Do we have the intptr_t type?])], [ AC_CACHE_CHECK([for pointer-size signed integer type], tcl_cv_intptr_t, [ file: [cb2234f550] check-in: [6fa1088680] user: oehhar branch: tip-302, size: 128736
2016-03-27
17:07
A few more easy conversions. file: [3aed0dcc2c] check-in: [bb2b614cc5] user: dgp branch: tip-445, size: 127656
2016-03-24
19:21
Revise Tcl_InitStringRep() to do non-panic attempt at allocation. Let caller decide how catastrophic it is. Revise [string repeat] to use new routine. file: [3c2493e0a7] check-in: [9173ce5731] user: dgp branch: tip-445, size: 127606
2016-03-22
16:09
Update all Unicode tables to version 9.0 beta file: [2986f5e695] check-in: [203b8dcd6c] user: jan.nijtmans branch: tip-389-impl, size: 128049
2016-01-30
23:48
NRE API change: callbacks now have three void* arguments (prev. 4) file: [1e9b10e621] check-in: [38ac69064d] user: msofer branch: mig-opt2-tmp, size: 124510
2016-01-18
06:12
introduce macros NRE_JUMP and NRE_NEXT to abstract the NRE mechanism, previous to introducing an alternative to the trampoline implementation; no functional change for now file: [da6a941b6c] check-in: [ea7d514026] user: msofer branch: mig-opt2-tmp, size: 124271
2016-01-14
03:37
remove callback in for/while, was required for tip 280 file: [6a6429405b] check-in: [62d0f684a5] user: msofer branch: mig-opt2-tmp, size: 124253
2016-01-11
00:49
no-280 branch, it still has many errors file: [8f9482381d] check-in: [ede41c1946] user: msofer branch: mig-opt2-tmp, size: 124472
2015-10-07
09:00
merge trunk file: [ec2709371b] check-in: [c1a52531aa] user: jan.nijtmans branch: tip-389-impl, size: 128054
2015-10-01
11:04
Eliminate a few gcc compiler warnings, when using -Wwrite-strings (tested with the brand-new gcc 5.2.0) file: [75588be729] check-in: [acd5ab176d] user: jan.nijtmans branch: core-8-5-branch, size: 104190
2015-09-29
07:56
merge trunk file: [2e1d710cb2] check-in: [771aa36a1e] user: jan.nijtmans branch: novem, size: 127839
2015-09-28
11:13
Align comment. Remove some end-of-line spacing. No functional changes. file: [65e0c2a1e9] check-in: [fad573cac2] user: jan.nijtmans branch: trunk, size: 127802
2015-01-26
20:51
merge trunk file: [b12c0fec10] check-in: [8b523e16b0] user: dgp branch: bug-3608714, size: 127827
2015-01-17
18:40
apply contributed patch which fixes a segfault file: [933f2a67d7] check-in: [fa50ea7b17] user: jan.nijtmans branch: tip-389-impl, size: 128059
2014-11-14
12:29
Merge trunk. Update to Unicode 8 beta file: [98ca83278b] check-in: [5e0b59a946] user: jan.nijtmans branch: tip-389-impl, size: 128010
2014-08-27
20:58
merge trunk file: [94f37e70ad] check-in: [50170f8f77] user: jan.nijtmans branch: novem, size: 127844
2014-08-05
09:55
More optimized non-BC [string cat] using Tcl_AppendObjToObj() - thx Donal file: [d6cf5f9c8c] check-in: [70c49b9302] user: ferrieux branch: tip-429, size: 127807
2014-08-02
13:04
TIP 429 Implementation: [string cat] file: [8d784d1afe] check-in: [9ce779b099] user: ferrieux branch: tip-429, size: 128348
2014-07-12
16:13
whopper change; now passes test suite on OSX file: [cc862e423f] check-in: [0b38cdbc76] user: dkf branch: bug-d5ddbc7f49, size: 125911
2014-07-10
14:23
merge trunk file: [ac8499d612] check-in: [dc24111d06] user: jan.nijtmans branch: tip-389-impl, size: 126725
2014-06-23
08:41
cleaning up option processing throughout Tcl to use common functions/language file: [2f015302a7] check-in: [7e93a07895] user: dkf branch: bug-d5ddbc7f49, size: 125899
2014-06-20
20:00
merge trunk file: [c1c8d2afb5] check-in: [dede94cd17] user: jan.nijtmans branch: novem, size: 126559
2014-06-17
14:30
[f0f876c141] Improve consistency in error messages. file: [15ce93bbc8] check-in: [fffc281b07] user: dkf branch: trunk, size: 126522
2014-05-01
09:40
Merge trunk. Update Unicode tables to Unicode 7.0 beta. file: [d01ae2a0cd] check-in: [13a1d81916] user: jan.nijtmans branch: tip-389-impl, size: 126645
07:38
Fix more corner-cases like [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. file: [4183bf30ea] check-in: [91be696bf3] user: jan.nijtmans branch: core-8-5-branch, size: 104163
2014-04-30
21:59
Better (safer) fix for [0e92c404f1] file: [80306fd152] check-in: [b8c06f813e] user: jan.nijtmans branch: core-8-5-branch, size: 104249
20:22
Fix [0e92c404f1]: Side effect on string range command (from encoding and format commands) file: [2a6f89f086] check-in: [77a7d8d123] user: jan.nijtmans branch: mistake, size: 103671
2014-02-03
09:53
merge trunk file: [7b9029ef08] check-in: [63547cfbe8] user: jan.nijtmans branch: novem, size: 126545
2014-02-02
16:01
add compilation of [string is] file: [ddf462db48] check-in: [f74647ceeb] user: dkf branch: trunk, size: 126442
2014-01-23
23:12
merge trunk file: [c6823620cf] check-in: [ddec41f466] user: jan.nijtmans branch: novem, size: 126528
2014-01-08
11:04
Make DEFAULT_TRIM_SET a MODULE_SCOPE string constant, so its value can be shared in tclCmdMZ.o and TclCompCmdsSZ.o and it no longer pollutes the tclStringTrim.h header file. file: [7cb85911b9] check-in: [2191bd8485] user: jan.nijtmans branch: trunk, size: 126425
2014-01-07
15:29
Revert Makefile.in changes and remove added tclStringTrim.h header. Otherwise, the same changes would be needed by all other Makefile variants as well. It's much easier to create a single constant string in tclInt.h, and use this one everywhere. DKF: No, because the unix makefile is the only one that tracks this info in any case. JN: OK. My most important remark (sharing of constant strings) is handled in [2191bd8485]. I can very well live with that, so closing this branch. file: [230c220c68] check-in: [acd990a59d] user: jan.nijtmans branch: remove-trim-header, size: 126398
2014-01-02
09:38
merge main working branch file: [846487c567] check-in: [8985308f80] user: dkf branch: dkf-bytecode-8.6/string-is, size: 125085
2013-12-30
11:40
Factor out the definition of the default string trim set; define it once only. file: [5c46f65ed9] check-in: [57c46ae806] user: dkf branch: dkf-bytecode-8.6-main, size: 125068
08:50
merge main working branch file: [cce2ffb1c6] check-in: [ef604e2db9] user: dkf branch: dkf-bytecode-8.6/string-is, size: 126458
08:49
merge main working branch file: [e68925d747] check-in: [dde154938f] user: dkf branch: dkf-bytecode-8.6/eval, size: 125065
2013-12-12
09:57
simple compilation of [string replace] file: [e8c6abf464] check-in: [42c221805b] user: dkf branch: dkf-bytecode-8.6-main, size: 126441
2013-10-29
20:07
Now do [string toupper], [string tolower] and [string totitle]. Only handles the no-indices case; that's the only case anyone actually commonly uses. file: [459904d9fa] check-in: [993ffd1993] user: dkf branch: dkf-bytecode-8.6-main, size: 126419
2013-10-23
08:18
Possible compilation of [eval]. file: [cab3401dea] check-in: [7ccc8e0189] user: dkf branch: dkf-bytecode-8.6/eval, size: 125040
2013-09-30
03:00
First attempt at [string trim] compilation. file: [c5d9ea94ee] check-in: [62a0ec46d8] user: dkf branch: dkf-bytecode-8.6-main, size: 126416
2013-09-26
13:13
merge novem WARNING: No checks of build-ability done yet. file: [24b20422ee] check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 127117
2013-09-08
14:59
*BACKPORT* [3600057]: Filled out missing parts of implementation of [string is double]. DGP - I'm pretty sure this patch is the Wrong Thing (TM) to do. Push over to a branch until we can mutually examine it. file: [4cfc3afedf] check-in: [2759df9850] user: dkf branch: bug-3600057-85, size: 104255
14:48
[3600057]: Filled out missing parts of implementation of [string is double]. DGP - I'm pretty sure this patch is the Wrong Thing (TM) to do. Push over to a branch until we can mutually examine it. file: [e83dde0f78] check-in: [e81ce48725] user: dkf branch: bug-3600057, size: 126419
2013-08-14
14:15
restore all #ifdef TCL_WIDE_INT_IS_LONG, which were accidently removed in [19ff9b95e1] file: [02a762d062] check-in: [7958111476] user: jan.nijtmans branch: novem, size: 126490
2013-06-10
07:36
Update Unicode tables to Unicode 6.3 beta. Merge trunk file: [1c357934f2] check-in: [9e9232f06e] user: jan.nijtmans branch: tip-389-impl, size: 126590
2013-05-28
07:25
merge trunk file: [85c8d174eb] check-in: [03d94f0a34] user: jan.nijtmans branch: novem, size: 126418
2013-05-22
13:07
[3613609]: Replace strcasecmp() with UTF-8-aware version. file: [6fe58cb481] check-in: [89f027f118] user: dkf branch: trunk, size: 126387
2013-05-21
09:27
Proposed solution for 3613609: lsort -nocase does not sort non-ASCII correctly file: [4cd7ea26ef] check-in: [66c30c4369] user: jan.nijtmans branch: bug-3613609, size: 104223
2013-05-07
18:08
merge trunk file: [dc0c39a84b] check-in: [53d0e4fb5c] user: mig branch: mig-no280, size: 122020
2013-05-06
09:08
Change Tcl_UtfNcmp and friend's signature to use size_t in stead of unsigned long. This is potentially binary incompatible on win64, but not on any other platform. It eliminates the need for special stub-wrappers on Cygwin64 for those functions. "novem" doesn't promise binary compatibility anyway. file: [e106a7b90f] check-in: [9bb59c6083] user: jan.nijtmans branch: novem, size: 126415
07:35
merge trunk file: [6de6454757] check-in: [19ff9b95e1] user: jan.nijtmans branch: novem, size: 126488
2013-04-23
14:38
Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG file: [62f242c3bc] check-in: [579f65acc8] user: jan.nijtmans branch: novem, size: 126560
14:15
Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG file: [f5ee599390] check-in: [039d46054a] user: jan.nijtmans branch: trunk, size: 126384
2013-04-09
20:45
3608714 Stop [string replace] refusing to replace empty substrings. file: [e7a30ec34c] check-in: [00e0754b40] user: dgp branch: bug-3608714, size: 126388
2013-02-25
13:38
Merge trunk. Upgrade all tables to Unicode 6.3 (not released yet) file: [9e1144cdcd] check-in: [adf88dd045] user: jan.nijtmans branch: tip-389-impl, size: 126571
2013-02-11
15:53
Still to be TIP'ed. In this branch objTypes are not registered to Tcl any more, and still can do everything. It proves that Tcl_ConvertToType and the toAnyProc in thc Tcl_ObjType struct can be safely removed. Conversion to any specific type must be done by the "Tcl_GetXXXFromObj" type functions. One objType which didn't have such a function yet: "end-offset". This branch replaces this type by an "index" objType with its own Tcl_GetIntForIndex function (which functions the same as the currently private TclGetIntForIndex, only faster...). In addition, it affects Tcl_GetBoolean, which now follows the same same parsing rules as Tcl_GetBooleanFromObj. file: [2cc1e927ec] check-in: [271dbffaf7] user: jan.nijtmans branch: no-register-objtypes, size: 126530
13:50
merge trunk file: [4f136a64de] check-in: [76befed959] user: mig branch: mig-alloc-reform, size: 126220
09:38
Merge trunk. Various Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj modifications file: [f649505e48] check-in: [1b58c7107b] user: jan.nijtmans branch: novem, size: 126544
2013-02-08
13:28
Merge trunk. Eliminate all usage of internal macros: TclNewIntObj, TclNewBooleanObj, TclSetIntObj, TclSetBooleanObj. Change various function to macros: Tcl_NewIntObj, Tcl_SetIntObj, Tcl_NewBooleanObj, Tcl_DbNewBooleanObj, Tcl_SetBooleanObj, Tcl_AddErrorInfo, Tcl_AddObjErrorInfo. file: [a324419b35] check-in: [bb4707eb07] user: jan.nijtmans branch: novem, size: 126545
11:48
merge trunk file: [41b10cbfc6] check-in: [9af350fd79] user: mig branch: mig-no280, size: 122004
2013-02-04
14:15
merge trunk file: [a4be4d546d] check-in: [0439b85bce] user: jan.nijtmans branch: novem, size: 126544
10:51
Eliminate all Tcl_ConvertToType calls and all direct calls to typePtr->setFromAnyProc (except the call from inside the Tcl_ConvertToType function) from the Tcl core. file: [ee4f8d0950] check-in: [af25d8dc8c] user: jan.nijtmans branch: trunk, size: 126368
2013-01-24
10:37
Convert Tcl_GetIndexFromObj implementation to macro file: [fb97a3a701] check-in: [039696e2d8] user: jan.nijtmans branch: novem, size: 126514
2013-01-15
23:08
TEBC is almost gone, down to 44 insts mostly for math. No commands are compiled, all (including [set]) are dispatched via EvalObjv. This is just a removal, redesign and reconstruction still pending ... file: [ec58045eb5] check-in: [da8004af56] user: mig branch: mig-strip-brutal, size: 120751
2013-01-10
21:44
merge mig-nre-mods file: [888cba5348] check-in: [0968a8dae3] user: mig branch: mig-no280, size: 121975
02:38
merge mig-nre-mods file: [055fca5b90] check-in: [7a87611416] user: mig branch: mig-strip-brutal, size: 120268
00:54
more info hiding: stop using the macro version of NRAddCallback file: [0793109515] check-in: [30fa8455a2] user: mig branch: mig-nre-mods, size: 126339
2013-01-08
01:26
merge trunk file: [83e1e9acc6] check-in: [bc7170d76c] user: mig branch: mig-no280, size: 121974
2013-01-06
09:06
nreProc gone for good file: [dc327727ec] check-in: [1a8a7b595d] user: mig branch: mig-strip-brutal, size: 120267
08:02
*REVIEW* nreProc not mentioned anymore in tclBasic.c, but oo-nre is broken (nre.test) file: [6fb9f71945] check-in: [37f98635a5] user: mig branch: mig-strip-brutal, size: 120405
2013-01-04
15:44
merge file: [dfd7f4e9c4] check-in: [7daaf951c4] user: mig branch: mig-strip-brutal, size: 121854
14:34
merge trunk file: [994ec483cb] check-in: [d4b0410564] user: mig branch: mig-alloc-reform, size: 126190
11:06
Add super-simple compiler to many ensemble subcommands to allow better code generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job. file: [d23c7ce776] check-in: [40fef44a65] user: dkf branch: dkf-bytecode-8.6-main, size: 126338
2013-01-01
18:38
merged mig-alloc-reform: MEM_DEBUG is gone, as is the Tcl stack and TclStackAlloc. See also README.mig-alloc-reform file: [8ae0a1121f] check-in: [0b98f38a1d] user: mig branch: mig-strip-brutal, size: 121638
16:54
merge trunk file: [4ecb902056] check-in: [4c4fb7eeec] user: mig branch: mig-no280, size: 121758
2012-12-03
08:11
merge core-8-5-branch eliminate more usage of to-be-deprecated functions file: [bf753772f2] check-in: [976aeca8c6] user: jan.nijtmans branch: better-deprecation-85, size: 104374
2012-11-26
15:40
reducing the number of signed/unsigned hazards file: [99a2e574a2] check-in: [381a588058] user: dkf branch: novem-64bit-sizes, size: 126705
15:31
merge trunk file: [6c5107d091] check-in: [cdc837ae05] user: mig branch: mig-alloc-reform, size: 125974
2012-11-24
12:17
fix number of problems due to signed/unsigned comparisons file: [a72fb4260c] check-in: [88da44219e] user: dkf branch: novem-64bit-sizes, size: 126681
2012-11-23
15:16
the last places that outright crashed file: [e4a17229bf] check-in: [570a8e0df4] user: dkf branch: novem-64bit-sizes, size: 126651
13:57
and a few more fixes file: [9fe960209b] check-in: [f46395821f] user: dkf branch: novem-64bit-sizes, size: 126651
13:53
fix crashing test file: [52ecc001a5] check-in: [2567131f05] user: dkf branch: novem-64bit-sizes, size: 126651
13:49
test suite now doesn't hang file: [f8ccc07b87] check-in: [142af68cf0] user: dkf branch: novem-64bit-sizes, size: 126651
2012-11-21
10:18
more conversion of code, still not running test suite at all file: [0127e570e4] check-in: [e648a1571f] user: dkf branch: novem-64bit-sizes, size: 126655
00:42
converting to use TCL_STRLEN file: [5d9170b2cf] check-in: [2afb72a22d] user: dkf branch: novem-64bit-sizes, size: 126623
2012-11-18
12:41
parser and line number computation engine file: [db263275af] check-in: [717ce64a54] user: dkf branch: novem-64bit-sizes, size: 126547
07:39
Better programming practice, no literal '-1' in source code. Might even be useful for 64bit-sizes branch <p>add TCL_NOSIZE as internal defined for -1, and use it in a lot of places Ass this function argument should be size_t, not ssize_t (still to be TIPped), something like this will be needed anyway. file: [7227a7ab1c] check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 126250
00:06
another batch of conversions file: [64a3e88a47] check-in: [7698b769e5] user: dkf branch: novem-64bit-sizes, size: 126401
2012-11-16
15:40
conversion of many files file: [04b9b62754] check-in: [30983e25c6] user: dkf branch: novem-64bit-sizes, size: 126429
2012-11-05
15:28
merge main dev branch file: [b17b34c561] check-in: [3b9b1bfb43] user: dkf branch: dkf-bytecode-8.6/string-is, size: 126139
14:55
Added bytecode compilation of many Tcl commands, merged from development branch. file: [4f31982878] check-in: [8e20d1a93f] user: dkf branch: trunk, size: 126122
2012-11-03
20:21
Added compilation of [string last] and improved the compilation of [string range]. This in turn enables compilation of [namespace qualifiers] and [namespace tail] (also done). file: [3c6482fe29] check-in: [75cbbc5cf0] user: dkf branch: dkf-bytecode-8.6-main, size: 125090
2012-11-02
16:50
Work on compilation of [string is]. 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). file: [42a8660bb0] check-in: [dd27dc1543] user: dkf branch: dkf-bytecode-8.6/string-is, size: 125088
2012-10-30
18:20
Compilation of [string first] and [string range] (with constant indices). file: [c6263c9111] check-in: [e756e9bdac] user: dkf branch: dkf-bytecode-8.6-main, size: 125071
2012-10-29
21:35
Added compilation of simplest practical case of [string map]. file: [0ac63170dc] check-in: [b1a427318b] user: dkf branch: dkf-bytecode-8.6-main, size: 125031
2012-10-16
14:25
Remove two characters, zero width non-joiner (U+200c) and zero width joiner (U+200d), which were finally left out of TIP #413 file: [f760c3ebc8] check-in: [d02f58c491] user: jan.nijtmans branch: tip-318-update, size: 126045
2012-10-09
01:55
and remove the two characters from string trim as well file: [0574581fe0] check-in: [999841323f] user: jan.nijtmans branch: tip-318-update, size: 126149
2012-09-26
12:00
Merge trunk file: [62af2f8835] check-in: [b2aae08f2d] user: jan.nijtmans branch: tip-389-impl, size: 125216
2012-09-23
16:48
tip 318 update file: [c30a78bd74] check-in: [f09c1bc377] user: jan.nijtmans branch: tip-318-update, size: 126248
2012-09-21
09:27
new Tcl_UniCharIsWhitespace function file: [25cbc78095] check-in: [7a11f2ec28] user: jan.nijtmans branch: tip-318-update, size: 126396
2012-09-20
22:24
merge trunk <p>add some more related space characters file: [437c23d9ac] check-in: [7d7bea41b7] user: jan.nijtmans branch: tip-318-update, size: 126141
2012-09-18
07:21
add next line (U+0085), zero width space (U+200b) and zero width no-break space (U+feff) to the default set of "string trim" characters file: [650ef7a695] check-in: [e2bad6f20a] user: jan.nijtmans branch: tip-318-update, size: 125962
2012-09-13
11:32
Update TIP #318 implementation to conform to the Unicode 6.2 space characters <p>To be discussed on Tcl Core list file: [43a96e1bf4] check-in: [31ec38cd41] user: jan.nijtmans branch: tip-318-update, size: 125812
2012-08-03
14:24
more result generation conversion file: [629a6149be] check-in: [b3ccaec093] user: dkf branch: trunk, size: 125013
2012-05-17
16:43
* generic/tclCmdMZ.c (Tcl_SwitchObjCmd): [Bug 3106532]: Corrected resulting indexes from -indexvar option to be usable with [string range]; this was always the intention (and is consistent with [regexp -indices] too). ***POTENTIAL INCOMPATIBILITY*** Uses of [switch -regexp -indexvar] that previously compensated for the wrong offsets (by subtracting 1 from the end indices) now do not need to do so as the value is correct. file: [ed2ca5072a] check-in: [0fb04d2cdf] user: dkf branch: trunk, size: 124828
16:40
* generic/tclCmdMZ.c (Tcl_SwitchObjCmd): [Bug 3106532]: Corrected resulting indexes from -indexvar option to be usable with [string range]; this was always the intention (and is consistent with [regexp -indices] too). ***POTENTIAL INCOMPATIBILITY*** Uses of [switch -regexp -indexvar] that previously compensated for the wrong offsets (by subtracting 1 from the end indices) now do not need to do so as the value is correct. file: [ee438f2061] check-in: [384267c223] user: dkf branch: core-8-5-branch, size: 104220
2012-04-23
12:30
make some more internal tables const On cygwin, install dll's in /usr/bin, not in /usr/lib file: [168a192ab0] check-in: [6de689d796] user: jan.nijtmans branch: core-8-4-branch, size: 143201
2012-04-22
20:51
merge trunk file: [c6771317a0] check-in: [0d20ee5cfe] user: jan.nijtmans branch: tip-389-impl, size: 124914
2012-04-18
22:05
make some more internal tables const a few CONST -> const changes file: [14c827f881] check-in: [24c0f42d9a] user: jan.nijtmans branch: core-8-5-branch, size: 104103
2012-04-04
20:17
some formatting (*.decls) move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings file: [2b4438a8da] check-in: [904f4fe3fe] user: jan.nijtmans branch: core-8-5-branch, size: 104103
2012-03-29
08:38
faster memleak-free implementation of [string is entier] file: [97ba638e07] check-in: [df23d89ed4] user: jan.nijtmans branch: trunk, size: 124711
2012-03-27
12:26
Implementation of TIP #395 file: [8022a68752] check-in: [7141246313] user: dkf branch: trunk, size: 123856
2012-02-06
17:21
3484621 Invalidate bytecode when exec traces are added/removed from compiled cmd. file: [2439a20385] check-in: [4b0a6f7864] user: dgp branch: core-8-4-branch, size: 143196
2012-01-26
23:26
alternative TIP 395 implementation: - more efficient, will not generate bignum - uses "string is integer" in stead of "string is entier" - original "string is integer" renamed to "string is int" file: [eb2472dc03] check-in: [9969397e80] user: jan.nijtmans branch: tip-395-with-alt-name, size: 124716
2012-01-23
22:19
merge trunk file: [917356103e] check-in: [9eab8924a0] user: jan.nijtmans branch: tip-389-impl, size: 123883
21:21
Simplify the logic of setting the TCL_REG_NOTBOL flag. file: [64e0ee1e84] check-in: [e454de076f] user: dgp branch: trunk, size: 123680
21:17
Simplify the logic of setting the TCL_REG_NOTBOL flag. file: [acad5ff707] check-in: [9a7d9d9f02] user: dgp branch: core-8-5-branch, size: 104091
2012-01-21
08:20
Prevent buffer read overflow. Thanks to "sebres" for the report and fix file: [973e6658c5] check-in: [3cb2ac8fbd] user: jan.nijtmans branch: trunk, size: 123636
08:19
Prevent buffer read overflow. Thanks to "sebres" for the report and fix. file: [f4d4337463] check-in: [03cb2cb9ed] user: jan.nijtmans branch: core-8-5-branch, size: 104046
2012-01-19
20:46
3475667 Prevent buffer read overflow. Thanks to "sebres" for the report and fix. file: [aa21682713] check-in: [1a5c0e4ad0] user: dgp branch: core-8-4-branch, size: 142720
2011-08-24
07:50
Upcoming TIP implementation: Full support for Unicode 6.0 file: [548d75b129] check-in: [5721cf9ae6] user: jan.nijtmans branch: tip-389-impl, size: 123811
2011-05-07
20:39
merge trunk file: [a26131c07b] check-in: [eeefcef28f] user: mig branch: mig-no280, size: 119427
19:53
merge trunk file: [2c01bda24f] check-in: [241f36be4b] user: mig branch: mig-alloc-reform, size: 123461
2011-05-02
20:17
Revised TclFindElement() interface. The final argument had been bracePtr, the address of a boolean var, where the caller can be told whether or not the parsed list element was enclosed in braces. In practice, no callers really care about that. What the callers really want to know is whether the list element value exists as a literal substring of the string being parsed, or whether a call to TclCopyAndCollpase() is needed to produce the list element value. Now the final argument is changed to do what callers actually need. This is a better fit for the calls in tclParse.c, where now a good deal of post-processing checking for "naked backslashes" is no longer necessary. ***POTENTIAL INCOMPATIBILITY*** For any callers calling in via the internal stubs table who really do use the final argument explicitly to check for the enclosing brace scenario. Simply looking for the braces where they must be is the revision available to those callers, and it will backport cleanly. Tests for expanded literals quoting detection. file: [b26af56488] check-in: [60cf594f82] user: dgp branch: trunk, size: 123609
17:36
Revised TclFindElement() interface. The final argument had been bracePtr, the address of a boolean var, where the caller can be told whether or not the parsed list element was enclosed in braces. In practice, no callers really care about that. What the callers really want to know is whether the list element value exists as a literal substring of the string being parsed, or whether a call to TclCopyAndCollpase() is needed to produce the list element value. Now the final argument is changed to do what callers actually need. This is a better fit for the calls in tclParse.c, where now a good deal of post-processing checking for "naked backslashes" is no longer necessary. ***POTENTIAL INCOMPATIBILITY*** For any callers calling in via the internal stubs table who really do use the final argument explicitly to check for the enclosing brace scenario. Simply looking for the braces where they must be is the revision available to those callers, and it will backport cleanly. file: [9e49817de9] check-in: [04d0ff20b9] user: dgp branch: core-8-5-branch, size: 104019
2011-04-28
14:44
New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() Use to replace calls to isspace() and their /* INTL */ risk. file: [a524d563bf] check-in: [ef10af814d] user: dgp branch: trunk, size: 123624
14:39
New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() Use to replace calls to isspace() and their /* INTL */ risk. file: [0da9df546e] check-in: [b1063a174c] user: dgp branch: core-8-5-branch, size: 104034
2011-04-27
18:49
TclFreeIntRep() cleanup. file: [9dd35bef5a] check-in: [53b79ea68a] user: dgp branch: mistake, size: 123639
2011-04-19
14:24
merge trunk file: [0c028b5be3] check-in: [91f0cc8fa7] user: mig branch: mig-no280, size: 119509
14:19
merge trunk file: [a544d76275] check-in: [d040767de8] user: mig branch: mig-alloc-reform, size: 123543
2011-04-13
20:37
[Bug 3285375]: Rewrite Tcl_Concat*() and [string trim*]. file: [9e786e5287] check-in: [7c5f3a8961] user: dgp branch: trunk, size: 123691
20:27
[Bug 3285375]: Rewrite Tcl_Concat*() and [string trim*]. file: [cc68d79336] check-in: [c48b1de113] user: dgp branch: core-8-5-branch, size: 104049
2011-04-04
14:22
Merge to feature branch file: [fee0281ca8] check-in: [e058edf908] user: dkf branch: mig-no280, size: 121877
14:18
Merge to feature branch file: [08e09e5855] check-in: [a7a0485fd1] user: dkf branch: mig-alloc-reform, size: 125911
2011-03-29
15:06
More generation of errorCode information, notably when lists are mis-parsed. file: [fc7a5add5f] check-in: [999804376c] user: dkf branch: trunk, size: 126059
12:57
merge trunk to feature branch file: [44ce3c2fc2] check-in: [e92fc1c871] user: mig branch: mig-no280, size: 120093
12:56
merge trunk to feature branch file: [2b175b87f9] check-in: [097c214f3b] user: mig branch: mig-alloc-reform, size: 124127
2011-03-28
10:56
Use the error messages generated by the variable management code rather than creating our own in [regexp] and [regsub]. file: [e0e052ef99] check-in: [2f614e5f12] user: dkf branch: trunk, size: 124275
2011-03-24
23:42
branch with tip #280 removed, for perf impact measurements file: [e1c4e4b682] check-in: [6cbe02a1d6] user: mig branch: mig-no280, size: 120303
2011-03-18
12:54
development branch for allocator changes file: [defe2a259a] check-in: [80a014ef05] user: mig branch: mig-alloc-reform, size: 124337
2011-03-15
14:15
reorganisation towards (hopefuly) defining the allocator and/or purify at app start time; for now it's still at compile time, and tclNativeAlloc.c is still not complete file: [f82cc5d1de] check-in: [d0f1659e90] user: mig branch: mig-alloc-reform, size: 124337
09:44
retire TclInterpAlloc/Free/Realloc file: [b9a04b9568] check-in: [15d781d135] user: mig branch: mig-alloc-reform, size: 124345
2011-03-13
04:50
rename TclStackAlloc/Free to TclInterpAlloc/Free file: [7d4cac39a3] check-in: [820d67f844] user: mig branch: mig-alloc-reform, size: 124495
2011-03-12
15:06
Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in rest of Tcl source code. No ABI change. API change *should* be harmless. file: [9336469996] check-in: [5574bdd262] user: dkf branch: trunk, size: 124485
2011-03-10
09:31
MINOR: Formatting fixes, mainly to comments, so code better fits the style in the Engineering Manual. file: [ea61e65ed4] check-in: [5cb634a1c1] user: dkf branch: trunk, size: 124510
2011-03-06
21:40
* generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls * generic/tclCmdMZ.c: with TclParseBackslash() where possible. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclUtil.c: file: [70659fae45] check-in: [267149f889] user: dgp branch: core-8-4-branch, size: 142695
2011-03-02
20:27
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them (except in zlib files). file: [8caa49f73d] check-in: [c64f310d38] user: dgp branch: trunk, size: 124508
16:06
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: [9256a5ba9d] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 106417
2011-03-01
15:38
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: [cd37add995] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 142686
2011-01-12
15:23
This commit is both no-NRE v2, implemented by subtracting the NRE pieces (*), and update to CVS trunk head of Wednesday Jan 5. (*) no-NRE v1 in the other branch was created in an additive manner from the point where 8.5 was branched from the trunk, by adding all the patches but those for NRE. file: [05785016a1] check-in: [2d93b1436c] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 122705
2010-12-30
14:42
merge file: [9069b14a14] check-in: [45d5c91eaf] user: dgp branch: dgp-refactor, size: 124582
2010-12-16
13:38
while 'info' is destroyed and becoms inaccessible after TclEvalObjEx. file: [07772fec24] check-in: [577579ce4a] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 122538
2010-12-11
18:39
merge file: [7b3e8b2f44] check-in: [c291154f2c] user: kennykb branch: dogeen-assembler-branch, size: 124586
2010-12-10
13:08
Fix gcc -Wextra warning: missing initializer file: [f0d59f1220] check-in: [38357311b7] user: nijtmans branch: trunk, size: 124583
2010-12-08
12:07
Code cleanup. Most warnings are now gone. file: [cd939df42c] check-in: [90d463b3e7] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 122497
2010-12-07
16:01
@1629 (excluding 1577 (INSTR_STR_EQ/NE/CMP merge skipped for today)). I also skipped DKF's math instruction refactoring work. Doing them are essentially backports of complex changes, do this when I am fresh tomorrow. file: [e633c54439] check-in: [ecb2476c6c] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 122469
2010-12-06
14:52
@1400, undo of 177 (TclpThreadGetStacksize). file: [f609f0fb9c] check-in: [861c844a13] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 122392
13:20
@1330 + jump interp, indexobj file: [c88df15232] check-in: [c08c831172] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 121975
12:33
@1300 file: [4b877f5005] check-in: [3f09e6a910] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 121963
2010-12-05
22:27
[Bug 3127687] Triggers FORTIFY_SOURCE buffer overflow detection file: [876bc4f6ce] check-in: [51b2974fd9] user: nijtmans branch: core-8-4-branch, size: 142765
2010-12-02
15:49
@1260 file: [a6ba875f6b] check-in: [e3ce920ce7] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 121624
13:17
@1200 file: [c36b8b218e] check-in: [772aad65cb] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 121225
10:58
@1090 file: [0ec9da2643] check-in: [64d3140aa1] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 121225
2010-12-01
16:42
merge file: [4f7a129aab] check-in: [0af397c644] user: kennykb branch: dogeen-assembler-branch, size: 124517
15:06
@940 file: [1d2d0bebc8] check-in: [fbf7360824] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 120751
14:48
@921 file: [b8cfef3f52] check-in: [61b08bf693] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 120911
13:50
@893 file: [0de23a5659] check-in: [83f1d1c03c] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 120239
13:39
@864 + jumps file: [eb10630c41] check-in: [0dbcc4b3c6] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 120351
2010-11-30
14:42
@800 file: [43962b1543] check-in: [32871f3ed6] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 119980
14:22
@777 file: [afdd80da2e] check-in: [b82b3cdf0c] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 119974
12:08
@728 file: [aaf21a4975] check-in: [8e03c33dfd] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 119963
2010-11-29
13:51
@670 file: [987d580faf] check-in: [2435a4366f] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 106878
2010-11-23
15:23
Next @611, and jumping tclGetDate.yyacc grammar. file: [9760af6919] check-in: [b277d95385] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 107665
11:38
Next @500. file: [6b05b105a4] check-in: [5365d7ae02] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 105237
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: [5466463e48] check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 105223
2010-11-18
15:08
Next. file: [289efc649e] check-in: [3120107af3] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 104783
2010-11-03
13:02
merge file: [cc9988cabd] check-in: [431b47749a] user: dgp branch: dgp-refactor, size: 124513
11:08
* generic/tclCmdMZ.c (TryPostBody): Ensure that errors when setting * tests/error.test (error-19.1[12]): message/opt capture variables get reflected properly to the caller. file: [2141b88cbe] check-in: [24c6bb8619] user: dkf branch: trunk, size: 124509
2010-08-30
14:11
merge file: [c7a5b4f0cd] check-in: [c748a54d3b] user: dgp branch: dgp-refactor, size: 124436
14:02
* generic/tclBasic.c: New implementation for [tailcall]: * generic/tclCmdAH.c: it now schedules the command and returns * generic/tclCmdMZ.c: TCL_RETURN. This fixes all issues with * generic/tclExecute.c: [catch] and [try] - [Bug 3046594], * generic/tclInt.h: [Bug 3047235] and [Bug 3048771]. Thanks * generic/tclNamesp.c: dgp for exploring the dark corners. * tests/tailcall.test: More thorough testing is required. file: [f2863cb048] check-in: [c263c556ad] user: msofer branch: trunk, size: 124435
2010-08-19
01:57
merge file: [0353872c4d] check-in: [332c32700a] user: dgp branch: dgp-refactor, size: 124548
2010-08-18
15:54
* generic/tclCmdAH.c (TclNRTryObjCmd): block tailcalling out of the body of a non-bc'ed [try], #3046594 file: [dafd4c6e7e] check-in: [5ec520bacc] user: msofer branch: trunk, size: 124547
2010-08-12
08:55
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): [Bug 2826551, Patch 2948425]: Backport of updates to make handling of RE line anchors correct. file: [ade6b0072e] check-in: [bc4ad84fe0] user: dkf branch: core-8-5-branch, size: 106491
2010-04-06
08:34
Undo file: [074a7bc35c] check-in: [a322ec99b4] user: dkf branch: trunk, size: 124432
08:26
Reverted previous checin as Tcl_ObjSetVar2 (convoluted and undocumented) jnterface implicitly decrements refcount of the passed result object when the passed result object refcount was already zero. file: [90f71f7f5f] check-in: [470f531183] user: vasiljevic branch: core-8-5-branch, size: 106088
07:50
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): Plug leak of object when setting a variable fails. file: [c151a9c3d5] check-in: [e3b1fcdc88] user: dkf branch: trunk, size: 124464
07:45
Fixed object leak file: [1ba7116756] check-in: [c602c11ee7] user: vasiljevic branch: core-8-4-branch, size: 142731
07:43
Fixed object leak file: [fb0a7c2c47] check-in: [087fcb4964] user: vasiljevic branch: core-8-5-branch, size: 106120
2010-03-30
08:45
Merge from HEAD to rmax-ipv6-branch file: [eef57cec5e] check-in: [54b695423d] user: rmax branch: rmax-ipv6-branch, size: 124437
2010-03-28
03:24
merge file: [d829c0547d] check-in: [d15d5b7c2b] user: dgp branch: dgp-refactor, size: 124436
2010-03-27
22:40
[Freq 2974744] share exception codes (ObjType?) file: [4d45fd0ff6] check-in: [a7d613dfe6] user: nijtmans branch: trunk, size: 124437
2010-03-24
13:03
merge updates file: [c5648233fc] check-in: [f493796d89] user: dgp branch: dgp-refactor, size: 124881
10:25
* generic/tclCmdMZ.c (TryPostBody, TryPostHandler): Make sure that the [try] command does not trap unwinding due to limits. file: [9828f3e3cc] check-in: [19993c384d] user: dkf branch: trunk, size: 124877
2010-03-23
23:28
merge updates file: [63c3b11d92] check-in: [dbd4d38478] user: dgp branch: dgp-refactor, size: 124067
23:25
* generic/tclCmdMZ.c: [Bug 2973361] Revised fix for computing indices of script arguments to [try]. file: [124e0e4e74] check-in: [6bc6b87821] user: dgp branch: trunk, size: 124063
14:07
merge updates file: [c9eed372a1] check-in: [a05b7c29a2] user: dgp branch: dgp-refactor, size: 123986
12:58
Make error message in "try" implementation exactly the same as the one in "return" file: [3ff2528194] check-in: [bd5b3c5b09] user: nijtmans branch: trunk, size: 123987
2010-03-22
22:55
merge updates file: [cd38f41418] check-in: [1c6ab93f50] user: dgp branch: dgp-refactor, size: 123894
22:47
* generic/tclCmdMZ.c: [Bug 2973361]: Compute the correct integer values to identify the argument indices of the various script arguments to [try]. Passing in -1 led to invalid memory reads. file: [6ef52bd9a4] check-in: [3bbde5159a] user: dgp branch: trunk, size: 123890
2010-03-06
03:40
merge updates file: [75996d34be] check-in: [f1f1ac161b] user: dgp branch: dgp-refactor, size: 123752
2010-03-05
23:12
Quell a warning in Kevin Kenny's build environment file: [ceb2e3091f] check-in: [74d4ded15e] user: dkf branch: trunk, size: 123748
14:34
Code Audit results: * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations file: [558c245f75] check-in: [4d8a4f639d] user: dkf branch: trunk, size: 123736
2010-03-02
16:29
merge update file: [eebb2c1b2a] check-in: [8e649ece14] user: dgp branch: dgp-refactor, size: 123740
08:47
Use a less hacky way of using a char as a hash key file: [d60dd92f10] check-in: [5898a30975] user: dkf branch: trunk, size: 123736
2010-02-27
22:37
merge updates file: [be37f3e9f7] check-in: [750bba6578] user: dgp branch: dgp-refactor, size: 123752
21:25
Only look for the needle when it fits in the haystack. [Bug 2960021] file: [54c4b9d4de] check-in: [6defdf15ca] user: dkf branch: core-8-5-branch, size: 106081
19:02
Only look for the needle when it fits in the haystack. [Bug 2960021] file: [8d2a7196b5] check-in: [d1aa4b3296] user: dkf branch: trunk, size: 123748
2010-02-25
21:53
merge updates from HEAD file: [ebc07931a3] check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 123352
2010-02-24
10:45
More tidying up (whitespace, spelling, useless parentheses, useless casts) file: [e1d3dadd93] check-in: [511d94dd87] user: dkf branch: trunk, size: 123348
2010-02-22
23:31
Remove unnecessary EXTERN's, which already are in the global stub table. Use @EXEEXT@ in stead of @EXT_SUFFIX@ Use -DBUILD_tcl in Makefile for CYGWIN Use EXTERN to control CYGWIN exported symbols Remove some unnecessary type casts. file: [0fe9998c34] check-in: [ede6fe7b20] user: nijtmans branch: trunk, size: 123415
2010-02-12
03:06
merge updates from HEAD file: [02f4380572] check-in: [616130f94d] user: dgp branch: dgp-refactor, size: 123427
2010-02-11
11:14
Tcl Bug 2826551 regexp bugs related to -all -line and -start and newlines file: [3aef601771] check-in: [2a54ee5bde] user: dkf branch: trunk, size: 123423
2009-12-30
17:24
merge updates from HEAD file: [40076ab936] check-in: [263b067570] user: dgp branch: dgp-refactor, size: 123028
2009-12-25
22:45
CONST -> const file: [3a6b85c3fb] check-in: [26cee50b52] user: nijtmans branch: trunk, size: 123029
2009-12-08
18:39
merge updates from HEAD file: [899deab85c] check-in: [eb6dfbd0e7] user: dgp branch: dgp-refactor, size: 123028
2009-12-07
15:08
Plug memory leak. [Bug 2910044] file: [b77bd080bf] check-in: [1eff7fbab5] user: dkf branch: trunk, size: 123024
2009-11-19
16:51
merge updates from HEAD file: [e867bf3812] check-in: [7aa1b44845] user: dgp branch: dgp-refactor, size: 122842
2009-11-18
21:59
Eliminate various gcc warnings (in -Wextra mode) file: [d76d00e93b] check-in: [8780faf488] user: nijtmans branch: trunk, size: 122843
2009-09-28
18:09
merge updates from HEAD file: [91cf530add] check-in: [7176d60c45] user: dgp branch: dgp-refactor, size: 122555
18:02
* generic/tclCmdMZ.c: Replaced TclProcessReturn() calls with * tests/error.test: Tcl_SetReturnOptions() calls as a simple fix for [Bug 2855247]. Thanks to Anton Kovalenko for the report and fix. Additional fixes for other failures demonstrated by new tests. file: [e3e760c6fd] check-in: [b806f70a69] user: dgp branch: trunk, size: 122551
2009-09-24
17:21
merge updates from HEAD file: [10e4dd70a8] check-in: [3e8604eeed] user: dgp branch: dgp-refactor, size: 122715
17:19
TIP #356 IMPLEMENTATION * generic/tcl.decls: Promote internal routine TclNRSubstObj() * generic/tclCmdMZ.c: to public Tcl_NRSubstObj(). Still needs docs. * generic/tclCompile.c: * generic/tclInt.h: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: file: [8691dc78b4] check-in: [2b4e9763d9] user: dgp branch: trunk, size: 122711
2009-09-18
21:13
* generic/tclCmdMZ.c (Tcl_SubstObj): Pass 'length' values to recursive parsing calls to convert O(N^2) operations of [subst] to O(N). file: [8357747276] check-in: [405dec26fa] user: dgp branch: core-8-4-branch, size: 142748
2009-09-12
14:35
merge updates from HEAD file: [43a7f91f60] check-in: [15ff1187a0] user: dgp branch: dgp-refactor, size: 122714
2009-09-11
20:13
* generic/tclBasic.c: Completed the NR-enabling of [subst]. * generic/tclCmdMZ.c: [Bug 2314561]. * generic/tclCompCmds.c: * generic/tclCompile.c: * generic/tclInt.h: * tests/coroutine.test: * tests/parse.test: file: [856d770d3b] check-in: [7748dccef5] user: dgp branch: trunk, size: 122710
2009-09-07
16:19
merge [subst] compiler from HEAD file: [4fc5e170fb] check-in: [3facd89387] user: dgp branch: dgp-refactor, size: 122571
2009-09-04
17:33
* generic/tclCompCmds.c (TclCompileSubstCmd): Added a bytecode * generic/tclBasic.c: compiler routine for the [subst] command. * generic/tclCmdMZ.c: This is a partial solution to the need to * generic/tclCompile.c: NR-enable [subst] since bytecode execution is * generic/tclCompile.h: already NR-enabled. [Bug 2314561] Two new * generic/tclExecute.c: bytecode instructions, INST_NOP and * generic/tclInt.h: INST_RETURN_CODE_BRANCH were added to support * generic/tclParse.c: the new routine. INST_RETURN_CODE_BRANCH is * tests/basic.test: likely to be useful in any future effort to * tests/info.test: add a bytecode compiler routine for [try]. * tests/parse.test: file: [c20c81e1db] check-in: [ef0c2ac861] user: dgp branch: trunk, size: 122567
2009-08-26
05:25
merge updates from HEAD file: [9935e1a6a3] check-in: [f7f5b9785c] user: dgp branch: dgp-refactor, size: 122430
2009-08-25
21:03
* generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard, Tcl_EvalEx, TclEvalEx, TclAdvanceContinuations, TclNREvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript, TclCompileTokens): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclParse.c (TclSubstTokens, Tcl_SubstObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-24): Extended the parser, compiler, and execution engine with code and attendant data structures tracking the position of continuation lines which are not visible in the resulting script Tcl_Obj*'s, to properly account for them while counting lines for #280. file: [8c45e096bb] check-in: [9d8e49c947] user: andreas_kupries branch: trunk, size: 122438
21:01
* generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard, EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclParse.c (TclSubstTokens, Tcl_SubstObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-24): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script Tcl_Obj*'s, to properly account for them while counting lines for #280. file: [b97fdae25f] check-in: [c838caae31] user: andreas_kupries branch: core-8-5-branch, size: 105705
20:59
* generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard, EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, ListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-22): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script's, to properly account for them while counting lines for #280, during direct and compiled execution. file: [bfba5e14eb] check-in: [9fa7a1ee78] user: andreas_kupries branch: core-8-4-branch, size: 142750
2009-08-20
14:29
merge updates from HEAD file: [4bd0da87d3] check-in: [cdda634d43] user: dgp branch: dgp-refactor, size: 121899
10:55
Small tweaks file: [6b80709771] check-in: [a13cf3ba7a] user: dkf branch: trunk, size: 121895
2009-08-19
15:09
merge updates from HEAD file: [d0bbaf2702] check-in: [285e7dc866] user: dgp branch: dgp-refactor, size: 122011
14:25
Formatting corrections file: [77470abf75] check-in: [890f330c87] user: dkf branch: trunk, size: 122007
2009-07-20
16:31
merge updates from HEAD file: [9011588ffe] check-in: [399c86a3cf] user: dgp branch: dgp-refactor, size: 122040
09:26
Performance boost for [string is]. file: [55adf43112] check-in: [6fb871d204] user: dkf branch: core-8-5-branch, size: 105169
09:13
Performance boost for [string is]. file: [16d1d3f890] check-in: [b4bad673e4] user: dkf branch: trunk, size: 122036
2009-07-15
15:29
merge updates from HEAD file: [a78d2ba9b8] check-in: [b10e3653d5] user: dgp branch: dgp-refactor, size: 121619
2009-07-14
21:47
fix 64bit int <-> ptr cast warnings file: [aeed0785c7] check-in: [97a92c47a0] user: das branch: trunk, size: 121615
18:25
merge updates from HEAD file: [6be03f1f89] check-in: [7b736c6ca5] user: dgp branch: dgp-refactor, size: 121621
16:52
* generic/tclInt.h (TclNRSwitchObjCmd): * generic/tclBasic.c (builtInCmds): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): * tests/switch.test (switch-15.1): Make non-bytecoded [switch] command aware of NRE. [Bug 2821401] file: [c60329b65a] check-in: [40b8273384] user: kennykb branch: trunk, size: 121621
16:34
* generic/tclCompile.c (TclInitCompileEnv, EnterCmdWordIndex, TclCleanupByteCode, TclCompileScript): * generic/tclExecute.c (TclCompileObj, TclExecuteByteCode): * tclCompile.h (ExtCmdLoc): * tclInt.h (ExtIndex, CFWordBC, CmdFrame): * tclBasic.c (DeleteInterpProc, TclArgumentBCEnter, TclArgumentBCRelease, TclArgumentGet, SAVE_CONTEXT, RESTORE_CONTEXT, NRCoroutineExitCallback, TclNRCoroutineObjCmd): * generic/tclCmdAH.c (TclNRForObjCmd, TclNRForIterCallback, ForNextCallback): * generic/tclCmdMZ.c (TclNRWhileObjCmd): Extended the bytecode compiler initialization to recognize the compilation of whole files (NRE enabled 'source' command) and switch to the counting of absolute lines in that case. Further extended the bytecode compiler to track the start line in the generated information, and modified the bytecode execution to recompile an object if the location as per the calling context doesn't match the location saved in the bytecode. This part could be optimized more by using more memory to keep all possibilities which occur around, or by just adjusting the location information instead of a total recompile. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This, and the previous change remove the problems with location data caused by literal sharing (across whole files, but also proc bodies). Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex). The last change causes the hashtable 'lineLABCPtr' to be state which has to be kept per coroutine, like the CmdFrame stack. Reworked the coroutine support code to create, delete and switch the information as needed. Further reworked the tailcall command as well, it has to pop its own arguments when run in a bytecode context to keep a proper stack in 'lineLABCPtr'. Fixed the mishandling of line information in the NRE-enabled 'for' and 'while' commands introduced when both were made to share their iteration callbacks without taking into account that the loop body is found in different words of the command. Introduced a separate data structure to hold all the callback information, as we went over the limit of 4 direct client-data values for NRE callbacks. The above fixes [Bug 1605269]. file: [7019bd243e] check-in: [7c71134801] user: andreas_kupries branch: trunk, size: 120627
2009-07-13
13:08
merge updates from HEAD file: [843074fe41] check-in: [c3eade8112] user: dgp branch: dgp-refactor, size: 120401
2009-07-12
18:04
Fix [Bug 2637173] by consolidating bytearray purity check. file: [2f2a7a7daf] check-in: [f796a220ae] user: dkf branch: trunk, size: 120397
2009-05-18
21:24
merge updates from HEAD file: [2c53d3edc1] check-in: [14f4e38850] user: dgp branch: dgp-refactor, size: 120451
2009-05-06
20:16
* generic/tclCmdMZ.c: Improve overflow error message from [string repeat]. [Bug 2582327] file: [b4d21f60b1] check-in: [9c4fb8f94e] user: dgp branch: core-8-5-branch, size: 104754
20:16
* generic/tclCmdMZ.c: Improve overflow error message from [string repeat]. [Bug 2582327] file: [a206ee1874] check-in: [2316cd35a7] user: dgp branch: trunk, size: 120447
2009-03-16
15:29
merge updates from HEAD file: [f4602eb8f6] check-in: [26ed7b54e1] user: dgp branch: dgp-refactor, size: 120445
10:21
Fix [Bug 2688063] file: [dcbf6dc1f3] check-in: [c4abf357d6] user: dkf branch: trunk, size: 120441
2009-03-10
19:00
merge updates from HEAD file: [5428107fe9] check-in: [e203d7ead4] user: dgp branch: dgp-refactor, size: 120103
2009-03-09
09:12
Move the implementation of [try] from Tcl to C. Not yet bytecoded. file: [c31943d29f] check-in: [7b446f39b0] user: dkf branch: trunk, size: 120099
2009-03-03
05:59
merge updates from HEAD file: [e62f50445d] check-in: [6f929495b8] user: dgp branch: dgp-refactor, size: 106927
2009-02-25
14:55
* generic/tclCmdMZ.c: Since Tcl_GetCharLength() has its own * generic/tclExecute.c: optimizations for the tclByteArrayType, stop having the callers do them. file: [d46cac9e3f] check-in: [b7bc652fdf] user: dgp branch: trunk, size: 106923
2009-02-05
23:12
merge updates from HEAD file: [b3f412e938] check-in: [3ec9a51e62] user: dgp branch: dgp-refactor, size: 107011
22:12
Simplify the implementation of some commands now that the underlying string API knows more about bytearrays. file: [f55b867789] check-in: [ee4709ceaf] user: dkf branch: trunk, size: 107007
2009-02-04
22:48
merge updates from HEAD file: [95fd445509] check-in: [fdf6271dcc] user: dgp branch: dgp-refactor, size: 108031
18:57
* generic/tclCmdMZ.c: Prevent crashes due to int overflow of the length of the result of [string repeat]. [Bug 2561746] file: [bc49233346] check-in: [dd591b8fbb] user: dgp branch: core-8-5-branch, size: 104748
18:15
* generic/tclCmdMZ.c: Prevent crashes due to int overflow of the length of the result of [string repeat]. [Bug 2561746] file: [23962b8765] check-in: [cf87a8291e] user: dgp branch: trunk, size: 108027
14:16
merge updates from HEAD file: [3031716b2e] check-in: [255c748a68] user: dgp branch: dgp-refactor, size: 107892
2009-02-03
23:34
- eliminate some unnessary type casts - some internal const decorations - spacing file: [cf6f8712ce] check-in: [4e6ad69d53] user: nijtmans branch: trunk, size: 107893
2009-01-13
20:35
merge updates from HEAD file: [e7fe50b8e6] check-in: [2959b2a24b] user: dgp branch: dgp-refactor, size: 107802
20:30
Move [throw] implementation into C. file: [c1a4e64a6a] check-in: [edad258731] user: dkf branch: trunk, size: 107798
2009-01-09
14:17
merge updates from HEAD file: [56076af5bc] check-in: [02f7c5c705] user: dgp branch: dgp-refactor, size: 105366
11:21
Style fixes (unfouling whitespace, sorting comments, removing useless casts, etc.) file: [f28f83d67a] check-in: [cd3c38f00a] user: dkf branch: trunk, size: 105362
2009-01-05
14:54
merge updates from HEAD file: [aebbba1b82] check-in: [d766f324bc] user: dgp branch: dgp-refactor, size: 105374
11:27
Added a test, correct a dumb blunder. file: [52baf87ce8] check-in: [42090a4d62] user: dkf branch: trunk, size: 105370
09:48
Make [source] NRE-aware to enable [yield]. [Bug 2412068] file: [e1f130f043] check-in: [4242c5e4c4] user: dkf branch: trunk, size: 105373
2008-12-10
13:51
merge updates from HEAD file: [09ae7bf539] check-in: [17d1c7c4c7] user: dgp branch: dgp-refactor, size: 105088
2008-12-02
19:40
TIP #336 IMPLEMENTATION * generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine. * generic/tcl.h: Dropped default access to interp->errorLine. * generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE. * generic/tclCmdMZ.c: Updated callers. * generic/tclDictObj.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclOOBasic.c: * generic/tclOODefinedCmds.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclResult.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: file: [c099eed79f] check-in: [e01657bdcf] user: dgp branch: trunk, size: 105084
2008-10-17
20:52
merge updates from HEAD file: [7f15973eb2] check-in: [d93600ad8e] user: dgp branch: dgp-refactor, size: 105081
2008-10-14
22:37
* generic/tclCmdAH.c: Fix minor compiler warnings when compiling * generic/tclCmdMZ.c: with -Wwrite-strings * generic/tclIndexObj.c: * generic/tclProc.c: * generic/tclStubLib.c: * generic/tclUtil.c: file: [f7ceb01610] check-in: [675e88f649] user: nijtmans branch: trunk, size: 105082
2008-09-29
13:52
merge updates from HEAD file: [521f37d119] check-in: [84947139d2] user: dgp branch: dgp-refactor, size: 105024
08:19
Implement TIP 318. file: [950a06ee4e] check-in: [d30b262674] user: dkf branch: trunk, size: 105020
2008-09-18
15:00
remove outdated commentary file: [b2b5c1332f] check-in: [7d2320780e] user: dgp branch: core-8-5-branch, size: 104609
2008-08-01
04:37
merge updates from HEAD file: [a39411d318] check-in: [fb496295e7] user: dgp branch: dgp-refactor, size: 104642
2008-07-31
20:01
nr-enabling [for]; [while] made to reuse [for]'s infrastructure. file: [dbfdd7cc9c] check-in: [1b9a54b876] user: msofer branch: trunk, size: 104641
18:29
nr-enabling [while] file: [75910c6812] check-in: [091d0a6c54] user: msofer branch: trunk, size: 105422
2008-07-29
20:13
merge updates from (near) HEAD file: [69475dc3dd] check-in: [f51e3a3c72] user: dgp branch: dgp-refactor, size: 104787
2008-07-21
22:22
fix [2021443] inconsistant "wrong # args" messages (follow-up) file: [614bdfad06] check-in: [cfc8157c41] user: nijtmans branch: trunk, size: 104788
21:25
fix [2021443] inconsistant "wrong # args" messages (follow-up) file: [6dac9d2252] check-in: [395eaa2623] user: nijtmans branch: trunk, size: 104826
2008-05-31
21:01
merge updates from HEAD file: [e74d2cf073] check-in: [6f324d01e1] user: dgp branch: dgp-refactor, size: 104783
2008-05-30
22:54
Small clarifications that code a bit nicer to read. file: [2d4e2d8f95] check-in: [0979177469] user: dkf branch: trunk, size: 104779
2008-05-11
04:22
merge updates from HEAD file: [addcca5e2c] check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 104783
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: [c131263896] check-in: [2d205c22fb] user: dkf branch: trunk, size: 104779
2007-12-13
15:22
merge stable branch onto HEAD file: [b44986a8db] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 104779
2007-12-11
16:22
merge updates from HEAD file: [62dfc6e89d] check-in: [0be8165e23] user: dgp branch: dgp-refactor, size: 104783
16:19
merge updates from HEAD file: [ece252d886] check-in: [f2333519ef] user: dgp branch: core-stabilizer-branch, size: 104784
02:57
* generic/tclInt.decls: move TclByteArrayMatch and TclReToGlob * generic/tclIntDecls.h: to tclInt.h from stubs. * generic/tclStubInit.c: Add flags var to TclByteArrayMatch for * generic/tclInt.h: future extensibility * generic/tcl.h: define TCL_MATCH_EXACT doc for Tcl_StringCaseMatch. * doc/StrMatch.3: It is compatible with existing usage. * generic/tclExecute.c (INST_STR_MATCH): flag for TclByteArrayMatch * generic/tclUtil.c (TclByteArrayMatch, TclStringMatchObj): * generic/tclRegexp.c (Tcl_RegExpExecObj): * generic/tclCmdMZ.c (StringMatchCmd): Use TclStringMatchObj * tests/string.test (11.9.* 11.10.*): more tests file: [4c85ca3c24] check-in: [ae5e18deba] user: hobbs branch: trunk, size: 104781
2007-12-06
06:51
merge updates from HEAD file: [9a1234b866] check-in: [6f3a8a0d9e] user: dgp branch: dgp-refactor, size: 104949
2007-12-04
16:55
merge updates from HEAD file: [26e65a2cf0] check-in: [bf07d188e5] user: dgp branch: core-stabilizer-branch, size: 104950
2007-12-03
13:46
Make two-arg switch work reliably (and actually as documented!) [Bug 1836519] file: [6d7d90ec7f] check-in: [ad449619e4] user: dkf branch: trunk, size: 104945
2007-11-25
06:45
merge updates from HEAD file: [1a6592cc3f] check-in: [a49cedfd01] user: dgp branch: core-stabilizer-branch, size: 104741
2007-11-23
15:00
Turn the [string] command into a real compiled ensemble. file: [39e83f0f15] check-in: [6d7ebe09d9] user: dkf branch: trunk, size: 104737
2007-11-22
16:39
Rewrote the [string] and [dict] implementations to be ready for conversion to ensembles. file: [bae81bde7f] check-in: [747f8c21cd] user: dkf branch: trunk, size: 104468
2007-11-21
06:30
Merge updates from 8.5b3 release file: [475d7d6ae0] check-in: [c60ad186f4] user: dgp branch: core-stabilizer-branch, size: 80327
2007-11-19
11:13
improvements to comments file: [e295eda717] check-in: [d95f68a873] user: dkf branch: trunk, size: 80323
2007-11-12
20:40
merge updates from HEAD file: [6d314dfdef] check-in: [27f428842c] user: dgp branch: dgp-refactor, size: 80058
19:18
merge updates from HEAD file: [a9953ba5cd] check-in: [72c5ac9502] user: dgp branch: core-stabilizer-branch, size: 80058
2007-11-11
19:32
[Patch 1830038]: Increased usage of macros to detect and take advantage of objTypes. file: [e2ad0942a7] check-in: [11e8f31512] user: msofer branch: trunk, size: 80057
2007-11-01
16:55
merge updates from HEAD file: [e326a86ad0] check-in: [06cf57e4eb] user: dgp branch: dgp-refactor, size: 80063
16:25
merge updates from HEAD file: [aad2230002] check-in: [cd5e32c829] user: dgp branch: core-stabilizer-branch, size: 80063
11:11
\u0000 is ASCII! [Bug 1808258] file: [3d1edbcada] check-in: [97b11542bd] user: dkf branch: trunk, size: 80059
2007-10-15
18:38
merge updates from HEAD file: [ea58a66ac4] check-in: [0c7f954ed1] user: dgp branch: core-stabilizer-branch, size: 80180
18:32
merge updates from HEAD file: [35e526eb18] check-in: [d58cef81bb] user: dgp branch: dgp-refactor, size: 80180
2007-10-11
21:34
* generic/tclCmdMZ.c: Correct [string is (wide)integer] failure * tests/string.test: to report correct failindex values for non-decimal integer strings. [Bug 1805887]. * compat/strtoll.c (removed): The routines strtoll() and strtoull() * compat/strtoull.c (removed): are no longer called by the Tcl source * generic/tcl.h: code. (Their functionality has been replaced * unix/Makefile.in: by TclParseNumber().) Remove outdated comments * unix/configure.in: and mountains of configury autogoo that * unix/tclUnixPort.h: allegedly support the mythical systems where * win/Makefile.in: these routines might not have been available. * win/makefile.bc: * win/makefile.vc: * win/tclWinPort.h: * unix/configure: autoconf-2.59 file: [9098da0eb4] check-in: [9ed4da643a] user: dgp branch: trunk, size: 80176
2007-09-07
03:15
merge updates from HEAD file: [901c5cce2e] check-in: [2c46d786c6] user: dgp branch: dgp-refactor, size: 80860
2007-09-04
17:43
merge updates from HEAD file: [8303da73e9] check-in: [93ee5fafc4] user: dgp branch: core-stabilizer-branch, size: 80860
2007-08-12
21:58
* generic/tclCmdMZ.c (Tcl_SplitObjCmd): use TclNewStringObj macro instead of calling the function. file: [e471f10bac] check-in: [2f9503ea2a] user: msofer branch: trunk, size: 80859
2007-06-27
17:29
* generic/tclCmdMZ.c: Corrected broken trace reversal logic in * generic/tclTest.c: TclCheckInterpTraces that led to infinite loop * tests/basic.test: when multiple Tcl_CreateTrace traces were set and one of them did not fire due to level restrictions. [Bug 1743931]. file: [24d7f62e69] check-in: [a32f24e76c] user: dgp branch: core-8-4-branch, size: 142211
2007-06-21
16:31
merge updates from HEAD file: [f46908ed1e] check-in: [98cb152178] user: dgp branch: dgp-refactor, size: 80868
16:04
merge updates from HEAD file: [589bb4fc27] check-in: [9b4cd8d23b] user: dgp branch: core-stabilizer-branch, size: 80868
2007-06-20
18:46
* generic/tclInt.decls: Revised the interfaces of the routines * generic/tclExecute.c: TclStackAlloc and TclStackFree to make them easier for callers to use (or more precisely, harder to misuse). TclStackFree now takes a (void *) argument which is the pointer intended to be freed. TclStackFree will panic if that's not actually the memory the call will free. TSA/TSF also now tolerate receiving (interp == NULL), in which case they simply fall back to be calls to Tcl_Alloc/Tcl_Free. * generic/tclIntDecls.h: make genstubs * generic/tclBasic.c: Updated callers * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclProc.c: * generic/tclTrace.c: * unix/tclUnixPipe.c: file: [253711c8fc] check-in: [4ea644b0de] user: dgp branch: trunk, size: 80864
2007-06-19
13:50
merge updates from HEAD file: [332a8cd011] check-in: [a03020999a] user: dgp branch: dgp-refactor, size: 80871
02:48
merge updates from HEAD file: [731b2f8c51] check-in: [20f7bae489] user: dgp branch: core-stabilizer-branch, size: 80871
2007-06-18
22:51
* generic/tclCmdIL.c (InfoFrameCmd): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): * generic/tclCompile.c (TclInitCompileEnv): * generic/tclProc.c (Tcl_ProcObjCmd, SetLambdaFromAny): Moved the CmdFrame off the C stack and onto the Tcl stack. file: [b68af58ee5] check-in: [af31ea6648] user: msofer branch: trunk, size: 80870
2007-06-12
19:38
merge updates from HEAD file: [4c8594e3bc] check-in: [abba220e2b] user: dgp branch: dgp-refactor, size: 80693
15:56
merge updates from HEAD file: [4983aeaef6] check-in: [f0fa4d3a7d] user: dgp branch: core-stabilizer-branch, size: 80693
2007-06-08
20:41
Make [string first] and [string last] clearer file: [a98275abd3] check-in: [5f8a7ad48a] user: dkf branch: trunk, size: 80689
2007-05-29
14:21
merge updates from HEAD file: [49c81dc830] check-in: [404470c2db] user: dgp branch: dgp-refactor, size: 80664
2007-05-10
18:23
[Tcl Bug 1706140] * generic/tclCmdMZ.c (Trace*Proc): Update Tcl_VarTraceProcs so * generic/tclLink.c (LinkTraceProc): that they call * generic/tclUtil.c (TclPrecTraceProc): Tcl_InterpDeleted() for themselves, and do not rely on (frequently buggy) setting of the TCL_INTERP_DESTROYED flag by the trace core. * generic/tclVar.c: Update callers of CallVarTraces to not pass in the TCL_INTERP_DESTROYED flag. Also apply filters so that public routines only pass documented flag values down to lower level routines. * generic/tclVar.c (CallVarTraces): The setting of the TCL_INTERP_DESTROYED flag is now done entirely within the CallVarTraces routine, the only place it can be done right. file: [d2d4422772] check-in: [e09d290d78] user: dgp branch: core-8-4-branch, size: 142206
2007-05-01
20:20
* generic/tclCmdMZ.c (STR_MAP): When [string map] has a pure dict map, a missing Tcl_DictObjDone() call led to a memleak. [Bug 1710709] file: [a6efb42343] check-in: [79c2325ebd] user: dgp branch: trunk, size: 80660
2007-04-20
17:13
merge updates from HEAD file: [8ae294c90f] check-in: [92b90f2910] user: dgp branch: dgp-refactor, size: 80633
05:51
Whitespace policing, replacing commas in varargs with constant string catenation, and fixed an oversight in the fix for NZA time zones. file: [e8501e293a] check-in: [d6ee490b6b] user: kennykb branch: trunk, size: 80633
2007-04-10
16:27
merge updates from HEAD file: [851ea300b0] check-in: [c49d7b4587] user: dgp branch: dgp-refactor, size: 80637
14:47
Handle creation of Tcl_Objs from constant strings better (easier to use, more efficient). After [Patch 1529526] (afredd) file: [4dc341297b] check-in: [4d69119aad] user: dkf branch: trunk, size: 80633
2007-04-08
14:58
Merge updates from HEAD; may not build file: [45f939fef4] check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 80634
2007-03-30
15:54
* generic/tclCmdMZ.c: Revised [string to* $s $first $last] implementation to reduce number of allocs/copies. file: [772c5b47a6] check-in: [75950809bf] user: dgp branch: trunk, size: 80630
2007-03-28
19:03
* generic/tclCmdMZ.c (STR_REVERSE): Implement the actual [string reverse] command in terms of the new TclStringObjReverse() routine. * generic/tclInt.h (TclStringObjReverse): New internal routine * generic/tclStringObj.c (TclStringObjReverse): that implements the [string reverse] operation, making use of knowledge/surgery of the String intrep to minimize the number of allocs and copies needed to do the job. file: [de075b4d43] check-in: [5373afa733] user: dgp branch: trunk, size: 80728
2007-03-27
16:44
* generic/tclCmdMZ.c (STR_MAP): Replace ckalloc calls with TclStackAlloc calls. file: [aa70a69805] check-in: [3f20d29a16] user: dgp branch: trunk, size: 81645
2007-02-06
21:15
Function header/whitespace police/general format fixes file: [efbff89d0c] check-in: [ae7364fd49] user: dkf branch: trunk, size: 81554
2006-11-28
22:20
* generic/tclBasic.c: TIP #280 implementation. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test: file: [20c928a046] check-in: [d95fba8a1f] user: andreas_kupries branch: trunk, size: 82079
22:19
* generic/tclBasic.c: TIP #280 implementation, conditional on the define TCL_TIP280. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test: file: [737c3c0b22] check-in: [a88d79cbf8] user: andreas_kupries branch: core-8-4-branch, size: 142233
2006-11-22
23:22
TIP#269 implementation file: [9af49656ba] check-in: [2cfaf6e022] user: dkf branch: trunk, size: 78916
2006-11-15
20:08
TIP#270 IMPLEMENTATION * generic/tcl.decls: New public routines Tcl_ObjPrintf, * generic/tclStringObj.c: Tcl_AppendObjToErrorInfo, Tcl_Format, * generic/tclInt.h: Tcl_AppendLimitedToObj, Tcl_AppendFormatToObj and Tcl_AppendPrintfToObj. Former internal versions removed. * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclBasic.c: Updated callers. * generic/tclCkalloc.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStrToD.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c: file: [3f9ca6d0f8] check-in: [c06db721dd] user: dgp branch: trunk, size: 77494
2006-11-09
16:11
Optimize for the unshared case. file: [7aa0635f69] check-in: [81b71d3d1d] user: dkf branch: trunk, size: 77489
15:37
Implemented [string reverse]. Finalizes basic TIP#272 implementation. file: [82232ab215] check-in: [82bd93862e] user: dkf branch: trunk, size: 76872
2006-11-02
16:39
Silence compiler grumbles. file: [0fe7433da3] check-in: [0c12676c6c] user: dkf branch: trunk, size: 76358
15:58
* generic/tclBasic.c: Further revised TclAppendPrintToObj() and * generic/tclCkalloc.c: TclObjPrintf() routines to panic when unable * generic/tclCmdAH.c: to complete their formatting operations, rather * generic/tclCmdIL.c: than report an error message. This means an * generic/tclCmdMZ.c: interp argument for error message recording is * generic/tclDictObj.c: no longer needed, further simplifying the * generic/tclExecute.c: interface for callers. * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c: file: [87904948ff] check-in: [6ed730551a] user: dgp branch: trunk, size: 76524
2006-10-31
20:19
* generic/tclBasic.c: Refactored and renamed the routines * generic/tclCkalloc.c: TclObjPrintf, TclFormatObj, and * generic/tclCmdAH.c: TclFormatToErrorInfo to a new set of * generic/tclCmdIL.c: routines TclAppendPrintfToObj, * generic/tclCmdMZ.c: TclAppendFormatToObj, TclObjPrintf, and * generic/tclDictObj.c: TclObjFormat, with the intent of making * generic/tclExecute.c: the latter list, plus TclAppendLimitedToObj * generic/tclIORChan.c: and TclAppendObjToErrorInfo, public via * generic/tclIOUtil.c: a revised TIP 270. * generic/tclInt.h: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParseExpr.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStringObj.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c: file: [163c280d4a] check-in: [65113c21ec] user: dgp branch: trunk, size: 76539
2006-08-29
16:19
merge updates from HEAD file: [d7caebc80b] check-in: [e1feeec3e7] user: dgp branch: dgp-refactor, size: 76555
2006-08-21
01:08
* generic/tclClock.c (ClockClicksObjCmd): add support for Darwin * generic/tclCmdMZ.c (Tcl_TimeObjCmd): nanosecond resolution timer * generic/tclInt.h: to [clock clicks] and [time] * unix/configure.in (Darwin): when TCL_WIDE_CLICKS defined. * unix/tclUnixTime.c (TclpGetWideClicks, TclpWideClicksToNanoseconds): * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 file: [4c874cd5e9] check-in: [26f9667ec2] user: das branch: trunk, size: 76551
2006-04-11
14:37
* generic/tclCmdMZ.c: Stop some interference between enter traces * tests/trace.test: and enterstep traces. [Bug 1458266] file: [74c0489156] check-in: [f97f588d8c] user: dgp branch: core-8-4-branch, size: 138434
2006-01-25
18:38
merge updates from HEAD file: [0fc78e8b3c] check-in: [24df3318d7] user: dgp branch: dgp-refactor, size: 76273
2005-12-19
19:03
2005-12-19 Don Porter <dgp@users.sourceforge.net> * generic/tclCmdMZ.c: Modified [string is double] to use * tests/string.test: TclParseNumber() to parse trailing whitespace. Ensures consistency, and makes it easier to cleanup after invalid internal reps left behind by parsing [Bugs 1360432 1382287]. * generic/tclParseExpr.c: Added TCL_PARSE_NO_WHITESPACE to * generic/tclScan.c: TclParseNumber() calls since [scan] and * tests/scan.test: [expr] parsing don't want spaces in parsed numbers. * generic/tclInt.h: Added TCL_PARSE_NO_WHITESPACE flag to the * generic/tclStrToD.c: TclParseNumber() interface. file: [eed6ace2e4] check-in: [7245b18069] user: dgp branch: trunk, size: 76269
2005-12-02
18:42
merge updates from HEAD file: [8be5ad390f] check-in: [1059d34b2b] user: dgp branch: dgp-refactor, size: 76221
2005-11-18
23:07
* generic/tclBasic.c (Tcl_DeleteCommandFromToken): * generic/tclCmdMZ.c (TraceCommandProc): * generic/tclInt.h (NS_KILLED): * generic/tclNamesp.c (Tcl_DeleteNamespace * tests/namespace.test (namespace-7.3-6): * tests/trace.test (trace-20.13-16): fix [Bugs 1355942/1355342]. file: [7543300160] check-in: [56a462e45c] user: msofer branch: core-8-4-branch, size: 138289
2005-11-08
14:53
Fix [Bug 1348775] using Miguel's patch file: [ac9e219a12] check-in: [23f9e4bd60] user: dkf branch: core-8-4-branch, size: 138050
2005-11-04
22:38
* generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclIOCmd.c: * generic/tclLink.c: * generic/tclTest.c: * generic/tclVar.c: fix for [Bug 1334947]. The functions TclPtrSetVar, Tcl_ObjSetVar2 and Tcl_SetVar2Ex now always consume the newValuePtr argument - i.e., they will free a 0-refCount object if they failed to set the variable. Fixed all callers in the core. file: [1418633a09] check-in: [510663a99e] user: msofer branch: trunk, size: 76220
2005-11-01
20:19
* generic/tclCmdMZ.c (TclCheckExecutionTraces): Corrected mistaken assumption that all command traces are set at the script level. Report/fix from Jacques H. de Villiers. [Bug 1337941] file: [dbfac3a844] check-in: [2a6bcd3750] user: dgp branch: core-8-4-branch, size: 137178
2005-10-29
17:45
* generic/tclCmdMZ.c (TraceVarProc): [Bug 1337229], partial fix. Insure that a second call with TCL_TRACE_DESTROYED does not lead to a second call to Tcl_EventuallyFree(). It is still true that that second call should not happen, so the bug is not completely fixed. * tests/trace.test (test-18.3-4): added tests for bugs #1337229 and 1338280. file: [4c288f56e4] check-in: [8e9ed63a05] user: msofer branch: core-8-4-branch, size: 137152
2005-10-23
22:01
* generic/tclBasic.c: * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclLink.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclVar.c: * mac/tclMacInit.c: * unix/tclUnixInit.c: * win/tclWinInit.c: Insure that the core never calls TclPtrSetVar, Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new value. It is not possible to handle error returns correctly in that case [Bug 1334947], one has the choice of leaking the object in some cases, or else risk crashing in some others. file: [7ff1fdae37] check-in: [8761ab798f] user: msofer branch: core-8-4-branch, size: 137093
2005-10-18
20:46
merge updates from HEAD file: [3365f61bfa] check-in: [2e8613842e] user: dgp branch: dgp-refactor, size: 76425
2005-10-08
14:42
TIP#237 IMPLEMENTATION [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code. file: [38944d953c] check-in: [83fdb360a9] user: dgp branch: trunk, size: 76421
2005-09-15
20:58
merge updates from HEAD file: [a34f256105] check-in: [29cc0feeb2] user: dgp branch: kennykb-numerics-branch, size: 76426
20:29
merge updates from HEAD file: [2c26fea58e] check-in: [f3caf581fe] user: dgp branch: dgp-refactor, size: 77283
16:40
* generic/tclBasic.c: More callers of TclObjPrintf and * generic/tclCkalloc.c: TclFormatToErrorInfo. * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c * unix/configure: autoconf-2.59 file: [2fb8445a08] check-in: [cf51f10457] user: dgp branch: trunk, size: 77279
2005-09-14
21:32
* generic/tclStringObj.c: Bug fixes: ObjPrintfVA needed to support "*" fields and needed to interpret precision limits on %s conversions as a maximum number of bytes, not Tcl_UniChars, to take from the (char *) argument. * generic/tclBasic.c: Updated several callers to use * generic/tclCkalloc.c: TclFormatToErrorInfo() and/or * generic/tclCmdAH.c: TclObjPrintf(). * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclProc.c: file: [5aebb5671d] check-in: [fbec962a12] user: dgp branch: trunk, size: 77219
17:13
* generic/tclStringObj.c: Bug fixes: ObjPrintfVA needed to support "*" fields and needed to interpret precision limits on %s conversions as a number of bytes, not Tcl_UniChars, to take from the (char *) argument. * generic/tclBasic.c: Updated several callers to use * generic/tclCmdMZ.c: TclFormatToErrorInfo(). * generic/tclIOUtil.c: * library/init.tcl: Keep [unknown] in sync with errorInfo formatting rules. file: [d18088929d] check-in: [73c6dc5786] user: dgp branch: trunk, size: 77335
2005-09-12
15:40
merge updates from HEAD file: [86ba04ea86] check-in: [156f19bcaf] user: dgp branch: dgp-refactor, size: 77491
2005-08-29
18:38
[kennykb-numerics-branch] Merge updates from HEAD. file: [318a14aad7] check-in: [c74bd61cc0] user: dgp branch: kennykb-numerics-branch, size: 76634
2005-08-26
13:26
More whitespace cleansing and _ANSI_ARGS_ purging file: [5dd7fe1952] check-in: [94354fd3e6] user: dkf branch: trunk, size: 77487
2005-08-23
18:28
TclParseNumber enhanced for [scan ... %f], plus better test coverage file: [d5acfcf3c6] check-in: [43741d958a] user: kennykb branch: kennykb-numerics-branch, size: 77109
2005-08-19
21:55
[kennykb_numerics_branch] * generic/tclBasic.c: Updated OldMathFuncProc and ExprAbsFunc to do less invasion into numeric Tcl_Obj internals. Made ExprDoubleFunc, ExprIntFunc, ExprWideFunc, and ExprRoundFunc bignum-aware. Revised ExprSrandFunc error message. * generic/tclProc.c: Wrapped a few tclWideIntType uses in * generic/tclCmdMZ.c: #ifndef NO_WIDE_TYPE. * generic/tclInt.h: #define'd NO_WIDE_TYPE. file: [193f0cbe13] check-in: [e5101a6820] user: dgp branch: kennykb-numerics-branch, size: 77104
2005-08-02
18:14
merge updates from HEAD file: [7b378dd45b] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 77059
2005-07-26
04:11
Merge updates from HEAD file: [04b30c06ab] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 77964
2005-07-17
21:17
Getting more systematic about style file: [5407ad7011] check-in: [7591df07d6] user: dkf branch: trunk, size: 77960
2005-07-12
20:35
merged changes from HEAD file: [3520ca8ac5] check-in: [5316ea45e0] user: kennykb branch: kennykb-numerics-branch, size: 78103
20:15
first round of TIP#249 changes file: [3c98852b7d] check-in: [a0804d1a4c] user: kennykb branch: kennykb-numerics-branch, size: 77243
2005-06-22
21:12
merge updates from HEAD file: [0b977f7ed6] check-in: [2c0cc8807c] user: dgp branch: dgp-refactor, size: 79037
2005-06-21
17:19
* generic/tclBasic.c: Made the walk of the active trace list aware * generic/tclCmdMZ.c: of the direction of trace scanning, so the * generic/tclInt.h: proper correction can be made. [Bug 1224585] * tests/trace.test (trace-34.2,3): file: [42d96846e3] check-in: [f5039da571] user: dgp branch: core-8-4-branch, size: 136948
2005-06-20
07:48
* generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Generate an error if a mode argument like -exact is passed more than once to the switch command. The previous implementation silently accepted invalid switch invocations like [switch -exact -glob $str ...]. * tests/for.test: Check some error cases when invoking continue and break inside a for loop next script. * tests/switch.test: Add checks for shortened version of a mode argument like -exact. Add test for more than one mode argument. Add test for odd case of passing a variable as a body script. file: [cbbf1ce38b] check-in: [d616dbd68a] user: mdejong branch: trunk, size: 79037
2005-06-13
01:45
*** MERGE WITH HEAD *** (tag msofer-wcodes-20050611) file: [5713cc9026] check-in: [d666b09ed5] user: msofer branch: msofer-wcodes-branch, size: 78735
2005-06-07
09:07
Another indentation fix file: [cf4b870fe5] check-in: [5ddb9adb32] user: dkf branch: trunk, size: 78728
09:06
Clean up indentation file: [ce7af2b6bc] check-in: [65eb529bed] user: dkf branch: trunk, size: 78730
2005-06-02
04:17
merge updates from HEAD file: [17ca169c11] check-in: [0d4fa0e558] user: dgp branch: dgp-refactor, size: 78736
2005-06-01
11:00
Implementation of TIP#241 from Joe Mistachkin Also compilation of [switch -glob -nocase] from Donal Fellows file: [b2e050712e] check-in: [1dd0879381] user: dkf branch: trunk, size: 78732
2005-05-25
19:27
* generic/tclCmdMZ.c (Tcl_TimeObjCmd): add necessary cast file: [2622a98512] check-in: [a1d08b0d48] user: hobbs branch: trunk, size: 78451
19:25
* generic/tclCmdMZ.c (Tcl_TimeObjCmd): add necessary cast file: [cdf13162dd] check-in: [176b2864bd] user: hobbs branch: core-8-4-branch, size: 136648
15:01
merge updates from HEAD file: [b311b46e6d] check-in: [64d23581aa] user: dgp branch: dgp-refactor, size: 78377
2005-05-24
04:18
* generic/tclCmdMZ.c (Tcl_TimeObjCmd): change [time] called with a count > 1 to return a string with a float value instead of a rounded off integer. [Bug 1202178] file: [b59f289407] check-in: [f5fb72c5f9] user: das branch: core-8-4-branch, size: 136570
2005-05-23
20:18
* generic/tclCmdMZ.c (Tcl_TimeObjCmd): change [time] called with a count > 1 to return a string with a float value instead of a rounded off integer. [Bug 1202178] file: [a30e1e6e73] check-in: [26e1c8d94c] user: das branch: trunk, size: 78373
2005-05-21
15:10
Resynchronized with HEAD file: [1a1d4e7e64] check-in: [96be07d7c8] user: kennykb branch: kennykb-numerics-branch, size: 78181
2005-05-18
20:54
* generic/tclBasic.c (Tcl_ExprBoolean): Rewrite as wrapper around Tcl_ExprBooleanObj. * generic/tclCmdMZ.c ([string is boolean/true/false]): Rewrite dropping string-based Tcl_GetBoolean call, so that internal reps are kept for subsequent quick boolean operations. * generic/tclExecute.c: Dropped most special handling of the "boolean" Tcl_ObjType, since that type should now be rarely encountered. * doc/BoolObj.3: Rewrite of documentation dropping many details about the internals of Tcl_Objs. Shorter documentation focuses on the function and use of the routines. file: [42c8618eaa] check-in: [c3e78c6b7d] user: dgp branch: trunk, size: 78173
2005-05-11
16:58
merge updates from HEAD file: [6063d0fb14] check-in: [a8212110f1] user: dgp branch: dgp-refactor, size: 78357
15:00
Synchronized with HEAD file: [695dace73b] check-in: [6ea4a2ae77] user: kennykb branch: kennykb-numerics-branch, size: 78361
00:51
* tests/string.test: string-10.[21-30] * generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to prevent possible UMR in unichar cmp function for string map. file: [7ca7ef57d7] check-in: [fab27ad2b8] user: hobbs branch: trunk, size: 78355
00:47
* tests/string.test: string-10.[21-30] * generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to prevent possible UMR in unichar cmp function for string map. file: [3143f4c421] check-in: [8a6c6f6b7d] user: hobbs branch: core-8-4-branch, size: 136400
2005-05-10
18:33
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 file: [9b4950a380] check-in: [1cc2336920] user: kennykb branch: trunk, size: 78195
2005-05-05
17:55
Merged with HEAD file: [4914297805] check-in: [b77c9a87c6] user: kennykb branch: kennykb-numerics-branch, size: 78199
2005-04-29
22:39
Merge updates from HEAD file: [648d36a464] check-in: [ac63d218d8] user: dgp branch: dgp-refactor, size: 78469
20:49
TIP#176 IMPLEMENTATION [Patch 1165695] * generic/tclUtil.c: Extended TclGetIntForIndex to recognize index formats including end+integer and integer+/-integer. * generic/tclCmdMZ.c: Extended the -start switch of [regexp] and [regsub] to accept all index formats known by TclGetIntForIndex. * doc/lindex.n: Updated docs to note new index formats. * doc/linsert.n: * doc/lrange.n: * doc/lreplace.n: * doc/lsearch.n: * doc/lset.n: * doc/lsort.n: * doc/regexp.n: * doc/regsub.n: * doc/string.n: * tests/cmdIL.test: Updated tests. * tests/compile.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/lsearch.test: * tests/lset.test: * tests/regexp.test: * tests/regexpComp.test: * tests/string.test: * tests/stringComp.test: * tests/util.test: file: [0a338539e8] check-in: [d9e4591786] user: dgp branch: trunk, size: 78465
2005-04-22
16:29
* generic/tclCmdMZ.c: Corrected intrep-dependence of * tests/string.test: [string is boolean] [Bug 1187123] file: [2e2dc877e2] check-in: [8c298ec89c] user: dgp branch: core-8-4-branch, size: 136236
2005-04-10
23:14
merged with HEAD and fixed 1180368 file: [0bbad362bf] check-in: [7bc9ca0285] user: kennykb branch: kennykb-numerics-branch, size: 77461
2005-04-08
10:42
Improved [switch] compilation. file: [2d4edd5ff4] check-in: [4cd9721bbc] user: dkf branch: trunk, size: 77727
2005-03-18
16:33
* generic/tclBasic.c (Tcl_EvalEx,TclEvalTokensStandard): * generic/tclCmdMZ.c (Tcl_SubstObj): * tests/basic.test (basic-46.4): Restored recursion limit * tests/parse.test (parse-19.*): testing in nested command substitutions within direct script evaluation (Tcl_EvalEx) that got lost in the parser reforms of Tcl 8.1. Added tests for correct behavior. [Bug 1115904] file: [5813ef23db] check-in: [e64996b96b] user: dgp branch: core-8-4-branch, size: 136467
2005-03-10
20:22
* generic/tclCmdMZ.c (TclCheckInterpTraces): Corrected mistaken cast of ClientData to (TraceCommandInfo *) when not warranted. Thanks to Yuri Victorovich for the report. [Bug 1153871] file: [b29ff8576e] check-in: [5e6df95dbf] user: dgp branch: core-8-4-branch, size: 136336
2005-03-04
20:43
made code permissive about infinities file: [5416b8a945] check-in: [ab448d97fd] user: kennykb branch: kennykb-numerics-branch, size: 77286
2005-02-02
15:53
sync with head, add TclStrToD (TIP #132) file: [bba7824f25] check-in: [82ce6a0c40] user: kennykb branch: kennykb-numerics-branch, size: 77579
2004-11-15
21:14
* generic/tclCmdMZ.c (Tcl_TraceObjCmd): Fixed Bug 1065378 which failed * tests/trace.test (trace-33.1): to permit a variable trace created with [trace variable] to be destroyed with [trace remove]. Thanks to Keith Vetter for the report. file: [15c78610eb] check-in: [0c5016cb64] user: dgp branch: core-8-4-branch, size: 136386
2004-10-28
18:45
merge updates from HEAD file: [ed6f061f31] check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 77556
2004-10-21
15:19
* generic/tclCmdAH.c (Tcl_CatchObjCmd, Tcl_ErrorObjCmd): Updated to call the new TclGet/SetReturnOptions routines to do much of their work. * generic/tclInt.h (TclGetReturnOptions,TclSetReturnOptions): * generic/tclResult.c (TclGetReturnOptions,TclSetReturnOptions): New utility routines to get/set the return options of an interp. Intent is that these routines will be converted to public routines after TIP approval. * generic/tclCmdMZ.c (TclProcessReturn,TclMergeReturnOptions): * generic/tclResult.c (TclProcessReturn,TclMergeReturnOptions): Move internal utility routines from tclCmdMZ.c to tclResult.c. * generic/tclBasic.c (Tcl_CreateInterp, Tcl_DeleteInterp): * generic/tclResult.c (TclTransferResult): Rework so that iPtr->returnOpts can be NULL when there are no special options. * generic/tclResult.c (TclRestoreInterpState): Plug potential memory leak. file: [771d748c42] check-in: [85c0a05f6f] user: dgp branch: trunk, size: 77552
2004-10-18
21:15
* generic/tclBasic.c (Tcl_CreateInterp,Tcl_DeleteInterp): * generic/tclCmdAH.c (Tcl_CatchObjCmd): * generic/tclCmdMZ.c (TclMergeReturnOptions,TclProcessReturn): * generic/tclCompCmds.c (TclCompileReturnCmd): * generic/tclExecute.c (TclCompEvalObj): * generic/tclInt.h (Interp): * generic/tclProc.c (TclUpdateReturnInfo): Place primary storage of the -level and -code information in private fields of the Interp struct, rather than in a DictObj. This should significantly improve performance of TclUpdateReturnInfo. file: [61e1646103] check-in: [02ff5ead50] user: dgp branch: trunk, size: 83636
2004-10-15
21:02
* generic/tclCmdMZ.c (TclProcessReturn): Now that primary * generic/tclProc.c (TclUpdateReturnInfo): storage for the errorInfo and errorCode values are internal fields, we can set them at the time of the [return] command, and not have to wait until the specified number of "-level"s have popped. file: [6eb713be5f] check-in: [608104a1b8] user: dgp branch: trunk, size: 84070
04:01
* generic/tclBasic.c (Tcl_CreateInterp,Tcl_DeleteInterp, TclEvalObjvInternal,Tcl_LogCommandInfo,TclAddObjErrorInfo): * generic/tclCmdAH.c (Tcl_CatchObjCmd): * generic/tclEvent.c (BgError,ErrAssocData,Tcl_BackgroundError, HandleBgErrors,BgErrorDeleteProc): * generic/tclExecute.c (TclCreateExecEnv,TclDeleteExecEnv): * generic/tclIOUtil.c (comments only): * generic/tclInt.h (ExecEnv,Interp, ERR_IN_PROGRESS): * generic/tclInterp.c ([tclInit]): * generic/tclMain.c (comments only): * generic/tclNamesp.c (Tcl_CreateNamespace,Tcl_DeleteNamespace,TclTeardownNamespace): * generic/tclProc.c (TclUpdateReturnInfo): * generic/tclResult.c (Tcl_ResetResult,TclTransferResult): * generic/tclTrace.c (CallVarTraces): Reworked management of the "errorInfo" data of an interp. That information is now primarily stored in a new private (Tcl_Obj *) field of the Interp struct, rather than using a global variable ::errorInfo as the primary storage. The ERR_IN_PROGRESS flag bit value is no longer required to manage the value in its new location, and is removed. Variable traces are established to support compatibility for any code expecting the ::errorInfo variable to hold the information. ***POTENTIAL INCOMPATIBILITY*** Code that sets traces on the ::errorInfo variable may notice a difference in timing of the firing of those traces. Code that uses the value ERR_IN_PROGRESS. file: [d84ce19393] check-in: [264b4df978] user: dgp branch: trunk, size: 84128
2004-10-06
09:44
Convert Tcl_GetString to TclGetString for minor speed increase file: [720cf568a2] check-in: [e5bdcff27d] user: dkf branch: trunk, size: 84217
09:28
Simplify [switch] implementation. file: [0c5e4cb8de] check-in: [920c8a341a] user: dkf branch: trunk, size: 84231
05:52
* generic/tclBasic.c: * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated. file: [85e2d71036] check-in: [6470fa7251] user: dgp branch: trunk, size: 84208
2004-09-30
23:06
* generic/tclBasic.c (Tcl_AddObjErrorInfo): More re-organization * generic/tclCmdAH.c (Tcl_ErrorObjCmd): of the management of * generic/tclCmdMZ.c (TclProcessReturn): the errorCode value. * tests/error.test (error-6.4-9): * generic/tclNamespace.c (TclTeardownNamespace): Tcl_Obj-ified * tests/namespace.test (namespace-8.5,6): the save/restore of ::errorInfo and ::errorCode during global namespace teardown. Revised the comment to clarify why this is done, and added tests that will fail if this is not done. * generic/tclResult.c (TclTransferResult): Added safety checks so that unexpected undefined ::errorInfo or ::errorCode will not lead to a segfault. * generic/tclTrace.c (TclCallVarTraces): Save/restore the flag * tests/var.test (var-16.1): values that define part of the interpreter state during variable traces. [Bug 10381021]. file: [0d92592988] check-in: [6dfe14b116] user: dgp branch: trunk, size: 84305
00:51
merge updates from HEAD file: [0e4c8060f2] check-in: [6cd7cf6875] user: dgp branch: dgp-refactor, size: 84253
2004-09-22
22:23
* generic/tclCmdMZ.c (TclProcessReturn): Support the -errorline * generic/tclCompile.c (TclCompileScript): option to [return]. * tests/compile.test (16.23.*): Use that capability to defer reporting * tests/misc.test (1.2): of parse errors until runtime. Updated tests to reflect change. [Bug 1032805] file: [11592f2f2c] check-in: [b9d1ceb353] user: dgp branch: trunk, size: 84249
2004-09-21
23:10
merge updates from HEAD file: [450480fc24] check-in: [1d1ea15d54] user: dgp branch: dgp-refactor, size: 84051
2004-09-17
22:59
* generic/tclBasic.c (Tcl_AddObjErrorInfo, Tcl_LogCommandInfo): * generic/tclCmdAH.c ([catch], [error]): * generic/tclCmdMZ.c ([return]): * generic/tclProc.c (TclUpdateReturnInfo): * generic/tclResult.c (Tcl_SetErrorCodeVA, Tcl_SetObjErrorCode TclTransferResult): Refactored so that all errorCode setting flows through Tcl_SetObjErrorCode(). This greatly reduces the number of different places in the code that need to know details about an internal bitflag field of the Interp struct. Also places errorCode setting in one place for easier future mods. file: [595c62b567] check-in: [919a686d01] user: dgp branch: trunk, size: 84047
2004-09-08
23:02
Merge updates from HEAD file: [e3f4d36f53] check-in: [dff8728918] user: dgp branch: dgp-refactor, size: 84117
2004-08-30
18:15
Fix crash in [string map] when objects are shared. [Bug 1018562] file: [9939040e77] check-in: [0a400ea11f] user: dkf branch: core-8-4-branch, size: 137726
18:06
Fix a crash caused by sharing in [string map]. [Bug 1018562] file: [9d059009af] check-in: [ee48b7f359] user: dkf branch: trunk, size: 84113
2004-07-07
14:00
* generic.tclCmdMZ.c (TclMergeReturnOptions): Simplified logic and removed potential memory leak. [Bug 986257]. file: [51942bb545] check-in: [212ee836fd] user: dgp branch: trunk, size: 83659
2004-06-30
12:34
TIP#188 implementation. Thanks to KBK! [Patch 940915] file: [aa3a39caa1] check-in: [93e9c318bd] user: dkf branch: trunk, size: 83636
2004-05-27
15:02
Merge updates from HEAD file: [ea67ff4d49] check-in: [c9ab42babb] user: dgp branch: dgp-refactor, size: 82515
14:29
Merge updates from HEAD. Also implemented flags argument to TclCompEvalObj(). file: [0e8e72d0f6] check-in: [8f7452ee0c] user: dgp branch: dgp-refactor, size: 82515
13:18
Made compiling with -Wstrict-prototypes -Wmissing-prototypes much cleaner. Also added support for [FRQ 951168] but left that switched off by default. file: [16d5958ba7] check-in: [3c862df4ab] user: dkf branch: trunk, size: 82512
2004-04-09
20:57
Merge updates from HEAD file: [0beb580127] check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 82355
2004-04-06
22:25
Patch 922727 committed. Implements three changes: * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed): file: [d396bdfb81] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 82352
2004-03-01
17:33
* generic/tclCmdMZ.c (TclCheckInterpTraces): The TIP 62 * generic/tclTest.c (TestcmdtraceCmd): implementation introduced a * tests/basic.test (basic-39.10): bug by testing the CallFrame level instead of the iPtr->numLevels level when deciding what traces created by Tcl_Create(Obj)Trace to call. Added test to expose the error, and made fix. [Request 462580] file: [00dabd85a8] check-in: [af732ef905] user: dgp branch: core-8-4-branch, size: 137273
2004-02-17
04:54
* generic/tclCmdMZ.c (TclTraceExecutionObjCmd) (TclTraceCommandObjCmd): fix possible mem leak in trace info. file: [6e6767f5c2] check-in: [ec54906e57] user: hobbs branch: core-8-4-branch, size: 137320
2004-02-07
05:47
Merge updates from HEAD Note that this branch currently does not fully support the new {expand} syntax. Updates to TclEvalScriptTokens and TclCompileScriptTokens are still to come. file: [a58196f439] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 82376
2004-01-13
23:37
* generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Silence compiler warnings. file: [6fbfbdfc71] check-in: [b986a19bed] user: dgp branch: trunk, size: 82373
23:15
Patch 876451: restores performance of [return]. Also allows forms such as [return -code error $msg] to be bytecompiled. * generic/tclInt.h: Factored Tcl_ReturnObjCmd() into two pieces: * generic/tclCmdMZ.c: TclMergeReturnOptions(), which can parse the options to [return], check their validity, and create the corresponding return options dictionary, and TclProcessReturn(), which takes that return options dictionary and performs the [return] operation. * generic/tclCompCmds.c: Rewrote TclCompileReturnCmd() to call TclMergeReturnOptions() at compile time so the return options dictionary is computed at compile time (when it is fully known). The dictionary is pushed on the stack along with the result, and the code and level values are included in the bytecode as operands. Also supports optimized compilation of un-[catch]ed [return]s from procs with default options into the INST_DONE instruction. * generic/tclExecute.c: Rewrote INST_RETURN instruction to retrieve the code and level operands, pop the return options from the stack, and call TclProcessReturn() to perform the [return] operation. * generic/tclCompile.h: New utilities include TclEmitInt4 macro * generic/tclCompile.c: and TclWordKnownAtCompileTime(). file: [7e1c2e584a] check-in: [8727b42c2c] user: dgp branch: trunk, size: 82358
2003-12-24
04:18
All uses of 'panic' (the macro) changed to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264] file: [abc760222e] check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 79690
2003-12-14
18:32
TIP#75 Implementation file: [396c145ddd] check-in: [37ab2795dd] user: dkf branch: trunk, size: 79677
2003-10-16
02:28
Merged updates from HEAD file: [c23e9f0508] check-in: [44102608b1] user: dgp branch: dgp-refactor, size: 75347
2003-10-14
18:23
regsub fix file: [e10e573510] check-in: [67a6ac6109] user: vincentdarley branch: trunk, size: 75353
18:21
regsub fix file: [c6d710edaa] check-in: [5f7f128188] user: vincentdarley branch: core-8-4-branch, size: 137329
15:44
* generic/tclBasic.c (TclAppendObjToErrorInfo): New internal routine that appends a Tcl_Obj to the errorInfo, saving the caller the trouble of extracting the string rep. * generic/tclStringObj.c (TclAppendLimitedToObj): New internal routine that supports truncated appends with optional ellipsis marking. This single routine supports UTF-8-safe truncated appends needed in several places throughout the Tcl source code, mostly for error and stack messages. Clean fix for [Bug 760872]. * generic/tclInt.h: Declarations for new internal routines. * generic/tclCmdMZ.c: Updated callers to use the new routines. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclProc.c: * generic/tclStringObj.c: * mac/tclMacResource.c: * library/init.tcl: Updated ::errorInfo cleanup in [unknown] to reflect slight modifications to Tcl_LogCommandInfo(). Corrects failing init-4.* tests. file: [3a653f983b] check-in: [3522d44090] user: dgp branch: trunk, size: 75082
2003-10-03
20:31
* generic/tclBasic.c: Fixed error in ref count management of command * generic/tclCmdMZ.c: and execution traces that caused access to freed memory in trace-32.1. [Bug 811483]. file: [4d8b7b16c1] check-in: [d827d182f4] user: dgp branch: core-8-4-branch, size: 137058
2003-09-24
02:17
* generic/tclCmdMZ.c (): Fixed [Bug 807243] where * tests/trace.test (trace-31,32.*): the introspection results of both [trace info command] and [trace info execution] were getting co-mingled. Thanks to Mark Saye for the report. file: [0368b858af] check-in: [5e1bc3855c] user: dgp branch: core-8-4-branch, size: 135455
2003-09-05
23:08
Merge updates from HEAD. file: [ca4f5f86f3] check-in: [3f920087eb] user: dgp branch: dgp-refactor, size: 74798
21:52
* doc/FileSystem.3: Implementation of * doc/source.n: TIPs 137/151. Adds * doc/tclsh.1: a -encoding option to * generic/tcl.decls: the [source] command * generic/tclCmdMZ.c (Tcl_SourceObjCmd): and a new C routine, * generic/tclIOUtil.c (Tcl_FSEvalFileEx): Tcl_FSEvalFileEx(), * generic/tclMain.c (Tcl_Main): that provides C access * mac/tclMacResource.c (Tcl_MacSourceObjCmd): to the same function. * tests/cmdMZ.test: Also adds command line * tests/main.test: option handling in Tcl_Main() so that tclsh * tests/source.test: and other apps built on Tcl_Main() respect a -encoding command line option before a script filename. Docs and tests updated as well. [Patch 742683] This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs that embed Tcl, build on Tcl_Main(), and make use of Tcl_Main's former ability to pass a leading "-encoding" option to interactive shell operations. * generic/tclInt.decls: Added internal stub * generic/tclMain.c (Tcl*StartupScript*): table entries for two new functions Tcl_SetStartupScript() and Tcl_GetStartupScript() that set/get the path and encoding for the startup script to be evaluated by either Tcl_Main() or Tk_Main(). Given public names in anticipation of their exposure by a followup TIP. * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c: file: [2213086a70] check-in: [8f0e879bbd] user: dgp branch: trunk, size: 74794
2003-07-16
08:24
Removed trivially-unreachable line [Bug 771939] file: [7106eb112a] check-in: [287971e081] user: dkf branch: core-8-4-branch, size: 134985
2003-07-07
20:23
Merge updates from HEAD file: [1984263f89] check-in: [cc914a2e8a] user: dgp branch: dgp-refactor, size: 74390
2003-07-04
10:30
[string map] now can take dictionaries for maps but the condition for doing so is deeply tricky. [Bug 759936] file: [c66da6d791] check-in: [c40ffcd834] user: dkf branch: trunk, size: 74386
2003-06-27
15:10
Merge updates from HEAD file: [59abeefcc1] check-in: [eec28d33df] user: dgp branch: dgp-refactor, size: 73160
2003-06-25
23:02
Factored out the trace code - it's big enough to be its own maintenance area and tricky enough to discourage non-specialists... file: [23b3e51821] check-in: [9dafee66e2] user: dkf branch: trunk, size: 73156
2003-06-18
19:47
Merged in updates from the HEAD file: [f826346769] check-in: [f146aedacd] user: dgp branch: dgp-refactor, size: 134461
2003-06-17
20:42
backport of regsub empty string fixes file: [74cbd374b0] check-in: [31ae6969b0] user: vincentdarley branch: core-8-4-branch, size: 135007
20:36
regsub empty string fixes, and windows build file: [95e2abd0e7] check-in: [6f6bf2acac] user: vincentdarley branch: trunk, size: 134467
2003-05-10
23:55
* generic/tclCmdMZ.c (Tcl_StringObjCmd): prevent string repeat crash when overflow sizes were given (throws error). [Bug #714106] file: [ba8d7249a6] check-in: [2e6f8b3c4f] user: hobbs branch: core-8-4-branch, size: 134578
23:54
* generic/tclCmdMZ.c (Tcl_StringObjCmd): prevent string repeat crash when overflow sizes were given (throws error). [Bug #714106] file: [58e3a1121f] check-in: [ce02dd71c7] user: hobbs branch: trunk, size: 134038
2003-05-09
13:08
The array of strings passed to Tcl_GetIndexFromObj must be NULL terminated. file: [c285d61048] check-in: [5a52489bb8] user: dkf branch: trunk, size: 133727
2003-05-07
21:15
Made error message for [trace info] more consistent with documentation. file: [47339b4b63] check-in: [326ae2366f] user: dkf branch: trunk, size: 133721
2003-05-05
20:54
* generic/tclBasic.c: Implementation of TIP 90, which * generic/tclCmdAH.c: extends the [catch] and [return] * generic/tclCompCmds.c: commands to enable creation of a * generic/tclExecute.c: proc that is a replacement for * generic/tclInt.h: [return]. [Patch 531640] * generic/tclProc.c: * generic/tclResult.c: * tests/cmdAH.test: * tests/cmdMZ.test: * tests/error.test: * tests/proc-old.test: * library/tcltest/tcltest.tcl: The -returnCodes option to [test] failed to recognize the symbolic name "ok" for return code 0. file: [37255ffafc] check-in: [d2aab88bfd] user: dgp branch: trunk, size: 133077
2003-04-11
20:50
* generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT): Corrected inconsistent results of [string is integer] observed on systems where sizeof(long) != sizeof(int). [Bug 718878] * tests/string.test: Added tests for Bug 718878. * doc/string.n: Clarified that [string is integer] accepts 32-bit integers. file: [a9bbc78825] check-in: [b2c13f616b] user: dgp branch: trunk, size: 130235
20:49
* generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT): Corrected inconsistent results of [string is integer] observed on systems where sizeof(long) != sizeof(int). [Bug 718878] * tests/string.test: Added tests for Bug 718878. * doc/string.n: Clarified that [string is integer] accepts 32-bit integers. file: [43dba32288] check-in: [c1cbd75c51] user: dgp branch: core-8-4-branch, size: 134267
15:59
fix 5 small filesystem bugs, and some typos file: [8035621a32] check-in: [da7df285d1] user: vincentdarley branch: trunk, size: 130302
2003-04-07
16:55
* generic/tclCmdMZ.c (TraceExecutionProc): Added missing Tcl_DiscardResult() call to avoid memory leak. file: [f64cf61d79] check-in: [5409c6ec58] user: dgp branch: trunk, size: 130292
16:53
* generic/tclCmdMZ.c (TraceExecutionProc): Added missing Tcl_DiscardResult() call to avoid memory leak. file: [099731af11] check-in: [1e197c79ff] user: dgp branch: core-8-4-branch, size: 134324
2003-03-13
02:48
* generic/tclBasic.c (Tcl_EvalTokensStandard): * generic/tclCmdMZ.c (Tcl_SubstObj): * generic/tclCompCmds.c (TclCompileSwitchCmd): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclCompile.c (TclSetByteCodeFromAny,TclCompileScript, TclCompileTokens,TclCompileCmdWord): * generic/tclCompile.h (TclCompileScript): * generic/tclExecute.c (TclCompEvalObj): * generic/tclInt.h (Interp,TCL_BRACKET_TERM,TclSubstTokens): * generic/tclParse.c (ParseTokens,Tcl_SubstObj,TclSubstTokens): * tests/subst.test (2.4, 8.7, 8.8, 11.4, 11.5): Substantial refactoring of Tcl_SubstObj to make use of the same parsing and substitution procedures as normal script evaluation. Tcl_SubstObj() moved to tclParse.c. New routine TclSubstTokens() created in tclParse.c which implements all substantial functioning of Tcl_EvalTokensStandard(). TclCompileScript() loses its "nested" argument, the Tcl_Interp struct loses its termOffset field and the TCL_BRACKET_TERM flag in the evalFlags field, all of which were only used (indirectly) by Tcl_SubstObj(). Tests subst-8.7,8.8,11.4,11.5 modified to accomodate the only behavior change: reporting of parse errors now takes precedence over [return] and [continue] exceptions. All other behavior should file: [17fe1cd511] check-in: [15c562285e] user: dgp branch: trunk, size: 130249
2003-03-12
18:04
* generic/tclCmdMZ.c (Tcl_SubstObj): Corrected and added test for * tests/subst.test (subst-2.4): Tcl_SubstObj's incorrect halting of substitution at the first \x00 byte. [Bug 685106] file: [7ad1b7dafa] check-in: [b9c155681d] user: dgp branch: core-8-4-branch, size: 134281
2003-02-27
00:54
* generic/tclCmdMZ.c (TraceCommandProc): Fix mem leak when deleting a command that had trace on it. [Bug #693564] (sofer) file: [013d12e327] check-in: [8bb4478f38] user: hobbs branch: trunk, size: 134115
2003-02-18
02:25
* generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH): * generic/tclCmdMZ.c (Tcl_StringObjCmd STR_MATCH): * generic/tclUtf.c (TclUniCharMatch): * generic/tclInt.decls: add private TclUniCharMatch function that * generic/tclIntDecls.h: does string match on counted unicode * generic/tclStubInit.c: strings. Tcl_UniCharCaseMatch has the * tests/string.test: failing that it can't handle strings or * tests/stringComp.test: patterns with embedded NULLs. Added tests that actually try strings/pats with NULLs. TclUniCharMatch should be TIPed and made public in the next minor version rev. file: [ced8972bf0] check-in: [28dcdcf39e] user: hobbs branch: trunk, size: 133961
2003-01-17
14:19
execution trace, command trace and stringObj bug fixes file: [695d43d28b] check-in: [bf6b0dfaf9] user: vincentdarley branch: trunk, size: 133839
2002-11-13
22:11
3 small fixes file: [bd2838ba3c] check-in: [602e2df05f] user: vincentdarley branch: trunk, size: 131709
2002-11-12
02:25
* tests/split.test: added 1-char string split tests * generic/tclCmdMZ.c (Tcl_SplitObjCmd): Use TclUtfToUniChar. Also added a special case for single-ascii-char splits. (Tcl_StringObjCmd): Use TclUtfToUniChar. For STR_RANGE, support getting ranges of ByteArrays (reverts change from 2000-05-26). (TraceExecutionProc) add proper static declaration. file: [023a803947] check-in: [5a9d0381a0] user: hobbs branch: trunk, size: 131293
2002-10-15
16:13
execution trace fix file: [32b1eb7012] check-in: [19ad8717ce] user: vincentdarley branch: trunk, size: 130186
2002-08-30
15:33
merged with trunk at tag macosx-8-4-merge-2002-08-30-trunk file: [5995ec7834] check-in: [c69eee32c0] user: das branch: macosx-8-4-branch, size: 128878
2002-08-22
15:57
* generic/tclBasic.c: * generic/tclCmdMZ.c: fix for freed memory r/w in delete traces [Bug 589863], patch by Hemang Lavana. file: [9eb56e27f7] check-in: [a67b8218c5] user: msofer branch: trunk, size: 128877
2002-08-20
20:25
merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk file: [ba917d34a0] check-in: [354986d9c3] user: das branch: macosx-8-4-branch, size: 128653
2002-08-12
12:23
* generic/tclCmdMZ.c: fixing UMR in delete traces, [Bug 589863]. file: [e2a410c077] check-in: [67642dd640] user: msofer branch: trunk, size: 128652
2002-08-05
03:24
* doc/CmdCmplt.3: Applied Patch 585105 to fully CONST-ify * doc/Concat.3: all remaining public interfaces of Tcl. * doc/CrtCommand.3: Notably, the parser no longer writes on * doc/CrtSlave.3: the string it is parsing, so it is no * doc/CrtTrace.3: longer necessary for Tcl_Eval() to be * doc/Eval.3: given a writable string. Also, the * doc/ExprLong.3: refactoring of the Tcl_*Var* routines * doc/LinkVar.3: by Miguel Sofer is included, so that the * doc/ParseCmd.3: "part1" argument for them no longer needs * doc/SetVar.3: to be writable either. * doc/TraceVar.3: * doc/UpVar.3: Compatibility support has been enhanced so * generic/tcl.decls that a #define of USE_NON_CONST will remove * generic/tcl.h all possible source incompatibilities with * generic/tclBasic.c the 8.3 version of the header file(s). * generic/tclCmdMZ.c The new #define of USE_COMPAT_CONST now does * generic/tclCompCmds.c what USE_NON_CONST used to do -- disable * generic/tclCompExpr.c only those new CONST's that introduce * generic/tclCompile.c irreconcilable incompatibilities. * generic/tclCompile.h * generic/tclDecls.h Several bugs are also fixed by this patch. * generic/tclEnv.c [Bugs 584051,580433] [Patches 585105,582429] * generic/tclEvent.c * generic/tclInt.decls * generic/tclInt.h * generic/tclIntDecls.h * generic/tclInterp.c * generic/tclLink.c * generic/tclObj.c * generic/tclParse.c * generic/tclParseExpr.c * generic/tclProc.c * generic/tclTest.c * generic/tclUtf.c * generic/tclUtil.c * generic/tclVar.c * mac/tclMacTest.c * tests/expr-old.test * tests/parseExpr.test * unix/tclUnixTest.c * unix/tclXtTest.c * win/tclWinTest.c file: [4c66b3bc30] check-in: [e476c22fec] user: dgp branch: trunk, size: 128593
2002-06-19
22:38
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): get the resultPtr again as the Tcl_ObjSetVar2 may cause the result to change. [Patch #558324] (watson) file: [bbb67fbb3c] check-in: [1a723fe8cb] user: hobbs branch: trunk, size: 128550
2002-06-17
22:52
* doc/CrtTrace.3: Added TIP#62 implementation of command * doc/trace.n: execution tracing [FR #462580] (lavana). * generic/tcl.h: This includes enter/leave tracing as well * generic/tclBasic.c: as inter-procedure stepping. * generic/tclCmdMZ.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclVar.c: * tests/trace.test: file: [7565c4fad4] check-in: [3da5a82795] user: hobbs branch: trunk, size: 128382
2002-06-14
13:17
TIP#102 implementation: 'trace list' becomes 'trace info' file: [e9d64c3631] check-in: [8a0002c6e0] user: dkf branch: trunk, size: 103031
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: [b183604842] check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 103040
2002-05-30
03:26
* generic/tclExecute.c (TclExecuteByteCode INST_STR_CMP): * generic/tclCmdMZ.c (Tcl_StringObjCmd): changed the case for choosing the Tcl_UniCharNcmp compare to when both objs are of StringType, as benchmarks show that is the optimal check (both bigendian and littleendian systems). file: [319d2e3e4c] check-in: [c3460261c4] user: hobbs branch: trunk, size: 103033
2002-05-29
10:35
Made Tcl_UniCharNcmp faster on big-endian machines; the system memcmp()is probably optimized far in excess of anything we could do! Little-endian just use the old code... file: [1c613def33] check-in: [b3535ea391] user: dkf branch: trunk, size: 103134
09:09
* generic/tclInt.decls: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclUtf.c: added TclpUtfNcmp2 private command that mirrors Tcl_UtfNcmp, but takes n in bytes, not utf-8 chars. This provides a faster alternative for comparing utf strings internally. (Tcl_UniCharNcmp, Tcl_UniCharNcasecmp): removed the explicit end of string check as it wasn't correct for the function (by doc and logic). * generic/tclCmdMZ.c (Tcl_StringObjCmd): reworked the string equal comparison code to use TclpUtfNcmp2 as well as short-circuit for equal objects or unequal length strings in the equal case. Removed the use of goto and streamlined the other parts. * generic/tclExecute.c (TclExecuteByteCode): added check for object equality in the comparison instructions. Added short-circuit for != length strings in INST_EQ, INST_NEQ and INST_STR_CMP. Reworked INST_STR_CMP to use TclpUtfNcmp2 where appropriate, and only use Tcl_UniCharNcmp when at least one of the objects is a Unicode obj with no utf bytes. file: [725a503a5e] check-in: [c78da914be] user: hobbs branch: trunk, size: 103137
2002-04-18
13:49
Partial resolution of Bug #536831; the comment is a bit clearer! file: [9083df7967] check-in: [487757f636] user: dkf branch: trunk, size: 104093
2002-04-05
19:26
* Corrected [subst] so that return codes TCL_BREAK and TCL_CONTINUE returned by variable substitution have the same effect as when those codes are returned by command substitution. [Bug 536879] file: [9653c1f010] check-in: [f241a4c37d] user: dgp branch: trunk, size: 103582
2002-03-29
22:47
* generic/tclCmdMZ.c (Tcl_TraceObjCmd, TraceVarProc) (TraceCommandProc, TclTraceCommandObjCmd): corrected potential double-free of traces on variables by flagging in Trace*Proc that it will free the var in case the eval wants to delete the var trace as well. [Bug #536937] Also converted Tcl_UntraceVar -> Tcl_UntraceVar2 and Tcl_Eval to Tcl_EvalEx in Trace*Proc for slight efficiency improvement. file: [e4a45b381b] check-in: [4a46ab8262] user: hobbs branch: trunk, size: 103457
22:42
* tests/trace.test (trace-18.2): * generic/tclCmdMZ.c (Tcl_TraceObjCmd, TraceVarProc): corrected potential double-free of traces on variables by flagging in TraceVarProc that it will free the var in case the eval wants to delete the var trace as well. [Bug #536937] file: [816dcc11ba] check-in: [860bba1170] user: hobbs branch: core-8-3-1-branch, size: 73442
2002-03-20
22:47
* Updated interfaces of generic/tclVar.c according to TIP 27. In particular, the "part2" arguments were CONSTified. file: [53faba6951] check-in: [b64c27e52d] user: dgp branch: trunk, size: 102865
2002-03-01
06:23
* generic/tclCmdMZ.c (TraceCommandProc): ensure that TraceCommandInfo structure was also deleted when a command was deleted to prevent a mem leak. file: [b6be3014ce] check-in: [076eb6a4e0] user: hobbs branch: trunk, size: 102855
2002-02-27
06:39
generic/tclCmdMZ.c file: [0ccf8a2116] check-in: [199f301702] user: hobbs branch: trunk, size: 102666
2002-02-22
14:52
Added TIP#76 implementation, docs + tests. file: [84e019773f] check-in: [77072a000c] user: dkf branch: trunk, size: 102688
2002-02-15
14:28
TIP#72 implementation. See ChangeLog for details. This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode. file: [5ada0c5607] check-in: [8d82de1905] user: dkf branch: trunk, size: 102485
2002-02-08
02:52
* Partial TIP 27 rollback. Following routines restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects. * generic/tclCmdMZ.c: corrected use of C++-style comment. file: [55100e01af] check-in: [bb1a244cde] user: dgp branch: trunk, size: 102264
2002-02-07
00:56
* generic/tclCmdMZ.c (Tcl_RegsubObjCmd): added special case to search for simple 'string map' style regsub calls. Delayed creation of resultPtr object until an initial match is made, as the input string object can then be reused for no matches. (Tcl_StringObjCmd): optimization improvements to the STR_MAP algorithm for zero-length and nocase cases. file: [013b8b017c] check-in: [96d63652fd] user: hobbs branch: trunk, size: 102264
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [05c3baff7f] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 99498
2002-02-02
00:20
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): handle quirky about case earlier to avoid shimmering problem. file: [1c0b2156d2] check-in: [8dd6f681a3] user: hobbs branch: trunk, size: 99491
2002-01-21
16:15
* Updated APIs in generic/tclCmdMZ.c according to the guidelines of TIP 27. file: [d7866920ca] check-in: [8006e9294e] user: dgp branch: trunk, size: 99348
2002-01-17
04:37
* More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that were overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines. file: [bc4ab4fe14] check-in: [28b6020550] user: dgp branch: trunk, size: 99333
03:03
* Updated APIs in generic/tclUtf.c and generic/tclRegexp.c according to the guidelines of TIP 27. Updated callers. file: [974659d477] check-in: [17ade15700] user: dgp branch: trunk, size: 99273
2001-12-20
23:33
* typo corrections in comments file: [72c049161c] check-in: [bc9a5dec31] user: dgp branch: trunk, size: 99249
2001-12-05
18:22
* NOTES: Updated to explain the usage of the various macros upfront. The original contents remain and are declared to be the scratchpad. * tclCmdMZ.c: * tclCompCmds.c: * tclCompile.c: * tclEvent.c: * tclExecute.c: * tclNamesp.c: * tclParse.c: * tclProc.c: * tclUtil.c: More places using TCL_STRUCT_ON_HEAP. file: [50084d7a59] check-in: [dfc8a95b9f] user: andreas_kupries branch: mod-8-3-4-branch, size: 73611
2001-11-28
17:58
* NOTES: New file. Read here about the new modularization macros, interdependencies, implications, etc. * static.sizes.html: New file. Report on the cuts achieved so far. Regarding the object files only the files which did change in size are reported. Usage of the MODULAR_TCL macro currently cuts about 17 % of the code (measured using strip'ped object files and libraries). * Changed files so far .. [cut, see changelog for full list] * Working on modularization of the tcl core. *************************** **** mod-8-3-4-branch **** *************************** file: [56de0fcf87] check-in: [052bbd8095] user: andreas_kupries branch: mod-8-3-4-branch, size: 73535
2001-11-27
13:30
Tightened up the argument passing for [switch] to promote robuster scripts. file: [b777afa8cf] check-in: [877f39bc96] user: dkf branch: trunk, size: 99253
2001-11-21
17:17
* generic/tclBasic.c (Tcl_DeleteCommandFromToken,CallCommandTraces): * generic/tclCmdMZ>c (Tcl_UntraceCommand): Added Tcl_Preserve and Tcl_Release calls to prevent deletion of CommandTrace structures until all callers are done using them, preventing memory corruption. [Bug 453805] file: [f7df2564f8] check-in: [6614c36c48] user: dgp branch: trunk, size: 98595
02:36
added TIP#73 patch #483500 from Kevin Kenny. This deprecates TclpGetTime in favor of new Tcl_GetTime. file: [aae536add2] check-in: [ad0e26f63b] user: hobbs branch: trunk, size: 98568
2001-11-20
15:14
* generic/tclCmdMZ.c (Tcl_TimeObjCmd) Added extra parentheses to a cast expression to remove ambiguity and conform with Tcl Engineering Manual. [Suggestion by Donal Fellows in commentary on patch #483500] file: [c3eff51b86] check-in: [3bbc2d5a88] user: kennykb branch: core-8-3-1-branch, size: 73172
2001-11-19
22:06
* generic/tclCmdMZ.c (Tcl_TimeObjCmd): Corrected bug in [time] when dealing with test sequences that run more than 2**31 microseconds. [Bug 478847] file: [89c7589048] check-in: [67f5165595] user: kennykb branch: core-8-3-1-branch, size: 73168
14:35
Changes due to TIP#68; memory handling in variable traces is now correct! file: [aafb719977] check-in: [c358dba51f] user: dkf branch: trunk, size: 98538
2001-10-16
05:31
Undo of mistaken commit. Sorry! file: [9c369af29e] check-in: [092e282e8d] user: dgp branch: trunk, size: 99137
05:10
* Added test to demonstrate memory corruption problems. [Bug 219393]. file: [52ebc89a1d] check-in: [6134ad6471] user: dgp branch: trunk, size: 99161
2001-10-12
12:57
[string is] support. file: [4da42860dd] check-in: [e7a50922c2] user: dkf branch: dkf-64bit-support-branch, size: 99386
2001-10-10
15:34
Updated as best I can without adding additional Unicode handling functions from 8.4 (from where most of the real fixes stem.) file: [f6ba493018] check-in: [23c4fc8710] user: dkf branch: core-8-3-1-branch, size: 73140
2001-10-01
15:31
removed unnecessary inclusions of tclCompile.h [Patch 466823] file: [5cc3758bcd] check-in: [72e265f70c] user: msofer branch: trunk, size: 99140
2001-09-27
13:46
Backing out unwise changes. file: [3c7735065a] check-in: [2f9179ed81] user: dkf branch: dkf-64bit-support-branch, size: 99165
2001-09-26
14:23
Now builds on Solaris8/SPARC with both SunPro CC *and* GCC. file: [e2b3e6f1f5] check-in: [4850711173] user: dkf branch: dkf-64bit-support-branch, size: 99575
2001-09-25
16:49
Woo hoo! Builds on one platform (Solaris8/SPARC with SunPro CC) file: [954187c8c8] check-in: [dd2d80954c] user: dkf branch: dkf-64bit-support-branch, size: 99271
2001-09-13
23:49
* generic/tclCmdMZ.c (Tcl_RegsubObjCmd): had to adjust fix from 2001-08-06 to actually duplicate the objects in certain cases. This is really a place where feather would have been essential. [Bug #461322] file: [77b171a844] check-in: [d969b5b060] user: hobbs branch: trunk, size: 99163
11:56
Patch for [TIP 56], [Bug: 219384] and [Bug: 455151]: deprecate the use of Tcl_EvalTokens, replaced by the new Tcl_EvalTokensStandard. file: [b9b46cc717] check-in: [3e892aa048] user: msofer branch: trunk, size: 98819
2001-08-07
00:56
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd, Tcl_RegsubObjCmd): reordered the retrieval of arguments to avoid shimmering bug when the pattern and string referenced the same object. file: [654e5c0f01] check-in: [3e61e33896] user: hobbs branch: trunk, size: 98803
00:51
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd, Tcl_RegsubObjCmd): reordered the retrieval of arguments to avoid shimmering bug when the pattern and string referenced the same object. file: [173a751b40] check-in: [e07d5ed669] user: hobbs branch: core-8-3-1-branch, size: 72967
2001-07-31
19:12
Changes from TIP#17 "Redo Tcl's filesystem" The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c file: [a7c9c214a5] check-in: [9461aca548] user: vincentdarley branch: trunk, size: 98607
2001-07-16
18:35
* generic/tclCmdMZ.c: Removed extra copy of the SCAN_* macros #defined in generic/tclScan.c. (porter) [Bug 441230] file: [b1b6e4832d] check-in: [c09c476a2f] user: hobbs branch: trunk, size: 98639
2001-07-12
13:15
TIP#36 implementation. Also includes cleanup for subst option handling and improved documentation for the subst command (in my capacity as maintainer of the Commands M-Z functional area.) file: [af3c3889c3] check-in: [ea6ab47ee7] user: dkf branch: trunk, size: 99275
2001-06-12
08:07
Fix for bug #219232 (submatch errors with regexp -all -inline -indices) file: [eda5dfc1fa] check-in: [f2e4ec3026] user: dkf branch: trunk, size: 97443
2001-05-19
16:11
Update to head -> S4-0-2 file: [5028d503b7] check-in: [1b2b2b84cf] user: msofer branch: msofer-bcEngine, size: 97299
2001-05-17
02:11
generic/tclCmdMZ.c: made use of new Tcl_GetUnicodeFromObj file: [dc909fa684] check-in: [f77d8a8251] user: hobbs branch: trunk, size: 97294
2001-05-14
08:57
Negative start index to [string first] caused offset return value (Bug 423581) file: [8c08ae1643] check-in: [d8f5293bb0] user: dkf branch: trunk, size: 97328
2001-05-11
20:47
new byte-compiled commands, Tcl_GetUnicodeFromObj and string comparison changes file: [204c245f3a] check-in: [bbd0c14230] user: hobbs branch: dev-hobbs-branch, size: 96890
2001-04-24
20:59
(TIP #27) Another round of CONST changes, this time adding CONST to the API's exported from tclBasic.c. [Patch #415179] ***POTENTIAL INCOMPATIBILITY*** from 8.4a2, in which Vince Darley's changes to command tracing were added. A const has been added to the type signature of one of the parameters to Tcl_CommandTraceProc. file: [6d7d211701] check-in: [2d62b07770] user: kennykb branch: trunk, size: 97196
2001-04-06
10:50
Fixed problem with [string compare \x00 \x01] and hopefully sped the command up in a few cases too (notably byte arrays and UNICODE objects.) [Bug #219201] file: [23f2b41a3e] check-in: [6677432d73] user: dkf branch: trunk, size: 97149
2001-04-05
10:20
Fixed so tclCmdMZ.c will compile with K&R compilers [Patch #413844] file: [12e08d93a7] check-in: [cf7db19c98] user: dkf branch: trunk, size: 94576
2001-04-03
22:54
see backport log in ChangeLog for specific file backports from 8.4aCVS file: [e8e9d95887] check-in: [6defc375da] user: hobbs branch: core-8-3-1-branch, size: 72767
2001-03-28
02:30
* tests/regexp.test (regexp-19.1): * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): fixed handling of nulls in subspec value. file: [99d2a41c5b] check-in: [73865f2ba9] user: hobbs branch: trunk, size: 94566
2001-03-13
11:10
A missing return was causing memory corruption in [string map]. file: [9add654293] check-in: [6a3e130d8c] user: dkf branch: trunk, size: 94527
2001-02-16
09:26
[split $string ""] now shares character strings in the resulting list, giving better performance for smallish strings, and *much* better performance for large (especially multi-megabyte) ones. file: [52a335bfa7] check-in: [9f5ef61d9d] user: dkf branch: trunk, size: 94510
2000-09-20
01:50
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): When using -all, all attempts after the first to match the regexp against the string should include the TCL_REG_NOTBOL flag, to avoid erroneously matching ^ in the middle of the string. Added code to set this flag after the first pass through the matching loop. [Bug: 6284]. file: [ca054a2807] check-in: [9c141af9b5] user: ericm branch: trunk, size: 93806
2000-09-06
18:31
* generic/tclCmdMZ.c (Tcl_StringObjCmd): changed STR_REPEAT to preallocate the full space of the final string, avoided repeated appends. file: [8ff794b963] check-in: [fce8088f27] user: hobbs branch: trunk, size: 93779
2000-08-25
02:04
* doc/trace.n: Updated documentation for new syntax; flagged old syntax as deprecated; added documentation for command rename/delete traces and variable array traces. * tests/trace.test: Updated tests for new trace syntax; new tests for command rename/delete traces; new tests for array traces. * generic/tclVar.c: Support for new trace syntax; support for TCL_TRACE_ARRAY. * generic/tclStubInit.c: * generic/tclDecls.h: * generic/tcl.decls: Stub functions for command rename/delete traces. * generic/tcl.h: * generic/tclInt.h: * generic/tclBasic.c: Support for command traces. * generic/tclCmdMZ.c (TclTraceVariableObjCmd): Patched to support new [trace] syntax: trace {add|remove|list} {variable|command} name ops command Added support for command traces (rename, delete operations). Added support for TCL_TRACE_ARRAY at Tcl level (array operation for variable traces). file: [ec7f354589] check-in: [e12f4e1180] user: ericm branch: trunk, size: 92948
2000-05-26
08:51
* generic/tclCmdMZ.c (Tcl_RegsubObjCmd): reworked to operate in Unicode, tweaked for performance. (Tcl_StringObjCmd) changed STR_FIRST/STR_LAST error message to something more understandable, reworked STR_FIRST, STR_LAST, STR_MAP, STR_MATCH, STR_RANGE, STR_REPLACE to operate in Unicode. Removed inneffectual STR_RANGE "special" ByteArray support. Optimized STR_MAP algorithm, especially optimized for one-pair case. Fixed possible mem overrun in STR_INDEX bytearray case. file: [645de1a495] check-in: [021b3fcbdd] user: hobbs branch: trunk, size: 71622
2000-04-10
21:08
* win/tclWinPipe.c (TclpCreateTempFile): Added conversion of contents string from UTF to native encoding [Bug: 4030]. * tests/regexp.test: Added tests for infinite looping in [regexp -all]. * generic/tclCmdMZ.c: Fixed infinite loop bug with [regexp -all] [Bug: 4981]. file: [c363ea8b09] check-in: [1908ebdc39] user: ericm branch: trunk, size: 71967
2000-02-05
12:08
*** empty log message *** file: [bfdcf703a4] check-in: [bfb5a3081d] user: hobbs branch: trunk, size: 71050
2000-02-02
22:32
* tests/regexp.test: added tests for -all and -inline switches * doc/regexp.n: added docs for -all and -inline switches * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): added extra comments for new -all and -inline switches to regexp command file: [510e4b0337] check-in: [9176c9a50b] user: hobbs branch: trunk, size: 71066
1999-12-12
02:26
* tests/var.test: * generic/tclCompile.c: fixed problem where setting to {} array would intermittently not work. (Fontaine) [Bug: 3339] * generic/tclCmdMZ.c: * generic/tclExecute.c: optimized INST_TRY_CVT_TO_NUMERIC to recognize boolean objects. (Spjuth) [Bug: 2815] * tests/info.test: * tests/parseOld.test: * generic/tclCmdAH.c: * generic/tclProc.c: changed Tcl_UplevelObjCmd (uplevel) and Tcl_EvalObjCmd (eval) to use TCL_EVAL_DIRECT in the single arg case as well, to take advantage of potential pure list input optimization. This means that it won't get byte compiled though, which should be acceptable. * generic/tclBasic.c: made Tcl_EvalObjEx pure list object aware in the TCL_EVAL_DIRECT case for efficiency. * generic/tclUtil.c: made Tcl_ConcatObj pure list object aware, and return a list object in that case [Bug: 2098 2257] * generic/tclMain.c: changed Tcl_Main to not constantly reuse the commandPtr object (interactive case) as it could be shared. (Fellows) file: [277f8fbb5e] check-in: [a887ecceee] user: hobbs branch: trunk, size: 69182
1999-10-30
11:05
* generic/tcl.h: updated to patchlevel 2 * generic/tclCmdMZ.c: fixed [string index] to return ByteArrayObj when indexing into one (test case string-5.16) [Bug: 2871] * tests/incr.test: * tests/set.test: * generic/tclCompCmds.c: fixed improper bytecode handling of 'eval {set array($unknownvar) 5}' (also for incr) * generic/tclThreadTest.c: fixed mem leaks in threads * generic/tclStringObj.c: fixed Tcl_AppendStringsToObjVA and * generic/tclResult.c: fixed Tcl_AppendResultVA to only iterates once over the va_list (avoiding a memcpy of it, which is not portable). * generic/tclCompile.c: removed savedChar trick that appeared to be causing a segv when the literal table was released * generic/tclEnv.c: fixed mem leak with putenv and DStrings and fixed possible ABR error in environ array file: [905a416641] check-in: [be0c860183] user: hobbs branch: core-8-2-1-branch, size: 68074
1999-10-29
03:03
* generic/tclStringObj.c: fixed Tcl_AppendResultVA so it only iterates once over the va_list (avoiding a memcpy of it, which is not portable). * generic/tclEnv.c: fixed possible ABR error in environ array * tests/scan.test: * generic/tclScan.c: added support for use of inline scan, XPG3 currently not included * tests/incr.test: * tests/set.test: * generic/tclCompCmds.c: fixed improper bytecode handling of 'eval {set array($unknownvar) 5}' (also for incr) * win/tclWinTest.c: added testvolumetype command, as atime is completely ignored for Windows FAT file systems * win/tclWinPort.h: added sys/utime.h to includes * unix/tclUnixPort.h: added utime.h to includes * doc/file.n: * tests/cmdAH.test: * generic/tclCmdAH.c: added time arguments to atime and mtime file command methods (support 'touch' functionality) file: [e43a625591] check-in: [2c17586d2a] user: hobbs branch: trunk, size: 69178
1999-10-21
02:16
* unix/tclUnixNotfy.c: fixed event/io threading problems by making triggerPipe non-blocking * library/tcltest1.0/tcltest.tcl: * generic/tclThreadTest.c: fixed mem leaks in threads * generic/tclResult.c: fixed Tcl_AppendResultVA so it only iterates once over the va_list (avoiding a memcpy of it, which is not portable). * generic/regc_color.c: fixed mem leak and assertion, from HS * generic/tclCompile.c: removed savedChar trick that appeared to be causing a segv when the literal table was released * tests/string.test: * generic/tclCmdMZ.c: fixed [string index] to return ByteArrayObj when indexing into one (test case string-5.16) [Bug: 2871] file: [9fe6169df5] check-in: [1a3cca95e4] user: hobbs branch: trunk, size: 69156
1999-09-22
04:12
1999-09-21 Jeff Hobbs <hobbs@scriptics.com> * tests/env.test: * unix/Makefile.in: added support for AIX LIBPATH env var [Bug: 2793] removed second definition of INCLUDE_INSTALL_DIR (the one that referenced @includedir@) [Bug: 2805] * unix/dltest/Makefile.in: added -lc to LIBS [Bug: 2794] * tests/timer.test: changed after delay in timer test 6.29 from 1 to 10. [Bug: 2796] * tests/pkg.test: * generic/tclPkg.c: fixed package version check to disallow 1.2..3 [Bug: 2539] * unix/Makefile.in: fixed gendate target - this never worked since RCS was intro'd. * generic/tclGetDate.y: updated to reflect previous changes to tclDate.c (leap year calc) and added CEST and UCT time zone recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954, 1245, 1249] * generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719] and changed Tcl_Alloc, et al to not panic when a alloc request for zero came through and NULL was returned (valid on AIX, Tru64) [Bug: 2795, etc] * generic/tclIOCmd.c: fixed potential core dump in conjunction with stacked channels with result obj manipulation in Tcl_ReadChars [Bug: 2623] * tests/format.test: * generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605] * tests/set-old.test: * generic/tclVar.c: Added fix in TclArraySet to check when trying to set in a non-existent namespace. [Bug: 2613] * tests/linsert.test: * generic/tclCmdIL.c: fixed end-int interpretation of linsert to correctly calculate value for end, added test and docs [Bug: 2693] * doc/switch.n: added proper use of comments to example. * generic/tclCmdMZ.c: changed switch to complain when an error occurs that seems to be due to a misplaced comment. * generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions in regsub [Bug: 2723] * generic/tclCmdMZ.c: changed [string equal] to return an Int type object (was a Boolean) * generic/tclParseExpr.c: changed '"' to '\"' to make FreeBSD happy [Bug: 2625] * generic/tclProc.c: moved static buf to better location and changed static msg that would overflow in ProcessProcResultCode [Bug: 2483] and added Tcl_DStringFree to Tcl_ProcObjCmd. Also reworked size of static buffers. * tests/stringObj.test: added test 9.11 * generic/tclStringObj.c: changed Tcl_AppendObjToObj to properly handle the 1-byte dest and mixed src case where both had had Unicode string len checks made on them. [Bug: 2678] * unix/aclocal.m4: * unix/tcl.m4: added -bnoentry to the AIX-* case [Bug: 1909] added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610] * generic/tclPosixStr.c: fixed typo [Bug: 2592] * win/README.binary: fixed version info and some typos [Bug: 2561] * generic/tclIO.c: changed Tcl_GetChannelNames* to use style guide headers (pleases HP cc) * tests/expr.test: * generic/tclCompile.c: add TCL_TOKEN_VARIABLE to the part types that cause differed compilation for exprs, to correct the expr double-evaluation problem for vars. Added test cases. Related to [Bug: 732] file: [c97309cc7e] check-in: [ab656050a9] user: hobbs branch: core-8-2-1-branch, size: 68049
1999-09-21
04:20
1999-09-16 Jeff Hobbs <hobbs@scriptics.com> * tests/timer.test: changed after delay in timer test 6.29 from 1 to 10. [Bug: 2796] * tests/pkg.test: * generic/tclPkg.c: fixed package version check to disallow 1.2..3 [Bug: 2539] * unix/Makefile.in: fixed gendate target - this never worked since RCS was intro'd. * generic/tclGetDate.y: updated to reflect previous changes to tclDate.c (leap year calc) and added CEST and UCT time zone recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954, 1245, 1249] * generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719] and changed Tcl_Alloc, et al to not panic when a alloc request for zero came through and NULL was returned (valid on AIX, Tru64) [Bug: 2795, etc] * tests/clock.test: * doc/clock.n: * generic/tclClock.c: added -milliseconds switch to clock clicks to guarantee that the return value of clicks is in the millisecs granularity [Bug: 2682, 1332] 1999-09-15 Jeff Hobbs <hobbs@scriptics.com> * generic/tclIOCmd.c: fixed potential core dump in conjunction with stacked channels with result obj manipulation in Tcl_ReadChars [Bug: 2623] * tests/format.test: * generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605] * doc/msgcat.n: fixed \\ bug in example [Bug: 2548] * unix/tcl.m4: * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610] * doc/array.n: * tests/var.test: * tests/set.test: * generic/tclVar.c: added an array unset operation, with docs and tests. Variation of [Bug: 1775]. Added fix in TclArraySet to check when trying to set in a non-existent namespace. [Bug: 2613] 1999-09-14 Jeff Hobbs <hobbs@scriptics.com> * tests/linsert.test: * doc/linsert.n: * generic/tclCmdIL.c: fixed end-int interpretation of linsert to correctly calculate value for end, added test and docs [Bug: 2693] * doc/regexp.n: * doc/regsub.n: * tests/regexp.test: * generic/tclCmdMZ.c: add -start switch to regexp and regsub with docs and tests * doc/switch.n: added proper use of comments to example. * generic/tclCmdMZ.c: changed switch to complain when an error occurs that seems to be due to a misplaced comment. * generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions in regsub [Bug: 2723] * generic/tclCmdMZ.c: changed [string equal] to return an Int type object (was a Boolean) file: [d8c8f3cb3f] check-in: [eb68adcdfd] user: hobbs branch: trunk, size: 69153
1999-07-22
21:50
* Changed version to 8.2b2. * win/tclWinPort.h: Block out include of sys/*.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * generic/tclCmdMZ.c: * generic/tclIO.c: Fix ANSI-style prototypes based on patch from Ulrich Ring. [Bug: 2391] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * tests/var.test: * generic/tclVar.c: Fixed bug that caused a seg. fault when using "array set a(b) {}", which is a bad array name anyway. Now the "array set" command will return an error in this case. Added test case and fixed existing test. [Bug: 2427] file: [d791eae059] check-in: [589cb7ba77] user: redman branch: trunk, size: 67412
1999-07-09
02:11
* tests/string.test: * generic/tclCmdMZ.c: Fixed bug in string range bounds checking code. file: [40a67412e4] check-in: [614b32f8b0] user: stanton branch: trunk, size: 67371
1999-07-02
19:59
Fixed lint found by Jim Ingham file: [397c83eed3] check-in: [c368b08fea] user: welch branch: trunk, size: 67377
1999-06-17
19:31
* tests/regexp.test: * generic/tclCmdMZ.c: * generic/tclCmdIL.c: Changed to use new regexp interfaces. Added -expanded, -line, -linestop, and -lineanchor switches to regsub. file: [0501fe18b2] check-in: [439ccec547] user: stanton branch: trunk, size: 67340
1999-06-15
01:16
Merged String and Unicode object types. Added new functions to the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj, Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange, Tcl_AppendUnicodeToObj. Note: some stringObj tests are still failing--the teststringobj command still needs to be updated. file: [c06ea1c55f] check-in: [23b23af342] user: hershey branch: trunk, size: 66832
1999-06-10
04:28
* generic/tclUnicodeObj.c: Lots of cleanup and simplification. Fixed several memory bugs. Added TclAppendUnicodeToObj. * generic/tclInt.h: Added declarations for various Unicode string functions. * generic/tclRegexp.c: * generic/tclCmdMZ.c: Changed to use new Unicode string interfaces for better performance. * generic/tclRegexp.h: * generic/tclRegexp.c: * generic/tcl.h: * generic/tcl.decls: Added Tcl_RegExpMatchObj and Tcl_RegExpGetInfo calls to access lower level regexp API. These features are needed by Expect. This is a preliminary implementation pending final review and cleanup. * generic/tclCmdMZ.c: * tests/string.test: Fixed bug where string map failed on null strings. file: [060ccad70e] check-in: [ea63e58504] user: stanton branch: trunk, size: 66805
1999-06-08
02:59
* tests/string.test: * generic/tclVar.c (Tcl_SetVar2Ex): * generic/tclStringObj.c (Tcl_AppendObjToObj): * generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string index, string length, string range, and append command in cases where the object's internal rep is a bytearray. Objects with other internal reps are converted to have the new unicode internal rep. * unix/Makefile.in: * win/Makefile.in: * win/Makefile.vc: * tests/unicode.test: * generic/tclInt.h: * generic/tclObj.c: * generic/tclUnicodeObj.c: added a new object type to store the unicode representation of a string. * generic/tclTestObj.c: added the objtype option to the testobj command. This option returns the name of the type of internal rep an object has. file: [192cd8383f] check-in: [8fcb19ead3] user: hershey branch: trunk, size: 67041
1999-06-03
18:43
* generic/tclCmdMZ.c (Tcl_StringObjCmd): * tests/string.test: Fixed bug where string equal/compare -nocase reported wrong result on null strings. [Bug: 2138] file: [9341213f4d] check-in: [913059fbe2] user: stanton branch: trunk, size: 65783
1999-06-02
01:53
* tests/reg.test: * generic/regc_color.c: * generic/regc_cvec.c: * generic/regc_lex.c: * generic/regc_locale.c: * generic/regc_nfa.c: * generic/regcomp.c: * generic/regcustom.h: * generic/rege_dfa.c: * generic/regerror.c: * generic/regerrs.h: * generic/regex.h: * generic/regexec.c: * generic/regfree.c: * generic/regfronts.c: * generic/regguts.h: * generic/tclCmdMZ.c: * generic/tclRegexp.c: * generic/tclRegexp.h: * generic/tclTest.c: Applied Henry Spencer's latest regexp patches that fix an infinite loop bug and add support for testing whether a string could match with additional input. [Bug: 2117] file: [6d9559dd59] check-in: [96584c60d8] user: stanton branch: trunk, size: 65554
1999-05-25
01:00
* generic/tcl.decls: * generic/tclCmdMZ.c: * generic/tclDecls.h: * generic/tclInt.decls: * generic/tclIntDecls.h: * generic/tclPort.h: * generic/tclStubInit.c: * generic/tclStubLib.c: Various header file related changes and other lint to try to get the Mac builds working. file: [94eebdaf13] check-in: [1cdb3df621] user: stanton branch: trunk, size: 65658
1999-05-22
01:20
Merged changes from scriptics-tclpro-1-3-b2 branch file: [38bc2d8c31] check-in: [f692388d07] user: stanton branch: trunk, size: 65663
1999-05-20
00:03
Merged in various changes submitted by Jeff Hobbs: * generic/tcl.decls: * generic/tclUtf.c: Added Tcl_UniCharIs* functions for control, graph, print, and punct classes. * generic/tclUtil.c: * doc/StrMatch.3: Added Tcl_StringCaseMatch() implementation to support case-insensitive globbing. * doc/string.n: * unix/mkLinks: * tests/string.test: * generic/tclCmdMZ.c: Added additional character class tests, added -nocase switch to "string match", changed string first/last to use offsets. file: [73f9340eb4] check-in: [61e23396c3] user: stanton branch: scriptics-tclpro-1-3-b2-branch, size: 65667
1999-05-06
22:50
* tests/string.test: * generic/tclCmdMZ.c: * doc/string.n: Fixed bug in string equal/compare code when using -length option. Cleaned up docs a bit more. file: [cdb82e07f2] check-in: [1fc2aff600] user: stanton branch: trunk, size: 62694
19:21
lint file: [6e597c0326] check-in: [e085a3ab0f] user: stanton branch: trunk, size: 62694
18:46
* doc/string.n: * tests/cmdIL.test: * tests/cmdMZ.test: * tests/error.test: * tests/ioCmd.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * tests/cmdIL.test: * generic/tclUtil.c: * generic/tclCmdMZ.c: Replaced "string icompare/iequal" with -nocase and -length switches to "string compare/equal". Added a -nocase option to "string map". Changed index syntax to allow integer or end?-integer? instead of a full expression. This is much simpler with safeTcl scripts since it avoids double substitution issues. file: [fbd2e139a5] check-in: [fb86d77733] user: stanton branch: trunk, size: 62631
1999-05-04
02:57
* doc/string.n: * tests/cmdMZ.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): Changed "string length" to avoid regenerating the string rep of a ByteArray object. file: [d7428d29e8] check-in: [c7c3e9c0cf] user: stanton branch: trunk, size: 55373
01:33
* tests/cmdIL.test: * tests/cmdMZ.test: * tests/error.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): * generic/tclUtil.c (TclGetIntForIndex): Applied Jeff Hobbs's string patch which includes the following changes [Bug: 1845]: file: [7c85d16b66] check-in: [2728afa3b5] user: stanton branch: trunk, size: 54983
1999-04-21
00:42
Deleted: Added comments for 4/19 and 4/20 check-in: [6c6fc5d7b2] user: redman branch: scriptics-tclpro-1-2-old, size: 0
1999-04-16
00:46
merged tcl 8.1 branch back into the main trunk file: [c8a7b05b3a] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 48412
1999-04-06
04:27
Made internal functions call Tcl_GetCwd & Tcl_Chdir Fixed broken tests due to adding encoding function. file: [93aa9bc241] check-in: [4ee7449197] user: rjohnson branch: core-8-1-branch-old, size: 48418
1999-04-05
22:20
Moved TclRegCompObj to Tcl_GetRegExpFromObj - also added info to man page. file: [726b17ad19] check-in: [cc7406af37] user: rjohnson branch: core-8-1-branch-old, size: 48418
1999-04-02
23:44
* generic/regc_locale.c: * generic/regcustom.h: * generic/tcl.decls: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclInt.h: * generic/tclRegexp.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclUtf.c: * win/tclWinFCmd.c: * win/tclWinFile.c: Made various Unicode utility functions public. The following functions were made public and added to the stubs table: Tcl_UtfToUniCharDString, Tcl_UniCharToUtfDString, Tcl_UniCharLen, Tcl_UniCharNcmp, Tcl_UniCharIsAlnum, Tcl_UniCharIsAlpha, Tcl_UniCharIsDigit, Tcl_UniCharIsLower, Tcl_UniCharIsSpace, Tcl_UniCharIsUpper, Tcl_UniCharIsWordChar file: [0ef6962885] check-in: [de06484e63] user: stanton branch: core-8-1-branch-old, size: 48350
1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
1999-02-01
21:29
* generic/tclBasic.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclHistory.c: * generic/tclIO.c: * generic/tclIOUtil.c: * generic/tclInterp.c: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclParse.c: * generic/tclProc.c: * generic/tclTest.c: * generic/tclTimer.c: * generic/tcl.h: Made eval interfaces compatible with 8.0 by renaming Tcl_EvalObj to Tcl_EvalObjEx, renaming Tcl_Eval2 to Tcl_EvalEx and restoring Tcl_EvalObj and Tcl_GlobalEvalObj interfaces so they match Tcl 8.0. file: [47f98f4643] check-in: [4e3632a716] user: stanton branch: core-8-1-branch-old, size: 48340
1998-11-18
22:34
lint file: [83c6fc9456] check-in: [d0cf20b29d] user: stanton branch: core-8-1-branch-old, size: 48334
1998-11-16
20:45
moved scan implementation into tclScan.c changed scan to support unicode file: [e1cded9d98] check-in: [f9da63b2e8] user: stanton branch: core-8-1-branch-old, size: 48322
1998-11-11
04:54
lots of lint wrapped mutex declarations in ifdefs to avoid compiler warnings file: [57226acef4] check-in: [9535a849c1] user: stanton branch: core-8-1-branch-old, size: 56998
01:44
integrated latest regexp updates from Henry Spencer, includes new regexp switches "-line", "-lineanchor", and "-linestop" for controlling newline behavior file: [aac2b07889] check-in: [61908a0265] user: stanton branch: core-8-1-branch-old, size: 57465
1998-10-21
20:39
Integrated latest regexp changes from Henry Spencer. Moved regexp related declarations out of tclInt.h and into tclRegexp.h. Added "encoding" command. file: [21c0fe715f] check-in: [502d826d63] user: stanton branch: core-8-1-branch-old, size: 56892
1998-10-16
01:16
Added Unicode character table support: added TclUniCharIsWordChar tclCmdMZ.c (Tcl_StringObjCmd): added "totitle" subcommand, changed "wordend" and "wordstart" to properly handle Unicode word characters and connector punctuation file: [67b0138c9a] check-in: [a448adffae] user: stanton branch: core-8-1-branch-old, size: 56221
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [bbe837ba83] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 56800
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [0f6bb8ae7f] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 56776
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [1cd6d0ba00] check-in: [196f92fd17] user: stanton branch: trunk, size: 54326
1998-03-26
14:45
Added: Initial revision file: [fed8350a24] check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 54306