summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-3/+3
|
* Complete the purge of K&R function definitions from manually-written code.dkf2007-04-161-7/+9
|
* * generic/tclBasic.c (Tcl_CreateMathFunc): Replaced somedgp2007-03-191-2/+2
| | | | | | | * 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.
* * win/tclAppInit.c: WIN32 native console signal handler removed.davygrvy2006-01-051-141/+1
| | | | | | | 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.
* Getting more systematic about styledkf2005-07-241-71/+88
|
* * 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.
* 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.
* * win/tclAppInit.c: Restored the 'setargv' procedure when Kevin B Kenny2004-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]
* minor formatting and some commentary.davygrvy2004-02-021-9/+11
|
* * 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]
* Same change in how TCL_USE_STATIC_PACKAGES is used.davygrvy2004-01-161-2/+2
|
* Punt gracefully if exitToken was already destroyed.davygrvy2003-10-141-1/+7
|
* * 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.
* fix bad cvs lf conversionJoe Mistachkin2003-05-101-449/+449
|
* fix for [Bugs 733221, 733156]Joe Mistachkin2003-05-101-400/+449
|
* * 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() %
* * 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.
* 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]
* 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.
* * 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).
* * 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.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-27/+20
|
* * 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().
* 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.
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+259