summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* corrected return values and added comments for embedded window messageschengyemao2005-01-101-23/+156
|
* properly handled returned value in wm for embeddedchengyemao2005-01-101-7/+11
|
* Modified to support a container of either a toplevel or a framechengyemao2005-01-091-13/+25
|
* Changed to make platform implementation ready for a toplevel -use option; ↵chengyemao2005-01-093-6/+61
| | | | completed a full toplevel -use option configuration for Windows
* bug fix [637653]chengyemao2005-01-091-3/+3
|
* Bug fix in ReconfigureWindowsMenu. The bug caused a wrong geometry of a ↵chengyemao2005-01-091-9/+1
| | | | toplevel when created with a menu (bug# 1098625)
* Modified to keep consistent state of an embedded windowchengyemao2005-01-091-1/+6
|
* Implemented TK_STAT message to support {wm state} for embedded windowchengyemao2005-01-074-9/+78
|
* Removed unnecsssary panic from TkpUseWindow and forced redraw container ↵chengyemao2005-01-071-5/+2
| | | | after the embedded detached
* Made the remarks of TkpUseWindow clearer regarding the embedding/embedded ↵chengyemao2005-01-051-6/+10
| | | | attachment protocol
* Modified for separating an embedded menu's window handler from a normal ↵chengyemao2005-01-042-13/+125
| | | | popup menu window's handler; improved an embedded menu display in Windows/XP
* * win/tkWinWm.c (TkWinWmCleanup): clean up layered window class.hobbs2005-01-041-2/+11
| | | | This caused crash in reinit of Tk (as seen in plugin).
* * win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, removehobbs2004-12-302-13/+28
| | | | | | -Gs (included in -O2) and -GD (outdated). Use "link -lib" instead of "lib" binary and remove -YX for MSVC7 portability. Add -fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967]
* Modified to support embedded menu widgetchengyemao2004-12-285-35/+120
|
* Bug fix in TkpWinToplevelMove and TkpWinToplevelIsControlledByWmchengyemao2004-12-211-4/+8
|
* implemented overrideredirect for an embedded; corrected incorrect frame ↵chengyemao2004-12-205-28/+124
| | | | upper left x and y of an embedded toplevel
* Corrected handling of MacOS filetypes in tk_*file dialogsvincentdarley2004-12-201-10/+17
|
* featrue implementation of Tk container and embedded including TK_MOVEWINDOW, ↵chengyemao2004-12-205-78/+235
| | | | TK_ICONIFY, TK_DEICONIFY, TK_WITHDRAW; replaced TK_TITLE with TK_GETFRAMEWID for setting container's title across process boundary; bug fix in wm overrideredirect for TK_EMBEDDED window
* Bug fix and feature implementation of embedded/embedding Tkchengyemao2004-12-194-18/+133
|
* Bug fix [222677]chengyemao2004-12-181-25/+24
|
* Added comments to embedded Window message definitionchengyemao2004-12-181-6/+6
|
* bug fix (842945,831627)chengyemao2004-12-173-44/+24
|
* Bump to 8.5a3donal.k.fellows@manchester.ac.uk2004-12-111-2/+2
|
* * win/makefile.vc: Shell targets needed more stack space. [Bug 1066755]davygrvy2004-11-261-4/+4
|
* * tests/wm.test: Add Win32 test cases for attributesmdejong2004-10-291-9/+11
| | | | | | subcommand. * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic for attributes subcommand.
* * 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/tkWinX.c: Signature for tkWinXCleanup needed to bedavygrvy2004-10-272-6/+8
| | | | | | | * generic/tkInt.decls: changed so it matches the Tcl_ExitProc * generic/tkIntPlatDecls.h: typedef to avoid a bad-style cast. * win/makefile.vc: Force TCL_LIBRARY envar when calling tclsh
* * win/tkWinRegion.c (TkpBuildRegionFromAlphaData): Fixed syntax errorpatthoyts@users.sourceforge.net2004-10-261-2/+2
| | | | * generic/tkImgPhoto.c (Tk_PhotoPutBlock): Removed unreferences vars.
* Attempt to fix [Bug 919066] by allowing the code that creates the regiondonal.k.fellows@manchester.ac.uk2004-10-261-1/+62
| | | | much more knowledge of the platform functions available to it.
* Add -hide and -stretch options to panedwindow widgets. (TIPs 177 and 179)donal.k.fellows@manchester.ac.uk2004-10-241-1/+3
| | | | Thanks to Brian Griffin for developing these! [Patch 983886]
* * win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER tohobbs2004-10-211-2/+3
| | | | | SetWindowPos when maintaining win Z order, to prevent parent from flashing (adjusting Z order).
* * doc/wm.n (iconphoto): added support for Tk photohobbs2004-10-051-6/+117
| | | | | | | | * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159 * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ... * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
* * win/tkWinX.c: Added declaration for advapi32 now that this filepatthoyts@users.sourceforge.net2004-09-241-1/+2
| | | | uses the Reg* functions (req'd for nmake build system).
* * win/tkWinInt.h (TkWinDisplayChanged): added declhobbs2004-09-233-70/+219
| | | | | | | | * win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly * win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): handle color and screen resolution changes. Tested for 16/24/32 bpp changes on XP. May need more fixes for 8bpp switch, use of special colormaps, or other special palette handling cases. [Bug 223689]
* * generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.mdejong2004-09-213-27/+95
| | | | | | | | | | | | | | | | It is only defined under Win32. * generic/tkIntPlatDecls.h: Regen. * generic/tkStubInit.c: Regen. * win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and TK_THEME_WIN_XP. * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel): Draw a disabled 3D text highlight for the accelerator only with the Win95/98 look. Same goes for the menu entry text. * win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme): Automatically detect the Windows theme in use and return either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the TkWinGetPlatformTheme function is invoked. [Patch 866194]
* * win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHAmdejong2004-09-211-3/+5
| | | | defines so that compiling with mingw works again.
* * win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attributehobbs2004-09-211-41/+41
| | | | | settings prior to window mapping and resort to more forceful wrapper update again for -toolwindow (to remove it from taskbar).
* (UpdateWrapper): don't adjust Z order of TOPMOST window.hobbs2004-09-191-13/+26
| | | | | (WmAttributesCmd): don't call UpdateWrapper for -disabled or -toolwindow attr changes.
* * win/tkWinWm.c (WmAttributesCmd): correct -alpha 0.0/1.0 settinghobbs2004-09-181-17/+14
| | | | and round the value.
* * doc/wm.n:hobbs2004-09-172-21/+159
| | | | | | * tests/winWm.test: Add 'wm attributes -alpha' to control toplevel * win/tkWinInt.h: alpha transparency on Win2K/XP+. * win/tkWinWm.c: TIP #222 [Patch 892194]
* * win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z orderhobbs2004-09-171-4/+30
| | | | | * tests/winWm.test: and focus of preexisting window when replacing the wrapper window.
* added VC7-safe environment check used in the Tcl makefile.vcdavygrvy2004-09-161-5/+7
|
* * win/tkWinWm.c (WmIconwindowCmd): Replace bogusmdejong2004-09-151-8/+3
| | | | | | | | call to XWithdrawWindow with proper code. This avoids a "couldn't send withdraw message to window manager" error when the iconwindow is already mapped. The wm iconwindow command does not seem to do much under Win32, but at least this avoids an error message.
* * win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the righthobbs2004-09-131-15/+10
| | | | size for both icons ('?:' order of precedence mistake).
* (UpdateWrapper): update to 2004-06-12 Kovalenko to account forhobbs2004-09-101-14/+16
| | | | | | whether the override window has a transient parent, and apply WS_POPUP in the correct case. The makes splash screens pop up as well as making dropdowns not grab focus away from the parent.
* * win/tkWinWm.c (ActivateWindow): SetFocus to grab window whenhobbs2004-09-101-4/+9
| | | | clicking outside the grab window hierarchy. [Bug 220908]
* include tkTest.c in list of files which depend on tkText.hvincentdarley2004-09-101-1/+2
|
* * win/tkWinWm.c (ReadIconFromFile): when using SHGetFileInfo tohobbs2004-09-101-22/+45
| | | | retrieve icon, get regular icon as well for correct Alt-Tab icon.
* Set TK_LIBRARY when execing Tk apps (test, runtest, rundemo).patthoyts@users.sourceforge.net2004-09-061-1/+4
|
* Make sure user_data is NULL everywhere it isn't set. [Bug 1021812]donal.k.fellows@manchester.ac.uk2004-09-031-1/+2
|