Tcl Source Code

All files named ”win/tclAppInit.c”
Login

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

History for win/tclAppInit.c

2026-06-13
16:05
Proper indentation of function formal args file: a1cb847b90 check-in: [72e7559242] user: dkf branch: main, size: 6184
2026-06-11
12:35
Merge 9.0. No need for 'package require registry' any more file: 37871f55a2 check-in: [e9459c9cac] user: jan.nijtmans branch: main, size: 6175
2026-05-26
08:33
Start on BI proof of concept file: 8a051f734c check-in: [ad45fe5763] user: apnadkarni branch: tip-755-bi, size: 6299
2026-05-14
16:13
Support multiple callback registrations. Multithread safe file: 323d3b637a check-in: [391f9b1454] user: apnadkarni branch: tip-755, size: 6178
2026-05-12
16:09
Oops - update Windows tcltest too file: 8d62b35944 check-in: [498c73fb60] user: apnadkarni branch: tip-755, size: 6047
14:20
Tcl_RegisterPostInitProc skeleton file: f0c348edee check-in: [0cc23fd307] user: apnadkarni branch: bug-4f06d7ca-91, size: 6230
2026-05-10
05:52
Further tweaks - also fixes [6094de39] as a side effect file: 2fb4309836 check-in: [0d9d5e32aa] user: apnadkarni branch: bug-4f06d7ca, size: 5407
2026-04-30
14:52
Fix formatting of function-level comments file: ed7a49f5c0 check-in: [3dc5544544] user: dkf branch: main, size: 6504
2026-04-26
16:46
Remove unnecessary blank lines file: 137e386c61 check-in: [43cdc3cbe1] user: dkf branch: main, size: 6352
2026-04-22
06:32
Move registry module into main dll file: 6cea522d8c check-in: [27ea5af1b5] user: apnadkarni branch: apn-registry, size: 6354
2026-02-14
16:39
General whitespace fixes. No semantic changes. file: f482b68afe check-in: [af2708b4ef] user: dkf branch: main, size: 6532
2025-12-05
13:53
Merge main file: 92d2dec86b check-in: [99f3216c42] user: apnadkarni branch: tip-732, size: 6531
2025-12-04
07:22
Move setlocale initializtion to tclEvent.c, out of tclAppInit.c file: 2c936b13fa check-in: [57afd34f2e] user: jan.nijtmans branch: tip-703, size: 5402
2025-09-30
19:14
dde => 1.4.6 file: 7114b6d716 check-in: [8c03184f0f] user: jan.nijtmans branch: core-8-6-branch, size: 8828
2025-09-26
18:53
merge trunk file: 3c06fbb01f check-in: [f0dcb3e615] user: dkf branch: c-std-update, size: 5540
2025-09-15
11:24
Ignore error in setting tcl_rcFileName for historical compatibility file: bda9ee6f94 check-in: [8ce0bb412c] user: apnadkarni branch: apn-init-refactor, size: 6677
06:04
Start on refactoring Tcl initialization. file: 681bee07df check-in: [af349616ce] user: apnadkarni branch: apn-init-refactor, size: 6486
2025-08-28
06:21
2 review remarks: _CRT_glob is still necessary. And please use autoconf 2.72. Tx for the fix - Ashok file: ed14a62a43 check-in: [6d9cb1b33b] user: jan.nijtmans branch: apn-broken-mainargs, size: 5548
03:26
Get rid of obsolete TCL_BROKEN_MAINARGS file: 44eadb4826 check-in: [8614e94643] user: apnadkarni branch: apn-broken-mainargs, size: 5485
2025-08-18
21:46
circumvent for [8a13caa31dd8e3a5]: load tcltest if needed (using `load {} Tcltest`) - as a result tcltest executable behaves more similar to tclsh and shalln't cause any side effects anymore; this would also speedup interpreter creation from tcltest executable (where tcltest module isn't needed). file: 776c7f4042 check-in: [6e6d953e8c] user: sebres branch: experimental-load-tcltest-implicitly, size: 8342
2025-08-17
16:09
merge trunk file: b1e883e36b check-in: [4a7b1f9d1b] user: dkf branch: c-std-update, size: 8834
11:25
More bools and pieces file: 352da65e13 check-in: [28a7d957c7] user: dkf branch: c-std-update, size: 8896
2025-08-13
10:38
Remove another check for TCL_MINOR_VERSION < 7 file: 7f50bd450f check-in: [f20a357729] user: jan.nijtmans branch: core-9-0-branch, size: 8823
2025-08-12
14:43
Merge 8.6 file: daa43cba9a check-in: [32fc124107] user: jan.nijtmans branch: core-9-0-branch, size: 8858
14:25
Update dde => 1.4.5. Don't worry about Tcl 8.7 any more file: b0820895c0 check-in: [7037a107d0] user: jan.nijtmans branch: core-8-6-branch, size: 8853
09:06
More booleans. file: a069bf7e43 check-in: [8a9080996d] user: dkf branch: c-std-update, size: 8893
2025-07-19
12:31
More moving of variable declarations file: 925e097572 check-in: [c149575323] user: dkf branch: c-std-update, size: 8877
2025-06-26
11:14
Make everthing compile (again) and run with a C++ compiler. file: e1988433ac check-in: [aa010c0cda] user: jan.nijtmans branch: core-9-0-branch, size: 8885
2024-10-18
11:53
TIP 702 - always statically link registry and dde file: 10aa59123e check-in: [1bdd00fa65] user: apnadkarni branch: tip-702, size: 8520
2024-08-26
09:54
Merge [9a59cf84995963c5]: More spacing/formatting tweaks. file: 306166416f check-in: [33360d10e4] user: pooryorick branch: unchained, size: 8889
2024-08-23
11:30
Merge [fcee106e2c0c50a4]: Recommend Tcl_CreateObjCommand over Tcl_CreateCommand. file: f13ca48492 check-in: [92764bce00] user: pooryorick branch: unchained, size: 8887
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: 942ad6b624 check-in: [d8a3450f12] user: pooryorick branch: unchained, size: 8884
2024-03-19
17:09
more spacing/formatting tweaks file: f0896e26d8 check-in: [9a59cf8499] user: dkf branch: main, size: 8818
2023-11-10
09:07
Merge 8.7 file: 7d8e7f4191 check-in: [fcee106e2c] user: jan.nijtmans branch: main, size: 8816
08:55
Recommend Tcl_CreateObjCommand over Tcl_CreateCommand file: 0e4493bba0 check-in: [ea35084b4c] user: jan.nijtmans branch: core-8-branch, size: 8867
2023-04-30
18:36
Remove all code that is conditioned on TCL_MAJOR_VERSION. file: 9694834a47 check-in: [5037505a02] user: pooryorick branch: unchained, size: 8513
2023-04-18
19:43
Almost a merge-mark, just remove one (size_t) cast. file: e5e75c428e check-in: [1ef347e31d] user: jan.nijtmans branch: main, size: 8813
19:42
Adapt TIP's #494/#481/#537/#544/#568/#616/#623/#627/#630 to TIP #660 changes file: a8b93369c0 check-in: [891367d291] user: jan.nijtmans branch: core-8-branch, size: 8864
2023-02-25
07:35
Fix [1d074b177a]. Failure to read .tclshrc file: a8de015e44 check-in: [46d3081b16] user: apnadkarni branch: main, size: 8821
2022-07-19
09:56
Merge 8.7 file: e6a4e054d3 check-in: [5e5cbb06cd] user: jan.nijtmans branch: main, size: 8852
09:50
Make sure that tclAppInit.c is never built with -DUSE_TCL_STUBS, so we don't need those dirty tricks in it any more. file: eff48a2a4b check-in: [e335546754] user: jan.nijtmans branch: core-8-branch, size: 8872
08:56
Merge 8.7 file: 2bbc32153a check-in: [7c6436ddb3] user: jan.nijtmans branch: main, size: 8762
08:35
Make a start converting -1 -> TCL_INDEX_NONE where appropriate file: a3cc35c3e6 check-in: [ec4c6a5785] user: jan.nijtmans branch: core-8-branch, size: 8782
2022-07-18
11:56
Updste stdlib.h (add missing functions). Restructure tclAppInit.c file: 9d273c0735 check-in: [b79b2a5bbe] user: jan.nijtmans branch: check-build, size: 8872
2022-07-17
13:14
Merge 8.7 file: 5c9a6fdbf5 check-in: [de8da09f1c] user: jan.nijtmans branch: check-build, size: 8855
2022-02-01
12:35
Merge 8.7 file: 8dac9e1d43 check-in: [a6e19bd3f0] user: jan.nijtmans branch: main, size: 8730
12:31
Merge 8.6 file: 5d43f33e42 check-in: [2245871b04] user: jan.nijtmans branch: core-8-branch, size: 8752
12:03
Code cleanup in tclMain.c and tclAppInit.c: Make them Tcl-8.7-aware, usable as more generic examples for extensions. file: bf367d23ba check-in: [3625d63254] user: jan.nijtmans branch: core-8-6-branch, size: 8880
2021-04-13
06:09
Merge 9.0 file: 158bc7c279 check-in: [b07425e086] user: jan.nijtmans branch: rfe-854941, size: 8657
2021-04-07
10:22
Merge 8.7 file: 726b343e99 check-in: [161a0961d2] user: jan.nijtmans branch: main, size: 8659
09:55
TIP #595 (for Tcl 8.7) part 1: just rename Tcl_StaticPackage to Tcl_StaticLibrary, Tcl_PackageInitProc to Tcl_LibraryInitProc and Tcl_PackageUnloadProc to Tcl_LibraryUnloadProc. Adapt documentation, mentioning that the old names are now deprecated. file: 326b8b67d2 check-in: [6039d0396a] user: jan.nijtmans branch: core-8-branch, size: 8679
2021-02-17
17:37
Merge 9.0 file: 536a063226 check-in: [5d51d3c1fc] user: jan.nijtmans branch: rfe-854941, size: 8501
2020-12-13
16:57
Merge 8.7 file: 6ac0418230 check-in: [da96221a35] user: jan.nijtmans branch: build-info, size: 8525
2020-12-10
10:16
Merge 9.0 file: bfe7aa6151 check-in: [676a0c9850] user: jan.nijtmans branch: bug-ea39ab591e, size: 8503
2020-12-07
14:34
Merge 8.7 file: 5547ee8ae5 check-in: [f88e5a5f30] user: jan.nijtmans branch: main, size: 8503
14:25
In configure/make Windows build, static builds include dde and registry extension statically too implicitly file: 336811648b check-in: [67a0ffb570] user: jan.nijtmans branch: core-8-branch, size: 8523
2020-12-04
15:12
Merge 9.0 file: 44e019706a check-in: [b8cccc59e2] user: jan.nijtmans branch: bug-ea39ab591e, size: 8629
2020-11-18
09:15
Add github actions build. Use Titlecase in Tcl_StaticPackage file: 69460237ae check-in: [a80c922f4e] user: jan.nijtmans branch: core-8-5-branch, size: 7653
2020-11-10
14:51
Merge 9.0. Code/documentation cleanup file: 3f7ccace0f check-in: [f39d733d24] user: jan.nijtmans branch: bug-ea39ab591e, size: 8629
2020-11-06
14:58
Merge 8.7 file: 0b1933b6b6 check-in: [a3d7ddd732] user: jan.nijtmans branch: main, size: 8629
14:43
Deprecate the (internal) functions TclGuessPackageName/TclGetLoadedPackages functions, since they turn out to be useless. The can be removed in 9.0 file: cc929a4b5d check-in: [7b2277bf8b] user: jan.nijtmans branch: core-8-branch, size: 8649
13:32
Correct casing of "packageName" argument in Tcl_StaticPackage() call and "load" command (which - actually - is not a packageName at all ...) UPDATE: I am moving this to a feature branch. Changing the arguments passed to Tcl_StaticPackage will be an incompatible break for any scripts currently searching the [info loaded] list for "dde" or "registry". Not a change we should put in a patchlevel without at least a ticket to record the explanation and a (POTENTIAL INCOMPATIBILITY) warning. file: 36ddcb6ad0 check-in: [af48735f2d] user: jan.nijtmans branch: jn-module-names, size: 8504
2020-10-22
07:35
Merge 8.7. More lowercase package names in test-suite file: 9651587b2e check-in: [13fe6f0017] user: jan.nijtmans branch: build-info, size: 8651
2020-10-16
16:36
Merge trunk file: de1ad8638f check-in: [c6ac3b07a5] user: jan.nijtmans branch: rfe-854941, size: 8627
2020-10-13
09:10
Merge 8.6 file: 21397ae49f check-in: [cb3e486b30] user: jan.nijtmans branch: trunk, size: 8629
09:07
Merge 8.6 Eliminate some (correct but actually harmless) warnings only happening on win64 file: 5549ba125b check-in: [f14b6f4907] user: jan.nijtmans branch: core-8-branch, size: 8649
08:48
Fix warning, doing a static build on Windows file: 60ed4e6356 check-in: [de75d347a9] user: jan.nijtmans branch: core-8-6-branch, size: 8504
2020-10-09
07:42
Merge 8.5 file: 320824c3e3 check-in: [12bdfc6547] user: jan.nijtmans branch: core-8-6-branch, size: 8432
2020-08-13
14:35
Merge 9.0 file: e4dc3fe5aa check-in: [7a40e1f9d2] user: jan.nijtmans branch: rfe-854941, size: 8555
2020-04-14
14:50
Merge 8.7 file: 30ad5ef5c5 check-in: [447f03a8be] user: jan.nijtmans branch: trunk, size: 8557
14:48
Fix windows build (with older compilers) file: 49379c07f2 check-in: [51b230586a] user: jan.nijtmans branch: core-8-branch, size: 8577
2020-03-10
15:54
Merge trunk file: 1856f3fb4f check-in: [fb566b67ce] user: jan.nijtmans branch: rfe-854941, size: 8545
2020-03-09
16:34
merge 8.7 file: bf62b0c36b check-in: [a0ed9240c8] user: dgp branch: trunk, size: 8547
16:13
TCL_UNUSED for win sources. file: 02db286808 check-in: [2c8f3c4653] user: dgp branch: core-8-branch, size: 8567
2020-02-28
12:46
Merge 8.7 file: 93927a84dd check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 8575
2019-12-13
22:12
Merge 8.7 and (hopefully) fix Travis build with C++ file: d72a6c57d5 check-in: [99180d133a] user: jan.nijtmans branch: cplusplus, size: 8595
2019-10-24
10:53
tclAppInit.c should be built without BUILD_tcl/USE_TCL_STUBS always. All build files should be adapted now to assure that. file: 363615436d check-in: [82739030f5] user: jan.nijtmans branch: check-build, size: 8658
2019-09-30
14:43
Merge trunk. Finish implementation. file: 5d9c861bf0 check-in: [bcae28fe99] user: jan.nijtmans branch: rfe-854941, size: 8555
2019-08-19
15:01
Further implementation of 2 new functions. file: e3736b1510 check-in: [bef7aa688c] user: jan.nijtmans branch: rfe-854941, size: 8533
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: 5ab0c252b6 check-in: [3da6c33030] user: jan.nijtmans branch: cplusplus, size: 8564
2018-10-12
18:29
Merge 8.7 file: fc8167e318 check-in: [41013f5dac] user: jan.nijtmans branch: trunk, size: 8535
17:54
Fix test for UNICODE in win/tclAppInit.c. No longer check for "tclsh install", because tclsh is not compiled with that. Fix minizip.c compilation on systems without open64() file: b117ff9605 check-in: [d75d4c67d4] user: jan.nijtmans branch: core-8-branch, size: 8555
2018-09-26
20:09
Merge trunk file: 2864f56173 check-in: [70faade624] user: jan.nijtmans branch: memory-API, size: 8536
19:38
Improvements for zipfs. Document that TclZipfs_AppHook only works on Windows in UNICODE mode. Also, remove this from the stub table because it should never be called this way. Prevent a possible crash on win32 startup. file: d2483947ca check-in: [ca34f32cb7] user: jan.nijtmans branch: core-8-branch, size: 8556
2018-09-12
20:00
Merge trunk file: 48ea321c56 check-in: [60d766eacd] user: jan.nijtmans branch: memory-API, size: 8443
19:30
TIP #430 implementation file: fa2606008f check-in: [b74093feee] user: jan.nijtmans branch: core-8-branch, size: 8463
2018-09-03
09:12
merge zipfs file: 5a22e5d642 check-in: [4efd0e60fa] user: jan.nijtmans branch: androwish, size: 8587
07:51
merge 8.6 file: 3b0fec8f09 check-in: [cdff48505c] user: jan.nijtmans branch: zipfs, size: 8590
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: 5f31dd2a32 check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 8401
2018-08-29
17:01
merge 8.6 file: 0d51ec65b1 check-in: [9f791c2d99] user: sebres branch: core-8-branch, size: 8421
16:55
small amend to [cae24931ed] (no _CRT_glob in both cases __GNUC__ || TCL_BROKEN_MAINARGS). file: 79b84b24f5 check-in: [6ca696481e] user: sebres branch: core-8-6-branch, size: 8423
15:55
partially cherry-picking of [5099a81b50], never reached 8.6, so for example build for MINGW breaks tests winpipe-8.1 etc, because "*" will be expanded. file: 98c60836ac check-in: [cae24931ed] user: sebres branch: core-8-6-branch, size: 8388
2017-11-17
04:13
First pass on the Msys style windows build. Moving Zipfs features closer together in the autoconf file: d2a1f08b1f check-in: [b279fbbfa3] user: hypnotoad branch: core_zip_vfs-8-6, size: 8364
2017-10-11
14:09
merge novem file: 7bf3c97f1b check-in: [ac9cb5b64c] user: jan.nijtmans branch: novem-more-memory-API, size: 8325
2017-09-18
14:38
Finish libtommath's constification work. All done (hopefully). And make sure that C preprocessor directives have the '#' as first character on the line. file: 570bd8ac55 check-in: [5d1dde9e60] user: jan.nijtmans branch: trunk, size: 8322
2016-01-12
19:03
Reconciled the inner workings of the core_zip_vfs and zipfs branch of Tcl core_zip_vfs now uses the same C implementation. More fixes to come as I tweak the userspace and Makefile tools. The goal is to fold core_zip_vfs into the zipfs branch. file: f57ac0df98 check-in: [6994528405] user: hypnotoad branch: core_zip_vfs, size: 8837
2015-12-22
09:29
Zipfs_Mount -> Tclzipfs_Mount, it doesn't really matter which one is used. file: 657a5d8d8e check-in: [d8f7fc7aea] user: jan.nijtmans branch: androwish, size: 8488
2015-12-21
15:31
Start with a few simple basic test-cases file: 7c947dd9c8 check-in: [9eb6257fb7] user: jan.nijtmans branch: androwish, size: 8479
15:21
Start with a few simple basic test-cases file: 8cf4f7cdd3 check-in: [0805686e2a] user: jan.nijtmans branch: zipfs, size: 8491
2015-10-26
04:02
Merged with trunk, fixes to allow builds outside of the tcl/unix|win directory file: 249710b139 check-in: [8ac6e104b9] user: hypnotoad branch: core_zip_vfs, size: 8956
2015-06-18
19:58
merge novem file: ca02977570 check-in: [8d9650ab81] user: jan.nijtmans branch: novem-more-memory-API, size: 8327
2015-03-13
17:14
Upon further review, due the order of #include of headers, we do not have a history of a #define STRICT active when the #include "windows.h" in tclWinPort.h happens. Don't want to start something new now. file: 6c8bec5348 check-in: [8a65d84d24] user: dgp branch: dgp-win-specific-strict, size: 8324
2014-10-19
20:03
Update the zipvfs implementation with additional code from both Odie and Dennis LaBelle's FreeWrap. Split the boot loader code out of tclZipVfs.c and into its own File. Altered the structure of tclZipVfs.c to better mirror that which is distributed in Odie and FreeWrap to make popping and swapping improvements easier. file: 1ef83fc5c5 check-in: [5fa52cd7ed] user: hypnotoad branch: core_zip_vfs, size: 8895
2014-09-12
17:59
Zip enabled shells now build just like tclsh. Whether they are dynamic or static is determined by --enable-shared file: 93320872c3 check-in: [8f11d69abf] user: tne branch: core_zip_vfs, size: 8850
16:03
Developed an improved bootloader built around TclSetPreInitScript. The new bootloader now mounts the VFS before the interpreter is initialized, and gives it enough hints to point to the VFS for init.tcl and main.tcl (If present) Also, Tcl_ZVfs_Boot now takes and additional argument: the name of the file to mount. As the difference between a normal shell and a zvfs enabled shell is one again, several lines of code, the example shells is folded back into tclAppInit.c and controlled with macros. The ZVFS commands are now loaded in as a static package. Removed the Stubs entry for Tcl_Boot_ZVFS, it's now intended that shells build their own copy of tclZipVfs.o file: 6ada28e18c check-in: [c6b845bda5] user: hypnotoad branch: core_zip_vfs, size: 8782
2014-09-04
00:30
Re-engineered the windows kitbuilding process to produce a standalone executable (in a similar process as tcltest is made). The kit specific functions of tclAppInit have been wrapped around define macros, and are only active if TCL_KIT is defined. (Which is only done when building the tclkit executable) file: 6524018d7e check-in: [ae8b5b6616] user: hypnotoad branch: core_zip_vfs, size: 8522
2014-09-03
20:32
Merging in changes from Tcl Reduced the code necessary to bootstrap a shell to a single C call. Reduced the number of new stub entries to 1 Fixed a Makefile goof that was preventing kits from running properly. file: 2274e1c372 check-in: [a706cf4205] user: hypnotoad branch: core_zip_vfs, size: 8315
2014-09-01
09:36
Tweak the Windows implementation of Tcl_AppInit() to match Unix file: 672e99da1c check-in: [dbf5b98ca7] user: hypnotoad branch: core_zip_vfs, size: 9120
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: 9ea34d28f3 check-in: [c1d9b13f8c] user: hypnotoad branch: core_zip_vfs, size: 9086
2014-05-02
07:15
merge novem file: b321d6dce7 check-in: [08a7e90291] user: jan.nijtmans branch: novem-more-memory-API, size: 8266
2013-10-16
07:13
merge novem file: 0ab358aeb5 check-in: [f9b406d125] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 8146
2013-09-30
14:07
Disable command line globbing on MinGW compiles: this saves startup time, since the result of the glob is not used anywhere. file: fee6542522 check-in: [fa4ce191d2] user: jan.nijtmans branch: trunk, size: 8263
14:03
Disable command line globbing on MinGW compiles: this saves startup time, since the result of the glob is not used anywhere. file: 3eca18c07b check-in: [5099a81b50] user: jan.nijtmans branch: core-8-5-branch, size: 7653
2013-09-26
13:13
merge novem WARNING: No checks of build-ability done yet. file: 331ec3afc9 check-in: [2688d65077] user: dkf branch: novem-64bit-sizes, size: 8390
2013-06-25
10:56
rebase file: b8cf2e1515 check-in: [e1791704a3] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 8127
2013-06-14
10:15
Don't use deprecated stricmp/strnicmp any more, but underscored variant for non-GNU compilers. Some formatting - improved comments. file: bdfc195e04 check-in: [cc8464e99f] user: jan.nijtmans branch: trunk, size: 8244
2013-03-31
20:17
Going forward trying to define a better Tcl_InitStubsystems() file: d82bd32326 check-in: [f1f393d1f0] user: jan.nijtmans branch: initsubsystems, size: 8092
2013-02-19
15:46
merge novem file: 57de95e13f check-in: [28ee40df7e] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 7955
2013-02-17
21:03
Use (preferred) Tcl_ObjSetVar2 in stead of Tcl_SetVar in tclAppInit.c, both UNIX and Win. file: 0c33e7a888 check-in: [c5362b1bbd] user: jan.nijtmans branch: trunk, size: 8072
2012-12-12
05:01
Rename the memory routines so that Tcl_Alloc/Tcl_Free/etc become the recommended things for extensions and embedders to call, instead of ckalloc/ckfree/etc. Tcl_Alloc, etc. are macros that can be configured for memory debuggin, as ckalloc, etc. have been and continue to be. file: 04569a23bd check-in: [af97429aed] user: dgp branch: novem-rename-memory-API, size: 7958
2012-12-10
21:51
merge trunk fix mingw build file: 5b995c8157 check-in: [8e7234ccff] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 7838
2012-12-04
15:12
more eliminations of 'deprecated' calls file: e45fbfdc90 check-in: [c3a8114dc1] user: jan.nijtmans branch: better-deprecation-85, size: 7670
14:14
Even simpler: make Tcl_Init() a macro which calls Tcl_InitStubs. Embedder doesn't need to change the code any more, and cannot forget to call Tcl_InitStubs() file: 21aa8cfbca check-in: [16a63b155c] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 7968
13:51
Experiment: Speed up Tcl by only exporting the minimal set of symbols from the dll/so. Advantage: USE_TCL_STUBS is no longer necessary, it's implicit. So that makes it less error-prome for extenders. The function Tcl_PkgInitStubsCheck is no longer necessary. Disadvantage: Embedders need to do two additional things, call Tcl_InitStubs() as first function in Tcl_AppInit() and link the stub library with their executable. file: 22d4c7f2bf check-in: [668d02e882] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 8022
2012-11-27
11:02
Conversion of Win-specific code to new model API. WARNING! UNTESTED! file: b850a4f273 check-in: [4adcc3c51f] user: dkf branch: novem-64bit-sizes, size: 8114
2012-11-26
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: 1a3d917725 check-in: [6b2cf92413] user: jan.nijtmans branch: novem, size: 7955
2012-11-15
04:09
Kill Octal; bump to 9.0a0; make test suite work again. file: 43ae198e05 check-in: [9ea4c8ee49] user: dgp branch: novem, size: 7946
2012-09-23
20:29
eliminate unnecessary TEXT() macros file: 1638b43fc3 check-in: [c155794425] user: jan.nijtmans branch: trunk, size: 7948
2012-04-26
19:42
get rid of _ANSI_ARGS_ file: cbbcf79192 check-in: [a3f95a3b3d] user: jan.nijtmans branch: core-8-5-branch, size: 7634
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: 70ba243baa check-in: [5574bdd262] user: dkf branch: trunk, size: 8062
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: c12d051b20 check-in: [c64f310d38] user: dgp branch: trunk, size: 8086
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: e7e9274d69 check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 7660
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: 773e749ee4 check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 11313
2010-12-16
09:47
Windows specific files, updated to head. file: 27005089d8 check-in: [5fe6c2f5f2] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 8157
2010-12-01
16:42
merge file: e9f5b62955 check-in: [0af397c644] user: kennykb branch: dogeen-assembler-branch, size: 8165
2010-11-23
14:27
Jumps of win/ files. Fixed missing patches to configure. Jumped configure.in and tcl.m4. Also @578 file: 5dc37e0618 check-in: [1c930c462b] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 7942
2010-11-19
15:36
merge file: 66d73eef16 check-in: [04aaac44e0] user: dgp branch: dgp-refactor, size: 8162
2010-11-18
15:50
[FRQ 491789]: "setargv() doesn't support a unicode cmdline" now implemented for cygwin and mingw32 too. No longer disable tests Tcl_Main-1.4 and 1.6 on Windows, because those now work on all supported platforms. file: 85f67bb953 check-in: [078f74fc6d] user: nijtmans branch: trunk, size: 8162
2010-11-17
18:09
merge file: 40b24a27dd check-in: [0e5ac61917] user: dgp branch: dgp-refactor, size: 7826
10:37
Bring compilation under mingw-w64 a bit closer to reality (but don't break mingw32 build!) file: 6611656fdb check-in: [87efc54866] user: nijtmans branch: trunk, size: 7826
2010-11-16
17:39
merge file: f866d5afb4 check-in: [fc5e3d1942] user: dgp branch: dgp-refactor, size: 7811
14:03
Bring compilation under mingw-w64 a bit closer to reality file: b0bd49b8bf check-in: [bef6da697c] user: nijtmans branch: trunk, size: 7811
2010-11-05
16:40
merge file: 7f0221c862 check-in: [b68283928e] user: dgp branch: dgp-refactor, size: 7947
2010-11-04
21:48
[FRQ 491789]: "setargv() doesn't support a unicode cmdline" implemented for Tcl on MSVC++ file: a36d64a434 check-in: [6bbdcbed5f] user: nijtmans branch: trunk, size: 7947
2010-09-27
11:00
Merge from HEAD file: f54cc61859 check-in: [d1f5c51f30] user: rmax branch: rmax-ipv6-branch, size: 7978
2010-09-26
14:33
merge file: b4cb42a2fa check-in: [bc9af6e422] user: dgp branch: dgp-refactor, size: 7978
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: b9382f2a5f check-in: [8fa55c35f1] user: kennykb branch: dogeen-assembler-branch, size: 7981
2010-09-23
21:40
Make Tcl_SetPanicProc and Tcl_GetStringResult callable without stubs, just as Tcl_SetVar. file: ec3923145f check-in: [f696973491] user: nijtmans branch: trunk, size: 7978
13:35
merge file: 13c79f3623 check-in: [20f9c53bd5] user: dgp branch: dgp-refactor, size: 7976
09:18
Make compilable with -DUNICODE (not actived yet) Many clean-ups in comments. file: f4e2324416 check-in: [87eb553ce4] user: nijtmans branch: trunk, size: 7976
2010-06-07
17:36
rebranch from HEAD file: 2127190944 check-in: [f3af08f468] user: rmax branch: rmax-ipv6-branch, size: 7370
2010-05-03
16:30
merge file: 1956dc1c7c check-in: [fe433b0919] user: dgp branch: dgp-refactor, size: 7370
13:20
For MINGW/CYGWIN, use GetCommandLineA explicitely file: 05fc74f1b0 check-in: [b64ef5b170] user: nijtmans branch: trunk, size: 7370
2009-12-08
18:39
merge updates from HEAD file: 8d976da5f6 check-in: [eb6dfbd0e7] user: dgp branch: dgp-refactor, size: 7369
2009-11-27
21:44
* win/tclAppInit.c (Tcl_AppInit): Reverted Jan's change that added a call to Tcl_InitStubs. 'tclsh' and 'tcltest' are providers, not consumers of the Stubs table, and should not link with the Stubs library, but only with the main Tcl library. (In any case, the presence of Tcl_InitStubs broke the build.) [Bug 2902965] file: 4bad27129b check-in: [f83af53218] user: kennykb branch: trunk, size: 7368
2009-11-26
07:01
Fix [Bug 2902965] stub related changes cause tclkit built to break file: cfbb15d49b check-in: [4bf7a171b2] user: nijtmans branch: trunk, size: 7465
2009-11-19
16:51
merge updates from HEAD file: d09661c1a1 check-in: [7aa1b44845] user: dgp branch: dgp-refactor, size: 7381
16:31
* unix/tclAppInit.c: Repair broken build of the tcltest executable. * win/tclAppInit.c: [Bug 2883850, 2900542]. file: 3e7864454d check-in: [9fdef42bec] user: dgp branch: trunk, size: 7376
2009-01-09
14:17
merge updates from HEAD file: 483a152b9b check-in: [02f7c5c705] user: dgp branch: dgp-refactor, size: 7706
11:21
Style fixes (unfouling whitespace, sorting comments, removing useless casts, etc.) file: 8bbd4e6942 check-in: [cd3c38f00a] user: dkf branch: trunk, size: 7701
2008-05-11
04:22
merge updates from HEAD file: a8eb08bcd0 check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 7708
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: f4013cb96e check-in: [2d205c22fb] user: dkf branch: trunk, size: 7703
2007-04-16
18:35
Merge updates from HEAD file: 00b058ce43 check-in: [5bd14e2124] user: dgp branch: dgp-refactor, size: 7735
13:36
Complete the purge of K&R function definitions from manually-written code. file: d6167d5d39 check-in: [645aed2fcd] user: dkf branch: trunk, size: 7731
2007-04-08
14:58
Merge updates from HEAD; may not build file: 7c67418e63 check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 7750
2007-03-19
17:06
* generic/tclEvent.c (Tcl_CreateThread): Replaced some calls to * generic/tclPkg.c (CheckVersion): Tcl_Alloc() with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging. file: cf7495096c check-in: [801b5dc41c] user: dgp branch: core-8-4-branch, size: 11388
16:59
* generic/tclBasic.c (Tcl_CreateMathFunc): Replaced some * generic/tclEvent.c (Tcl_CreateThread): calls to Tcl_Alloc() * generic/tclObj.c (UpdateStringOfBignum): with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging. file: 512a8ae175 check-in: [65a357c8fc] user: dgp branch: trunk, size: 7746
2006-01-25
18:38
merge updates from HEAD file: a233ec2c52 check-in: [24df3318d7] user: dgp branch: dgp-refactor, size: 7752
2006-01-05
04:50
* win/tclAppInit.c: WIN32 native console signal handler removed. This was found to be interfering with TWAPI extension one. IMO, special services such as signal handlers should best be done with extensions to the core after discussions on c.l.t. about Roy Terry's tclsh children of a real windows service shell. file: 653a195759 check-in: [60ffd276c9] user: davygrvy branch: trunk, size: 7753
2005-08-02
18:14
merge updates from HEAD file: dbbf06ce4f check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 10899
2005-07-26
04:11
Merge updates from HEAD file: 33c1c2dbce check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 10899
2005-07-24
22:56
Getting more systematic about style file: 15d324787e check-in: [83d72c558c] user: dkf branch: trunk, size: 10895
2004-10-28
18:45
merge updates from HEAD file: 3ad2f9c8c9 check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 10931
04:52
* unix/tclAppInit.c: When built as tcltest, TclThread_Init was getting called * win/tclAppInit.c: twice. First by TclTest_Init, then again in Tcl_AppInit. The call from Tcl_AppInit now removed. file: 4fbc5f32cf check-in: [7bd534cd4f] user: davygrvy branch: trunk, size: 10932
2004-09-21
23:10
merge updates from HEAD file: faa1fe75f4 check-in: [1d1ea15d54] user: dgp branch: dgp-refactor, size: 11229
2004-09-18
22:01
Dde package can load into a safe interp. Claim this fact for the Tcl_StaticPackage() call when the shell is built with the TCL_USE_STATIC_PACKAGES option. file: 06983e3187 check-in: [1ce80d39e0] user: davygrvy branch: trunk, size: 11230
2004-09-08
23:02
Merge updates from HEAD file: 78d7e19184 check-in: [dff8728918] user: dgp branch: dgp-refactor, size: 11179
2004-06-11
19:41
* win/tclAppInit.c: Restored the 'setargv' procedure when compiling with mingw. Apparently, the command line parsing in mingw doesn't work as well as that in vc++, and the result was (1) that winPipe-8.19 failed, and (2) that 'make test' would work at all only with TESTFLAGS='-singleproc 1'. [Bug 967195] file: 5bb13fee83 check-in: [f0cb3345b4] user: kennykb branch: trunk, size: 11179
2004-02-07
05:47
Merge updates from HEAD Note that this branch currently does not fully support the new {expand} syntax. Updates to TclEvalScriptTokens and TclCompileScriptTokens are still to come. file: e437a2978e check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 8301
2004-02-02
21:35
minor formatting and some commentary. file: 9b0c21b464 check-in: [59fb37143b] user: davygrvy branch: trunk, size: 8302
2004-02-01
09:37
* tests/winPipe.test: more pass-thru commandline verifications. * win/tclWinPipe.c (BuildCommandLine): Special case quoting for '{' not required by the c-runtimes's _setargv(). * win/tclAppInit.c: Removed our custom setargv() in favor of the one provided by the c-runtime. [Bug 672938] file: 6b641e8237 check-in: [072413cbd2] user: davygrvy branch: trunk, size: 8227
2004-01-16
02:46
Same change in how TCL_USE_STATIC_PACKAGES is used. file: c64904976f check-in: [3ebae57864] user: davygrvy branch: trunk, size: 11380
2003-10-16
02:28
Merged updates from HEAD file: 26fd5c6c64 check-in: [44102608b1] user: dgp branch: dgp-refactor, size: 11388
2003-10-14
22:48
Punt gracefully if exitToken was already destroyed. file: 1ed3803a3b check-in: [4d99865323] user: davygrvy branch: trunk, size: 11389
22:41
Punt gracefully if exitToken was already destroyed. file: 8dfb1c026f check-in: [8ed4708887] user: davygrvy branch: core-8-4-branch, size: 11395
2003-10-09
00:29
* win/makefile.vc: Applied patches for bug #801467 by Joe Mistachkin * win/tclAppInit.c: to fix incompatible TCL_MEM_DEBUG handling in * generic/tclObj.c: Win32 VC builds. file: dbf35acc87 check-in: [c6bd53ea96] user: patthoyts branch: trunk, size: 11283
2003-05-10
05:00
fix for [Bugs 733221, 733156] file: b4a1805a2e check-in: [26d90ac91c] user: mistachkin branch: core-8-4-branch, size: 11290
04:25
fix bad cvs lf conversion file: 8fbefa311a check-in: [4bc19ebde0] user: mistachkin branch: trunk, size: 11286
02:52
fix for [Bugs 733221, 733156] file: 6e6948507f check-in: [f41a1c5443] user: mistachkin branch: trunk, size: 11733
2002-12-04
03:59
* win/tclAppInit.c (sigHandler): Protect from trying to close a NULL handle. * win/tclWinPipe.c (PipeClose2Proc, TclpCreateProcess): Send a real Win32 signal (CTRL_C_EVENT) when the read channel is brought down to alert the child to close on its side. Start the process with CREATE_NEW_PROCESS_GROUP to allow the ability to send these signals. The following test case now brings down the child without the use of an external [kill] command. % set p [open "|[info name]" w+] file8d5380 % pid $p 2876 % close $p <- now doesn't block in Tcl_WaitPid() % file: 65707392b7 check-in: [9e7de7ab45] user: davygrvy branch: trunk, size: 10189
2002-11-04
05:50
* win/tclAppInit.c: Calls Registry_Init() and Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set. * win/makefile.vc: * win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde object files to the link of the shell. [Patch 479697] Also factored some additional macros that will be helpful for extension authors. Version grepping of tcl.h will need to be added to complete this. * win/buildall.vc.bat: Added more descriptive commentary. file: 7b0ebb2d35 check-in: [6f80157046] user: davygrvy branch: trunk, size: 10129
2002-09-30
00:08
Added proper exiting conditions using Win32 console signals. This handles the existing lack of a Ctrl+C exit to call exit handlers when built for thread support. Also, properly handles exits from other conditions such as CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, and CTRL_SHUTDOWN_EVENT signals. In all cases, exit handlers will be called. [Bug 219355] file: 8927bd530c check-in: [6f48010fb5] user: davygrvy branch: trunk, size: 9719
2002-02-21
21:20
reverted back to 1.6, as the header file change to tclPort.h doesn't allow for easy embedded support. Thanks to Don Porter for pointing this out to me. file: dbcd629c57 check-in: [434cb6babc] user: davygrvy branch: trunk, size: 7766
18:37
* win/tclAppInit.c: Changed #include "tcl.h" to be tclPort.h to remove the raw windows.h include. tclPort.h brings in windows.h already and lessens the pre-compiled-header mush and the randomly useless #pragma comment (lib,...) references throughout the big windows.h tree (as observed at high linker warning levels). file: 425d9f5dc9 check-in: [2bba08d67f] user: davygrvy branch: trunk, size: 7749
2000-08-08
19:03
Deleted: Created branch tclpro-1-5-0-synthetic check-in: [e979569c4f] user: cvs2fossil branch: tclpro-1-5-0-synthetic, size: 0
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: afa0d208e2 check-in: [cafaa4d046] user: redman branch: trunk, size: 7764
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: d1bd43a169 check-in: [f3b32fb71c] user: stanton branch: trunk, size: 6604
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: f34072574f check-in: [b403ad5f28] user: stanton branch: core-8-1-branch-old, size: 6608
1999-02-03
02:58
* win/tclAppInit.c: * unix/tclAppInit.c: * mac/tclMacAppInit.c: * generic/tclTest.c: Changed some EXTERN declarations to extern since they are not defining exported interfaces. This avoids generating useless declspec() attributes and makes the windows makefile simpler. * generic/tcl.h: Moved Tcl_AppInit declaration to end and cleared out TCL_STORAGE_CLASS so it is not declared with a declspec(). file: 33a480f533 check-in: [92d52aa5e1] user: stanton branch: trunk, size: 6503
1998-10-06
02:59
merged 8.0.4 changes into 8.1 branch file: f63874c7b6 check-in: [e8eee9b422] user: stanton branch: core-8-1-branch-old, size: 6555
1998-10-05
22:32
Added a new Tcl object called "procbody"; this object's internal representation contains both a Proc struct and its associated ByteCode. Updated tclProc.c::TclCreateProc to take procbody instances as the body argument, for future support of compiler extensions. Added the "procbodytest" package for testing all this stuff. file: 132dc4f1eb check-in: [0aa459d72f] user: escoffon branch: trunk, size: 6504
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: fbc8bc85ab check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 6245
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: da4563001a check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 6220
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: cd8a0859b2 check-in: [196f92fd17] user: stanton branch: trunk, size: 6193
1998-03-26
14:56
Added: Initial revision file: df18b0a598 check-in: [f86c34e38d] user: rjohnson branch: trunk, size: 6172