summaryrefslogtreecommitdiffstats
path: root/win/winMain.c
Commit message (Collapse)AuthorAgeFilesLines
* Purge RCS Keywords.dgp2011-06-081-2/+0
|
* Reverted to 1.15 for two reasons. 1) problem is best addressed in Tcl'sdavygrvy2003-12-121-7/+5
| | | | | DllMain() and 2) needs a MinGW custom assembly implimentation as it doesn't understand SEH syntax.
* (WishPanic) : placed ExitProcess() in a __try block (SEH) to catch anydavygrvy2003-12-111-4/+6
| | | | | | | | | | | | exceptions that might happen. As Tcl will call Tcl_Finalize from its DllMain due to the unload from ExitProcess() unloading Tcl, and if Tcl_Panic had gotten called in an __except block, this avoid the possibility of not being able to exit. Falls to TerminateProcess() in the __except case. Removed the #ifdef _MSC_VER around DebugBreak as that function exists in kernel32.dll and is not compiler dependent. I'd prefer to use if (IsDebuggerPresent()) DebugBreak(); but IsDebuggerPresent() isn't available in all kernel32.dll modules for all versions of windows.
* * win/winMain.c (Tcl_AppInit): Calls Registry_Init() anddavygrvy2002-11-041-1/+17
| | | | | | | | | | | | | Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set. * win/makefile.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde static lib files to the link of the shell. [Patch 479697] * win/rules.vc: Matches the one from Tcl. * win/buildall.vc.bat: More useful commentary.
* * win/winMain.c (WinMain, main): remove obsolete SetMessageQueue callhobbs2002-10-191-21/+1
|
* 2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>hobbs2002-09-271-2/+3
| | | | | | | | | | | | | | | | Added basic Cygwin support. * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW. * win/configure: Regenerate. * win/tkWinPort.h (tchar.h): Do not include on Cygwin. (_T): Define for Cygwin. * win/winMain.c (main): Conditionally define.
* * win/Makefile.in: Removed dependence on the (parts of) thedgp2002-08-261-17/+1
| | | | | * win/winMain.c: tcltest executable on Windows. It was not used, and the dependency complicated the Makefile. [Bug 592638].
* * win/winMain.c (WishPanic): fixed CONST changes to go withhobbs2001-08-041-5/+5
| | | | CONST-ification in Tcl.
* * library/choosedir.tcl (::tk::dialog::file::chooseDir::Config):hobbs2000-04-191-23/+23
| | | | | | | | | * library/tkfbox.tcl (::tk::dialog::file::Config): removed the extraneous glob on -initialdir after file isdir already returned 1 and moved cd trick into this case as the else already uses [pwd]. [Bug: 5181] * win/winMain.c: moved extern call out of WinMain func
* * generic/tkMain.c :redman1999-12-021-9/+50
| | | | | | | * unix/tkAppInit.c: * win/winMain.c: Added added hooks into the main() code for supporting TclPro and other "big" shells more easily without requiring a copy of the main() code.
* * win/winMain.c: corrected winMain to not do a DebugBreak whenhobbs1999-11-101-2/+6
| | | | returning an error message from the top level
* Rename TkConsoleCreate_() to Tk_InitConsoleChannels() and make theredman1999-04-281-4/+4
| | | | | | function public. Add an interp argument and init the Tcl stubs. Rename TkConsoleInit() to Tk_CreateConsoleWindow() Remove TkConsoleCreate() (no underbar)
* * Merged 8.1 branch into the main trunkstanton1999-04-161-29/+95
|
* integrated stubs into 8.0 main branchstanton1999-03-101-12/+3
|
* * mac/tkMacAppInit.c:stanton1999-02-041-2/+2
| | | | | | | | | * generic/tkTest.c: * generic/tkAppInit.c: * win/winMain.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.
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Removed assembly codewelch1998-07-241-3/+1
|
* Initial revisionrjohnson1998-04-011-0/+323