History of generic/tclDate.c of 419fc365f44d2f73
Not logged in

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

History of file generic/tclDate.c at check-in 419fc365f44d2f73

2026-09-08
00:30
fixes [7bad415e3ec8baf4]: free scan - signed zone with one or two digits is hours, four is hhmm ("+02" was read as 2 minutes); no semantic predicate, so backportable: the action selects on the digit count recorded before a numeric lookahead, and the "last" keyword advances that history too; the scan counters are also initialised, which stock read uninitialised; tclDate.c regenerated with bison 3.8.2 (gendate); deliberately differs from 9.x for a short zone followed by a number; new tests clock-59.4-59.7, details on the ticket file: [ba07837e51] check-in: [138b037189] user: kenneth.kienle branch: bug-7bad415e3e-8.6, size: 84831
2026-05-28
12:13
Merge 9.0. Formatting file: [412106e069] check-in: [8e78be4610] user: jan.nijtmans branch: main, size: 85464
2026-03-09
12:38
cherry-picked from 9.0, fixes [51aa53616067cb63]: free scan - fixed hours only TZ (±1 or ±01); adjust clock tests (runable without tzdata with system TZs only, also using -constraints clock-no-tzdata); optimized numeric zone detection; resolve dozen conflicts (bison/yacc only left 5 shift/reduce and no reduce/reduce conflicts anymore). file: [a2e4229419] check-in: [cd6002f732] user: sebres branch: core-8-branch, size: 85363
2026-03-06
22:57
small amend to [c4c0a3d5332426c1] with much simpler variant using C-condition (semantic predicate), without precedence, without extra numeric zone tokens in lexer, etc and only 1 shift/reduce conflict more (also totally without reduce/reduce conflicts) file: [185ca28c5c] check-in: [c67f76176b] user: sebres branch: bug-51aa53616067cb63--no-tzdata, size: 85452
12:17
clock free-scan: optimize numeric zone detection as suggested in [51aa53616067cb63] (so it's only valid for +1, +01 and +0100 form), resolve dozen conflicts (bison/yacc only left 4 shift/reduce and no reduce/reduce conflicts anymore) file: [d0f9dfc100] check-in: [c4c0a3d533] user: sebres branch: bug-51aa53616067cb63--no-tzdata, size: 86602
2026-03-04
22:13
fixes [51aa53616067cb63]: free scan - fexed calculation in bison/yacc of hours only TZ (±1 or ±01); adjust clock tests to be able run it without tzdata (system TZs only), used another TZ names, added constraints, etc. file: [6ba690414e] check-in: [6ea85b82c5] user: sebres branch: bug-51aa53616067cb63--no-tzdata, size: 84001
2025-09-24
20:55
Fix some -Wconversion warnings. Clock simplifications file: [0c02494d40] check-in: [c742d8d60b] user: jan.nijtmans branch: main, size: 83871
2025-09-18
13:29
Merge 9.0 file: [a87785a543] check-in: [5c0cdd84ea] user: jan.nijtmans branch: main, size: 83877
08:14
Merge 8.6 file: [8fcd354df9] check-in: [dfe9c322c9] user: jan.nijtmans branch: core-9-0-branch, size: 83874
07:43
(backport) The option -Wunused-but-set-variable appears to be usable starting clang 15 Also (while on it) upgrade bison and fix a possible Year 2038 problem in it. file: [0ed44711e8] check-in: [b6e9c64756] user: jan.nijtmans branch: core-8-6-branch, size: 83737
2025-09-17
12:46
Apply 'Tcl' namespace to names (in [clock] impl) with wider scope than one C file file: [6ab39b4162] check-in: [5946bfc3ed] user: dkf branch: main, size: 83875
2025-09-16
15:12
The option -Wunused-but-set-variable appears to be usable starting clang 15 file: [223b2f32d0] check-in: [473a1ebbe2] user: jan.nijtmans branch: core-9-0-branch, size: 83872
2025-09-11
19:53
Re-generate tclDate.c (which is not hand-edited any more) file: [c581bea0b3] check-in: [76c1b7f367] user: jan.nijtmans branch: core-9-0-branch, size: 83787
15:14
Clang doesn't know -Wunused-but-set-variable file: [68b011d500] check-in: [aee6e8abb3] user: jan.nijtmans branch: core-9-0-branch, size: 83787
2025-03-12
17:18
merge 8.7 (fix for `clock add` regression, relative time with TZ over DST-hole, see clock-30.34) file: [307b68fb13] check-in: [086ca15865] user: sebres branch: core-9-0-branch, size: 83786
17:00
clock: fixes regression for clock add (and potentially free-scan) for relative time units with TZ (by jumps over DST hole with TZ): relative time tokens must be handled different to relative date tokens (1 day != 24 hours, etc) and shall be applied to UTC seconds, not to local time; passes test clock-30.34 now. file: [ba8809d877] check-in: [b730bd6161] user: sebres branch: core-8-branch, size: 83782
2024-12-29
16:59
merge 8.7 (clang/gcc: silence Wunused-but-set-variable in generated tclDate) file: [5848504463] check-in: [410ce320f5] user: sebres branch: main, size: 83578
16:57
merge 8.6 (clang/gcc: silence Wunused-but-set-variable in generated tclDate) file: [2f8009511e] check-in: [3ae58d32f5] user: sebres branch: core-8-branch, size: 83574
16:54
silence warning "variable set but not used [-Wunused-but-set-variable]" (once the tclDate gets regenerated with bison/yacc) file: [0316da1884] check-in: [a970e68d7c] user: sebres branch: core-8-6-branch, size: 81250
2024-11-21
11:27
Fix [aee9f2b916] and [f2b5f89c0d]: clock scan of leapsecond/24:00, ISO-8601-compatibility. file: [a5b797ee3f] check-in: [5b5f4e8334] user: jan.nijtmans branch: core-8-branch, size: 83397
2024-11-20
12:28
Fix handling of "24:00 am" -validate 0: Should be 24 hours after "00:00 am". file: [e57bf24408] check-in: [bf0e4fe924] user: jan.nijtmans branch: bug-aee9f2b916, size: 83401
2024-11-15
17:44
fixed wrong time conversion by free-scan (-1 from ToSecond() caused day decrement) - now the result is the same as for formatted scan, backported from tclclockmod (8.7+); the fix is not really related to [f2b5f89c0d], but since 8.6 doesn't have validity rules, let it make consistent accross all versions. repeat fix [83c5c578cb124286] (without space changes) file: [a3592256be] check-in: [595fad24d7] user: sebres branch: core-8-6-branch, size: 81073
17:02
fixed wrong time conversion by free-scan (-1 from ToSecond() caused day decrement) - now the result is the same as for formatted scan, backported from tclclockmod (8.7+); the fix is not really related to [f2b5f89c0d], but since 8.6 doesn't have validity rules, let it make consistent accross all versions. file: [541f9ce1be] check-in: [83c5c578cb] user: sebres branch: core-8-6-branch, size: 79533
2024-09-02
15:24
Renamed generic/tclDate.c → generic/tclDateClassic.c. Merge the new clock implementation, and keep the old implementation available as [clock classic]. file: [089a2d11e7] check-in: [4c824bde14] user: pooryorick branch: unchained, size: 83931
15:24
Merge the new clock implementation, and keep the old implementation available as [clock classic]. file: [20194502d4] check-in: [4c824bde14] user: pooryorick branch: unchained, size: 83366
2024-07-16
21:16
merge 8.7 file: [be24f8ccf4] check-in: [060eec699c] user: sebres branch: main, size: 83359
21:14
clock: better fix for validation check for scanned day of week in input (normalized input value after scan, Sun is always 7 now); more tests for valid days of weeks covering also format scan with different weekday formats (%a, %u, %w) file: [1576bfea82] check-in: [5fe15e460a] user: sebres branch: core-8-branch, size: 83359
17:45
merge 8.7 file: [fa7943610c] check-in: [d15ae7fe51] user: sebres branch: main, size: 83359
17:42
clock: fixed regression [3ee8f1c2a785f4d8]: time overflow (without validation) must cause day increment; clock.test: more regression tests file: [ef6651ab5b] check-in: [70997824b1] user: sebres branch: core-8-branch, size: 83359
2024-06-05
13:10
More of the same: Space before tab is extremely unlikely to be correct indentation pattern. file: [86ab551265] check-in: [9ffd785566] user: jan.nijtmans branch: main, size: 83468
2024-05-29
19:14
Another round of sentinel fixes for 8.6, NULL -> (char *)NULL file: [46e7fbf9bd] check-in: [4a1e38600e] user: jan.nijtmans branch: core-8-6-branch, size: 81305
2024-05-28
12:38
Make TclGlob() a static function. Sentinel/indenting/comment improvements (all backported from 8.7) file: [3a0aea4a0a] check-in: [5f6c7373c1] user: jan.nijtmans branch: core-8-6-branch, size: 81241
2024-04-01
18:36
TIP 688: clock command revision and speedup file: [e504bd55d8] check-in: [7137ea11e9] user: jan.nijtmans branch: core-8-branch, size: 83468
2024-03-24
17:55
Merge 9.0. Please don't use "register" keyword file: [416585267e] check-in: [02e9f2e438] user: jan.nijtmans branch: tip-688, size: 83472
16:37
still one fix for [1f40aa83c552f597], now for freescan (overflow in tests clock-6.10e/clock-6.10f): rewritten with common str2int now file: [184246b840] check-in: [5696b3f72c] user: sebres branch: tip-688, size: 83490
2024-03-15
20:24
Review: Unnecessary use of 'L', TABLE.value: int is enough, making smaller tables file: [740556aafa] check-in: [1798540576] user: jan.nijtmans branch: sebres-9-0-clock-speedup-cr2, size: 83507
16:16
Better solution for tclDate.c (since Number is not an int) file: [5cdebc9e6d] check-in: [bef135d7a5] user: jan.nijtmans branch: sebres-9-0-clock-speedup-cr2, size: 83905
14:14
fixes [1f40aa83c552f597]: suppress integer-overflow trapping (atm, GCC "trapv" only) for intended pieces, avoid unexpected app-crash; test cases (knownBug) reverted. file: [336269fa61] check-in: [176cb4ca94] user: sebres branch: sebres-9-0-clock-speedup-cr2, size: 84109
2024-03-13
17:11
Merge 9.0 file: [54d81c2baf] check-in: [a29cf046b8] user: jan.nijtmans branch: tip-626, size: 83937
2024-03-12
02:05
merge sebres-8-6-clock-speedup-cr2 file: [6f741557f6] check-in: [0f749a3048] user: sebres branch: sebres-9-0-clock-speedup-cr2, size: 83893
01:50
fixes similar issue by free scan + more tests file: [d592f63cfc] check-in: [4bdbd5cc83] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 85375
2024-03-11
22:03
Merge 8.7 file: [089a2d11e7] check-in: [5e9c65a561] user: jan.nijtmans branch: main, size: 83931
22:01
Merge 8.6 file: [e88ca7707f] check-in: [d31f533f41] user: jan.nijtmans branch: core-8-branch, size: 84000
21:56
Add "Alaska Standard/Daylight" time to tclDate.c file: [65f204a052] check-in: [bb22bd59d0] user: jan.nijtmans branch: core-8-6-branch, size: 81244
21:36
Upgrade bison to latest version (3.8.2) file: [1472ffe98a] check-in: [59b4ff7dd5] user: jan.nijtmans branch: sebres-9-0-clock-speedup-cr2, size: 83879
21:21
Merge 8.7. Upgrade bison to latest version (3.8.2) file: [d65a5fe400] check-in: [bf00970167] user: jan.nijtmans branch: main, size: 83806
20:30
Merge 8.6. Upgrade bison to latest version (3.8.2) file: [89a9a17d37] check-in: [1495c7c2b6] user: jan.nijtmans branch: core-8-branch, size: 83875
2024-02-26
13:20
(cherry-pick) More tweaks file: [364d8795fc] check-in: [10c51c959b] user: jan.nijtmans branch: sebres-9-0-clock-speedup-cr2, size: 85364
13:04
More tweaks file: [499c95e575] check-in: [d48abcace3] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr2, size: 85361
12:19
Rebase to latest 9.0 file: [017e1a6ce8] check-in: [7c433a7c10] user: jan.nijtmans branch: sebres-9-0-clock-speedup-cr2, size: 85340
10:56
Rebase to latest core-8-6-branch file: [42cd3f2be9] check-in: [17de5e48b6] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr2, size: 85329
2023-11-24
13:28
Merge 9.0 file: [a15683f104] check-in: [96e43e34f3] user: jan.nijtmans branch: tip-626, size: 81038
2023-11-10
14:24
Merge 8.7 file: [3414d1b172] check-in: [da64d649c8] user: jan.nijtmans branch: main, size: 81032
14:23
Merge 8.6 file: [a3b32ed3e2] check-in: [c39bb9dd20] user: jan.nijtmans branch: core-8-branch, size: 81129
14:22
Fix [54a305cb88] (second part) by hand-editing tclDate.c. file: [a2e35f0fd1] check-in: [fb67972905] user: jan.nijtmans branch: core-8-6-branch, size: 81119
2023-10-22
19:56
Merge 9.0 file: [71d6bf537a] check-in: [f107021263] user: jan.nijtmans branch: tip-626, size: 81168
2023-10-19
18:48
Merge 8.7 file: [1e2b6d3b30] check-in: [f67f60d202] user: jan.nijtmans branch: main, size: 81162
2023-10-17
06:02
Handle sentinels for any C++ compiler file: [e83a138811] check-in: [6876d1f99a] user: jan.nijtmans branch: bug-26870862f0, size: 81259
2023-06-02
12:00
New (internal) macro TclAttemptInitStringRep() file: [b4c266a927] check-in: [b0b7c9d7b6] user: jan.nijtmans branch: core-8-branch, size: 81195
2023-04-20
16:53
Merge 9.0 file: [0300ab5122] check-in: [aa3e7e529f] user: jan.nijtmans branch: tip-626, size: 81104
2023-04-14
09:12
Merge 9.0 file: [407286c039] check-in: [f041e13465] user: jan.nijtmans branch: tip-626, size: 81102
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: [7907f7528d] check-in: [d65da06a77] user: pooryorick branch: main, size: 81098
13:30
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test. file: [347c696b04] check-in: [aca8de0aeb] user: pooryorick branch: core-8-branch, size: 81167
09:35
Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. file: [845ab9066f] check-in: [ee3df4e647] user: pooryorick branch: core-8-6-branch, size: 81249
2023-03-27
11:35
More (internal) usage of TclGetString() and TclGetStringFromObj() macro's file: [19093debdd] check-in: [86bf13933a] user: jan.nijtmans branch: core-8-branch, size: 81166
2022-07-05
10:51
Merge 8.6 file: [dd166b1358] check-in: [e279b7d8b6] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr2, size: 85458
2022-05-26
22:37
Merge 8.7 file: [9a3f95cb8b] check-in: [e038f915d9] user: jan.nijtmans branch: main, size: 81097
22:36
Merge 8.6 file: [f6044e8267] check-in: [fe9ccb97b6] user: jan.nijtmans branch: core-8-branch, size: 81167
22:34
Merge 8.5 file: [f728071fed] check-in: [af8553f2d7] user: jan.nijtmans branch: core-8-6-branch, size: 81248
22:31
[https://github.com/tcltk/tcl/pull/15] and typo file: [d5089e9ca3] check-in: [b0901dc31a] user: jan.nijtmans branch: core-8-5-branch, size: 77795
2022-05-25
22:20
Many int-> size_t file: [63f1b6d72b] check-in: [7062de3ba7] user: jan.nijtmans branch: tip-626, size: 81101
2022-04-29
11:19
Merge 8.7 file: [2edb51984a] check-in: [2a16497781] user: jan.nijtmans branch: main, size: 81097
10:01
Since tclDecls.h uses 'size_t', make sure to include <stddef.h>. Since ISO-C has both 'size_t' and 'ptrdiff_t', use those to define INT2PTR and friends (including UINT2PTR) file: [e3a170c47d] check-in: [753c206431] user: jan.nijtmans branch: core-8-branch, size: 81167
2022-03-01
13:34
More progress file: [8887cfea0a] check-in: [4b7b34af76] user: jan.nijtmans branch: tip-616-experiment, size: 81206
2022-01-12
21:13
Merge 8.7 file: [a68c104503] check-in: [276c1ccf0b] user: jan.nijtmans branch: main, size: 81154
21:09
Merge 8.6 file: [b1f56f4478] check-in: [ac0dbddfa3] user: jan.nijtmans branch: core-8-branch, size: 81224
16:33
Fix [da6f155ca4]: STRING_SIZE() macro: parenthesize numChars usage. Fix more macro's like this. file: [cbe9d49d86] check-in: [2bb7cd72c8] user: jan.nijtmans branch: core-8-6-branch, size: 81248
2020-11-30
15:57
Merge 8.6 file: [81285775b5] check-in: [a5a9febfa7] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr2, size: 85450
2020-11-20
15:02
Merge 8.7 file: [adf5201672] check-in: [42b98bc068] user: jan.nijtmans branch: main, size: 81146
08:26
Merge 8.6 file: [1f397d07fe] check-in: [cf79c4768a] user: jan.nijtmans branch: core-8-branch, size: 81216
08:24
Use '&' in stead of 'and' in copyright statements consistantly file: [621620fae3] check-in: [f3b6563365] user: jan.nijtmans branch: core-8-6-branch, size: 81240
2020-10-13
16:04
Merge 8.6 file: [b210eedd23] check-in: [b066df2d6b] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr2, size: 85452
15:54
Merge 8.7 file: [1b777957e5] check-in: [b054ba1d5f] user: jan.nijtmans branch: trunk, size: 81148
15:45
Merge 8.6 file: [bc19bf31ce] check-in: [bfda87dfca] user: jan.nijtmans branch: core-8-branch, size: 81218
14:59
More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in stead of Tcl_NewIntObj() file: [06101bca77] check-in: [cfbd35f083] user: jan.nijtmans branch: core-8-6-branch, size: 81242
2020-10-12
16:47
Eliminate some eol-spacing, eliminate some gcc warnings (with -Wc++-compat) file: [3168248c29] check-in: [bdaf55c9cc] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr2, size: 85460
2020-08-13
14:24
Merge 8.7 file: [5a1aeee649] check-in: [35e221aa02] user: jan.nijtmans branch: trunk, size: 81176
14:20
More usage of TclNewIntObj() macro file: [68524b9b2d] check-in: [539d9dcf7e] user: jan.nijtmans branch: core-8-branch, size: 81246
2020-07-14
10:21
Merge 8.7 file: [2cedcd1904] check-in: [ecae47ea37] user: jan.nijtmans branch: trunk, size: 81180
2020-07-10
10:39
Merge 8.6 file: [382678fdf8] check-in: [f9f29d9980] user: jan.nijtmans branch: core-8-branch, size: 81250
2020-07-09
08:11
Merge 8.7 file: [241a490afd] check-in: [462eec47f8] user: jan.nijtmans branch: trunk, size: 81738
08:10
Merge 8.6 file: [3d1ecc6a95] check-in: [6c023e8c31] user: jan.nijtmans branch: core-8-branch, size: 81808
07:57
Proposed fix for [5019748c73]: FreeScan resp. Oldscan does not recognize positive time zone offset like "31 Jan 14 23:59:59 +0100" file: [927df6a7db] check-in: [4f71ead4a9] user: jan.nijtmans branch: bug-5019748c73, size: 81274
2020-06-23
10:09
Merge 8.6. Merge 8.6. Fix tclClockFmt.c build file: [ccb10aea25] check-in: [0e3a93d671] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr2, size: 85467
09:38
Merge 8.7 file: [36b9b85086] check-in: [3a5a52d481] user: jan.nijtmans branch: trunk, size: 80741
09:33
Merge 8.6 file: [9a96cf2fb0] check-in: [6421e4e7e1] user: jan.nijtmans branch: core-8-branch, size: 80811
09:28
avoid %pure-parser deprecation warning from Bison 3.4 file: [6518b089b9] check-in: [4fe2f27858] user: jan.nijtmans branch: core-8-6-branch, size: 80835
07:13
re-generate with bison 3.1 file: [0b84a177b6] check-in: [918767cf74] user: jan.nijtmans branch: bug-a1bd37b719, size: 81832
06:48
Merge 8.6. re-generate tclParse.c file: [7632f0bd4e] check-in: [5a95936bce] user: jan.nijtmans branch: bug-a1bd37b719, size: 82259
06:35
Backport some changes in tclGetDate.y from 8.7. file: [8440325c67] check-in: [9d38e87ebc] user: jan.nijtmans branch: core-8-6-branch, size: 80835
06:19
Merge 8.7 file: [467fc1d2e7] check-in: [eb0b1d29ba] user: jan.nijtmans branch: trunk, size: 80741
06:16
Backport some recent changes in tclDate.c back to tclGetDate.y, so they are not lost when re-generating file: [afc2356cfb] check-in: [d3e08b882b] user: jan.nijtmans branch: core-8-branch, size: 80811
2020-06-22
18:37
switch internal numbers to long (size of time_t is depending by platform, compiler, stdlib and its directives, and long is enough now for every part of input-string recognized inside of free-scan); this can drastically speedup scan (especially 32-bit platforms) file: [e7470cd49a] check-in: [1c3f0f39e0] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 85523
18:35
rebuilt with bison 3.5; replace deprecated `%pure-parser` with `%define api.pure` file: [67b8647bb8] check-in: [bd5e5db567] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 85527
18:29
Merge branch 'iso-TZ-bug-21': closes gh-21 (bug [a1bd37b719], https://github.com/sebres/tclclockmod/issues/21) file: [55211af412] check-in: [4f064d306d] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 80394
18:26
resolves more shift/reduce conflicts (since SP token is expected by few items only, otherwise silently ignored) file: [68c0e5d582] check-in: [35aea014ba] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 79587
18:22
small amend to #21 allowing time without seconds part "hh:mm" as extended ISO time (with and without T literal) file: [66d9bed3ed] check-in: [b449a91f7b] user: sebres branch: sebres-8-6-clock-speedup-bug-a1bd37b719, size: 80799
18:22
optimized ISO 8601 timestamp (with extended formats, T literal is optional now, more tests); decreases conflicts (10 shift/reduce and 9 reduce/reduce only); file: [acfa637d15] check-in: [000e5124d6] user: sebres branch: sebres-8-6-clock-speedup-bug-a1bd37b719, size: 80903
18:21
ISO 8601 timestamp format accepts extended date and time (YYYY-MM-DD and hh:mm:ss); implements more strict TZ recognition rules by word-lookup (lookahead considering word boundaries, see test-cases), so avoid several conflicts, also confusing literal T in ISO timestamp with military TZ; closes #21 file: [5923d6a3ad] check-in: [b915ec2745] user: sebres branch: sebres-8-6-clock-speedup-bug-a1bd37b719, size: 79584
2020-05-27
21:11
clock-iso-2.patch file: [0cb68c3b5f] check-in: [b29eba8aee] user: jan.nijtmans branch: bug-a1bd37b719, size: 79404
13:58
Proposed soution for [a1bd37b719]: clock (free)scan of ISO 8601 timestamp with literal T behaves strange (I like it!) file: [e2b40794a0] check-in: [f0ea6d62c1] user: jan.nijtmans branch: bug-a1bd37b719, size: 78951
2020-04-14
14:30
Merge 8.7 file: [96447b2d67] check-in: [bd5cc21d39] user: jan.nijtmans branch: trunk, size: 80745
10:17
Merge 8.6 file: [291b9d015b] check-in: [250fd8a281] user: jan.nijtmans branch: core-8-branch, size: 80815
2020-04-13
21:36
Merge 8.5. Failing tests highlight ticket [1b1f5f0b53]. file: [1491f120d0] check-in: [50b6d532c4] user: dgp branch: core-8-6-branch, size: 78250
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: [f1a57e3eb2] check-in: [da9a473a26] user: dgp branch: core-8-5-branch, size: 77795
2020-03-06
21:33
merge 8.7 file: [a9eae24f75] check-in: [89fde09430] user: dgp branch: trunk, size: 80751
18:31
more of the same file: [5e40c3bf7e] check-in: [8a8a5646ef] user: dgp branch: core-8-branch, size: 80821
2020-02-28
12:46
Merge 8.7 file: [f6f64d1f92] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 80770
2019-08-29
13:28
Merge tip-548 file: [d20ab3ea27] check-in: [c933888049] user: jan.nijtmans branch: cplusplus, size: 80840
2019-08-15
15:20
Merge tip-548 file: [063c86bc7f] check-in: [fb24db99f5] user: jan.nijtmans branch: cplusplus, size: 80828
2019-08-14
07:04
Merge 8.7 file: [5c97ebd71d] check-in: [c609a1d32f] user: jan.nijtmans branch: trunk, size: 80748
06:42
Remove "register" keyword in various places. Also add some type-casts to help C++ compatibility. file: [f7fb73aa60] check-in: [7e530cff3d] user: jan.nijtmans branch: core-8-branch, size: 80818
2019-08-13
20:09
Merge 8.7 file: [479068e3ca] check-in: [15eba8d7ec] user: jan.nijtmans branch: trunk, size: 80793
2019-08-12
07:27
Make dateMeridian variable type MERIDIAN (an enum) in stead of int. file: [c5cf3fb34f] check-in: [cc96d0487b] user: jan.nijtmans branch: core-8-branch, size: 80863
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: [87946daad1] check-in: [f074bda87c] user: jan.nijtmans branch: no-register, size: 80813
2019-07-15
12:12
simplifying info-structure, usage of flags etc (normalizing in order to use same flags as by formatted scan instead of members like yyHave...); (additionally allocates info->messages object on demand, if free scan fails) file: [9a80bfa4a0] check-in: [ad1591d2df] user: sebres branch: sebres-8-6-clock-simplify-yy-flags, size: 79929
12:12
**interim** try simplify info-structure (replace yyHave... with flags) file: [53f79e588a] check-in: [9e561572c3] user: sebres branch: sebres-8-6-clock-simplify-yy-flags, size: 80379
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: [6b8364a159] check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 80868
2019-03-05
22:58
merge 8.6 - timerate is part of Tcl now (since TIP#527 got merged), conflicts resolved, tclDate.c rebuilt with bison, etc. file: [cac5b3cb3e] check-in: [3454e26373] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 80243
2019-02-01
20:36
Another (big) round of int -> size_t enhancements. So Tcl can handle string >2GiB in more places. file: [a342ea06ee] check-in: [8534448b44] user: jan.nijtmans branch: trunk, size: 80788
2018-11-15
19:38
Merge 8.7 file: [f3f2e7708a] check-in: [1a1a5c4cb9] user: jan.nijtmans branch: trunk, size: 80791
19:13
Add entry for Tcl_StaticPackage in internal stub table, since the public one is deprecated and will be removed in 9.0 Clean-up a lot of type-casts, which are not necessary any more. file: [6bc9609804] check-in: [47886611e7] user: jan.nijtmans branch: core-8-branch, size: 80858
08:19
Merge 8.7 Fix Tcl_InitStringRep() signature in line with TIP #494, so it can handle lengths >2Gb on 64-bit platforms Various other code cleanups, unnecessary type-casts e.o. file: [d79c7841fb] check-in: [016f65758f] user: jan.nijtmans branch: trunk, size: 80796
2018-10-27
19:33
Backport various minor issues from 8.6: - gcc compiler warning in tclDate.c - protect Tcl_UtfToUniCharDString() from ever reading more than "length" bytes from its input, not even in the case of invalid UTF-8. - update to latest tzdata - fix 2 failing test-cases on MacOSX file: [2de7bc9f1b] check-in: [f339295ed5] user: jan.nijtmans branch: core-8-5-branch, size: 77794
2018-10-09
21:16
Merge 8.7 file: [b0dec3467c] check-in: [ca235a6fe7] user: jan.nijtmans branch: trunk, size: 80867
19:43
isspace -> TclIsSpaceProc in various places. Re-generate tclDate.c with Bision 3.1 file: [14fe245c01] check-in: [0217bf6a6a] user: jan.nijtmans branch: core-8-branch, size: 80863
2018-10-08
14:08
tclGetDate.y: added missing semicolon, tclDate.c rebuilt using Bison 3.1; resolves warning "maybe-uninitialized" by `*++yyvsp = yylval;` file: [634f16af69] check-in: [02508a7c27] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 80281
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: [36b2614b49] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 78253
2018-08-08
06:45
Fix harmless gcc warning file: [eb4fb37264] check-in: [eb3b963d72] user: jan.nijtmans branch: core-8-6-branch, size: 78249
2018-05-29
17:41
fixed ticket [dc69e5ecf04313429fd202b1906cd85bb7888f95]: missing zones AKST/AKDT file: [fd79e78ab5] check-in: [deec2700e3] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 78794
17:38
forgotten flag "CLF_DAYOFWEEK" in one case, where day of week is set file: [d783438ab4] check-in: [bec54ca26f] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 78669
17:24
amend after rebase to master: follow rename yyDayNumber to yyDayOfWeek file: [28ae54bec0] check-in: [f8a84dde36] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 78634
17:24
validation rules ready for scan/freescan; test cases extended; code review and clean-up; running of test cases with and without validate. file: [dce2c6a90a] check-in: [8905217602] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 78634
17:14
FreeScan: rewritten lexer rules and some tokens for better space recognition; fewer conflicts (shift/reduce, reduce/reduce); differentiate between TZ like "GMT+1" and relative offsets "GMT +1 day", etc.; test-cases extended for new cases. file: [5d2c58749b] check-in: [27ca927b8f] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 78459
17:12
try to fix GMT+0000, etc. **still wrong**, because of "GMT+1" and because of longest match "00:00 GMT +1000 days" (in this case "days" == "1 day")... % clock scan "+1000 days" -base 100000000 -gmt 1 186364800 % clock scan "00:00 GMT +1000 days" -base 100000000 -gmt 1 100015200 % clock format [clock scan "GMT+10"] Thu Sep 14 19:54:16 CEST 2017 % clock format [clock scan "GMT+1000"] Thu Sep 14 10:04:20 CEST 2017 % clock format [clock scan "GMT+10"] Thu Sep 14 19:54:23 CEST 2017 % clock format [clock scan "GMT-1000"] Fri Sep 15 06:04:39 CEST 2017 % file: [dfa9d24738] check-in: [5371ea9f5f] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 73924
17:11
FreeScan: repair scanning date/time with TZ using '+', ex.: "31 Jan 14 23:59:59 +0100", additionally another TZ formats can be used now (token [zone] used instead of sequence '-' tNUMBER); test cases extended. Closes http://core.tcl.tk/tcl/tktview?name=5019748c73 Cherry picked from fossil branch "sebres_clock_tz_fix", check-in [5f72c863f17145b4] file: [86bc4c5bbc] check-in: [9c2d7fe16b] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 73517
17:04
code review and cleanup (remove unused code) file: [1a579f366f] check-in: [5638c57be0] user: sebres branch: sebres-8-6-clock-speedup-cr2, size: 74202
2017-06-07
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: [9286d79fc1] check-in: [0c978a034b] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr1, size: 76983
2017-05-31
08:59
More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, preventing a (char *) type case. No functional changes. file: [41cbc0586d] check-in: [a666a90e03] user: jan.nijtmans branch: sebres-8-6-clock-speedup-cr1, size: 76996
2017-01-10
22:55
[unix] build for *nix fixed, code clean-ups; missing declarations; unused vars, functions etc; types normalization; file: [7c699b148c] check-in: [db3de1c90d] user: sebres branch: sebres-trunk-clock-speedup, size: 77012
22:21
several initialize and finalize facilities file: [7303639909] check-in: [2ecbc35da6] user: sebres branch: sebres-trunk-clock-speedup, size: 77011
22:15
[temp-commit]: clock scan tokenizer logic ready (still needs many rules) caching extended (currentYearCentury, yearOfCenturySwitch, lastBaseDate ...) file: [5b2860881c] check-in: [8688a01f7a] user: sebres branch: sebres-trunk-clock-speedup, size: 77286
22:10
[temp-commit]: tclClockFmt.c - amend for 2nd try (with cherry picking of tclSE incompatible facilities) Prepared for common usage of both scan commands - free scan / scan with format (currently faked via eval to __org_scan); test cases passed. file: [62150ab5f3] check-in: [00cf5b57cd] user: sebres branch: sebres-trunk-clock-speedup, size: 77352
22:07
[temp-commit]: tclClockFmt.c - 1st try using "timerate" instead "time" by performance measurement tests (more precise and fixed time, so no switch of factor expected) file: [a36d72dfed] check-in: [5b16c75353] user: sebres branch: sebres-trunk-clock-speedup, size: 78271
21:58
[temp-commit]: clock scan with several optimization porting, still not-ready file: [b43ba7d22b] check-in: [1bb8c6a194] user: sebres branch: sebres-trunk-clock-speedup, size: 78271
2016-06-14
09:12
(cherry-pick): Fix [e14c77b845]: Compilation error over typedef. file: [902c636423] check-in: [eb44f9209e] user: jan.nijtmans branch: core-8-5-branch, size: 77788
2016-06-09
11:38
Fix [e14c77b845] for MSVC6: Compilation error over typedef file: [dd9cf31841] check-in: [66a48888ae] user: jan.nijtmans branch: core-8-6-branch, size: 78243
2015-07-08
09:45
clock - FreeScan (resp. Oldscan): repair scanning date/time with TZ using '+', ex.: "31 Jan 14 23:59:59 +0100", additionally another TZ formats can be used now (token [zone] used instead of sequence '-' tNUMBER); test cases extended. file: [f6693046c5] check-in: [5f72c863f1] user: sebres branch: sebres_clock_tz_fix, size: 77764
09:41
tclDate.c regenerated with yacc 2.4.2; skip one clock test-case for windows; file: [7bce39f757] check-in: [55849fb6e8] user: sebres branch: sebres_clock_tz_fix, size: 78449
2013-09-26
13:13
merge novem WARNING: No checks of build-ability done yet. file: [c24f18d0ed] check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 78583
2013-06-17
13:29
Use more portable TclIsSpaceProc() in stead of isspace(). file: [ee536fa9a9] check-in: [4bfe3111b1] user: jan.nijtmans branch: trunk, size: 78503
13:23
Use more portable TclIsSpaceProc() in stead of isspace(). Make sure that "string is space \u180e" continues to return 1 for whatever unicode version. file: [b09f669f36] check-in: [5712054958] user: jan.nijtmans branch: core-8-5-branch, size: 78048
2012-11-21
10:18
more conversion of code, still not running test suite at all file: [49c429e620] check-in: [e648a1571f] user: dkf branch: novem-64bit-sizes, size: 78583
00:42
converting to use TCL_STRLEN file: [6f4cd73153] check-in: [2afb72a22d] user: dkf branch: novem-64bit-sizes, size: 78543
2012-11-18
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: [1ac80e0488] check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 78599
2012-11-16
15:40
conversion of many files file: [2649a57ee7] check-in: [30983e25c6] user: dkf branch: novem-64bit-sizes, size: 78505
2012-11-15
17:55
More complete purge of things only present for supporting long-dead Mac 9 systems. file: [d943f590a8] check-in: [7506775d52] user: dgp branch: core-8-4-branch, size: 56464
2012-04-23
13:17
make some more internal tables const file: [8c44ef228b] check-in: [7ac468debe] user: jan.nijtmans branch: core-8-5-branch, size: 78048
12:30
make some more internal tables const On cygwin, install dll's in /usr/bin, not in /usr/lib file: [bb518110e4] check-in: [6de689d796] user: jan.nijtmans branch: core-8-4-branch, size: 56638
2011-03-31
10:04
TclClockOldscanObjCmd: More generation of errorCode information. file: [37efbaebcf] check-in: [25eb27727e] user: dkf branch: trunk, size: 78503
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: [f5e59fcd94] check-in: [c64f310d38] user: dgp branch: trunk, size: 77995
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: [001d1bc3dc] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 78012
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: [0e606d6a07] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 56617
2010-03-04
23:16
3 unnecessary MODULE_SCOPE symbols file: [b66bc7aa3d] check-in: [638890c82c] user: nijtmans branch: trunk, size: 77998
2010-02-21
20:09
Follow-up to Fix [Bug 2954959] expr abs(0.0) is -0.0 Some more tests, showing that the LONG implementation was not quite correct too, and a fix for that. Some more internal "const" additions file: [a71f5cb073] check-in: [4a0630650d] user: nijtmans branch: trunk, size: 78079
2009-11-18
21:59
Eliminate various gcc warnings (in -Wextra mode) file: [2095ab3482] check-in: [8780faf488] user: nijtmans branch: trunk, size: 78043
2009-07-22
12:00
* macosx/tclMacOSXFCmd.c: CONST -> const * generic/tclGetDate.y: * generic/tclDate.c: * generic/tclLiteral.c: (char *) cast in ckfree call file: [42f4546de9] check-in: [86068bf4d3] user: nijtmans branch: trunk, size: 78015
2009-06-09
13:52
* generic/tclGetDate.y: Fixed a thread safety bug in the generated * library/clock.tcl: Bison parser (needed a %pure-parser * tests/clock.test: declaration to avoid static variables). Discovered that the %pure-parser declaration allowed for returning the Bison error message to the Tcl caller in the event of a syntax error, so did so. * generic/tclDate.c: bison 2.3 file: [f4aaf41923] check-in: [507327cfc1] user: kennykb branch: trunk, size: 78015
2009-01-22
06:42
CONSTify TclPrintInstruction and TclpNativeJoinPath (TIP #27) {unix win} in *.decls is equivalent to {generic} tclGetDate.y, tclDate.c: single internal const decoration file: [c563ca3962] check-in: [b4d9520da5] user: nijtmans branch: trunk, size: 74095
2008-10-16
22:34
Add "const" to many internal const tables. No functional or API change. file: [1596fd1e5d] check-in: [f03d2e2d83] user: nijtmans branch: trunk, size: 74089
2008-05-04
07:28
CONST -> const file: [47be7ec3c6] check-in: [af93d720f5] user: nijtmans branch: trunk, size: 74071
2007-08-06
17:25
* generic/tclGetDate.y: Added a cast to the definition of YYFREE to silence compiler warnings. * generic/tclDate.c: Regenerated * win/tclWinTest.c: Added a cast to the call to GetSecurityDescriptorDacl to silence compiler warnings. file: [6b5b5f2268] check-in: [7f6eeb56bd] user: kennykb branch: trunk, size: 74071
2007-06-29
03:16
* generic/tclGetDate.y: use ckalloc/ckfree instead of malloc/free. * generic/tclDate.c: bison 1.875e file: [21ce127d14] check-in: [11c00e6d4f] user: das branch: trunk, size: 64574
2007-04-20
05:51
Whitespace policing, replacing commas in varargs with constant string catenation, and fixed an oversight in the fix for NZA time zones. file: [aa2cf6f5c5] check-in: [d6ee490b6b] user: kennykb branch: trunk, size: 62762
04:11
Fixed a buglet in recognizing time zone SIERRA file: [d6fa053006] check-in: [0c6676638d] user: kennykb branch: trunk, size: 62764
03:50
* tests/clock.test (clock-59.1): Added a regression test for military time zone input conversion. [Bug 1586828]. * generic/tclGetDate.y (MilitaryTable): Fixed an ancient bug where the military NZA time zones had the signs reversed [Bug 1586828]. file: [9b68da3a50] check-in: [94e184fbee] user: kennykb branch: trunk, size: 62755
2007-03-20
19:47
2007-03-20 Kevin B. Kenny <kennykb@acm.org> * generic/tclDate.c: Rebuilt, despite Donal Fellows's comment when committing it that no rebuild was required. * generic/tclGetDate.y: According to Donal Fellows, "Introduce modern formatting standards; no need for rebuild of tclDate.c." * library/tzdata/America/Cambridge_Bay: * library/tzdata/America/Havana: * library/tzdata/America/Inuvik: * library/tzdata/America/Iqaluit: * library/tzdata/America/Pangnirtung: * library/tzdata/America/Rankin_Inlet: * library/tzdata/America/Resolute: * library/tzdata/America/Yellowknife: * library/tzdata/Asia/Choibalsan: * library/tzdata/Asia/Dili: * library/tzdata/Asia/Hovd: * library/tzdata/Asia/Jakarta: * library/tzdata/Asia/Jayapura: * library/tzdata/Asia/Makassar: * library/tzdata/Asia/Pontianak: * library/tzdata/Asia/Ulaanbaatar: * library/tzdata/Europe/Istanbul: Upgraded to Olson's tzdata2007d. * generic/tclListObj.c (TclLsetList, TclLsetFlat): * tests/lset.test: Changes to deal with shared internal representation for lists passed to the [lset] command. Thanks to Don Porter for fixing this issue. [Bug 1677512] file: [019097482e] check-in: [ee77f4e978] user: kennykb branch: trunk, size: 62756
2007-02-20
23:24
various "const" additions, in line with TIP #27 file: [e005c7f8bd] check-in: [81ea4e1335] user: nijtmans branch: trunk, size: 65827
2007-01-03
15:22
Regenerated tclDate.c file: [d43f0bc0b6] check-in: [488b4d7b3a] user: kennykb branch: trunk, size: 65809
2006-06-14
15:21
Enable building Tcl with Microsoft's latest compiler offering (VS2005). We have to handle a number of oddities as they have deprecated most of the standard C library and now generate manifest files to be linked into the binaries. SF bug #1424909 file: [3e12e30050] check-in: [f0865d186b] user: patthoyts branch: core-8-4-branch, size: 56695
2005-11-27
02:33
* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(), add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes (dist): add new macosx files. * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixFCmd.c: * macosx/tclMacOSXFCmd.c: ppc64 and endian (i386) fixes. (TclMacOSXCopyFileAttributes): add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser (new file): * macosx/Tcl.xcode/project.pbxproj (new file): * macosx/Tcl.xcodeproj/default.pbxuser (new file): * macosx/Tcl.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tcltest targets and support for universal (fat) compiles. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * unix/dltest/Makefile.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tcl/macosx, add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tcl.decls: add Tcl_Main declaration as comment to avoid 'checkstubs' target complaining about it missing from stubs. * generic/regex.h: * generic/tclDate.c: * generic/tclEnv.c: * generic/tclGetDate.y: * generic/tclIOUtil.c: * generic/tclObj.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclPathObj.c: * generic/tclThreadAlloc.c: * generic/tclThreadStorage.c: * generic/tclTrace.c: * generic/tclVar.c: * generic/tommath.h: * tools/fix_tommath_h.tcl: * unix/tclUnixFCmd.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file). These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclNamesp.c (NamespaceEnsembleCmd): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/tclExecute.c (TclExecuteByteCode): fix unused variable warning when NO_WIDE_TYPE is defined. * generic/regguts.h: only #define NDEBUG if not already #defined. * unix/tclUnixNotfy.c: * macosx/tclMacOSXNotify.c: sync whitespace & comments. * unix/tclUnixPort.h: * win/tclWinPort.h: remove declaration of obsolete&unused TclpMutex API. * unix/configure: * unix/tclConfig.h.in: regen. file: [eb201f0691] check-in: [eac3630f72] user: das branch: trunk, size: 65737
2005-11-04
20:15
Bug 1298737 file: [fea154ad5b] check-in: [419fc365f4] user: kennykb branch: core-8-4-branch, size: 56683
20:13
Bug 1298737 file: [171295bea8] check-in: [6693b4f5af] user: kennykb branch: trunk, size: 65620
2005-11-03
00:17
Applied patch #1096916 to support building with MSVC 8. * generic/regerror.c: Avoid use of reserved word. * generic/tcl.h: Select the right Tcl_Stat structure * generic/tclDate.c: Casts to handle 64 bit time_t case. * tests/env.test: Include essential envvar on Win32 * win/nmakehlp.c: Handle new return codes. * win/makefile.vc: Use the selected options. * win/rules.vc: Check options are applicable * win/tclWinPort.h: Disable deprecated function warnings * win/tclWinSock.c: Provide default value to avoid warning. * win/tclWinTime.c: Add casts to handle 64bit time_t type. file: [f40d3d71e5] check-in: [58ba298c20] user: patthoyts branch: trunk, size: 65200
2005-11-02
14:51
ANSIfy; generic/*.c now all done except for test code file: [e08a2f3f5a] check-in: [2ffae9b171] user: dkf branch: trunk, size: 65128
2005-03-15
16:29
replaced 'long' times with wides, to cope with Win64 file: [e2014d5e51] check-in: [d41af48065] user: kennykb branch: core-8-4-branch, size: 56488
2004-12-29
20:57
bugs 1090413, 1092789 fixed file: [0c787d6f90] check-in: [c237cdd9ec] user: kennykb branch: trunk, size: 65184
2004-09-27
19:59
removed some workarounds for Bug 868489 file: [49d013fc61] check-in: [20788cf565] user: kennykb branch: trunk, size: 67813
14:31
many more TIP 173 changes file: [427c55a53f] check-in: [e64761cd12] user: kennykb branch: trunk, size: 67117
2004-09-17
22:06
more changes for bison support file: [bd7657dc77] check-in: [c556cf0609] user: kennykb branch: trunk, size: 73586
19:41
make tclGetDate.y use bison instead of yacc file: [384368ad3f] check-in: [ba15c2a65d] user: kennykb branch: trunk, size: 72557
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: [3f8bdcef6e] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 58210
2004-03-18
18:50
* generic/tclIntDecls.h: Removed TclpTime_t. It wasn't really needed, * generic/tclInt.h: but caused warnings related to * generic/tclInt.decls: strict aliasing with GCC 3.3. * generic/tclClock.c: * generic/tclDate.c: * generic/tclGetDate.y: * win/tclWinTime.c: * unix/tclUnixTime.c: file: [421f11a689] check-in: [c4cc68d13f] user: rmax branch: trunk, size: 58231
2004-03-17
18:14
Removed support for Mac OS Classic platform [Patch 918142] file: [1eddad05cb] check-in: [b6330dbac7] user: das branch: trunk, size: 58321
2004-03-10
16:01
* generic/tclGetDate.y (TclGetDate): Fix so that [clock scan <timeOfDay> -gmt true] uses the GMT base date instead of the local one. [Bug 913513] * tests/clock.test: Added test cases for wrong ISO8601 week number [Bug 500285] and wrong GMT base date [Bug 913513]. Several tests still fail on Windows, and these are actual faults in [clock scan]. Fix is still pending. * generic/tclDate.c: Regenerated. file: [6bcee9ab76] check-in: [3256bce743] user: kennykb branch: trunk, size: 58495
2003-05-15
21:51
Fixed Tcl bug 736425 file: [e813982aba] check-in: [a0e49ff76f] user: kennykb branch: trunk, size: 58480
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [6ddd606569] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 56460
2001-10-18
20:20
* tests/clock.test (clock-8.1): * generic/tclDate.c (RelativeMonth): * generic/tclGetDate.y (RelativeMonth): corrected off-by-one-day error in clock scan with relative months and years during swing hours. [Bug #413397, Patch #414024] (lavana) file: [06d647b867] check-in: [864f0ce0a9] user: hobbs branch: trunk, size: 56453
20:17
* tests/clock.test (clock-8.1): * generic/tclDate.c (RelativeMonth): * generic/tclGetDate.y (RelativeMonth): corrected off-by-one-day error in clock scan with relative months and years during swing hours. [Bug #413397, Patch #414024] (lavana) file: [6e975913ae] check-in: [7578b17c68] user: hobbs branch: core-8-3-1-branch, size: 56457
2001-10-17
19:29
Backport of some mac specific changes added to 8.4 since 8.3.3 file: [2134c91cb0] check-in: [0d585f43e5] user: das branch: core-8-3-1-branch, size: 55684
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: [fb8ba3b6ac] check-in: [9461aca548] user: vincentdarley branch: trunk, size: 55690
2000-08-07
21:30
* tests/clock.test: Added test for "2 days 2 hours ago" style specifications. * generic/tclDate.c: Regenerated from tclGetDate.y. * generic/tclGetDate.y: Tweaked grammar to properly handle the "ago" keyword when it follows multiple relative unit specifiers, as in "2 days 2 hours ago". [Bug: 5497]. file: [3214812423] check-in: [8d1fb17481] user: hobbs branch: core-8-3-1-branch, size: 55645
2000-05-18
22:29
* tests/clock.test: Added test for "2 days 2 hours ago" style specifications. * generic/tclDate.c: Regenerated from tclGetDate.y. * generic/tclGetDate.y: Tweaked grammar to properly handle the "ago" keyword when it follows multiple relative unit specifiers, as in "2 days 2 hours ago". [Bug: 5497]. file: [b03d7aa98f] check-in: [5dc84a282d] user: ericm branch: trunk, size: 55641
2000-02-28
18:49
* tests/clock.test: Added test for ISO bases < 100000 * generic/tclDate.c: (generated on Solaris) * generic/tclGetDate.y: Changed condition for deciding if a number is an ISO 8601 base from number >= 100000 to numberOfDigits >= 6. Previously it would fail to recognize 000000 as an ISO base. file: [6dd6bba8e1] check-in: [7f9ecc28ca] user: ericm branch: trunk, size: 55729
2000-02-09
03:56
* tests/clock.test: Added tests for "next monthname" constructs. * generic/tclDate.c: * generic/tclGetDate.y (Message): Added a grammar rule for "next monthname" so that we can handle "next january" and similar constructs (bug #4146). file: [de3cc6ee38] check-in: [21f3edaefc] user: ericm branch: trunk, size: 55575
2000-01-14
22:15
* unix/tclUnixTime.c: New clock format format. * compat/strftime.c: New clock format format. * generic/tclGetDate.y: New clock scan format. file: [0c152cc33b] check-in: [53023d030d] user: ericm branch: trunk, size: 53870
2000-01-12
23:35
* tests/clock.test: Added tests for "next <day-of-week>" and "<day-of-week>" file: [d48f578679] check-in: [927e25a961] user: ericm branch: trunk, size: 53109
19:36
* doc/tests/clock.test: Added numerous tests for clock scan. * doc/generic/tclGetDate.y: Fixed some shift/reduce conflicts in clock grammar. * doc/doc/clock.n: Added documentation for new supported clock scan formats and additional explanation of daylight savings time correction algorithm. file: [e1d6f35461] check-in: [5b25723b45] user: ericm branch: trunk, size: 52275
03:13
* generic/tclGetDate.y: Added comments for the Convert function. Added a fix for daylight savings time handling for relative time spans of days, weeks or fortnights. * generic/tclDate.c: Fixed compiler warning issues. file: [806dd96b5b] check-in: [69adbd6db8] user: ericm branch: trunk, size: 52905
01:16
* generic/tclGetDate.y: Added comments for the Convert function. * generic/tclDate.c: Fixed compiler warning issues. file: [ef3b54b282] check-in: [286cd58368] user: ericm branch: trunk, size: 46703
2000-01-11
02:59
fixed "next" constant to give 1 unit ahead, not 2. file: [9d8638931a] check-in: [1438d1edd0] user: ericm branch: trunk, size: 45657
02:36
yacc run file: [f4ed44ab30] check-in: [70e29604ff] user: ericm branch: trunk, size: 45656
02:35
*** empty log message *** file: [a310765ae2] check-in: [4ae9f19e4f] user: ericm branch: trunk, size: 45686
1999-12-08
03:49
* generic/tclDate.c: * unix/Makefile.in: fixed make gendate to swap const with CONST so it uses the Tcl defined CONST type [Bug: 3521] * generic/tclIO.c: removed panic that could occur in FlushChannel when a "blocking" channel would receive EAGAIN, instead treating it the same as non-blocking. [Bug: 3773] * generic/tclUtil.c: fixed Tcl_ScanCountedElement to not step beyond the end of the counted string [Bug: 3336] file: [4d420a7052] check-in: [b39a92cac1] user: hobbs branch: trunk, size: 48137
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: [f52a1fc878] check-in: [ab656050a9] user: hobbs branch: core-8-2-1-branch, size: 48032
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: [1153781354] check-in: [eb68adcdfd] user: hobbs branch: trunk, size: 48137
1999-05-14
18:29
merged 1-3-b2 changes into mainline file: [b759e3907a] check-in: [3ee5ce82d5] user: stanton branch: trunk, size: 47809
17:27
Apply patch to fix leap years for 100-year boundaries. Patch submitted by Isaac Hollander, Bug Id 2066. file: [6286a83d4e] check-in: [7187fe5f06] user: redman branch: scriptics-tclpro-1-3-b2-branch, size: 47812
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: [d9127a7d3b] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 47691
1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
1999-03-10
06:49
Integrated stubs mechanism from 8.0 into 8.1 file: [b33ccbb0c0] check-in: [ddb86b8d93] user: stanton branch: core-8-1-branch-old, size: 47695
05:52
Merged stubs changes into mainline for 8.0 file: [bcc8e0fc7c] check-in: [1969693351] user: stanton branch: trunk, size: 47610
1999-03-08
20:14
First pass at integrating stubs mechanism from 8.0. file: [f11a06f384] check-in: [eeba5fd9e9] user: stanton branch: dev-8-1-stubs-branch, size: 47699
1999-03-04
00:58
* unix/tclUnixTime.c: Added TclpGetDate and TclStrftime. * win/tclWinTime.c: * unix/tclUnixTime.c: * mac/tclMacTime.c: * generic/tclDate.c: * generic/tclClock.c: Created a new opaque TclpTime_t type so generic functions that depend on the format of time_t can appear in the generic header files. file: [f94ffb2446] check-in: [da995fce8e] user: stanton branch: dev-stubs-branch, size: 47614
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [7681813a1a] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 47633
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [95d8df1698] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 47601
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [a17655fe25] check-in: [196f92fd17] user: stanton branch: trunk, size: 47548
1998-03-26
14:45
Added: Initial revision file: [132599ae1b] check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 47520