summaryrefslogtreecommitdiffstats
path: root/win/winMain.c
Commit message (Collapse)AuthorAgeFilesLines
* ANSIficationdkf2005-12-021-54/+64
| | | FossilOrigin-Name: 1be88f1039a57d37b1f4567340d02ca39ddb3575
* * win/winMain.c (WishPanic): Replaced TCL_VARARGS* macros withdgp2005-09-131-5/+4
| | | | | | direct use of stdarg.h conventions. FossilOrigin-Name: 56582c3dd34e4269e3f3c82ae4d4e51370e186bd
* #include <malloc.h> has no purpose.davygrvy2004-02-021-2/+1
| | | FossilOrigin-Name: 393d21c5f0f4e3ecdd3ed38a1302f9aa35c39f59
* * win/winMain.c: Removed our custom setargv() in favor ofdavygrvy2004-02-011-165/+8
| | | | | | the exported __argc and __argv exported by the c-runtime. FossilOrigin-Name: c3a6e16b0eb48a60e949a8b9704849fb4a6465aa
* * generic/tkEvent.c: Added three new functions: TkCreateExitHandler,davygrvy2003-12-211-2/+2
| | | | | | | | | | | | | | | | | | | * generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds * generic/tkMenu.c: an insertion point so Tk's exit handlers can be * generic/tkWindow.c: called on their own from tk85.dll's DllMain * mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to * unix/tkUnixEvent.c: the binary and not exported. It is possible * win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl * win/tkWinEmbed.c: under some conditions such as ExitProcess(). * win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl * win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded. * win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with SEH as DeleteWindowsExitProc is causing an exception of its own under some teardown conditions. AT&T assembly syntax has not been added for MinGW yet. [Tcl Patch 858493] FossilOrigin-Name: e12249878fe2fa70e532f6629a899a96c165e3e3
* fixed bad commit from before. my mistake. This is 1.16 now.davygrvy2003-12-121-4/+45
| | | FossilOrigin-Name: 230fc8e6e275c51e7554e184c6dfb800194aac9e
* Reverted to 1.15 for two reasons. 1) problem is best addressed in Tcl'sdavygrvy2003-12-121-45/+4
| | | | | | | DllMain() and 2) needs a MinGW custom assembly implimentation as it doesn't understand SEH syntax. FossilOrigin-Name: ed497699c491ef753f6da6fc9605863cc87a5fa7
* * win/makefile.vc: Applied patches from tcl bug #801467 frompatthoyts2003-10-141-2/+43
| | | | | | * win/winMain.c: Joe Mistachkin FossilOrigin-Name: 61f443b1d6f0094d96611654658cf411d833e91b
* * 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. FossilOrigin-Name: 430b4100e7aecc7a466e1a42a07a91ac7ce91717
* * win/winMain.c (WinMain, main): remove obsolete SetMessageQueue callhobbs2002-10-191-21/+1
| | | FossilOrigin-Name: 1b4c22ee355db729eaf25b0dde58c6c4507aaef2
* 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. FossilOrigin-Name: 85aa3e209016ec5dccf66dd0595b87989845a100
* * 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]. FossilOrigin-Name: e82e08ec10881d98c016391391eb668f454d5efc
* * win/winMain.c (WishPanic): fixed CONST changes to go withhobbs2001-08-041-5/+5
| | | | | | CONST-ification in Tcl. FossilOrigin-Name: ec8eadb616d6bb87ff8bf1d5f0dde5f92aa8292a
* * 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 FossilOrigin-Name: 363c75beb90525f9a7136a709b82fc3a43a9bf41
* * 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. FossilOrigin-Name: b63cb594110edc0757028e2f29b0b026628982fa
* * win/winMain.c: corrected winMain to not do a DebugBreak whenhobbs1999-11-101-2/+6
| | | | | | returning an error message from the top level FossilOrigin-Name: 573f3d0c33b3530b217d41afa5aa1b55af4df38c
* 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) FossilOrigin-Name: 702512c22952ed7a1cf3c17fa96c34452140d7c4
* * Merged 8.1 branch into the main trunkstanton1999-04-161-29/+95
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* integrated stubs into 8.0 main branchstanton1999-03-101-12/+3
| | | FossilOrigin-Name: 4c74dd207943932e6d9a6d06a3ec11b8e4459199
* * 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. FossilOrigin-Name: 3afc334c67e9e295066148c5eeca74ab9bca9c3b
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* Removed assembly codewelch1998-07-241-3/+1
| | | FossilOrigin-Name: 7a5ff3b8b178079532ce7169646e2f5735768485
* Initial revisionrjohnson1998-04-011-0/+323
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4