Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Bug 3205464] - handle [wm forget] when the parent is unmapped on windows | patthoyts | 2011-03-19 | 1 | -3/+2 |
| | | | | | | | | | | The fix for [Bug 2009788] prevented a crash but causes windows to be lost if their parent is unmapped when [wm forget] is called. Added a test for this case and ensure that the parent window exists when we remap the child to its parent. Reported-by: Koen Danckaert <danckaert@users.sourceforge.net> Reported-by: Eric Boudaillier <beric@users.sourceforge.net> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> | ||||
* | [Bug 3205260] avoid crash in wm manage of children with null class | patthoyts | 2011-03-10 | 1 | -1/+2 |
| | | | | | | | | | The tkhtml widget doesn't set it's window class. The Windows implementation of the wm manage command checks to see if the contained window is actually a menu (looking for torn-off menus) by examining the class. This patch adds a check for a null class to avoid crashing as suggested. Suggested-by: Eric Boudaillier <beric@users.sourceforge.net> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> | ||||
* | [Patch #3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2. | nijtmans | 2011-01-25 | 1 | -2/+2 |
| | | | | Just the strcpy->memcpy part, to prevent anything like [Bug #3164879] | ||||
* | [Bug 2956548] TkpButtonSetDefaults only initializes one button type | nijtmans | 2010-03-12 | 1 | -24/+19 |
| | | | | | Fix various gcc warnings, all backported from Tk 8.6 VC6++ does not have SPI_SETKEYBOARDCUES | ||||
* | Make sure the window is still present when handling delayed activation [Bug ↵ | patthoyts | 2009-11-22 | 1 | -4/+15 |
| | | | | 2899949] | ||||
* | [Bug 2891541] fix minimization of main window when it is grabbed. | patthoyts | 2009-11-03 | 1 | -2/+9 |
| | | | | | | This fixes a fault in some applications that fail to release a grab set on the main toplevel which were prevented from minimizing on windows following the changes for bug 1847002. | ||||
* | [Bug 2799589] Backported fix for crash on delayed window activation. | patthoyts | 2009-06-02 | 1 | -3/+13 |
| | |||||
* | Fix [Bug 2785744]. | dkf | 2009-05-03 | 1 | -2/+2 |
| | |||||
* | [Patch 2504402] backported change to create wm icons as device independent ↵ | patthoyts | 2009-04-30 | 1 | -11/+66 |
| | | | | bitmaps. (cjmcdonald) | ||||
* | Backported fix for [Bug 1847002] to prevent the bypassing of grab ↵ | patthoyts | 2009-01-07 | 1 | -20/+81 |
| | | | | restrictions via the taskbar on Windows. | ||||
* | [Bug 2239034] Only frame widgets are acceptable for [wm manage] | patthoyts | 2008-11-15 | 1 | -1/+7 |
| | |||||
* | Backported fixes for handling unmapped parent toplevels. [Bug 2009788, 2028703] | patthoyts | 2008-08-01 | 1 | -8/+12 |
| | |||||
* | Add in missing function definitions to support plain MSVC6 and use | patthoyts | 2007-12-14 | 1 | -27/+3 |
| | | | | | INT_PTR rather than LONG_PTR which isn'tr defined in the msvc6 headers. | ||||
* | merge stable branch onto HEAD | dgp | 2007-12-13 | 1 | -1/+1 |
| | |||||
* | Fix suite of small problems that prevented a build from working for me. | dkf | 2007-12-09 | 1 | -1/+25 |
| | |||||
* | * win/tkWinButton.c, win/tkWinDialog.c: use SetWindowLongPtr and | hobbs | 2007-12-05 | 1 | -34/+1 |
| | | | | | * win/tkWinScrlbr.c, win/tkWinWm.c: GetWindowLongPtr only. * win/ttkWinMonitor.c: | ||||
* | * win/tkWinInt.h: remove CS_CLASSDC (not recommended for any apps now) | hobbs | 2007-12-05 | 1 | -67/+28 |
| | | | | | | | * win/tkWinX.c: and simplify WNDCLASS to one style. * win/tkWinWm.c: Reduce wrapper update for exStyle to toolwindow change only and set WS_EX_LAYERED as sticky (once set on a window, do not remove it) to reduce alpha transition flicker. | ||||
* | * generic/tkFocus.c, generic/tkFrame.c, generic/tkInt.h: | hobbs | 2007-10-15 | 1 | -7/+152 |
| | | | | | | | | * macosx/tkMacOSXButton.c, macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c, unix/tkUnixWm.c, win/tkWinWm.c: * doc/wm.n, tests/wm.test: TIP #125 implementation [Bug 998125] Adds [wm manage|forget] for dockable frames. Finished X11 and Windows code, needs OS X completion. | ||||
* | Assorted minor cleanups. | dkf | 2007-09-08 | 1 | -16/+18 |
| | |||||
* | * win/tkWinWm.c (WmIconphotoCmd): fix wm iconphoto RGBA issues. | hobbs | 2007-06-10 | 1 | -5/+15 |
| | | | | [Bug 1467997] (janssen) | ||||
* | TIP #145 implementation | patthoyts | 2007-05-04 | 1 | -1/+10 |
| | |||||
* | Reduce the number of warnings | dkf | 2007-02-23 | 1 | -15/+15 |
| | |||||
* | Less of that K&R or wrongly indented function header style! | dkf | 2007-02-22 | 1 | -3/+3 |
| | |||||
* | More warning squelching (mostly uninit variable warnings) | dkf | 2007-01-12 | 1 | -5/+11 |
| | |||||
* | Many minute fixes to reduce number of minor warnings from GCC. | dkf | 2007-01-11 | 1 | -20/+25 |
| | |||||
* | various "const" additions, in line with TIP #27 | nijtmans | 2007-01-05 | 1 | -2/+2 |
| | | | | fix bug #1627732 | ||||
* | * doc/wm.n, tests/winWm.test: | hobbs | 2006-12-01 | 1 | -27/+80 |
| | | | | * win/tkWinWm.c: add -transparentcolor attribute for Windows. | ||||
* | * win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk as | hobbs | 2006-04-05 | 1 | -1/+17 |
| | | | | WM_SAVE_YOURSELF wm protocol callback. | ||||
* | remove unused variable to allow compilation with VC++ in debug mode | vincentdarley | 2005-12-29 | 1 | -2/+2 |
| | |||||
* | * win/tkWinWm.c (WinSetIcon): Don't check result | mdejong | 2005-12-10 | 1 | -33/+16 |
| | | | | | | | of SetClassLong() or SetClassLongPtr() since it was generating an incorrect error and the MSDN docs indicate that the result need not be checked. | ||||
* | More fixes (mostly getting rid of excess spaces) | dkf | 2005-12-02 | 1 | -341/+342 |
| | |||||
* | Fix problems in last commit | dkf | 2005-12-02 | 1 | -181/+183 |
| | |||||
* | ANSIfication | dkf | 2005-12-02 | 1 | -1658/+1869 |
| | |||||
* | * win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspect | hobbs | 2005-12-01 | 1 | -2/+14 |
| | | | | before rewrapping. [Bug 1086049] | ||||
* | Fixed bug #1311734 | chengyemao | 2005-10-05 | 1 | -4/+4 |
| | |||||
* | Fixed bug# 1283635 | chengyemao | 2005-09-11 | 1 | -5/+5 |
| | |||||
* | Fixed bug# 1283635 | chengyemao | 2005-09-11 | 1 | -3/+4 |
| | |||||
* | * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap, ↵ | mdejong | 2005-04-07 | 1 | -5/+7 |
| | | | | | | | | | | | TkWmStackorderToplevel): * unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): * win/tkWinWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Fix panic in wm stackorder when a toplevel is created on another diplay. The code now ignores toplevels that have a display that does not match the display of the parent window. [Bug 1152809] | ||||
* | (WinSetIcon): fix GCLP_ICONSM -> GCLP_HICONSM | hobbs | 2005-03-08 | 1 | -2/+2 |
| | |||||
* | * doc/wm.n: Add documentation for -fullscreen attribute. | mdejong | 2005-02-17 | 1 | -5/+137 |
| | | | | | | | | | | | * tests/winWm.test: Add -fullscreen to wm attribute usage message. * tests/wm.test: Add -fullscreen to wm attribute usage message. Add -fullscreen attribute test cases for Windows. * win/tkWinWm.c (WmInfo, UpdateWrapper, TkpWmSetFullScreen, WmAttributesCmd, UpdateGeometryInfo): Implement TIP 223 [wm attributes -fullscreen]. | ||||
* | * win/tkWinWm.c (TkWinGetIcon): fix toplevel retrieval for | hobbs | 2005-02-11 | 1 | -10/+11 |
| | | | | determining icon ref (potential crash). [Bug 1105738] | ||||
* | Modified to handle a wide-character title string of a toplevel | chengyemao | 2005-01-31 | 1 | -4/+8 |
| | |||||
* | Added TK_INFO message for use in an embedded window attachment protocol; ↵ | chengyemao | 2005-01-16 | 1 | -6/+6 |
| | | | | modified TkpUseWindow to allow to attach to a legacy container with a warning; modified some return values of messages from an embedded window to differentiate a case of unprocessed | ||||
* | Removed WM_UNINITMENUPOPUP that may cause compiling error in WINVER < 0x0500 | chengyemao | 2005-01-13 | 1 | -2/+1 |
| | |||||
* | Minor bug fix to support embedding/embedded | chengyemao | 2005-01-12 | 1 | -9/+10 |
| | |||||
* | properly handled returned value in wm for embedded | chengyemao | 2005-01-10 | 1 | -7/+11 |
| | |||||
* | Changed to make platform implementation ready for a toplevel -use option; ↵ | chengyemao | 2005-01-09 | 1 | -2/+35 |
| | | | | completed a full toplevel -use option configuration for Windows | ||||
* | Modified to keep consistent state of an embedded window | chengyemao | 2005-01-09 | 1 | -1/+6 |
| | |||||
* | Implemented TK_STAT message to support {wm state} for embedded window | chengyemao | 2005-01-07 | 1 | -6/+61 |
| | |||||
* | Modified for separating an embedded menu's window handler from a normal ↵ | chengyemao | 2005-01-04 | 1 | -8/+6 |
| | | | | popup menu window's handler; improved an embedded menu display in Windows/XP |