Tcl Source Code

All files named "unix/tclAppInit.c"
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com or submit via the online form
by Aug 20.

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

History for unix/tclAppInit.c

2017-11-11
09:18
Improvements to tip430 to embed the /library file system within a shared library or as a zip archive with a canonical name matching the current patch level This new version also builds a native executable version of minizip to allow archive to be built within make, even when cross compiling Added a new function TclZipfs_AppHook which implements tip430 core behavior startups to stock tclsh Embedding the file system as a zip archive can be defeated with --enable-zipfs=no file: [1308e0a8c1] check-in: [c8a90daba2] user: hypnotoad branch: core_zip_vfs, size: 4553
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: [903a558ae7] check-in: [6994528405] user: hypnotoad branch: core_zip_vfs, size: 5069
2015-12-22
09:29
Zipfs_Mount -> Tclzipfs_Mount, it doesn't really matter which one is used. file: [a39c823a5f] check-in: [d8f7fc7aea] user: jan.nijtmans branch: androwish, size: 4675
2015-12-21
15:31
Start with a few simple basic test-cases file: [439e49959d] check-in: [9eb6257fb7] user: jan.nijtmans branch: androwish, size: 4666
15:21
Start with a few simple basic test-cases file: [4fbfa32ddf] check-in: [0805686e2a] user: jan.nijtmans branch: zipfs, size: 4678
2015-01-22
20:00
re-base to trunk file: [5ea3b6ced8] check-in: [7d224d42f7] user: jan.nijtmans branch: bug-1224888, size: 4498
2014-11-15
14:48
Added the C implementation of the zipvfs encoder that was originally bundled into the zvfs.c file as a separate tool. file: [cc68ffc0c9] check-in: [cb1011bfac] user: hypnotoad branch: core_zip_vfs_c_encoder, size: 5289
00:12
For the feature branch we now enable Zip file functions for all shells in Unix, and explicitly name a new executable "basekit", which is a statically linked tclsh with an attached library VFS file: [d5f72e3d04] check-in: [1d8bf095f0] user: hypnotoad branch: core_zip_vfs, size: 5039
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: [b88bd9dd81] check-in: [5fa52cd7ed] user: hypnotoad branch: core_zip_vfs, size: 5137
2014-09-12
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: [04765161f3] check-in: [c6b845bda5] user: hypnotoad branch: core_zip_vfs, size: 5028
2014-09-04
01:23
Removed some debugging code of mine... file: [b412bd79e4] check-in: [dfd8080cdc] user: hypnotoad branch: core_zip_vfs, size: 4784
01:22
Adapted the Unix startup process to ifdef out the KIT specific behaviors. tclkit is now build as a standalone exectuble. file: [4bc86a3555] check-in: [048d56390d] user: hypnotoad branch: core_zip_vfs, size: 4818
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: [5b583059d3] check-in: [a706cf4205] user: hypnotoad branch: core_zip_vfs, size: 4566
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: [5c3bca6ea2] check-in: [c1d9b13f8c] user: hypnotoad branch: core_zip_vfs, size: 5371
2013-06-25
10:56
rebase file: [cd5ef3ce7f] check-in: [e1791704a3] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 4635
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: [df39ad81dc] check-in: [cc8464e99f] user: jan.nijtmans branch: trunk, size: 4511
2013-03-31
20:17
Going forward trying to define a better Tcl_InitStubsystems() file: [75e412dfcd] check-in: [f1f393d1f0] user: jan.nijtmans branch: initsubsystems, size: 4464
2013-02-19
15:46
merge novem file: [0d074f435f] check-in: [28ee40df7e] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 4607
2013-02-17
21:03
Use (preferred) Tcl_ObjSetVar2 in stead of Tcl_SetVar in tclAppInit.c, both UNIX and Win. file: [6f49772f4d] check-in: [c5362b1bbd] user: jan.nijtmans branch: trunk, size: 4483
2012-12-22
20:20
merge novem add Tcl_TomMath_InitStubs/Tcl_OOInitStubs to unix/tclAppInit.c file: [842ddd7c7c] check-in: [96d9dbe992] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 4497
2012-12-10
21:51
merge trunk fix mingw build file: [065789ec93] check-in: [8e7234ccff] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 4372
2012-12-04
15:12
more eliminations of 'deprecated' calls file: [0a00bc96a7] check-in: [c3a8114dc1] user: jan.nijtmans branch: better-deprecation-85, size: 4660
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: [1ad86bf372] check-in: [16a63b155c] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 4367
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: [88605676c8] check-in: [668d02e882] user: jan.nijtmans branch: novem-reduced-symbol-export, size: 4421
2012-11-26
15:33
unbreak UNIX build file: [bea4064e4f] check-in: [b676e091f0] user: jan.nijtmans branch: novem, size: 4373
2012-04-26
19:42
get rid of _ANSI_ARGS_ file: [2661d4a04e] check-in: [a3f95a3b3d] user: jan.nijtmans branch: core-8-5-branch, size: 4598
2011-05-05
06:26
no longer depend on MODULE_SCOPE being defined file: [3ce12106d4] check-in: [b439e1d71b] user: jan.nijtmans branch: trunk, size: 4359
2011-04-07
10:19
Add some (temporary) test cases showing the problem with --export-dynamic file: [eecc68127e] check-in: [6b6ef4e0b1] user: jan.nijtmans branch: trunk, size: 4477
2011-04-06
13:10
Make symbols "main" and "Tcl_AppInit" MODULE_SCOPE: there is absolutely no reason for exporting them. file: [39572b3e67] check-in: [0a2eb3820d] user: jan.nijtmans branch: trunk, size: 4300
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: [3bc2b1b8d3] check-in: [c64f310d38] user: dgp branch: trunk, size: 4226
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: [b31b7dd9f7] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 4650
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: [097e05f92b] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 4793
2010-12-07
14:39
@1576 file: [69735c028f] check-in: [ef82386ec6] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 4297
2010-12-02
10:58
@1090 file: [17fc00286a] check-in: [64d3140aa1] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 4311
2010-09-27
11:00
Merge from HEAD file: [130739f988] check-in: [d1f5c51f30] user: rmax branch: rmax-ipv6-branch, size: 4302
2010-09-26
14:33
merge file: [5041cbe134] check-in: [bc9af6e422] user: dgp branch: dgp-refactor, size: 4301
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: [8e07deeb64] check-in: [8fa55c35f1] user: kennykb branch: dogeen-assembler-branch, size: 4305
2010-09-23
21:40
Make Tcl_SetPanicProc and Tcl_GetStringResult callable without stubs, just as Tcl_SetVar. file: [08fa5b29df] check-in: [f696973491] user: nijtmans branch: trunk, size: 4302
13:35
merge file: [3cbd869286] check-in: [20f9c53bd5] user: dgp branch: dgp-refactor, size: 4299
09:18
Make compilable with -DUNICODE (not actived yet) Many clean-ups in comments. file: [f6d9ba8faf] check-in: [87eb553ce4] user: nijtmans branch: trunk, size: 4300
2009-11-29
09:00
revert 2902965 tclAppInit.c change file: [bb45e9dead] check-in: [9e1924b178] user: das branch: trunk, size: 4311
2009-11-26
07:01
Fix [Bug 2902965] stub related changes cause tclkit built to break file: [36bbe76186] check-in: [4bf7a171b2] user: nijtmans branch: trunk, size: 4412
2009-11-19
16:51
merge updates from HEAD file: [6dda69abfa] check-in: [7aa1b44845] user: dgp branch: dgp-refactor, size: 4315
16:31
* unix/tclAppInit.c: Repair broken build of the tcltest executable. * win/tclAppInit.c: [Bug 2883850, 2900542]. file: [94850d1785] check-in: [9fdef42bec] user: dgp branch: trunk, size: 4311
2009-11-18
23:46
Fix [Bug 2883850]: pkgIndex.tcl doesn't get created with static Tcl build file: [8cc01c3308] check-in: [39268397d9] user: nijtmans branch: trunk, size: 4300
2008-05-11
04:22
merge updates from HEAD file: [0e5607e7d6] check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 4669
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: [e0b3d62f1c] check-in: [2d205c22fb] user: dkf branch: trunk, size: 4665
2007-04-16
18:35
Merge updates from HEAD file: [395be4fc64] check-in: [5bd14e2124] user: dgp branch: dgp-refactor, size: 4725
13:36
Complete the purge of K&R function definitions from manually-written code. file: [82f6089328] check-in: [645aed2fcd] user: dkf branch: trunk, size: 4721
2005-08-02
18:14
merge updates from HEAD file: [7386c0a1ff] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 4743
2005-07-26
04:11
Merge updates from HEAD file: [933cf9d8d2] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 4743
2005-07-20
23:16
Getting more systematic about style file: [a30d00c3da] check-in: [0c5cea4d81] user: dkf branch: trunk, size: 4739
2004-11-12
22:52
* unix/tclAppInit.c: Removed tclConfig.h #include, now that tcl.h takes care of it for us. file: [a2210b237e] check-in: [e02679800a] user: dgp branch: trunk, size: 4602
18:07
* unix/config.h.in: * unix/tclConfig.h.in: renamed * unix/Makefile.in: Completed support for config header, * unix/configure.in: fixed building outside of the unix dir, * unix/tclAppinit.c: and reflected the name change of config.h. * generic/tclInt.h: * unix/configure: generated file: [5e10910abc] check-in: [9e44908447] user: rmax branch: trunk, size: 4722
16:44
Adapt Tcl so it uses a config.h header instead of stuffing all #defs on the command line. Third parties using generic/tclInt.h, unix/tclAppInit.c or unix/tcl.m4 should be unaffected. Part of the general TIP#34 project. file: [37436a837e] check-in: [17ad03f44f] user: dkf branch: trunk, size: 4718
2004-10-28
18:45
merge updates from HEAD file: [09cdc67385] check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 4606
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: [52833c24e1] check-in: [7bd534cd4f] user: davygrvy branch: trunk, size: 4607
2002-12-06
03:08
* generic/tclCompile.c (TclCleanupByteCode): When encountering a shared bytecode structure we have to scan the literal table in that structure for objects of type "cmdName". These objects hold references to command structures, possibly in a different interp, and interfere with the cleanup of the refered commands (they keep their refcount up). Essentially at least one interp in a set of clones has a circular reference comand -> proc -> bytecode -> bytecode data -> cmdName obj -> command which prevents the command int that interp from being freed, leaking memory. The solution employed here is to invalidate the internal representation of 'cmdName's (but keeping the string rep), driving the refcount of refered command structures down, and breaking the cycle. file: [f584a02acd] check-in: [a9a7ea8404] user: andreas_kupries branch: mod-8-3-4-branch, size: 5118
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: [b42a24d336] check-in: [ca5713da63] user: hobbs branch: mod-8-3-4-branch, size: 5107
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: [fef8b45518] check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 4873
2002-05-31
22:20
* Removed internal routine TclMathInProgress and Unix implementation of matherr(). These are now obsolete, dealing with very old versions of the C math library. Windows version is retained in case Borland compilers require it, but it is inactive. Thanks to Joe English. [Bug 474335, Patch 555635]. file: [d7d20d0511] check-in: [e080b7f8c1] user: dgp branch: trunk, size: 4864
2002-02-12
14:22
* djgpp/ (new directory) * djgpp/Makefile (new): * unix/tclAppInit.c: * unix/tclMtherr.c: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPort.h: Early stage of DJGPP support for building Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32 for the TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe that runs Tcl in protected-mode, flat memory. [exec] and pipes will need the most work as multi-tasking on DOS has to be carefully. file: [8a3db97823] check-in: [58a026b69c] user: davygrvy branch: trunk, size: 5057
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
2000-04-18
23:06
* unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets the library path as it was unnecessary and conflicts with move of tclLibraryPath to thread-local storage. file: [99823af4b7] check-in: [7545f3c2fc] user: hobbs branch: trunk, size: 4954
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: [e01d053097] check-in: [cafaa4d046] user: redman branch: trunk, size: 5349
1999-10-13
00:32
* unix/Makefile.in: purify has to use -best-effort to instrument * unix/tclAppInit.c: identified potential mem leak when compiling tcltest (not critical) * unix/tclUnixPipe.c: fixed mem leak in TclpCreateProcess when doing alloc between vfork and execvp. * unix/tclUnixTest.c: fixed mem leak in findexecutable test command file: [b11a7276cd] check-in: [51f678993b] user: hobbs branch: trunk, size: 4514
1999-05-14
02:18
* unix/Makefile.in: * unix/tclAppInit.c: Minor cleanup related to Xt notifier. * unix/tclUnixInit.c (TclpSetInitialEncodings): Tcl now looks for an encoding subfield in the LANG/LC_ALL variables in cases where the locale is not found in the locale table. Ensure that setlocale() is called at least once so X11 will initialize properly. Also, forces the LC_NUMERIC locale to be "C" so numeric processing in scripts is not affected by the current locale setting. [Bug: 1989] file: [5c499857ec] check-in: [6ea73d3f19] user: stanton branch: trunk, size: 4375
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: [a01ac75d57] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 4375
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: [41d918e2a5] check-in: [b403ad5f28] user: stanton branch: core-8-1-branch-old, size: 4379
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: [4a6a103dae] check-in: [92d52aa5e1] user: stanton branch: trunk, size: 3869
1998-10-06
02:59
merged 8.0.4 changes into 8.1 branch file: [a1161b76f5] check-in: [e8eee9b422] user: stanton branch: core-8-1-branch-old, size: 4326
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: [01f2c3d39d] check-in: [0aa459d72f] user: escoffon branch: trunk, size: 3870
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [b273d8cdf5] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 4016
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [1195acbdb8] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 3991
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [49756b2c17] check-in: [196f92fd17] user: stanton branch: trunk, size: 3559
1998-03-26
14:56
Added: Initial revision file: [97ec54c63f] check-in: [f86c34e38d] user: rjohnson branch: trunk, size: 3538