Tk Source Code

Timeline
Login

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

196 check-ins using file library/menu.tcl version addb2a0c

2011-05-05
06:28
no longer depend on MODULE_SCOPE being defined check-in: 9bc115d8 user: jan.nijtmans tags: trunk
2011-04-29
01:11
Implement support for [wm forget] and [wm manage] on OS X; fix issue with library stripping in install-sh check-in: 8e57498a user: kevin_walzer tags: trunk
2011-04-25
06:47
Converted #ifdef out to use a never-defined symbol so that it is clear that two pieces of code are related. (The guarded code doesn't compile.) check-in: 2d09a336 user: dkf tags: trunk
00:28
Corrected dchars method for polygon check-in: a038b01f user: pspjuth tags: pspjuth-canvas
2011-04-24
23:27
Corrected index method for polygon check-in: 51fe9467 user: pspjuth tags: pspjuth-canvas
23:04
Fixes line behaviour, and a crash in polygon check-in: eacf61ca user: pspjuth tags: pspjuth-canvas
22:13
Canvas polygon experiment. This commit puts current behaviour into tests, while fixing a few crashing cases. check-in: e36fef63 user: pspjuth tags: pspjuth-canvas
2011-04-22
18:24
[Bug 3291543] There was a crash if dchars removed all coordinates of a polygon. check-in: 5df336a5 user: pspjuth tags: trunk
2011-04-21
23:03
merge-mark check-in: 1dcdcb18 user: jan tags: trunk
21:23
Document all variable options as global. check-in: 212866a0 user: pspjuth tags: trunk
00:22
Synchronize rules.vc with the version in the tcl source tree.

Signed-off-by: Pat Thoyts <[email protected]> check-in: 66b19d9c user: patthoyts tags: trunk

