summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tclAppInit.c: When built as tcltest, TclThread_Init was getting calleddavygrvy2004-10-281-15/+6
| | | | | | | * win/tclAppInit.c: twice. First by TclTest_Init, then again in Tcl_AppInit. The call from Tcl_AppInit now removed. FossilOrigin-Name: 7bd534cd4f9262b35a97f4e332b92051494c4fff
* Dde package can load into a safe interp. Claim this fact for thedavygrvy2004-09-181-2/+3
| | | | | | | Tcl_StaticPackage() call when the shell is built with the TCL_USE_STATIC_PACKAGES option. FossilOrigin-Name: 1ce80d39e0a833a42cecc4dfa97c89962ae38b36
* * win/tclAppInit.c: Restored the 'setargv' procedure when kennykb2004-06-111-1/+126
| | | | | | | | | 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] FossilOrigin-Name: f0cb3345b4040a71ce3b062f118c357363e820e2
* minor formatting and some commentary.davygrvy2004-02-021-9/+11
| | | FossilOrigin-Name: 59fb37143b4a0ef4811bdf12dda581fce88f5e58
* * tests/winPipe.test: more pass-thru commandline verifications.davygrvy2004-02-011-143/+9
| | | | | | | | | * 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] FossilOrigin-Name: 072413cbd2d64b34773884c181f281e2f256105c
* Same change in how TCL_USE_STATIC_PACKAGES is used.davygrvy2004-01-161-2/+2
| | | FossilOrigin-Name: 3ebae578641ab834c8fe84b6b216b4e278f3ceb8
* Punt gracefully if exitToken was already destroyed.davygrvy2003-10-141-1/+7
| | | FossilOrigin-Name: 4d998653237b784fec9152b719cd4fcc862350c2
* * win/makefile.vc: Applied patches for bug #801467 by Joe Mistachkinpatthoyts2003-10-091-2/+2
| | | | | | | * win/tclAppInit.c: to fix incompatible TCL_MEM_DEBUG handling in * generic/tclObj.c: Win32 VC builds. FossilOrigin-Name: c6bd53ea965341f6437ac640f78f5ef4ae67a3ee
* fix bad cvs lf conversionmistachkin2003-05-101-449/+449
| | | FossilOrigin-Name: 4bc19ebde0e21c2235945d38c371315263993b47
* fix for [Bugs 733221, 733156]mistachkin2003-05-101-400/+449
| | | FossilOrigin-Name: f41a1c54433ccb79684d5b8214243b3a1a14a1b0
* * win/tclAppInit.c (sigHandler): Protect from trying to close adavygrvy2002-12-041-3/+7
| | | | | | | | | | | | | | | | | | | | 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() % FossilOrigin-Name: 9e7de7ab45376b32862af68824a2a7eeef92c693
* * win/tclAppInit.c: Calls Registry_Init() and Dde_Init() whendavygrvy2002-11-041-1/+18
| | | | | | | | | | | | | | | 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. FossilOrigin-Name: 6f8015704616a8dbb9e30fc2366fe51a88706880
* Added proper exiting conditions using Win32 console signals. This handlesdavygrvy2002-09-301-1/+79
| | | | | | | | | 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] FossilOrigin-Name: 6f48010fb579458d41f01f03798219fd05b58698
* reverted back to 1.6, as the header file change to tclPort.h doesn't allow fordavygrvy2002-02-211-2/+3
| | | | | | easy embedded support. Thanks to Don Porter for pointing this out to me. FossilOrigin-Name: 434cb6babc788a23106ba674396f7d0349555467
* * win/tclAppInit.c: Changed #include "tcl.h" to be tclPort.h todavygrvy2002-02-211-3/+2
| | | | | | | | | 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). FossilOrigin-Name: 2bba08d67fb816fc7f44ca253a461d2c4fa1c312
* * generic/tcl.decls :redman1999-12-021-2/+44
| | | | | | | | | | | | | | | | * 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. FossilOrigin-Name: cafaa4d04661ff95bf15eaa7e7562cef869a8258
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-27/+20
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* * win/tclAppInit.c:stanton1999-02-031-5/+5
| | | | | | | | | | | | | | * 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(). FossilOrigin-Name: 92d52aa5e1c74618d6f05105eed253980a25d98a
* Added a new Tcl object called "procbody"; this object's internalescoffon1998-10-051-1/+8
| | | | | | | | | 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. FossilOrigin-Name: 0aa459d72f6b4b36bc6ce6cbf2e6caa923b60acd
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-261-0/+259
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a