Tk Source Code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

102 check-ins using file win/tkWinButton.c version b0fe55a3

2011-06-08
14:44
Update changes for 8.5.10 check-in: 2cdc5b18 user: dgp tags: core-8-5-branch
2011-06-07
21:30
correction check-in: 9b0d4315 user: dgp tags: core-8-5-branch
21:27
Backport [Bug 2482771] fix. check-in: 71ccc3ca user: dgp tags: core-8-5-branch
21:06
Bug 2358545: Restore support for values "08" and "09"in a [spinbox] configured to use -from and -to values. check-in: 621ce463 user: dgp tags: core-8-5-branch
2011-06-06
21:57
Restore proper NUL output to the [console]. [Bug 2546087] check-in: 7e5d2fdd user: dgp tags: core-8-5-branch
21:36
Second draft of fix for 2546087. This one is better since it avoids even the appearance that the "identity" encoding is something useful. :) Both fixes are fragile to [chan configure]s that set the stdout/err encoding to something incompatible. This is a fragility inherent in the design of Tcl_Channels (see RFE 3312630) Closed-Leaf check-in: d0be486c user: dgp tags: bug-2546087
17:38
Possible (untested, fragile) fix for Bug 2546087 committed for testing. check-in: 40932346 user: dgp tags: bug-2546087
2011-06-01
10:47
[Bug # 3306909]: tk_popup placement on Windows Vista can be incorrect.

When posting menus near the bottom of the screen on Windows versions newer than XP the menu may be placed incorrectly. This is due to code in PostOverPoint that corrects an error in the XP window manager. This fix is no longer required for Vista and Windows7.

Reported-by: Harald Oehlmann <[email protected]> Signed-off-by: Pat Thoyts <[email protected]> check-in: 6db4a05c user: patthoyts tags: core-8-5-branch

2011-05-26
20:47
Release candidate branch for Tk 8.5.10 check-in: 98fe7b7c user: dgp tags: core-8-5-10-rc
2011-04-30
22:29
[Bug 3294593] fix menu unposting under some conditions.

Moving the pointer off a cascaded submenu over the application window and then back to the parent menu window on a non-cascade entry would leave the submenu displayed when it should be unposted. This patch solves this issue.

Suggested-by: Schelte Bron <[email protected]> Signed-off-by: Pat Thoyts <[email protected]> check-in: a337b2c4 user: patthoyts tags: core-8-5-branch

22:28
[Bug 2949774]: cascade menus should popdown ofter loosing the pointer.

When the pointer moves to another entry from a cascade entry the sub-menu should popdown. This is how other menus on X11 work today. This effect will not be used if the user has configured ClickToFocus to maintain the previous Tk menu effects.

(backported from trunk)

Signed-off-by: Pat Thoyts <[email protected]> check-in: 27b9615d user: patthoyts tags: core-8-5-branch

2011-04-22
18:21
[Bug 3291543] There was a crash if dchars removed all coordinates of a polygon. check-in: 7262cbf0 user: pspjuth tags: core-8-5-branch
2011-04-21
22:56
eliminate unneeded variable displayFocusPtr check-in: 659cc90e user: jan tags: core-8-5-branch
21:18
Document all variable options as global. check-in: 826dd8fd user: pspjuth tags: core-8-5-branch
00:17
Synchronize rules.vc with the version in the tcl source tree.

Signed-off-by: Pat Thoyts <[email protected]> check-in: cf3a5e70 user: patthoyts tags: core-8-5-branch

2011-04-12
14:28
minor nits, taken over from TEA (tclconfig) check-in: 2d4f4a71 user: jan.nijtmans tags: core-8-5-branch
2011-04-04
22:04
[Bug 723765]: When a slave was removed from grid, the -in option was not remembered. check-in: 403a6f20 user: pspjuth tags: core-8-5-branch
19:40
[Bug 2997657]: Removed -container from labelframe documentation since it does not work as expected and does not make sense as a container. Added note to frame about restrictions when used as a container. check-in: 7b107e6e user: pspjuth tags: core-8-5-branch
2011-03-28
09:20
[Bug 3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2. One more place where this problem could appear. check-in: bc537f82 user: jan.nijtmans tags: core-8-5-branch
2011-03-27
20:09
fix genStubs.tcl in one place where it generated "void *" in stead of "VOID *" check-in: 3e846767 user: jan tags: core-8-5-branch
2011-03-26
06:36
The -debug:full option is not supported when using the modern versions of link.exe included with MSVC, use -debug instead check-in: 214c36af user: jan tags: core-8-5-branch
2011-03-24
08:50
[Bug #3239768] tk8.4.19 (and later) WIN32 menu font support. check-in: 25270cde user: jan.nijtmans tags: core-8-5-branch
2011-03-22
20:48
[Bug 3000002]: enable use of system sizes for vsapi elements

Added additional flags to the vsapi element engine to enable specifying the system metrics to use when calculating the size of certain elements. This was being done already for the XP theme but the scripted definitions using the vsapi engine for vista/win7 could not use such flags. This fixes scrollbars not reflecting the users configured scrollbar size.

Reported-by: Mark Garvey <[email protected]> Signed-off-by: Pat Thoyts <[email protected]> check-in: 69d26c40 user: patthoyts tags: core-8-5-branch

2011-03-19
02:00
[Bug 3223850] - button remains stuck when disabled as depressed on XP

If a button is disabled while the state is pressed, then the release event handler did not remove the pressed state. Modified the handler to always remove the pressed state while only calling invoke if !disabled.

Reported-by: Thomas MENEZ <[email protected]> Signed-off-by: Pat Thoyts <[email protected]> check-in: 3837f9f2 user: patthoyts tags: core-8-5-branch

00:39
[Bug 3205464] - handle [wm forget] when the parent is unmapped on windows

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 <[email protected]> Reported-by: Eric Boudaillier <[email protected]> Signed-off-by: Pat Thoyts <[email protected]> check-in: ecfa48e7 user: patthoyts tags: core-8-5-branch

2011-03-17
14:38
merge core-8-5-branch Closed-Leaf check-in: ed41b6cd user: jan.nijtmans tags: bug-3216070
2011-03-16
23:47
[Bug 3181181] tearoff sub-menu windows not being shown on Windows.

Commit f59e9722e9 changed tearoff menu windows to be transient toolwindow toplevels. However the hidden menu hierarchy confuses the toplevel search when the menu being torn off is a submenu and not a direct child of the menubar. This patch fixes the search to exclude these hidden menu windows.

Signed-off-by: Pat Thoyts <[email protected]> check-in: 8c54d46c user: patthoyts tags: core-8-5-branch

22:13
bug-3216070 check-in: 0fc858d2 user: jan.nijtmans tags: bug-3216070
22:06
Make SHLIB_LD_LIBS='${LIBS}' the default and set to "" on per-platform necessary basis. Backported from TEA, but kept all original platform code which was removed from TEA. check-in: 19e46065 user: jan.nijtmans tags: core-8-5-branch
21:52
autoconf-2.59 check-in: 453176f9 user: jan.nijtmans tags: core-8-5-branch
2011-03-12
00:03
Eliminate unneeded _TkFinalize wrapper. check-in: 7bdee82d user: jan.nijtmans tags: core-8-5-branch
2011-03-11
23:48
merge-mark check-in: 59d5f0cb user: jan.nijtmans tags: core-8-5-branch
15:01
merge-mark check-in: b078bfa9 user: jan.nijtmans tags: core-8-5-branch
09:13
Eliminate some unneeded write-only variables (discovered by gcc-4.6) check-in: 55e551bb user: jan.nijtmans tags: core-8-5-branch
2011-03-10
15:27
[Bug 3205260] avoid crash in wm manage of children with null class

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 <[email protected]> Signed-off-by: Pat Thoyts <[email protected]> check-in: 27afdfb6 user: patthoyts tags: core-8-5-branch

2011-03-09
16:55
Fix libXft check check-in: 2238347e user: rmax tags: core-8-5-branch
2011-03-08
20:39
We are no longer on CVS, so don't need the .cvsignore files any more check-in: f3455aee user: jan.nijtmans tags: core-8-5-branch
2011-02-28
21:28
Mark merge of 8.4 bugfixes into 8.5 development. check-in: 26a1f54b user: dgp tags: core-8-5-branch
2011-01-25
08:31
[Patch #3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2. Just the strcpy->memcpy part, to prevent anything like [Bug #3164879] check-in: eea2c8aa user: nijtmans tags: core-8-5-branch
2011-01-22
18:48
ttk::combobox: Add missing 'validate' command (reported by schelte). check-in: 0417936d user: jenglish tags: core-8-5-branch
2011-01-19
14:28
Make sure to use CONST/VOID in stead of const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing. check-in: ef62c8b8 user: nijtmans tags: core-8-5-branch
08:40
Make sure to use CONST/VOID in stead of const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing. check-in: 92aabe1a user: nijtmans tags: core-8-5-branch
08:39
Make sure to use CONST/VOID in stead of const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing. check-in: 1991bcd2 user: nijtmans tags: core-8-5-branch
08:37
Make sure to use CONST/VOID in stead of const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing. check-in: ebf9ae17 user: nijtmans tags: core-8-5-branch
2011-01-17
08:46
handle --enable-64bit=ia64 for gcc. BACKPORT. check-in: 27d1d095 user: nijtmans tags: core-8-5-branch
2011-01-13
07:48
[Patch #3154705] Close button has no effect check-in: 7cfb8b1c user: nijtmans tags: core-8-5-branch
2011-01-06
06:00
Cast some NULLs to (void *) in order to quash "missing sentinel in function call" compiler warnings. check-in: b7a58eae user: stwo tags: core-8-5-branch
2010-12-17
21:57
[Bug 2446711]: Remove 'allpatch' target. check-in: 329b7190 user: stwo tags: core-8-5-branch
17:57
Use 'rpmbuild', not 'rpm' [Bug 2537626]. check-in: 88ee6779 user: stwo tags: core-8-5-branch
2010-12-13
21:23
Cross-compile support for Win and UNIX (backported) check-in: f4ecadb4 user: nijtmans tags: core-8-5-branch
2010-12-12
12:01
Better building on OpenBSD. check-in: 1a228553 user: stwo tags: core-8-5-branch
2010-11-24
15:15
re-wrote TkpDisplayWarning such that it does not use an Tcl API calls any more, so it works even with an ill-initialized Tcl Teach WishPanic how to thread UTF-8 in it's messagebox. Both of those changes backported from Tcl 8.6. No change in functionality. check-in: e7a9f4f8 user: nijtmans tags: core-8-5-branch
15:11
[Bug #3071836]: Crash/Tcl_Panic on WinXP saving file to C:\ check-in: 86a806c2 user: nijtmans tags: core-8-5-branch
2010-11-19
22:42
Allow cross-compilation by default (backported) Use -pipe for gcc on win32 (backported) check-in: 070f77c8 user: nijtmans tags: core-8-5-branch
2010-11-16
15:06
[Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1 check-in: e2f3d688 user: nijtmans tags: core-8-5-branch
2010-11-04
09:48
Updated German messages. Thanks to Ruediger Haertel. [Patch 2442309] [Bug 3102739]. check-in: b170dc02 user: nijtmans tags: core-8-5-branch
2010-10-23
21:29
Update for VS10 check-in: e9950e27 user: nijtmans tags: core-8-5-branch
2010-10-11
21:35
Fix crash in 'tag add' / 'tag remove' when no -tags specified [SF#3085489]. check-in: 5a74549e user: jenglish tags: core-8-5-branch
2010-10-06
10:19
* win/Makefile.in (genstubs): [Tcl Bug 3082049]: Typo.
check-in: 10798fd2 user: dkf tags: core-8-5-branch
2010-09-08
17:57
TreeviewSeeCommand: Schedule redisplay if [$tv see] opens any items #2829363 check-in: cc412600 user: jenglish tags: core-8-5-branch
2010-09-02
18:05
Tag for RC4 release check-in: a774fe93 user: dgp tags: core-8-5-9, core-8-5-branch
17:46
library/ttk/winTheme.tcl, library/ttk/xpTheme.tcl, library/ttk/vistaTheme.tcl: Specify disabled combobox text foreground color #3057573. check-in: 6bc41796 user: jenglish tags: core-8-5-branch
2010-09-01
20:04
* changes: Updated for 8.5.9 release.
check-in: 9ca04d5a user: dgp tags: core-8-5-branch
16:40
library/ttk/entry.tcl: Revert keyboard navigation bindings to use real events instead of virtual events. check-in: 5d87a646 user: jenglish tags: core-8-5-branch
15:15
* doc/menu.n: Formatting error.
check-in: c95fd071 user: dgp tags: core-8-5-branch
14:26
Tag for RC2 release check-in: 047d5b15 user: dgp tags: core-8-5-branch
2010-08-31
20:47
* win/tcl.m4: Applied patch by Jeff fixing issues with the manifest handling on Win64. * win/configure: Regenerated. check-in: 7eb3622e user: andreas_kupries tags: core-8-5-branch
2010-08-30
14:16
Tag for RC1 release check-in: 12f348c4 user: dgp tags: core-8-5-branch
2010-08-27
00:32
* generic/tkText.c (DumpLine): s/segPtr->size/currentSize/ throughout, but particularly in if lineChanged block where segPtr may no longer be valid. [Bug 3053347]
check-in: c8bd1f7d user: hobbs tags: core-8-5-branch
00:21
* win/Makefile.in (VC_MANIFEST_EMBED_DLL VC_MANIFEST_EMBED_EXE): * win/configure, win/configure.in, win/tcl.m4: SC_EMBED_MANIFEST macro and --enable-embedded-manifest configure arg added to support manifest embedding where we know the magic. Help prevents DLL hell with MSVC8+.
check-in: 34162263 user: hobbs tags: core-8-5-branch
00:19
* unix/Makefile.in: add valgrind target * unix/configure, unix/tcl.m4: SHLIB_LD_LIBS='${LIBS}' for OSF1-V*. Add /usr/lib64 to set of auto-search dirs. [Bug 1230554] (SC_PATH_X): Correct syntax error when xincludes not found.
check-in: a298d124 user: hobbs tags: core-8-5-branch
2010-08-26
19:56
add Ttk update to changes check-in: 3004501f user: hobbs tags: core-8-5-branch
02:07
note bug/patch 3053320 for ttk backport changes check-in: c671cbdc user: hobbs tags: core-8-5-branch
02:06
Major backport of 8.6 Ttk for 8.5.9. Most changes were only being committed to head (8.6), although they could apply for 8.5 as well. This re-sync makes future work easier to maintain and adds some useful work for 8.5 users. Notable changes: - Lots of code cleanup - Some bug fixes never backported - Addition of ttk::spinbox - minor color changes - Improved Vista/7 styling - Move to tile version 0.8.6 (pseudo-package) - ABI and API compatible (even $w identify) - minor new features (extended $w identify)
check-in: 4cd6631d user: hobbs tags: core-8-5-branch
2010-08-24
18:34
* changes: Updated for 8.5.9 release.
check-in: fcb128dc user: dgp tags: core-8-5-branch
2010-08-19
23:32
* doc/listbox.n (SEE ALSO): [Bug 3048809]: Corrected what other page was referred to (ttk::treeview can work as a listbox).
check-in: bd2bee2f user: dkf tags: core-8-5-branch
2010-08-16
08:40
regen check-in: 03643d25 user: das tags: core-8-5-branch
2010-08-12
07:59
* library/text.tcl (TextCursorInSelection): [Patch 2585265]: Backport of factoring-out of decision logic for whether to delete the selected text.
check-in: 661652c3 user: dkf tags: core-8-5-branch
00:37
* win/Makefile.in (%.${OBJEXT}): better implicit rules support
check-in: 2e49a986 user: hobbs tags: core-8-5-branch
00:14
* unix/configure: regen with ac-2.59 * unix/configure.in, unix/Makefile.in: * unix/tcl.m4 (AIX): remove the need for ldAIX, replace with -bexpall/-brtl. Remove TK_EXP_FILE (export file) and other baggage that went with it. Remove pre-4 AIX build support.
check-in: 3914ddc5 user: hobbs tags: core-8-5-branch
2010-08-11
09:39
* generic/tkCanvLine.c (LineDeleteCoords): [Bug 2900121]: Backport of fix to sense of test.
check-in: 974b676f user: dkf tags: core-8-5-branch
2010-08-10
20:36
tidy up check-in: 0f34e5d3 user: dgp tags: core-8-5-branch
17:28
* library/msgs/pl.msg: Backport updates to pl.msg from HEAD
check-in: 5ee7c5c0 user: dgp tags: core-8-5-branch
2010-08-05
17:09
move release tag check-in: 9013a0b4 user: uid37551 tags: core-8-5-branch
2010-08-04
19:38
fix DFARs note for number-adjusted rights clause check-in: bb37c9c1 user: hobbs tags: core-8-5-branch
17:06
* generic/tk.h: Bump to 8.5.9 for release. * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * README:
* unix/configure: autoconf-2.59 * win/configure:
* changes: Updated for 8.5.9 release.
check-in: 0d60450e user: dgp tags: core-8-5-branch
2010-08-03
23:12
* library/button.tcl (::tk::CheckEnter): use uplevel set instead of set :: to work with other var resolvers (itcl). [AS Bug#87409]
check-in: cf11722c user: hobbs tags: core-8-5-branch
16:14
Dup test IDs check-in: 41cf133e user: dgp tags: core-8-5-branch
14:43
* changes: Updated for 8.5.9 release.
check-in: 7f477992 user: dgp tags: core-8-5-branch
2010-07-06
17:15
* doc/text.n: Fixed minor typo in the description of 'text delete', as reported by <[email protected]> on the chat. check-in: 831a6bb1 user: andreas_kupries tags: core-8-5-branch
2010-05-31
17:22
Tk_CreateBinding: Silently ignore empty binding scripts (Fixes [Bug 3006842]). ttkTreeview.c: [$tv tag bind $tag <...> {}] now removes binding. check-in: edac9a28 user: jenglish tags: core-8-5-branch
13:47
Add command line processing for CYGWIN, backported from trunk. check-in: 7ef1f1f4 user: nijtmans tags: core-8-5-branch
10:29
Fix CYGWIN warning: "fd_set and assiciated.macros have been defined in sys/types. This may cause runtime problems with W32" check-in: 2260d85f user: nijtmans tags: core-8-5-branch
2010-05-20
22:43
* win/tkWinX.c (HandleIMEComposition): [Bug 2992129]: Ensure that all places that generate key events zero them out first; Tk relies on that being true for the generic parts of the fix for Bug 1924761.
check-in: 50470e1b user: dkf tags: core-8-5-branch
2010-05-19
11:22
Fix [Bug #3002230]: tk_chooseDirectory returns garbage on cancel check-in: 39d9bda8 user: nijtmans tags: core-8-5-branch
2010-05-17
14:35
[Bug #2987995]: Tk_getOpenFile returns garbage under described circumstances. Backported some formatting from trunk. check-in: c457d2b9 user: nijtmans tags: core-8-5-branch
2010-05-03
12:06
* library/button.tcl (CheckInvoke, CheckEnter): [Patch 1530276 redux]: Apply a bit more care to ensure that things continue to work correctly even when there is no -selectcolor defined.
check-in: 6fd8e9ce user: dkf tags: core-8-5-branch
2010-04-19
13:58
[Patch 2898255]: Filenames limit with Tk_GetFileName() Assure modern style dialogs where available check-in: bdde7424 user: nijtmans tags: core-8-5-branch
11:22
Fix [Bug 2987995]: Tk_GetOpenFile returns garbage under described circumstances check-in: 69122679 user: nijtmans tags: core-8-5-branch
08:23
Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmp check-in: aa125a69 user: nijtmans tags: core-8-5-branch
2010-03-12
14:35
Whitespace/formatting check-in: 59add186 user: dkf tags: core-8-5-branch
13:02
[Bug 2956548] TkpButtonSetDefaults only initializes one button type Fix various gcc warnings, all backported from Tk 8.6 VC6++ does not have SPI_SETKEYBOARDCUES check-in: a891c24d user: nijtmans tags: core-8-5-branch