summaryrefslogtreecommitdiffstats
path: root/win/tkWin32Dll.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation with latest MinGW-w64 version 3.0: Conflict on ↵jan.nijtmans2013-10-021-15/+15
| | | | EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64.
* Fix [3588364] (hopefully)jan.nijtmans2013-06-281-3/+3
|
* Purge RCS Keywords.dgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |
* | Eliminate unneeded _TkFinalize wrapper.jan.nijtmans2011-03-121-1/+1
| |
* | merge-markjan.nijtmans2011-03-111-9/+0
|\ \ | |/
| * SEH-emulation for AMD64jan.nijtmans2011-03-111-32/+111
| | | | | | | | | | mingw-w64 does not accept _WIN32_IE < 0x0501 Merged --cherrypick from core-8-5-branch (2010-12-13, f4ecadb40d) remove conflicting definition of timezone struct
| * * win/tkWin32Dll.c (DllMain): Replace old asm SEHmdejong2005-08-231-104/+92
| | | | | | | | | | approach with Kenny's new SEH implementation. [Tcl bug 1235544]
| * * win/tkWin32Dll.c (DllMain, _except_dllmain_detach_handler):mdejong2004-10-281-1/+120
| | | | | | | | | | Back port HAVE_NO_SEH handler code from CVS HEAD to fix gcc build breakage caused by 2004-10-26 back port.
| * * generic/tkInt.h: Backport of shutdown safety mods from the HEADdavygrvy2004-10-271-7/+35
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: dating from 2003-12-21 * generic/tkUtil.c: * generic/tkWindow.c: * mac/tkMacButton.c: * unix/tkUnixEvent.c: * win/tkWin32Dll.c: * win/tkWinEmbed.c: * win/tkWinMenu.c: * win/tkWinX.c:
* | Cross-compile support for Win and UNIX (backported)nijtmans2010-12-131-3/+84
| |
* | ANSIficationdkf2005-12-021-42/+48
| |
* | * win/tkWin32Dll.c (DllMain): Replace old asm SEHmdejong2005-08-231-104/+92
| | | | | | | | | | approach with Kenny's new SEH implementation. [Tcl bug 1235544]
* | * win/tkWin32Dll.c (DllMain, _except_dllmain_detach_handler):mdejong2004-10-281-8/+48
| | | | | | | | | | | | | | | | Rework pushing of exception handler function pointer so that compiling with gcc -O3 works. Remove empty function call to avoid compiler warning. Mark the DllMain function as noinline to avoid compiler error from duplicated asm labels in generated code.
* | * win/tkWin32Dll.c: Add variables needed whenmdejong2004-03-051-1/+10
| | | | | | | | | | compiling with mem debug under Mingw. This fixes the checking from 2003-12-25.
* | * win/tkWin32Dll.c (DllMain): Add HAVE_NO_SEHmdejong2003-12-261-1/+71
| | | | | | | | | | | | blocks in place of __try and __except statements to support gcc builds. This is needed after David's changes on 2003-12-21. [Tcl patch 858493]
* | * generic/tkEvent.c: Added three new functions: TkCreateExitHandler,davygrvy2003-12-211-4/+33
|/ | | | | | | | | | | | | | | | | * 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]
* * generic/tkInt.decls: add TkWinSetHINSTANCE declhobbs2002-12-081-5/+13
| | | | | | | | | | * generic/tkIntPlatDecls.h: regen * generic/tkStubInit.c: regen * win/tkWinInit.c (TkpInit): While init and cleanup aren't correct * win/tkWinX.c (TkWinXInit): in DllMain, we had to specify the * win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a dynamic Tk weren't being loaded correctly. Created a new function TkWinSetHINSTANCE for this purpose.
* * win/tkWinX.c (TkWinXInit): Move cleanup into an exit handlerhobbs2002-12-061-16/+7
| | | | | | * win/tkWin32Dll.c (DllMain): to ensure that it will be called * win/tkWinWm.c (TkWinWmCleanup): without having to unload the dll. Also reset the static int initialized on cleanup to allow reinit.
* * win/tkWinDialog.c: added unicode-aware open/save file dialogshobbs2000-03-311-35/+1
| | | | | | | | | | | | | | | | | | | | | | | * win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId to TkWinGetPlatformId * win/tkWinMenu.c (SetDefaults): moved private use of versionInfo to TkWinGetPlatformId and removed all code for (versionInfo.dwMajorVersion < 4) (== Win32s) * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: * win/tkWinDraw.c (SetUpGraphicsPort): * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s * win/tkWinInt.h (TkWinDCState struct): added bkmode value * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for properly transparent dashed lines on Windows. [Bug: 4617]
* * Merged 8.1 branch into the main trunkstanton1999-04-161-2/+36
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+85