Tcl Source Code

All files named ”generic/tclMain.c”
Login

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

History for generic/tclMain.c

2026-11-06
08:22
Make the Tcl_MainExW() function compilable with a C++ compiler too file: e03a5f7d3d check-in: [f8b89b1b0d] user: jan.nijtmans branch: main, size: 25323
2026-10-17
07:11
Fix [2982713fff]: if tclsh was started with SIGCHLD ignored (e.g. from system() in a program which ignores it), [exec] failed with "child process lost". Tcl_MainEx() restores the default SIGCHLD handling in that case; applications which embed Tcl are not affected. file: 871be33118 check-in: [b3c28a91a0] user: serhiy.storchaka branch: tclsh-inherited-sigchld, size: 25703
2026-06-13
15:56
Indentation corrections file: 55dea9ec45 check-in: [5728419ce1] user: dkf branch: main, size: 25130
2026-01-12
07:47
Merge trunk file: 8e3e8187fb check-in: [324255f4a1] user: jan.nijtmans branch: attemptgetstring, size: 25962
2025-12-22
16:58
Eliminate redundant initialization calls file: 9abd97225a check-in: [3e8b6b4103] user: apnadkarni branch: tip-732, size: 25128
2025-11-10
09:50
merge trunk file: ddd8a866f1 check-in: [99af258fc1] user: dkf branch: enums-3, size: 25298
2025-10-13
17:04
Rebase to trunk file: f2c13a1350 check-in: [644669e6cb] user: jan.nijtmans branch: attemptgetstring, size: 26121
2025-10-10
14:11
Tranche 3 of adoption of bool file: 616d127887 check-in: [6e7e183bb2] user: dkf branch: c11-bool, size: 25295
2025-10-06
12:05
merge trunk file: 6e01ac79c8 check-in: [dce49c4e92] user: dkf branch: c-std-update, size: 25324
2025-09-29
08:50
Merge 9.0 file: a539814c18 check-in: [1c2897a986] user: jan.nijtmans branch: main, size: 25287
08:47
[https://core.tcl-lang.org/tk/tktview/832c2047bb|832c2047bb] follow-up: -Wc++-keyword only exists in clang > 20 file: 6f193068eb check-in: [72e16ac019] user: jan.nijtmans branch: core-9-0-branch, size: 25287
2025-09-05
07:08
Introduce Tcl_AttemptGetCharLength() file: 186e23b0df check-in: [24bb637dd2] user: jan.nijtmans branch: attemptgetstring, size: 26052
2025-08-12
09:06
More booleans. file: 0c2230373b check-in: [8a9080996d] user: dkf branch: c-std-update, size: 25204
2025-07-02
13:36
naming unnamed enums for slightly better debuggging/IDE metadata file: 8ca2dc379c check-in: [2bef4baa8f] user: dkf branch: enums-3, size: 25178
2025-06-20
13:15
Give each TSD struct its own name as well as the standard ThreadSpecificData file: abfdd61a11 check-in: [8d695d0eb6] user: dkf branch: c-std-update, size: 25195
2025-05-15
15:14
New function Tcl_AttemptGetString(). WIP file: f4587ad6af check-in: [68a2b7038d] user: jan.nijtmans branch: attemptgetstring, size: 25524
2025-03-02
15:48
Bunch of whitespace basic fixes. file: 64712b4215 check-in: [809d595b56] user: dkf branch: main, size: 25167
2025-01-13
09:59
More macros for measuring literals at compile time, and a shortcut for adding to error info file: 21df65161b check-in: [43e1c33e9e] user: dkf branch: dkf-c11-features, size: 25159
2024-08-28
21:41
Merge [735641d5cb93cd80]: More C functions for working with dicts [656fe3c816]. file: 42179132ac check-in: [5e25f5c971] user: pooryorick branch: unchained, size: 25537
16:33
Merge [3a60363aa10ef993]: Clean up a lot of whitespace issues. file: 5aec5d31ae check-in: [627781a6db] user: pooryorick branch: unchained, size: 25642
2024-08-27
10:40
Merge [22cb6d973e5b8327]: Use TclHasInternalRep() macro in more places. file: c1ba76c93b check-in: [17b13231f6] user: pooryorick branch: unchained, size: 25642
2024-08-26
22:10
Merge [364a550ce5768b4f]: Undo the encodingPtr -> encodingNamePtr change. file: 725f5224e9 check-in: [de64c552c7] user: pooryorick branch: unchained, size: 25642
22:08
Merge [4a704590fe9d36b2]: encodingPtr -> encodingNamePtr (for consistency). file: 6a062d2a9a check-in: [ff09f3b8ba] user: pooryorick branch: unchained, size: 25662
20:35
Merge [3e78a85066866cb6]: Simplify Tcl_SetStartupScript() a little bit: no need to check for NULL twice. Test for != NULL consistently. file: 83fd3d3c23 check-in: [543283b20a] user: pooryorick branch: unchained, size: 25630
2024-08-22
17:24
Merge [a61dbb7ee6290dd1]: Fix [0df5906dd7]: Error-handling when stderr is in "strict" profile. file: fdd85ebb5d check-in: [b7b93ebbca] user: pooryorick branch: unchained, size: 25752
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: 0a056b30d5 check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 25185
2024-05-26
14:09
Merge 8.7 file: dfe1e6179a check-in: [735641d5cb] user: dkf branch: main, size: 25167
13:19
merge 8.6 file: f400b5fcfc check-in: [9e8cd97a2b] user: dkf branch: core-8-branch, size: 25150
2024-05-25
11:31
Use the new operations file: 06a2598a6a check-in: [a3435c30a3] user: dkf branch: more-dict-c-funcs, size: 25222
2024-05-23
08:53
More trickery with macros file: 316173c030 check-in: [a3f9c1bec2] user: dkf branch: more-macros, size: 25255
2024-04-29
11:46
Tcl_MainEx() never returns, so it should be TCL_NORETURN as well. file: 8df3483500 check-in: [cc3a6494b2] user: jan.nijtmans branch: core-8-branch, size: 25255
2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: de2e294991 check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 25272
2024-04-10
15:26
Merge 8.7 file: 53bb387147 check-in: [22cb6d973e] user: jan.nijtmans branch: main, size: 25272
14:47
Merge 8.6 Use TclHasInternalRep() macro in more places. file: d2e8174b5a check-in: [d326acc1c9] user: jan.nijtmans branch: core-8-branch, size: 25242
12:02
Tcl_NewBooleanObj() is better here than Tcl_NewIntObj file: 50fe042b07 check-in: [03f84b481a] user: jan.nijtmans branch: core-8-6-branch, size: 25327
11:52
Merge 9.0 file: 27b15485b6 check-in: [f4b3e69a07] user: jan.nijtmans branch: tip-691, size: 25996
08:51
Same for tclsh command-line file: e0b5702fee check-in: [bda82e1ef1] user: jan.nijtmans branch: tip-691-for-8.6, size: 25505
2024-04-08
12:52
(dummy) implementation of TIP #691 for 8.6 file: 6643078414 check-in: [1590f15656] user: jan.nijtmans branch: tip-691-for-8.6, size: 25508
2024-04-05
13:58
Merge 9.0. Change flag names file: ea2b4d1c4e check-in: [8889b0c536] user: jan.nijtmans branch: tip-691, size: 25996
2024-04-04
14:25
Merge 8.7 (undid the encodingPtr -> encodingNamePtr change) file: 778af2c6f2 check-in: [364a550ce5] user: jan.nijtmans branch: main, size: 25272
12:35
Merge 8.7. encodingPtr -> encodingNamePtr (for consistency) file: d1963551b8 check-in: [4a704590fe] user: jan.nijtmans branch: main, size: 25292
11:44
Merge 8.6 file: aee2cf6569 check-in: [09cdca236b] user: jan.nijtmans branch: core-8-branch, size: 25226
10:52
encodingName -> encoding (where appropriate) file: ab11f1a8cc check-in: [0a9ae478ac] user: jan.nijtmans branch: core-8-6-branch, size: 25307
2024-04-03
20:21
encodingName -> encoding (where appropriate) file: f2e00ac2c0 check-in: [5b26e92fbb] user: jan.nijtmans branch: tip-691, size: 25980
09:22
Merge 9.0 file: 3ce24f3177 check-in: [b686681ba2] user: jan.nijtmans branch: tip-691, size: 25996
2024-04-02
22:04
Merge 8.7 file: cc08118b90 check-in: [3e78a85066] user: jan.nijtmans branch: main, size: 25260
21:50
Merge 8.6 file: 252e612e16 check-in: [67460ca2f9] user: jan.nijtmans branch: core-8-branch, size: 25242
21:39
Backport [https://core.tcl-lang.org/tcl/timeline?r=argx_rejig|argx_rejig] branch. This should fix "PwnKit" (CVE-2021-4034) for Tcl file: 2ca1ada2cf check-in: [2e975ec0e2] user: jan.nijtmans branch: core-8-6-branch, size: 25323
20:46
Simplify Tcl_SetStartupScript() a little bit: no need to check for NULL twice. Test for != NULL consistently file: f6249d2973 check-in: [00af3315f5] user: jan.nijtmans branch: core-8-6-branch, size: 25048
20:22
Rebase to 9.0 file: 01c52a583f check-in: [bdcf3280d6] user: jan.nijtmans branch: tip-691, size: 26053
2024-03-22
20:53
Appears to work better now file: 8e017f0f85 check-in: [cbb3889233] user: jan.nijtmans branch: tip-691, size: 26233
11:27
More progress (not well tested yet) file: 0d0f5e1866 check-in: [bc7883f663] user: jan.nijtmans branch: tip-691, size: 26383
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: c1d69a37b4 check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 25378
2024-01-04
20:58
Merge 9.0 file: 538a9e6f32 check-in: [bfb5c2d0d3] user: jan.nijtmans branch: tip-671, size: 25378
2023-09-28
15:23
Proposed fix for [0df5906dd7] file: dac7023fae check-in: [6314825ea9] user: jan.nijtmans branch: bug-0df5906dd7, size: 25291
15:01
Improve error-message, in case of encoding error in stderr channel file: aedf4a0025 check-in: [c5f8c95e6a] user: jan.nijtmans branch: tip-657, size: 25382
2023-06-14
15:17
Use lossless profile for command line args. Couple of platform-specific cases. file: 9180f8da1c check-in: [1e1a880f3e] user: apnadkarni branch: tip-671, size: 24811
2023-04-06
09:52
Eliminate TCL_SIZE_CMP() for now, not a good idea for Tcl 9.0 file: 88bd9f8b9e check-in: [d00062f436] user: jan.nijtmans branch: optional-signed-size, size: 24898
2023-04-04
20:50
more progress file: c7c57ee044 check-in: [4e36871191] user: jan.nijtmans branch: optional-signed-size, size: 24910
2023-04-02
21:49
Merge 9.0. Add some more utility macro's file: 0724e841cc check-in: [4bedba476d] user: jan.nijtmans branch: optional-signed-size, size: 24891
2023-03-30
18:01
TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntu file: 4771e37d8b check-in: [eb81a25271] user: apnadkarni branch: tip-660, size: 24815
2022-11-20
17:51
Merge 8.7 file: c199f5876f check-in: [83c627a303] user: jan.nijtmans branch: main, size: 24895
17:38
Merge 8.6. TIP #651 implementation (since there are already 2 YES votes, no NO votes expected) file: eb08046f64 check-in: [4218e66972] user: jan.nijtmans branch: core-8-branch, size: 24724
2022-10-31
17:12
Make sure the build works if USE_LINENOISE is #undef'ed file: 63be9e04e9 check-in: [4cfce4825b] user: marc_culler branch: line-editing, size: 30225
16:53
Add conditional compilation directives around all code blocks specific to line editing. file: 2ad00f6fea check-in: [20301d488f] user: marc_culler branch: line-editing, size: 30107
16:10
Use Tcl_CreatePipe and avoid damaged channel lists on linux by calling Tcl_Exit from the main thread. file: 141e815e7d check-in: [a4c450a39c] user: marc_culler branch: line-editing, size: 30015
2022-10-30
19:11
Fix the transition when an event loop terminates. file: 651c2f9a22 check-in: [8a85f20de8] user: culler branch: line-editing, size: 29648
2022-10-29
20:28
Fix the termios problems and other glitches by using mutexes. Still need a transition when the event loop is killed. file: 4542fc6f80 check-in: [ed0f394be3] user: culler branch: line-editing, size: 29377
14:10
Remove failed attempt to fix the termios issue. file: 33ae834c51 check-in: [763deafefb] user: culler branch: line-editing, size: 28331
13:56
Fix fork file: f27e3c05f8 check-in: [400d629521] user: culler branch: line-editing, size: 28332
2022-10-28
17:38
Make command line editing work with Tk, except for some termios issues at exit. file: 90c229705a check-in: [a662802a1e] user: culler branch: line-editing, size: 28330
2022-10-27
07:24
Add lininoise directory. Fix 2 gcc warnings file: 15e9160014 check-in: [4f49c8a0c9] user: jan.nijtmans branch: line-editing, size: 25145
2022-10-26
11:38
Remove detritus. file: c05b94d72f check-in: [b9dc6a9258] user: culler branch: line-editing, size: 25143
03:24
Move Tcl_GetLine and Tcl_GetLineObj to tclIO.c file: a727f11333 check-in: [662374c0f7] user: culler branch: line-editing, size: 25237
02:45
Line editing and history -- moved to 8.7. file: f0906e8c6b check-in: [53b9e4d0d1] user: culler branch: line-editing, size: 28718
2022-10-25
22:31
Add Tcl_GetLine and Tcl_GetLineObj as stubs. file: 2ba239cba2 check-in: [2be6e24319] user: culler branch: line-editing-86, size: 29116
18:24
Add Tcl_GetLine. Correct the return values. file: e040341226 check-in: [2169f8ac1e] user: culler branch: line-editing-86, size: 29072
16:00
Tk will need line-editing too. Move the linenoise code into a new function Tcl_GetLineObj. file: 5f659152d6 check-in: [fbcc748d93] user: culler branch: line-editing-86, size: 28163
2022-10-24
17:13
Fix a call to strncat that generated a warning. file: fcbe67b8e3 check-in: [1089030e83] user: culler branch: line-editing-86, size: 26152
16:36
whitespace file: c956044723 check-in: [6cd1db6e84] user: culler branch: line-editing-86, size: 26156
16:31
Simplify, simplify, simplify. Get rid of fork. Clean up linenoise. file: c506868be7 check-in: [64d82fb0b0] user: culler branch: line-editing-86, size: 26160
13:01
Try to make restoring the terminal state robust and prevent misplaced prompts with large pastes. file: 8aa68b4f7f check-in: [5ccde56aad] user: culler branch: line-editing-86, size: 27758
2022-10-23
16:00
Put the declaration of historyPath back where it belongs. file: e024b60f76 check-in: [8de26a9c7b] user: culler branch: line-editing-86, size: 26892
15:48
Remove redundant test. file: 7c01e3c3d6 check-in: [0c954a2479] user: culler branch: line-editing-86, size: 26892
15:40
Don't enable command line editing if a startup script has been specified. file: c5ba5e1b9e check-in: [2dcb632f19] user: culler branch: line-editing-86, size: 26916
2022-10-22
03:25
Switch to strncpy and strncat for linux compatibility. file: 965d86d2d7 check-in: [dc840df14b] user: culler branch: line-editing-86, size: 26871
2022-10-21
23:24
Proof of concept: tclsh line-editing and history via linenoise file: 4eca82dfdf check-in: [57084afb07] user: culler branch: line-editing-86, size: 26666
08:53
Merge 8.7 file: dbec202568 check-in: [cd9d1f32be] user: jan.nijtmans branch: main, size: 24894
2022-04-01
07:50
More protections for invalid argc values file: 8c1ebd808e check-in: [643f9d1450] user: jan.nijtmans branch: tip-616, size: 24914
2022-03-21
14:19
Merge 9.0 file: b17636267e check-in: [d5e4d34abb] user: jan.nijtmans branch: tip-616, size: 24780
14:18
Fix compiler warnings, due to the use of macro's file: 464a12ca9f check-in: [67dcdf17e2] user: jan.nijtmans branch: main, size: 24777
2022-02-25
14:44
Merge 8.7 file: 2ce712cbf0 check-in: [19d6b0a063] user: jan.nijtmans branch: tip-615, size: 24726
09:58
Use size_t in Tcl_MainEx() file: eadd8514c1 check-in: [711d86e379] user: jan.nijtmans branch: tip-616, size: 24774
2022-02-10
14:18
Always use UTF-8 when reading from the console (See also TIP #587) file: 24388d7a3e check-in: [72b7861bb2] user: jan.nijtmans branch: console-utf8, size: 25040
2022-02-02
16:47
Merge 8.7 file: 5b92059655 check-in: [762680676d] user: jan.nijtmans branch: main, size: 24771
16:46
Merge 8.6 file: bdc8961b4f check-in: [132a24c42f] user: jan.nijtmans branch: core-8-branch, size: 24723
16:42
Change DEFAULT_PRIMARY_PROMPT from #define to static const string (saves a strlen() call) file: 6bcc59dd63 check-in: [b8af657c4a] user: jan.nijtmans branch: core-8-6-branch, size: 25155
2022-02-01
12:35
Merge 8.7 file: fa04eaa301 check-in: [a6e19bd3f0] user: jan.nijtmans branch: main, size: 24752
12:31
Merge 8.6 file: d5815549eb check-in: [2245871b04] user: jan.nijtmans branch: core-8-branch, size: 24704
12:03
Code cleanup in tclMain.c and tclAppInit.c: Make them Tcl-8.7-aware, usable as more generic examples for extensions. file: fd7a2dc1d0 check-in: [3625d63254] user: jan.nijtmans branch: core-8-6-branch, size: 25136
2022-01-29
00:13
take advantage of what we know re: argv guarantees [https://www.iso-9899.info/n1570.html#5.1.2.2.1|argv spec] (per @cousteau on #tcl) file: 44904ba97f check-in: [fa3ffd1781] user: bch branch: argx_rejig, size: 24745
2022-01-28
23:52
take advantage of what we know re: argv guarantees [https://www.iso-9899.info/n1570.html#5.1.2.2.1|argv spec] (per @cousteau on #tcl) file: d59196d90d check-in: [d69611bc9d] user: bch branch: core-8-branch, size: 24661
23:28
rejig argv/argc handling in response to investigation prompted by [https://arstechnica.com/information-technology/2022/01/a-bug-lurking-for- 12-years-gives-attackers-root-on-every-major-linux-distro/|this "polkit issue"] and some experimenting w/ execve() (ab)use. Essentially port of [0e1d2702ab] and its parent; discussed at length on IRC file: 1614a11b79 check-in: [d1f6c5ef6c] user: bch branch: core-8-branch, size: 24735
10:46
be more strict about using argv[0] file: 3cd5494b51 check-in: [0e1d2702ab] user: bch branch: argx_rejig, size: 24821
08:29
rejig argv/argc Tcl_MainEx() handling, prompted by outside discussion re: current [https://arstechnica.com/information-technology/2022/01/a-bug-lurking-for-12-years-gives-attackers-root-on-every-major-linux-distro/|polkit] issues, and comparisons of execve(2) abuse/mitigation (esp wrt OpenBSD); Probably most importantly, the access to argv has been limited to indexing, not swapping back/forth between indexing and advancing argv; pls review file: 490a001ae5 check-in: [4712f32196] user: bch branch: argx_rejig, size: 24768
2021-01-11
10:03
Merge 8.7, resolve conflicts file: 2f0673b732 check-in: [015ff38790] user: jan.nijtmans branch: main, size: 24528
2021-01-08
21:07
Merge 8.7 (resolve conflicts) file: e613993d8a check-in: [5295f674c1] user: dgp branch: main, size: 24524
2021-01-06
11:44
Attempt to fix problem in TIP #587 implementation: When reading commands from stdin, they are - like - 'sourced', so it should be in utf-8 as well. file: dc7e26b23c check-in: [ab172968cd] user: jan.nijtmans branch: tip-587-stdin, size: 25183
2020-12-17
15:44
Simplifications when assuming VS 2015 or later file: 04eee51fb3 check-in: [c9307db938] user: jan.nijtmans branch: tip-592, size: 24442
2020-12-08
15:42
Merge 8.7 file: fb0f6badb1 check-in: [71493b571b] user: jan.nijtmans branch: main, size: 24688
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: 145dded31c check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 24606
2020-10-13
14:59
More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in stead of Tcl_NewIntObj() file: ed88bd2baa check-in: [cfbd35f083] user: jan.nijtmans branch: core-8-6-branch, size: 25083
2020-10-09
13:21
Merge 8.7 file: 9075857a81 check-in: [b9ffb77c85] user: jan.nijtmans branch: trunk, size: 24691
12:53
Merge 8.6. Don't inline functions which are too big to be inlined (according to the -Winline compiler flag) file: 118faf1bdc check-in: [2a870b3897] user: jan.nijtmans branch: core-8-branch, size: 24609
2020-09-17
14:12
Merge 8.7 file: 97cff203bf check-in: [92d5c95fd8] user: jan.nijtmans branch: trunk, size: 24699
13:48
Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> TclNewIntObj or Tcl_NewWideIntObj) file: 87e163bf35 check-in: [ef22eb8ac3] user: jan.nijtmans branch: core-8-branch, size: 24617
2020-06-04
15:15
Merge 8.7. Use more TCL_INDEX_NONE in documentation/headers/code. file: 29ae800932 check-in: [baad702302] user: jan.nijtmans branch: trunk, size: 24687
2020-03-17
01:20
merge 8.7 file: af528296f3 check-in: [4d9717c8ef] user: dgp branch: trunk, size: 24689
01:01
TIP 569 - remove lint comments file: 588a4dce61 check-in: [658a498ae4] user: dgp branch: core-8-branch, size: 24605
2020-03-07
16:03
Merge 8.7 file: 2dd958d897 check-in: [0b1067b090] user: jan.nijtmans branch: trunk, size: 24708
2020-03-06
23:44
more file: c300f4cb6f check-in: [0c2f7a4275] user: dgp branch: core-8-branch, size: 24624
2020-02-28
14:07
Merge 8.7 file: 100d23e116 check-in: [0d3f9515c0] user: jan.nijtmans branch: trunk, size: 24726
12:46
Merge 8.7 file: 0d4263e2bb check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 24721
2020-02-26
10:58
Merge 8.7 file: 153500c3f2 check-in: [cfcbd55aba] user: jan.nijtmans branch: cplusplus, size: 24642
2020-02-21
08:55
Merge 8.7 file: 0e573db191 check-in: [a59efb5d99] user: jan.nijtmans branch: trunk, size: 24671
08:52
Merge 8.6 file: f9c36b1a6c check-in: [10d8a95829] user: jan.nijtmans branch: core-8-branch, size: 24592
08:46
Restore compatibility with older (mingw) Makefiles. Fix for [4b5deacc70]: undefined reference to `Tcl_SetStartupScript'. file: f9ffef98b9 check-in: [47319a4a05] user: jan.nijtmans branch: core-8-6-branch, size: 25079
2020-01-07
15:20
Merge 8.7 file: b55af4b4d3 check-in: [b219c8f278] user: jan.nijtmans branch: cplusplus, size: 24614
09:45
Merge 8.7 file: 590b9c9625 check-in: [e88414ccba] user: jan.nijtmans branch: trunk, size: 24643
09:24
Remove type-casts in many Tcl_LinkVar() calls, which is no longer necessary since 8.7. Small missing piece in Tcl_LinkArray() implementation, handling (unsigned) longs on 64-bit platforms. file: be8b31e491 check-in: [dbd488fb8c] user: jan.nijtmans branch: core-8-branch, size: 24564
2019-10-01
19:32
Merge 8.7 file: 42825f011b check-in: [87738da9b0] user: jan.nijtmans branch: cplusplus, size: 24623
2019-09-29
12:18
Merge 8.7 file: 674eaee768 check-in: [7c48637fa0] user: jan.nijtmans branch: trunk, size: 24652
12:16
Use Tcl_WCharToUtfDString in stead of (deprecated) Tcl_WinTCharToUtf file: 44aa66c70f check-in: [7e423e9904] user: jan.nijtmans branch: core-8-branch, size: 24573
12:08
Merge 8.6 file: 01eae6088b check-in: [fe78ab8c8d] user: jan.nijtmans branch: core-8-branch, size: 24543
2019-09-27
11:42
Merge 8.6 and fix Travis build on Windows file: 77731be904 check-in: [e021babf73] user: jan.nijtmans branch: implicit-unicode, size: 25051
2019-09-26
12:14
Merge 8.6 file: b10d03a268 check-in: [a76a83b81d] user: jan.nijtmans branch: implicit-unicode, size: 25239
2019-09-14
13:07
Merge 8.7 file: af0a8facce check-in: [9ea2eea22d] user: jan.nijtmans branch: trunk, size: 25160
2019-08-30
15:21
Let's try a real C++ build with Travis on Linux file: d28ce2214f check-in: [5732a73bf5] user: jan.nijtmans branch: cplusplus, size: 25157
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: eafed2287f check-in: [50d822dbab] user: jan.nijtmans branch: utf-max, size: 24731
2019-08-11
21:17
Fix handling of length (size_t)-1 in tclMain.c. This should fix handling of command-line arguments with TCL_UTF_MAX=6, necessary to make tclsh run at all ... file: afcdfd2624 check-in: [33b7c8c229] user: jan.nijtmans branch: trunk, size: 25199
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: bc8e223883 check-in: [3da6c33030] user: jan.nijtmans branch: cplusplus, size: 25141
2019-08-02
12:15
Merge 8.7. Continue implementation for win32 file: 10fa50d294 check-in: [ff6fa30271] user: jan.nijtmans branch: cplusplus, size: 25165
2019-08-01
21:47
wrong length in tclMain.c, and wrong #endif file: df8dfd02d6 check-in: [daac0c5e66] user: jan.nijtmans branch: utf-max, size: 25076
11:55
Merge tip-548 file: c3a38e7e9e check-in: [8819e7a6a3] user: jan.nijtmans branch: utf-max, size: 25130
2019-07-11
07:18
Rename UTF-related functions to "WChar" and "Char16" variants, more intuitive because they represent wchar_t and char16_t (since C++11) types in modern compilers. file: 2b88c960d2 check-in: [070bfd62cb] user: jan.nijtmans branch: tip-548, size: 25077
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: 31784df736 check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 25134
2019-07-05
09:03
Improvement: always export both 16-bit and 32-bit UTF function file: 7bf56f29c2 check-in: [27f2c4cf5e] user: jan.nijtmans branch: tip-548, size: 25076
2019-06-03
19:48
TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide more flexible replacement functions file: c3844b664e check-in: [49785ba3b0] user: jan.nijtmans branch: tip-548, size: 25076
2019-05-22
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: c6daff7a07 check-in: [a33e22b6ba] user: jan.nijtmans branch: utf-max, size: 25129
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: 724c8681ca check-in: [81502a66ed] user: jan.nijtmans branch: utf-max, size: 25100
2019-03-08
23:54
Merge trunk. Further WIP for TIP #497, far from finished .... file: 4f5cb8f2b2 check-in: [9fcbdde251] user: jan.nijtmans branch: tip-497, size: 25014
22:51
Merge 8.7 file: 9ed1d7dabf check-in: [fe02c8898e] user: jan.nijtmans branch: trunk, size: 25184
2019-03-07
22:02
Fixes for TCL_UTF_MAX=6, (gcc compiler warnings). Also make everything work on win32/win64. Patch adapted from Androwish (thanks, Werner!) file: 65f4b8b10b check-in: [650574e0fb] user: jan.nijtmans branch: utf-max-6, size: 25100
2019-02-01
20:36
Another (big) round of int -> size_t enhancements. So Tcl can handle string >2GiB in more places. file: a8af376dd3 check-in: [8534448b44] user: jan.nijtmans branch: trunk, size: 24978
2019-01-24
20:10
Another round of int -> size_t modifications, so strings > 2Gb are handled correctly on 64-bit platforms. file: b22ee9fbff check-in: [0c0ff65606] user: jan.nijtmans branch: trunk, size: 24970
2018-12-26
15:04
Many internal int -> size_t increases, so string lengths > 2Gb can be handled correctly in many more places. file: 6785fb3065 check-in: [2549977bc4] user: jan.nijtmans branch: trunk, size: 24936
2018-12-11
20:02
Merge 8.7 In test-cases, don't load Tcltest package if it isn't actually used. Another round of size_t related improvements. Nothing functional. Also improve some comments. file: 32468a932a check-in: [c92a5c4373] user: jan.nijtmans branch: trunk, size: 24933
2018-08-02
07:35
Merge trunk. Use TCL_8_COMPAT in stead of TCL_USE_INT_RETURN file: 01e652330d check-in: [a3d1120543] user: jan.nijtmans branch: memory-API, size: 24931
2018-07-31
20:36
merge 8.7 file: 7440af7bcc check-in: [bd1ba8d1b5] user: jan.nijtmans branch: trunk, size: 24907
2018-07-26
10:47
enhanced tclsh syntax (rich command line for applications using Tcl_Main without startup-script): try `tclsh -h` for usage; supported -c (command), -i (interactive mode), etc; cherry picked from sebres tclSE; also note https://wiki.tcl.tk/55434 for pure tcl-solution (as init.tcl inject). file: fa2aa72e27 check-in: [e61a1add32] user: sebres branch: sebres-rich-cmd-line, size: 27331
2018-07-01
06:21
Starting to update all callers of TclGetStringFromObj() to use size_t variables file: 1708fb2b6f check-in: [97c2217f81] user: jan.nijtmans branch: memory-API, size: 24918
2018-01-07
18:05
Merge changes form 8.6 branch except retain legacy MSVC build system. Also, fix build break seen when static linking against the CRT. file: 1c4cf9fcb2 check-in: [0551245a6e] user: mistachkin branch: irontcl, size: 25407
2017-11-13
11:25
merge trunk file: 8e08d85eb2 check-in: [78e2f12841] user: jan.nijtmans branch: novem, size: 24896
11:15
Merge core-8-6-branch file: 4a31c58879 check-in: [beb52eff8e] user: jan.nijtmans branch: core-8-branch, size: 24894
2016-08-19
12:45
merge zipfs file: 210b2cc2a6 check-in: [63eab9444d] user: jan.nijtmans branch: androwish, size: 31367
2016-07-08
10:34
merge trunk file: 28ae4735c3 check-in: [706fbc1eb0] user: jan.nijtmans branch: novem, size: 25033
10:28
Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj in many places where possible. file: ae831ce6ae check-in: [48cb8436f1] user: jan.nijtmans branch: trunk, size: 25031
2016-06-29
15:45
Remove Tcl_Main() function, since it's no longer being used: It has been a macro already for ages. file: 1afc2699d2 check-in: [9fa2fe5c59] user: jan.nijtmans branch: trunk, size: 25035
11:39
Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions which are deprecated. file: 1fbe8fd900 check-in: [3108faf68a] user: jan.nijtmans branch: trunk, size: 25504
2016-04-19
20:35
Fork of Tcl used in the "Little" project. http://www.mcvoy.com/lm/little/index.html file: 36929412cc check-in: [69b737f5a1] user: dgp branch: little, size: 27681
2016-03-23
15:18
merge zipfs file: 4b664d9338 check-in: [16d8e516af] user: jan.nijtmans branch: androwish, size: 30753
2016-03-02
15:44
Some more minor androwish upstream changes file: a42c68bf26 check-in: [76a713ab17] user: jan.nijtmans branch: androwish, size: 30726
2015-12-21
15:31
Start with a few simple basic test-cases file: 59db3917f6 check-in: [9eb6257fb7] user: jan.nijtmans branch: androwish, size: 30904
2015-12-17
15:23
Minor tweaks on ZIPFS_IN_TCL file: 05719123ab check-in: [f4690c201b] user: jan.nijtmans branch: androwish, size: 30913
2015-12-11
22:56
Merge trunk. Upstream androwish changes file: d651f3e22f check-in: [62263368e1] user: jan.nijtmans branch: androwish, size: 30859
2015-11-11
16:09
Patches by Christian Werner, supporting TCL_UTF_MAX=6 on Windows. Doesn't work yet, but it's a start. file: f0cd19dc59 check-in: [6306082702] user: jan.nijtmans branch: werner-utf_max=6, size: 25608
2015-09-29
21:20
merge trunk file: beb5d637b7 check-in: [2aa90f5782] user: jan.nijtmans branch: androwish, size: 29655
07:56
merge trunk file: dfbc5bb3aa check-in: [771aa36a1e] user: jan.nijtmans branch: novem, size: 25037
2015-09-28
11:13
Align comment. Remove some end-of-line spacing. No functional changes. file: 6a48060175 check-in: [fad573cac2] user: jan.nijtmans branch: trunk, size: 25402
2015-09-22
08:20
merge trunk file: 36c0f4c626 check-in: [eb6c2fe41b] user: jan.nijtmans branch: novem, size: 25046
2015-08-21
13:29
Merge trunk. Throw away TclpGetDate, TclpLocaltime and TclpGmtime and all related dead code. It makes the androwish binary (somewhat) smaller. file: 1667e50a6f check-in: [fb4b33254f] user: jan.nijtmans branch: androwish, size: 29664
2015-08-19
15:25
Fix [00189c4afcb9e2586301d711f71383e48817a72d|00189c4afc]: Allow semi-static UCRT build on Windows with VC 14.0 file: aac48a5050 check-in: [282c683bb9] user: jan.nijtmans branch: trunk, size: 25411
15:23
Fix [00189c4afcb9e2586301d711f71383e48817a72d|00189c4afc]: Allow semi-static UCRT build on Windows with VC 14.0 file: 21c637328e check-in: [e8ee0c13b9] user: jan.nijtmans branch: core-8-5-branch, size: 24349
2015-06-21
22:29
Branch for androwish, as help to keep track on which android-specific changes could be included into the core without harm. file: bd5524bd37 check-in: [fe175c2a4e] user: jan.nijtmans branch: androwish, size: 29538
2014-09-01
07:15
Adding the ability for the Tcl core to build self-contained Zip-based executables * Integrated a pure-C implementation of ZipVfs * Modified Tcl_AppInit() to look for a zipvfs mounted on the executable file: b6aaf4d6d9 check-in: [c1d9b13f8c] user: hypnotoad branch: core_zip_vfs, size: 25403
2014-02-11
11:13
Merge trunk file: fd53604ce8 check-in: [73afad5c30] user: jan.nijtmans branch: novem, size: 24920
2014-02-10
11:59
Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW] file: 411c57fce1 check-in: [80cf092cc7] user: jan.nijtmans branch: trunk, size: 25285
2013-09-26
13:13
merge novem WARNING: No checks of build-ability done yet. file: b52f570a76 check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 25105
2013-06-27
09:53
merge trunk. Remove Tcl_SetPanicProc from stub table; it is meant to be called by embedders, before the stub table is even initialized. file: a8b6cc055e check-in: [e100908f94] user: jan.nijtmans branch: novem, size: 24923
08:51
Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings. file: eb2619ce40 check-in: [6189063c4d] user: jan.nijtmans branch: trunk, size: 25288
2013-06-26
07:42
Proposed solution for [9b2e636361] file: 8063a89f83 check-in: [06020a12ac] user: jan.nijtmans branch: ticket-9b2e636361, size: 24223
2013-06-25
10:56
rebase file: 1ce425c634 check-in: [e1791704a3] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 24916
2013-06-14
11:21
rebase file: d56415341c check-in: [980cdb2a78] user: jan.nijtmans branch: win-console-panic, size: 25281
2013-04-11
15:10
rebase file: 2f37c26a32 check-in: [f3309c1997] user: jan.nijtmans branch: initsubsystems, size: 25311
2013-03-31
20:17
Going forward trying to define a better Tcl_InitStubsystems() file: 39a7843a1f check-in: [f1f393d1f0] user: jan.nijtmans branch: initsubsystems, size: 25306
2013-02-11
10:25
more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversions file: 6163251110 check-in: [a80fb8c697] user: jan.nijtmans branch: novem, size: 24844
2012-12-21
10:13
remove unnecessary struct names, which only pollute the "struct" namespace for the compiler. file: e5eec10a34 check-in: [7752ee08e3] user: jan.nijtmans branch: novem, size: 24842
2012-12-12
10:21
allow novem to use installed Tcl8 .tm packages, such as tcltest and msgcat remove some dead code (already planned to be removed in Tcl9) file: 3fc236bbbc check-in: [387d3899e0] user: jan.nijtmans branch: novem, size: 24859
2012-12-06
15:43
Use Tcl_EvalEx in pkgb.dll. Same functionality. More deprecated function replacements file: 286cda01ff check-in: [6f8010216f] user: jan.nijtmans branch: better-deprecation-85, size: 24307
2012-12-04
15:12
more eliminations of 'deprecated' calls file: 26a298a83d check-in: [c3a8114dc1] user: jan.nijtmans branch: better-deprecation-85, size: 24369
2012-12-03
08:11
merge core-8-5-branch eliminate more usage of to-be-deprecated functions file: c26c44ceb6 check-in: [976aeca8c6] user: jan.nijtmans branch: better-deprecation-85, size: 24314
2012-11-26
18:08
Submitted patch on interactive use of the rc file. Needs resolution of the failing tests in the test suite to be considered for merge. file: f83a67b24d check-in: [ec3bfb08c2] user: dgp branch: rfe-3432962, size: 24268
15:46
merge novem file: 03bbd11fb5 check-in: [ab9713b5f1] user: dkf branch: novem-64bit-sizes, size: 25568
14:29
Removed functions marked deprecated or obsolete for a long time: Tcl_Backslash, Tcl_EvalFile, Tcl_GlobalEvalObj, Tcl_GlobalEval, Tcl_EvalTokens. Remove Tcl_FindExecutable from stub table: It is needed by embedders, not extenders. Remove TclpGetDate, TclpGmtime, TclpLocaltime: it isn't use anywhere since the new clock implementation. Remove TclWinConvertWSAError, it's the same as TclWinConvertError. file: 334c5ce197 check-in: [6b2cf92413] user: jan.nijtmans branch: novem, size: 25386
2012-11-20
21:37
Basic changes to make it possible to get to a command prompt without warnings. file: de9f373c19 check-in: [449c3702a3] user: dkf branch: novem-64bit-sizes, size: 25424
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: 4d9126369b check-in: [11a1d1e174] user: jan.nijtmans branch: tcl_nosize, size: 25298
00:38
...and a few more file: 772c14ab8d check-in: [152944662f] user: dkf branch: novem-64bit-sizes, size: 25357
2012-11-15
17:55
More complete purge of things only present for supporting long-dead Mac 9 systems. file: d12713cc69 check-in: [7506775d52] user: dgp branch: core-8-4-branch, size: 19604
2012-09-23
20:29
eliminate unnecessary TEXT() macros file: 78a1905e0e check-in: [c155794425] user: jan.nijtmans branch: trunk, size: 25242
2012-08-20
06:49
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler. file: e8d3a3953b check-in: [db442914c7] user: jan.nijtmans branch: jn-no-struct-names, size: 25237
2012-08-07
20:57
Minor changes to improve style (C89 declarations, consistent indentation, clarification of #endifs, reduction of unnecessary casts, use of array syntax for reading array elements, etc.) file: c3d42963cd check-in: [3995dbcf90] user: dkf branch: trunk, size: 25254
2012-04-25
12:07
* generic/tclUtil.c (TclDStringToObj): Added internal function to make the fairly-common operation of converting a DString into an Obj a more efficient one. file: e0952cf81d check-in: [2e12143e39] user: dkf branch: trunk, size: 25213
2011-09-06
10:15
[RFE 1711975]: Tcl_MainEx() (like Tk_MainEx()) file: a5ea029583 check-in: [e6695ae7dc] user: jan.nijtmans branch: trunk, size: 25292
2011-08-30
06:33
Tcl_MainEx() (like Tk_MainEx()) file: 70cae1d4f0 check-in: [2f0a062d8f] user: jan.nijtmans branch: rfe-1711975, size: 25256
2011-08-16
16:04
Fixed the C99/C++ comments introduced by [8d3f0fb215] which break strict C89 compilers (AIX, cough, cough) file: dba059fb4f check-in: [ca3ccdf1df] user: andreask branch: trunk, size: 25223
2011-08-10
13:44
compiler error on Windows: there should be only one TclFullFinalizationRequested function file: c473543460 check-in: [5bcd13c4ac] user: jan.nijtmans branch: trunk, size: 25218
2011-08-09
17:19
[Bug 2919042] Restore "valgrindability" of Tcl that was lost by the streamlining of [exit], by conditionally forcing a full Finalize: use -DPURIFY or ::env(TCL_FINALIZE_ON_EXIT) file: 1590ca7fc9 check-in: [8d3f0fb215] user: ferrieux branch: trunk, size: 25218
2011-03-17
16:12
[Patch #3124683]: platform specific stuff in (tcl|tk)Main.c file: 1470cd8f2c check-in: [9edcb7e14b] user: jan.nijtmans branch: trunk, size: 23734
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: e375207f00 check-in: [5574bdd262] user: dkf branch: trunk, size: 24834
2011-03-05
16:31
merge trunk file: 0be42471d6 check-in: [08b261adfb] user: kennykb branch: dogeen-assembler-branch, size: 24868
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: 97b113955e check-in: [c64f310d38] user: dgp branch: trunk, size: 24867
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: 77d5744f43 check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 24192
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: d3f3ca3c9e check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 19659
04:16
merge trunk file: cf505dcf82 check-in: [1357375583] user: kennykb branch: dogeen-assembler-branch, size: 24941
2010-12-01
16:42
merge file: ce9b8de314 check-in: [0af397c644] user: kennykb branch: dogeen-assembler-branch, size: 24943
2010-11-23
13:11
Jump. file: 4006221b93 check-in: [f8ff91db3f] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 24935
11:38
Next @500. file: ca2201863e check-in: [5365d7ae02] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 22225
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: ecd75d24d0 check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 23941
2010-11-15
10:12
reverted previous commit: it has effect on the Windows console file: 2d9a013d2f check-in: [6c8f8523b9] user: nijtmans branch: trunk, size: 24940
09:21
Eliminate use of the function Tcl_WinTCharToUtf in generic code file: 675b48bc08 check-in: [047cb5bdcf] user: nijtmans branch: trunk, size: 24467
2010-11-05
16:40
merge file: 929c3708d3 check-in: [b68283928e] user: dgp branch: dgp-refactor, size: 24940
08:16
fix TCL_ASCII_MAIN usage, as the name suggests file: 24e9ce7120 check-in: [ddecce42f0] user: nijtmans branch: trunk, size: 24940
2010-11-04
23:56
* generic/tclMain.c: Added missing conditional on _WIN32 around code that messes around with the definition of _UNICODE, to correct a badly broken Unix build from Jan's last commit. file: 0d0f955d17 check-in: [4bff967054] user: kennykb branch: trunk, size: 24951
21:48
[FRQ 491789]: "setargv() doesn't support a unicode cmdline" implemented for Tcl on MSVC++ file: d116a07d50 check-in: [6bbdcbed5f] user: nijtmans branch: trunk, size: 24927
2010-09-30
11:38
merge file: 27baf2e142 check-in: [679a8e6fc7] user: dgp branch: dgp-refactor, size: 24512
02:48
Merge file: 77c43c0ab3 check-in: [95b8d68eb4] user: kennykb branch: dogeen-assembler-branch, size: 24515
2010-09-29
20:04
tclMain.c: make compilable with -DUNICODE as well file: bf4b3b3e44 check-in: [d67024d00d] user: nijtmans branch: trunk, size: 24512
2010-09-27
11:00
Merge from HEAD file: 83fc4770ed check-in: [d1f5c51f30] user: rmax branch: rmax-ipv6-branch, size: 23062
2010-09-25
14:51
* tclAssembly.c: Massive refactoring of the assembler * tclAssembly.h: to use a Tcl-like syntax (and use * tests/assemble.test: Tcl_ParseCommand to parse it). The * tests/assemble1.bench: refactoring also ensures that Tcl_Tokens in the assembler have string ranges inside the source code, which allows for [eval] and [expr] assembler directives that simply call TclCompileScript and TclCompileExpr recursively. file: 5bab005b1e check-in: [8fa55c35f1] user: kennykb branch: dogeen-assembler-branch, size: 23065
2010-09-23
18:33
merge file: 28d8563923 check-in: [db0ce479fc] user: dgp branch: dgp-refactor, size: 23062
18:08
* generic/tclCmdAH.c: Fix cases where value returned by * generic/tclEvent.c: Tcl_GetReturnOptions() was leaked. * generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the anti-pattern to seek and destroy. file: 1779b1dbc8 check-in: [b83a3519f5] user: dgp branch: trunk, size: 23057
17:59
* generic/tclCmdAH.c: Fix cases where value returned by * generic/tclEvent.c: Tcl_GetReturnOptions() was leaked. * generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the anti-pattern to seek and destroy. file: 45bc48d764 check-in: [5139ef090c] user: dgp branch: core-8-5-branch, size: 24264
2010-06-07
17:36
rebranch from HEAD file: 00b13a05e1 check-in: [f3af08f468] user: rmax branch: rmax-ipv6-branch, size: 23033
2010-04-30
14:16
merge file: a2244cbe4b check-in: [88335abf0e] user: dgp branch: dgp-refactor, size: 23033
07:07
Unnecessary TCL_STORAGE_CLASS re-definition. It was used for an ancient dummy reference to Tcl_LinkVar(), but that's already gone since 2002-05-29. file: b038536817 check-in: [79f098fef8] user: nijtmans branch: trunk, size: 23033
2010-02-27
15:02
merge updates from HEAD file: 2ee7413b13 check-in: [4ecf6f678a] user: dgp branch: dgp-refactor, size: 23095
12:07
* generic/tclMain.c (Tcl_Main): [Bug 801429]: Factor out the holding of the client-installed main loop function into thread-specific data. ***POTENTIAL INCOMPATIBILITY*** Code that previously tried to set the main loop from another thread will now fail. On the other hand, there is a fairly high probability that such programs would have been failing before due to the lack of any kind of inter-thread memory barriers guarding accesses to this part of Tcl's state. file: d75c725a4f check-in: [9dc4acda9c] user: dkf branch: trunk, size: 23090
2010-02-25
21:53
merge updates from HEAD file: b1891fee26 check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 22220
2010-02-24
10:32
Pure whitespace changes, changing to follow Engineering Manual style. file: eed63cc1de check-in: [c81eddebbb] user: dkf branch: trunk, size: 22215
2008-12-15
18:43
merge updates from HEAD file: 7d7cc48915 check-in: [cdfa98b2b4] user: dgp branch: dgp-refactor, size: 22230
15:48
TIP #338 IMPLEMENTATION * doc/AppInit.c: Made routines Tcl_SetStartupScript and * doc/Tcl_Main.3: Tcl_GetStartupScript public. Removed all * generic/tcl.h: internal stub access to Tcl*Startup* routines, * generic/tclInt.decls: and removed their implementations. Their * generic/tclMain.c: function can now be completely performed with the new public interface. *** POTENTIAL INCOMPATIBILITY for callers of the internal Tcl*Startup* routines. *** * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: file: 3d57cf0904 check-in: [e52c9bd3ce] user: dgp branch: trunk, size: 22225
2008-10-03
15:48
merge updates from HEAD file: be564b4c3e check-in: [ea28e7a56d] user: dgp branch: dgp-refactor, size: 23946
2008-10-02
23:36
Reduce the number of (pointless) type-casts. file: e7d7170e90 check-in: [1412dede80] user: dkf branch: trunk, size: 23941
2008-05-11
04:22
merge updates from HEAD file: 3224879bcc check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 24238
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: 0c3dd5938d check-in: [2d205c22fb] user: dkf branch: trunk, size: 24233
2007-12-13
15:22
merge stable branch onto HEAD file: d7d7d3e700 check-in: [d1f7550cd9] user: dgp branch: trunk, size: 24231
2007-09-07
03:15
merge updates from HEAD file: fc24f4dd8b check-in: [2c46d786c6] user: dgp branch: dgp-refactor, size: 24236
2007-09-04
17:43
merge updates from HEAD file: e35281c628 check-in: [93ee5fafc4] user: dgp branch: core-stabilizer-branch, size: 24235
2007-08-21
20:41
* generic/tclMain.c: Corrected the logic of dropping the last * tests/main.test: newline from an interactively typed command. [Bug 1775878]. file: 9763b9e5d9 check-in: [8b6639f41a] user: dgp branch: trunk, size: 24231
2007-04-24
18:12
merge updates from HEAD file: 0b22b428f0 check-in: [22f4f609fd] user: dgp branch: dgp-refactor, size: 23784
16:03
corrected botched indents file: 4e0d464c05 check-in: [665f40f1f9] user: dgp branch: trunk, size: 23779
2007-04-10
16:27
merge updates from HEAD file: c52bb86fd3 check-in: [c49d7b4587] user: dgp branch: dgp-refactor, size: 23821
14:47
Handle creation of Tcl_Objs from constant strings better (easier to use, more efficient). After [Patch 1529526] (afredd) file: a0875c9d2a check-in: [4d69119aad] user: dkf branch: trunk, size: 23816
2007-04-08
14:58
Merge updates from HEAD; may not build file: a03c11ca18 check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 23820
2006-11-23
03:18
whitespace file: e83016968b check-in: [c0069a5547] user: das branch: trunk, size: 23815
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: 86f8c818e2 check-in: [c06db721dd] user: dgp branch: trunk, size: 23819
2006-11-02
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: 05c7864f90 check-in: [6ed730551a] user: dgp branch: trunk, size: 23818
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: 081410bc6e check-in: [65113c21ec] user: dgp branch: trunk, size: 23824
2006-06-06
17:10
merge updates from HEAD file: 1acfa1d636 check-in: [6d4ff70d4d] user: dgp branch: dgp-refactor, size: 23854
2006-05-05
18:09
* generic/tclMain.c (Tcl_Main): Corrected flaw that required * tests/main.test: (Tcl_Main-4.5): processing of one interactive command before passing control to the loop routine registered with Tcl_SetMainLoop() [Bug 1481986]. file: 0de2661150 check-in: [aedf5e48e9] user: dgp branch: trunk, size: 23849
18:08
* generic/tclMain.c (Tcl_Main): Corrected flaw that required * tests/main.test: (Tcl_Main-4.5): processing of one interactive command before passing control to the loop routine registered with Tcl_SetMainLoop() [Bug 1481986]. file: cf500b9282 check-in: [f4e4abd17f] user: dgp branch: core-8-4-branch, size: 19731
2005-11-03
17:52
merge updates from HEAD file: 1666fa0d5c check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 23719
2005-11-01
15:30
ANSIfy. Also converted some deeply nested code to a less nested form for easier reading. file: 5c7d79e00a check-in: [a3b0b6f1d9] user: dkf branch: trunk, size: 23714
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: 84e130252a check-in: [8761ab798f] user: msofer branch: core-8-4-branch, size: 19616
2005-10-18
20:46
merge updates from HEAD file: e86fae4288 check-in: [2e8613842e] user: dgp branch: dgp-refactor, size: 23894
2005-10-14
11:14
* generic/tcl.h: Fix for bug #1256937 - correctly decorate * generic/tclMain.c: imported functions from msvcrt in static builds. file: 9d50f23d84 check-in: [ca7ab95d17] user: patthoyts branch: trunk, size: 23895
2005-10-08
13:44
merge updates from HEAD file: edd92e3e6d check-in: [1b902ae45a] user: dgp branch: kennykb-numerics-branch, size: 23893
2005-09-30
19:31
* generic/tclMain.c: Separate encoding conversion of command line arguments from list formatting. [Bug 1306162]. file: 11b714e1c7 check-in: [3a8318341a] user: dgp branch: trunk, size: 23889
19:28
* generic/tclMain.c: Separate encoding conversion of command line arguments from list formatting. [Bug 1306162]. file: 5a7526c107 check-in: [365b1366e3] user: dgp branch: core-8-4-branch, size: 19445
2005-09-15
20:58
merge updates from HEAD file: 450bb19133 check-in: [29cc0feeb2] user: dgp branch: kennykb-numerics-branch, size: 24046
20:29
merge updates from HEAD file: e3bdd96fdf check-in: [f3caf581fe] user: dgp branch: dgp-refactor, size: 24047
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: b2d87cedbb check-in: [cf51f10457] user: dgp branch: trunk, size: 24042
2005-08-02
18:14
merge updates from HEAD file: f5ed718793 check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 23961
2005-07-26
04:11
Merge updates from HEAD file: fb83053181 check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 23961
2005-07-21
14:38
Systematizing the formatting file: 6f7a3a6937 check-in: [ac613e6b94] user: dkf branch: trunk, size: 23957
2004-12-09
23:00
Merge updates from HEAD file: 902dc6f6c1 check-in: [24873008cc] user: dgp branch: dgp-refactor, size: 24252
2004-11-13
00:19
TIP #221 IMPLEMENTATION * generic/tclBasic.c: Define [::tcl::Bgerror] in new interps. * generic/tclEvent.c: Update Tcl_BackgroundError to make use of the registered [interp bgerror] command. * generic/tclInterp.c: New [interp bgerror] subcommand. * tests/interp.test: syntax tests updated. TIP #226 IMPLEMENTATION * generic/tcl.decls: Stubs for Tcl_(Save|Restore|Discard)InterpState * generic/tcl.h: New public opaque type, Tcl_InterpState. * generic/tclInt.h: Drop old private declarations. Add Tcl(Get|Set)BgErrorHandler * generic/tclResult.c: Tcl_*InterpState implementations. * generic/tclDictObj.c: Update callers. * generic/tclIOGT.c: * generic/tclTrace.c: TIP #227 IMPLEMENTATION * generic/tcl.decls: Stubs for Tcl_(Get|Set)ReturnOptions. * generic/tclInt.h: Drop old private declarations. * generic/tclResult.c: Tcl_*ReturnOptions implementations. * generic/tclCmdAH.c: Update callers. * generic/tclMain.c: file: 059d6dc83f check-in: [2475a460cd] user: dgp branch: trunk, size: 24248
2004-10-28
18:45
merge updates from HEAD file: 7a2a0fa111 check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 24280
2004-10-25
17:24
* library/auto.tcl Purged Tcl's script library of all * library/clock.tcl remaining references to global vars * library/init.tcl ::errorInfo and ::errorCode. * generic/tclMain.c (Tcl_Main): Updated to make use of TclGetReturnOptions instead of ::errorInfo variable. * generic/tclInterp.c (tclInit): Bug fix. Access dict variables with [dict get], not array syntax. file: 7e39fdb901 check-in: [2869274367] user: dgp branch: trunk, size: 24276
2004-10-15
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: 5dacd302bd check-in: [264b4df978] user: dgp branch: trunk, size: 24235
2004-09-08
23:02
Merge updates from HEAD file: a0061692e0 check-in: [dff8728918] user: dgp branch: dgp-refactor, size: 24169
2004-06-11
21:30
* unix/tclUnixInit.c: The routines Tcl_Init() and TclSourceRCFile() * win/tclWinInit.c: had identical implementations for both win and * generic/tclInterp.c: unix. Moved to a single generic implementation. * generic/tclMain.c: * library/init.tcl: * generic/tclInitScript.h (removed): * unix/Makefile.in: * win/tcl.dsp: file: 9273173ece check-in: [406f195e75] user: dgp branch: trunk, size: 24165
2004-05-17
18:42
merge updates from HEAD file: 2b0c6c6f2f check-in: [5741c7bde9] user: dgp branch: dgp-refactor, size: 22381
2004-05-13
12:59
TIP#143 implementation; still needs docs and more tests... file: 4b4bab957b check-in: [9736fa23ed] user: dkf branch: trunk, size: 22377
2004-04-09
20:57
Merge updates from HEAD file: bd4108d584 check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 22100
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: d189bdf4dc check-in: [2e5b18c85c] user: dgp branch: trunk, size: 22096
2004-03-29
21:43
merge updates from HEAD file: c010f59e58 check-in: [f32e7d9305] user: dgp branch: dgp-refactor, size: 22117
15:47
* generic/tclMain.c (Tcl_Main, StdinProc): Append newline only to incomplete scripts as part of multi-line script construction. Do not add an extra trailing newline to the complete script. [Bug 833150] file: fd050598ff check-in: [98d02c1264] user: dgp branch: trunk, size: 22113
2004-03-26
22:28
Merge updates from HEAD. file: a39528f4a3 check-in: [6e8d2d7ba1] user: dgp branch: dgp-refactor, size: 22120
2004-03-19
18:33
Made HEAD build on Windows VC++ again. file: e469b7c2b5 check-in: [6610e1aa01] user: kennykb branch: trunk, size: 22120
2004-03-17
18:14
Removed support for Mac OS Classic platform [Patch 918142] file: 6785ef62c7 check-in: [b6330dbac7] user: das branch: trunk, size: 22106
2003-09-05
23:08
Merge updates from HEAD. file: 9dedb9a2d6 check-in: [3f920087eb] user: dgp branch: dgp-refactor, size: 22165
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: 420a02e677 check-in: [8f0e879bbd] user: dgp branch: trunk, size: 22161
2002-11-26
20:05
* generic/tclMain.c (Tcl_Main): added Tcl_DeleteInterp and * unix/tclAppInit.c (main): Tcl_Finalize in -DPURIFY case to help indentify memory leaks. file: ff17e935af check-in: [ca5713da63] user: hobbs branch: mod-8-3-4-branch, size: 16109
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: de39dff647 check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 19600
2002-05-29
22:59
* Removed "dummy" reference to Tcl_LinkVar. It is no longer needed since Tcl_Main() now actually calls Tcl_LinkVar(). Thanks to Joe English for pointing that out. file: 5a2bdc5716 check-in: [416a5e19a7] user: dgp branch: trunk, size: 19591
2002-04-20
01:29
* Free the memory allocated for the startup script path. [Bug 543549] file: 21712a9777 check-in: [3ee94f8ca3] user: dgp branch: trunk, size: 19890
2002-03-26
02:26
generic/tclMain.c: reduced oversized static buffer allocation file: 0997d6e675 check-in: [24624019e1] user: hobbs branch: core-8-3-1-branch, size: 15807
2002-02-28
00:53
* generic/tclMain.c (Tcl_Main,StdinProc): Corrected some reference count management errors on the interactive commandPtr Tcl_Obj found by Purify. Thanks to Jeff Hobbs for the report and assistance. file: d6b7878fe7 check-in: [a3947b277a] user: dgp branch: trunk, size: 19855
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: c20015f3af check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 19098
2002-01-25
20:40
* Updated interfaces of generic/tclEncoding, generic/tclFilename.c, generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath. file: 46aedcddb2 check-in: [fceed15544] user: dgp branch: trunk, size: 19089
2002-01-07
17:54
* generic/tclMain.c: Bug fix: neglected the NULL case in TclGetStartupScriptFileName(). Broke Tk/wish. file: c8a5a334f8 check-in: [913cc898b6] user: dgp branch: trunk, size: 18855
2002-01-05
22:55
* doc/Tcl_Main.3: * generic/tclMain.c: Substantial rewrite and expanded documentation of Tcl_Main to correct a number of bugs and flaws: * Interactive Tcl_Main can now enter a main loop, exit that loop and continue interactive operations. The loop may even exit in the midst of interactive command typing without loss of the partial command. [Bugs 486453, 474131] * Tcl_Main now gracefully handles deletion of its master interpreter. * Interactive Tcl_Main can now operate with non-blocking stdin * Interactive Tcl_Main can now detect EOF on stdin even in mid-command. [Bug 491341] * Added VFS-aware internal routines for managing the startup script selection. * Tcl variable 'tcl_interactive' is now linked to C variable 'tty' so that one can disable/enable interactive prompts at the script level when there is no startup script. This is meant for use by the test suite. * Consistent use of the Tcl libraries standard channels as returned by Tcl_GetStdChannel(); as opposed to the channels named 'stdin', 'stdout', and 'stderr' in the master interp, which can be different or unavailable. * Tcl_Main now calls Tcl_Exit() if evaluation of [exit] in the master interpreter returns, assuring Tcl_Main does not return. * Documented Tcl_Main's absence from public stub table * Documented that Tcl_Main does not return. * Documented Tcl variables set by Tcl_Main. * All prompts are done from a single procedure, Prompt. * Use of Tcl_Obj-enabled interfaces everywhere. * generic/tclInt.decls (TclGetStartupScriptPath, TclSetStartupScriptPath): New internal VFS-aware routines for managing the startup script of Tcl_Main. * generic/tclIntDecls.h: * generic/tclStubInit.c: make genstubs * generic/tclTest.c (TestsetmainloopCmd,TestexitmainloopCmd, Tcltest_Init,TestinterpdeleteCmd): * tests/main.test (new): Added new file to test suite that thoroughly tests generic/tclMain.c; added some new test commands for testing Tcl_SetMainLoop(). file: 33322a424f check-in: [f24c18a585] user: dgp branch: trunk, size: 18775
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: f1a1f7b886 check-in: [052bbd8095] user: andreas_kupries branch: mod-8-3-4-branch, size: 16008
2001-11-23
01:26
** upport to 8.4 of mac code changes for 8.3.3 & various new ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details file: 7fe8d0c131 check-in: [2211e7f47d] user: das branch: trunk, size: 15825
2001-10-15
09:13
First Checkin of Mac OS X support for Tcl. file: a03c5539d1 check-in: [eba6ee55b4] user: wolfsuit branch: macosx-8-4-branch, size: 15786
2001-09-27
13:49
Backing out unwise changes file: ef144f7f06 check-in: [4c0c25f627] user: dkf branch: dkf-64bit-support-branch, size: 15735
2001-09-25
16:49
Woo hoo! Builds on one platform (Solaris8/SPARC with SunPro CC) file: fc7d190a1e check-in: [dd2d80954c] user: dkf branch: dkf-64bit-support-branch, size: 15742
2001-09-24
21:10
* Updated APIs in generic/tclUtil.c according to the guidelines of TIP 27. [Patch 464553] file: da7147e83d check-in: [e70344d226] user: dgp branch: trunk, size: 15770
2001-08-28
00:12
* doc/Tcl_Main.3: added docs for Tcl_SetMainLoop * generic/tclStubInit.c: * generic/tclDecls.h: * generic/tcl.decls: added Tcl_SetMainLoop proc that allows people to set a main loop that will run for tclsh. * generic/tcl.h: added Tcl_MainLoopProc typedef * generic/tclMain.c (Tcl_SetMainLoop, StdinProc, Prompt): new StdinProc and Prompt static procs and Tcl_SetMainLoop stubs proc. The first two handle a fileevent based prompt (taken from tkMain.c). Tcl_SetMainLoop enables the interactive setting of a main loop procedure. This enables Tk to be a loadable package. file: e29c53f0c9 check-in: [936287d100] user: hobbs branch: core-8-3-1-branch, size: 15790
2001-04-04
23:26
Restore support for pre-ANSI compilers. file: 5ea1427bfd check-in: [a4457e9e33] user: dgp branch: trunk, size: 15730
21:22
* generic/tcl.h: addition of ConditionalMacros.h and use of DLLIMPORT and DLLEXPORT. * generic/tclIntPlatDecls.h: * generic/tclInt.decls: * generic/tclMain.c: * generic/tclStubInit.c: * generic/tclThreadTest.c: NewThread -> NewTestThread * mac/MW_TclAppleScriptHeader.pch: * mac/MW_TclHeader.pch: * mac/MW_TclTestHeader.pch: * mac/tclMac.h: * mac/tclMacAppInit.c: * mac/tclMacApplication.r: * mac/tclMacChan.c: cast for *BlockMode * mac/tclMacCommonPch.h: * mac/tclMacFCmd.c: * mac/tclMacInt.h: * mac/tclMacLibrary.c: * mac/tclMacLibrary.r: * mac/tclMacMath.h: * mac/tclMacNotify.c: * mac/tclMacOSA.c: * mac/tclMacOSA.r: * mac/tclMacPanic.c: * mac/tclMacPort.h: * mac/tclMacResource.r: * mac/tclMacSock.c: cast for *BlockMode * mac/tclMacThrd.c: * mac/tclMacUnix.c: * mac/tclMacUtil.c: changed mac declarations to use Tcl ending, fixed copyrights, updated headers, fixed comments, updated resource files. Mac builds are now meant to be build with MetroWerks CW 6. file: c9479b498f check-in: [7003b57eca] user: hobbs branch: core-8-3-1-branch, size: 8975
2000-11-03
20:30
safety check on setting mainLoopProc to NULL file: 9265f54dc0 check-in: [0a100cb9d7] user: hobbs branch: trunk, size: 15722
20:07
corrected pointer reference to mainLoopProc execution file: 4523ca74b0 check-in: [ef737d4323] user: hobbs branch: trunk, size: 15700
20:01
moved Tcl_GetThreadData call after Tcl_FindExecutable file: cade91670a check-in: [ec3dcb8271] user: hobbs branch: trunk, size: 15693
18:46
* generic/tclStubInit.c: * generic/tclDecls.h: * generic/tcl.decls: added Tcl_SetMainLoop proc that allows people to set a main loop that will run for tclsh. * generic/tcl.h: added Tcl_MainLoopProc typedef * generic/tclMain.c (Tcl_SetMainLoop, StdinProc, Prompt): new StdinProc and Prompt static procs and Tcl_SetMainLoop stubs proc. The first two handle a fileevent based prompt (taken from tkMain.c). Tcl_SetMainLoop enables the interactive setting of a main loop procedure. This enables Tk to be a loadable package. file: 216410754e check-in: [0419203b11] user: hobbs branch: trunk, size: 15693
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: ec6e01e4b6 check-in: [a887ecceee] user: hobbs branch: trunk, size: 8916
1999-12-02
02:03
* generic/tcl.decls : * generic/tclMain.c : * unix/tclAppInit.c: * win/tclAppInit.c: Added two new internal functions, TclSetStartupScriptFileName() and TclGetStartupScriptFileName() and added hooks into the main() code for supporting TclPro and other "big" shells more easily without requiring a copy of the main() code. * generic/tclEncoding.c: * generic/tclEvent.c: Moved encoding-related startup code from tclEvent.c into the more appropriate tclEncoding.c. file: dc7399ad78 check-in: [cafaa4d046] user: redman branch: trunk, size: 8861
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: 5198acb807 check-in: [f3b32fb71c] user: stanton branch: trunk, size: 7661
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-10
23:31
* unix/mkLinks: * doc/SetVar.3: * generic/tcl.h: * generic/tclVar.c: Restored Tcl_ObjGetVar2 and Tcl_ObjSetVar2 from 8.0. Renamed Tcl_Get/SetObjVar2 to Tcl_GetVar2Ex and Tcl_SetVar2Ex. * Merged 8.0.5b2 patches file: 4a45f37d34 check-in: [b403ad5f28] user: stanton branch: core-8-1-branch-old, size: 7665
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: a4e6f20521 check-in: [4e3632a716] user: stanton branch: core-8-1-branch-old, size: 7667
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: 1886b853e9 check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 7665
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: 1410bc379a check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 7576
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: db3d1d23a7 check-in: [196f92fd17] user: stanton branch: trunk, size: 9640
1998-08-04
11:48
EXPORT is now TCL_STORAGE_CLASS file: 3d8d673a99 check-in: [ac9bdcd0b9] user: escoffon branch: trunk, size: 9619
1998-07-29
14:12
Define EXPORT to be DLLEXPORT file: 995986c916 check-in: [82024417fa] user: escoffon branch: trunk, size: 9597
1998-03-26
14:45
Added: Initial revision file: c2be94b055 check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 9555