2011-04-12
14:29
minor nits, taken over from TEA (tclconfig) check-in: 996d3b4c user: jan.nijtmans tags: trunk
2011-04-11
12:30
Resolve ChangeLog conflict mistakenly committed. check-in: 9df6b36e user: dgp tags: trunk
07:53
sync with Tcl version of tcl.m4 check-in: da0375ad user: jan.nijtmans tags: trunk
2011-04-06
14:54
Don't use -fvisibility=hidden with static libraries (--disable-shared) check-in: 059fca21 user: jan.nijtmans tags: trunk
13:11
Make symbols "main" and "Tcl_AppInit" MODULE_SCOPE: there is absolutely no reason for exporting them. check-in: d4cade2c user: jan.nijtmans tags: trunk
2011-04-04
22:08
[Bug 723765]: When a slave was removed from grid, the -in option was not remembered. check-in: f3efdba8 user: pspjuth tags: trunk
20:19
* win/tkWinDialog.c (FontchooserShowCmd): Change the CHOOSEFONT and LOGFONT used with sizeof to CHOOSEFONTA and LOGFONTA to match their local variable declarations (i.e. mismatch with -DUNICODE). This code is not present in 8.4 or 8.5. check-in: 462d7b56 user: mistachkin tags: trunk
19:45
[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: 5f4bcf23 user: pspjuth tags: trunk
2011-03-28
21:10
Make tk::FindAltKeyTarget handle the traversal of the logical window manager hierarchy correctly. Based on comments by Emiliano Gavilan. check-in: c1b5bef4 user: dkf tags: trunk
11:44
set default MODULE_SCOPE=extern, in case no other value is determined check-in: b4c6e652 user: jan.nijtmans tags: trunk
09:22
[Bug 3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2. One more place where this problem could appear. check-in: 0ecc5f95 user: jan.nijtmans tags: trunk
2011-03-27
20:10
merge-mark check-in: 8bc432d6 user: jan tags: trunk
2011-03-26
06:38
The -debug:full option is not supported when using the modern versions of link.exe included with MSVC, use -debug instead check-in: 7c9050ee user: jan tags: trunk
2011-03-24
09:00
[Bug #3239768] tk8.4.19 (and later) WIN32 menu font support. check-in: e8ecd9d0 user: jan.nijtmans tags: trunk
2011-03-22
20:51
[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: 13e1965a user: patthoyts tags: trunk

2011-03-19
02:02
[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: d36ac26e user: patthoyts tags: trunk

00:45
[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: d6b1369e user: patthoyts tags: trunk

2011-03-17
11:58
The -debug:full option is not supported when using the modern versions of link.exe included with MSVC, use -debug instead. check-in: 3bc04036 user: mistachkin tags: trunk
07:40
Missing past ChangeLog entry, and unbreak debug-build. check-in: d602c8eb user: jan.nijtmans tags: trunk
2011-03-16
23:51
[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: 7878ce5c user: patthoyts tags: trunk

22:09
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: 6ad18dac user: jan.nijtmans tags: trunk
21:57
autoconf-2.59 check-in: 1eb43e60 user: jan.nijtmans tags: trunk
2011-03-14
12:30
Eliminate some more unneeded write-only variables (discovered by gcc-4.6) check-in: 38aa89a8 user: jan.nijtmans tags: trunk
2011-03-12
17:45
Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to be using useful casts internally. check-in: 142e016e user: dkf tags: trunk
00:06
Eliminate unneeded _TkFinalize wrapper. check-in: b3141a58 user: jan.nijtmans tags: trunk
2011-03-11
09:19
Eliminate some unneeded write-only variables (discovered by gcc-4.6) check-in: f8b0c7f2 user: jan.nijtmans tags: trunk
2011-03-10
16:03
merge-mark check-in: 27e30f4a user: jan.nijtmans tags: trunk
12:26
[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: 6c9715e8 user: patthoyts tags: trunk

2011-03-09
17:03
Fix libXft check check-in: 53d9debe user: rmax tags: trunk
2011-03-08
20:45
We are no longer on CVS, so don't need the .cvsignore files any more check-in: 47713be6 user: jan.nijtmans tags: trunk
2011-03-03
12:47
[Bug 3175610]: Incomplete refresh of line items. check-in: 6ec19a46 user: ferrieux tags: trunk
2011-03-02
16:50
* doc/tk_mac.n (new file): Description of OSX-specific functionality in Tk, contributed by Kevin Walzer. * doc/button.n, doc/font.n, doc/menu.n: Noted which parts of these commands are intentionally not fully supported on OSX.
check-in: d6143682 user: dkf tags: trunk
2011-02-28
21:29
Mark merge of 8.5 bugfixes into 8.6 development. check-in: fd79f497 user: dgp tags: trunk
2011-01-24
19:50
tkSelect.c: Fix for [Bug #3164879] (memory allocation bug introduced by [Patch #3129527]) check-in: 129bebcc user: jenglish tags: trunk
15:20
Fix for SF bug 2907388 (crash on composite characters) check-in: 9b0938d2 user: wordtech tags: trunk
2011-01-22
18:49
ttk::combobox: Add missing 'validate' command (reported by schelte). check-in: 8e16a6b7 user: jenglish tags: trunk
2011-01-14
23:43
Remove stippling from disabled images under Aqua; renders as white box currently. check-in: 6d29c6a3 user: wordtech tags: trunk
2011-01-13
07:39
[Patch #3154705] Close button has no effect check-in: e4df8097 user: nijtmans tags: trunk
2011-01-12
11:05
handle --enable-64bit=ia64 for gcc check-in: 3d1a9d92 user: nijtmans tags: trunk
2011-01-06
08:51
Add changes to OSX files check-in: eb70c17a user: wordtech tags: trunk
08:05
Fix for radiobuttons and checkbuttons not displaying in popup menus. check-in: 01a41907 user: wordtech tags: trunk
05:58
Cast some NULLs to (void *) in order to quash "missing sentinel in function call" compiler warnings. check-in: 81e50c85 user: stwo tags: trunk
04:44
Fix for 3012605, enables menu entries if parent is enabled. check-in: 040ff1ab user: wordtech tags: trunk
00:15
Fix for 3086887, speeds up scrolling check-in: 2c772669 user: wordtech tags: trunk
00:04
Fix for 2857300, improves rounding up on text width [submitted by treectrl] check-in: d6cbedac user: wordtech tags: trunk
2011-01-04
22:36
Textured background windows check-in: 596abe19 user: wordtech tags: trunk
2010-12-17
23:13
Clean up '.PHONY:' targets: Arrange those common to Tcl and Tk as in Tcl's Makefile.in, add any missing ones and remove duplicates. check-in: fc05776e user: stwo tags: trunk
21:57
[Bug 2446711]: Remove 'allpatch' target. check-in: b949fa0e user: stwo tags: trunk
17:57
Use 'rpmbuild', not 'rpm' [Bug 2537626]. check-in: 3dd5c6d8 user: stwo tags: trunk
15:14
refactor isatty() function for Windows Let TkpDisplayWarning() send the message directly to the debugger, if available, otherwise do as before check-in: 27a28c58 user: nijtmans tags: trunk
2010-12-16
09:03
[Patch 3124554]: Move WishPanic from Tk to Tcl Remove special MessageBox'es here, since every panic-related thing is now handled correctly by Tcl check-in: 46e8dc1e user: nijtmans tags: trunk
01:55
Installer Improvements. Similar to Tcl [Patch 3101127]. check-in: a3b936f0 user: stwo tags: trunk
2010-12-15
08:56
[Patch #3124683]: platform specific stuff in (tcl|tk)Main.c check-in: dd77e970 user: nijtmans tags: trunk
2010-12-13
22:37
[Bug 3135271] Link error due to hidden symbols (CentOS 4.2) check-in: 27d5ca1d user: nijtmans tags: trunk
15:25
Change "Application initialization failed" to "application-specific initialization failed", for consistency with Tcl. check-in: bd3a03b0 user: nijtmans tags: trunk
09:24
See also: [Patch 1910041] and [Patch 3059922]. SEH emulation on Win64 was not correct here: it sometimes results in a crash. Contrary to the other places, the code here is not meant to protect from OS bugs, but to protect Finalizing Tk when the application went in an invalid state. check-in: 08d04e84 user: nijtmans tags: trunk
2010-12-12
11:53
Better building on OpenBSD. check-in: fe95b88a user: stwo tags: trunk
2010-12-10
15:47
Fix manifest-generation for 64-bit gcc (mingw-w64) check-in: c7647a0e user: nijtmans tags: trunk
2010-12-06
10:30
[Bug 3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2 check-in: 7ac32814 user: nijtmans tags: trunk
2010-12-05
08:56
[Patch #3116490] cross-compile support for unix check-in: 560462d9 user: nijtmans tags: trunk
2010-12-03
09:21
[Patch #3116490] cross-compile Tk mingw32 on unix. This makes it possible to cross-compile Tcl/Tk for Windows (either 32-bit or 64-bit) out-of-the-box on UNIX, using mingw-w64 build tools. check-in: ed088460 user: nijtmans tags: trunk
2010-12-02
13:36
fix/regen check-in: 6eccb1fb user: dkf tags: trunk
13:00
regen check-in: f80b41f3 user: dkf tags: trunk
11:38
* generic/tkInt.decls (TkDrawAngledTextLayout,TkDrawAngledChars,...): Expose angled text API for Emiliano Gavilan. Still only in internal stub table.
check-in: 587a05d8 user: dkf tags: trunk
2010-11-29
11:25
Fix various 64-bit gcc(-4.5.2) warnings: cast from pointer to integer of different size check-in: 4fa2f0ad user: nijtmans tags: trunk
11:01
Make assembler code compile in Win64 with gcc. check-in: 1c246bd2 user: nijtmans tags: trunk
09:07
Fix various 64-bit gcc(-4.5.2) warnings: cast from pointer to integer of different size check-in: c6ea063c user: nijtmans tags: trunk
2010-11-24
12:57
use TkpDisplayWarning as panic proc on Windows, but restore panic dialog title to exactly what it was in Tk 8.5 ("Fatal Error in Wish") check-in: 7670e73d user: nijtmans tags: trunk
11:14
Remove unused strrchr, combine outChannel/errChannel variables to a single variable check-in: ff4d73db user: nijtmans tags: trunk
10:34
re-write TkpDisplayWarning not to use any Tcl functions any more. This allows TkpDisplayWarning to be used as panic proc on Windows check-in: 19068c75 user: nijtmans tags: trunk
08:08
[Bug #3071836]: Crash/Tcl_Panic on WinXP saving file to C:\ check-in: 94cb1f50 user: nijtmans tags: trunk
2010-11-19
14:48
Revise Tcl_Panic() calls ending with a newline removing the newline, because Tcl_Panic() outputs a final newline already check-in: 870897bc user: nijtmans tags: trunk
2010-11-18
22:49
Allow cross-compilation by default. check-in: 3c465de3 user: nijtmans tags: trunk
15:54
[FRQ 491789]: "setargv() doesn't support a unicode cmdline" now implemented for cygwin and mingw32 too. check-in: b04b216d user: nijtmans tags: trunk
2010-11-17
21:11
[FRQ 491789]: "setargv() doesn't support a unicode cmdline" now implemented for mingw-w64 check-in: 9054e565 user: nijtmans tags: trunk
14:31
Workaround for bug in some versions of mingw-w64 check-in: 22e8d6c0 user: nijtmans tags: trunk
10:37
Bring compilation under mingw-w64 a bit closer to reality (but don't break mingw32 build!) check-in: 519cd9d7 user: nijtmans tags: trunk
2010-11-16
15:07
[Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1 check-in: b24db3e0 user: nijtmans tags: trunk
14:05
Bring compilation under mingw-w64 a bit closer to reality check-in: bef1bffc user: nijtmans tags: trunk
2010-11-15
10:10
reverted previous commit: it has effect on the Windows console check-in: f2d25278 user: nijtmans tags: trunk
09:24
Eliminate use of the function Tcl_WinTCharToUtf in generic code check-in: ca445d67 user: nijtmans tags: trunk
2010-11-10
17:44
* changes: Updates for 8.6b2 release. check-in: 5d093f29 user: andreas_kupries tags: trunk
2010-11-06
00:43
Update NL catalog. For other languages, sorting and fix some locations of "&" check-in: 3f96b1bc user: nijtmans tags: trunk
2010-11-05
08:20
Sync TK_ASCII_MAIN usage with tclMain.c check-in: d6844844 user: nijtmans tags: trunk
07:49
Use unicode copyright sign, in stead of depending on translation. check-in: d56b3df1 user: nijtmans tags: trunk
2010-11-04
15:17
* changes: Updates for 8.6b2 release.
check-in: 96d3c812 user: dgp tags: trunk
2010-11-03
12:11
[FRQ 2965056]: Windows build with -DUNICODE check-in: c9f9a859 user: nijtmans tags: trunk
2010-10-11
21:50
[FRQ 491789]: "setargv() doesn't support a unicode cmdline" implemented for Tk on MSVC++ check-in: 9f72f1b3 user: nijtmans tags: trunk
21:34
Fix crash in 'tag add' / 'tag remove' when no -tags specified [SF#3085489]. check-in: 27300258 user: jenglish tags: trunk
13:33
[FRQ 2965056]: Windows build with -DUNICODE check-in: 9c58bb7f user: nijtmans tags: trunk
12:27
Add netapi32 to the windows link line check-in: cb0761d5 user: nijtmans tags: trunk
2010-10-06
14:34
win/Makefile.in (genstubs): Generate ttk files as well check-in: 427acc56 user: nijtmans tags: trunk
14:33
[FRQ 2965056]: Windows build with -DUNICODE check-in: e7d9b592 user: nijtmans tags: trunk
10:15
* win/Makefile.in (genstubs): [Tcl Bug 3082049]: Typo.
check-in: 7206b561 user: dkf tags: trunk
2010-10-05
14:48
[Bug 3080953] Malformed Unicode characters in %A substitution Problem was in the static function GetTranslatedKey(). check-in: cfd1a889 user: nijtmans tags: trunk
13:47
[Bug 3080953] Malformed Unicode characters in %A substitution The problem is somewhere in tkWinX.c, so temporary don't compile it with -DUNICODE, until the real problem is found. check-in: 29e2c6cf user: nijtmans tags: trunk
2010-10-01
12:04
* generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): [Bug 3078902]: Ensure that zero-dimensioned data blocks cause no changes at all instead of causing a hang.
check-in: a6a0690c user: dkf tags: trunk
2010-09-29
20:10
tkMain.c: make compilable with -DUNICODE as well check-in: cc841a90 user: nijtmans tags: trunk
19:30
re-generate configure with autoconf-2.59 check-in: cb137901 user: nijtmans tags: trunk
2010-09-28
10:42
Add explicit scspec "EXTERN", as in Tcl Don't let Tk_MainEx macro disturb compilation check-in: c132c17d user: nijtmans tags: trunk
08:22
[Bug 3076671] CVS HEAD Tk build fails on win32 with msys/mingw. Make it compile on older mingw as well. check-in: eff2e22f user: nijtmans tags: trunk
2010-09-23
21:45
Make Tcl_SetPanicProc and Tcl_GetStringResult callable without stubs, just as Tcl_SetVar. check-in: 5ee7849d user: nijtmans tags: trunk
20:59
winMain should never be called with stubs check-in: 7303d77f user: nijtmans tags: trunk
11:50
Dummy genstubs::export (from genStubs.tcl) check-in: 00a78095 user: nijtmans tags: trunk
10:01
Add -Wdeclaration-after-statement tkWinX.c,winMain.c: Make compilable with -DUNICODE tkAppInit.c,winMain.c: Many clean-ups in comments, so all (tcl|tk)AppInit.c variants use the same style. check-in: 605a9af9 user: nijtmans tags: trunk
2010-09-20
21:21
clean-up, port all genStubs.tcl changes from Tcl to ttkGenStubs.tcl as well (no change in any output files) check-in: 78eda959 user: nijtmans tags: trunk
21:18
clean-up, port all genStubs.tcl changes from Tcl to ttkGenStubs.tcl as well (no change in any output files) check-in: e670eb3e user: nijtmans tags: trunk
2010-09-16
21:05
win/tkWinX.c (_WIN32_IE): update to IE5.5 base expectation check-in: 6f3f255b user: hobbs tags: trunk
2010-09-14
08:50
[FRQ 2965056]: Windows build with -DUNICODE check-in: 1d0e55d7 user: nijtmans tags: trunk
2010-09-13
08:14
Move definitions of WINVER/_WIN32_WINNT to one place, now that we only support Win2000+ check-in: 5c5b2895 user: nijtmans tags: trunk
08:11
Move definitions of WINVER/_WIN32_WINNT to one place, now that we only support Win2000+ check-in: 4d9f550b user: nijtmans tags: trunk
2010-09-10
08:59
Make compilable with -DUNICODE, or mark files with a TODO which are not done yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here. check-in: bf1b4597 user: nijtmans tags: trunk
2010-09-09
14:59
win/rules.vc: (sync with tcl version) mingw should always link with -ladvapi32 Remove ascii variant of tkWinPocs table, it is no longer necessary. check-in: 81ceafb7 user: nijtmans tags: trunk
2010-09-08
17:57
TreeviewSeeCommand: Schedule redisplay if [$tv see] opens any items #2829363 check-in: f475d502 user: jenglish tags: trunk
2010-09-05
14:43
* library/bgerror.tcl: [Bugs 3046742,3046750]: Improve keybindings for the background error dialog, and allow the use of the window manager controls for closing it (where supported). The Escape key now causes all remaining background error messages in the queue to be dropped.
check-in: 40cc6786 user: dkf tags: trunk
2010-09-02
17:47
library/ttk/winTheme.tcl, library/ttk/xpTheme.tcl, library/ttk/vistaTheme.tcl: Specify disabled combobox text foreground color #3057573. check-in: d7ede6b6 user: jenglish tags: trunk
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: 3dc461a6 user: andreas_kupries tags: trunk
2010-08-27
01:00
* 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: 07465566 user: hobbs tags: trunk
00:57
* 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: f56a5c06 user: hobbs tags: trunk
00:33
* 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: fe218368 user: hobbs tags: trunk
2010-08-21
16:35
[Patch 3034251]: Backport ttkGenStubs.tcl features to genStubs.tcl, partly: Use void (*reserved$i)(void) = 0 instead of void *reserved$i = NULL for unused stub entries, in case pointer-to-function and pointer-to-object are different sizes. check-in: 967ec199 user: nijtmans tags: trunk
2010-08-19
05:23
Move USE_OLD_IMAGE support after tkDecls.h check-in: 64232a30 user: nijtmans tags: trunk
05:05
[Patch 3034251] partly: remove some more unneeded ifdeffery from stub header files check-in: 85ac6ca5 user: nijtmans tags: trunk
2010-08-12
00:36
* win/Makefile.in (%.${OBJEXT}): better implicit rules support
check-in: edf79383 user: hobbs tags: trunk
00:34
* 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: 29429ad4 user: hobbs tags: trunk
2010-08-11
17:18
* changes: Updates for 8.6b2 release.
check-in: 3fc00466 user: dgp tags: trunk
2010-08-04
19:39
fix DFARs note for number-adjusted rights clause check-in: 417415b8 user: hobbs tags: trunk
2010-08-03
23:13
* library/button.tcl (::tk::CheckEnter): use uplevel set instead of set :: to work with other var resolvers (itcl). [AS Bug#87409]
check-in: 528a087e user: hobbs tags: trunk
16:14
Dup test IDs check-in: 9facd5a1 user: dgp tags: trunk
2010-07-18
23:58
* generic/tkImgGIF.c (StringWriteGIF): Added ability to write a GIF to a string (as a byte array, of course) following comments on c.l.t by Aric Bills. Also improved readability of some of the function and field names in this file.
check-in: 0c405ec3 user: dkf tags: trunk
2010-07-16
22:06
[Tcl Bug 3029891] Functions that don't belong in the stub table (Tk part, not really removed from the stub table, just disabled) [Bug 3027438] Tk_Main calls Tcl_CreateInterp before Tcl_FindExecutable check-in: 9cdcf2d3 user: nijtmans tags: trunk
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: cae3e453 user: andreas_kupries tags: trunk
2010-07-03
17:25
ttk_widget.n(SEE ALSO): s/style/ttk::style/ (patch from David Welton sent to tcl-core) check-in: 3f3c41ca user: jenglish tags: trunk
2010-07-01
21:31
[Bug #3020677] wish can't link reg1.2 check-in: 5e0f4c20 user: nijtmans tags: trunk
2010-06-22
14:02
[Patch #3019624] fix "place" command segfault on half-dead app main window. check-in: 9b0850a4 user: a_kovalenko tags: trunk
07:53
[Bug #3019363] "make genstubs" failure (undid previous unintended edit) check-in: 9a9a3c57 user: nijtmans tags: trunk
07:41
[Bug #3019363] "make genstubs" failure check-in: 59114690 user: nijtmans tags: trunk
2010-06-21
12:14
[Patch #2999889] TkCopyAndGlobalEval obsolete check-in: 38a1e04c user: nijtmans tags: trunk
2010-06-19
16:18
[Patch 3009998]: Replace binding procedures with ordinary event handlers in win/tkWinScrlbr.c and carbon/tkMacOSXScrlbr.c.

Simplifications enabled by previous change:

* TkCreateBindingProcedure() and associated machinery no longer needed. * TkBindDeadWindow() no longer needed. * TK_DEFER_MODAL_LOOP and associated machinery no longer needed. * Tests related to C binding procedures no longer needed.
check-in: afaa6c96 user: jenglish tags: trunk
2010-06-15
16:59
[Bug 3016598] Bump dummy [package ifneeded tile] version to 0.8.6. check-in: 00a7db3d user: jenglish tags: trunk
14:30
* library/text.tcl (TextCursorInSelection): [Patch 2585265]: Make it so that pressing delete or backspace when the primary selection does not include the insertion cursor does not cause the deletion of the inserted text.
check-in: ddd934fe user: dkf tags: trunk
12:40
Terminate TkEnsemble definition with NULL check-in: 207c3431 user: nijtmans tags: trunk
11:16
Eliminate many unnecessary (ClientData) type casts. check-in: 0d406a83 user: nijtmans tags: trunk
2010-05-31
17:35
Tk_CreateBinding): Silently ignore empty scripts (Fixes [Bug 3006842]). check-in: c7f50add user: jenglish tags: trunk
2010-05-27
19:27
ttk::treeview: [$tv tag bind $tag <...> {}] now removes binding completely. Fixes [Bug 3006842] (although there's still a problem somewhere in Tk_CreateBinding()). check-in: 77cc7217 user: jenglish tags: trunk
2010-05-26
15:28
Fix some gcc strict-aliasing warnings (discovered with "-Wstrict-aliasing=2" check-in: c59d0cdd user: nijtmans tags: trunk
10:58
Fix 3 tests on Ubuntu 10.4, two of them timing dependent, one wm-dependent. check-in: dc704a6b user: nijtmans tags: trunk
2010-05-20
22:48
* 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: 8f6f34f9 user: dkf tags: trunk
2010-05-17
22:16
Fix [Bug #3002230]: tk_chooseDirectory returns garbage on cancel check-in: 130afa52 user: nijtmans tags: trunk
17:19
Revert [Patch #2999920], as it entails an incompatible change to the C API is and is the cause of [Bug #3002768]. check-in: fab7bd71 user: jenglish tags: trunk
08:43
[Patch #2999920]: Optimize Internal Virtual event string operations [Bug #2987995]: Tk_getOpenFile returns garbage under described circumstances check-in: d81586bc user: nijtmans tags: trunk
2010-05-11
12:12
Consistent use of variable names in RestrictEvent API documentation and implementation: Use 'prev' in stead of 'old', and 'arg' in stead of 'clientData' everywhere, just as in tkEvent.c. check-in: 053a2be8 user: nijtmans tags: trunk
2010-05-10
20:58
CONSTify TkCopyAndGlobalEval, TkpSetMainMenubar, TkpMenuNotifyToplevelCreate, and TkSetWindowMenuBar Bring Tk_CreateBinding doc and signature (param name) in line. check-in: 19fa0b7b user: nijtmans tags: trunk
2010-05-03
16:30
* generic/tk.h: Bump patchlevel to 8.6b1.2 to distinguish * library/tk.tcl: CVS snapshots from earlier snapshots as well * unix/configure.in: as the 8.6b1 and 8.6b2 releases. * win/configure.in:
* unix/configure: autoconf-2.59 * win/configure:
check-in: 2bee5526 user: dgp tags: trunk
11:58
* 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: 4c150d7e user: dkf tags: trunk
2010-04-30
07:08
typo check-in: 8605218c user: nijtmans tags: trunk
2010-04-29
15:28
Unnessarary TCL_STORAGE_CLASS re-definitions Make various functions MODULE_SCOPE TCHAR-related fixes, making al those files compile fine when TCHAR != char. check-in: 06f10499 user: nijtmans tags: trunk
2010-04-25
18:23
* generic/tkImgPNG.c (ReadIDAT, DecodePNG): Move the check for overall termination of the compressed stream until after the final IDAT has been read, so that multi-segment images will work right. Reported by Andy Goth on the Wiki.
check-in: 9f0f17b3 user: dkf tags: trunk
2010-04-23
08:32
Formatting typo fixes remove not existing tkDisplayList; Useless re-definitions of TCL_STORAGE_CLASS check-in: f24475f0 user: nijtmans tags: trunk
2010-04-20
19:57
Define OPENFILENAME_SIZE_VERSION_400 if needed check-in: 4c267ddb user: nijtmans tags: trunk
15:14
tkPort.h already includes tk.h, which includes tcl.h Always use #include "tkInt.h", not <tkInt.h> check-in: 37df37e3 user: nijtmans tags: trunk
08:17
Make sure that tkWinPort.h is always included before tcl.h, otherwise the fallback for TCHAR might go off before the inclusion of <tchar.h> check-in: c4987c88 user: nijtmans tags: trunk
2010-04-19
13:59
[Patch 2898255]: Filenames limit with Tk_GetFileName() Assure modern style dialogs where available check-in: 2eb2f7c7 user: nijtmans tags: trunk
13:49
[Patch 2898255]: Filenames limit with Tk_GetFileName() Assure modern style dialogs where available check-in: a8a07446 user: nijtmans tags: trunk
11:07
Fix [Bug 2987995]: Tk_GetOpenFile returns garbage under described circumstances check-in: 397929ce user: nijtmans tags: trunk
11:05
Fix [Bug 2987995]: Tk_GetOpenFile returns garbage under described circumstances check-in: 8b2578c2 user: nijtmans tags: trunk
2010-04-13
13:46
Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmp check-in: adccfd0a user: nijtmans tags: trunk
2010-04-12
08:37
* generic/tkImgPNG.c (WriteIDAT): [Bug 2984787]: Use the correct flushing semantics when handling the last data from the image. Without this, many PNG readers (notably including Firefox) refuse to show the image and instead complain about errors. (ReadIDAT): Added sanity checks to ensure that when we've got bad data of the sorts of forms we were previously generating, we detect it and error out rather than silently failing. (WriteExtraChunks): New function to write in some basic metadata.
check-in: 356e32e6 user: dkf tags: trunk
2010-04-09
14:45
Follow-up to [Bug 2983824]: update doc check-in: dff536b0 user: nijtmans tags: trunk
13:15
* generic/tkImgPhoto.c (ImgPhotoCmd): [Bug 2983824]: Use the file extension to guess the output format to use if one isn't specified.
check-in: 3dae8fc0 user: dkf tags: trunk
2010-04-08
14:06
Add <wchar.h> to tkWinPort.h, and remove some earlier CYGWIN-related hacks which then are no longer necessary. check-in: b9266d05 user: nijtmans tags: trunk
2010-04-06
09:29
regenerated with autoconf-2.59 [Bug 2982540] configure and install* script files should always have LF check-in: e7116932 user: nijtmans tags: trunk
2010-03-29
22:34
Only test for -visibility=hidden with gcc (Second remark in [Bug 2976508]) check-in: 6868fc3a user: nijtmans tags: trunk
09:16
* unix/tkUnixRFont.c (GetFont): [Bug 2978410]: Do not use non-constant initializers for structures, since HP-UX cc doesn't like it.
check-in: c73eca4f user: dkf tags: trunk
2010-03-28
21:43
ttk::treeview widget: add 'tag names', 'tag add', and 'tag remove' methods. check-in: 9569521c user: jenglish tags: trunk
2010-03-23
10:46
regen check-in: 8cd367a9 user: dkf tags: trunk
10:45
* unix/configure.in, unix/Makefile.in: [Bug 2965133]: Get rid of the spurious NONE and some pointless quotes that were causing problems with building Tk on OSX. Overall bug might not yet be solved.
check-in: 335a6227 user: dkf tags: trunk
2010-03-17
09:27
* library/entry.tcl: [Bug 2971663]: Make the <Up> and <Down> keys * library/ttk/entry.tcl: explicitly do nothing, since Tk-on-Cocoa will generate (invisible zero-width) characters for them otherwise. The explicitly empty bindings are harmless on other platforms.
check-in: 0bc3c023 user: dkf tags: trunk
2010-03-16
16:58
Ignore .a and .so in unix/.cvsignore check-in: 9092c6ec user: nijtmans tags: trunk
2010-03-12
15:23
Fix [Tcl Bug 2967340]: Static build failure check-in: 4efdb7f5 user: nijtmans tags: trunk
13:53
Factor out some of the megawidget machinery. check-in: 42454ce2 user: dkf tags: trunk
2010-03-11
09:43
Removed lame reliance on the leading letters of the names of segment types when dumping a text widget. Entailed expanding the scope of the declarations of the types of embedded images and windows. check-in: 0e0e2adf user: dkf tags: trunk
09:24
* generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about, there can be unnamed marks present during a dump. Ignore them as they will just be for the peers' insert and current marks, which aren't very important.
check-in: 652505c6 user: dkf tags: trunk
2010-03-08
19:51
* generic/tkPlatDecls.h: Correct broken 2886635 fix. [Bug 2965600]
check-in: 4ba841f1 user: dgp tags: trunk
2010-03-06
01:11
[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. check-in: 97932211 user: patthoyts tags: trunk