Tk Source Code

Timeline
Login

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

1511 check-ins using file macosx/tclets.r or mac/tclets.r version e5a9798f

2005-12-05
03:11
Updated Closed-Leaf check-in: 02edd73f user: chengyemao tags: core-8-4-9-branch
03:10
Bug fixes backported form Tk85 (#1311734, #1283635) check-in: 74c14883 user: chengyemao tags: core-8-4-9-branch
2005-07-30
06:45
* unix/Makefile.in (html): reverted/amended changes of 2005-07-24 that broke TkAqua 'make install'; added BUILD_HTML_FLAGS optional var like in tcl/unix/Makefile.in.
check-in: 5e14e18a user: das tags: core-8-4-branch
2005-07-29
05:36
* macosx/tkMacOSXDraw.c (XDrawLines, XDrawSegments): correct drawing of CoordModePrevious style (each point based on last). Exposed by tktable -drawmode fast.
check-in: 09fa124c user: hobbs tags: core-8-4-branch
2005-07-28
21:37
* library/bgerror.tcl (::tk::dialog::error::bgerror): use zoomDocProc instead of dBoxProc for bgerror dialog
check-in: d8ee3085 user: hobbs tags: core-8-4-branch
08:00
* macosx/tkMacOSXWm.c (TkpWmSetState): add IsWindowCollapsed check before calling CollapseWindow. (WmResizableCmd): adjust kWindow*Attributes according to resize parameters.
* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): handle inToolbarButton action (generates <<ToolbarButton>> virtual event) and correct inCollapseBox to properly track the event (waiting for buttonrelease) and generate the Unmap event (Map event on redisplay still missing).
check-in: 08ed5bae user: hobbs tags: core-8-4-branch
04:57
* generic/tkFrame.c (DisplayFrame): * generic/tkInt.decls: add TkpDrawFrame to allow for * generic/tkIntDecls.h: platform-specific drawing into the frame/ * generic/tkStubInit.c: toplevel area. Currently only differs on * generic/tkFrame.c: OS X (Aqua), which will draw a themed bg * win/tkWinDraw.c: if tk::mac::useThemedToplevel == 1. * unix/tkUnixDraw.c: Normal frames left alone until we can * mac/tkMacDraw.c: better factor out frame drawing to be * macosx/tkMacDraw.c: widget-specific.
check-in: 2c85dcf7 user: hobbs tags: core-8-4-branch
03:45
* generic/tkInt.h: Swap TkUnsupported1Cmd for TkUnsupported1ObjCmd. * generic/tkWindow.c: Ditto. (neil madden) * macosx/tkMacOSXInt.h: Added TkMacOSXWindowClass decl * macosx/tkMacOSXWm.c (TkMacOSXWinStyle) New function. (TkUnsupported1ObjCmd): New function, replaces the un-objectified version of the command, recognizes more classes and attributes. (TkMacOSXWindowClass): private function to return OS X class of a Tk window. * macosx/tkMacOSXSubwindows.c (XMapWindow, XUnmapWindow): recognize special show/hide functions for sheets
check-in: e8bd5694 user: hobbs tags: core-8-4-branch
2005-07-25
01:33
* unix/Makefile.in: Subst TCLSH_PROG and BUILD_TCLSH into Makefile. Rework html target so that it depends on the tclsh installed on the system PATH. * unix/configure: Regen. * unix/configure.in: Invoke SC_PROG_TCLSH and SC_BUILD_TCLSH and subst into Makefile. * unix/tcl.m4: Update from Tcl. * win/Makefile.in: Subst TCLSH_PROG and BUILD_TCLSH into Makefile. Rework winhelp target so that it depends on the tclsh installed on the system PATH. * win/configure: Regen. * win/configure.in: Invoke SC_BUILD_TCLSH and subst into Makefile. * win/tcl.m4: Update from Tcl. [Tcl patch 1244153]
check-in: 70350263 user: mdejong tags: core-8-4-branch
2005-07-21
20:54
sync'ed to Tcl's tcl.m4 check-in: e0b9e177 user: hobbs tags: core-8-4-branch
20:42
* macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): set oldWidth to avoid warning
check-in: ead97576 user: hobbs tags: core-8-4-branch
20:41
* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): corrected if expression error (use of = instead of ==)
check-in: fae7bbc7 user: hobbs tags: core-8-4-branch
2005-07-06
22:15
* doc/getOpenFile.n: correct -multiple docs (takes boolean)
check-in: 22062b74 user: hobbs tags: core-8-4-branch
2005-06-25
03:41
* library/demos/menu.tcl: removed errant '}'.
check-in: c2826079 user: das tags: core-8-4-branch, core-8-4-11
2005-06-24
13:51
update check-in: d1c4bd9f user: dgp tags: core-8-4-branch
2005-06-23
22:07
* generic/tkConsole.c: backport fix for bug 756840 & sync whitespace changes from HEAD.
* generic/tkConsole.c (TkConsolePrint): prevent potential NULL deref.
check-in: 0c266b79 user: das tags: core-8-4-branch
20:33
new 8.4.11 release date: June 28 check-in: 1e4fad2d user: dgp tags: core-8-4-branch
20:22
update check-in: 644511e1 user: dgp tags: core-8-4-branch
20:15
* macosx/tkMacOSXDefault.h: change ENTRY_BORDER defaults to from 5 to 2 to make default entry widgets in TkAqua look like in other aqua apps (and have same border dimensions as other platforms). [Bug 1176610]
check-in: 5a4b18b0 user: das tags: core-8-4-branch
06:00
* unix/Makefile.in (install-private-headers): rewrite tkPort.h when installing private headers to remove ../unix relative #include path to tkUnixPort.h (which is incorrect at the installed location).
check-in: 0f93c7d0 user: das tags: core-8-4-branch
2005-06-22
16:03
release tag check-in: c6bd7040 user: dgp tags: core-8-4-branch
2005-06-21
23:01
Fix silly error in SYNOPSIS of Tk_AllocBitmapFromObj [Bug 1224983] check-in: da32fed0 user: dkf tags: core-8-4-branch
17:29
typo check-in: 8e4692a7 user: dgp tags: core-8-4-branch
2005-06-20
10:27
Plug a buffer overflow in the GIF reader check-in: 631e5804 user: dkf tags: core-8-4-branch
2005-06-18
21:47
*** 8.4.11 TAGGED FOR RELEASE ***
* macosx/Makefile: for X11 build, add -X11 suffix to unversioned wish symbolic link.
* unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to ensure we can always relocate binaries with install_name_tool.
* unix/configure: autoconf-2.13
check-in: b8347796 user: das tags: core-8-4-branch
20:21
release tag check-in: aa28a1ec user: dgp tags: core-8-4-branch
19:55
* changes: Update changes for 8.4.11 release
check-in: 37c8475f user: dgp tags: core-8-4-branch
19:36
* README: Bump version number to 8.4.11 * generic/tk.h: * macosx/Wish.pbproj/project.pbxproc: * unix/configure.in: * win/configure.in:
* unix/configure.in: Updated LOCALES to cover all msgs catalogs.
* unix/configure: autoconf * win/configure:
check-in: 55ea6b8b user: dgp tags: core-8-4-branch
2005-06-06
22:46
backport auto_path trimdown to speed up safe.test check-in: 6e98258c user: dgp tags: core-8-4-branch
2005-06-03
23:22
Backport fix for [Bug 1114977]; canvas tag searches now work with threads. check-in: ead04054 user: dkf tags: core-8-4-branch
15:24
Backported [console] rename fix. [Bug 1016385] check-in: b88f904e user: dkf tags: core-8-4-branch
08:54
* macosx/Makefile: fixed 'embedded' target.
check-in: a9560857 user: das tags: core-8-4-branch, core-8-4-10
01:19
retagged 8.4.10 for OS X scrollbar fix check-in: 125579c7 user: hobbs tags: core-8-4-branch
00:53
2005-06-02 Jim Ingham <[email protected]>
Another patch from M. Kirkham.
* macosx/tkMacOSXScrlbr.c (ThumbActionProc, ScrollBarBindProc): Record the first mouse down point, and compute differences from that, rather than getting the mouse down each time through the loop. The old method would get fooled if you moved the mouse less than a text line height in the text widget. [Bug 1083728]
check-in: 890b771a user: wolfsuit tags: core-8-4-branch
2005-06-02
23:18
update changes for 8.4.10 release, note tag date check-in: 9d95c36d user: hobbs tags: core-8-4-branch
21:25
updated changes for Tk 8.4.10 release. check-in: 67603e33 user: dgp tags: core-8-4-branch
2005-06-01
00:07
* macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap, 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]
check-in: 0ff7ccce user: mdejong tags: core-8-4-branch
2005-05-31
05:22
* generic/tkPanedWindow.c, tests/panedwindow.test: batch of fixes to panedwindow from Daniel South. Improved auto-size to fit internal windows, fixed sash placement at edge of pane, fixed calculation of stretch amount for internal windows. [Bug 1124198 1161543 1054117 1010941 795869 690169 1192323]
check-in: ebd68865 user: hobbs tags: core-8-4-branch
05:05
* generic/tkMenu.c (MenuCmd): create event handler earlier to ensure proper destruction of menu through DestroyNotify. [Bug 1159367]
check-in: 99ef2f4e user: hobbs tags: core-8-4-branch
04:58
more elaborate variant of getting first prompt shown to avoid a puts call. check-in: 581127c8 user: hobbs tags: core-8-4-branch
2005-05-30
23:40
* library/console.tcl (::tk::ConsoleInit): print out first prompt and swallow the extra "% " that comes once from Tcl on Windows.
check-in: 0fa5a98a user: hobbs tags: core-8-4-branch
2005-05-29
07:53
* macosx/Wish.pbproj/project.pbxproj: added missing FRAMEWORK defines introduced with configure/make based build.
check-in: 94f82deb user: das tags: core-8-4-branch
07:00
* macosx/tkMacOSXInit.c: * macosx/tkMacOSXNotify.c: fixed warnings.
check-in: 8124f7f5 user: das tags: core-8-4-branch
06:48
* unix/configure.in: skip X11 configure checks when building tk_aqua. * unix/configure: autoconf-2.13
check-in: f5690d3c user: das tags: core-8-4-branch
2005-05-27
18:52
* README: Bumped patchlevel to 8.4.10 * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure, unix/configure.in, unix/tk.spec: * win/configure, win/configure.in:
check-in: 444053c8 user: hobbs tags: core-8-4-branch
18:00
change tk_popup to have sticky menus check-in: 716a2cf7 user: tmh tags: core-8-4-branch
2005-05-26
11:20
* macosx/tkMacOSXInit.c (TkpInit): fixed resource file extraction from __tk_rsrc section to work with non-prebound .dylib and .bundle.
* macosx/Makefile: corrected EMBEDDED_BUILD check, use separate tcl and tk version vars to properly support tk/x11 framework version overriding, rewrite tkConfig.sh when overriding tk version, corrected Wish.app symlink in tk build dir.
* unix/configure.in: corrected framework finalization to softlink stub library to Versions/8.x subdir instead of Versions/Current. * unix/configure: autoconf-2.13
check-in: f3e78905 user: das tags: core-8-4-branch
2005-05-25
18:49
* unix/configure, unix/configure.in: ensure false Tcl.framework is only created with --enable-framework
check-in: 23db78d1 user: hobbs tags: core-8-4-branch
17:46
* unix/Makefile.in (install-libraries): protect possible empty list in for with list= trick for older shells.
check-in: 7cb1759d user: hobbs tags: core-8-4-branch
2005-05-24
04:21
* macosx/Makefile: * macosx/README: * macosx/Tk-Info.plist.in (new file): * macosx/Wish-Info.plist.in (new file): * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: * unix/tkUnixInit.c: moved all Darwin framework and TkAqua build support from macosx/Wish.pbproj and macosx/Makefile into the standard unix configure/make buildsystem, the project and macosx/Makefile are no longer required to build Tk.framework and/or TkAqua. TkAqua is now enabled by the --enable-aqua configure option, and static and non-framework builds of TkAqua are now available via the standard configure switches. Tk/X11 can also be built as a framework. The macosx/Makefile now wraps the unix buildsystem and no longer uses the projects, embedded builds are still only available via this Makefile, but for other builds it is not longer required (but its current functionality is still available for backwards compatibility). The projects currently do not call through to the Makefile to build (unlike Tcl.pbproj) so project builds may differ from makefile builds. Due to issues with spaces in pathnames, 'Wish Shell.app' has been renamed to 'Wish.app', the macosx/Makefile installs backwards compatibility symlinks for the old name. * macosx/tkMacOSXInit.c (TkpInit): added support for Tk resource file in non-framework and static builds: the resource file is copied into a __tk_rsrc MachO segment of the library or executable at link time and extracted into a temporary location at initialization. * unix/configure: autoconf-2.13
check-in: 96e180a1 user: das tags: core-8-4-branch
04:21
* generic/tkTest.c: disable commands not available on TkAqua.
check-in: bcb2a7dc user: das tags: core-8-4-branch
04:20
* macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: updated copyright years to 2005.
check-in: e67d1c38 user: das tags: core-8-4-branch
2005-05-15
20:57
From Michael Kirkham:
* macosx/tkMacOSXMenu.c (TkpConfigureMenuEntry): Thinko in clearing the ENTRY_ACCEL_MASK before re-parsing it. [Tk Bug 1012852]
* macosx/tkMacOSXScrlbr.c (UpdateControlValues): Don't set the control value BEFORE setting the min and max or the control manager will reset it for you. [Tk Bug 1202181]
* macosx/tkMacOSXXStubs.c (TkMacOSXXGetPixel, TkMacOSXXPutPixel): Restore the port to what it was before putting we were called. [Tk Bug 1202223]
check-in: 46f47444 user: wolfsuit tags: core-8-4-branch
2005-05-14
20:53
* macosx/tkMacOSXInit.c: * macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on CFRunLoop allows replacement of the custom TkAqua notifier by a standard tcl event source. Removes requirement of threaded tcl core for TkAqua, allows to stub-link TkAqua against Tcl by removing use of the unstubbed TclInitNotifier & TclFinalizeNotifier. [Tcl Patch 1202052]
* macosx/Wish.pbproj/project.pbxproj: stub-link TkAqua: build with USE_TCL_STUBS and link against libtclstub instead of Tcl.framework, unexport libtclstub symbols from Tk to avoid duplicate symbol warnings when linking with both Tcl and Tk, fixes for gcc4.0 warnings.
* macosx/tkMacOSXBitmap.c: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: fixed gcc 4.0 warnings.
* unix/tcl.m4: sync with tcl * unix/configure: autoconf-2.13
check-in: dcd4b7c7 user: das tags: core-8-4-branch
2005-05-13
13:48
backport of text widget bug fix check-in: 83dd37b0 user: vincentdarley tags: core-8-4-branch
2005-05-12
22:50
Updated out-of-date references to "Tk_GetBoolean" check-in: 57150e00 user: dgp tags: core-8-4-branch
2005-05-07
00:02
* unix/configure: regen * unix/configure.in: add AC_C_BIGENDIAN check * unix/tcl.m4: correct Solaris 10 (5.10) check and add support for x86_64 Solaris cc builds.
check-in: fa8456c8 user: hobbs tags: core-8-4-branch
2005-04-26
00:49
* macosx/tkMacOSXNotify.c: syncd with tclUnixNotfy.c changes since 2004-06-22, added compile time check for threaded tcl core, removed unthreaded code paths as they are never used anyway, fixed TkMacOSXAlertNotifier() implementation.
* unix/Makefile.in: added TCL_STUB_LIB_FILE, needed for unexporting of symbols from libtclstub to avoid duplicate symbol warnings.
* unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. (SC_TCL_64BIT_FLAGS): fixed 'checking for off64_t' message output.
* unix/configure: autoconf-2.13
check-in: 47298b04 user: das tags: core-8-4-branch
2005-04-12
22:05
* unix/tkUnixFont.c (FontMapLoadPage): reorder char[] decls to avoid possible segv. Minimal fix for [Bug 1122671]
check-in: 1a350b40 user: hobbs tags: core-8-4-branch
20:33
* library/tkfbox.tcl (::tk::dialog::file::): fix typeMenuLab ref. Add undoc'd ::tk::dialog::file::showHiddenBtn var (default 0) that will add a "Show Hidden" checkbutton to tk_get*File and tk_chooseDirectory if set to true. * library/choosedir.tcl (::tk::dialog::file::chooseDir::): fix cancelBtn ref, add hiddenBtn ref for "Show Hidden" button.
check-in: 0e16b439 user: hobbs tags: core-8-4-branch
2005-04-09
15:39
* macosx/README: updated requirements for OS & developer tool versions + other small fixes/cleanup.
check-in: b5a3242c user: das tags: core-8-4-branch
11:40
* macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define constants present only in 10.3 headers so that we can build on 10.2.
check-in: cbcad238 user: das tags: core-8-4-branch
11:19
* macosx/Wish.pbproj/project.pbxproj: fixed absolute path to tkEntry.h that confused 10.2 PBX.
check-in: e710b11e user: das tags: core-8-4-branch
10:17
* unix/tcl.m4 (Darwin): added -single_module linker flag to TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS. * unix/configure: autoconf-2.13
check-in: 74a3d2fc user: das tags: core-8-4-branch
2005-03-30
06:18
* win/tcl.m4, win/configure: do not require cygpath in macros to allow msys alone as an alternative.
check-in: 95140be5 user: hobbs tags: core-8-4-branch
2005-03-25
04:34
Add native drawing for Entry and Spinbox widgets. check-in: 6407b326 user: wolfsuit tags: core-8-4-branch
04:02
Set the default linewidth for new gc's to 1 not 0. Some extensions seem to rely on this. check-in: 3f64acc3 user: wolfsuit tags: core-8-4-branch
2005-03-15
00:29
Updated for OpenBSD and regenerated the configure script check-in: ba21add6 user: patthoyts tags: core-8-4-branch
2005-03-12
00:49
Fix for 1124237 and the mysterious "sometimes buttons don't draw" bug. check-in: 070826cb user: wolfsuit tags: core-8-4-branch
2005-03-10
07:32
Fix for bug 1160025. check-in: 12c51cbb user: wolfsuit tags: core-8-4-branch
2005-03-08
21:53
* win/makefile.vc: clarify necessary defined vars that can come from MSVC or the Platform SDK.
check-in: 42d7c163 user: hobbs tags: core-8-4-branch
21:53
* win/tkWinWm.c (WinSetIcon): fix GCLP_ICONSM -> GCLP_HICONSM.
check-in: 80fb4237 user: hobbs tags: core-8-4-branch
2005-02-28
22:10
* win/tkWinX.c (GenerateXEvent): correct %A translation on MouseWheel [Bug 1118340]
check-in: 1d667cb3 user: hobbs tags: core-8-4-branch
2005-02-24
00:41
* macosx/tkMacOSX.h: fixed incorrect inclusion of internal header. * macosx/tkMacOSXNotify.c: corrected included headers.
check-in: 37de2fa3 user: das tags: core-8-4-branch
2005-02-22
08:49
* macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd, NavServicesGetFile): fixed encoding problems with -initialfile & -filetypes and corrected potential buffer overrun with -initialdir/-initialfile. [Bug 1146057]
check-in: fde487f0 user: das tags: core-8-4-branch
2005-02-14
09:24
Encourage missing-DISPLAY errors to be early in run of test suite. check-in: 4044c173 user: dkf tags: core-8-4-branch
2005-02-12
00:47
* library/panedwindow.tcl (::tk::panedwindow::Cursor): check window existence on delayed call. [Bug 949792]
check-in: e0f3bc40 user: hobbs tags: core-8-4-branch
2005-02-11
21:04
* doc/text.n: note 'image' key in 'dump' command. [Bug 1115907]
check-in: f8c4419d user: hobbs tags: core-8-4-branch
20:34
* win/tkWinWm.c (TkWinGetIcon): fix toplevel retrieval for determining icon ref (potential crash). [Bug 1105738]
check-in: 314abdf5 user: hobbs tags: core-8-4-branch
19:27
* generic/tkCanvBmap.c (ConfigureBitmap, ComputeBitmapBbox): Fixed possible crash with disabled bmap and bbox handling [Bug 1119460] (BitmapToPostscript): made aware of various bitmap types (DisplayBitmap): remove unused fg/bgColor refs
check-in: cefd2bbe user: hobbs tags: core-8-4-branch
2005-02-10
23:41
* unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlined * unix/tcl.m4: into SHLIB_LD). Combine AIX-* and AIX-5 * unix/configure: branches in SC_CONFIG_CFLAGS. Correct gcc builds for AIX-4+ and HP-UX-11.
check-in: dd6c1865 user: hobbs tags: core-8-4-branch
2005-01-31
09:26
Add es_ES-specific localization. [Bug 1111213] check-in: de64af6c user: dkf tags: core-8-4-branch
04:09
Modified to handle a wide-character title string of a toplevel check-in: f9ee60e6 user: chengyemao tags: core-8-4-9-branch
2005-01-29
02:18
correct autoconf generation for sol64-gcc support check-in: c9805bcd user: hobbs tags: core-8-4-branch
2005-01-28
20:59
* unix/configure, unix/tcl.m4: add solaris 64-bit gcc build support. [Bug 1021871]
check-in: 30610ae5 user: hobbs tags: core-8-4-branch
2005-01-27
15:30
Flushed idle events before mapping an embedded window check-in: 7d30e688 user: chengyemao tags: core-8-4-9-branch
2005-01-25
06:54
* macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to show console at startup instead of directly calling [console show].
* unix/tcl.m4 (Darwin): fixed bug with static build linking to dynamic library in /usr/lib etc instead of linking to static library earlier in search path. [Tcl Bug 956908] Removed obsolete references to Rhapsody. * unix/configure: autoconf-2.13
check-in: dc471f10 user: das tags: core-8-4-branch
2005-01-19
02:32
Updated check-in: 648b2324 user: chengyemao tags: core-8-4-9-branch
02:25
Updated check-in: 938c81b2 user: chengyemao tags: core-8-4-9-branch
02:03
Updated for embedded/embedding implementation for Windows check-in: 6e1818fa user: chengyemao tags: core-8-4-9-branch
2005-01-18
11:50
Fix widget parenting issue reported by Keith Nash. Also tidied up a bit. check-in: c37dd90b user: dkf tags: core-8-4-branch
2005-01-14
21:09
unix/tkUnixWm.c: Sync with CVS HEAD (r1.47): Fixes: #959973 "wm title bug" (support Unicode titles) Fixes: #742882 "Potential division by zero in gridded wm geometry" Use Tcl_GetTime instead of TclpGetTime #874745 Use Tcl_Panic() instead of "panic" #865264 Fixes: #632816 "cannot remove transient" Fixes: #568861 "Fix for wm minsize and maxsize commands"

tests/unixWm.test, tests/wm.test: Updated test suite for #632816 (unixWm-37.3, unixWm-37.4, wm-grid-1.11, wm-grid-1.12) and #742882 (unixWm-20.9, unixWm-20.11). check-in: aec60b8d user: jenglish tags: core-8-4-branch

2005-01-11
16:05
D'oh! check-in: d787ec4e user: dkf tags: core-8-4-branch
10:46
Improved version of Michael Kirkham's fix for parsing pad values. [1098779] check-in: e147bb9b user: dkf tags: core-8-4-branch
2005-01-07
11:16
Add missing Tcl_ResetResult [697915] check-in: 487f4a26 user: dkf tags: core-8-4-branch
2005-01-05
21:57
Convert emacs mode comment style to stop problems with old man. [1085127] check-in: 7fa599e7 user: dkf tags: core-8-4-branch
02:45
Made the remarks of TkpUseWindow clearer regarding the embedding/embedded attachment protocol check-in: 10fcd599 user: chengyemao tags: core-8-4-9-branch
2005-01-04
05:30
Started 8-4-9-branch check-in: 6ea71fd1 user: chengyemao tags: core-8-4-9-branch
05:13
Started 8-4-9-branch check-in: afd85276 user: chengyemao tags: core-8-4-9-branch
05:07
bug fixes (crahes/panic during finalization/exit); feature implementation for embedding/embedded Tk (Windows). See Tk 8.5 changes (12/17/04 - 01/03/05) for details check-in: 4cd30ab5 user: chengyemao tags: core-8-4-9-branch
01:28
* win/tkWinWm.c (TkWinWmCleanup): clean up layered window class This caused crash in reinit of Tk (as seen in plugin).
check-in: 14e7610e user: hobbs tags: core-8-4-branch
2004-12-30
01:51
* win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, remove -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]
check-in: 512f8180 user: hobbs tags: core-8-4-branch
2004-12-20
10:03
iFix silly typo. [Bug 1087842] check-in: 86e0ecc0 user: dkf tags: core-8-4-branch
2004-12-09
10:05
Speed up use of Tk_PhotoPutBlock by allowing it to skip the complex-alpha check in degenerate (and common) cases. [Bug 1081966] check-in: 9e3d2d5b user: dkf tags: core-8-4-branch
2004-12-06
19:42
* library/text.tcl (::tk::TextUpDownLine): revert 2004-11-23 as it prevented scrolling to bottom.
check-in: 3a1ed7eb user: hobbs tags: core-8-4-branch, core-8-4-9
2004-12-03
23:01
retagged 8.4.9 to include alpha blend patch check-in: ff9913d6 user: hobbs tags: core-8-4-branch
13:16
Alpha blending fixes. [Patch 848161] check-in: a4ca68a8 user: dkf tags: core-8-4-branch
00:45
updated for 8.4.9 release check-in: 1df92410 user: hobbs tags: core-8-4-branch
2004-12-02
02:07
* unix/tkUnixButton.c (TkpDisplayButton): constrain coords to Tk_RedrawImage to display only portion that is valid. * generic/tkImgPhoto.c (ImgPhotoDisplay): add X error suppression around XGetImage to prevent app abort. [Bug 979239]
check-in: f75d901f user: hobbs tags: core-8-4-branch
2004-11-25
00:26
bumped patchlevel to 8.4.9 check-in: 978cb2c7 user: hobbs tags: core-8-4-branch
2004-11-23
17:50
fix to movement up/down in text widget by display lines check-in: 028e6ea4 user: vincentdarley tags: core-8-4-branch
2004-11-19
09:48
*** empty log message *** check-in: 09b985f3 user: rmax tags: core-8-4-branch, core-8-4-8
09:48
* doc/pack-old.n: Changed the internal name of the man page to pack-old to avoid a name clash in the installed man pages.
check-in: 39f04440 user: rmax tags: core-8-4-branch
09:46
Classic sed doesn't support | in REs. check-in: fbe8f8a3 user: rmax tags: core-8-4-branch
2004-11-18
18:09
Arghh - some seds don't even support comments at all. check-in: 084c0f17 user: rmax tags: core-8-4-branch
17:22
Some versions of sed appear to need semicolons in front of comments. check-in: f7d2f7c6 user: rmax tags: core-8-4-branch
16:24
mark release tagging check-in: 315b48db user: dgp tags: core-8-4-branch
16:19
* changes: Final updates for Tcl 8.4.8 release.
check-in: 90505285 user: dgp tags: core-8-4-branch
10:28
Fixed manpage installation. check-in: b9193bca user: rmax tags: core-8-4-branch
02:08
2004-11-18 Reinhard Max <[email protected]>
* unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of * unix/configure.in: patch #996085, that introduces * unix/Makefile.in: --enable-man-suffix.
* unix/installManPage: added * unix/mkLinks: removed
check-in: d919f4fb user: rmax tags: core-8-4-branch
2004-11-17
22:44
* generic/tkCanvWind.c (ConfigureWinItem): unmap windows immediately when state hidden is requested. [Bug 982248]
check-in: f52a2293 user: hobbs tags: core-8-4-branch
22:18
see changes check-in: 220cc2ba user: hobbs tags: core-8-4-branch
22:18
* generic/tkCanvImg.c (ImageToPostscript): don't try ps generation of canvas image item without image specified. [Bug 1032300]
check-in: 2956d401 user: hobbs tags: core-8-4-branch
22:18
* library/console.tcl (::tk::console::ExpandVariable): correct array keyname expansion. [Bug 1004508] (bold)
check-in: ae209e19 user: hobbs tags: core-8-4-branch
22:18
* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): set save_under X attr to prevent expose events when moving sash. [Bug 1036963]
check-in: 7aeefc19 user: hobbs tags: core-8-4-branch
2004-11-16
19:02
* changes: Updates for Tk 8.4.8 release.
check-in: 7d5c7f78 user: dgp tags: core-8-4-branch
17:51
* library/msgs/it.msg: Updated Italian message catalog. Thanks to Roberto Ugoccioni [Bug 1063675].
check-in: a2d94a73 user: dgp tags: core-8-4-branch
2004-11-13
03:42
* macosx/tkMacOSXXStubs.c: implemented XGetGeometry().
check-in: bafeb73e user: das tags: core-8-4-branch
2004-11-12
23:54
* generic/tkCmds.c (Tk_TkObjCmd): use correct screen data when -displayof arg is passed to [tk scaling]. [Bug 800178]
check-in: 3434a6a7 user: hobbs tags: core-8-4-branch
09:03
* macosx/tkMacOSXFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make sure that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug 618872]
check-in: b5b20919 user: das tags: core-8-4-branch
2004-11-11
01:26
* generic/tkMain.c: * macosx/tkMacOSXAppInit.c (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable, enabling [package require Tk] from tclsh. Startup code from tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that notifies the window server that an unbundled executable is a full GUI application after loading Tk. [Patch 1035348]
* doc/wm.n: documented [wm attributes] on Mac OS X. [Bug 606665] * macosx/tkMacOSXWm.c: implemented TIP 222 [wm attributes -alpha] on Mac OS X. [Patch 892194] WmIconbitmapCmd: adopted FSRef changes from [wm atttrs -titlepath].
* macosx/tkMacOSXButton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXSubwindows.c: synced spacing/formatting with HEAD.
* macosx/tkMacOSXMouseEvent.c: endianness fixes.
* macosx/Wish.pbproj/project.pbxproj: corrected path to html help inside framework.
* macosx/Makefile: prevent parallel make from building several targets at the same time. Ensure that xcodebuild will use Wish.pbproj project even if a .xcode project is also present.
check-in: c98b6fdb user: das tags: core-8-4-branch
2004-11-10
17:29
Fix for 1055023 from [email protected]. check-in: 90e1ea58 user: wolfsuit tags: core-8-4-branch
2004-10-29
22:34
* tests/wm.test: Add Win32 test cases for attributes subcommand. * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic for attributes subcommand.
check-in: 2b3add48 user: mdejong tags: core-8-4-branch
11:52
* win/makefile.vc (DOTVERSION): Was installing 8.4 relabelled as 8.5 check-in: 22a05da9 user: patthoyts tags: core-8-4-branch
11:16
* library/tk.tcl (::tk::PlaceWindow): Backported the fix from #533519 to handle window placement on multi-monitor Windows. check-in: a9eeca37 user: patthoyts tags: core-8-4-branch
07:52
Minor format fix check-in: 15646431 user: dkf tags: core-8-4-branch
07:51
Whoops, missed removing an 8.5 feature from an example when backporting check-in: 216e3048 user: dkf tags: core-8-4-branch
2004-10-28
22:40
* doc/wm.n: Add wm attributes . -alpha doc to account for recent alpha changes.
check-in: 8086eb77 user: mdejong tags: core-8-4-branch
20:11
* win/tkWin32Dll.c (DllMain, _except_dllmain_detach_handler): Back port HAVE_NO_SEH handler code from CVS HEAD to fix gcc build breakage caused by 2004-10-26 back port.
check-in: 50436749 user: mdejong tags: core-8-4-branch
16:49
* README: Bumped to patch level 8.4.8 * generic/tk.h: to prepare for next patch * macosx/Wish.pbproj/project.pbxproj: release. * unix/configure.in: * unix/tk.spec: * win/configure.in:
* unix/configure: autoconf (2.13) * win/configure:
check-in: 840ce813 user: dgp tags: core-8-4-branch
15:18
* unix/tkUnixScale.c (DisplayHorizontalValue): Backport fix for #220927 by Michael Schlenker to keep the labels within the window. check-in: 89c638a7 user: patthoyts tags: core-8-4-branch
12:25
More backporting of doc fixes check-in: f449787f user: dkf tags: core-8-4-branch
10:19
Backport of documentation fixes check-in: 2c695c79 user: dkf tags: core-8-4-branch
2004-10-27
17:34
backport compiler warning silencers check-in: 91f6a20a user: dgp tags: core-8-4-branch
16:37
* library/xmfbox.tcl (MotifFDialog_BuildUI): Fix [Bug 987169] in the Motif file dialogs as well. Backport of DKF bug fix.
check-in: c007d927 user: dgp tags: core-8-4-branch
00:39
no message check-in: 6a366f3d user: davygrvy tags: core-8-4-branch
00:37
* generic/tkInt.h: Backport of shutdown safety mods from the HEAD * 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: check-in: 9eb5a917 user: davygrvy tags: core-8-4-branch
00:36
* win/makefile.vc: Backport to the most recent * win/rules.vc: changes on the HEAD. * win/nmakehlp.c: check-in: e79198cc user: davygrvy tags: core-8-4-branch
00:35
* generic/tkInt.decls: Signature for tkWinXCleanup needed to be * generic/tkIntPlatDecls.h: changed so it matches the Tcl_ExitProc typedef to avoid a bad-style cast. check-in: 4b405fac user: davygrvy tags: core-8-4-branch
2004-10-26
23:22
* tests/safe.test (safe-1.3): Made test less sensitve to the full set of existing aliases in an interp, so the it only tests whether the tested ones are present.
* unix/Makefile.in: Copied LD_LIBRARY_PATH machinery from `make shell` target to other similar targets so that just built libraries are tested, rather than previous installations.
check-in: fa2305f8 user: dgp tags: core-8-4-branch
16:39
* generic/tkEvent.c (Tk_HandleEvent): Call XSetICFocus whenever the window receives focus. This fixes bug #905830 but avoids #1000051. check-in: 69217bd0 user: rmax tags: core-8-4-branch
10:42
Correlate fix with bug number check-in: 48b085f4 user: dkf tags: core-8-4-branch
2004-10-21
01:12
* win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER to SetWindowPos when maintaining win Z order, to prevent parent from flashing (adjusting Z order).
check-in: e0aa8313 user: hobbs tags: core-8-4-branch
2004-10-05
22:27
Backport of 8.5 wm iconphoto that added support for Tk photo * 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]
check-in: 5b4eed75 user: hobbs tags: core-8-4-branch
2004-09-24
17:35
* generic/tkCursor.c: Add missing initialization in debug routine.
check-in: 6ad139a9 user: dgp tags: core-8-4-branch
2004-09-23
01:49
* win/tkWinInt.h (TkWinDisplayChanged): added decl * 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]
check-in: f63b0d0b user: hobbs tags: core-8-4-branch
00:56
* generic/tkInt.decls: Add decl for TkWinGetPlatformTheme. 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/tkWinMenu.c: only provide a submenu handle when the MF_POPUP flag is given, fixing a recently-introduced crash when submenus are disabled. Also better error checking for this sort of situation in the future.
* win/tkWinMenu.c (ReconfigureWindowsMenu): Fix drawing of a disabled (TkWinHandleMenuEvent, DrawMenuEntryArrow): cascade menu arrow. Tk was displaying a disabled cascade menu arrow in black instead of gray. This was caused by a bug in the Win32 code for user drawn menu items. The fix is to avoid telling Windows that the menu item is a cascade type and then draw the gray arrow bitmap on our own. [Patch 865842]
* win/tkWinMenu.c (DrawWindowsSystemBitmap): Fix a strange Win32 bug where the logical coordinates returned by a call to DPtoLP are wrong the first time a menu is posted. This bug manifested itself by drawing the bitmap in the wrong place in a menu. The fix was to pass the newly created DC instead of the DC from the window.
* win/tkWinMenu.c (DrawMenuEntryAccelerator): (DrawMenuEntryLabel): When drawing the label text and accelerator text for a disabled menu entry be sure to draw a 3D highlight. The only exception to this is when a disabled menu entry is highlighted, in that case do not draw a 3D hightlight.
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryArrow): Move the unused menu arrow drawing code in DrawMenuEntryAccelerator into a new function named DrawMenuEntryArrow. This makes no functional change but it will make it easier to fix things in the future.
check-in: e42dad6e user: mdejong tags: core-8-4-branch
00:35
* win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA defines so that compiling with mingw works again.
check-in: 5e334d0f user: mdejong tags: core-8-4-branch
2004-09-21
00:08
* win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attribute settings prior to window mapping and resort to more forceful wrapper update again for -toolwindow (to remove it from taskbar).
check-in: 6a4ccd93 user: hobbs tags: core-8-4-branch
2004-09-19
00:10
missed wm attr test check-in: ea885633 user: hobbs tags: core-8-4-branch
2004-09-18
23:59
(UpdateWrapper): don't adjust Z order of TOPMOST window. (WmAttributesCmd): don't call UpdateWrapper for -disabled or -toolwindow attr changes.
check-in: fb660b73 user: hobbs tags: core-8-4-branch
22:48
* win/tkWinWm.c (WmAttributesCmd): correct -alpha 0.0/1.0 setting and round the value.
check-in: f429b1d4 user: hobbs tags: core-8-4-branch
00:48
* macosx/README: typos * macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext): performance improvements: removed slow & unnecessary calls.
check-in: 95f57575 user: das tags: core-8-4-branch
2004-09-17
23:45
patch 892194 TIP#222 changes check-in: c76ad127 user: hobbs tags: core-8-4-branch
23:36
* 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]
check-in: 9ebe03d6 user: hobbs tags: core-8-4-branch
22:45
* win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z order * tests/winWm.test: and focus of preexisting window when replacing the wrapper window. * win/tkWinWm.c (WmIconwindowCmd): Replace bogus call to XWithdrawWindow with proper code. (mdejong)
check-in: e10081e3 user: hobbs tags: core-8-4-branch
2004-09-16
20:05
* generic/tkMenu.c (MenuWorldChanged): ensure that we recompute the menu geometry on WorldChanged to handle font size changes. [Bug 607649]
check-in: 8a1d648d user: hobbs tags: core-8-4-branch
18:22
Fixed a memory leak when a placed widget was forgotten. [Bug 1028888] check-in: 419a463e user: pspjuth tags: core-8-4-branch
2004-09-13
22:54
* win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the right size for both icons ('?:' order of precedence mistake).
check-in: 4a5135c9 user: hobbs tags: core-8-4-branch
2004-09-10
22:28
More state resetting on dialog start. [Bug 845189] check-in: 612839c9 user: dkf tags: core-8-4-branch
20:50
(UpdateWrapper): update to Kovalenko to account for 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.
check-in: 82c2d4f0 user: hobbs tags: core-8-4-branch
20:48
Stop tk_strictMotif poisoning of the widget demo [Bug 1013942] check-in: ba7607ee user: dkf tags: core-8-4-branch
18:47
* win/tkWinWm.c (ActivateWindow): SetFocus to grab window when clicking outside the grab window hierarchy. [Bug 220908]
check-in: 8662e4a3 user: hobbs tags: core-8-4-branch
04:59
* win/tkWinWm.c: backport of several items from 8.5 head: (ReadIconFromFile): when using SHGetFileInfo to retrieve icon, get regular icon as well for correct Alt-Tab icon. (hobbs) Fix for #742882 "Potential division by zero in gridded wm geometry" (jenglish) (UpdateWrapper): Let overrideredirect'ed window's wrapper be the child of desktop window, thus making it to behave more similarly to X11 Override Redirect. Esp. useful for combobox-like megawidgets. (kovalenko) (InstallColormaps): Check for TK_ALREADY_DEAD to avoid handling of dead windows. (kovalenko) Change 'panic' to 'Tcl_Panic' (davygrvy)
check-in: 5da91afc user: hobbs tags: core-8-4-branch
2004-09-06
23:21
* library/tkfbox.tcl (::tk::dialog::file::Create): use label instead of button for "File of type", as it properly handles -state disabled now.
check-in: e3defcc0 user: hobbs tags: core-8-4-branch
2004-08-26
18:04
* library/text.tcl (::tk::TextTranspose): Ensure that Transpose is an atomic op to undo. Replace 'string compare' with 'ne'.
check-in: d6e81525 user: hobbs tags: core-8-4-branch
2004-08-20
01:14
* win/tkWinDialog.c (EatSpuriousMessageBugFix): Fix a problem with double clicks in file dialogs falling through to the window underneath in win32. [Patch #611615]
check-in: 3c150a73 user: hobbs tags: core-8-4-branch
00:40
* win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon from * win/tkWinInt.h: the -parent window for * win/tkWinWm.c (TkWinGetIcon): the MessageBox.
check-in: 79fdb01a user: hobbs tags: core-8-4-branch
2004-08-18
08:23
Add missing GEOMETRY flag to -handlepad option. [Bug 1010938] check-in: 221d92d1 user: dkf tags: core-8-4-branch
2004-08-10
18:14
Fix for #1006686 "wm resizable command not working on Solaris/CDE" (patch from Colin McDonald). check-in: f6dc2bfa user: jenglish tags: core-8-4-branch
2004-08-09
23:48
* tests/canvText.test: * win/tkWinFont.c (Tk_MeasureChars): Fix for text wrapping problem that appeared using canvas text under Win32. A long wrapping string that had leading spaces was being incorrectly wrapped. This change makes the Win32 implementation behave the same as the Unix implementation. [Patch 100628
check-in: 7e61c798 user: mdejong tags: core-8-4-branch
2004-08-05
08:57
Backport of yesterday's compositing fixes check-in: 8812816e user: dkf tags: core-8-4-branch
2004-07-30
08:32
* unix/configure: * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var.
check-in: 02f5e72a user: das tags: core-8-4-branch
2004-07-29
22:05
date typo check-in: 8b2787f3 user: dgp tags: core-8-4-branch, core-8-4-7
21:48
Re-tag for core-8-4-7 check-in: 0a2db1ec user: dgp tags: core-8-4-branch
21:47
* changes: * generic/tkEvent.c (Tk_HandleEvent): revert the 2004-07-20 commit. That commit created a new Bug 1000051 - a broken Compose Key. This revert restores Bug 905830 until a cleaner fix can be provided.
check-in: 5a82fae9 user: dgp tags: core-8-4-branch
2004-07-27
20:31
* generic/tkImgGIF.c (FileReadGIF): fix crash reported by Reinhard Max: in case of premature end of image data, return error instead of passing nil buffer to Tk_PhotoPutBlock().
check-in: b4fb499b user: das tags: core-8-4-branch
18:58
* generic/tkRectOval.c (ComputeRectOvalBbox): Mac OS X specific fix to rounding in bounding box 'bloat' calculation to avoid drawing outside of bounding box when CG drawing enabled. Fix probably correct on other platforms as well?
* macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): fixed LinkVar type for tkMacOSXCGAntiAliasLimit.
check-in: 55976a22 user: das tags: core-8-4-branch
18:52
Fix the doco's for the anti-aliasing limit variable to be more helpful check-in: 4acf6d3f user: wolfsuit tags: core-8-4-branch
2004-07-26
21:24
typo check-in: bce94efb user: hobbs tags: core-8-4-branch
20:16
changes for 8.4.7 check-in: 935bb3e2 user: hobbs tags: core-8-4-branch
2004-07-25
02:29
Change the default menu -tearoff value to 0 until we actually get tearoff menus working again. check-in: 3430bfb0 user: wolfsuit tags: core-8-4-branch
02:19
Forgot this one in the last checkin... check-in: 8d13ba29 user: wolfsuit tags: core-8-4-branch
01:57
Finish the implementation of the CG version of the X Drawing layer. Add support for returning values for the wm attributes commands, and use FSRef's rather than FSSpec's. check-in: ca2ae6b8 user: wolfsuit tags: core-8-4-branch
2004-07-23
15:42
[Merge from HEAD]

Mac OS X: Fix several problems with Icelandic (and Faroese) keyboards reported by J�r�me Gagnon-Voyer <gagnonje5000<at>mac<dot>com> on tcl-mac on 2004-03-22.

* macosx/tkMacOSXKeyEvent.c (KLSInit): Add. (GetKeyboardLayout): Add calls to Keyboard Layout Services, if present. Rework classic handling. Use GetKCHREncoding(). Add parameter encodingPtr. (GetKCHREncoding): Add. check-in: ffa0483c user: cc_benny tags: core-8-4-branch

15:32
[merge from trunk version 1.9]

Fix several problems with Icelandic (and Faroese) keyboards reported by J�r�me Gagnon-Voyer <gagnonje5000<at>mac<dot>com> on tcl-mac on 2004-03-22.

(KLSInit): Add. (GetKCHREncoding): Add. (GetKeyboardLayout): Add calls to Keyboard Layout Services, if present. Rework classic handling. Use GetKCHREncoding(). Add parameter encodingPtr. check-in: 0cfc1fc7 user: cc_benny tags: core-8-4-branch

2004-07-22
22:24
* library/tkfbox.tcl (::tk::dialog::file::Update): use -directory [pwd] (instead of .) to get around some VFS edge case bugs. Use [bind $w], not [$w configure] to modify bindings.
check-in: 9838ea42 user: hobbs tags: core-8-4-branch
2004-07-21
04:27
Don't queue events for unmapped children. check-in: a67df264 user: wolfsuit tags: core-8-4-branch
03:07
* generic/tkEvent.c (Tk_HandleEvent): ensure IC focus is set after creation. [Bug #905830]
check-in: 8461c26c user: hobbs tags: core-8-4-branch
2004-07-20
11:13
* unix/tcl.m4: fixed Darwin autoconf breakage caused by recent CFLAGS reordering. * unix/configure: regen
check-in: 63addd89 user: das tags: core-8-4-branch
06:10
* macosx/Makefile: added support to tk framework build to optionally install tk manpages in addition to html help, similarly to tcl/macosx/Makefile.
* macosx/Wish.pbproj/project.pbxproj: fixes for building with non-default SYMROOT/OBJROOT/SRCROOT, added support for using a Tcl.framework in DYLIB_INSTALL_PATH != /Library/Frameworks, added optional support for building html help without tcl sources present by giving explicit location of tcltk-man2html script.
* macosx/tkMacOSXMenu.c: fixed #include case sensitivity bug.
check-in: 713b764c user: das tags: core-8-4-branch
06:05
* macosx/Makefile: added support to tk framework build to optionally install tk manpages in addition to html help, similarly to tcl/macosx/Makefile.
* macosx/Wish.pbproj/project.pbxproj: fixes for building with non-default SYMROOT/OBJROOT/SRCROOT, added support for using a Tcl.framework in DYLIB_INSTALL_PATH != /Library/Frameworks, added optional support for building html help without tcl sources present by giving explicit location of tcltk-man2html script.
* macosx/tkMacOSXMenu.c: fixed #include case sensitivity bug.
check-in: d0d7e64c user: das tags: core-8-4-branch
2004-07-19
20:30
* unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after their * unix/configure.in, unix/configure: _DEFAULT to allow for env setting to override m4 switches. Consolidate header checks to limit redundancy in configure. (CFLAGS_WARNING): Remove -Wconversion, add -fno-strict-aliasing for gcc builds (need to suppress 3.x type puning warnings). (SC_ENABLE_THREADS): Set m4 to force threaded build when built against a threaded Tcl core. Reorder configure.in for better 64-bit build configuration, replacing EXTRA_CFLAGS with CFLAGS. [Bug #874058]
check-in: 6045f801 user: hobbs tags: core-8-4-branch
2004-07-15
05:24
2004-07-14 Jim Ingham <[email protected]>
* macosx/tkMacOSXCursor.c (TkpSetCursor): The code to not reset the cursor more often than necessary was getting fooled when the current cursor was nulled out when the current cursor gets freed. So in the case where the input cursor was NULL, we have to just always set it. [Bug #894550]
check-in: 8c285600 user: wolfsuit tags: core-8-4-branch
2004-07-14
19:07
* generic/tkUndo.c (TkUndoSetDepth): correct -maxundo segfault. [Bug #969358] (jiangwu)
check-in: 0a008415 user: hobbs tags: core-8-4-branch
19:02
updated to patchlevel 8.4.7 check-in: 9da80e83 user: hobbs tags: core-8-4-branch
2004-07-13
19:32
* README, macosx/Wish.pbproj/project.pbxproj: bumped to * unix/configure, unix/configure.in, unix/tk.spec: patchlevel 8.4.7 * win/configure, win/configure.in:
check-in: 3c03ae31 user: hobbs tags: core-8-4-branch
2004-07-11
22:32
Users can cause Unix file dialog to vanish early; treat like Cancel [Bug 987169] check-in: d5145ee9 user: dkf tags: core-8-4-branch
2004-06-29
23:20
* generic/tkCmds.c (Tk_WinfoObjCmd): refetch interp result obj for 'winfo id' as it can change when making the window exist.
check-in: 6a3441f1 user: hobbs tags: core-8-4-branch
2004-06-25
08:46
Fix [Bug 979239] by only redrawing an image when it has real area. check-in: 19ad28a1 user: dkf tags: core-8-4-branch
2004-06-08
20:44
* generic/tkCanvText.c (DisplayCanvText): Fix text rendering problem with canvas text items that have a selected region. The previous implementation would render the whole line and then redraw the selected text if it was a different color. This caused problems when the selected text foreground differs from the normal text foreground, the anti-aliasing alpha pixels for the two text strings would blend together resulting in strange looking text. The fix is to draw the normal text and the selected text separately. This problem has only been observed under Windows, with anti-aliased text. [Patch 968725]
check-in: 3dc17039 user: mdejong tags: core-8-4-branch
20:11
silence compiler warning check-in: 0b65a342 user: dgp tags: core-8-4-branch
2004-05-15
04:07
Modified UpdateWrapper to fix bug 767176 check-in: 1b41988c user: chengyemao tags: core-8-4-branch
2004-05-13
23:28
Shrank the font size of messages in the Unix/X11 [tk_messageBox] It looks better like this. :^) check-in: 940859d3 user: dkf tags: core-8-4-branch
14:29
* generic/tkBind.c <HandleEventGenerate>: Modified to fix wish crach due to incorrectly generate <Destroy> event. This bug was reported in comp.lang.tcl but not logged.
check-in: e3f5f4b7 user: dgp tags: core-8-4-branch
2004-05-10
08:30
Apply fix from tcl bug #950049 for make docs. check-in: 2dc7495f user: patthoyts tags: core-8-4-branch
2004-05-05
16:51
* win/tkWinFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make sure that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug #618872] (dkf, hobbs)
check-in: f17ec177 user: hobbs tags: core-8-4-branch
2004-05-03
23:23
* win/tkWinMenu.c, unix/tkUnixMenu.c (DrawMenuEntryLabel): place images of compound menu entries in indicator space if not a radio of checkbutton. [Bug #756952] (eserte)
check-in: bbd12840 user: hobbs tags: core-8-4-branch
22:40
* win/tkWinX.c: fix drawing of unicode chars in menu * win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl) * win/tkWinMenu.c (ReconfigureWindowsMenu):
check-in: 2173eb5c user: hobbs tags: core-8-4-branch
22:23
* generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.c * mac/tkMacXStubs.c: to being implemented in a platform * macosx/tkMacOSXXStubs.c: specific manner. The cleanup order was * unix/tkUnixEvent.c: bad at least on Windows, where we * win/tkWinX.c: reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
check-in: 08825fb3 user: hobbs tags: core-8-4-branch
19:36
* library/panedwindow.tcl (MarkSash): call DragSash to stop sash jump when B1 is pressed and released without moving. [Bug #932155] Make the panedwindow -opaqueresize option work as per the docs. [Bug #778893]
check-in: 9aba25da user: hobbs tags: core-8-4-branch
19:17
* tests/panedwindow.test: panedwindow-25.1 * generic/tkPanedWindow.c (Unlink): clean up -before/-after refs to a slave when removing it. [Bug #928413] (griffin)
check-in: 635744de user: hobbs tags: core-8-4-branch
18:01
(ImgPhotoCmd): correct matched handling to that in head check-in: 6387e316 user: hobbs tags: core-8-4-branch
17:59
* generic/tkImgPhoto.c (ImgPhotoConfigureMaster): force -data into ByteArray and -format into String to correctly handle them if they have been shimmered or created as some other object type. (ImgPhotoCmd): correctly init matched to 0.
check-in: 23bf0b86 user: hobbs tags: core-8-4-branch
2004-04-21
02:45
Backported fix for bug #915350 "Tk sets min, max size in WM_HINTS when it shouldn't" and #922336 "Tk apps have no maximize window button under KDE-3.2.1" check-in: f2928ada user: jenglish tags: core-8-4-branch
2004-04-17
03:54
* library/bgerror.tcl (bgerror): rework to only set -topmost bit on Windows if necessary. Also use existing ::tk functions for placing dialog and managing focus/grab.
check-in: 27d6b202 user: hobbs tags: core-8-4-branch
2004-04-01
18:40
Fix for Bug 220871. check-in: 8d42779f user: wolfsuit tags: core-8-4-branch
2004-03-27
00:40
Backport of FRQ 540375 changes. check-in: 7d40a1c7 user: dkf tags: core-8-4-branch
00:12
Allow PPMs to be read from a string. [FRQ 540375] check-in: a8b135fb user: dkf tags: trunk
2004-03-26
22:01
Backport of 923555 fixes check-in: 9c881ec3 user: dkf tags: core-8-4-branch
20:35
* unix/tcl.m4: Replaced -Wno-strict-alias with more portable -fno-strict-alias alternative. * unix/configure: autoconf-2.57
check-in: dee78c9b user: dgp tags: trunk
19:57
* README: Bump version to 8.5a2. * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in:
* unix/configure: autoconf-2.57 * win/configure:
check-in: 35745fd0 user: dgp tags: trunk
19:49
Tweak to 923555 fix. check-in: 06c5dccc user: dgp tags: trunk
14:45
Whoops. Forgot to set the photo image type registration correctly. D'oh! check-in: 540892f1 user: dkf tags: trunk
14:34
Allow old-style image formats to create string representations of photos, and allow the production of PPM format data in a string. [Bug 923555] check-in: 13333fe1 user: dkf tags: trunk
2004-03-25
14:33
Doc clarification. [Bug 922610] check-in: a9c5f761 user: dkf tags: trunk
12:12
Fix typos in documentation check-in: ce638ff1 user: vincentdarley tags: trunk
2004-03-22
16:04
Corrected docs to no longer use malloc/free. [Bug 920695] check-in: a4ed7a7a user: dkf tags: trunk
2004-03-21
04:07
XMoveWindow and XMoveResizeWindow need to propagate ConfigureNotify events to the children of the moved or resized window. check-in: e394e424 user: wolfsuit tags: trunk
03:54
XMoveWindow and XMoveResizeWindow need to propagate configure notify events down to their children. check-in: 46147c5d user: wolfsuit tags: core-8-4-branch
2004-03-17
19:35
Trivial bug in tracking Hide/Show pairs. check-in: 4988d435 user: wolfsuit tags: core-8-4-branch
19:01
Get the "Command-H" -> hide binding working. Also remove the spurious Quit menu item from the File command. check-in: fddb1a3f user: wolfsuit tags: core-8-4-branch
18:15
Removed support for Mac OS Classic platform [Patch 918139] check-in: 28ec831e user: das tags: trunk
2004-03-16
19:55
* unix/tkUnixButton.c (TkpDrawCheckIndicator): correct crash condition for new radio/checkbuttons when colors are exhausted. [Bug 915330] (griffin)
check-in: 18f5e754 user: hobbs tags: trunk
19:53
* unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC to suppress useless type puning warnings.
check-in: ece391c0 user: hobbs tags: trunk
19:53
fix lint warnings check-in: e208e3fd user: hobbs tags: trunk
19:52
fix cast warnings check-in: b7e23043 user: hobbs tags: trunk
2004-03-09
03:36
no message check-in: 9622a833 user: davygrvy tags: trunk
03:35
Checks MSDevDir, not MSVCDir envar. check-in: 710684e4 user: davygrvy tags: trunk
2004-03-05
07:32
* win/tkWin32Dll.c: Add variables needed when compiling with mem debug under Mingw. This fixes the checking from 2003-12-25.
check-in: 309dca44 user: mdejong tags: trunk
2004-03-04
00:17
minor doc fixes for html conversion check-in: f35f8541 user: hobbs tags: trunk, core-8-5-a1
00:07
* unix/Makefile.in (dist): don't require win/lamp.bmp copy in dist target (it's already handled by win/rc/*.bmp copy)
check-in: 1214fa40 user: hobbs tags: trunk
00:06
minor doc fixes for html conversion check-in: bef0139c user: hobbs tags: trunk
2004-03-03
23:39
note TIP#113 changes check-in: 1866c870 user: hobbs tags: trunk
23:27
updated changes for 8.5a1 check-in: adab714f user: hobbs tags: trunk
2004-03-02
00:49
update patchlevel to 8.5a1 check-in: b8a56c5e user: hobbs tags: trunk
00:48
update HP-11 build libs setup check-in: f55610ac user: hobbs tags: trunk
2004-03-01
19:27
update changes for 8.4.6 release check-in: 57f8a7de user: dgp tags: trunk
19:26
update release date check-in: 6adc84f9 user: dgp tags: core-8-4-branch, core-8-4-6
18:24
updated release note files for 8.4.6 check-in: da2e6fcf user: dgp tags: core-8-4-branch
17:50
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling on IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.57
check-in: dc875a92 user: dgp tags: trunk
17:49
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling on IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.13
check-in: bbdb16fe user: dgp tags: core-8-4-branch
2004-02-28
15:59
remove access to tclInt.h check-in: 5d6500ac user: vincentdarley tags: trunk
2004-02-25
13:33
* macosx/tkMacOSXKeyboard.c (TkpInitKeymapInfo): Don't make <Alt> and <Meta> synonyms for <Command> and <Option> for now. (already on 2004-02-17) check-in: 5eced326 user: cc_benny tags: trunk
13:29
* (TkpInitKeymapInfo): Don't make <Alt> and <Meta> synonyms for <Command> and <Option> for now. (Copied from 1.17) check-in: a4e06542 user: cc_benny tags: core-8-4-branch
13:23
* library/demos/widget (addFormattedText): Correct off-by-one error. check-in: 3553c368 user: cc_benny tags: trunk
13:22
* (addFormattedText): Correct off-by-one error. check-in: 0e1515c7 user: cc_benny tags: trunk
2004-02-23
22:49
* macosx/Makefile: ensure that xcodebuild will use the Wish.pbproj project even if a .xcode project is also present.
check-in: fe8714e7 user: das tags: trunk
14:18
typo check-in: 55ed5c9b user: dgp tags: core-8-4-branch
12:03
* macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events.
* macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: changed year in copyright strings to 2004.
check-in: d0920961 user: das tags: trunk
10:49
* macosx/tkMacOSXDraw.c: * macosx/tkMacOSXXStubs.c: * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions to deal properly with XImages copied from screen. * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. * generic/tkImgPhoto.c (ImgPhotoDisplay): enabled alpha blending for images with partial transparency on MacOSX. [Bug 809157]
check-in: 9cff2118 user: das tags: core-8-4-branch
10:48
* macosx/tkMacOSXDraw.c: * macosx/tkMacOSXXStubs.c: * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions to deal properly with XImages copied from screen. * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. [Bug 809157]
check-in: 98c161ba user: das tags: trunk
2004-02-20
19:54
update changes to 8.4.6 release check-in: 77501805 user: dgp tags: trunk
19:54
date typos check-in: 03c48f0b user: dgp tags: core-8-4-branch
19:51
update changes for 8.4.6 release check-in: 6c1a9137 user: dgp tags: core-8-4-branch
2004-02-18
21:25
Fixed a bug in grid geometry calculations for a shrinking grid. [Bug 899246] check-in: 5b7a6b07 user: pspjuth tags: trunk
20:56
move 8.4.6 tag to include grid fix check-in: 1c2742a5 user: hobbs tags: core-8-4-branch
20:10
Fixed a bug in grid geometry calculations for a shrinking grid. [Bug 899246] check-in: 89e1956c user: pspjuth tags: core-8-4-branch
02:22
* generic/tkBind.c (HandleEventGenerate): only modify root[xy] with [xy] when they haven't been otherwise set.
check-in: b44f0704 user: hobbs tags: trunk
02:17
note 8.4.6 tag point check-in: 33b5a1e4 user: hobbs tags: core-8-4-branch
02:17
* generic/tkBind.c (HandleEventGenerate): only modify root[xy] with [xy] when they haven't been otherwise set.
check-in: 75d8663e user: hobbs tags: core-8-4-branch
01:06
Whitespace police check-in: 1d04fa4d user: dgp tags: trunk
00:40
* doc/checkbutton.n: TIP#110 implementation * doc/radiobutton.n: Tristate Checkbutton and Radiobuttons * generic/tkButton.c: * generic/tkButton.h: * library/demos/check.tcl: * library/demos/radio.tcl: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDefault.h: * tests/button.test: * unix/tkUnixButton.c: * unix/tkUnixDefault.h: * win/tkWinButton.c: * win/tkWinDefault.h:
check-in: 59826fd6 user: hobbs tags: trunk
2004-02-17
20:40
* tests/imgPhoto.test (imgPhoto-16.1): Corrected incorrect variable name [Bug 899010].
check-in: a9956e1c user: dgp tags: core-8-4-branch
20:39
* tests/imgPhoto.test (imgPhoto-16.1): Corrected incorrect variable name [Bug 899010].
check-in: ed84c02a user: dgp tags: trunk
19:49
* (TkpInitKeymapInfo): Don't make <Alt> and <Meta> synonyms for <Command> and <Option> for now. check-in: d3da83fe user: cc_benny tags: trunk
13:47
Thought about the doc-fix a bit more and decided to remove the typedef line instead; you'd never type it to use a Tk_Uid, after all... check-in: b44662cb user: dkf tags: trunk
13:47
Thought about the doc-fix a bit more and decided to remove the typedef line instead; you'd never type it to use a Tk_Uid, after all... check-in: 18f32c19 user: dkf tags: core-8-4-branch
13:44
Minor doc fix check-in: d87a0729 user: dkf tags: core-8-4-branch
13:41
Minor doc fix check-in: 96dce4db user: dkf tags: trunk
07:17
* macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events.
* library/listbox.tcl: * library/text.tcl: * library/scrlbar.tcl: on Mac OS, add bindings for MouseWheel with modifiers, according to platform convention: Option increases scrolling speed 10 fold; Space scrolls horizontally.
* macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: changed year in copyright strings to 2004.
check-in: 33938645 user: das tags: core-8-4-branch
2004-02-16
23:20
Update the docs for the Mac OS X MouseWheel changes. check-in: 496ded09 user: wolfsuit tags: core-8-4-branch
23:09
This gets the scroll wheel working for listboxes and text widgets for Mac OS X. It also changes the model to route scrollwheel events to the window under the pointer, not the focus window on X (and only on X). That is the correct behavior for Mac OS X. check-in: 0b99b409 user: wolfsuit tags: core-8-4-branch
00:42
Backport Mac OS X specific fixes from TOT. See ChangeLog for details.

In tk_getOpenFile filters, handle the case where you have a Macintosh file type and the files have no filetype.

Fix various formatting nits. check-in: 834854db user: wolfsuit tags: core-8-4-branch

00:19
Fix a bug in tk_getOpenFile - files with no types are rejected when they would pass in Mac OS Classic. Add the tkMacOSXCarbonEvents.c - just a skeleton right now. A bunch of formatting nits fixed. check-in: 4aed47b8 user: wolfsuit tags: trunk
2004-02-14
16:32
* Fix: Convert DOS lineends to Unix. check-in: 9d628dd7 user: cc_benny tags: trunk
01:54
* win/tkWinFont.c (Tk_MeasureChars): backport fixes to bold/italic font handling. [Patch 852669] [Bug 478568] * tests/textDisp.test: added test for the font measurement problem.
check-in: 7f0387ce user: hobbs tags: core-8-4-branch
01:26
Apply patch 112997, and kill a few more places where we were still using Pascal string interfaces. check-in: 6ac7f560 user: wolfsuit tags: trunk
01:08
Applying Patch 112997, and hunting down a couple more places where we were still using Pascal interfaces. check-in: 3ee17e34 user: wolfsuit tags: core-8-4-branch
2004-02-13
01:44
update to patchlevel 8.4.6 check-in: 8f97a2d7 user: hobbs tags: core-8-4-branch
01:43
simple code cleanup check-in: 9edfd036 user: hobbs tags: core-8-4-branch
01:39
update HP-11 build libs setup check-in: a3dcbb90 user: hobbs tags: core-8-4-branch
01:28
* win/tkWinDialog.c (ChooseDirectoryValidateProc): create a pidl for -initialdir if we have a UNC path because BFFM_SETSELECTION doesn't support UNC paths in strings.
check-in: f5183946 user: hobbs tags: trunk
01:26
* win/tkWinDialog.c (ChooseDirectoryValidateProc): create a pidl for -initialdir if we have a UNC path because BFFM_SETSELECTION doesn't support UNC paths in strings.
check-in: 00434343 user: hobbs tags: core-8-4-branch
2004-02-11
10:28
Esperanto and Polish message catalogs from Artur Trzewik (forgot to check changlog entry in!) check-in: fd41038a user: dkf tags: trunk
2004-02-10
11:07
Esperanto and Polish message catalogs from Artur Trzewik check-in: 92327391 user: dkf tags: core-8-4-branch
10:50
Esperanto and Polish message catalogs from Artur Trzewik check-in: f1f41358 user: dkf tags: trunk
2004-02-09
14:48
Stop crashes when copying a large photo to itself causes resizing. [Bug 877950] check-in: 4f518dc7 user: dkf tags: trunk
14:40
Stop crashes when copying a large photo to itself causes resizing. [Bug 877950] check-in: a0d4ef0f user: dkf tags: core-8-4-branch
2004-02-08
01:38
* win/makefile.vc: * win/rules.vc: * win/rc/tk.rc: * win/rc/wish.rc: Now supports the 'unchecked' option when building. check-in: 139fc6fb user: davygrvy tags: trunk
01:37
no message check-in: e8ee0d24 user: davygrvy tags: trunk
2004-02-07
16:21
* (TkpSetKeycodeAndState): Put UTF-8 into trans_chars instead of Latin-1. check-in: e1269c29 user: cc_benny tags: trunk
2004-02-04
00:25
* doc/menubutton.n: * library/menu.tcl (::tk::MbPost): make menubuttons that post above or below reverse direction when not enough space is available.
check-in: 4a12e3b1 user: hobbs tags: trunk
00:23
* library/menu.tcl (::tk::MbPost): make menubuttons that post above or below reverse direction when not enough space is available.
check-in: 285b9688 user: hobbs tags: core-8-4-branch
2004-02-02
08:12
#include <malloc.h> has no purpose. check-in: 393d21c5 user: davygrvy tags: trunk
2004-02-01
11:09
no message check-in: 3a9a3004 user: davygrvy tags: trunk
10:49
* win/lamp.bmp (deleted): use win/rc/lamp.bmp instead. check-in: 4844ca9f user: davygrvy tags: trunk
10:44
* win/winMain.c: Removed our custom setargv() in favor of the exported __argc and __argv exported by the c-runtime. check-in: c3a6e16b user: davygrvy tags: trunk
10:42
* win/rc/tk.rc: * win/rc/wish.rc: General clean-up. check-in: 18dbf65d user: davygrvy tags: trunk
10:41
* win/makefile.vc: General clean-up. check-in: 45374408 user: davygrvy tags: trunk
10:40
sync'd to Tcl. check-in: 9ac27139 user: davygrvy tags: trunk
2004-01-31
20:27
Replaced TclpGetTime() with Tcl_GetTime(), to remove dependency on tclInt.h [Bug 874745]. check-in: a43b78b2 user: jenglish tags: trunk
2004-01-28
23:36
Backported fix for bug #776646 which makes hand2 and fleur native on windows. check-in: 41e6f000 user: patthoyts tags: core-8-4-branch
2004-01-27
10:10
* macosx/Wish.pbproj/project.pbxproj: removed erroneous reference to mkpsenc.tcl in bundle resources phase (mkpsenc.tcl is already part of the copy files phase to Resources/Scripts).
* macosx/Makefile: added support for 'xcodebuild' on Mac OS X 10.3.
check-in: e7d3018b user: das tags: core-8-4-branch
10:09
* generic/tkTextIndex.c: added '#include <tclInt.h>' since the code uses the TclUtfToUniChar macro from that file. [Bug 874745]
* macosx/Wish.pbproj/project.pbxproj: removed erroneous reference to mkpsenc.tcl in bundle resources phase (mkpsenc.tcl is already part of the copy files phase to Resources/Scripts).
* macosx/Makefile: added support for 'xcodebuild' on Mac OS X 10.3.
check-in: 8fcc6746 user: das tags: trunk
2004-01-25
13:21
* macosx/tkMacOSXKeyboard.c: Fix regressions due to the last patches. check-in: 021c28fb user: cc_benny tags: trunk
12:03
* (TkpGetKeySym): Ignore option key for generation of keysym, as before. check-in: 9c6f4991 user: cc_benny tags: trunk
01:28
The dialogs were affected by the TIP#146 implementation. Added grid anchor commands to restore original behaviour. check-in: 6c2ae767 user: pspjuth tags: trunk
2004-01-24
18:16
* (TkpSetKeycodeAndState): Add setting of xkey.trans_chars. Now event.test works except event-double-click-drag-1.1. check-in: 2811c247 user: cc_benny tags: trunk
2004-01-15
21:47
no message check-in: 0bcdbadd user: davygrvy tags: trunk
21:46
* win/tkWinSendCom.c: Placed the requirement for the special COM libraries into the object file itself with #paragma comment (lib, ...) when built with VC++. This will simplify linking for users of the static library. uuid.lib is required for VC5.2, but is implicit with VC6.

* win/makefile.vc: Removed 'ole32.lib oleaut32.lib uuid.lib' from $(baselibs). check-in: 7d585612 user: davygrvy tags: trunk

2004-01-13
13:43
uuid.lib needed by tkWinSend check-in: 12bfcc95 user: vincentdarley tags: trunk
02:05
* generic/tk3d.c: All uses of 'panic' (the macro) changed * generic/tkBind.c: to 'Tcl_Panic' (the function). The #define * generic/tkBitmap.c: of panic in tcl.h clearly states it is * generic/tkCanvArc.c: deprecated in the comments. * generic/tkCanvBmap.c: [Tcl Patch 865264] * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkColor.c: * generic/tkConfig.c: * generic/tkCursor.c: * generic/tkError.c: * generic/tkEvent.c: * generic/tkFocus.c: * generic/tkFont.c: * generic/tkFrame.c: * generic/tkGC.c: * generic/tkGrid.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkImgUtil.c: * generic/tkMenu.c: * generic/tkObj.c: * generic/tkPack.c: * generic/tkPlace.c: * generic/tkRectOval.c: * generic/tkSelect.c: * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkTextMark.c: * generic/tkTextWind.c: * generic/tkVisual.c: * generic/tkWindow.c: * mac/tkMacAppInit.c: * mac/tkMacAppearanceStubs.c: * mac/tkMacButton.c: * mac/tkMacDraw.c: * mac/tkMacEmbed.c: * mac/tkMacFont.c: * mac/tkMacInit.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacSubwindows.c: * mac/tkMacWm.c: * mac/tkMacXStubs.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXPort.h: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnix3d.c: * unix/tkUnixColor.c: * unix/tkUnixEmbed.c: * unix/tkUnixEvent.c: * unix/tkUnixFocus.c: * unix/tkUnixFont.c: * unix/tkUnixSelect.c: * unix/tkUnixSend.c: * unix/tkUnixWm.c: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinDraw.c: * win/tkWinEmbed.c: * win/tkWinFont.c: * win/tkWinPixmap.c: * win/tkWinPointer.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: * win/tkWinX.c:
check-in: a08e5aac user: davygrvy tags: trunk
02:02
* win/rules.vc: Sync'd to Tcl, respects the CHECKS=nodep commandline macro and was used to verify the Tcl_Panic change above.
check-in: c2f1f53c user: davygrvy tags: trunk
02:02
* win/lamp.bmp (deleted): * win/rc/lamp.bmp (new): Moved.
check-in: 7805bf70 user: davygrvy tags: trunk
02:01
* win/rc/tk.rc: * win/rc/tk_base.rc: * win/rc/wish.rc: * win/makefile.vc: Refreshed how the resource files are built. Should be a bit easier for people linking with a static Tk library.
check-in: c6f4259e user: davygrvy tags: trunk
2004-01-09
22:26
Typo fix. check-in: 9358eafb user: pspjuth tags: trunk
22:23
Implementation of TIP#146, "Add Overall Anchoring to the Grid Geometry Manager", adding [grid anchor] subcommand. check-in: 4f1b8110 user: pspjuth tags: trunk
2004-01-07
16:28
fix to text widget yview bug check-in: 4a5542ba user: vincentdarley tags: trunk
15:20
utf-8 aware text wordstart and wordend check-in: 99a54db7 user: vincentdarley tags: trunk
13:25
disabled submenu fix check-in: 92d72bb6 user: vincentdarley tags: trunk
2004-01-01
00:35
* macosx/Wish.pbproj/project.pbxproj: added missing private headers to installed Tk.framework, so that tkInt.h can be included sucessfully from Tk.framework/PrivateHeaders. * generic/tkPort.h: corrected include of tkMacOSXPort.h
check-in: 88c72e66 user: das tags: trunk
00:34
* macosx/Wish.pbproj/project.pbxproj: added missing private headers to installed Tk.framework, so that tkInt.h can be included sucessfully from Tk.framework/PrivateHeaders. * generic/tkPort.h: corrected include of tkMacOSXPort.h
check-in: 9d141db9 user: das tags: core-8-4-branch
2003-12-28
23:11
* win/tkWinMenu.c (ReconfigureWindowsMenu, TkWinHandleMenuEvent, DrawMenuEntryArrow): Fix drawing of a disabled cascade menu arrow. Tk was displaying a disabled cascade menu arrow in black instead of gray. This was caused by a bug in the Win32 code for user drawn menu items. The fix is to avoid telling Windows that the menu item is a cascade type and then draw the gray arrow bitmap on our own. [Patch 865842]
check-in: 015437e4 user: mdejong tags: trunk
05:04
* win/tkWinMenu.c (DrawWindowsSystemBitmap): Fix a strange Win32 bug where the logical coordinates returned by a call to DPtoLP are wrong the first time a menu is posted. This bug manifested itself by drawing the bitmap in the wrong place in a menu. The fix was to pass the newly created DC instead of the DC from the window.
check-in: 0cdd7478 user: mdejong tags: trunk
2003-12-26
22:29
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel): When drawing the label text and accelerator text for a disabled menu entry be sure to draw a 3D highlight. The only exception to this is when a disabled menu entry is highlighted, in that case do not draw a 3D hightlight.
check-in: 61e90b11 user: mdejong tags: trunk
20:46
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryArrow): Move the unused menu arrow drawing code in DrawMenuEntryAccelerator into a new function named DrawMenuEntryArrow. This makes no functional change but it will make it easier to fix things in the future.
check-in: 87a93b9a user: mdejong tags: trunk
04:14
* win/tkWin32Dll.c (DllMain): Add HAVE_NO_SEH 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]
check-in: 0dbb3702 user: mdejong tags: trunk
2003-12-23
04:01
prevent static buffer overflow (Doh!) check-in: a4ae4574 user: davygrvy tags: trunk
03:52
fixed static buffer overflow check-in: cbce1d74 user: davygrvy tags: trunk
03:01
no message check-in: 60c3855e user: davygrvy tags: trunk
03:00
removed the note about having to update makefile.vc when the version changes. check-in: da269018 user: davygrvy tags: trunk
02:59
Uses new features of nmakehlp to get the version strings from header files without the use of hardcoded values. check-in: fbcf6d9f user: davygrvy tags: trunk
02:48
sync'd to Tcl. check-in: a9e4d8c1 user: davygrvy tags: trunk
2003-12-22
22:16
doc/text.n: Fix markup errors (".t" at beginning of line). check-in: 301ef436 user: jenglish tags: trunk
2003-12-21
23:50
* generic/tkEvent.c: Added three new functions: TkCreateExitHandler, * 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]
check-in: e1224987 user: davygrvy tags: trunk
2003-12-20
19:57
library/bgerror.tcl: Truncate displayed error message if it's too long (fixes: #231251) check-in: 4a9a8ba0 user: jenglish tags: trunk
2003-12-18
14:48
* (Tk_MeasureChars): Fix bugs shown by the test suite #861777. Clarify comment on TK_AT_LEAST_ONE. check-in: da9f8261 user: cc_benny tags: trunk
2003-12-17
18:08
Import fix for jerky scrollbar behavior from TOT. check-in: 59a3b7fb user: wolfsuit tags: core-8-4-branch
2003-12-16
22:38
* win/rc/wish.exe.manifest: It seems that Windows XP insists on a strict format for the version value. 8.5.a0 or 8.5.0 results in an unloadable executable -- must be 4 numbers.
check-in: da491286 user: patthoyts tags: trunk
21:57
* win/tkWinSend.c: Removed some misleading comments (bug #846134) and disabled the send package until bug #858822 is resolved.
check-in: 897f91e4 user: patthoyts tags: trunk
19:53
Check for TK_ALREADY_DEAD to avoid handling of dead windows. check-in: 200e3e6f user: a_kovalenko tags: trunk
03:29
opps.. paren typo check-in: 91978556 user: davygrvy tags: trunk
03:26
no message check-in: 490b2184 user: davygrvy tags: trunk
03:23
* win/tkWinWm.c (UpdateGeometryInfo) : wmPtr->wrapper might be NULL. No exception is thrown, but it isn't correct to ignore. discovered with NuMega's BoundsChecker.
check-in: ead4de9a user: davygrvy tags: trunk
03:18
* win/tkWinMenu.c (ReconfigureWindowsMenu) : Only redraw the menubar when a menubar exists. Although the invalid handle doesn't cause an exception, it was discovered with NuMega's BoundsChecker.
check-in: 8c097f11 user: davygrvy tags: trunk
03:12
(ReconfigureWindowsMenu) : Only redraw the menubar when a menubar exists. Although the invalid handle doesn't cause an exception, it was discovered with NuMega's BoundsChecker and flagged as a problem. check-in: 2aee3bc7 user: davygrvy tags: trunk
2003-12-15
19:32
* (TkpSetKeycodeAndState): Don't clobber xkey.state. check-in: 968aad62 user: cc_benny tags: trunk
18:48
* (InitLatin1Table): Rename initialized to latin1_initialized to avoid confusion. Actually set lastKeyLayoutID. Use keycode<<16 for XKeycodeToKeysym. * (XKeycodeToKeysym): Remove variables c and virtualKey, simplify code, don't special handle keycode == 0 (-> 'a'). * (XKeysymToMacKeycode): Add handling for function keys. Use ASCII control codes instead of keysyms. * (TkpSetKeycodeAndState): Ditto. check-in: 0806d163 user: cc_benny tags: trunk
17:21
* Add bug number to last change. check-in: 4debb076 user: cc_benny tags: trunk
17:11
* macosx/tkMacOSXKeyboard.c: General cleanup. Add support for [event generate]. check-in: 833cd76d user: cc_benny tags: trunk
16:47
* latin1Table, (InitLatin1Table): Add. * (XKeysymToMacKeycode): Add. * (XKeysymToKeycode): Use XKeysymToMacKeycode. * (TkpSetKeycodeAndState): Ditto. * (TkpSetKeycodeAndState): Adapt modifier flags handling. * (TkpInitKeymapInfo): Update a comment. check-in: d1499468 user: cc_benny tags: trunk
16:37
* (TkpInitKeymapInfo): Remove dead code. The code depended on the result of XGetModifierMapping, but that will always return an empty list. * ALT_MASK, OPTION_MASK: Symbols for understanding the code better. * (TkpSetKeycodeAndState): Hardcode Mode_switch == Option. * (TkpGetKeySym): Ditto. * (TkpGetKeySym): Comment lockUsage conditions, Mac OS X uses LU_CAPS always. * (XKeycodeToKeysym): Handle option key in parameter index (only used by TkpGetKeySym). * (TkpGetKeySym): Use Tcl_UniCharIsUpper, highlight problems with Latin1 limitation. check-in: ea7442b6 user: cc_benny tags: trunk
16:15
* LATIN1_MAX and MAC_KEYCODE_MAX: Add and use for better maintainability. * General comment on keyArray: Add. * (XKeycodeToKeysym): Replace garbled comment. Use symbols instead of magic constants. * (TkpGetKeySym): Reorder computations to make this more logical. check-in: eaeb703b user: cc_benny tags: trunk
15:08
* Comments: Add and clarify some points, correct spellings. * Whitespace: Remove tabs, re-indent, re-wrap comments. * keyArray: Reorder keys in logical groups. * vituralkeyArray: Rename virtualkeyArray. * Prototypes, function headers: Use ISO-C consistently. check-in: 1affbae3 user: cc_benny tags: trunk
11:51
text widget more extensive documentation, and two small code improvements check-in: f6b27ee9 user: vincentdarley tags: trunk
2003-12-14
19:58
speling check-in: 95af45ed user: davygrvy tags: trunk
2003-12-13
02:30
no message check-in: fe3729fd user: davygrvy tags: trunk
02:28
updated version string check-in: 62eedf44 user: davygrvy tags: trunk
01:52
no message check-in: 8115b00f user: davygrvy tags: trunk
01:50
(TkWinXInit): Don't restric InitCommonControlsEx. It's valid on all platforms given IE 3.0+ is installed. As tkWinX.c does set #define _WIN32_IE 0x0300, I guess we can accept IE3 as the lowest denominator and use version 4.71 features of Comctl32.dll check-in: a30fcbda user: davygrvy tags: trunk
01:10
no message check-in: 0bb5c98b user: davygrvy tags: trunk
01:07
(TkWinEmbeddedEventProc) : for loop dereferences containerPtr but can't get to the if (containerPtr == NULL) test due to the unhandled read memory exception for when it really is NULL. check-in: 998bb6de user: davygrvy tags: trunk
2003-12-12
00:54
no message check-in: e03c08b3 user: davygrvy tags: core-8-4-branch
00:45
fixed bad commit from before. my mistake. This is 1.16 now. check-in: 230fc8e6 user: davygrvy tags: trunk
00:42
Reverted to 1.15 for two reasons. 1) problem is best addressed in Tcl's DllMain() and 2) needs a MinGW custom assembly implimentation as it doesn't understand SEH syntax. check-in: 56926416 user: davygrvy tags: core-8-4-branch
00:34
Reverted to 1.15 for two reasons. 1) problem is best addressed in Tcl's DllMain() and 2) needs a MinGW custom assembly implimentation as it doesn't understand SEH syntax. check-in: ed497699 user: davygrvy tags: trunk
2003-12-11
03:38
no message check-in: ac0fc25d user: davygrvy tags: core-8-4-branch
03:32
(WishPanic) : placed ExitProcess() in a __try block (SEH) to catch any exceptions that might happen. As Tcl will call Tcl_Finalize from its DllMain due to the unload from ExitProcess() unloading Tcl, and if Tcl_Panic had gotten called in an __except block, this avoid the possibility of not being able to exit. Falls to TerminateProcess() in the __except case.

Removed the #ifdef _MSC_VER around DebugBreak as that function exists in kernel32.dll and is not compiler dependent. I'd prefer to use if (IsDebuggerPresent()) DebugBreak(); but IsDebuggerPresent() isn't available in all kernel32.dll modules for all versions of windows. check-in: fba3b025 user: davygrvy tags: core-8-4-branch

2003-12-10
12:57
off-by-one error in recent cleanup fix check-in: d607d3d8 user: vincentdarley tags: trunk
12:14
fixed 2 tests for padx, pady check-in: e5366fc3 user: vincentdarley tags: trunk
12:00
* (Tk_MeasureChars): Initialize size.cx in case of errors. Initialize lastsize (fixes bug with wrong *lenghtPtr results in case no chars fit at all). check-in: 5179de57 user: cc_benny tags: trunk
09:42
Line transposition bug. [Bug 857159] check-in: 7d5c874b user: dkf tags: trunk
09:40
Line transposition bug. [Bug 857159] check-in: 6c1e9811 user: dkf tags: core-8-4-branch
2003-12-09
21:56
* unix/configure: * unix/tcl.m4: updated OpenBSD build configuration based on [Patch #775246] (cassoff)
check-in: 0c497b80 user: hobbs tags: trunk
13:43
fix to memory leaks and reading of freed memory check-in: 44167e84 user: vincentdarley tags: trunk
2003-12-08
18:47
clean up usage of 'edition' as a verb check-in: fa2d5733 user: hobbs tags: trunk
2003-12-05
17:19
performance of lines containing 10000+ characters check-in: 1ca7766a user: vincentdarley tags: trunk
16:16
*** empty log message *** check-in: 30cd608c user: cc_benny tags: trunk
16:05
* (Tk_MeasureChars): Fix indentation. Fix memory leak. Fix handling of TK_WHOLE_WORDS. check-in: 1363550c user: cc_benny tags: trunk
2003-12-04
16:50
mark recent change as a potential incompatibility check-in: b756f04a user: vincentdarley tags: trunk
12:28
fix to text widget tabs and xy-scroll-command check-in: 8e445371 user: vincentdarley tags: trunk
12:09
font measurement fix check-in: 8d435280 user: vincentdarley tags: trunk
2003-12-03
17:55
* generic/tk.h: Bumped patch level to 8.4.5.1 to distinguish * unix/configure.in: CVS snapshots from the 8.4.5 release. * unix/tk.spec: * win/configure.in:
* unix/configure: autoconf (2.13) * win/configure:
check-in: 93b2940e user: dgp tags: core-8-4-branch
17:20
* README: Bumped patch level to 8.4.6 to distinguish * generic/tk.h: CVS snapshots from the 8.4.5 release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * macosx/Wish.pbproj/project.pbxproj:
* unix/configure: autoconf (2.13) * win/configure:
check-in: 770d7a24 user: dgp tags: core-8-4-branch
16:38
Typo fix check-in: d8ea7ed1 user: dkf tags: trunk
04:58
* generic/tkMenu.c (MenuVarProc): prevent this from triggering while interp is being destroyed.
check-in: d5a46601 user: hobbs tags: trunk
04:57
* generic/tkMenu.c (MenuVarProc): prevent this from triggering while interp is being destroyed.
check-in: 947a7511 user: hobbs tags: core-8-4-branch
2003-11-25
08:45
Corrected targetWinPtr check, now if winPtr==0 and targetWinPtr!=0 then the event is not ignored any more check-in: 08591ff2 user: a_kovalenko tags: trunk
2003-11-24
10:36
add further updates to ensure test captures all cases check-in: d57c3335 user: vincentdarley tags: trunk
2003-11-21
20:14
moved 8-4-5 tag to include OS X keyboard fix check-in: 9e5cdc65 user: hobbs tags: core-8-4-branch, core-8-4-5
18:51
correct handling of interpolated tabs using fractional pixel widths check-in: ba691f9e user: vincentdarley tags: trunk
17:29
fix to two test suite bugs check-in: 39498b83 user: vincentdarley tags: trunk
17:10
Thanks to davidw for spotting a reference to a header that's not been around for many years now... check-in: 1986315f user: dkf tags: trunk
13:09
* macosx/tkMacOSXKeyboard.c: Add PowerBook keycode 0x34 as <Return>. (Merge from trunk) check-in: 624f8398 user: cc_benny tags: core-8-4-branch
13:05
* keyArray: Add 0x34 as <Return>. Add notes. (Merge from trunk 1.6) check-in: fcd0a975 user: cc_benny tags: core-8-4-branch
2003-11-20
19:36
winSend cleanup and bug fix -- these files need better documentation check-in: ea139e1e user: vincentdarley tags: trunk
19:33
winSend cleanup and bug fix check-in: d180edcb user: vincentdarley tags: trunk
16:45
* macosx/tkMacOSXKeyboard.c: Add PowerBook keycode 0x34 as <Return>. check-in: b1103721 user: cc_benny tags: trunk
12:40
* keyArray: Add 0x34 as <Return>. Add notes. check-in: 2cf3c88c user: cc_benny tags: trunk
2003-11-19
16:28
typo corrections check-in: 7d06993b user: dgp tags: core-8-4-branch
04:00
2003-11-18 Jim Ingham <[email protected]>
* macosx/tkMacOSXScrlbr.c: Reworking Vince's fix to [Bug 842952]. This version is clearer, and works helps keep the mouse better pinned to the scrollbar. I also removed the glitch where the scrollbar would jump get its middle over the mouse when you first moved it.
check-in: 6ed9dc89 user: wolfsuit tags: trunk
2003-11-18
23:39
Stupid typo fix. [Bug 843395] check-in: d0371f44 user: dkf tags: trunk
23:37
updated for 8.4.5 release check-in: 877bcd7f user: hobbs tags: core-8-4-branch
01:47
* tests/constraints.tcl:When running the test suite in a process * tests/image.test: where Tk has been [load]ed, there's no * tests/select.test: guarantee that child processes created by * tests/unixWm.test: [exec [interpreter]] will have Tk in them. * tests/window.test: Made modifications to force a [load] of Tk in those situations.
check-in: cda2e667 user: dgp tags: trunk
2003-11-17
23:48
Removed stupid type error introduced when adding style to code. check-in: 5f8d799d user: dkf tags: trunk
23:29
* generic/tkMenubutton.h: fixed compound menubutton handling like * generic/tkMenubutton.c: *button corrections of 2003-04-25. * mac/tkMacMenubutton.c (TkpDisplayMenuButton): * unix/tkUnixMenubu.c (TkpDisplayMenuButton):
check-in: 0197c6ca user: hobbs tags: core-8-4-branch
23:12
* generic/tkMenubutton.h: fixed compound menubutton handling like * generic/tkMenubutton.c: *button corrections of 2003-04-25. * mac/tkMacMenubutton.c (TkpDisplayMenuButton): * unix/tkUnixMenubu.c (TkpDisplayMenuButton):
check-in: f8009ff0 user: hobbs tags: trunk
02:20
* win/makefile.vc: Restored consistency of pkgIndex.tcl file with that generated by Makefile.
check-in: 6aee53f3 user: dgp tags: core-8-4-branch
02:15
* win/makefile.vc: Restored consistency of pkgIndex.tcl file with that generated by Makefile.
Let's discuss whether there's really need for a change, and if so, let's make it consistently in all Makefiles.
check-in: 3e23e347 user: dgp tags: trunk
2003-11-16
14:13
documentation and cleanup check-in: 289327e5 user: vincentdarley tags: trunk
14:11
scrollbar fix check-in: 1b3e6c0b user: vincentdarley tags: trunk
06:07
Fixes pkgIndex.tcl generation so a symbols build is loaded when Tcl is symbols check-in: a49bd3f8 user: davygrvy tags: trunk
06:02
Fixes pkgIndex.tcl generation so a symbols build is loaded when Tcl is symbols check-in: 69b2fc66 user: davygrvy tags: core-8-4-branch
01:01
scrollbar size fix check-in: 98a4db95 user: vincentdarley tags: trunk
2003-11-15
16:57
single line wraps to whole display fix check-in: cff84d8d user: vincentdarley tags: trunk
12:47
fixed tab interpretation inconsistency check-in: 5414f040 user: vincentdarley tags: trunk
02:49
cleanup check-in: 9ac0aeae user: vincentdarley tags: trunk
02:41
doc/text.n: Fix markup errors. check-in: 5ec972b3 user: jenglish tags: trunk
02:33
fix two more old text widget bugs check-in: 7975a57e user: vincentdarley tags: trunk
2003-11-14
17:21
Fixes to prevent infinite event sequences in 'make test' on slow connections Also a bit of whitespace/style police work. [Bug 837300] check-in: 8873f2f3 user: dkf tags: trunk
2003-11-13
18:30
ensure test cleans up after itself check-in: 57684988 user: vincentdarley tags: trunk
18:26
text widget dbl-click single character fix check-in: bff5c56e user: vincentdarley tags: trunk
16:07
Tcl_EvalObjv is more robust than Tcl_VarEval check-in: af5ae343 user: dkf tags: trunk
14:44
text widget insert positioning after double/triple click check-in: d451ef92 user: vincentdarley tags: trunk
2003-11-12
17:38
old tk text widget bugs fixed check-in: eef48522 user: vincentdarley tags: trunk
17:19
old tk text widget bugs fixed check-in: 0e36a93a user: vincentdarley tags: trunk
01:10
* unix/configure: * unix/configure.in: use xft-config instead of pkg-config to determine xft info. * unix/tcl.m4: improve AIX --enable-64bit handling remove -D__NO_STRING_INLINES -D__NO_MATH_INLINES from CFLAGS_OPTIMIZE on Linux. Make default opt -O2 (was -O).
check-in: 1a1da3b8 user: hobbs tags: trunk
01:09
improve AIX --enable-64bit handling check-in: 08752aa2 user: hobbs tags: core-8-4-branch
00:07
* generic/tkButton.c (ConfigureButton): abort option processing if the button was deleted. [Bug #824479]
check-in: 3e997a5b user: hobbs tags: trunk
00:07
* generic/tkMenuDraw.c (TkPostSubmenu): add {} around menu name in case it has spaces when calling Tcl_VarEval. This is a hack until this is rewritten for proper Tcl_Obj handling. [Bug #723856]
check-in: bfa5a6ca user: hobbs tags: trunk
00:07
(::tk::dialog::file::ActivateEnt): allow typing filename into entry when tk_getOpenFile -multiple 1 is specified. [Bug #788069]
check-in: f0521edf user: hobbs tags: trunk
00:05
* generic/tkButton.c (ConfigureButton): abort option processing if the button was deleted. [Bug #824479]
check-in: a8188acf user: hobbs tags: core-8-4-branch
00:04
* generic/tkMenuDraw.c (TkPostSubmenu): add {} around menu name in case it has spaces when calling Tcl_VarEval. This is a hack until this is rewritten for proper Tcl_Obj handling. [Bug #723856]
check-in: 61c1aa0b user: hobbs tags: core-8-4-branch
00:04
(::tk::dialog::file::ActivateEnt): allow typing filename into entry when tk_getOpenFile -multiple 1 is specified. [Bug #788069]
check-in: fddf3813 user: hobbs tags: core-8-4-branch
2003-11-11
22:48
* library/tkfbox.tcl (::tk::dialog::file::Update): optimize the dir/files list separation by using the -tails, -directory and -type option of 'glob'. Also passes the glob the -filetypes filters instead of calling string match over each file. [Patch #833819]
check-in: 644a232b user: hobbs tags: trunk
22:39
* library/tkfbox.tcl (::tk::dialog::file::Update): optimize the dir/files list separation by using the -tails, -directory and -type option of 'glob'. Also passes the glob the -filetypes filters instead of calling string match over each file. [Patch #833819]
check-in: ec990530 user: hobbs tags: core-8-4-branch
19:42
* generic/tkListbox.c (ListboxDeleteSubCmd, ListboxListVarProc): free itemconfig data when removing it from table. [Bug #836483]
check-in: 36040fac user: hobbs tags: trunk
19:41
* generic/tkListbox.c (ListboxDeleteSubCmd, ListboxListVarProc): free itemconfig data when removing it from table. [Bug #836483]
check-in: 5281eb54 user: hobbs tags: core-8-4-branch
18:21
* macosx/tkMacOSXClipboard.c (TkSuspendClipboard, TkSelGetSelection): add unicode clipboard support. [Patch #840107] (senn)
check-in: 4a2b96d3 user: hobbs tags: trunk
18:21
* macosx/tkMacOSXClipboard.c (TkSuspendClipboard, TkSelGetSelection): add unicode clipboard support. [Patch #840107] (senn)
check-in: bc9f3d85 user: hobbs tags: core-8-4-branch
00:54
* win/configure: * win/tcl.m4: add necessary ole libs to VC LIBS_GUI line.
check-in: 88746642 user: hobbs tags: trunk
00:26
* win/tkWinDraw.c (XFillRectangles): correctly handle the XGCValues.function parameter when filling rectangles. [Bug #820278] [Patch #820282]
check-in: 6bc71292 user: hobbs tags: core-8-4-branch
00:26
* win/tkWinDraw.c (XFillRectangles): correctly handle the XGCValues.function parameter when filling rectangles. [Bug #820278] [Patch #820282]
check-in: 2234c1ef user: hobbs tags: trunk
00:07
* win/configure: * win/configure.in: define TK_LIB_FLAG, TK_LIB_SPEC, TK_BUILD_LIB_SPEC, TK_STUB_LIB_SPEC, TK_STUB_LIB_PATH, and TK_BUILD_STUB_LIB_PATH for tkConfig.sh [Bug #826614]
check-in: 6c31ad71 user: hobbs tags: trunk
00:07
* unix/Makefile.in (SHLIB_LD_FLAGS): include in Makefile as it is used in MAKE_LIB sometimes (ie: AIX-64) [Bug #829686] (jimix)
check-in: a491a3ab user: hobbs tags: trunk
00:05
* win/configure: * win/configure.in: define TK_LIB_FLAG, TK_LIB_SPEC, TK_BUILD_LIB_SPEC, TK_STUB_LIB_SPEC, TK_STUB_LIB_PATH, and TK_BUILD_STUB_LIB_PATH for tkConfig.sh [Bug #826614]
check-in: dc5ae65a user: hobbs tags: core-8-4-branch
00:05
* unix/Makefile.in (SHLIB_LD_FLAGS): include in Makefile as it is used in MAKE_LIB sometimes (ie: AIX-64) [Bug #829686] (jimix)
check-in: 3786d57f user: hobbs tags: core-8-4-branch
00:05
* generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): add alpha blending for images with partial transparency. Only operates for 15bpp+ display, and not on Mac at all. [Bug 809157]
check-in: 4b2192a8 user: hobbs tags: core-8-4-branch
2003-11-10
21:02
Minor int vs. unsigned fixes to stop GCC warnings check-in: a96dfb67 user: dkf tags: trunk
14:37
handling of zero-pixel text widgets check-in: c7903718 user: vincentdarley tags: trunk
2003-11-08
22:53
Fixed an error in returning the name actually registered for 'send'. check-in: 38b166e0 user: patthoyts tags: trunk
17:22
elide tag handling, once more check-in: 972024df user: vincentdarley tags: trunk
2003-11-07
15:36
better elide tag handling check-in: be1a77f9 user: vincentdarley tags: trunk
12:06
another elide/tkchat/tkTextDisp.c fix check-in: 3d576063 user: vincentdarley tags: trunk
2003-11-05
13:31
Dutch messages for widget demo from Arjen Markus. [Patch 836368] check-in: 25638e7f user: dkf tags: trunk
13:20
Minor fix that removes dependence on a particular path in the README. check-in: b8254b2e user: dkf tags: trunk
2003-11-04
23:37
tk text widget test suite fixes -- bug 833761, making tests much more resilient to font sizes check-in: 00fb62a8 user: vincentdarley tags: trunk
13:26
Add 'Print Code' support to Widget demo [Patch 835644] check-in: 8d386721 user: dkf tags: trunk
2003-11-03
16:10
text widget and test suite fixes check-in: b96a8bcf user: vincentdarley tags: trunk
15:30
Make demo location independent of main Tk library location. [Patch 832691] check-in: 3672df6a user: dkf tags: trunk
13:10
Stop some complaints about signed/unsigned check-in: 736830a7 user: dkf tags: trunk
2003-11-01
21:44
Updated messages for Dutch from Arjen Markus and Pascal Scheffers [Patch 820519] check-in: da470397 user: dkf tags: core-8-4-branch
19:06
Updated Dutch messages [Patch 820519] check-in: b3d290e9 user: dkf tags: trunk
2003-10-31
19:14
size_t vs int fix check-in: ac8bd9b9 user: vincentdarley tags: trunk
18:56
* generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): OS X uses 32bpp images internally always, so make use of the assumption.
check-in: b52ff54e user: hobbs tags: trunk
18:05
fixed constrained tests for tip155 check-in: f51b82d3 user: vincentdarley tags: trunk
14:21
text widget bug fix check-in: 94fbec76 user: vincentdarley tags: trunk
09:02
TIP 155 implementation check-in: e58248ce user: vincentdarley tags: trunk
08:55
compound menu entries check-in: 4da4811a user: vincentdarley tags: trunk
02:05
* generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): add alpha blending for images with partial transparency. Only operates for 15bpp+ display. [Bug 809157]
check-in: 48047b21 user: hobbs tags: trunk
2003-10-30
23:35
Whitespace/style police check-in: 0935b694 user: dkf tags: trunk
2003-10-29
10:03
Basic style guide fixes for tkUnixRFont.c check-in: 1b7c95ed user: dkf tags: trunk
09:40
* library/tkfbox.tcl (IconList_Create,IconList_Add): Added option munging to allow some control of foreground colours on Unix in the same way that you can influence the background. [Bug 795717]
check-in: 769cbce8 user: dkf tags: core-8-4-branch
09:36
* library/tkfbox.tcl (IconList_Create,IconList_Add): Added option munging to allow some control of foreground colours on Unix in the same way that you can influence the background. [Bug 795717]
check-in: bd7b92b1 user: dkf tags: trunk
01:45
Fixed a typing error in ::tk::PlaceWindow. Please do a test before commiting a change. check-in: 4bc9abe6 user: chengyemao tags: trunk
01:38
added extra change note check-in: 0e93eabf user: hobbs tags: core-8-4-branch
01:08
see changes check-in: e771ba36 user: hobbs tags: core-8-4-branch
01:08
* tests/focusTcl.test (setup1): expand frame size to allow for correct visibility of windows that use larger default fonts.
check-in: 0b07448d user: hobbs tags: core-8-4-branch
01:08
* win/tkWinImage.c (XGetImageZPixmap): add separate 16bpp XGetImage code to correctly handle 16bpp requests. This appears to never have worked correctly.
check-in: 37118173 user: hobbs tags: core-8-4-branch
01:07
* unix/tkUnixFont.c (GetFontAttributes): place extra check for NULL family against bad X servers.
check-in: ef7501a4 user: hobbs tags: core-8-4-branch
2003-10-28
22:52
see changes check-in: 913359d7 user: hobbs tags: trunk
22:52
* tests/focusTcl.test (setup1): expand frame size to allow for correct visibility of windows that use larger default fonts.
check-in: ce163253 user: hobbs tags: trunk
22:52
* win/tkWinImage.c (XGetImageZPixmap): add separate 16bpp XGetImage code to correctly handle 16bpp requests. This appears to never have worked correctly.
check-in: d792c849 user: hobbs tags: trunk
22:51
* unix/tkUnixFont.c (GetFontAttributes): place extra check for NULL family against bad X servers.
check-in: 301e9e8a user: hobbs tags: trunk
15:59
Make sure we do default placement strategy when placement is empty [Bug 819284] check-in: 6b4b51fb user: dkf tags: core-8-4-branch
15:56
Make sure we do default placement strategy when placement is empty [Bug 819284] check-in: c9ddee9e user: dkf tags: trunk
2003-10-26
17:04
Whitespace police check-in: c24d5719 user: dkf tags: trunk
2003-10-23
23:55

2003-10-23 Jim Ingham <[email protected]>

* macosx/tkMacOSXDialog.c (NavServicesGetFile): Minor cleanups. (OpenFileFilterProc): Handle FSRef's as well as FSSpec's in the input file. Also convert the FSSpec filename to an C-string before passing to MatchOneFile. [bug 517600] (MatchOneFile): Require the input filename to be a C-string, not a pascal string.
check-in: b79543b4 user: wolfsuit tags: trunk
2003-10-22
15:24
Constrain tk_dialg to be sensibly sized and placed. [Bug 827535] check-in: e4873304 user: dkf tags: trunk
15:22
Constrain tk_dialg to be sensibly sized and placed. [Bug 827535] check-in: b5d69416 user: dkf tags: core-8-4-branch
2003-10-15
20:04
Delete WM_TRANSIENT_FOR property instead of setting it to None when making a window nontransient [Bug #632816 "cannot remove transient"] check-in: 358b1fa0 user: jenglish tags: trunk
2003-10-14
23:11
changed macro argument names to match function argument names ('dest' and 'src' were swapped, which was confusing) [GPS] check-in: 80ff4af3 user: jenglish tags: trunk
15:35
* win/makefile.vc: Applied patches from tcl bug #801467 from * win/winMain.c: Joe Mistachkin
check-in: 61f443b1 user: patthoyts tags: trunk
2003-10-13
03:41
* generic/tkInt.h: move TkGetOptionSpec to stubs intDecls * generic/tkIntDecls.h: * generic/tkInt.decls: * generic/tkStubInit.c: * tkDecls.h: updated with latest genstubs * tkIntPlatDecls.h: * tkIntXlibDecls.h: * tkPlatDecls.h:
check-in: b73708a4 user: hobbs tags: trunk
03:30
* generic/tkInt.h: move TkGetOptionSpec to stubs intDecls * generic/tkIntDecls.h: * generic/tkInt.decls: * generic/tkStubInit.c:
check-in: 64084ad8 user: hobbs tags: core-8-4-branch
00:55
* unix/mkLinks: * doc/GetHWND.3: add Tk_AttachHWND docs [Bug #220803]
check-in: bc37dede user: hobbs tags: core-8-4-branch
00:54
* tests/listbox.test (13.3): correct result size (4.7): correct test for possible window drift [Bug #701931] (dgp)
check-in: 1bc1c925 user: hobbs tags: trunk
00:54
* unix/mkLinks: * doc/GetHWND.3: add Tk_AttachHWND docs [Bug #220803]
check-in: 38c67625 user: hobbs tags: trunk
2003-10-11
13:24
Forgot to commit ChangeLog for send fixes. check-in: 14df56d1 user: patthoyts tags: trunk
2003-10-10
20:20
* mac/tkMacButton.c (TkpDisplayButton): * macosx/tkMacOSXButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): correct imageYOffset for buttons with just images.
check-in: fbaeff40 user: hobbs tags: core-8-4-branch
20:19
* mac/tkMacButton.c (TkpDisplayButton): * macosx/tkMacOSXButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): correct imageYOffset for buttons with just images.
check-in: 8e5511b7 user: hobbs tags: trunk
15:56
Register the type of text indices. Also some exported symbol name policing... check-in: c8843758 user: dkf tags: trunk
00:03
correct imageYOffset for buttons with just images check-in: 2f286539 user: hobbs tags: core-8-4-branch
00:02
correct imageYOffset for buttons with just images check-in: c9fbf963 user: hobbs tags: trunk
2003-10-08
21:49
* win/tcl.m4: Add TIP #150 items to the TEA makefiles. * win/configure: * win/Makefile.in:
* win/tkWinSend.c: Clean up some warnings from gcc -Wall. * win/tkWinSendCom.c:
check-in: 34f9ee5a user: patthoyts tags: trunk
2003-10-06
22:20
* doc/ConfigWidg.3: Removed reference to Tk_Offset from the NAME section to resolve mkLinks conflict with SetOptions.3 [Bug 404197] * unix/mkLinks: make mklinks
check-in: b34bcfd0 user: dgp tags: trunk
22:17
* unix/mkLinks: make mklinks
check-in: f337e6f6 user: dgp tags: core-8-4-branch
22:15
* doc/ConfigWidg.3: Removed reference to Tk_Offset from the NAME section to resolve mkLinks conflict with SetOptions.3 [Bug 404197]
check-in: 57301152 user: dgp tags: core-8-4-branch
22:14
* library/text.tcl, doc/text.n: Text widget binding for Control-v is now Mac-only, since it conflicts with standard <<Paste>> binding on other platforms. [Bug #605277] check-in: 121da120 user: jenglish tags: trunk
21:19
Fix double-free in style engine [Bug #798211] check-in: 8094c5db user: jenglish tags: trunk
19:11
* win/configure: * win/tcl.m4: removed incorrect checks for existence of optimization. TCL_CFG_OPTIMIZED is now defined whenever the user does not build with --enable-symbols.
check-in: 9d21ce3b user: hobbs tags: trunk
17:11
*unix/configure.in: Reconfigured to use $TCL_PREFIX as the default value of --prefix, and also added warning when a TK_PREFIX value different from TCL_PREFIX is selected, since [package require Tk] fails in that configuration. [Bugs 428627,765642]
* unix/configure: autoconf (2.57)
check-in: 8b0f23a2 user: dgp tags: trunk
17:10
log update check-in: 055d397b user: dgp tags: core-8-4-branch
16:59
*unix/configure.in: Reconfigured to use $TCL_PREFIX as the default value of --prefix, and also added warning when a TK_PREFIX value different from TCL_PREFIX is selected, since [package require Tk] fails in that configuration. [Bug 765642]
* unix/configure: autoconf (2.13)
check-in: ae4c978d user: dgp tags: core-8-4-branch
16:17
* unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path so that alpha and beta releases of Tcl are not favored. [Bug 608698]
* unix/configure: autoconf (2.57)
check-in: c7d2b868 user: dgp tags: trunk
16:04
* unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path so that alpha and beta releases of Tcl are not favored. [Bug 608698]
* unix/configure: autoconf (2.13)
check-in: ae568382 user: dgp tags: core-8-4-branch
15:34
* unix/configure.in: Added check that version of Tcl header found by configure matches that of the Tk we wish to build. As long as the Tk sources insist on lockstep releases, Tk's configuration should verify that's what we have. [Bug 749088]
* unix/configure: autoconf (2.57)
check-in: 93aa6cd9 user: dgp tags: trunk
15:27
* unix/configure.in: Added check that version of Tcl header found by configure matches that of the Tk we wish to build. As long as the Tk sources insist on lockstep releases, Tk's configuration should verify that's what we have. [Bug 749088]
* unix/configure: autoconf (2.13)
check-in: 7d3cf9b4 user: dgp tags: core-8-4-branch
2003-10-03
16:32
* README: Bumped to patch level 8.4.5 * generic/tk.h: to prepare for next patch * macosx/Wish.pbproj/project.pbxproj: release. * unix/configure.in: * unix/tk.spec: * win/configure.in:
* unix/configure: autoconf (2.13) * win/configure:
check-in: 369f5319 user: dgp tags: core-8-4-branch
00:42
* library/scale.tcl: Clear bug with chording mouse buttons.
check-in: afe96303 user: patthoyts tags: core-8-4-branch
00:40
Creating branch mistachkin-dev-branch Closed-Leaf check-in: 6754382f user: cvs tags: mistachkin-dev-branch
00:40
* library/scale.tcl: Clear bug with chording mouse buttons.
check-in: 853cff69 user: patthoyts tags: trunk
2003-10-02
23:02
* library/console.tcl: Avoid including the console in the list of interpreters exposed by [winfo interps].
check-in: acd539e8 user: patthoyts tags: trunk
2003-10-01
14:35
* macosx/Wish.pbproj/project.pbxproj: * macosx/Makefile: fixed redo prebinding bug when DESTDIR="". Added support for all applicable customizable makefile variables from tcl/macosx/Makefile.
* macosx/README: * macosx/Wish.pbproj/project.pbxproj: ensure that the versioned wishX.X script works correctly when Tk.framework with multiple versions is present by referring to a copy of 'Wish Shell.app' located in Tk.framework/Versions/X.X/Resources.
check-in: 235e26fc user: das tags: core-8-4-branch
14:35
* macosx/Wish.pbproj/project.pbxproj: * macosx/Makefile: fixed redo prebinding bug when DESTDIR="". Added support for all applicable customizable makefile variables from tcl/macosx/Makefile.
* macosx/README: * macosx/Wish.pbproj/project.pbxproj: ensure that the versioned wishX.X script works correctly when Tk.framework with multiple versions is present by referring to a copy of 'Wish Shell.app' located in Tk.framework/Versions/X.X/Resources.
check-in: 4893bfc3 user: das tags: trunk
2003-09-30
23:26
Add an implementation of XSync that flushes the window buffers. This fixes 814810. Also use tk text drawing for checkbutton & radiobutton labels. check-in: d65fbe42 user: wolfsuit tags: trunk
14:54
Added [package require] to demos. [FRQ 815118] check-in: 70d76de0 user: dkf tags: trunk
08:45
Remove a dependency on font size in textWind 10.1 check-in: 8c609d57 user: patthoyts tags: trunk
08:36
Accomodate TIP #150 in the test results. check-in: d76b2c65 user: patthoyts tags: trunk
2003-09-29
23:15
Private functions should be either static or prefixed with 'Tk' (thanks GPS!) check-in: 68c9d126 user: dkf tags: trunk
23:00
changelog police check-in: 92c15ade user: dkf tags: trunk
09:50
Update from Tcl check-in: 0c928bb6 user: dkf tags: trunk
09:22
Added note to make it clear that frameworks are an OSX feature [Bug 619440] check-in: ad979e4f user: dkf tags: core-8-4-branch
2003-09-26
23:59
* win/makefile.vc: Implementation of TIP #150, "Provide * win/tkWinSend.c: 'send' command for Windows" * win/tkWinSendCom.h: * win/tkWinSendCom.c:
check-in: 0ac88e37 user: patthoyts tags: trunk
17:20
* tkMacOSXWm.h: Nested comment typo check-in: 868a987a user: cc_benny tags: core-8-4-branch
16:18
* macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap): Add GetWindowFromPort() [Bug #812415]; make function static. check-in: ddfdc157 user: cc_benny tags: core-8-4-branch
16:02
* macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap): Add GetWindowFromPort() [Bug #812415]; make function static. check-in: cdd2ef83 user: cc_benny tags: trunk
2003-09-25
05:37
* library/demos/widget: don't create iconwindow on aqua, but add about menu like on classic. * macosx/Makefile: pass MAKEOVERRIDES to pxbuild. * macosx/tkMacOSXButton.c: added -compound support for bevel buttons.
check-in: 1f06447a user: das tags: core-8-4-branch
05:36
* library/demos/widget: don't create iconwindow on aqua, but add about menu like on classic. * macosx/Makefile: pass MAKEOVERRIDES to pxbuild. * macosx/tkMacOSXButton.c: added -compound support for bevel buttons.
check-in: 37a4bafe user: das tags: trunk
05:36
* unix/configure: * unix/configure.in: * unix/tkConfig.sh.in: added TK_INCLUDE_SPEC to allow extensions to find installed Tk headers, parallel to TCL_INCLUDE_SPEC. [Bug 777203]
check-in: 9ca23925 user: das tags: trunk
2003-09-20
03:53
Bug fix [Bug 802435] check-in: bac06b3e user: chengyemao tags: trunk
03:43
Fixed memory leak (bug 802435) check-in: cbe581a3 user: chengyemao tags: trunk
2003-09-18
20:34
Fixed a small mistake in previous checkin. check-in: 72daa74f user: pspjuth tags: trunk
18:22
Implementation of TIP#147, "Make Grid's Column/Row Configure Easier". check-in: 29c05ff3 user: pspjuth tags: trunk
2003-09-17
23:45
* generic/tkImage.c: Stopped [image create] from generating an * tests/image.test: image command name that would overwrite an existing command name. Thanks to Michael Schlenker. [Bug 808039].
check-in: 3023c17e user: dgp tags: trunk
23:45
* generic/tkImage.c: Stopped [image create] from generating an * tests/image.test: image command name that would overwrite an existing command name. Thanks to Michael Schlenker. [Bug 808039].
check-in: 95723959 user: dgp tags: core-8-4-branch
2003-09-16
21:47
Reworked a part of grid's geometry computations to handle some tricky cases better. [Bug #792387] check-in: 59c22534 user: pspjuth tags: trunk
2003-09-13
20:27
Describe %P and %s substitution for Property events. [BUG #577906] check-in: ea5b800b user: jenglish tags: trunk
2003-09-05
22:44
* doc/wish.1: Implementation of TIPs 137/151. * generic/tkMain.c (Tk_MainEx): Added recognition of the -encoding * tests/main.test: command line option by Tk_MainEx() and thus by wish, and any other program built on Tk_MainEx(). [Patch 800139]. This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs that embed Tcl and Tk, build on Tk_MainEx(), and make use of Tk_MainEx's former ability to pass a leading "-encoding" option to interactive shell operations.
check-in: 50f23f31 user: dgp tags: trunk
2003-08-27
15:47
Removed unused variable [Bug 664783] check-in: 42cf7f47 user: dkf tags: trunk
2003-08-25
20:37
no message check-in: 68cc9ce3 user: davygrvy tags: trunk
20:35
Don't do a string compare on the $(DBGX) variable, use the $(DEBUG) boolean directly. Also, don't try to regen the stubs table if $(TCLSH) doesn't exist. check-in: 7aaec0c3 user: davygrvy tags: trunk
07:46
nested comment typo check-in: 4fe48186 user: das tags: trunk
2003-08-22
22:44
Brought tk_messageBox demo into line with the newer look-and-feel for the demos. check-in: 60f7638d user: dkf tags: trunk
2003-08-21
00:02
make images align at 16pix height and do not allow Dismiss Return to trigger in text widget check-in: c1ab5bf3 user: hobbs tags: trunk
2003-08-20
23:47
use delete image for dismiss button check-in: 7322189a user: hobbs tags: trunk
23:31
* win/tkWin3d.c: Applied Tk patch 791273 from Jeremy Collins which improves the 3d lines for sunken widgets under windows.
check-in: 7ff4c11a user: patthoyts tags: trunk
23:23
add sep frame to seecode/dismiss button frame check-in: 6bf0ac6b user: hobbs tags: trunk
23:02
* library/demos/widget: Redo code view dialog, use named fonts, * library/demos/arrow.tcl: add basic see/dismiss routine with * library/demos/bind.tcl: images for better look & feel * library/demos/bitmap.tcl: * library/demos/button.tcl: * library/demos/check.tcl: * library/demos/clrpick.tcl: * library/demos/colors.tcl: * library/demos/cscroll.tcl: * library/demos/ctext.tcl: * library/demos/entry1.tcl: * library/demos/entry2.tcl: * library/demos/entry3.tcl: * library/demos/filebox.tcl: * library/demos/floor.tcl: * library/demos/form.tcl: * library/demos/hscale.tcl: * library/demos/icon.tcl: * library/demos/image1.tcl: * library/demos/image2.tcl: * library/demos/items.tcl: * library/demos/label.tcl: * library/demos/labelframe.tcl: * library/demos/menu.tcl: * library/demos/menubu.tcl: * library/demos/paned1.tcl: * library/demos/paned2.tcl: * library/demos/plot.tcl: * library/demos/puzzle.tcl: * library/demos/radio.tcl: * library/demos/ruler.tcl: * library/demos/sayings.tcl: * library/demos/search.tcl: * library/demos/spin.tcl: * library/demos/states.tcl: * library/demos/style.tcl: * library/demos/text.tcl: * library/demos/twind.tcl: * library/demos/unicodeout.tcl: * library/demos/vscale.tcl:
check-in: 8196734f user: hobbs tags: trunk
10:26
Use Tcl_Obj-based interfaces for working with user-supplied font maps. check-in: fbaf06b4 user: dkf tags: trunk
2003-08-19
21:00
* generic/tkPanedWindow.c(PanedWindowWorldChanged): Set window background from the -background resource. Fixes [BUG #791500 "PanedWindow refresh glitches on X"] check-in: d62683ea user: jenglish tags: trunk
21:00
* generic/tkPanedWindow.c(PanedWindowWorldChanged): Set window background from the -background resource. Fixes [BUG #791500 "PanedWindow refresh glitches on X"] check-in: f8e39a93 user: jenglish tags: core-8-4-branch
19:08
* doc/bind.n: Added more information on event types and details [FRQ #523593 "bind(n) manpage needs more detail"] check-in: 67f39f71 user: jenglish tags: trunk
2003-08-18
07:29
* win/configure: Regen. * win/tcl.m4: Update from Tcl to fix Tcl bug 781109.
check-in: 60314523 user: mdejong tags: trunk
2003-08-15
10:54
Faster color data parsing code for the [$photo put] subcommand. check-in: d74849a2 user: dkf tags: trunk
2003-08-14
12:30
Make test suite pass without crashes from TIP#109 changes... check-in: 73b67307 user: dkf tags: trunk
10:31
TIP#109 implementation - checkbuttons and radiobuttons now look better. check-in: 96478d4a user: dkf tags: trunk
2003-08-13
12:11
ChangeLog Police: Added missing entry (derived from 8.4 branch checkin) check-in: c29e9f6a user: dkf tags: trunk
10:59
* library/scale.tcl: Fix for bug #787065 for Button-2 press. * tests/scale.test: Added test for this bug.
check-in: fb94faa0 user: patthoyts tags: core-8-4-branch
10:28
* library/scale.tcl: Fix for bug #787065 for Button-2 press. * tests/scale.test: Added test for this bug.
check-in: f80a5e2b user: patthoyts tags: trunk
2003-08-12
08:49
* macosx/tkMacOSXMenu.c: fixed C99'ism that breaks gcc 2.95.
check-in: d0e51e6a user: das tags: core-8-4-branch
08:49
* macosx/tkMacOSXMenu.c: fixed C99'ism that breaks gcc 2.95.
check-in: c969779c user: das tags: trunk
2003-07-31
22:17
Fixed stupid typo. check-in: 06a3ac2e user: patthoyts tags: trunk
2003-07-28
22:12
* win/tkWinDialog.c: Applied patch from bug #611615 which fixes a problem with double clicks in file dialogs falling through to the window underneath in win32.
check-in: 82e8c792 user: patthoyts tags: trunk
21:31
* library/panedwindow.tcl: Apply patch from bug #778893 to make the panedwindow -opaqueresize option work as per the docs.
check-in: cd929d5c user: patthoyts tags: trunk
21:14
* library/tk.tcl: Apply fix for bug #778840 for window placement when using multiple desktops on windows.
check-in: b532942a user: patthoyts tags: trunk
2003-07-24
02:10
* win/tkWinCursor.c: Fix for bug #776646 for a native hand2 and fleur (move) cursor under win. * tests/cursor.test: Check that documented cursors are available. check-in: c3ebf298 user: patthoyts tags: trunk
2003-07-21
22:37
note 8.4.4 changes and tag date check-in: 8d9fe585 user: hobbs tags: core-8-4-branch, core-8-4-4
12:39
* macosx/buildTkConfig.tcl: fix to TK_BUILD_* ref generation broken by changes to tcl buildsystem.
check-in: 139bf257 user: das tags: trunk
12:37
* macosx/buildTkConfig.tcl: fix to TK_BUILD_* ref generation broken by changes to tcl buildsystem.
check-in: 0f8174d7 user: das tags: core-8-4-branch
2003-07-19
01:45
* unix/tkUnixFont.c (Tk_DrawChars): do not make XGetGeometry call that prevents overwidth lines as it requires a roundtrip call to the X server for every string drawn. Hard-code max width to 32768 until a beter solution to get max width is made.
check-in: 4c9e0b13 user: hobbs tags: core-8-4-branch
01:44
* unix/tkUnixFont.c (Tk_DrawChars): do not make XGetGeometry call that prevents overwidth lines as it requires a roundtrip call to the X server for every string drawn. Hard-code max width to 32768 until a beter solution to get max width is made.
check-in: 4732f7c5 user: hobbs tags: trunk
01:24
* library/panedwindow.tcl: use widget-specific Priv slots for pwAfterId and panecursor items to correctly handle cursor changes with adjacant panedwindows.
check-in: fcdf9693 user: hobbs tags: trunk
01:22
* library/panedwindow.tcl: use widget-specific Priv slots for pwAfterId and panecursor items to correctly handle cursor changes with adjacant panedwindows.
check-in: 0fa7ab2d user: hobbs tags: core-8-4-branch
01:20
* win/tkWinCursor.c: Applied misplaced Tcl RFE 700799 to provide the windows hand cursor where available.
check-in: 8d0c28de user: patthoyts tags: trunk
01:15
* win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to provide consistency between unix and windows -cursor option.
check-in: 8e01adc5 user: patthoyts tags: core-8-4-branch
01:03
* generic/tkEvent.c (Tk_HandleEvent): correct XCreateIC call for TK_XIM_SPOT usage. [Bug 742660] (takahashi)
check-in: 20d941ad user: hobbs tags: core-8-4-branch
01:02
* win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to provide consistency between unix and windows -cursor option. (thoyts)
check-in: 92e27acb user: hobbs tags: core-8-4-branch
01:01
* generic/tkEvent.c (Tk_HandleEvent): correct XCreateIC call for TK_XIM_SPOT usage. [Bug 742660] (takahashi)
check-in: 0d3cad01 user: hobbs tags: trunk
2003-07-18
23:55
* win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to provide consistency between unix and windows -cursor option. check-in: cbf38f1a user: patthoyts tags: trunk
19:51
* win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K. This is a short-term solution until the -multiple option is extended. [Bug 641261]
check-in: a13d3d91 user: hobbs tags: core-8-4-branch
19:50
* win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K. This is a short-term solution until the -multiple option is extended. [Bug 641261]
check-in: a9fd8224 user: hobbs tags: trunk
13:24
MacOSX native dialog check-in: c492b298 user: vincentdarley tags: trunk
11:04
MacOSX fixes check-in: 466db507 user: vincentdarley tags: trunk
10:02
Fix for [Bug 702230], and an evil bug it is too! check-in: d0bbbe46 user: dkf tags: trunk
09:53
Fix for [Bug 702230], and what an evil bug that is! check-in: 410f521d user: dkf tags: core-8-4-branch
02:02
* macosx/Makefile: Changes for new tcl buildsystem.
* macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: Changes for new tcl buildsystem. Changed build to include tk specific html help in Tk.framework instead of Tcl.framework. Set default SYMROOT in target options to simplify setting up PB (manually setting common build folder for tcl & tk no longer needed).
* macosx/README: Updated info for changes to buildsystem, html help location and PB setup.
check-in: e869798e user: das tags: trunk
01:06
* macosx/Makefile: Changes for new tcl buildsystem.
* macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: Changes for new tcl buildsystem. Changed build to include tk specific html help in Tk.framework instead of Tcl.framework. Set default SYMROOT in target options to simplify setting up PB (manually setting common build folder for tcl & tk no longer needed).
* macosx/README: Updated info for changes to buildsystem, html help location and PB setup.
check-in: 32b67575 user: das tags: core-8-4-branch
2003-07-17
22:57
Better docs of [$photo put]. [Bug 728952] check-in: ad05c08b user: dkf tags: trunk
22:55
D'oh! Important word missing... check-in: 73ce9922 user: dkf tags: core-8-4-branch
22:53
Better docs of [$photo put]. [Bug 728952] check-in: 6acd66f9 user: dkf tags: core-8-4-branch
20:52
Docfix [Bug 747814] check-in: e37e7857 user: dkf tags: trunk
20:48
Panedwindow fixes that make things behave right in complex geometry cases. [Bugs 738143+747814] check-in: ba56a02c user: dkf tags: core-8-4-branch
13:05
Try harder to avoid zero-length mallocs()... [Bug 404421] check-in: 51dd0f48 user: dkf tags: core-8-4-branch
12:59
Try harder to avoid zero-length malloc()s... [Bug 404421] check-in: 3d35f235 user: dkf tags: trunk
10:11
Rearranged code in ImgPhotoCmd to not use confusing fallthroughs in switches. [Bug 771988] Also TAB Police in Changelog... check-in: cbba54a5 user: dkf tags: trunk
09:58
I prefer direct return from switch processing; simpler to understand. Also resolves [Bug 771988] since the breaks are "wrong" in that style. check-in: 9b2e8fca user: dkf tags: core-8-4-branch
03:19
* generic/tkPack.c (ConfigureSlaves): silence compiler warning [Bug 771982]
check-in: afecbf30 user: dgp tags: trunk
03:17
* generic/tkPack.c (ConfigureSlaves): silence compiler warning [Bug 771982]
check-in: 5d3e7221 user: dgp tags: core-8-4-branch
01:02
* win/tkWinImage.c (XGetImage): correct init of biSizeImage in bitmap header. [Bug 703697] (cap)
check-in: d6ab62a7 user: hobbs tags: core-8-4-branch
01:02
* win/tkWinImage.c (XGetImage): correct init of biSizeImage in bitmap header. [Bug 703697] (cap)
check-in: cd3e74e8 user: hobbs tags: trunk
00:39
* generic/tkPanedWindow.c (ArrangePanes): Ensure that the last pane * tests/panedwindow.test: shrinks instead of being clipped when resized below the reqsize. [Bug 748277] (spjuth)
check-in: dc037cf8 user: hobbs tags: trunk
00:37
* generic/tkPanedWindow.c (ArrangePanes): Ensure that the last pane * tests/panedwindow.test: shrinks instead of being clipped when resized below the reqsize. [Bug 748277] (spjuth)
check-in: 8a738d4c user: hobbs tags: core-8-4-branch
2003-07-16
23:17
Make sure all options can be set to their default value. [Bug #697652] check-in: 7f183fb8 user: pspjuth tags: core-8-4-branch
23:16
Make sure all options can be set to their default value. [Bug #697652] check-in: 8d604802 user: pspjuth tags: trunk
22:54
* generic/tkWindow.c (Initialize): do not free uninit'ed dstring. [Bug 755906] (mistachkin)
check-in: 4434251f user: hobbs tags: core-8-4-branch
22:54
* generic/tkWindow.c (Initialize): do not free uninit'ed dstring. [Bug 755906] (mistachkin)
check-in: 3c1e5686 user: hobbs tags: trunk
01:20
* unix/tkUnixEvent.c (TkpCloseDisplay): Don't test for XCloseIM bug when the XFree86 version is newer than 4.0 since the layout of the XIM structure has changed. The check is not needed for newer XFree86 releases since the bug we are checking for was fixed in the 4.2.99.2 release. [Bug 755530]
check-in: a89b9350 user: mdejong tags: core-8-4-branch
2003-07-15
22:46
* README: Bumped patchlevel to 8.4.4 in preparation * generic/tk.h: for the Tk 8.4.4 release. * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in:
* unix/configure: autoconf (2.13) * win/configure:
check-in: 8af3bd8d user: dgp tags: core-8-4-branch
13:59
menu clone cleanup bug fix check-in: 24060b3e user: vincentdarley tags: core-8-4-branch
2003-07-14
22:59
Added missing .TP check-in: 85d30919 user: dkf tags: core-8-4-branch
22:58
Added missing .TP check-in: af549eb2 user: dkf tags: trunk
2003-07-09
21:18
Stop xhost smash by the test suite; that can render a machine unusable. check-in: 7e3aec74 user: dkf tags: trunk
21:12
Stop xhost smash by the test suite; that can render a machine unusable. check-in: 93bbe2ff user: dkf tags: core-8-4-branch
2003-07-07
20:39
* generic/tkTextDisp.c (DisplayText): correct use of textPtr data with respect to Tcl_Release time. [Bug #767009]
check-in: e73cdd5d user: hobbs tags: trunk
09:43
Backported fix for [Bug 749353] check-in: 4568e2fe user: dkf tags: core-8-4-branch
09:35
Fixed [Bug 749353] by making the removal of masters from the global image table aggressive when the interp is being deleted, and making the deletion code always check to see whether it should actually be deleting an entry or not. No tests as it comes under the heading of crash-on-bug, and the bug is not easy to excite (it requires a full script and interpreter deletion with lots of events about.) check-in: 69f63d6b user: dkf tags: trunk
2003-07-03
18:47
Prime the systemButtonText from the theme brush. This is really only the first stage of actually using the theme brushes to track active colors, but it gets the labelframe color working at least. check-in: 1532f40f user: wolfsuit tags: trunk
2003-07-02
09:22
* unix/tkUnixEvent.c (TkpCloseDisplay): Don't test for XCloseIM bug when the XFree86 version is newer than 4.0 since the layout of the XIM structure has changed. The check is not needed for newer XFree86 releases since the bug we are checking for was fixed in the 4.2.99.2 release. [Bug 755530]
check-in: 191a4162 user: mdejong tags: trunk
08:21
ChangeLog police check-in: 3a3b19cf user: mdejong tags: trunk
2003-06-26
17:15
Windows menu popup location fix check-in: 920e0c3c user: vincentdarley tags: trunk
2003-06-09
20:39
Fix for [Bug#751553] "Xft: [font configure] does not update in-use fonts". Fixed TkpGetSubFonts() to return information about all subfonts, not just the first one. check-in: feabf97d user: jenglish tags: trunk
2003-06-02
16:13
configure.in: BUGFIX: --enable-xft test was broken. check-in: a431ac62 user: jenglish tags: trunk
2003-05-31
23:00
* unix/tkUnixRFont.c (InitFont): Fill in TkFontAttributes from pattern returned from GetFont (actual font) instead of the query pattern (requested font). check-in: d6714ac2 user: jenglish tags: trunk
18:32
Experimental support for antialiased text under X11 [Patch#535541] check-in: 83ae67ba user: jenglish tags: trunk
18:23
Changes from Keith Packard's version: + Added copyright notice + Fix infinite loop in Tk_MeasureChars when TK_WHOLE_WORDS is specified + Fix for crash in TkpGetNativeFont when XftXlfdParse() fails + TkpGetFontFromAttributes: use XftPatternCreate() and XftPatternAddString(... XFT_FAMILY ...) instead of XftPatternBuild() to initialise pattern; fixes crash when faPtr->family == NULL + Workaround for Tcl bug where malformed UTF-8 text can get passed to Tk_MeasureChars / Tk_DrawChars. + TkpGetFontFromAttributes: don't request 0-pixel fonts + TkpGetNativeFont: don't use FcNameParse, since that tends to always succeed, causing the usual Tk font parsing to be skipped. check-in: 6fe5718d user: jenglish tags: trunk
18:17
SOURCE: Imported from cvs.fontconfig.org, tk/unix/tkUnixRFont.c rev 1.4 check-in: 87184790 user: jenglish tags: trunk
2003-05-30
11:02
fix to menu clone deletion bug check-in: e5b874d6 user: vincentdarley tags: trunk
2003-05-29
21:58
doc/text.n: Fixed markup errors. check-in: 7be24279 user: jenglish tags: trunk
21:57
Fixed markup errors. check-in: ed32b215 user: jenglish tags: trunk
15:05
Keeping the change-log up-to-date... check-in: 21c1544e user: dkf tags: trunk
14:50
library/msgs/cs.msg updated msg catalog [Bug 743796] <[email protected]> check-in: 57dae5b2 user: bagnonm tags: trunk
2003-05-27
23:44
MacOS tearoff menu location fix check-in: 9f563407 user: vincentdarley tags: trunk
15:35
text widget cleanup fix check-in: abc0aa2a user: vincentdarley tags: trunk
2003-05-23
18:16
* unix/mkLinks: Set the var S to "" at the top of the file to avoid error when user has set S to something. [Tk Bug #739833]
check-in: 72654d08 user: mdejong tags: trunk
2003-05-21
15:30
The panedwindow widget now sizes right around unmapped windows. [Bug 738143] check-in: a856e667 user: dkf tags: trunk
09:21
D'oh! Zero and one are not the same thing... check-in: 93340c1c user: dkf tags: trunk
2003-05-20
19:34
updated changes for 8.4.3 check-in: 36e47cc2 user: hobbs tags: core-8-4-branch, core-8-4-3
17:32
* unix/Makefile.in: do not run autoconf during 'make dist' as the configure is now a CVS-maintained file and should be up-to-date.
check-in: 55a4d627 user: hobbs tags: core-8-4-branch
2003-05-19
21:19
Fixed test suite breakage that I inadvertently introduced [Bug 739965] check-in: 9581d50f user: dkf tags: trunk
14:44
I18n (and some l10n) for the console and the main window of the widget demo. check-in: 88343be6 user: dkf tags: trunk
14:37
Stopped warnings about signed/unsigned and strncmp() and added missing forward decl check-in: 374c3db6 user: dkf tags: trunk
13:04
tip 113 implementation check-in: 7ef32f7c user: vincentdarley tags: trunk
05:05
* macosx/Wish.pbproj/project.pbxproj: changed tkConfig.sh location in versioned framework subdirectories to be identical to location in framework toplevel; fixed stub library symbolic links to be tk version specific.
check-in: edc59643 user: das tags: trunk
05:05
* macosx/Wish.pbproj/project.pbxproj: changed tkConfig.sh location in versioned framework subdirectories to be identical to location in framework toplevel; fixed stub library symbolic links to be tk version specific.
check-in: dbea164b user: das tags: core-8-4-branch
2003-05-15
19:04
Bumped version to 8.4.3 check-in: 73092b4e user: hobbs tags: core-8-4-branch
18:06
* unix/tkUnixFont.c: use gb2312-raw as the alias for gb2312* charset fonts. gb2312.enc was made to be euc-cn for Tcl because that is what is most often meant, but X really wants the original (-raw) gb2312 encoding. [Bug 557030]
check-in: b53243d3 user: hobbs tags: core-8-4-branch
18:05
* unix/tkUnixFont.c: use gb2312-raw as the alias for gb2312* charset fonts. gb2312.enc was made to be euc-cn for Tcl because that is what is most often meant, but X really wants the original (-raw) gb2312 encoding. [Bug 557030]
check-in: 266495f5 user: hobbs tags: trunk
2003-05-14
19:08
* library/msgs/fr.msg: updated msg catalog. [Bug #737790] (zolli)
check-in: c6d88e3d user: hobbs tags: trunk
19:05
* library/msgs/fr.msg: updated msg catalog. [Bug #737790] (zolli)
check-in: c5cad894 user: hobbs tags: core-8-4-branch
2003-05-13
14:15
space in path bug fix check-in: 4fa27bce user: vincentdarley tags: trunk
08:41
* macosx/tkMacOSXInit.c (TkpInit): use new versioned bundle resource API to get tk runtime library for TK_VERSION. [Bug 736774]
check-in: 99558556 user: das tags: core-8-4-branch
08:40
* macosx/tkMacOSXInit.c (TkpInit): use new versioned bundle resource API to get tk runtime library for TK_VERSION. [Bug 736774]
check-in: a1685825 user: das tags: trunk
02:42
backport of Mac OS X specific changes on trunk since 8.4.2:
* macosx/tkMacOSXClipboard.c (TkSelGetSelection): Convert '\r' to '\n' on the way into Tcl. (ingham)
* macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function, used to invoke menu commands at idle time. (TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu commands, wait till the idle loop to do so. This is more like what is done on Windows, and avoids the crash from destroying a menu in it's command. (ingham)
* macosx/tkMacOSXHLEvents.c (ReallyKillMe): Don't force the shell to exit. According to the OS X HI guidelines, it should be possible to cancel an attempt to quit, and if we force the kill, here, it would not be possible to implement this. (ingham)
* macosx/tkMacOSXApplication.r (removed): * macosx/tkMacOSXLibrary.r (removed): * macosx/tkMacOSXResource.r (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: updated copyrights, cleaned up about box, removed obsolete unused resource files. (steffen)
check-in: 84771ce9 user: das tags: core-8-4-branch
2003-05-11
00:57
* generic/tkCanvPoly.c (PolygonToPostscript): * tests/canvPs.test: correct crash when generating postscript for a single-line polygon (point) with no color. [Bug #734498] (wilm)
check-in: 55f672ad user: hobbs tags: core-8-4-branch
00:52
* generic/tkCanvPoly.c (PolygonToPostscript): * tests/canvPs.test: correct crash when generating postscript for a single-line polygon (point) with no color. [Bug #734498] (wilm)
check-in: da0424bd user: hobbs tags: trunk
2003-05-10
19:43
macosx/tkMacOSXClipboard.c (TkSelGetSelection): Convert '\r' to '\n' on the way into Tcl. check-in: a8572a3c user: wolfsuit tags: trunk
2003-05-08
09:35
Stop deleted images from showing up in the various [image *] operations. Can't delete early though as that removes the link with widgets and image names. check-in: fe438f17 user: dkf tags: trunk
2003-04-30
16:18
* macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo for stippleGC [Bug #730124].
check-in: 51178e15 user: hobbs tags: core-8-4-branch
16:16
* macosx/tkMacOSXButton.c (TkpDisplayButton): correct typo for stippleGC [Bug #730124].
check-in: b895f06b user: hobbs tags: trunk
2003-04-26
02:59
* generic/tkButton.h: Rewrote the handling * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now only stipple the image, unless no disabledfg is given, in which case it will stipple the whole button.
check-in: 73a68cb2 user: hobbs tags: trunk
02:58
remove outdated comments check-in: 3e8d01ff user: hobbs tags: core-8-4-branch
02:53
* generic/tkButton.h: Rewrote the handling * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now only stipple the image, unless no disabledfg is given, in which case it will stipple the whole button.
check-in: 6e8bda65 user: hobbs tags: core-8-4-branch
2003-04-25
20:11
* unix/tkUnixButton.c (TkpDisplayButton): Use the normalTextGc when * win/tkWinButton.c (TkpDisplayButton): displaying disabled text that have images, as they get a gray50 stipple as well and the disabledGc is not set up correctly for font drawing. [Bug #477740]
check-in: 069316b2 user: hobbs tags: core-8-4-branch
20:11
* library/bgerror.tcl: make bgerror dialog topmost on Windows to prevent it being covered by other windows.
check-in: 24f878eb user: hobbs tags: core-8-4-branch
20:03
* unix/tkUnixButton.c (TkpDisplayButton): Use the normalTextGc when * win/tkWinButton.c (TkpDisplayButton): displaying disabled text that have images, as they get a gray50 stipple as well and the disabledGc is not set up correctly for font drawing. [Bug #477740]
check-in: 12fc5335 user: hobbs tags: trunk
20:02
* library/bgerror.tcl: make bgerror dialog topmost on Windows to prevent it being covered by other windows.
check-in: 7184ebfc user: hobbs tags: trunk
2003-04-18
21:56
* generic/tkCursor.c: s/GetCursor/TkcGetCursor as Windows has a GetCursor func already, which causes compiler warnings.
check-in: 3f8d7024 user: hobbs tags: core-8-4-branch
21:56
* generic/tkCanvBmap.c: s/CreateBitmap/TkcCreateBitmap as Windows has a CreateBitmap function already.
check-in: 682af17f user: hobbs tags: core-8-4-branch
21:55
* win/configure: regen * win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x uses /bin/bash, which can fail to find exes in the path (ie: lib).
check-in: ecdc2267 user: hobbs tags: trunk
21:54
* generic/tkCanvBmap.c: s/CreateBitmap/TkcCreateBitmap as Windows has a CreateBitmap function already.
check-in: c0c3e3e0 user: hobbs tags: trunk
21:54
* generic/tkCursor.c: s/GetCursor/TkcGetCursor as Windows has a GetCursor func already, which causes compiler warnings.
check-in: 71cc92e3 user: hobbs tags: trunk
2003-04-15
01:06
* win/tkWinMenu.c (TkpInitializeMenuBindings): Rename the private menu helper cmd from tk::tkWinMenuKey to tk::WinMenuKey. [Bug 721514]
check-in: 71f782f9 user: mdejong tags: trunk
2003-04-14
23:34
* generic/tkBind.c (TkpGetBindingXEvent): Add helper method that can be used to query the XEvent* for the currently executing binding. * generic/tkInt.h: Declare TkpGetBindingXEvent. * win/tkWinMenu.c (MenuKeyBindProc, TkWinMenuKeyObjCmd, TkpInitializeMenuBindings): Rename MenuKeyBindProc to TkWinMenuKeyObjCmd and convert it into a Tcl command named tk::tkWinMenuKey. Bind keyboard accelerator actions to this Tcl command instead of using a native C binding. This makes it possible to extend the existing binding with Tcl code and makes the Windows version work just like the unix version.
check-in: 98dd3be2 user: mdejong tags: trunk
2003-04-04
19:29
* unix/Makefile.in: Subst TCL_LIBS instead of DL_LIBS and MATH_LIBS. * unix/configure: Regen. * unix/configure.in: Remove SC_ENABLE_THREADS invocation. Thread support in an extension should be automatic when Tcl is compiled with thread support. Add AC_DEFINE calls to set TCL_THREADS, _REENTRANT, and _THREAD_SAFE since this was done in SC_ENABLE_THREADS. Remove socket and math lib checks since these are already done in the Tcl configure script. * unix/tcl.m4: Update from Tcl to get TCL_LIBS fix. This fixes bug 597847 which was caused by improper linking. * unix/tkConfig.sh.in: Subst TCL_LIBS instead of MATH_LIBS and DL_LIBS. [Bug 597847]
check-in: 7f117f25 user: mdejong tags: trunk
2003-04-03
10:11
* win/configure: Regen. * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX variable. * win/tcl.m4: Update from Tcl to get new LIBFLAGSUFFIX variable.
check-in: 889afe7c user: mdejong tags: core-8-4-branch
02:31
* win/configure: Regen. * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX variable. * win/tcl.m4: Update from Tcl to get new LIBFLAGSUFFIX variable.
check-in: c8ee344f user: mdejong tags: trunk
02:04
* win/configure: Regen. * win/configure.in: Don't set TCL_DLL_FILE, TCL_LIB_FILE, TCL_STUB_LIB_FILE, TCL_STUB_LIB_FLAG, and TCL_BUILD_STUB_LIB_SPEC. These variables are already set in tclConfig.sh. [Bug 691908]
check-in: a7f21daf user: mdejong tags: core-8-4-branch
02:00
* win/configure: Regen. * win/configure.in: Don't set TCL_DLL_FILE, TCL_LIB_FILE, TCL_STUB_LIB_FILE, TCL_STUB_LIB_FLAG, and TCL_BUILD_STUB_LIB_SPEC. These variables are already set in tclConfig.sh. Don't subst vars that are either not used, or already covered by a subst in SC_LOAD_TCLCONFIG. [Bug 691908]
check-in: 5d0649ef user: mdejong tags: trunk
2003-04-02
06:38
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl.
check-in: 3bad8440 user: mdejong tags: trunk
2003-04-01
21:06
* tests/all.tcl: Made better use of a common * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
check-in: 01af81ec user: dgp tags: trunk
2003-03-28
00:16
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl.
check-in: f87fcf2f user: mdejong tags: trunk
2003-03-27
07:13
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl to get BeOS changes.
check-in: 6eee039c user: mdejong tags: trunk
2003-03-23
02:25
Corrected several problems that prevented OPTS=symbols from building properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes. check-in: 10a8982d user: kennykb tags: core-8-4-branch
02:17
Corrected several problems that prevented OPTS=symbols from building properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes. check-in: b7bcc071 user: kennykb tags: trunk
2003-03-21
01:43
* macosx/tkMacOSXApplication.r (removed): * macosx/tkMacOSXLibrary.r (removed): * macosx/tkMacOSXResource.r (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: updated copyrights, cleaned up about box, removed obsolete unused resource files.
* macosx/buildTkConfig.tcl: TK_DEFS space fix.
check-in: 5b618ed3 user: das tags: trunk
2003-03-19
03:21
* win/tkConfig.sh.in: Add TK_DLL_FILE entry to mirror the TCL_DLL_FILE entry in tclConfig.sh. [Patch 694271]
check-in: a9c2bb00 user: mdejong tags: trunk
03:14
* win/configure: Regen. * win/configure.in: Don't run the AC_CYGWIN macro since it uses AC_CANONICAL_HOST under autoconf 2.5X. Just check to see if __CYGWIN__ is defined by the compiler and set the ac_cv_cygwin variable based on that. [Tcl Bug 705912]
check-in: bb91d329 user: mdejong tags: trunk
2003-03-18
16:30
* tests/unixWm.test (unixWm-41.2): Corrected typo in 2003-03-13 commit. Thanks Larry Virden. [Bug 705567]
check-in: 6c65bb68 user: dgp tags: trunk
16:19
* tests/unixWm.test (unixWm-41.2): Corrected typo in 2003-03-13 commit. Thanks Larry Virden. [Bug 705567]
check-in: 55f74d85 user: dgp tags: core-8-4-branch
13:55
* macosx/Wish.pbproj/project.pbxproj: * macosx/Makefile: * macosx/README: added support for giving 'make' the location of Tcl.framework and tclsh to build and link against.
* macosx/tkMacOSXXStubs.c: fixed crash in [winfo server].
check-in: 3972b4d1 user: das tags: core-8-4-branch
13:47
* macosx/Wish.pbproj/project.pbxproj: * macosx/Makefile: * macosx/README: added support for giving 'make' the location of Tcl.framework and tclsh to build and link against.
* macosx/tkMacOSXXStubs.c: fixed crash in [winfo server].
check-in: 60f68c2f user: das tags: trunk
2003-03-14
21:30
Backport of the 'Message box buttons too wide' fix. [Bug #701812] check-in: 3334507d user: dkf tags: core-8-4-branch
2003-03-13
19:34
* tests/unixWm.test: Constrained all tests older than revision 1.21 to run only on Unix. Alternative approach did not match maintainer habits. * tests/spinbox.test (spinbox-17.4): Avoid long failure message.
check-in: 8ee3d1b0 user: dgp tags: trunk
19:33
* tests/unixWm.test: Constrained all tests older than revision 1.21 to run only on Unix. Alternative approach did not match maintainer habits. * tests/spinbox.test (spinbox-17.4): Avoid long failure message.
check-in: e2892c03 user: dgp tags: core-8-4-branch
16:41
Backed the version to 8.4 on the 8.4 branch. (I just loathe sticky tags). check-in: 8c5beabb user: kennykb tags: core-8-4-branch
10:54
Require autoconf 2.57 or newer, see TIP 34 for a detailed explanation of why this is good. This will no doubt break the build on some platforms, let the flaming begin.
* unix/configure: Regen with autoconf 2.57. * unix/configure.in: Require autoconf 2.57. * unix/tcl.m4: Update from Tcl. * win/configure: Regen with autoconf 2.57. * win/configure.in: Require autoconf 2.57. * win/tcl.m4: Update from Tcl.
check-in: 2ed1717b user: mdejong tags: trunk
2003-03-12
16:00
Better aesthetics for the messageBox. [Bug #701812] check-in: 670ee128 user: dkf tags: trunk
05:56
2003-03-11 Jim Ingham <[email protected]>
* macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function, used to invoke menu commands at idle time. (TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu commands, wait till the idle loop to do so. This is more like what is done on Windows, and avoids the crash from destroying a menu in it's command.
* macosx/tkMacOSXHLEvents.c (ReallyKillMe): Don't force the shell to exit. According to the OS X HI guidelines, it should be possible to cancel an attempt to quit, and if we force the kill, here, it would not be possible to implement this.
check-in: 905ea821 user: wolfsuit tags: trunk
03:25
* tests/unixWm.test: Add the testwrapper constraint to tests that depend on the testwrapper command. These tests should not be run under Windows for example.
check-in: 170ff012 user: mdejong tags: trunk
00:25
* doc/wm.n (minimize, maximize): Remove claim that the resizable command keeps scripts from changing the size of windows since it is not true. The resizable command only applies to user sizing via user interaction. * tests/unixWm.test: Replace broken tests with the nonPortable constraint with new tests for maxsize and minsize options. These tests verify that setting the minsize and maxsize will resize the window if needed, and that the wm hints will be updated with the new sizes. * tests/wm.test: Add an exhaustive set of tests for the wm maxsize and wm minsize commands. These tests verify that setting the minsize and maxsize will resize the window if needed. These tests have only been run under Win98 and Window Maker under Linux, so further tweaking may be needed for other systems. * unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. Pass new width and height values to the UpdateSizeHints method so that it can properly set the window min and max sizes for a window that cannot be resized by the user. This fixes a bug where the window resizes back to the original size when the user clicks on the window border. * win/tkWinWm.c (UpdateGeometryInfo): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. [Patch 568861]
check-in: 1047136c user: mdejong tags: trunk
00:09
* generic/tkGrid.c (GridStructureProc, ConfigureSlaves): Check for a NULL masterPtr and slavePtr in the GridStructureProc code to ensure that a Gridder created before some error condition is ignored when it comes to geometry calculations. This approach closely matches the pack implementation. Keep track of a -in argument to a grid command in order to detect the case of an already gridded widget that wants to change some options. The previous implementation could make repeated and unnecessary calls to Tk_ManageGeometry. Replace use of "parent" with "master" in comments throughout the file. * generic/tkPack.c (PackStructureProc): Check for a NULL masterPtr before other checks so that a slave created under certain error conditions is cleaned up properly. Replace use of "parent" with "master" in comments throughout the file. * generic/tkPlace.c (CreateSlave, ConfigureSlave, SlaveStructureProc): Don't call Tk_ManageGeometry in CreateSlave since this was causing incorrect results in some error cases. Rework the ConfigureSlave method so that slave setup is done in one place. The call to Tk_ManageGeometry was added to the one place where a slave is setup. When a slave is configured but the master is not changed, simply goto the scheduleLayout label. Check for a NULL master in SlaveStructureProc for the sake of readability. * tests/grid.test: * tests/pack.test: * tests/place.test: Add test to check that a winfo manager call does not return incorrect results after an error condition is hit. [Patch 693063]
check-in: f1dcb667 user: mdejong tags: trunk
2003-03-11
23:48
Backported the code that makes the makefile build pkgIndex.tcl as part of the install step. check-in: 43cb2db2 user: kennykb tags: core-8-4-branch
23:31
Backported the code that makes the makefile build pkgIndex.tcl as part of the install step. check-in: d1a35556 user: kennykb tags: trunk
2003-03-08
02:15
Fix a bug with MacOS X Tk's handling of the help menu. The code expected the MacOS 9 behavior, which was to insert a separator item after the system help menus, but this doesn't happen on X... check-in: ac391717 user: wolfsuit tags: trunk
2003-03-06
15:35
Documentation changes due to TIP#116 check-in: 23bc5bc7 user: dkf tags: trunk
15:05
TIP#116 implementation. Docs still to come, tests will never be done because they could never be done portably as they'd inevitably depend on the total amount of memory available to the process... :^( check-in: 1839ce25 user: dkf tags: trunk
03:09
no message check-in: e5b2218a user: davygrvy tags: trunk
03:08
updated default tcl version to 8.5 check-in: 68608bc0 user: davygrvy tags: trunk
2003-03-04
23:50
* README: Bumped version number of * generic/tk.h: Tk to 8.5a0. * library/tk.tcl: * mac/README: * macosx/Wish.pbproj/project.pbxproj: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/makefile.vc: * win/tcl.m4:
* unix/configure: autoconf * win/configure:
check-in: 95a4e8ae user: dgp tags: trunk
2003-03-03
20:01
mark Mar 3 date for 8.4.2 check-in: 3a4903d0 user: hobbs tags: trunk, core-8-4-2
15:54
Added credits to changes check-in: a4dc2a8a user: dkf tags: trunk
01:22
updated changes for 8.4.2 release drafted by dkf check-in: 579ca2d5 user: dgp tags: trunk
2003-02-28
15:55
Make all %-expansions generate ?? when their event doesn't have the right underlying field to prevent a crash on Windows. [Bug #612110] check-in: 218784e1 user: dkf tags: trunk
2003-02-27
00:53
see ChangeLog check-in: a1d537be user: hobbs tags: trunk
00:09
correct 8.4.3 refs to 8.4.2 check-in: f954b1bb user: hobbs tags: trunk
00:05
replace version refs with version-agnostic wording check-in: 5cb2be97 user: hobbs tags: trunk
2003-02-26
02:47
* win/tkWinInt.h: * win/tkWinDraw.c: * win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text drawing on Windows. [Patch #685388] (martin)
check-in: e9b026f7 user: hobbs tags: trunk
02:32
* generic/tkMenu.c (TkMenuCleanup): make sure to reset static menusInitialized on finalize. [Bug #548729]
check-in: 70cc1ff0 user: hobbs tags: trunk
2003-02-25
18:24
Added the 'aete' resource defining the doscript event, and adding it to the Wish target. check-in: 9e68002e user: wolfsuit tags: trunk
16:11
* macosx/tkMacOSXHLEvents.c: fixed conversion of apple event parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl)
check-in: 3b1bafe3 user: das tags: trunk
16:09
* macosx/tkMacOSXHLEvents.c: fixed conversion of apple event parameters to posix style path names. [Bug #621672] (steffen, Benjamin Riefenstahl)
* macosx/tkMacOSXDialog.c: * macosx/tkMacOSXWm.c: * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXUtil.c (removed): * macosx/tkMacOSXUtil.h (removed): removed all references to tkMacOSXUtil.{c,h}, made obsolete by the patch above. [Bug #621672]
check-in: 80d818b1 user: das tags: trunk
02:59
* unix/tkUnixFont.c (CreateClosestFont, CanUseFallback): use the first best font match in user font path. [Bug #647497] (dal zotto)
check-in: 0c01a07f user: hobbs tags: trunk
02:07
* generic/tkListbox.c (ListboxSelectionSubCmd): * tests/listbox.test: Allow 'selection includes' to respond when disabled (but only 'includes'). [Bug #632514]
check-in: f0aec0e5 user: hobbs tags: trunk
01:39
* unix/tkUnixButton.c (TkpDisplayButton): Correct visual display of disabled check/radiobutton to be more distinctive on unix. * tests/unixButton.test: [Bug #669595] (hintermayer)
check-in: 3d026b4c user: hobbs tags: trunk
01:39
* doc/panedwindow.n: clarified the need to use 'update idle' when adding unmapped windows. Needs further examination. [Bug #605105]
check-in: 3bbbf3b6 user: hobbs tags: trunk
00:46
* generic/tkEntry.c (SpinboxWidgetObjCmd, EntryWidgetObjCmd): * tests/entry.test: return 1 if selection is present even if * tests/spinbox.test: entry/spinbox is disabled, as selection get will still return the selection (although selection still ignore modify requests when entry/spinbox is disabled). [Bug #637828]
check-in: ea2c85a2 user: hobbs tags: trunk
2003-02-24
19:27
2003-02-24 Benjamin Riefenstahl <[email protected]>
* tkMacOSXDialog.c (NavServicesGetFile): Fix bug with kNavCtlSetSelection - control data should be a pointer not a handle.
check-in: 5908c90b user: wolfsuit tags: trunk
2003-02-21
14:40
* library/clrpick.tcl (color::BuildDialog): * library/msgbox.tcl (MessageBox): Yet more places that did complex and fragile width calculations instead of using grid, though with these it is the -uniform option that saves the day.
check-in: f29e6bb5 user: dkf tags: trunk
14:13
Made the standard file dialogs use [grid] for their bottom area [Bug #673722] check-in: 27ddaf31 user: dkf tags: trunk
13:32
* library/comdlg.tcl (FDGetFileTypes): Set an upper limit on how long a file type item description string can get due to appending of types. [Bug #617392]
check-in: 338d3a2f user: dkf tags: trunk
13:05
Typo fix from Georgios Petasis, and commented-out-code removal. check-in: 072bac04 user: dkf tags: trunk
11:48
Use the panedwindow's depth, not the screen's default depth. [Bug #671122] check-in: 6b665877 user: dkf tags: trunk
03:34
* library/console.tcl: (aqua & macintosh) added missing <Cmd-q> binding for corresponding Quit menu item shortcut.
* macosx/README: updated instructions for embedded build, added various improvements by Russell Owen.
* unix/tcl.m4: update from Tcl. * unix/configure: regen.
check-in: 258a3fd4 user: das tags: trunk
02:07
* win/tkWinScrlbr.c (UpdateScrollbar): use SIF_DISABLENOSCROLL to "disable" scrollbar when on Windows when there is nothing to scroll. This is Windows style, and fixes [Bug #624116].
check-in: 3f81cd64 user: hobbs tags: trunk
01:57
* tests/panedwindow.test: * generic/tkPanedWindow.c (ValidSashIndex): corrected to note that 2 panes must exist before any one sash does. [tcllib Bug #689258]
check-in: 76083b77 user: hobbs tags: trunk
2003-02-20
21:08
Fixed calculation of the last slave's size when increasing the size of the panedwindow. [Bug #689099] check-in: ba573e9c user: pspjuth tags: trunk
15:28
Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788] It served no useful purpose whatsoever... check-in: 619210d9 user: dkf tags: trunk
10:23
Removed potentially fatal FMR in Unix font handling. No test because any test would be very platform- and build-specific. [Bugs #618872 and #689357] check-in: a9b64ff1 user: dkf tags: trunk
07:07
* macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning.
check-in: 988e1eb5 user: das tags: trunk
2003-02-19
22:20
2003-02-19 Jim Ingham <[email protected]>
* tkMacOSXMouseEvents.c (GeneratePollingEvents): In the case where there was a capture window, we were sending the events to the capture window. But the capture window (return value or TkMacOSXGetCapture) is always a toplevel. So this is wrong in the case that the Event's toplevel IS the capture window - in which case the event should go to the subwindow most closely containing the event.

Fixes bug #688188 check-in: 5d2aee48 user: wolfsuit tags: trunk

19:27
This submission contains a slightly reworked & cleaned up version of two parts of the patches in Patch Tracker #622582 - new-evthdlng.2003-02-12.diff and basic-keyboard.2003-02-10.diff. The second part puts translation of MacOS X keycodes to characters on a better footing. The first part relaxs Tk's policy of consuming all events unless it can see they go to windows it didn't create. This change gets the little traffic lights working, and should make things like QuickTimeTcl easier to implement. check-in: 01a965fc user: wolfsuit tags: trunk
18:52
* doc/entry.n: * doc/text.n: Update double and triple click docs to match implementation changes made on 2002-02-14.
check-in: fa9c4e0f user: mdejong tags: trunk
17:08
added missing bug # check-in: d3144182 user: das tags: trunk
16:55
added missing bug # check-in: 4254ea37 user: das tags: trunk
16:44
* macosx/Wish.pbproj/project.pbxproj: * macosx/Makefile: reworked embedded build to no longer require relinking but to use install_name_tool instead to change the install_names for embedded frameworks.
check-in: adc63fd8 user: das tags: trunk
16:13
New part for the widget demo showing Tk's UNICODE output. [Patch #627453] check-in: b72fff8d user: dkf tags: trunk
01:32
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl (HP xnet [Bug #651811]). check-in: 140673d7 user: andreas_kupries tags: trunk
01:22
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl.
check-in: 1afdae28 user: mdejong tags: trunk
2003-02-18
21:54
see ChangeLog check-in: e3680386 user: hobbs tags: trunk
21:54
(EntrySetValue): removed unused code var. [Bug #664781] check-in: 819bfbbe user: hobbs tags: trunk
21:54
(TkPostscriptImage): remove unused depth var. [Bug #664787] check-in: c1856ca7 user: hobbs tags: trunk
21:53
(TextWidgetCmd): remove unused lastEnd var. [Bug #664790] check-in: cf3d4d98 user: hobbs tags: trunk
21:24
* library/tk.tcl (::tk::TabToWindow): auto-highlight spinboxes as well as entries when tabbing in. [Patch #683813] (bron)
check-in: 66bbccbf user: hobbs tags: trunk
21:19
* library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): correct sub on embedded newlines. [Patch #688572] (bonfield)
check-in: 035324f7 user: hobbs tags: trunk
20:57
corrected B values [Bug #682714] check-in: 2c67a90d user: hobbs tags: trunk
19:18
* win/tkWinInit.c (TkpDisplayWarning): truncate MessageBox string to 1024 chars to prevent possible oversized window errors. May be necessary in other MB uses (ie Tcl_AppInit). [Tcl Bug #608559]
check-in: 65e7d42c user: hobbs tags: trunk
14:43
menu title encodings check-in: ba6c0f56 user: vincentdarley tags: trunk
14:03
* generic/tkImgGIF.c (FileReadGIF): Ensure that the trashBuffer is always deallocated on function exit to stop a potential memory leak.
check-in: e8d1555c user: dkf tags: trunk
06:33
fix date in ChangeLog entry check-in: 5100380c user: mdejong tags: trunk
06:22
* generic/tkEvent.c (Tk_HandleEvent): Fixup button press state saving code, it was incorrectly converting normal motion events into button press and motion events in some cases. * generic/tkInt.h: Add mouseButtonWindow member to the TkDisplay structure. * tests/event.test: Add test case for faulty button motion logic.
check-in: e79d36e4 user: mdejong tags: trunk
2003-02-15
02:20
* README: Bumped to 8.4.2. * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tk.spec: * win/configure: * win/configure.in:
check-in: 4404a5cb user: hobbs tags: trunk
02:20
correct HP-UX ia64 --enable-64bit build flags check-in: 5d0d3a94 user: hobbs tags: trunk
2003-02-14
20:30
matched to the Tcl one. build option 'linkexten' renamed to 'staticpkg'. check-in: dbc2da50 user: davygrvy tags: trunk
20:28
matched to the Tcl one. check-in: 1d45dd13 user: davygrvy tags: trunk
2003-02-13
22:09
Added language to describe the handling of the end-of-file character \u001a in a script file. [Bug 685505] check-in: 9ceeab89 user: kennykb tags: trunk
2003-02-11
07:26
2003-02-10 Jim Ingham <[email protected]>
* macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme cursors using SetThemeCursor or SetAnimatedThemeCursors. (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc. Allow animatedCursor{NUM} form for an animated cursor with count. (TkpSetCursor): Don't reset the cursor if there is no change. * macosx/tkMacOSXMouseEvent.c (GeneratePollingEvents): Don't directly call TkMacOSXInstallCursor, it gets called by the call to Tk_UpdatePointer immediately above.
check-in: e47d8466 user: wolfsuit tags: trunk
2003-02-10
22:03
2003-02-10 Jim Ingham <[email protected]>
* macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme cursors using SetThemeCursor or SetAnimatedThemeCursors. (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc.
check-in: 18814be9 user: wolfsuit tags: trunk
2003-02-09
07:51
2003-02-05 Fred Fish <[email protected]>
* macosx/tkMacOSXWm.c (Tk_SetGrid): Fix precedence problem with * mac/tkMacWm.c (Tk_SetGrid): '==' and '|'.
check-in: adf40dd7 user: hobbs tags: trunk
07:48
* generic/tkCanvArc.c (CreateArc): Rework canvas create item * generic/tkCanvBmap.c (CreateBitmap): type coords handling to be * generic/tkCanvImg.c (CreateImage): consistent across types * generic/tkCanvPoly.c (CreatePolygon): and not pass empty coords * generic/tkCanvLine.c (CreateLine): to item creation procs. * generic/tkCanvText.c (CreateText): * generic/tkCanvWind.c (CreateWinItem): * generic/tkCanvas.c (CanvasWidgetCmd CANV_CREATE): * generic/tkRectOval.c (CreateRectOval): * tests/canvRect.test: * tests/canvText.test: * tests/canvas.test:
check-in: 940279e1 user: hobbs tags: trunk
06:24
TP macro misplacement check-in: db053e5a user: hobbs tags: trunk
2003-01-28
20:39
Moved 'deletionEpoch' field from TkDisplay to TkMainInfo. Reworked windowObj type. Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window" check-in: f02d9ee0 user: jenglish tags: trunk
2003-01-23
23:30
Fix the entry widget's KeyPress binding so that text is entered from left to right, not right to left, even if the mouse button is being held down. [Bug #673687]. check-in: eab46dcf user: drh tags: trunk
2003-01-22
14:32
* generic/tkImage.c (Tk_ImageObjCmd): Added check to make sure that you're not creating an image named the same as .'s command, which refixes 220891, even when the name of the command has been changed with 'rename'. The error message is better too. * generic/tkFrame.c (TkToplevelWindowForCommand): Added way of mapping from command names to tkwins-for-toplevels. * tests/image.test (image-1.10,image-1.11): Updated to match new error message and added test for the rename case. * generic/tclInt.decls: Made TkToplevelWindowForCommand exported privately.
check-in: 046e519c user: dkf tags: trunk
2003-01-19
09:50
* generic/tkImage.c (DeleteImage): delete the image's entry in the image table correctly when there are no more instances. This reopens bug 220891. [Bug #669759]
check-in: 4c4aaa60 user: hobbs tags: trunk
07:51
* doc/loadTk.n: note that ::safe::loadTk has a prereq on ::safe::interpCreate or ::safe::interpInit. [Bug #669159]
check-in: c3e6e394 user: hobbs tags: trunk
07:50
* doc/photo.n: $image put only accepts -format and -to, and note extended use of -to.
check-in: 357d07da user: hobbs tags: trunk
07:46
.VS order fix check-in: 4c5d36d6 user: hobbs tags: trunk
2003-01-17
19:54
Increase the size of the clipping box for lines in bug #663981 so that Tk extensions that attempt to print a canvas in a windows GDI printer will still work. check-in: 09e122b9 user: drh tags: trunk
2003-01-14
19:23
* generic/tkSelect.c (Tk_CreateSelHandler): Fix for #666346 "Selection handling crashes under KDE 3.0" * tests/unixSelect.test (unixSelect-1.20): Added test case. check-in: d6fd320a user: jenglish tags: trunk
01:20
* win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd, ChooseDirectoryValidateProc, Tk_MessageBoxObjCmd): Remove unused tsdPtr variable. Use TEXT macro instead of _T macro since _T does not work under Cygwin. Declare flags as UINT to avoid compiler warning when compiling with mingw.
check-in: 122cf82b user: mdejong tags: trunk
2003-01-13
07:30
* win/Makefile.in: Add TCL_DEFS to AC_FLAGS so that compiler flags defined by Tcl get passed to the compiler. Add empty rule for cat.c so that Tk compiles under msys. * win/configure: Regen. * win/tcl.m4: Update from Tcl, this pulls in a subst of TCL_DEFS, it also defines USE_THREAD_ALLOC when threads are used and it updates the SC_ENABLE_SYMBOLS and SC_PROG_TCLSH macros to match the ones used in Tcl.
check-in: 53f1ef69 user: mdejong tags: trunk
07:25
ChangeLog police. check-in: ba34f986 user: mdejong tags: trunk
2003-01-10
20:23
unix/tkUnixEvent.c (OpenIM): Remove unused variable (Fixes: #664780 "SGI warning: OpenIM") check-in: 0a0c9fff user: jenglish tags: trunk
2003-01-09
01:00
Use explicit "static int" type, not implicit "static". check-in: 0d2a3fcc user: dgp tags: trunk
2003-01-08
23:02
Implement Cohen-Sutherland polygon clipping for long lines in the canvas widget so that coordinates do not overflow the 16-bit limit imposed by X11 and Win32. Bug #663981. check-in: 240475aa user: drh tags: trunk
2003-01-03
22:43
* generic/tkFrame.c (CreateFrame): throw a Tcl error instead of a panic when we cannot get a main window and appname is NULL. This can indicate that a user tried to create a frame/toplevel while Tk was dying. [Bug #661792]
check-in: b6f5008d user: hobbs tags: trunk
2002-12-27
23:43
ANSI unfriendly typedef for TkTextBTree repaired for C++ compilers. check-in: 8b2dc51d user: davygrvy tags: trunk
21:23
WaitForEvent(): process Map and Unmap events as well as Configure events during WaitFor{Configure|Map}Notify. Fixes [Bug 578569] (WaitForMapNotify could process Map and Unmap events out of order, making Tk think a window was unmapped when it really wasn't). check-in: 2effd347 user: jenglish tags: trunk
2002-12-18
21:46
label docs failed to mention the -compound option check-in: 4d31a921 user: tmh tags: trunk
2002-12-17
15:28
Doc-fix: [$photo put] knows about solid colours, and not files. [Bug 640026] check-in: c5e5dca1 user: dkf tags: trunk
2002-12-13
16:54
* generic/tkMain.c (Tk_Main): Call on Tcl*StartupScript*() routines to store the startup script, if any. [Bug 616245].
check-in: bc281eaf user: dgp tags: trunk
2002-12-10
22:06
* win/makefile.vc: tclThreadTest.obj not required to link tktest.exe [Bug 651396] check-in: 55393861 user: davygrvy tags: trunk
2002-12-09
00:32
* generic/tkEntry.c (ConfigureEntry): keep a flag to indicate when a var is traced to prevent double-traces caused by configuring the widget in traces with validation on. (dejong)
check-in: aefff522 user: hobbs tags: trunk
2002-12-08
21:59
Fix typo check-in: 059dc688 user: mdejong tags: trunk
00:46
* generic/tkInt.decls: add TkWinSetHINSTANCE decl * 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.
check-in: 07dfcd13 user: hobbs tags: trunk
2002-12-06
23:29
* win/tkWinX.c (TkWinXInit): Move cleanup into an exit handler * 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.
check-in: f4d362d9 user: hobbs tags: trunk
2002-12-02
03:42
* tests/event.test (_keypress, _text_ind_to_x_y): Force focus to widget in _keypress method to avoid problems with window managers that use focus follows mouse. [Bug 526209]
check-in: 878d6261 user: mdejong tags: trunk
2002-12-01
23:37
* tests/wm.test: Add wm-transient-6.3 to check that a transient remains withdrawn when it is first withdrawn and then turned into a transient. * unix/tkUnixWm.c: * win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN with WM_WITHDRAWN and set this flag whenever a window is explicitly withdrawn. This fixes the test case added above. [Bug 644356]
check-in: 35f7ae4f user: mdejong tags: trunk
2002-11-22
23:25
* tests/textDisp.test: * generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped text displays. [Bug #641778]
check-in: 8f78c034 user: hobbs tags: trunk
2002-11-20
05:21
2002-11-19 Jim Ingham <[email protected]>
* macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): If the scrollbar width is set to 12 or less (but 12 is what you should use) use the small metric scrollbar.
(UpdateControlValues): Fix thinko in setting off AUTO_ADJUST for the place geometry manager.
check-in: dab24df5 user: wolfsuit tags: trunk
2002-11-19
02:20
* unix/Makefile.in: add macosx/*.tcl (buildTkConfig.tcl in particular) to the dist target.
check-in: 8bd4b138 user: hobbs tags: trunk
2002-11-15
15:35
Added missing .BE [Tcl Bug 629330] check-in: 00fd5333 user: dkf tags: trunk
2002-11-14
17:30
* generic/tkWindow.c (Tk_DestroyWindow, DeleteWindowsExitProc): Add TkHalfdeadWindow type and halfdeadWindowList to keep track of windows that were only partially deallocated before a call to exit. Finnish cleaning up these windows in DeleteWindowsExitProc. Keep track of cleanup status in Tk_DestroyWindow so that a window with a Destroy binding which calls exit will get fully destroyed. * tests/window.test: Add Tk_DestroyWindow tests for an assortment of half dead window cases. [Bug 630533]
check-in: dd044cd7 user: mdejong tags: trunk
2002-11-10
14:59
* macosx/Wish.pbproj/project.pbxproj: fixed erroneous removal of libtkstub before Wish was built.
check-in: 3c41e330 user: das tags: trunk
14:58
* macosx/Wish.pbproj/project.pbxproj: fixed erroneous removal of libtkstub before Wish was built.
check-in: ea9c7b00 user: das tags: trunk
2002-11-07
22:27
* tests/unixWm.test: Add short delay to test unixWm-51.7 to account for raise/lower changes in TIP 107. This allows the test case to pass under Window Maker on Linux.
check-in: 030ad36a user: mdejong tags: trunk
19:10
place info did not return all settings, and didn't make sure the result was a proper list. Put '-in' first in result to be more consistent with how grid/pack info behaves. [Bug #635025][Bug #532022] check-in: 9688bb9e user: pspjuth tags: trunk
06:38
* unix/Makefile.in: added macosx/README to dist target.
check-in: 44e063d0 user: das tags: trunk
05:04
* macosx/Wish.pbproj/project.pbxproj: fix to 'wish' script to allow it to work when not installed into '/'.
check-in: 6cbef0cb user: das tags: trunk
2002-11-06
10:49
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/configure.in: Check that AR, RANLIB, and RC are found on the path when building with gcc.
check-in: 37ce221a user: mdejong tags: trunk
2002-11-04
07:49
* win/winMain.c (Tcl_AppInit): Calls Registry_Init() and Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set.
* win/makefile.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde static lib files to the link of the shell. [Patch 479697]
* win/rules.vc: Matches the one from Tcl.
* win/buildall.vc.bat: More useful commentary.
check-in: 430b4100 user: davygrvy tags: trunk
07:49
no message check-in: 6dc904f0 user: davygrvy tags: trunk
01:54
* macosx/Wish.pbproj/project.pbxproj: added Wish linker flag -headerpad_max_install_names to allow use of 'install_name_tool'. fixed tkConfig.sh generation and redo_prebinding in the case where Tk is not installed alongside Tcl.
check-in: 56750eca user: das tags: trunk
2002-11-01
18:33
* win/makefile.vc (TCLREGLIBNAME): Updated to registry 1.1. check-in: af153807 user: andreas_kupries tags: trunk
2002-10-29
00:51
* macosx/README: added info on new package searching in Frameworks directories.
check-in: d493a60b user: das tags: trunk
2002-10-22
19:18
updated for 8.4.1 release check-in: 8b8f2f7c user: hobbs tags: trunk, core-8-4-1
2002-10-21
04:37
* macosx/README: revised according to Jim's suggestions * macosx/tkMacOSXAppInit.c: use standard PATH_MAX from <limits.h>
check-in: dd2e2e28 user: das tags: trunk
2002-10-19
02:10
* win/configure: Regen. * win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in Cygwin version of windres and work around that case by passing a POSIX path instead of a Windows native path. One can't always pass a POSIX path because the mingw native toolchain accepts only Windows native paths. (dejong)
check-in: 02559aa0 user: hobbs tags: trunk
02:10
* win/tkWinPort.h: define OPEN_MAX only if not defined. [Patch #625472] (howell)
check-in: 87344c39 user: hobbs tags: trunk
02:10
* win/winMain.c (WinMain, main): remove obsolete SetMessageQueue call
check-in: 1b4c22ee user: hobbs tags: trunk
2002-10-18
03:01
* mac/tkMacAppInit.c: removed tcltest dependency. [Bug #592639] (porter)
check-in: 0a1485f0 user: das tags: trunk
00:48
* tests/imgPhoto.test: * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): fix arg handling for missing -format or -data options. [Bug #624974]
check-in: 10196f16 user: hobbs tags: trunk
2002-10-17
23:38
* tests/text.test: properly return the number of * unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732]
check-in: e02410d5 user: hobbs tags: trunk
2002-10-16
23:56
* macosx/README: info specific to building and running TclTk on Mac OS X, answers to tcl-mac list FAQs. * macosx/Makefile: permission fix after embedded install. * macosx/Wish.pbproj/project.pbxproj: after install, fix permissions of uninstalled products.
check-in: 58b7e09c user: das tags: trunk
19:44
* macosx/Wish.pbproj/project.pbxproj: added TEXT document type to plist so that files can be dragged onto Wish Shell.
* macosx/tkMacOSXInt.h: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXFont.c: added private proc TkMacOSXUseAntialiasedText() to enable/disable quickdraw text antialiasing where available, default is enabled. Added a linked boolean ::tk::mac::antialiasedtext with write trace to allow control of antialiasing from tcl.
check-in: cdc06cfe user: das tags: trunk
11:29
dead keys first fix for MacOSX check-in: 349d85cb user: vincentdarley tags: trunk
09:51
macosx menu accelerator fix check-in: 0602001c user: vincentdarley tags: trunk
01:17
* unix/configure: * unix/tcl.m4: add AIX-5 ppc build support. Remove unused SC_ENABLE_MEMDEBUG.
check-in: 358e85b4 user: hobbs tags: trunk
01:17
* win/configure: * win/tcl.m4: Add --enable-shared=mem support.
check-in: 5c615513 user: hobbs tags: trunk
2002-10-10
21:07
The grid size was not updated properly when removing a widget from a grid. [Bug #621241] (forssen) check-in: c22256a9 user: pspjuth tags: trunk
21:01
* generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of TkColormapData on Windows (Windows now requires RGB pixel data from image). * win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support for generating ps for embedded widgets on canvases on Windows, tested for 8, 16, 24 and 32-bit depths (XGetImageZPixmap not used).
check-in: 6b1d5fc9 user: hobbs tags: trunk
16:34
* library/tk.tcl: simplified the adding of extra <ISO_Left_Tab> and <hpBackTab> events to <<PrevWindow>>.
check-in: ad8563da user: hobbs tags: trunk
07:25
* tests/canvPs.test: tests for canvas embedded window ps generation * generic/tkCanvWind.c (CanvasPsWindow): removed dead code loop. * generic/tkCanvas.h: moved TkColormapData struct to tkCanvPs.c * generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of TkColormapData on Windows. Non-separated data may need correction as well. * win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support for generating ps for embedded windows on canvases.
check-in: 52521f7c user: hobbs tags: trunk
05:01
* unix/README: doc'ed --enable-symbols options. * unix/Makefile.in: comment docs * unix/configure: regen * unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent SC_ENABLE_SYMBOLS that takes yes|no|mem|all as options now.
check-in: f1a68625 user: hobbs tags: trunk
2002-10-09
19:35
* generic/tk.h: Added reminder comment to edit macosx/Wish.pbproj/project.pbxproj when version number changes.
check-in: 2441aaf5 user: dgp tags: trunk
13:02
* macosx/Makefile: don't remove tclsh after building embedded.
* macosx/Wish.pbproj/project.pbxproj: bumped version to 8.4.1; added missing library/mkpsenc.tcl to framework.
check-in: 24dcfcfc user: das tags: trunk
11:56
* generic/tkInt.decls(tkIntXlib): added XQueryTree declaration for mac & aqua, since it's now called from ParentXId via Tk_HandleEvent. * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: regen. * mac/tkMacXStubs.c: added XQueryTree stub
* mac/tkMacEmbed.c (TkpUseWindow): check that container window has -container option set (sync with other platforms).
* mac/tkMacBitmap.c: * mac/tkMacFont.c: * mac/tkMacSend.c: * mac/tkMacTest.c: * mac/tkMacWm.c: CONSTification.
* mac/tkMacProjects.sea.hqx: added tkStyle.c and tkUndo.c to tk library projects.
check-in: c7efc907 user: das tags: trunk
09:32
* generic/tkImgPhoto.c (ImgPhotoSetSize): Only error-out if we fail to allocate a non-empty buffer; getting a NULL when we allocate an empty buffer is no problem since nothing will look at the value anyway. [Bug 619544] Also tidied up file to take into account the fact that we're using 32 bits per pixel in the master to accommodate the alpha channel as well as RGB.
check-in: 8b8a363a user: dkf tags: trunk
2002-10-08
20:21
* tests/winButton.test: add option clear to top to prevent option leakage from other tests causing problems. [Bug #582382]
check-in: e973c183 user: hobbs tags: trunk
19:57
* generic/tkFocus.c (TkFocusFilterEvent): Ignore event if we are focusing into a dead window. [Bug #588831] (griffin)
check-in: a6dd6933 user: hobbs tags: trunk
19:57
* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): leave the DestroyPanedWindow proc to free the pwPtr, add a Preserve reference to the pwPtr->tkwin. (DestroyPanedWindow): Release the pwPtr->tkwin.
check-in: 140fd8e0 user: hobbs tags: trunk
2002-10-03
06:24
2002-10-02 Jim Ingham <[email protected]>
* macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): Put the Tk scrollbar pointer into the control reference data for the Mac scrollbar, so we can get it out again in the ScrollbarActionProc.
check-in: a05c2909 user: wolfsuit tags: trunk
2002-10-02
21:23
* generic/tkText.c (TextBlinkProc): don't blink the cursor unless it is visible. [Bug #616791] [Patch #614474] (bonfield)
check-in: a5945c89 user: hobbs tags: trunk
21:12
minor example fix check-in: 30c6813f user: hobbs tags: trunk
20:59
* tests/entry.test: added entry-20.7 * generic/tkEntry.c (EntryTextVarProc): check if the entry if being deleted before handling an associated textvariable. [Bug #607390 #617446]
check-in: da237314 user: hobbs tags: trunk
2002-10-01
08:48
Finally dealt with 614650 and with a simpler solution too. check-in: 4f349c2e user: dkf tags: trunk
2002-09-30
18:55
* tests/panedwindow.test: added panedwindow-28.[12] * generic/tkPanedWindow.c (PanedWindowCmdDeletedProc): (Tk_PanedWindowObjCmd): when destroying the panedwindow, destroy the proxy before the parent to avoid dependency conflicts. [Bug #616589]
check-in: 1f35b3bd user: hobbs tags: trunk
15:22
614650 is still lurking, but now mainly as a [text] widget bug... check-in: db516514 user: dkf tags: trunk
13:42
Incremental transfers of UTF8_STRING selections should now work; Tk will now tag them with the right size and only transfer complete UTF8 characters. Previously, things only worked when the transfer could only happen in one go, and even then not always. [Bug 614650, reported by Reinhard Max] check-in: bdabe5ef user: dkf tags: trunk
09:35
* doc/bind.n: Doc-fix to mention that %A substitutes UNICODE characters rather than ASCII ones. Tk's done this ever since 8.1 in any case; after all, it is the right thing to do.
check-in: e66ad0b2 user: dkf tags: trunk
2002-09-27
18:09
* README: Bumped to version 8.4.1 to avoid confusion * generic/tk.h: of CVS snapshots with release 8.4.0. * unix/README: * unix/configure.in: * unix/tk.spec * win/configure.in:
* unix/configure: autoconf * win/configure:
check-in: 646705f8 user: dgp tags: trunk
01:32
* unix/configure: regen. * unix/tcl.m4: improve AIX-4/5 64bit compilation support.
check-in: bede30d4 user: hobbs tags: trunk
00:48
2002-09-18 Mumit Khan <[email protected]>
Added basic Cygwin support.
* win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW. * win/configure: Regenerate.
* win/tkWinPort.h (tchar.h): Do not include on Cygwin. (_T): Define for Cygwin. * win/winMain.c (main): Conditionally define.
check-in: 85aa3e20 user: hobbs tags: trunk
00:47
* unix/Makefile.in: add macosx subdir to dist target. Do not generate .Z, only .gz and .zip in alldist target.
check-in: 4b84a1eb user: hobbs tags: trunk
2002-09-26
17:07
* macosx/Makefile: preserve environment value of INSTALL_ROOT. When embedding only use deployment build. Force relink before embedded build to ensure new linker flags are picked up.
* macosx/buildTkConfig.tcl (new): * macosx/Wish.pbproj/project.pbxproj: synthesize tkConfig.sh based on tclConfig.sh in Tcl.framework and tkConfig.sh.in. Add symbolic links to debug lib, stub libs and tkConfig.sh in framework toplevel. Made tkIntXlibDecls.h a public header since Headers/X11/Xlib.h includes it. Install wish8.4 script that runs "Wish Shell.app" and corresponding wish link. Use tcl headers from built Tcl.framework instead of from tcl source directory.
* macosx/tkMacOSXPort.h: added missing standard unix includes and defines, similarly to tkUnixPort.h. * macosx/tkMacOSXNotify.c: removed dependency on internal tcl header "tclPort.h"
* unix/Makefile.in: * unix/install-sh: copied support for 'install-strip' target over from tcl/unix/{Makefile.in,install-sh}
check-in: 405953cf user: das tags: trunk
2002-09-24
14:27
Regen from Tcl check-in: d0b8c1fa user: dkf tags: trunk
09:26
Regen from Tcl check-in: 444e47c0 user: dkf tags: trunk
2002-09-23
07:21
In TkpIsWindowFloating, check for NULL before passing the wRef to GetWindowClass. check-in: cd3e4dcb user: wolfsuit tags: trunk
07:17
Minor cleanup, no content changes. check-in: 88750fc5 user: wolfsuit tags: trunk
2002-09-22
07:46
2002-09-22 Jim Ingham <[email protected]>
* macosx/tkMacOSXScrlbr.c (UpdateControlValue): HiliteControl doesn't give the proper "nothing to scroll" look on Mac OS X. You have to set the min value greater than the max value to get this.
check-in: 05dffb92 user: wolfsuit tags: trunk
2002-09-15
20:38
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl. * unix/tkUnixEvent.c (TkpCloseDisplay): Use PEEK_XCLOSEIM to examine the input context queue before invoking XCloseIM. Generate an assert if there is an input context that has not been freed. [Patch 570902]
check-in: 5b90814a user: mdejong tags: trunk
2002-09-14
02:52
* generic/tk.h: Moved RC_INVOKED down so that tcl.h is still included when running the resource compiler. <tcl.h> excludes the unnecessary parts on its own. This reenables the Windows build. It failed because the non-inclusion of tcl.h caused the resource compiler to miss some vital macro definitions (TCL_FINAL_RELEASE, STRINGIFY, ...).
check-in: abca098d user: andreas_kupries tags: trunk
2002-09-12
17:34
* generic/tk.h: * mac/tkMacApplication.r: * mac/tkMacLibrary.r: * mac/tkMacResource.r: * macosx/tkAboutDlg.r: * macosx/tkMacOSXApplication.r: * macosx/tkMacOSXLibrary.r: * macosx/tkMacOSXResource.r: unified use of the two equivalent resource compiler header inclusion defines RC_INVOKED and RESOURCE_INCLUDED, now use RC_INVOKED throughout.
* macosx/tkMacOSXAppInit.c: improved detection of Wish startup by the finder (by checking if stdin is /dev/null), in which case we want to bring up the Tk console window.
* macosx/tkMacOSXHLEvents.c: added 'rapp' apple event handler.
check-in: 6b6e93fd user: das tags: trunk
06:13
* macosx/Wish.pbproj/project.pbxproj: reference & install tk/generic/prolog.ps instead of tk/library/prolog.ps.
check-in: 83c0ed5e user: das tags: trunk
2002-09-10
12:43
* macosx/Wish.pbproj/project.pbxproj: added backwards compatibility for Mac OS X 10.1 ProjectBuilder 2.0.
check-in: 524b3813 user: das tags: trunk
09:59
* unix/Makefile.in: added DYLIB_INSTALL_DIR variable for Darwin and set it to default value ${LIB_RUNTIME_DIR} * unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of LIB_RUNTIME_DIR in the -install_name argument to ld. * unix/configure: regen.
* macosx/Wish.pbproj/project.pbxproj: * macosx/Makefile: added support for building Tcl as an embedded framework, i.e. using an dyld install_name containing @executable_path/../Frameworks via the new DYLIB_INSTALL_DIR unix/Makefile variable.
check-in: 419f67e7 user: das tags: trunk
06:46
* macosx/tkMacOSXNotify.c (Tk_MacOSXSetupTkNotifier): corrected Mac Jaguar event loop issue.
check-in: 21653817 user: hobbs tags: trunk, core-8-4-0
2002-09-09
23:52
see changelog check-in: c8934650 user: hobbs tags: trunk
23:52
* library/tk.tcl: use command instead of control on Aqua bindings. Force dialogs to appear below fixed native Mac menubar. * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: Keypress/release events for pure modifier keys were not being passed to Tk. Deadkey presses were inserting null characters into text windows. Now they do nothing. (Still not ideal, but better than before!) * macosx/tkMacOSXMenu.c: Allow more than 200 menus to exist - increased to 2000. * macosx/tkMacOSXMouseEvent.c: Bad interactions between floating windows and ordinary ones. Ensure that local<->global coordinate transformations are wrt to the correct window. * macosx/tkMacOSXWm.c: Better error msg for 'wm attributes'. Remove crash in 'wm transient'. Add 'noActivates' and 'noUpdates' flags to unsupported command. [Patch #606658] (darley)
check-in: b7d61235 user: hobbs tags: trunk
23:51
note sept 10 release date check-in: 6a645a6a user: hobbs tags: trunk
20:05
* library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): corrected msgcat code with XPG specifier. [Patch #606719] (miller)
check-in: bc974939 user: uid38172 tags: trunk
2002-09-08
23:42
added TIP108 note to OS X port check-in: cb80d57e user: hobbs tags: trunk
2002-09-06
16:07
* tests/unixWm.test (unixWm-50.3): Constrained test that hangs on Windows.
check-in: d1cf66df user: dgp tags: trunk
2002-09-05
09:33
* macosx/Wish.pbproj/project.pbxproj: added overlooked missing TK_PATCH_LEVEL version bump to 8.4.0.
check-in: 9aab18a3 user: das tags: trunk
2002-09-04
17:44
* win/Makefile.in (install-libraries): Added code section to install the message catalogs. Copied same section from unix/Makefile.in and adapted it to the slightly different environment. check-in: 106f720e user: andreas_kupries tags: trunk
02:05
* library/button.tcl: further restrict buttons to not resetting the "original" relief if it has changed in the interim. This prevents code that simulated overrelief buttons from not working in 8.4. [Bug #604270]
check-in: 2054f3e5 user: hobbs tags: trunk
2002-09-03
15:08
* macosx/Wish.pbproj/project.pbxproj: Bumped version number to 8.4.0 and updated copyright info.
check-in: 6d77900e user: das tags: trunk
11:48
wm attributes macosx fix check-in: 771dc762 user: vincentdarley tags: trunk
05:15
Update changes for 8.4.0 release check-in: 5f654d35 user: dgp tags: trunk
01:05
correction to r1.19 fix to only incr inset when no image is used check-in: 3cfb6a24 user: hobbs tags: trunk
00:22
* tests/cursor.test: reverted 2002-08-31 change for OS X to use 'heart' cursor because 'arrow' on windows has a pre-skewed use count. [Bug #602667]
check-in: 2b947ce8 user: hobbs tags: trunk
2002-09-02
23:39
see changes check-in: f5780ba6 user: hobbs tags: trunk
23:32
* tests/button.test: added button-14.1 * win/tkWinButton.c (TkpComputeButtonGeometry): correct Win button sizing to be equal for one-line buttons with -height of 0 or 1, as well as -height 0 buttons with empty text and no image, which should be the same as single-line text buttons. [Bug #565485]
check-in: 0c303d23 user: hobbs tags: trunk
22:00
* library/button.tcl (::tk::ButtonLeave): correctly restore state of button to normal for unix bindings. [Bug #597920]
check-in: 9034f661 user: hobbs tags: trunk
22:00
added tk windowingsystem docs check-in: a822075e user: hobbs tags: trunk
21:21
make sure to substitute LD_LIBRARY_PATH_VAR check-in: debadbbc user: hobbs tags: trunk
21:21
add support for 64-bit builds on HP-11 with gcc check-in: 2b462bca user: hobbs tags: trunk
21:21
* tests/wm.test: * unix/tkUnixWm.c: remove possible 2-second delay in 'raise'. [Patch #601518] (english) TIP #107
check-in: 1d77e81a user: hobbs tags: trunk
20:16
Bumped version number to 8.4.0 check-in: 912aaecc user: hobbs tags: trunk
19:16
* generic/tkCmds.c: * generic/tkWindow.c: made 'tk' available in safe interpreters, but only the caret and windowingsystem subcommands may be called. * tests/safe.test (safe-1.2): noted that tk is now available in safe interps, but not the appname/scaling subcommands.
check-in: bb0ef89d user: hobbs tags: trunk
19:15
noted new tk windowingsystem subcommand check-in: c536d125 user: hobbs tags: trunk
19:14
added int cast to prevent warning check-in: 28480d0b user: hobbs tags: trunk
19:13
added size_t cast to prevent warning check-in: 9c0423f0 user: hobbs tags: trunk
2002-08-31
13:28
* unix/tcl.m4: update from Tcl
* unix/Makefile.in: import of TK_SHLIB_LD_EXTRAS for Tk library specific linker settings. Added use of new LD_LIBRARY_PATH_VAR.
* unix/configure: regen
check-in: 17a60be4 user: das tags: trunk
06:12
*** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***
* generic/tk.decls: * generic/tkInt.decls: added new "aqua" specific entries to the stubs tables. Changed all "unix" entries to "x11" to allow us to distinguish and build both "aqua" on MacOSX and "x11" on MacOSX.
* generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can be passed to the resource compiler.
* generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem] subcommand: returns "x11" when running on X11, "win32" on Windows, "classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon)
* generic/tkFont.c (TkFontGetFirstTextLayout): new private function returning the first chunk of a Tk_TextLayout, i.e. until the first font change on the first line (or the whole first line if there is no such font change).
* generic/tkMain.c: made Tcl_ThreadDataKey static
* library/demos/puzzle.tcl: fixed button metrics for aqua
* tests/cursor.test: check for presence of arrow cursor instead of heart cursor
* xlib/xcolors.c: changed xColors static initialization to more standard C
* macosx/Wish.pbproj/jingham.pbxuser (new): * macosx/Wish.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE.
* macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'.
* macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking for a AppMain.tcl file in its bundled Resources/Scripts folder. If present, argv[1] is set to that file and the Scripts folder is added to the auto_path. This allows tk apps to embed scripts within their bundle directory structure.
* macosx/tkMacOSXInit.c (new): macosx adapted version of tkUnixInit.c: we initialize & cache the Carbon native encoding (e.g. 'macRoman') and try to find the tk script library files inside Tk packaged as a framework.
* macosx/tkMacOSXNotify.c (new): new macosx specific merged Carbon/select-based notifier.
* macosx/tkMacOSXEvent.c (new): * macosx/tkMacOSXEvent.h (new): * macosx/tkMacOSXKeyEvent.c (new): * macosx/tkMacOSXMouseEvent.c (new): * macosx/tkMacOSXWindowEvent.c (new): new macosx specific event handling functionality.
* macosx/tkMacOSX.h (new): * macosx/tkMacOSXBitmap.c (new): * macosx/tkMacOSXButton.c (new): * macosx/tkMacOSXClipboard.c (new): * macosx/tkMacOSXColor.c (new): * macosx/tkMacOSXConfig.c (new): * macosx/tkMacOSXCursor.c (new): * macosx/tkMacOSXDefault.h (new): * macosx/tkMacOSXDialog.c (new): * macosx/tkMacOSXDraw.c (new): * macosx/tkMacOSXEmbed.c (new): * macosx/tkMacOSXFont.c (new): * macosx/tkMacOSXHLEvents.c (new): * macosx/tkMacOSXInt.h (new): * macosx/tkMacOSXKeyboard.c (new): * macosx/tkMacOSXMenu.c (new): * macosx/tkMacOSXMenubutton.c (new): * macosx/tkMacOSXMenus.c (new): * macosx/tkMacOSXPort.h (new): * macosx/tkMacOSXRegion.c (new): * macosx/tkMacOSXScale.c (new): * macosx/tkMacOSXScrlbr.c (new): * macosx/tkMacOSXSubwindows.c (new): * macosx/tkMacOSXTest.c (new): * macosx/tkMacOSXUtil.c (new): * macosx/tkMacOSXUtil.h (new): * macosx/tkMacOSXWm.c (new): * macosx/tkMacOSXWm.h (new): * macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk implementation in tk/mac.
* macosx/tkMacOSXSend.c (new): only send to local interp implemented currently.
* macosx/tkMacOSXDebug.h (new): * macosx/tkMacOSXDebug.c (new): new macosx specific functions for debugging MacOS events, regions, etc.
* macosx/tkAboutDlg.r (new): * macosx/tkMacOSXApplication.r (new): * macosx/tkMacOSXCursors.r (new): * macosx/tkMacOSXLibrary.r (new): * macosx/tkMacOSXMenu.r (new): * macosx/tkMacOSXResource.r (new): * macosx/tkMacOSXXCursors.r (new): * macosx/tclets.r (new): sources for Rez resource compiler.
* macosx/Wish.icns (new): Wish application icon.
* generic/tk.h: * generic/default.h: * generic/tkBind.c: * generic/tkCmds.c: * generic/tkGrab.c: * generic/tkPointer.c: * generic/tkPort.h: * generic/tkSelect.c: * generic/tkStubLib.c: * generic/tkTest.c: * generic/tkText.c: * generic/tkWindow.c: * unix/tkUnix3d.c: * xlib/xgc.c: * xlib/X11/X.h: * xlib/X11/Xlib.h: * xlib/X11/Xutil.h: added #includes and #ifdefs for macosx
* library/bgerror.tcl: * library/button.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: * library/demos/menu.tcl: * library/demos/menubu.tcl: * library/demos/widget: check [tk windowingsystem] instead of and/or in addition to $tcl_platform(platform).
* generic/tkInt.h: * mac/tkMacBitmap.c: * mac/tkMacWm.c: added missing CONSTification
* generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: regen
check-in: 6b4c1410 user: das tags: trunk, macosx-8-4-merge-2002-08-31-trunk
2002-01-22
01:28
* macosx/tkMacOSXInit.c (TkpInit): Move ALL the MacOS X specific initialization code into TkpInit so extension writers don't have to do anything special to initialize Tk.

This is patch #495549 check-in: 4dec70a7 user: wolfsuit tags: macosx-8-4-branch

01:12
Fixed a bug in the Tk_GetFirstTextLayout when the input layout was for a zero length string. check-in: 06b3fce7 user: wolfsuit tags: macosx-8-4-branch
2001-11-21
02:05
added static to TextGetText and popStack func definitions check-in: a7bcfdc4 user: hobbs tags: trunk
01:36
(DestroyText): plugged mem leak when not clearing stack (callewaert) (TextGetText): more efficient string size calculation (darley)
check-in: 911e91e7 user: hobbs tags: trunk
2001-11-20
09:58
* generic/tkText.c (TextGetText): reworked to use DString for improved speed. (callewaert, darley)
check-in: ec33f22d user: hobbs tags: trunk
2001-11-19
14:02
Some neatening up of the widget demo launcher, and a new validated entry demo check-in: ba804151 user: dkf tags: trunk
2001-11-17
22:44
* win/tkWinButton.c (TkpComputeButtonGeometry): corrected the default size of Windows buttons to conform to the Windows style. This changes the default size of buttons on Windows. [Patch #463234] (nelson) **** POTENTIAL VISUAL INCOMPATABILITY ****
check-in: a6841ebf user: hobbs tags: trunk
22:35
marked 32.8 a knownBug against SF bug #465324 check-in: bf4cd673 user: hobbs tags: trunk
2001-11-16
22:54
* library/menu.tcl: corrected menu traversal code on Unix to better handle entering cascades. [Patch #481219]
check-in: 2f9bfac6 user: hobbs tags: trunk
10:26
no message check-in: b57ae384 user: davygrvy tags: trunk
10:24
install target repaired. check-in: 189f0414 user: davygrvy tags: trunk
2001-11-15
14:13
stupid typo check-in: 0b71d445 user: dkf tags: trunk
14:02
tk_setPalette now works correctly under CDE, + an image demo update check-in: 95ded686 user: dkf tags: trunk
11:55
Minor improvements to undo (demo,docs&bindings) check-in: 564aa335 user: dkf tags: trunk
2001-11-13
06:55
Added the logic for the linkexten option. check-in: 2fee9468 user: davygrvy tags: trunk
04:26
small bug fix with filenames in the .res files. check-in: d9079364 user: davygrvy tags: trunk
02:46
* win/mkd.bat: * win/rmd.bat: Removed -kb CVS attribute and added changes from Llyod Lim for better stability. [Patch #456761]
* win/rules.vc(new): * win/buildall.vc.bat(new): * win/makefile.vc: large rewrite following Tcl's makefile.vc as a guide and Patch #456761. Appears BugFree(tm).
check-in: 216ebe4f user: davygrvy tags: trunk
02:45
no message check-in: 7a5cb6f4 user: davygrvy tags: trunk
00:19
added TIP#26 text widget undo/redo functionality check-in: 5265df93 user: hobbs tags: trunk
00:00
one char nroff macro fix check-in: 99f2a6bb user: hobbs tags: trunk
2001-11-12
18:30
fixed unix tk_chooseColor to allow full 0..255 range selection via mouse check-in: 171898d2 user: hobbs tags: trunk
15:01
Yet more -compound showing off, prompted by Vince Darley check-in: 17a20b4d user: dkf tags: trunk
14:32
More fancying up of the demo suite check-in: 7b889e3d user: dkf tags: trunk
2001-11-11
17:58
Remove Tk_MacOSXFindBundleResources, since it is moved to tcl. check-in: 0a213777 user: wolfsuit tags: macosx-8-4-branch
17:54
Move the bundle routines over to Tcl, and use them from there. check-in: bb96d9e8 user: wolfsuit tags: macosx-8-4-branch
03:21
* unix/Makefile.in: * win/Makefile.in: Add "make gdb" target. This target can run wish inside either gdb or insight.
check-in: 7cda0c5d user: mdejong tags: trunk
2001-11-10
00:58
* win/tkWinX.c (TkWinXInit): added InitCommonControlsEx call. * win/rc/tk.rc: * win/rc/wish.rc: * win/rc/wish.exe.manifest: added resources that specify using v6 of the MS Common Controls library when available (WinXP+). This enables use of the themeable widgets (like scrollbars) to be used in Tk. [Patch #478933]
check-in: 7cd5f270 user: hobbs tags: trunk
00:58
add comctl32.lib to build libs check-in: 6530c870 user: hobbs tags: trunk
00:53
added -lc to AIX libs, fixed path to ldAix check-in: 25a2b70e user: hobbs tags: trunk
2001-11-09
11:42
* unix/configure: * unix/tcl.m4: Update from Tcl.
check-in: df7ba9dd user: mdejong tags: trunk
10:59
* unix/configure: * unix/tcl.m4: Update from Tcl.
check-in: a3d14f9c user: mdejong tags: trunk
07:14
* unix/Makefile.in: Avoid adding libc to the LIBS and WISH_LIBS variables since it is not needed when linking with CC. If required when linking with LD it should be done on a case by case basis in tcl.m4.
check-in: 429452a9 user: mdejong tags: trunk
2001-11-05
10:13
Minor fixes from [email protected] Thanks! check-in: a01ae661 user: dkf tags: trunk
2001-10-30
11:21
Improvements to widget demo (integrates/demonstrates the new 8.4 widgets) check-in: 4af66343 user: dkf tags: trunk
10:17
More demo upgrades derived from 8.3.4 and using new features check-in: 64aeb054 user: dkf tags: trunk
2001-10-29
16:42
More demo upgrades derived from 8.3.4 check-in: bb9939ea user: dkf tags: trunk
16:23
Improvements to the demo scripts, mostly up-ported from 8.3.4 check-in: ee6bf7ea user: dkf tags: trunk
2001-10-24
06:00
10/23/2001 Jim Ingham <[email protected]>

Dopey little bug in the dialog for tk_chooseDirectory. There is no file filter for the directory dialog... check-in: bac92019 user: wolfsuit tags: macosx-8-4-branch

2001-10-23
08:40
Minor fixes to TkCursor.nextPtr field handling [adapted from Patch 473875] check-in: 59b3cc5f user: dkf tags: trunk
2001-10-20
05:52
I think this gets rid of all the absolute references. check-in: ee848f91 user: wolfsuit tags: macosx-8-4-branch
2001-10-19
17:43
* library/console.tcl: removed transpose ability until the console can get a proper rewrite of tag handling.
check-in: fcf8c225 user: hobbs tags: trunk
17:43
removed threaded build warning under X check-in: 832032c0 user: hobbs tags: trunk
07:14
Two things:

1) Use the Tcl_SetStartupScript API - a cleaner way than inserting the name into argv. 2) Can't rely on # of arguments from the Finder to see whether we should look for the AppMain. Now it inserts argv[1] = -psn_xxxxx, and who knows what it might do in the future. check-in: 99999907 user: wolfsuit tags: macosx-8-4-branch

2001-10-18
20:26
* library/console.tcl (ConsoleOutput): fixed undefined widget argument.
check-in: aee1fb51 user: hobbs tags: trunk
2001-10-17
07:10
Rest of the updated files for the MAC_OSX_TCL -> MAC_OSX_TK conversion. check-in: 94f8e160 user: wolfsuit tags: macosx-8-4-branch
07:04
Remember to register the Console Interpreter's stdin, stdout & stderr channels with the main interpreter as well. check-in: e6981579 user: wolfsuit tags: macosx-8-4-branch
07:01
Replace MAC_OSX_TCL with MAC_OSX_TK for all windowing specific things. This is so we can separate the macosx specific additions to Tcl (which are added ON to the Unix core) from the Aqua additions (which are orthogonal to Unix - which itself is overloaded to mean X11 as well...) check-in: 2fafd23e user: wolfsuit tags: macosx-8-4-branch
06:51
Stupid typo sting -> string check-in: 0616bf67 user: wolfsuit tags: macosx-8-4-branch
2001-10-16
23:39
* library/xmfbox.tcl: fixed filtering in motif file dialog. [Patch #469670] (nelson)
check-in: 446cdb34 user: hobbs tags: trunk
21:45
* generic/tkWindow.c (OpenIM): Added simple XIM patch to enable basic XIM input on Unix. [Patch #412727] (fabian)
check-in: a5956ca0 user: hobbs tags: trunk
2001-10-15
22:15
had to add ""s now that configure.in is doing the right thing check-in: d500878b user: hobbs tags: trunk
21:19
* unix/configure: * unix/configure.in: * win/configure: * win/configure.in: * win/tkConfig.sh.in: reworked to be a little cleaner in comparison to each other, and to AC_SUBST even empty vars for win/tkConfig.sh
check-in: 41d64e8f user: hobbs tags: trunk
09:21
First checkin of support for Tk on Mac OS X. check-in: 1f829a93 user: wolfsuit tags: macosx-8-4-branch
2001-10-12
13:30
implementation of TIP 63 (accepted) -compound option to menu items. check-in: 388b438b user: tmh tags: trunk, macosx-8-4-branchpoint
2001-10-09
23:11
* library/console.tcl: added more smarts extracted from tkcon to the default console.
check-in: ba7e4718 user: hobbs tags: trunk
2001-10-01
21:22
see ChangeLog check-in: 69d67ade user: hobbs tags: trunk
21:22
* win/tkWinWindow.c: made use of standard Tk_GetHWND instead of older, private TkWinGetHWND.
check-in: 7aaf6fef user: hobbs tags: trunk
21:20
minor cast changes to support Win64 check-in: 84f76b67 user: hobbs tags: trunk
21:20
better error reporting from testclipboard check-in: bfaedc8b user: hobbs tags: trunk
21:04
updated for Win64 SDK RC1 compilation support check-in: 23cb93ac user: hobbs tags: trunk
21:04
updated copyright check-in: 99be987b user: hobbs tags: trunk
2001-09-30
19:01
Added -uniform option to grid's row/columnconfigure. check-in: d7a6c95b user: pspjuth tags: trunk
2001-09-26
21:36
Added labelframe widget. TIP#18. check-in: bc61e5ed user: pspjuth tags: trunk
20:25
Geometry manager changes to support TIP#18. check-in: 2609784a user: pspjuth tags: trunk
2001-09-25
16:25
* Corrected definition of TkpScanWindowId to handle situation where types Window and int do not have the same number of bits. CONST-ified too.
check-in: d188a155 user: dgp tags: trunk
2001-09-24
22:14
Update to handle change in return type of Tcl_DStringAppend() from (char *) to (CONST char *). [TIP 27]
check-in: cc2e26b7 user: dgp tags: trunk
2001-09-23
11:30
Pack accepted asymmetric values for -ipadx/y. Only -padx/y supports asymmetry. [Bug #462348] check-in: 7c94d343 user: pspjuth tags: trunk
2001-09-21
22:13
* win/tkWinWindow.c (TkpPrintWindowId, TkpScanWindowId): fixed to work on Win64 with 64bit XIDs.
check-in: b995daa1 user: hobbs tags: trunk
22:08
* generic/tkWindow.c (Tk_CreateAnonymousWindow): * generic/tkEntry.c (GetSpinboxElement): fixed unreachable returns.
check-in: a91d96e5 user: hobbs tags: trunk
21:34
see ChangeLog check-in: 660812b8 user: hobbs tags: trunk
21:34
minor cast fixes to prevent 64bit warnings check-in: ea7bd071 user: hobbs tags: trunk
21:26
(TkGetServerInfo): added recognition of Win64 check-in: 8ea999e9 user: hobbs tags: trunk
21:24
made XID __int64 type for Win64 check-in: ba58d6e4 user: hobbs tags: trunk
21:22
* unix/tkUnixPort.h: * mac/tkMacPort.h: add (int*) cast to TkpScanWindowId. These may need to be changed to Window* (ulong).
check-in: ef4a8abb user: hobbs tags: trunk
21:19
(TkpScanWindowId): changed decl to use Window* instead of int*. check-in: be81eb5b user: hobbs tags: trunk
21:19
correct Window id's to be of type Window check-in: 5bab4967 user: hobbs tags: trunk
20:38
* win/tkWinWm.c (WinSetIcon): fixed SetClassLong for 64bit support.
check-in: d7092919 user: hobbs tags: trunk
20:38
improved use of test constraints
check-in: 0969f165 user: hobbs tags: trunk
20:37
* tests/textDisp.test (textDisp-4.12): corrected test to work properly on Windows.
check-in: ea21b34e user: hobbs tags: trunk
20:37
* tests/scrollbar.test (scrollbar-6.27): marked knownBug because it is skewed by bad dimensions returned by Windows.
check-in: a44e72ab user: hobbs tags: trunk
2001-09-20
17:04
* unix/configure: regen'ed * unix/tcl.m4: added --enable-64bit support for HP-11 with the 64-bit kernel.
check-in: 4722cfad user: hobbs tags: trunk
2001-09-17
23:16
* Corrected type definition of argument passed to Tcl_GetStringFromObj() from size_t to int. Incorrect type broke [pack] and [grid] on systems where sizeof(size_t) != sizeof(int). [Bugs 462375, 462342, 462338]
check-in: 6ec1731f user: dgp tags: trunk
14:12
Fixed string/list confusion in directory browser, and a typo in ChangeLog check-in: 7aebeca2 user: dkf tags: trunk
2001-09-14
20:35
* generic/tkImgGIF.c: * generic/tkImgPPM.c: * generic/tkImgPhoto.c: * generic/tkMenu.c: Applied patch [461578], provided by Vincent Darley. This fixes several memory leaks in the image code. They happen if there are errors during the initialization of the channel the image is supposed to be read from. check-in: 9c9ecdc7 user: andreas_kupries tags: trunk
2001-09-12
21:03
* unix/configure: * unix/tcl.m4: Update from Tcl.
check-in: a1f73706 user: mdejong tags: trunk
19:25
Fix a problem in the Unix tk_getOpenFile dialog box. An error dialog box used to appear when you would point the file browser box at an empty directory and click on the canvas. check-in: f13a4413 user: drh tags: trunk
19:13
Fix a problem in the Unix tk_getOpenFile dialog box. An error dialog box used to appear when you would point the file browser box at an empty directory and click on the canvas. check-in: 54d36bea user: drh tags: trunk
2001-09-10
22:47
* unix/configure: * unix/tcl.m4: Update from Tcl.
check-in: 1ba5d71e user: mdejong tags: trunk
03:23
* win/Makefile.in: Fix Windows Makefile so that tcltest will automatically be compiled if the user tries to build tktest.
check-in: 5f461a56 user: mdejong tags: trunk
00:40
* win/Makefile.in: Use TKTEST variable directly instead of depending on the tktest alias.
check-in: 8e995e37 user: mdejong tags: trunk
2001-09-08
22:34
* win/mkd.bat: * win/rmd.bat: Apply binary property (cvs admin -kb) to files and convert to CRLF linefeed format to fix the VC++ build. [Tcl Bug #219409]
check-in: 50e37c1e user: mdejong tags: trunk
2001-09-01
00:51
fixed test numbering check-in: db62dec2 user: hobbs tags: trunk
2001-08-30
01:51
see ChangeLog check-in: 8e26d8a0 user: hobbs tags: trunk
01:51
corrected to use testConfig constraints in the TK_ALT_DISPLAY case check-in: 2d970c4e user: hobbs tags: trunk
01:51
* tests/unixSend.test: removed test file completely identical to send.test. Removed platform specific named file in case somebody gets send working on Win/Mac in the future.
check-in: 7acc0327 user: hobbs tags: trunk
2001-08-29
23:22
* tests/config.test: added config-14.1 to test namespace import evaluation of widgets. * generic/tkButton.c (ButtonCreate): * generic/tkFrame.c (CreateFrame): * generic/tkMenubutton.c (Tk_MenubuttonObjCmd): * generic/tkPlace.c (Tk_PlaceObjCmd): * generic/tkScale.c (Tk_ScaleObjCmd): * generic/tkMessage.c (Tk_MessageObjCmd): * generic/tkEntry.c (Tk_EntryObjCmd, Tk_SpinboxObjCmd): * generic/tkSquare.c (SquareObjCmd): redid the handling of optionTables in widgets to allow them to be imported into other namespaces. [Bug #456632]
check-in: eb203000 user: hobbs tags: trunk
2001-08-28
20:58
* win/tkWinDialog.c (ChooseDirectoryHookProc): work-around for MS bug that caused crashing in tk_chooseDirectory on Win95. [Bug #224936] (baker)
check-in: ef485cd2 user: hobbs tags: trunk
19:41
* unix/tkUnixWm.c (TkWmRestackToplevel): reworked how ConfigureNotify requests were handled in relation to the parent to avoid the problem with potential 'raise' delays on some wms. [Bug #220260] (baker) wms that were affected should notice the difference in tests unixWm-51.* not failing that failed before.
check-in: 6889ab2f user: hobbs tags: trunk
2001-08-27
01:44
  • Corrected TIP 44 typo that broke binding. Thanks to "Michal" for the fix. [Bug 455468]
check-in: a8bfa380 user: dgp tags: trunk
2001-08-24
08:53
#450020 Messages for czech language from http://web.telecom.cz/WoodPrint/cs.msg.gz check-in: dca1950b user: bagnonm tags: trunk
2001-08-23
19:11
added QNX-6 build support. [Bug #219410] (loverso) check-in: e6fc72be user: hobbs tags: trunk
19:11
removed bogus note about including tkPhoto.h check-in: 40bce0ed user: hobbs tags: trunk
2001-08-22
19:59
Fixed a bug where adjacent 'x' and '^' where not handled properly. check-in: c00303ae user: pspjuth tags: trunk
17:29
* tests/dialog.test (HitReturn): fixed failing dialog-2.1 test because it wasn't always getting focus properly.
check-in: 19579859 user: hobbs tags: trunk
17:29
generic/tkPack.c (TkParsePadAmount): added lint init for sepChar. check-in: 5911ce6f user: hobbs tags: trunk
01:25
* tests/unixFont.test (unixFont-2.[234]): fixed to be more sensitive on systems that have more installed fonts.
check-in: 63709aa7 user: hobbs tags: trunk
01:25
* library/dialog.tcl (tk_dialog): changed dialog to show bar on Windows as well and added some y padding between the buttons and the bar. [Patch #442835] (harrismh)
check-in: 799547db user: hobbs tags: trunk
2001-08-21
20:21
Objectified grid and pack commands. check-in: 85252bb2 user: pspjuth tags: trunk
14:43
TkGetWindowFromObj was useless CPU waster; now caches window names *safely* check-in: 3d9110bd user: dkf tags: trunk
2001-08-18
20:03
Grid configure rejected initial "x" and "^". [Bug #418664] check-in: 523026ee user: pspjuth tags: trunk
2001-08-17
21:08
The selection highlighting of text objects in the canvas widget was failing to include the last character of the selection. The "selection get" mechanism returned the right answer (so all the tests were passing) but the widget did not display correctly. This delta fixes the problem. check-in: d0801244 user: drh tags: trunk
09:38
Fixed a stupid error that's been in there for ages... check-in: 3bf030b2 user: dkf tags: trunk
2001-08-15
19:51
* Labelled the TIP 44 changes as "POTENTIAL INCOMPATIBILITY". Although technically internal changes are not incompatible, they'll be perceived as such by those who get bitten, and this will help them find the cause of their trouble.
check-in: 9eafa9d6 user: dgp tags: trunk
15:44
Register Tk's object types with Tcl (Tcl Bug 450545) check-in: 04f99fd0 user: dkf tags: trunk
2001-08-13
21:07
ChangeLog correction. check-in: a219060d user: dgp tags: trunk
2001-08-12
21:22
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl.
check-in: d9ddcd5f user: mdejong tags: trunk
2001-08-10
08:33
Converted [glob [file join]] to [glob -directory] (Bug #223313) Also cleaned up a few space/tab issues in the ChangeLog which make a difference if you're using a highlighting editor like emacs... check-in: 6e017deb user: dkf tags: trunk
2001-08-09
00:47
Corrections to problems introduced by the TIP 44 changes. [Bug 449261]
check-in: 9b5bb3b3 user: dgp tags: trunk
00:46
New file testing [tk_dialog]. check-in: b73ec9c8 user: dgp tags: trunk
2001-08-08
18:41
*Bumped up patchlevel to 8.4a4 to distinguish CVS snapshots from the 8.4a3 release. This does not necessarily mean there will be an 8.4a4 release. [Bug 448938].
check-in: cdaf4961 user: dgp tags: trunk
2001-08-07
20:17
* unix/Makefile.in (dist): added {unix,win}/tcl.m4 and library/msgs/*.msg to dist target. [Bug: #448802]
check-in: bedfb467 user: hobbs tags: trunk
02:56
corrected minor nroff transgressions check-in: 986b6f38 user: hobbs tags: trunk, core-8-4-a3
02:43
2001-08-06 Jeff Hobbs <[email protected]>
8.4a3 RELEASE
* changes: * README: updated for 8.4a3 release
check-in: b0ae1387 user: hobbs tags: trunk
01:14
* unix/configure: regenerated * unix/tcl.m4: added GNU (HURD) configuration target. (brinkmann) [Patch: #442974]
check-in: 39e6cac4 user: hobbs tags: trunk
2001-08-06
18:29
* TIP 44 changes specific to the Mac and Windows platforms that were overlooked before: tkOpenDocument, tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: . Thanks to Vince Darley for prompting another look.
check-in: 20c53b8d user: dgp tags: trunk
2001-08-04
00:29
* win/configure: regenerated * win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll. This is necessary for TEA compliant builds that build shared against a static-built Tk. * win/Makefile.in ($(WISH)): added $(TK_STUB_LIB_FILE) to build target, otherwise it wouldn't get generated in a static build.
check-in: a264d04e user: hobbs tags: trunk
00:29
* win/winMain.c (WishPanic): fixed CONST changes to go with CONST-ification in Tcl.
check-in: ec8eadb6 user: hobbs tags: trunk
2001-08-01
21:11
Correction to TIP 44 implementation.
check-in: bba9ce93 user: dgp tags: trunk
16:21
Merged changes from feature branch dgp-privates-into-namespace, implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
check-in: 3c0c681d user: dgp tags: trunk
2001-07-24
22:54
* generic/default.h: Include tkWinDefault.h when built with Cygwin or Mingw.
check-in: 3aace40b user: mdejong tags: trunk
2001-07-19
20:15
The new tk_chooseDirectory dialog box implementation was sometimes giving an error like this: can't read "data(list)": no such element in array. The problem is a race condition. This patch should fix the problem. check-in: e1a1bffe user: drh tags: trunk
2001-07-18
17:05
* Corrections to merge from HEAD
Closed-Leaf check-in: 9a6c6633 user: dgp tags: dgp-privates-into-namespace
16:55
* Corrections to merge from HEAD.
check-in: c1e8cd86 user: dgp tags: dgp-privates-into-namespace
16:45
* Updated names of private console commands.
check-in: 30a1fbd0 user: dgp tags: dgp-privates-into-namespace
16:16
* Correction to merge from HEAD
check-in: 931d2114 user: dgp tags: dgp-privates-into-namespace
16:15
* Correction in merge from HEAD
check-in: fae2702b user: dgp tags: dgp-privates-into-namespace
16:02
* Corrections in merge from HEAD
check-in: 08fe4da7 user: dgp tags: dgp-privates-into-namespace
2001-07-17
00:21
* Renamed tk::histNum to tk::HistNum as directed by the Tcl Style Guide.
check-in: d9e3b9fd user: dgp tags: dgp-privates-into-namespace
2001-07-16
16:16
* Merge updates from HEAD
check-in: f65669d2 user: dgp tags: dgp-privates-into-namespace
2001-07-14
15:53
The code for generating postscript of a bitmap image was apparently never completed. The beginnings of the code was there but it generated diagnostic messages rather than proper postscript. This change fixes the problem. check-in: 148a6117 user: drh tags: trunk
2001-07-13
19:33
* Merged in updates from HEAD
check-in: f50f4a0f user: dgp tags: dgp-privates-into-namespace
2001-07-11
01:36
* unix/Makefile.in: Add AR and STLIB_LD variables. * unix/configure: * unix/configure.in: Use STLIB_LD when defining MAKE_LIB and MAKE_STUB_LIB. Subst STLIB_LD, RANLIB, and AR. * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/tcl.m4: Update from Tcl.
check-in: 67de68fc user: mdejong tags: trunk
2001-07-06
22:26
* win/configure: Regen. * win/tcl.m4: Update from Tcl.
check-in: 13436486 user: mdejong tags: trunk
03:33
* Merge updates from HEAD.
check-in: 3a44e509 user: dgp tags: dgp-privates-into-namespace
02:25
* win/Makefile.in: Subst DEPARG directly instead of relying on a variable. This will make Cygwin build faster since an extra exec will be avoided. * win/configure: Regen. * win/configure.in: Subst DEPARG. * win/tcl.m4: Update from Tcl.
check-in: b685ea15 user: mdejong tags: trunk
2001-07-05
19:14
* Merged updates from HEAD.
check-in: dc49c2ed user: dgp tags: dgp-privates-into-namespace
17:23
updated README with purls check-in: 9aab6bcb user: hobbs tags: trunk
02:47
* Merged updates from HEAD
check-in: c7253641 user: dgp tags: dgp-privates-into-namespace
01:45
updated README with purls check-in: 2a48ad16 user: uid38172 tags: trunk
01:28
updated READMEs with purls check-in: 42525a0e user: uid38172 tags: trunk
2001-07-04
00:40
* tests/canvas.test: * generic/tkCanvPoly.c (PolygonToArea): Added patch that respects the polygon difference of including points in the polygon even when fill is empty. [Bug #226357]
check-in: 3734d49c user: hobbs tags: trunk
00:25
* win/Makefile.in: Remove PATHTYPE variable. * win/configure: Regen. * win/configure.in: Don't subst PATHTYPE. * win/tcl.m4: Update from Tcl.
check-in: 3e3fd403 user: mdejong tags: trunk
00:19
* win/Makefile.in: Don't use VPSEP, instead just use : in the VPATH. * win/configure: Regen. * win/configure.in: Don't subst VPSEP.
check-in: 93c90324 user: mdejong tags: trunk
2001-07-03
20:01
* Merged in updates from HEAD branch.
check-in: 6db41250 user: dgp tags: dgp-privates-into-namespace
14:59
Added missing backslash in Motif File Selector code. check-in: 227ace3f user: dkf tags: trunk
06:16
see changes check-in: 69a098c5 user: hobbs tags: trunk
06:16
* generic/tkEntry.c: corrected missing Tcl_Release that caused font not freed complaints when trying valid cleanup calls. * generic/tkListbox.c: made use of Tcl_Preserve/Tcl_Release to prevent FMR errors in Display functions.
check-in: 3991a01b user: hobbs tags: trunk
06:08
* unix/tkUnixScale.c (TkpDisplayScale): corrected FMR when scale was deleted while calling its command.
check-in: 54a7832c user: hobbs tags: trunk
06:03
* generic/tkCanvArc.c: * generic/tkCanvBmap.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkRectOval.c: corrected argument handling in Create<Item> functions that could lead to ABRs or FMRs and corrected names of argc/argv to objc/objv.
check-in: 3f8a5534 user: hobbs tags: trunk
06:00
* generic/tkImgGIF.c (Mgetc): corrected screwy use of ternary operator and possible FMR.
check-in: cd61f88f user: hobbs tags: trunk
05:59
* generic/tkWindow.c (Tk_DestroyWindow): changed to use Tcl_EventuallyFree instead of ckfree so that widgets that have references to a tkwin can use them.
check-in: 7be9ab44 user: hobbs tags: trunk
01:03
* library/console.tcl: * library/entry.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: added private ::tk::GetSelection command to handle requesting selection. This is to support requesting UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox, Entry and Console to use this command.
* tests/select.test: * generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler): on Unix, a UTF8_STRING handler will be created when the user requests a STRING handler (in addition to the STRING handler). This provides implicit support for the new UTF8_STRING selection target. * unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added support for UTF8_STRING target. [RFE #418653, Patch #433283]
* generic/tkInt.h: added utf8Atom to TkDisplay structure.
check-in: 3993717f user: hobbs tags: trunk
00:57
* tests/listbox.test: changed 'darkblue' to 'white' in a test because it isn't a portable color name.
check-in: a72cf27d user: hobbs tags: trunk
2001-07-02
23:52
* generic/tkEntry.c (DestroyEntry): used Tcl_EventuallyFree instead of ckfree for entryPtr to prevent FMRs. [Bug #413904]
check-in: 615fc850 user: hobbs tags: trunk
23:50
removed unnecessary directory check-in: 23082bfc user: hobbs tags: trunk
2001-06-27
02:06
* unix/Makefile.in: * win/Makefile.in: Add `make shell` target. This target will set the proper env vars before invoking wish from the build directory.
check-in: dbe84784 user: mdejong tags: trunk
01:15
* win/configure: * win/configure.in: Revert cross compiling change accidently added during last checkin.
check-in: 9e4c1b23 user: mdejong tags: trunk
2001-06-26
20:31
* unix/configure: Regen. * unix/configure.in: Fix last checkin by removing export since that only works in bash. * win/configure: Regen. * win/configure.in: Ditto.
check-in: 66c3f1b8 user: mdejong tags: trunk
20:17
* unix/configure: Regen. * unix/configure.in: Set CFLAGS to "" if the user did not set CFLAGS in the env. This keeps AC_PROG_CC from adding "-g -O2" to the CFLAGS by default. * win/configure: Regen. * win/configure.in: Ditto.
check-in: f747663f user: mdejong tags: trunk
00:56
* win/configure: Regen. * win/configure.in: Use RC_DEFINE flag from tcl.m4. * win/tcl.m4: Update from Tcl.
check-in: 2d319b6f user: mdejong tags: trunk
00:45
* win/configure: Regen. * win/tcl.m4: Update from Tcl.
check-in: b7f81421 user: mdejong tags: trunk
2001-06-23
02:15
* win/configure: Regen. * win/tcl.m4 (SC_CONFIG_CFLAGS): Link to the imm32 library when building with mingw gcc. * win/tkWinX.c: Include the imm.h header to fix compiling with mingw gcc.
check-in: e3e493f9 user: mdejong tags: trunk
02:10
* win/configure: Regen. * win/configure.in: Add resource compiler fix from 8.3.3 to fix compiling with mingw.
check-in: e3cbbd52 user: mdejong tags: trunk
00:40
* win/configure: Regen. * win/tcl.m4: Fix silly typo in last checkin.
check-in: 4e8df3da user: mdejong tags: trunk
2001-06-22
23:59
* unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@. Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. Use new LDFLAGS variable in the Makefile instead of @LDFLAGS@. * unix/configure: Regen. * unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEBUG, CFLAGS_OPTIMIZE, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE. Remove unused LD_FLAGS subst. * unix/tcl.m4: Update from Tcl. * win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@. Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. * win/configure: Regen. * win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile. * win/tcl.m4: Update from Tcl.
check-in: 3b598286 user: mdejong tags: trunk
09:10
* win/configure: * win/tcl.m4: Update From Tcl.
check-in: d8467c9a user: mdejong tags: trunk
02:14
* doc/colors.n: Corrected bogus documentation with respect to several shades of blue, all of which were listed as RGB 0 0 0. [Bug #432104]. check-in: 480300ff user: ericm tags: trunk
2001-06-14
10:56
Added braces to expressions. check-in: 486fbd3c user: dkf tags: trunk
2001-06-06
07:58
* win/configure: Regen. * win/configure.in: Handle the --prefix option correctly it should default to /usr/local like the unix version.
check-in: 7379372d user: mdejong tags: trunk
2001-06-04
03:15
* doc/selection.n: * doc/clipboard.n: added SEE ALSOs to cross-reference selection and clipboard, with extra note for clipboard command in selection docs. [Patch #422256]
check-in: 01778f79 user: hobbs tags: trunk
03:07
* unix/tkUnixFont.c: Corrected support for iso10646 (X11 Unicode) fonts on Unix. This adds a ucs-2be (UCS-2 Big Endian) encoding in Tk on Unix that is used for those fonts (X11 requires big-endianness). (welch) [Patch #406411; Bug #220890 #220899] This differs from the 8.3.3 patch by not adding ucs-2be in the preferred encodingList (seems works fine without). Added alias for jisx0201* fonts to jis0201 encoding. [Bug #414033]
check-in: a28f6c2d user: hobbs tags: trunk
2001-05-30
22:41
* win/tkWinX.c: moved the initialization of tkPlatformId from TkWinXInit to TkWinGetPlatformId because static builds could call it before it was initialized. [Bug #427278]
check-in: 0a94e34e user: hobbs tags: trunk
22:41
win/tkWinKey.c (TkpSetKeycodeAndState): removed old debug info check-in: 22fe9261 user: hobbs tags: trunk
2001-05-28
16:56
Upgraded frame to use the newer TK_OPTION style when processing configuration options. Some cleanup of bad comments and bad code. [part of patch #420861] check-in: 1832807b user: pspjuth tags: trunk
2001-05-23
10:29
* unix/configure: * unix/tcl.m4: * win/configure: * win/tcl.m4: Sync from Tcl sources.
check-in: 32d7a7f3 user: mdejong tags: trunk
2001-05-22
00:23
see ChangeLog check-in: 5d139fbb user: hobbs tags: trunk
00:23
unix/tcl.m4: synced up wih Tcl tcl.m4. [Bug #419812] check-in: 0d5c5883 user: hobbs tags: trunk
00:22
* doc/TkInitStubs.3: * generic/tk.h: * generic/tkStubLib.c: CONST'ified Tk_InitStubs to match CONST changes to Tcl_PkgRequireEx.
check-in: 158efb47 user: hobbs tags: trunk
2001-05-21
14:07
implement TIP11, -compound option for menubutton widget check-in: 8942e4db user: tmh tags: trunk
2001-05-16
12:39
Added documentation for console command. (Right source tree this time!) check-in: f81062ce user: dkf tags: trunk
2001-04-25
22:10
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/tcl.m4: Update from Tcl.
check-in: e47bf256 user: mdejong tags: trunk
21:51
* unix/configure: Regen. * unix/configure.in: Use $@ in MAKE_LIB and MAKE_STUB_LIB commands instead of using a delayed subst variable. Replace instances of STUB_LIB_FILE with TK_STUB_LIB_FILE.
check-in: 31f47a2e user: mdejong tags: trunk
20:52
* unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE. * unix/configure: Regen. * unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE instead.
check-in: cb201830 user: mdejong tags: trunk
2001-04-12
12:30
Better handling of when image creation nukes the main window so now does not crash on Linux. check-in: 165d4163 user: dkf tags: trunk
2001-04-04
21:27
* mac/MWTkBuildLibHeader.h: * mac/MW_TkBuildLibHeader.pch: * mac/MW_TkHeaderCommon.h: * mac/MW_TkOldImgStaticHeader.h: * mac/MW_TkStaticHeader.h: * mac/MW_TkStaticHeader.pch: new files
* mac/tkMacProjects.sea.hqx: new mac build project files.
check-in: 8e76f778 user: hobbs tags: core-8-3-1-branch
18:46
* win/tkWinMenu.c (TkWinHandleMenuEvent): corrected reseting of service mode to only occur when it was set. [Bug #220948]
check-in: a9efa82b user: hobbs tags: core-8-3-1-branch
18:37
* win/tkWinMenu.c (TkWinHandleMenuEvent): corrected reseting of service mode to only occur when it was set. [Bug #220948]
check-in: 1e7f9798 user: hobbs tags: trunk
18:15
removed erroneous backport of 8.4 feature (asym padding) check-in: 7a8c20a1 user: hobbs tags: core-8-3-1-branch
14:58
Corrected typos. check-in: 86c8dee6 user: dgp tags: trunk
14:47
Corrected typos. check-in: c8a3049a user: dgp tags: core-8-3-1-branch
08:36
improved cygwin compat for RC_DEFINES check-in: b7914839 user: hobbs tags: core-8-3-1-branch
08:35
updated doc linking check-in: 1b385901 user: hobbs tags: core-8-3-1-branch
07:57
see ChangeLog for specific file details check-in: 0f3f17d4 user: hobbs tags: core-8-3-1-branch
07:23
doc cleanup and clarifications from 8.4aCVS backport check-in: 2c0ef157 user: hobbs tags: core-8-3-1-branch
07:07
* tests/winClipboard.test: improved results for understanding when tests fail.
check-in: 6d6d7503 user: hobbs tags: trunk
06:47
* tests/winDialog.test: string totitle'd some results that expected [pwd] to return a capital drive letter.
check-in: 1cfbc9ba user: hobbs tags: trunk
06:40
win/tkWinDialog.c (GetFileNameA): initialize multi to 0. check-in: 720cdf47 user: hobbs tags: trunk
06:40
* tests/cursor.test: changed tests to use 'heart' cursor because 'arrow' on windows has a pre-skewed use count.
check-in: 15a04f11 user: hobbs tags: trunk
2001-04-03
06:54
* win/configure: * win/tcl.m4 (SHLIB_LD): added -incremental:no. [Bug #219381]
check-in: cdba5672 user: hobbs tags: trunk
06:54
* generic/tkMenu.c (TkInvokeMenu): checked for menu deletion before calling associated menu entry command. [Bug #220821]
check-in: 55b7a33d user: hobbs tags: trunk
05:24
see ChangeLog check-in: 0854d43b user: hobbs tags: trunk
04:41
* tests/listbox.test: added test listbox-27.1, delete during scrollbar update * generic/tkListbox.c (DestroyListbox, ListboxEventProc): corrected listbox to make proper use of Tcl_EventuallyFree and protect against unusual listbox deletion.
check-in: 484b8a6c user: hobbs tags: trunk
04:40
* tests/entry.test: added tests entry-20.*, delete during widget activity * generic/tkEntry.c (DestroyEntry, EntryEventProc): fixed the entry widget to survive deletion while processing scrollbar updates and validation.
check-in: 0b8fe7c6 user: hobbs tags: trunk
04:40
* tests/canvas.test: test of canvas delete during event * generic/tkCanvas.c (DestroyCanvas, CanvasEventProc): fixed the canvas to survive deletion during event processing. [Bug #228024]
check-in: e89804eb user: hobbs tags: trunk
04:34
* generic/tkImgPhoto.c (ImgPhotoCmd): corrected the src and dest values for $imageName put when -format and -to are used. [Bug #232741]
check-in: d343245c user: hobbs tags: trunk
04:33
* doc/image.n: added warning about names chosen for images. check-in: 34d91510 user: hobbs tags: trunk
2001-04-02
02:08
* generic/tk.h: * unix/configure.in (TK_PATCH_LEVEL): * unix/configure: * unix/tk.spec: * win/configure.in (TK_PATCH_LEVEL): * win/configure: updated patchlevel to 8.4a3
check-in: de7899ec user: hobbs tags: trunk
02:08
* README: * mac/README: updated patchlevel to 8.4a3 and corrected links and notes.
check-in: 9bbca911 user: hobbs tags: trunk
2001-03-31
05:46
* tests/safe.test: added note about correcting failures in safe.test. * library/tk.tcl: moved package require msgcat inside if case to not be used in safe interps.
check-in: db467392 user: hobbs tags: trunk
2001-03-30
23:50
* win/makefile.vc: * win/configure: * win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support. * win/tkWinInt.h: * win/tkWinKey.c: * win/tkWinX.c: added support for changing IME on the fly in Windows (2000). (lam) [Patch #402993]
check-in: 7d37d3f4 user: hobbs tags: trunk
22:42
* generic/tkImage.c (Tk_ImageObjCmd, EventuallyDeleteImage): added casts to allow compiling on Windows with debbuging.
check-in: 20d9467e user: hobbs tags: trunk
21:53
* win/Makefile.in (install-*): improved install-* targets to use their base build dependency.
check-in: 76392d86 user: hobbs tags: trunk
21:52
* win/tkWinWm.c (UpdateWrapper): ensured that the passed in winPtr had an existent window to operate on. [Bug #409172]
check-in: d2ea8b73 user: hobbs tags: trunk
21:52
* tests/bind.test (bind-22.18): * generic/tkBind.c (NameToWindow): handled the error case where a valid-looking but invalid identifier could be passed in certain event generate options causing a crash. [Bug #411307]
check-in: 6ac56204 user: hobbs tags: trunk
07:14
see ChangeLog entries check-in: b34b0487 user: hobbs tags: trunk
07:11
* tests/canvas.test: added test case to check obj conversion * generic/tkObj.c (UpdateStringOfMM, SetMMFromAny): better obj-aware screen distances. (pgbaum, hobbs) [Patch #403327]
check-in: 5cda3aab user: hobbs tags: trunk
07:04
* library/bgerror.tcl (bgerror): allow focus into details window for Windows C&P to work. [Bug #220929]
check-in: ea7371f5 user: hobbs tags: trunk
07:04
* library/tk.tcl: put a catch around adding <hpBackTab> to the <<PrevWindow>> virtual event as it doesn't seem to work on all HP systems. [Bug #411669]
check-in: 05a38c51 user: hobbs tags: trunk
06:02
* library/tkfbox.tcl: fixed selecting directories and single files with spaces using tk_getOpenFile -multiple 1. [Bug #411640]
check-in: 01457710 user: hobbs tags: trunk
06:01
* win/tkWinDialog.c (GetFileNameA): added support for -multiple to ascii-based tk_getOpenFile (Win9*). (haneef) [Patch #403047] (GetFileNameW): increased number of files that could be returned by tk_getOpenFile -multiple. [Patch #412042]
check-in: 1114d667 user: hobbs tags: trunk
00:15
* doc/canvas.n: Noted ability to specify coords as a list in the docs. (techentin) [Patch #403660]
check-in: f7591c4f user: hobbs tags: trunk
00:15
* library/msgs/de.msg: fixed translations. [Patch #403525] check-in: 6bf9ebd7 user: hobbs tags: trunk
2001-03-29
11:05
* library/entry.tcl (tkEntryMouseSelect): * library/text.tcl (tkTextSelectTo): When the mouse is dragged with the button down, move the insertion cursor to the current mouse position. * tests/event.test: Add a series of tests for event generation. Add tests for selection, check the position of the insertion cursor.
check-in: 0f4e18f0 user: mdejong tags: trunk
02:45
* unix/configure: * unix/tcl.m4: corrected IRIX-5.x config to not use -n32. (english) [Patch 403626]
check-in: f1ce521d user: hobbs tags: trunk
2001-03-28
17:27
Replaced all [load {} tk] in Tk test suite with [load {} Tk]. [Bug 220940, Patch 411952] check-in: babe2e2e user: dgp tags: trunk
2001-03-13
01:28
BRANCH dgp-privates-into-namespace: * doc/menu.n: * unix/mkLinks: Added documentation for [tk_menuSetFocus].
check-in: b9b14d56 user: dgp tags: dgp-privates-into-namespace
00:32
BRANCH dgp-privates-into-namespace: * doc/text.n: * doc/tkvars.n: * unix/mkLinks: Added documentation for commands and variables matching tk_text*.
check-in: d30d8069 user: dgp tags: dgp-privates-into-namespace
2001-03-09
00:00
BRANCH dgp-privates-into-namespace: * generic/tkTextDisp.c: * library/unsupported.tcl: * tests/textDisp.test: Restored the global variables tk_textRedraw and tk_textRelayout. Since they match tk_*, they should remain publicly available until at least Tk 9.
check-in: a4b2a395 user: dgp tags: dgp-privates-into-namespace
2001-03-01
18:25
2001-03-01 Don Porter <[email protected]>
BRANCH dgp-privates-into-namespace: * library/unsupported.tcl: New file for Tk's unsupported interfaces. Contains [tk::unsupported::ExposePrivateCommand] and [tk::unsupported::ExposePrivateVariable] that restore the availability of an old public name of one of Tk's private commands and variables, respectively, for those applications and extensions that depend on the old names against advice.
check-in: 501dd3d4 user: dgp tags: dgp-privates-into-namespace
2001-02-28
23:29
2001-02-28 Don Porter <[email protected]>
BRANCH dgp-privates-into-namespace: Feature branch to move all of Tk's private commands and variable into the ::tk namespace and its children.
* doc/tkvars.n: Documented private variable tkPriv renamed tk::Priv.
* generic/tkBind.c: * generic/tkMenu.c: * generic/tkTextDisp.c: * library/bgerror.tcl: * library/button.tcl: * library/choosedir.tcl: * library/clrpick.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/focus.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/optMenu.tcl: * library/palette.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/tclIndex: * library/tearoff.tcl: * library/text.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: * mac/tkMacMenu.c: * tests/clrpick.test: * tests/filebox.test: * tests/macMenu.test: * tests/menu.test: * tests/menuDraw.test: * tests/msgbox.test: * tests/text.test: * tests/textDisp.test: * tests/unixMenu.test: * tests/winMenu.test: * tests/xmfbox.test: * unix/tkUnixDialog.c: All Tk commands matching ::tk[A-Z]* and all Tk private variables in the global namespace were renamed to live in the namespace ::tk or one of its children.
check-in: 59740122 user: dgp tags: dgp-privates-into-namespace
2001-02-13
21:52
* doc/photo.n: [Bug 132213] Added clarification on interpretation of ranges for "photoName data -from" subcommand. check-in: 82794eff user: ericm tags: trunk
2001-02-12
18:06
Asymmetric padding in "pack" and "grid" geometry managers check-in: 5f0215af user: drh tags: trunk
2001-01-04
21:12
Clarified and extended the entry in the Changelog describing the merge of TIP #8. check-in: 60d345ff user: andreas_kupries tags: trunk
2001-01-02
19:13
2001-01-02 Andreas Kupries <[email protected]>
* win/tkWinWm.c: * doc/wm.n: Applied patch #102833 (TIP #8).
check-in: 7eb3b4c3 user: andreas_kupries tags: trunk
2000-12-13
19:44
* generic/tkObj.c (SetMMFromAny): Added ability to recognize double type object to speed up canvas coord calculations. [Patch #102471]
check-in: e1e65a8b user: hobbs tags: trunk
2000-12-12
10:35
Minor improvement to documentation for entry widgets. check-in: 4abb3b2e user: dkf tags: trunk
2000-11-29
15:47
A better fix for #120819 (all it needed was some Tcl_Preserve()s) which also requires no documentation changes - the behaviour is now what you would predict from existing docs (as opposed to a crash!) check-in: f59c57ea user: dkf tags: trunk
2000-11-28
11:16
Backed out previous change (except for test for bug.) check-in: 56258a53 user: dkf tags: trunk
2000-11-23
13:50
Fixed bug #120819 by prohibiting images from starting with a period; I'm still not quite sure what exactly was going wrong in the bug, but I suspect the problem might have actually been due to the deletion of all images while in the midst of creating an image. The restriction is pretty light when it comes to existing code, since it previously caused a core dump due to an image typePtr field being set to random garbage, an indication of over-eager use of free()... check-in: 82e37dee user: dkf tags: trunk
2000-11-22
01:50
Documentation for Tk_SetClassProcs. check-in: 3069ad7e user: ericm tags: trunk
01:49
Overall change: Implemented TIP 5, which exports TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs, adding a size field to Tk_ClassProcs to allow for future expansion, and renaming the geometryProc to worldChangedProc, which is more in keeping with the actual use of the callback.
See ChangeLog for details.
check-in: df44e48c user: ericm tags: trunk
2000-11-21
16:35
Added deprecation note from Bug #120944 check-in: e02c1cd6 user: dkf tags: trunk
16:18
Added TkPhotoGetValidRegion() to tkInt stubs. Bug #120930 closed. check-in: a9b9efd5 user: dkf tags: trunk
2000-11-04
00:02
updated with 8.4a2 changes check-in: 83d0db5a user: hobbs tags: trunk, core-8-4-a2
2000-11-03
22:52
added release mark check-in: af9b0e26 user: hobbs tags: trunk
22:49
* generic/tk.decls: * generic/tkInt.decls: * generic/tkIntPlatDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: * win/Makefile.in: * win/makefile.vc: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDraw.c: * win/tkWinFont.c: * win/tkWinGdi.c (new): * win/tkWinGdi.h (new): * win/tkWinImage.c: * win/tkWinInt.h: * win/tkWinMenu.c: * win/tkWinPixmap.c: * win/tkWinUtil.c (new): * win/tkWinWindow.c: * win/tkWinWm.c: * win/tkWinX.c: * win/winMain.c: * xlib/xgc.c: * xlib/X11/Xlib.h: first cut at Windows speedup improvements by Leo Schubert. Needs to be streamlined, but the code is correct and passes all tests.
check-in: 6287d3e2 user: hobbs tags: core-8-4-win-speedup
20:23
updated for latest doc fixes check-in: cded26e6 user: hobbs tags: trunk
19:38
added comments about Tcl_SetMainLoop call effects check-in: 3cd8c062 user: hobbs tags: trunk
18:46
* generic/tkWindow.c (Initialize): added call to Tcl_SetMainLoop. This only has effect when tclsh is run (not wish), and then Tk is loaded in interactively.
check-in: 332c4373 user: hobbs tags: trunk
17:28
fixed remaining references to old-style TCL_SRC_DIR defn check-in: a22bdbb9 user: hobbs tags: trunk
02:58
see changes check-in: ba9a9cdb user: hobbs tags: trunk
01:22
* win/tkWinButton.c: * win/tkWinDialog.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: fixed up code for Win64 support. This mostly remains in _WIN64 #ifdef's, until updated compilers are standard.
check-in: 5ecc8495 user: hobbs tags: trunk
01:21
* unix/configure: * win/configure: checked in configure scripts so people doing CVS checkouts aren't required to have autoconf. Changes to configure.in in the future will require the corresponding configure script to also be re-autoconf'ed and checked in.
check-in: 67803183 user: hobbs tags: trunk
01:16
* win/tcl.m4: * win/makefile.vc: updated for Win64 compile support
check-in: cc01c5fc user: hobbs tags: trunk
01:13
doc/event.n: added note that key events require window focus. check-in: 4e9d2cd1 user: hobbs tags: trunk
2000-11-02
22:55
updated copyright check-in: 8aacb252 user: hobbs tags: trunk
02:19
* tests/winDialog.test: Corrected expected results for bad option tests (5.2, 5.5) to include -multiple option.

* win/tkWinDialog.c: Removed CommDlgExtendedError() checks for color and choosedir dialogs, and removed all except the explicit invalid filename checks for the file dialogs. check-in: a50af1df user: ericm tags: trunk

01:19
* unix/tcl.m4: removed use of -lbsd and -ldl for AIX-5.
check-in: 6292d78d user: hobbs tags: trunk
01:19
corrected tests to recognize new -multiple openfile dialog switch check-in: 5f8926ae user: hobbs tags: trunk
01:18
* tests/color.test: marked color-2.6 nonPortable as we can't reliably assume what 'red' maps to.
check-in: 514dd68e user: hobbs tags: trunk
01:18
* win/tkWinDialog.c (GetFileNameW, GetFileNameA, Tk_ChooseDirectoryObjCmd): created work-around for change in NT5.0/98 that caused no initialdir setting to open the browser up in the user's documents dir.
check-in: 5f8b3942 user: hobbs tags: trunk
00:18
Removed bogus conflict marker. check-in: f44fe06a user: ericm tags: trunk
00:18
* win/tkWinDialog.c: Added branch for 0 return from CommDlgExtendedError() switches; this was formerly treated as an error, but it actually is not, since it just means the user hit cancel or closed the dialog. (GetFileNameW): Added better smarts such that -multiple is not considered a valid option for tk_getSaveFile. check-in: 659e0e7b user: ericm tags: trunk
2000-10-31
01:28
no message check-in: dce2b971 user: davidg tags: trunk
01:28
2000-10-30 David Gravereaux <[email protected]>
* win/configure.in: * win/Makefile.in: * win/makefile.vc: * win/rc/tk.rc: * win/rc/tk_base.rc (new): * win/rc/wish.rc: Added logic to derive filenames better in the resource scripts based on compile options along with better support for building a static wish shell with cursor resources.
check-in: 86a7638c user: davidg tags: trunk
01:14
see changes check-in: 6e414f4c user: hobbs tags: trunk
01:14
unix/tcl.m4: added support for AIX-5. check-in: 4722a434 user: hobbs tags: trunk
01:12
threw catch around tk useinputmethods call for safe interps check-in: f1ad1463 user: hobbs tags: trunk
01:11
simplified tk_library path normalization call check-in: 90b11264 user: hobbs tags: trunk
00:52
* win/Makefile.in (test, winhelp, tktest): corrected the TCL_LIBRARY path specification.
check-in: 59cda872 user: hobbs tags: trunk
00:52
* tests/tk.test: * doc/tk.n: updated to reflect default on status of useinputmethods. * library/tk.tcl: tk useinputmethods is set to 1 by default. This enables Kanji and dead-char input by default. Intro'd in 1999-12-16 with default off to avoid some problems with older X servers that would slow down widget creation over time.
check-in: c177e1c9 user: hobbs tags: trunk
2000-10-30
20:04
Added type cast to (ClientData) for &CustomOption in option tests. check-in: a783a7b3 user: ericm tags: trunk
2000-10-24
23:51
* win/tkWinDraw.c (RenderObject): Applied patch from [Bug: 6368], which corrects rendering of 1-pixel wide stippled lines on Windows.

* generic/tkCanvLine.c (DisplayLine): Applied patch from [Bug: 6368], corrects bugs relating to use of active- and disabledwidth values for displaying lines (disabledwidth was never used, and activewidth/disablewidths would only possibly be used when greater than default width, rather than when simply not equal to default width). check-in: 7ea26f00 user: ericm tags: trunk

2000-10-21
21:22
Added comment marking "new in 8.4a2" decls check-in: 3c54af0d user: ericm tags: trunk
2000-10-19
01:05
* library/tkfbox.tcl (OkCmd): Applied patch from [Bug: 6365], which adds safety for directory names containing spaces or which are non-lists. check-in: 7c8cfc82 user: ericm tags: trunk
00:56
* win/tkWinDialog.c (GetFileNameW, GetFileNameA, Tk_ChooseColorObjCmd, Tk_ChooseDirectoryObjCmd): Added error checking for the return value from the common dialog functions, so that the commands will not silently fail if the common dialog returns an error. [Bug: 6369]. check-in: 6225f80f user: ericm tags: trunk
2000-10-12
21:14
* generic/tkConfig.c (Tk_InitOptions): Added Tcl_IncrRefCount/Tcl_DecrRefCount calls on valuePtr, to prevent memory leaks when the value object comes from the option database. [Bug: 6275]. check-in: 82cff3a2 user: ericm tags: trunk
2000-10-06
21:24
* win/Makefile.in (cat32.${OBJEXT}): add win/ subdirectory to cat32 target to correctly find the source file.
check-in: 9dcbaf6e user: hobbs tags: trunk
2000-10-05
18:31
* generic/tkCmds.c (Tk_WinfoObjCmd): Added check for TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if set, the window will not be printed in the list of children.

* doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow.

* generic/tkWindow.c (Tk_CreateAnonymousWindow): New API for creating anonymous windows. These windows are manipulable from C, but not from Tcl, because they have no pathname associated with them. They are used initially by widgets that do rubber-band resizing (panedwindow, multi-column listbox, etc.), and may be useful for other widgets as well (dropbox, combobox). (Tk_DestroyWindow): Added check for TK_ANONYMOUS_WINDOW flag when determining whether to generate a DestroyNotify event.

* generic/tkStubInit.c: * generic/tkDecls.h: Regen'd from tk.decls.

* generic/tk.decls: Added Tk_CreateAnonymousWindow declaration.

* generic/tk.h: Added TK_ANONYMOUS_WINDOW flag for Tk_Window's. check-in: bde3bf27 user: ericm tags: trunk

00:49
* doc/MaintGeom.3: Noted that Tk_MaintainGeometry handles direct descendants properly.

* generic/tkGeometry.c (Tk_MaintainGeometry): Added a check for the case in which the slave window is a direct descendant of the master window. In this case, we need not set up the additional infrastructure normally provide by Tk_MaintainGeometry, because we can rely on the parent/child relationship to handle it for us implicitly. In this case, Tk_MaintainGeometry just calls directly to Tk_MoveResizeWindow. This allows geometry managers to simply always use Tk_MaintainGeometry to maintain geometry for slaves, and avoid doing the direct descendant check themselves. (Tk_UnmaintainGeometry): Added a matching check for the direct descendant case; in this case, Tk_UnmaintainGeometry simply returns immediately. check-in: 99a39547 user: ericm tags: trunk

2000-10-01
22:50
*** empty log message *** check-in: 260807b8 user: drh tags: trunk
21:35
* generic/tkButton.c (ConfigureButton): Added tests for -compound option, so that when there is a textvariable and an image, and -compound is not none, the button will display both the textvariable and the image. check-in: 2b3abd7d user: ericm tags: trunk
21:31
* doc/SetOptions.3: Added note that restoreProc and freeProc may be NULL.

* generic/tkConfig.c (Tk_RestoreSavedOptions): For custom options, added test that the restoreProc is not NULL, to allow for custom options that don't care about supporting Tk_RestoreSavedOptions. check-in: 60320254 user: ericm tags: trunk

2000-09-30
18:46
Fix bitmaps so that the same bitmap will not be used on two difference screens of the same display. Without this fix you get a BadMatch error from the X-server when you try to use a bitmap on two screens at once. check-in: 851abdc7 user: drh tags: trunk
18:00
When a dialog box (ex: tk_messageBox) pops up while another application is holding the grab, the "grab" command fails and the dialog box is inoperative. "catch" the "grab" to prevent this. check-in: eb8ebc72 user: drh tags: trunk
2000-09-29
21:40
* win/Makefile.in: commented use of TESTFLAGS * unix/Makefile.in: added TESTFLAGS to test and testlang targets to conform with Windows makefile and TEA style.
check-in: 21ea9340 user: hobbs tags: trunk
17:55
* generic/tkTest.c: Fixed tests to use updated API.

* doc/SetOptions.3: * generic/tk.h: * generic/tkConfig.c: Changed interface for Tk_CustomOptionSetProc and Tk_CustomOptionGetProc; these now take a pointer to the start of the widget record, and an integer offset to the slot for the option value, instead of just a pointer to the slot. This allows more sophisticated options to do interesting things based on other data in the widget record. check-in: ec369c24 user: ericm tags: trunk

2000-09-17
21:02
* generic/tk.h: Added declaration of Tk_ObjCustomOption structure, used for TK_OPTION_CUSTOM, and typedef's of the functions Tk_CustomOptionSetProc, Tk_CustomOptionGetProc, Tk_CustomOptionRestoreProc, and Tk_CustomOptionFreeProc, used for TK_OPTION_CUSTOM.

* doc/SetOptions.3: Added documentation of TK_OPTION_CUSTOM, and section "CUSTOM OPTION TYPES" explaining how to create and use custom options.

* tests/config.test: Added tests for custom option type.

* generic/tkTest.c: Added test support for TK_OPTION_CUSTOM to TestobjconfigObjCmd. Added CustomOption* functions to implement a test custom option.

* generic/tkConfig.c: Added new option type TK_OPTION_CUSTOM, which allows the definition of custom option types by creating parsing, printing, freeing, and restoring procedures for a custom option. This is needed by the text and canvas widgets if they are to be fully objectified. check-in: cfd32563 user: ericm tags: trunk

2000-09-07
17:38
* doc/Tk_Init.3: * doc/bell.n: * doc/loadTk.n: minor doc cleanup
check-in: 1a637cfb user: hobbs tags: trunk
00:28
* doc/HWNDToWindow.3: * doc/GetHWND.3: Changed synopsis to indicate the tkPlatDecls.h should be included, not tk.h.

* generic/tkPlatDecls.h: Removed #include <windows.h> for Windows, a better solution for now is to update the docs and have extension authors #include <tkPlatDecls.h>.

* generic/tk.h: Removed '#include "tkPlatDecls.h"', as the incorrect inclusion order between windows.h/tkPlatDecls.h causes build conflicts on Windows.

* generic/tkPlatDecls.h: Added #include <windows.h> for Windows, so that HWND, etc., are defined properly. check-in: 0788f3d9 user: ericm tags: trunk

00:23
* doc/canvas.n: fixed doc bug (ellson). [Bug: 6218]
check-in: 9e435f7c user: hobbs tags: trunk
2000-09-06
23:39
* generic/tkPlatDecls.h: Added #include <windows.h> for Windows, so that HWND, etc., are defined properly. check-in: 6e03beaf user: ericm tags: trunk
19:05
* README: * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: updated to patchlevel 8.4a2
check-in: 773dd7a9 user: hobbs tags: trunk
19:05
see changes check-in: 8e74836f user: hobbs tags: trunk
19:02
* generic/tkGrab.c (Tk_GrabObjCmd): changed len arg from size_t to int to fix pedantic warning.
check-in: c4a9d466 user: hobbs tags: trunk
19:02
* generic/tkMessage.c (MessageWidgetObjCmd): initialized result to avoid pedantic warning.
check-in: 004152d4 user: hobbs tags: trunk
2000-09-02
01:18
* win/makefile.vc (install-libraries): * win/Makefile.in (install-libraries): * unix/Makefile.in (install-libraries): Added tkPlatDecls.h to list of header files to install.

* generic/tk.h: Added #include "tkPlatDecls.h", which declares the platform specific component of the public Tk stubs API's. check-in: 960c5951 user: ericm tags: trunk

2000-08-29
21:00
* win/tkWinMenu.c (DrawWindowsSystemBitmap): Use scratchDC for determining the source's logical coordinates. Patch from [Bug: 6134 (Markus Oberhumer)].

* win/tkWinMenu.c (SetDefaults): Compute the indicatorDimensions[] under Windows NT/2000 in the same way as under Windows 95/98. Patch from [Bug: 6134 (Markus Oberhumer)].

* win/tkWinFont.c (GetScreenFont): Added a memset() to pacify memory checkers. Patch from [Bug: 6134 (Markus Oberhumer)]. check-in: fbfb2fa6 user: ericm tags: trunk

20:17
* library/tkfbox.tcl (::tk::dialog::file::Update): Corrected handling of multi-pattern filters (eg, "* *.*"), which was broken by the getOpenFile performance patches applied earlier. check-in: b4a0dd53 user: ericm tags: trunk
2000-08-25
06:58
* doc/toplevel.n: * doc/spinbox.n: * doc/scrollbar.n: * doc/scale.n: * doc/menubutton.n: * doc/menu.n: * doc/listbox.n: * doc/entry.n: * doc/frame.n: * doc/message.n: * doc/checkbutton.n: * doc/radiobutton.n: * doc/button.n: * doc/label.n: * doc/canvas.n: * doc/text.n: Fixed Standard Options section to make best use of new tab settings in man.macros. check-in: aab4f8f0 user: ericm tags: trunk
05:55
remove --enable-gcc configure option check-in: 63c6411b user: mo tags: trunk
2000-08-23
19:18
* generic/tkButton.c (ButtonTextVarProc): reversed change below, it was not correct.
check-in: 8fa5fc2e user: hobbs tags: trunk
00:08
* generic/tkButton.c (ButtonTextVarProc): changed order of incr/decr of new value object, in case they are equal.
check-in: 9a2fe096 user: hobbs tags: trunk
2000-08-21
22:45
Comment correction. check-in: 1f6f5507 user: ericm tags: trunk
2000-08-19
02:13
Removed unused variable left behind from previous check-in. check-in: fcb0e6c0 user: ericm tags: trunk
2000-08-18
17:02
* generic/tkImgPhoto.c (ImgPhotoGet): Removed redundant call to DitherInstance; this call was formerly being made from ImgPhotoGet->ImgPhotoConfigureInstance->DitherInstance, and ImgPhotoGet->DitherInstance. The second call was removed. check-in: d27acfe5 user: ericm tags: trunk
2000-08-15
21:30
* doc/SetOptions.3: added missing ')'.
check-in: 0808e489 user: hobbs tags: trunk
2000-08-10
00:21
* doc/SetOptions.3: Updated documentation to reflect support for TK_OPTION_NULL_OK for TK_OPTION_DOUBLE and TK_OPTION_PIXELS.

* generic/tkConfig.c: Added for TK_OPTION_NULL_OK support for TK_OPTION_DOUBLE and TK_OPTION_PIXELS.

* doc/place.n: Updated, reformatted manual entry.

* tests/place.test: Added many tests.

* generic/tkPlace.c (Tk_PlaceObjCmd): Updated to use Tk widget-option management facilities to manage place options (-x, -y, etc.), which simplifies the placer code. Added support for [place configure pathName] and [place configure pathName -option], similar to the behavior of the configure subcommand supported by widgets. check-in: 37535414 user: ericm tags: trunk

2000-08-08
19:21
* tests/place.test: Extended test suite to test error returns from [place].

* generic/tkInt.h: Replaced Tk_PlaceCmd prototype with Tk_PlaceObjCmd prototype.

* generic/tkWindow.c: Updated [place] command entry to use new Tcl_Obj interface.

* generic/tkPlace.c (Tk_PlaceObjCmd): Tcl_Obj'ified [place] command. check-in: ceaed590 user: ericm tags: trunk

19:03
Created branch tclpro-1-4-0-synthetic Closed-Leaf check-in: 74dd64d6 user: cvs2fossil tags: tclpro-1-4-0, tclpro-1-4-0-synthetic
19:03
Created branch tclpro-1-4-1-synthetic Closed-Leaf check-in: ea6eabe6 user: cvs2fossil tags: tclpro-1-4-1, tclpro-1-4-1-synthetic
19:03
Created branch tclpro-1-5-0-synthetic Closed-Leaf check-in: a561dacb user: cvs2fossil tags: tclpro-1-5-0-synthetic, tclpro-1-5-0
19:03
updated changes for 8.3.2 release check-in: ed1af398 user: hobbs tags: core-8-3-1-branch, core-8-3-2
01:27
i check-in: 5f70aefa user: hobbs tags: trunk
00:55
regen'ed from new mkLinks.tcl in core-8-3-1-branch check-in: 1878bdad user: hobbs tags: core-8-3-1-branch
2000-08-07
22:42
corrected use of .SS macro check-in: 7b7c6a5f user: hobbs tags: trunk
22:42
corrected use of .SS macro check-in: 7099a926 user: hobbs tags: core-8-3-1-branch
21:49
* generic/tkWindow.c: Updated [selection] command entry to use new Tcl_Obj interface.

* generic/tkInt.h: Replaced Tk_SelectionCmd prototype with Tk_SelectionObjCmd prototype.

* tests/select.test: Updated test suite to recognize standardized error messages.

* generic/tkSelect.c (Tk_SelectionObjCmd): Tcl_Obj'ified [selection] command. check-in: 710af28c user: ericm tags: trunk

2000-08-06
00:11
* library/safetk.tcl: rationalized the setting of tk_library when initialized Tk in a safe interpreter.
check-in: c9f26bf5 user: hobbs tags: trunk
00:10
cleaned up use of *_DIR macros check-in: 6c6a1c0c user: hobbs tags: trunk
2000-08-05
23:53
* BACKPORTED FROM 8.4 (HEAD) BRANCH:
* tests/button.test: * generic/tkButton.c: Added -activeforeground, -activebackground for labels, for the -state option.
* doc/label.n: Added -disabledforeground to list of options [Bug: 6053].
* tests/focus.test (focusSetupAlt): removed wm withdraw from proc as it would cause a hang for tkwait visibility
* tests/menu.test: * generic/tk3d.c: * generic/tkColor.c: * generic/tkCursor.c: corrected handling of 3DBorder, Cursor and Color objects on multiple screens. [Bug: 5454]
* generic/tkCursor.c: Added initialization for nextPtr field of TkCursor, patch from Nijtmans/Howlett.
* canvas.test: added test for 5783. * generic/tkCanvPoly.c (DisplayPolygon): added checks for the polygon fillGC not being empty to prevent segfault. [Bug: 5783]
* generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a problem with the GIF writing code [Bug: 5823]. * generic/tkImgGIF.c: Changed defines for GIF87a/GIF89a to be static char arrays with integer initialization, to address EBCIDIC vs. ASCII encoding issues and to handle compilers that don't deal with "\xAB" syntax for specifying hex values in strings.
* generic/tkMenu.c (DeleteMenuCloneEntries): Applied fix from [Bug: 5275], which corrected a segfault-causing indexing problem when deleting entries from torn-off menus.
* generic/tkPlace.c (Tk_PlaceCmd): reworked place master/slave table init'n to prevent seg fault when using place on multiple displays.
* tests/text.test: Added tests for -regexp -nocase searches with backslash character classes. * tests/text.test: Added tests for searching when text is elided. * generic/tkText.c (TextSearchCmd): Text search did not work properly when -regexp and -nocase were used, in combination with backslash character classes represented by capital letters (ie, \W, \M); altered implementation of -regexp -nocase searches to use new regexp interfaces to fix this problem. [Bug: 5988]. * generic/tkText.c (TextSearchCmd): Text search was not returning the correct index when the search covered (but did not search) elided characters; corrected this by adjusting the match index by the number of elided characters preceeding the start of the match, just as is done with embedded windows, etc. [Bug: 5470]. * generic/tkText.c (TextSearchCmd): Added a test for a NULL segment pointer when doing backwards searches for "" on an empty text widget. [Bug: 6007].
* library/focus.tcl: fixed calling of takeFocus proc [Bug: 5372]
* win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit for disabled menu entries, to ensure that those which are drawn by the system are shown grayed (such as entries on menubars) [Bug: 4372]. * win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add the MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes separator entries on the system menu to be drawn correctly [Bug: 5451]. * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303].
check-in: f1303c4e user: hobbs tags: core-8-3-1-branch
23:52
* win/Makefile.in (cat32.${OBJEXT}): corrected where to find cat.c given the change in default def'n of TCL_SRC_DIR.
* win/tcl.m4: changed references from 8.4 to 8.3 (leftover from a backported file).
check-in: 8f49c586 user: hobbs tags: core-8-3-1-branch
23:52
* library/safetk.tcl: rationalized the setting of tk_library when initialized Tk in a safe interpreter.
check-in: c30c1bb4 user: hobbs tags: core-8-3-1-branch
2000-08-04
00:46
* generic/tkWindow.c: Updated "grab" command entry to use Tcl_Obj'ified command.

* generic/tkInt.h: Replaced Tk_GrabCmd prototype with Tk_GrabObjCmd prototype.

* tests/grab.test: Initial suite of tests for [grab] command.

* generic/tkGrab.c (Tk_GrabObjCmd): Tcl_Obj'ified [grab] command.

* generic/tkCmds.c: Fixed casting problem in Tk_BindtagsObjCmd. check-in: 0f65866a user: ericm tags: trunk

2000-08-03
21:14
* generic/tkInt.h: Removed Tk_AfterCmd function prototype; the function does not exist (since 7.4p3).

* generic/tk.h: Removed Tk_AfterCmd => Tcl_AfterCmd #define; nothing in the core uses it, and Tcl_AfterCmd doesn't exist anymore anyway. check-in: 0407f573 user: ericm tags: trunk

21:02
* generic/tkInt.h: Replace Tk_BindCmd prototype with Tk_BindObjCmd prototype.

* generic/tkWindow.c: Updated "bind" command entry to use Tcl_Obj'ified command.

* generic/tkCmds.c (Tk_BindObjCmd): Tcl_Obj'ified [bind] command. check-in: 30698c56 user: ericm tags: trunk

20:36
* tests/bind.test: Tweaked expected error messages for [bindtags] to comply with updated error messages.

* generic/tkMenu.c (CloneMenu): Replaced calls to Tk_BindtagsCmd with equivalent calls to Tk_BindtagsObjCmd.

* generic/tkInt.h: Replace Tk_BindtagsCmd prototype with Tk_BindtagsObjCmd prototype.

* generic/tkWindow.c: Updated "bindtags" command entry to use Tcl_Obj'ified command.

* generic/tkCmds.c (Tk_BindtagsObjCmd): Tcl_Obj'ified [bindtags] command. check-in: 1bf52b23 user: ericm tags: trunk

2000-08-02
23:08
* generic/tkCmds.c (Tk_TkwaitObjCmd): Tcl_Obj'ified [tkwait] command.

* generic/tkWindow.c: Updated "tkwait" command entry to use Tcl_Obj'ified command.

* generic/tkInt.h: Replace Tk_TkwaitCmd prototype with Tk_TkwaitObjCmd prototype. check-in: 5fd841f0 user: ericm tags: trunk

20:52
* generic/tkGrid.c (Tk_GridCmd): Split [grid] subcommands into separate functions instead of inlining them all in Tk_GridCmd. check-in: c18681c3 user: ericm tags: trunk
01:33
* generic/tkInt.h: Replaced prototype for Tk_MessageCmd with prototype for Tk_MessageObjCmd.

* generic/tkWindow.c: Marked message command as using the new MessageObjCmd instead of the old MessageCmd.

* tests/message.test: Added tests for the message widget.

* generic/tkMessage.c: Obj'ified the message widget.

* generic/tkInt.h: Removed prototype for Tk_ClipboardCmd, added prototype for Tk_ClipboardObjCmd.

* generic/tkWindow.c: Updated function pointers for clipboard command to use Tcl_Obj version. check-in: f289c4cb user: ericm tags: trunk

2000-08-01
18:52
* generic/tkInt.h: Removed prototype for Tk_ClipboardCmd, added prototype for Tk_ClipboardObjCmd.

* generic/tkWindow.c: Updated function pointers for clipboard command to use Tcl_Obj version.

* tests/clipboard.test: Updated tests to expect standard error messages.

* generic/tkClipboard.c (Tk_ClipboardObjCmd): Obj'ified Tk_ClipboardCmd -> Tk_ClipboardObjCmd. check-in: a6f47654 user: ericm tags: trunk

2000-07-31
04:15
Chagned GRAPHICS_LIBS to LIBS_GUI to match changes in makefile/configure check-in: 79cf847a user: welch tags: core-8-3-1-branch
04:15
Created branch ajuba-ajuba2-2-1-base-synthetic Closed-Leaf check-in: bbaa947c user: cvs2fossil tags: ajuba-ajuba2-2-1-base-synthetic, ajuba-ajuba2-2-1-base
04:15
*** empty log message *** check-in: 6eb1429f user: welch tags: core-8-3-1-branch
2000-07-29
01:08
* unix/tkUnixButton.c (TkpDisplayButton): Added bits to change the indicator color when radio-/check-buttons are disabled. This reduces the visual incongruity when a group of these controls are disabled together. check-in: 17d2de71 user: ericm tags: trunk
2000-07-28
17:37
* win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit for disabled menu entries, to ensure that those which are drawn by the system are shown grayed (such as entries on menubars) [Bug: 4372]. check-in: 52e781f7 user: ericm tags: trunk
16:41
* doc/label.n: Added -disabledforeground to list of options [Bug: 6053]. * generic/tkListbox.c: Changed resource class for disabledforeground to "DisabledForeground". check-in: d57bc1ec user: ericm tags: trunk
16:34
* mac/tkMacDefault.h: * unix/tkUnixDefault.h: Added default values for listbox disabledforeground and state.

* win/tkWinDefault.h: Changed default listbox background color to white and listbox selection borderwidth to 0, in keeping with the "Microsoft Windows User Experience"; added default values for listbox disabledforeground and listbox state.

* doc/listbox.n: Added documentation for -state option.

* generic/tkListbox.c: Added support for -state to listbox. [RFE: 6052].

* tests/listbox.test: Tests for listbox disabled state. check-in: a19d0bbf user: ericm tags: trunk

08:16
* win/Makefile.in: * win/aclocal.m4: * win/configure.in: * win/tcl.m4: Back port of gcc for windows build system from 8.4.
check-in: d9fba089 user: mo tags: core-8-3-1-branch
08:12
* win/Makefile.in: * win/aclocal.m4: * win/configure.in: * win/tcl.m4: Back port of gcc for windows build system from 8.4.
check-in: af2a5b49 user: mo tags: core-8-3-1-branch
2000-07-27
22:52
* win/configure.in: TCL_STUB_LIB_FLAG and TK_STUB_LIB_FLAG should not include ${TCL_DBGX} in win/tkConfig.sh, fix that.
check-in: 883a60a3 user: mo tags: trunk
01:05
* unix/configure.in (TK_PATCH_LEVEL): updated to 8.3.2 * unix/tk.spec: * win/configure.in: * generic/tk.h: * README:
check-in: 7bd23397 user: hobbs tags: core-8-3-1-branch
2000-07-25
21:14
CanvPsY.3, ConfigWidg.3, CrtImgType.3, CrtItemType.3, FontId.3, GetFont.3, canvas.n, font.n, options.n, text.n: Documentation fix: Replaced references to XFontStruct * and Tk_FontStruct with Tk_Font. check-in: b10e56c1 user: jenglish tags: trunk
02:06
missing tk icon fixed check-in: 5303d60d user: davidg tags: core-8-3-1-branch
01:59
double tk icon reference fixed check-in: aa6fa16c user: davidg tags: core-8-3-1-branch
01:55
missing tk icon fixed check-in: 74d33f30 user: davidg tags: core-8-3-1-branch
00:05
* tests/text.test: Added tests for -regexp -nocase searches with backslash character classes.

* generic/tkText.c (TextSearchCmd): Text search did not work properly when -regexp and -nocase were used, in combination with backslash character classes represented by capital letters (ie, \W, \M); altered implementation of -regexp -nocase searches to use new regexp interfaces to fix this problem. [Bug: 5988]. check-in: f93153d6 user: ericm tags: trunk

2000-07-23
04:48
Generalizing resource files for static builds. check-in: e8632e9d user: welch tags: core-8-3-1-branch
04:47
Installing more .h files for TclPro check-in: 600cde99 user: welch tags: core-8-3-1-branch
04:47
*** empty log message *** check-in: 9bffa37c user: welch tags: core-8-3-1-branch
2000-07-21
23:44
* tests/text.test: Added tests for searching when text is elided.

* generic/tkText.c (TextSearchCmd): Text search was not returning the correct index when the search covered (but did not search) elided characters; corrected this by adjusting the match index by the number of elided characters preceeding the start of the match, just as is done with embedded windows, etc. [Bug: 5470]. check-in: 516d8b57 user: ericm tags: trunk

16:27
* win/configure.in: Add TK_STUB_LIB_FLAG and TK_BUILD_STUB_LIB_SPEC. These are needed to build a stub enabled extension.
check-in: ab40709a user: mo tags: trunk
2000-07-20
21:38
* unix/tkUnixDraw.c (TkScrollWindow): Replaced a use of a trinary operator with an if/else, to avoid build problems on some platforms [Bug: 5819]. check-in: dd22e96a user: ericm tags: trunk
15:20
Applied patch from [RFE: 5939] check-in: b7b0d686 user: ericm tags: trunk
2000-07-19
23:22
* library/text.tcl: Enhanced <Tab> binding to behave like normal <Tab> bindings when the text widget is disabled (ie, it advances focus to the next widget). check-in: 705ae869 user: ericm tags: trunk
18:13
* generic/tkText.c (TextSearchCmd): Added a test for a NULL segment pointer when doing backwards searches for "" on an empty text widget. [Bug: 6007]. check-in: 0c93566b user: ericm tags: trunk
02:28
* unix/aclocal.m4: Use tcl.m4. * unix/configure.in: Properly quote LOCALES variable. Properly quote argument to m4 macro. * unix/tcl.m4: Add updated file from tcl. * win/tcl.m4: Updated file from tcl.
check-in: 5246f0ad user: mo tags: trunk
02:15
* unix/aclocal.m4: Use tcl.m4. * unix/configure.in: Properly quote LOCALES variable. Properly quote argument to m4 macro. * unix/tcl.m4: Add updated file from tcl. * win/tcl.m4: Updated file from tcl.
check-in: 9f7b475c user: mo tags: trunk
00:20
* library/tkfbox.tcl: Fixed keyboard navigation in the iconlist. check-in: 92fe7f62 user: ericm tags: trunk
2000-07-18
23:52
no message check-in: f78644fb user: davidg tags: trunk
23:04
Updated Greek message catalog. check-in: 49853893 user: ericm tags: trunk
23:03
Updated German message catalog. check-in: 37f75057 user: ericm tags: trunk
21:33
* unix/configure.in (MAKE_LIB): Corrected definition of MAKE_LIB for shared builds, with patch from Mike Hopkirk. check-in: 82afa607 user: ericm tags: trunk
18:17
fix usage of TK_SRC_DIR check-in: 981ce462 user: mo tags: trunk
02:31
no message check-in: 38af7ac5 user: davidg tags: trunk
02:31
Just added comments about a Win2K OS bug with GetStdHandle(STD_OUTPUT_HANDLE). No change was made to the code. check-in: 35b6eded user: davidg tags: trunk
2000-07-17
23:03
* generic/tkStubImg.c (Tk_InitImageArgs): Applied patch from [Bug: 5990], from Anselm Lingnau, which correctly sets the value of useNewImage to 0 when the new image system is not to be used, instead of leaving it at -1, which causes the check to be performed more times than is really necessary. check-in: 95e8c0e6 user: ericm tags: trunk
21:07
* library/bgerror.tcl: Fixed a typo in one of the bgerror dialog label. check-in: 7e97088f user: ericm tags: trunk
21:00
* library/msgs/it.msg: Italian message catalog, from Paolo Brutti. [RFE: 6012]. check-in: 3a5f21c2 user: ericm tags: trunk
2000-07-11
04:53
Cleanup of substitutions in tkConfig.sh check-in: 09af977d user: welch tags: core-8-3-1-branch
04:53
*** empty log message *** check-in: 0c58b1df user: welch tags: core-8-3-1-branch
2000-07-08
05:25
Greek message catalog from George Petasis. check-in: 721323ae user: ericm tags: trunk
2000-07-07
11:20
fix TK_SHARED_BUILD and TK_SRC_DIR variable definitions for mingw/vc++ build check-in: 244e01c8 user: mo tags: trunk
2000-07-06
20:52
Updated Spanish message catalog. check-in: 9790f8da user: ericm tags: trunk
06:38
Applied patch from Nijtmans/Howlett to intialize nextPtr field of TkCursor structure when it is created, to prevent possible core dumps. check-in: 8e00f87e user: ericm tags: trunk
03:17
* generic/tkFileFilter.c (AddClause): Cast to match function prototype. * win/stubs.c (_XInitImageFuncPtrs): Add return value for function. * win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle): Remove unused declarations. * win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused function declarations. * win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration. * win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype. * win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration. * win/tkWinWindow.c (StackWindow): Remove unused declaration. * win/tkWinWm.c (ConfigureEvent): Remove unused declaration. * win/tkWinX.c (winXMutex): Remove unused declaration. * xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.
check-in: 51f47c0c user: mo tags: trunk
2000-07-05
23:30
* tests/imgPhoto.test: Added test for GIF writing code [Bug: 5823].

* generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a problem with the GIF writing code [Bug: 5823]. check-in: 10d00251 user: ericm tags: trunk

21:31
*** empty log message *** check-in: 77b85ae2 user: ericm tags: trunk
21:27
Duth message catalog, from Jan Nijtmans. check-in: 4643d352 user: ericm tags: trunk
2000-06-30
20:33
* doc/keysyms.n: * doc/colors.n: Added extra .CE/.CS pairs to break up the large text block, so that the generated Windows help file could accomodate the manual entry. [Bug: 5862] check-in: 1cca0349 user: ericm tags: trunk
20:33
* doc/keysyms.n: * doc/colors.n: Added extra .CE/.CS pairs to break up the large text block, so that the generated Windows help file could accomodate the manual entry. [Bug: 5862] check-in: a0ee8c72 user: ericm tags: core-8-3-1-branch
20:19
* tests/filebox.test: Adjusted tests to accomodate -multiple.

* library/xmfbox.tcl: Adjusted arguments list construction such that -multiple is not presented as an option for tk_getSaveFile.

* library/tk.tcl: Added test for safe interpreter status before attempting to load message catalogs (which is impossible in a standard safe interpreter). This means that SafeTk will not have localized dialogs, unless a means is found for loading the message catalog files. check-in: 29955884 user: ericm tags: trunk

06:38
* library/msgs/de.msg: German message catalog.

* library/msgs/en.msg: English message catalog.

* library/msgs/es.msg: Spanish message catalog.

* library/msgs/fr.msg: French message catalog.

* unix/Makefile.in: * unix/configure.in: * library/tk.tcl: * library/clrpick.tcl: * library/choosedir.tcl: * library/console.tcl: * library/msgbox.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: * library/bgerror.tcl: Applied patches from Laurent Duperval to provide localization of Tk dialogs. [RFE: 2671]. check-in: fba5538c user: ericm tags: trunk

2000-06-27
17:15
* generic/tkMenu.c (DeleteMenuCloneEntries): Applied fix from [Bug: 5275], which corrected a segfault-causing indexing problem when deleting entries from torn-off menus. check-in: 8af6cddd user: ericm tags: trunk
2000-06-23
00:22
* doc/getOpenFile.n: Updated with information about -multiple.

* library/choosedir.tcl: Tweaked to handle modified tkIconList API's.

* library/tkfbox.tcl: Preliminary implementation of multiple selection; based on patch from [RFE: 604]. Some of the tkIconList functions changed to support this and to make the dialog faster.

* library/xmfbox.tcl: Added support for multiple selection, from patch in [RFE: 4999]. check-in: 6d6e691e user: ericm tags: trunk

2000-06-21
03:54
Fix Weak Links, and add the AETE resource. check-in: a8cab7aa user: jingham tags: core-8-3-1-branch
2000-06-19
18:28
* library/bgerror.tcl: Added auto-truncation for long error messages (more than 30 characters wide, or more than 4 lines long), so that the dialog remains a manageable size. [RFE: 5782] check-in: 70dfc219 user: ericm tags: trunk
2000-06-15
16:01
Removed unused variable declaration. check-in: f2b9197c user: ericm tags: trunk
15:56
Recheckin without ^M line feeds. check-in: 4dafeff6 user: ericm tags: trunk
15:54
reverted to 1.26 revision to fix bad 1.27 checkin check-in: cb840dd3 user: ericm tags: trunk
2000-06-13
23:55
Added @LIBS@ to definition for LIBS variable, so that user32.lib and advapi32.lib are included in the link line for the wish binary. check-in: 4b1af016 user: ericm tags: trunk
21:11
Added per RFE 5844. check-in: 08e453c7 user: ericm tags: trunk
21:07
* win/tcl.m4: * win/configure.in: * win/Makefile.in: Applied patch from [RFE: 5844], to extend support for mingw compile environment on Windows. check-in: b5582e2a user: ericm tags: trunk
2000-06-07
01:59
marked 8.4a1 release point check-in: e5431e34 user: hobbs tags: trunk
2000-06-06
04:18
Fixed bogus test canvas-11.1 check-in: 8f2d82c0 user: ericm tags: trunk, core-8-4-a1
2000-06-05
23:31
Fixed formatting. check-in: 36b079bb user: ericm tags: trunk
23:31
Added "Released 8.4a1" line check-in: 9a6eaedb user: ericm tags: trunk
23:09
Added changes since 8.3.1. check-in: 3c197ff5 user: ericm tags: trunk
23:03
*** empty log message *** check-in: f6b63896 user: ericm tags: trunk
2000-06-03
08:58
see changes check-in: 01e3a942 user: hobbs tags: trunk
08:58
* generic/tk.h: added typdef for Tk_ClientMessageProc * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: Added Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler declarations. * generic/tkEvent.c (Tk_HandleEvent): Added Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler to allow adding event handlers that invoke for ClientMessage events. This is necessary to support unix dnd protocols.
check-in: 4796e716 user: hobbs tags: trunk
08:57
* doc/CrtCmHdlr.3: new doc for ClientMessage handler procs
check-in: a5024a76 user: hobbs tags: trunk
08:38
* canvas.test: added test for 5783. * generic/tkCanvPoly.c (DisplayPolygon): added checks for the polygon fillGC not being empty to prevent segfault. [Bug: 5783]
check-in: 1868c540 user: hobbs tags: trunk
2000-05-31
23:28
* library/bgerror.tcl: Improved bgerror based on work by Donal K. Fellows; no longer dependant on tk_dialog; features a Windows-esque "Details" button, and a customizable extra function button that allows the user to (for example) save the stack trace to a file. check-in: 07f72245 user: ericm tags: trunk
2000-05-30
17:51
* generic/tkImgGIF.c: Changed defines for GIF87a/GIF89a to be static char arrays with integer initialization, to address EBCIDIC vs. ASCII encoding issues and to handle compilers that don't deal with "\xAB" syntax for specifying hex values in strings. check-in: 3a6b87ac user: ericm tags: trunk
17:35
Added additional comments regarding the internal representation of the option database. check-in: 9820602f user: ericm tags: trunk
2000-05-29
01:44
added spinbox check-in: 14de5afd user: hobbs tags: trunk
01:43
* doc/spinbox.n: (new file) docs for spinbox widget * generic/tkInt.h: added Tk_SpinboxObjCmd declaration * generic/tkEntry.c: added 'spinbox' widget - an extension of the entry widget type. * generic/tkWindow.c: added 'spinbox' to core Tk commands * library/spinbox.tcl: (new file) binding and helper procs for spinbox * library/tk.tcl: added spinbox.tcl to list of files to source * tests/entry.test: updated changed error messages * tests/spinbox.test: (new file) test suite for spinbox
check-in: 73da3324 user: hobbs tags: trunk
01:42
* generic/tk.h: added comments ot Tk_FakeWin structure
check-in: aeb140d6 user: hobbs tags: trunk
01:42
* generic/tkPlace.c (Tk_PlaceCmd): reworked place master/slave table init'n to prevent seg fault when using place on multiple displays.
check-in: 31621748 user: hobbs tags: trunk
2000-05-27
02:11
Added initializer for classId variable in Tk_GetOption. check-in: c0cd07e5 user: ericm tags: trunk
01:49
Comment fixup. check-in: db76cd7e user: ericm tags: trunk
01:43
* generic/tkOption.c (Tk_GetOption): Extended Tk_GetOption to support a new syntax for option names in option tables. If the option name has an embedded ".", it indicates that the name field contains both an option name and an overriding widget class, in the form "class.option". The lookup for the option value will be performed as though the widget class is that specified, rather than the actual widget class. (SetupStacks): Replaced several lines of array element copying with a for loop for conciseness. check-in: a96e3d25 user: ericm tags: trunk
2000-05-25
17:19
* library/button.tcl: Tweaks for -overrelief handling on Windows. check-in: f004f046 user: ericm tags: trunk
16:57
* doc/radiobutton.n: Added documentation for -overrelief option.

* doc/checkbutton.n: Added documentation for -overrelief option.

* doc/label.n: Added documentation for -state option.

* generic/tkButton.c: Added -overrelief option for checkbuttons, and radiobuttons.

* library/button.tcl (tkButtonDown, macintosh version): Added protection against querying the -repeatdelay option from a widget that doesn't support it (ie, checkbuttons, radiobuttons, etc). Other platforms use a different binding script for checkbuttons and radiobuttons, so they don't have this issue. (tkCheckRadioEnter, windows version): Added code to handle -overrelief for check/radiobuttons on windows. check-in: bb4f9a3f user: ericm tags: trunk

2000-05-23
02:44
see changes check-in: 4bcffea2 user: hobbs tags: trunk
02:44
* win/Makefile.in (install-libraries): corrected to install X headers [Bug: 5516]
check-in: 186af9a7 user: hobbs tags: trunk
00:45
see changes check-in: 14f6003c user: hobbs tags: trunk
00:31
* doc/bind.n: * doc/canvas.n: * doc/entry.n: * doc/listbox.n: * doc/photo.n: doc fix-ups [Bug: 5396]
check-in: e23fd264 user: hobbs tags: trunk
2000-05-17
22:45
commited change check-in: 25401c10 user: hobbs tags: trunk
22:44
* doc/bell.n: * tests/bell.test: * generic/tkCmds.c (Tk_BellObjCmd): added -nice option to optionally avoid resetting screen saver [Bug: 4279]
check-in: cca6c123 user: hobbs tags: trunk
22:23
* mac/tkMacDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): * win/tkWinDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): * unix/tkUnixDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): Added default values for entry -readonlybackground option.

* generic/tkEntry.c: Added -readonlybackground option, cleaned up excessive use of graphics contexts.

* tests/entry.test: Added configuration test for -readonlybackground option.

* doc/entry.n: Added documentation for -readonlybackground option. check-in: d9e1274d user: ericm tags: trunk

21:17
* doc/SetOptions.3: Added information about TK_OPTION_NULL_OK with TK_OPTION_RELIEF.

* win/tkWinButton.c: Removed bits about TK_RELIEF_LINK.

* tests/button.test: Added tests for -overrelief; removed tests for -relief link.

* mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK.

* generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK.

* generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF.

* library/button.tcl: Added binding support for -overrelief.

* generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL.

* generic/tkButton.c: Added -overrelief option; removed Enter/Leave EventProc masks and handlers.

* generic/tk.h: Added TK_RELIEF_NULL definition, removed TK_RELIEF_LINK.

* mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF): * win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF): * unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default value for the -overrelief option. check-in: 107c0be1 user: ericm tags: trunk

2000-05-16
17:57
* win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add the MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes separator entries on the system menu to be drawn correctly [Bug: 5451]. check-in: 909f18be user: ericm tags: trunk
00:03
see changes check-in: 2aa0ce1d user: hobbs tags: core-8-3-1-branch, ajuba-ajuba2-2-0
00:03
* win/tkWinWm.c (Tk_WmCmd): changed wm deiconify from using idle callback to calling restack and focus code immediately.
check-in: b6e29fbb user: hobbs tags: core-8-3-1-branch
00:00
* win/tkWinWm.c (Tk_WmCmd): changed wm deiconify from using idle callback to calling restack and focus code immediately.
check-in: 45110288 user: hobbs tags: trunk
2000-05-15
18:21
* doc/image.n: Added documentation for [image inuse] command.

* tests/image.test: Added tests for [image inuse] command.

* generic/tkImage.c (Tk_ImageObjCmd): Added [image inuse] command, which provides a means for programmers to determine if a given image is in use by any widgets. [RFE: 3327]. check-in: 53c2f9bf user: ericm tags: trunk

2000-05-14
23:25
* doc/clipboard.n: Added documentation for "clipboard get".

* generic/tkClipboard.c (Tk_ClipboardCmd): Added "clipboard get" subcommand [RFE: 4628].

* tests/clipboard.test: Updated to use "clipboard get" instead of "selection get -s CLIPBOARD". check-in: e5e8f13e user: ericm tags: trunk

20:45
* library/entry.tcl: Adjusted Button-1 binding to set focus to the entry when it is readonly or normal.

* doc/entry.n: Added documentation for readonly state, -disabledforeground, -disabledbackground.

* tests/entry.test: Added tests for readonly state.

* generic/tkEntry.c: Added support for "readonly" state, and redefined "disabled" state. A disabled entry will display its text in a dimmed color and possibly with a different background, and will be completely unusable (no selection, no editing). A readonly entry will look like a normal entry, but it will not be editable; selection is still allowed. [RFE: 4239]. To support the new disabled state properly, "-disabledforeground" and "-disabledbackground" options were added. *** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE ***

* win/tkWinDefault.h: * mac/tkMacDefault.h: * unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG, DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO. check-in: 1e58446d user: ericm tags: trunk

2000-05-13
00:39
* unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry): * mac/tkMacButton.c (TkpDisplayButton, TkpComputeButtonGeometry): * win/tkWinButton.c (TkpDisplayButton, TkpComputeButtonGeometry): Added code for drawing compound buttons.

* tests/button.test: Added configuration tests for -repeatdelay, -repeatinterval, -compound.

* library/button.tcl: Added support for -repeatedelay, -repeatinterval options.

* generic/tkOldConfig.c: Changed handling of link relief so that proper error messages are used.

* generic/tkButton.h: Added -compound, -repeatdelay, -repeatinterval options.

* generic/tkButton.c: Added event watchers for enter/leave events, for link relief support.

* generic/tk3d.c: Changed handling of link relief so that proper error messages are used.

* generic/tk.h: Changed values of TK_OPTION_LINK_OK/TK_CONFIG_LINK_OK for link relief support. check-in: 965b15d8 user: ericm tags: trunk

00:02
see changes check-in: 81198e3d user: hobbs tags: trunk
00:02
* win/tkWinFont.c (LoadFontRanges): improved support for all chars in 0-255 range for bitmap ANSI fonts. May be improved to handle bitmap non-ANSI fonts in the future. [Bug: 2172]
check-in: 98d9aa79 user: hobbs tags: trunk
00:01
* win/tkWinWm.c (RaiseWinWhenIdle): added TK_DONT_DESTROY_WINDOW to flag check to prevent timing related core dump. [Bug: 5438]
check-in: 56864c55 user: hobbs tags: trunk
2000-05-12
21:04
added TK_DONT_DESTROY_WINDOW flag to check in RaiseWinWhenIdle to prevent timing sensitive crash check-in: e89c5a9f user: hobbs tags: core-8-3-1-branch
2000-05-11
23:53
* win/tkWinTest.c (TestclipboardObjCmd): ensured CloseClipboard would always get called for each OpenClipboard.
check-in: 3e266ca9 user: hobbs tags: trunk
22:37
see changes check-in: 7b1e2aa6 user: hobbs tags: trunk
22:37
* tests/menu.test: * generic/tk3d.c: * generic/tkColor.c: * generic/tkCursor.c: corrected handling of 3DBorder, Cursor and Color objects on multiple screens. [Bug: 5454]
check-in: 0aa3879c user: hobbs tags: trunk
22:36
* tests/focus.test (focusSetupAlt): removed wm withdraw from proc as it would cause a hang for tkwait visibility
check-in: bda59a4f user: hobbs tags: trunk
00:40
Added link relief support. check-in: 27c077f9 user: ericm tags: trunk
2000-05-10
00:09
* doc/button.n: Added documentation for link relief.
* tests/button.test: Added tests for link relief for buttons.
* generic/tk.h (TK_CONFIG_LINK_OK): Added definition of TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348]
* generic/tk3d.c: Added support for link relief. [RFE: 4348]
* mac/tkMacButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): Added support for link relief. [RFE: 4348]
* generic/tkOldConfig.c (Tk_ConfigureWidget): * generic/tkConfig.c (DoObjConfig): Added understanding of link relief, which is allowed only for widgets that have TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief" option. [RFE: 4348]
* generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option for buttons. [RFE: 4348]
* win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW style bit, so that transient windows have full-size titlebars (like the tk_getOpenFile dialog).
* win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303].
check-in: 4194a8ac user: ericm tags: trunk
2000-05-09
17:28
* library/focus.tcl: fixed calling of takeFocus proc [Bug: 5372]
check-in: 37afb894 user: hobbs tags: trunk
2000-05-03
00:18
* README: * generic/tk.h: * library/tk.tcl: * mac/README: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/aclocal.m4: * win/configure.in: * win/makefile.vc: updated patchlevel to 8.4a1
check-in: 8f7cbc1d user: hobbs tags: trunk
00:18
* unix/Makefile.in: added tk.spec to dist target
check-in: ade8d779 user: hobbs tags: trunk
2000-04-28
00:46
* doc/Tk_Init.3: Added Tk_SafeInit information [Bug: 1884].

* doc/keysyms.n: Man page enumerating keysyms [RFE: 1645]. check-in: 9e0e0636 user: ericm tags: trunk

2000-04-27
18:28
* doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].

* doc/colors.n: Man page enumerating valid color names [RFE: 1645].

* doc/cursors.n: Man page enumerating valid cursor values [RFE: 1645].

* library/msgbox.tcl: Corrected Unix tk_messageBox implementation to make the first button the default when no default is specified [Bug: 2218].

* doc/messageBox.n: Updated documentation with regards to selection of default button when none is specified (now it will use the first button as the default in that case) [Bug: 2218]. check-in: d4fa111a user: ericm tags: trunk

2000-04-26
23:34
Regen'd with new mkLinks.tcl check-in: c86cd212 user: ericm tags: trunk
17:37
* README: * mac/README: * unix/README: * unix/tk.spec: * win/README: Updating URLs to reference dev.scriptics.com
check-in: 93369f5e user: hobbs tags: trunk, core-8-3-1
00:23
updated for 8.3.1 release check-in: da49efce user: hobbs tags: trunk
2000-04-25
22:30
extra careful quoting check-in: 280b94c1 user: hobbs tags: trunk
22:29
winhelp target improvements check-in: caa58dc9 user: hobbs tags: trunk
22:06
macro fix check-in: da948942 user: hobbs tags: trunk
21:00
* unix/Makefile.in: * win/Makefile.in: makefile cleanup
check-in: e9e426d7 user: hobbs tags: trunk
17:25
* generic/tkMain.c: Fixed function header comment for Tk_MainEx.

* unix/mkLinks: * doc/GetScroll.3: Added information about Tk_GetScrollInfoObj [Bug: 1866]. check-in: b3b84342 user: ericm tags: trunk

02:12
* unix/mkLinks: * doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889] check-in: 3b6c90d1 user: ericm tags: trunk
01:42
* unix/mkLinks: * doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865]. check-in: a94ff369 user: ericm tags: trunk
01:12
* unix/mkLinks: * doc/GetHINSTANCE.3: Man page for Tk_GetHINSTANCE [Bug: 1862]. check-in: c5e5b562 user: ericm tags: trunk
01:03
* generic/tkImage.c (Tk_PostscriptImage): added check to create necessary prolog for photos * generic/tkCanvPs.c: added Tk_PostscriptPhoto that outputs PS for photo images * generic/tkImgPhoto.c: new func ImgPhotoPostscript and added that in as ps proc in tkPhotoImageType. * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: added Tk_PostscriptPhoto
check-in: 38420667 user: hobbs tags: trunk
01:02
* generic/tkConfig.c (DoObjConfig): removed direct setting of interp->result.
check-in: 16ebd271 user: hobbs tags: trunk
01:02
* mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel in colormapwindows case (bug found by Reasoning, Inc's automated code testing).
check-in: bbb728ba user: hobbs tags: trunk
2000-04-24
19:47
* unix/mkLinks: * doc/GetHWND.3: Man page for Tk_GetHWND [Bug: 1863]. check-in: f058bd2b user: ericm tags: trunk
19:11
* unix/mkLinks: * doc/HWNDToWindow.3: Man page for Tk_HWNDToWindow [Bug: 1869]. check-in: 53aea9a8 user: ericm tags: trunk
19:00
* unix/mkLinks: * doc/AddOption.3: Man page for Tk_AddOption [Bug: 1854] check-in: ea338fd9 user: ericm tags: trunk
2000-04-23
03:47
2000-04-22 Jim Ingham <[email protected]> * mac/tkMacDialog.c (Tk_MacGetOpenFile): Add empty bodies for the "-initialfile" and "-defaultextension" options. * mac/tkMacDialog.c (NavServicesGetFile): Only cons the result up into a list if multiple is true. * mac/tkMacMenus.c (SourceDialog): Use the "tk_getOpenFile" instead of hand-coding the dialog with StandardGetFile. This way we get the Navigation dialogs for free. * doc/getOpenFile.n: Document the -multiple and -message flags which are only implemented on the Mac. Also note that the -title works on the Mac with Nav Services installed. check-in: 94894720 user: jingham tags: trunk
2000-04-21
04:07
see changes check-in: 83dec450 user: hobbs tags: trunk
04:07
* win/aclocal.m4: made SC_PROG_TCLSH search specifically for tclsh*.exe type files to find an executable.
* win/Makefile.in: fixed up cleanup, winhelp, cat32 targets
check-in: 26bcc8a2 user: hobbs tags: trunk
04:06
* library/console.tcl: made console use systemfixed font on Win
check-in: f835975b user: hobbs tags: trunk
04:06
* generic/tkEntry.c: removed unnecessary ENTRY_VALIDATE #define
check-in: 03c317cb user: hobbs tags: trunk
2000-04-19
23:12
* library/choosedir.tcl (::tk::dialog::file::chooseDir::Config): * library/tkfbox.tcl (::tk::dialog::file::Config): removed the extraneous glob on -initialdir after file isdir already returned 1 and moved cd trick into this case as the else already uses [pwd]. [Bug: 5181]
* win/winMain.c: moved extern call out of WinMain func
check-in: 363c75be user: hobbs tags: trunk
23:11
* doc/WinViewable.3: * unix/mkLinks: Removed docs for Tk_IsViewable.

* win/tkWinDialog.c: Removed calls to Tk_IsViewable.

* generic/tkUtil.c: * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tkCmds.c: * generic/tk.decls: Removed Tk_IsViewable function (it was not actually needed). check-in: e6573914 user: ericm tags: trunk

22:20
* generic/tkRectOval.c (ConfigureRectOval): Added checks for valid outline settings before creating of outline GC; this means that it is really possible now to have an oval or rectangle with no outline. [Bug: 5029]. check-in: 3ee5cb67 user: ericm tags: trunk
09:25
* README: * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: bumped to version 8.3.1
* library/msgbox.tcl (tkMessageBox): changed to use grid in some places, realign icon to anchor nw.
* mac/tkMacScale.c: reverted tkMacScale.c to 1.5 equivalent (it was accidentally bumped forward).
check-in: 7eb9e576 user: hobbs tags: trunk
01:06
* win/tkWinPointer.c: Changed Mod2Mask in TkWinGetModifierState to ALT_MASK, to fix some event problems [Bugs: 1160, 5088].

* win/tkWinX.c: Changed Mod2Mask in GetState to ALT_MASK, to fix some event problems [Bugs: 1160, 5088].

* generic/tkInt.h: Moved definition of ALT_MASK and META_MASK here so that it would be accessible from other modules than tkBind.c.

* generic/tkBind.c: Added code in BindEvent to check for ALT_MASK and META_MASK in the event state field, as this field may not be set up with the correct display modifier mask bits if the XEvent structure was created by [event generate] or by the Windows X emulation. [Bugs: 1160, 5088]. check-in: c6239454 user: ericm tags: trunk

2000-04-18
23:28
* win/tk.rc: * win/wish.rc: * win/wish.ico: Modified copyright dates in Windows resource files. Updated the icon for wish.exe. check-in: 26654e19 user: redman tags: trunk
02:18
* win/tkWinDialog.c: Added checks for visibility of parent window before creating MessageBox and ChooseColor dialogs; this prevents the application from locking when the parent is withdrawn and the message box is created. In these cases, the window will be created without a parent.

* unix/mkLinks: Added WinViewable.3.

* tests/msgbox.test: Added tests for patch from [Bug: 4997].

* library/msgbox.tcl: * library/dialog.tcl: Applied patch from [Bug: 4997]; detaches dialog window from parent if parent is not viewable.

* library/bgerror.tcl: Removed workaround from [Bug: 4370]; this is superceeded by patches to dialog.tcl.

* generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable function to determine visibility of windows instead of inlining the code.

* generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: Added Tk_IsViewable declaration. check-in: a39bc3c5 user: ericm tags: trunk

2000-04-17
23:24
* library/text.tcl: Tweaked double-/triple-click selection; previously, anchor and insert marks were placed in unexpected locations following a double or triple click. Now they are placed logically. Also tweaked the extension of selection via shift-double-clicks so that it no longer selects the contiguous whitespace on the side of the selection opposite the double-click. [RFE: 4253]. check-in: 823d1bcb user: ericm tags: trunk
19:31
* doc/menu.n: Added note regarding rendering of checkbuttons/radiobuttons in menubars on different platforms -- some systems do not draw indicators for check/radiobuttons in menubars.

* library/menu.tcl: Corrected behavior of checkbuttons/commands/radiobuttons in menubars [Bug: 630]. check-in: 7ad7282b user: ericm tags: trunk

17:44
* tests/grid.test: Added test for [grid propagate . 0] to not toggle. check-in: 9de73bce user: ericm tags: trunk
17:40
* generic/tkGrid.c: Fixed bogus logic in [grid propagate] that caused [grid propagate . 0] to act as a toggle instead of an absolute set. [Bug: 2286]. check-in: ec09b433 user: ericm tags: trunk
06:26
* win/tkWinColor.c (FindSystemColor): correct calculation of colors when shifting value. [Bug: 4919]
check-in: 18536763 user: hobbs tags: trunk
02:17
*** empty log message *** check-in: 51328e03 user: jingham tags: trunk
02:17
Protect GenerateKeyEvent from a null tkwin. check-in: 63b78bb0 user: jingham tags: trunk
02:17
Don't worry, this file is not used yet... check-in: 40b58529 user: jingham tags: trunk
02:17
Protect the define of strncasecmp, it IS present in MSL from CW Pro 5. check-in: 59f8fdf3 user: jingham tags: trunk
02:16
Add FIXME comment XKeySymToKeyCode needs to be implemented, since it is used in event generate. check-in: e8215e81 user: jingham tags: trunk
02:16
Add Navigation Services support. check-in: e7c8cfd3 user: jingham tags: trunk
02:16
Hide button window BEHIND all the others in the application check-in: d3577d7a user: jingham tags: trunk
2000-04-15
17:41
clarified internal comments check-in: ba820939 user: hobbs tags: trunk
17:38
* win/tkWinWm.c (WmProc): added check in WM_MOUSEACTIVATE so we correctly activate native menus when clicking in when we didn't have focus [Bug: 2272]
check-in: f6c1e0a4 user: hobbs tags: trunk
02:50
* win/tkWinKey.c: Added check for ASCII delete character in KeycodeToKeysym, to fix [Bug: 5090]. See comment in code for more information. check-in: b1356060 user: ericm tags: trunk
00:33
* generic/ks_names.h: Added Scroll_Lock and Sys_Req definitions.

* win/tkWinKey.c: Changed implementation of KeycodeToKeysym, et. al., to use a keycode table for lookups; this will result in faster keycode -> keysym translations for non-ASCII keys like Control, Alt, etc. check-in: 7d64f430 user: ericm tags: trunk

2000-04-14
08:34
* unix/tkUnixScale.c: * mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue) to tkScale.c. Caused an associated variable to be immediately set [Bug: 4833]
* unix/aclocal.m4 (SC_ENABLE_THREADS): enhanced the detection of pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added --enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
check-in: ef420275 user: hobbs tags: trunk
08:34
* tests/winDialog.test: tk_chooseDirectory seems to get a noop from GetOpenFileName in the static build, hanging some tests. The tests were fixed to timeout (noop cause unknown).
* tests/scale.test: correct 17.1 WRT bug 4833
check-in: 791d70e9 user: hobbs tags: trunk
08:33
* mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue) to tkScale.c. Caused an associated variable to be immediately set [Bug: 4833]
check-in: 231411f3 user: hobbs tags: trunk
08:33
* library/scale.tcl (tkScaleActivate): reduced number of scale redisplays by checking current value of state before setting it again. [Bug: 4191]
check-in: 89814bee user: hobbs tags: trunk
08:33
* generic/tkCanvas.c (CanvasEventProc:2451): corrected cast
* generic/tkEntry.c (Tk_EntryObjCmd): adjusted finishing error cases and changed TK_CONFIG_NULL_OK to TK_OPTION_NULL_OK
* tests/scale.test: * generic/tkScale.c: * generic/tkScale.h: * unix/tkUnixScale.c: * mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue) to tkScale.c. Caused an associated variable to be immediately set [Bug: 4833]
check-in: a5e86fa8 user: hobbs tags: trunk
08:33
* generic/tkCanvas.c (CanvasEventProc:2451): corrected cast
* generic/tkEntry.c (Tk_EntryObjCmd): adjusted finishing error cases and changed TK_CONFIG_NULL_OK to TK_OPTION_NULL_OK
* tests/scale.test: * generic/tkScale.c: * generic/tkScale.h: * unix/tkUnixScale.c: * mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue) to tkScale.c. Caused an associated variable to be immediately set [Bug: 4833]
* library/scale.tcl (tkScaleActivate): reduced number of scale redisplays by checking current value of state before setting it again. [Bug: 4191]
* tests/winDialog.test: tk_chooseDirectory seems to get a noop from GetOpenFileName in the static build, hanging some tests. The tests were fixed to timeout (noop cause unknown).
* unix/aclocal.m4 (SC_ENABLE_THREADS): enhanced the detection of pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added --enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
check-in: b00909f0 user: hobbs tags: trunk
01:36
* win/tkWinKey.c: Added smarts to check whether the left or right Control, Shift, or Alt key was pressed. [Bug: 870].

* win/tkWin3d.c: * unix/tkUnix3d.c: Tweaked threshhold for using different highlight computation. check-in: a70c9415 user: ericm tags: trunk

2000-04-13
20:51
* win/tkWinMenu.c: Corrected code that created separator items on menus; originally, it requested that the system be responsible for drawing those items, so it would ignore configuration items like the widget background. Now, we draw the separators ourselves (as we do with every other kind of menu item already). [Bug: 1166]. check-in: d949efca user: ericm tags: trunk
18:25
* win/tkWin3d.c: * unix/tkUnix3d.c: Applied patch from [RFE: 2501]: adds more sophisticated smarts to TkpGetShadows, so that the highlight of a very bright color is actually distinguishable from the color, and the shadow of a very dark color is similarly distinguishable from the color. check-in: 3a1cdadb user: ericm tags: trunk
17:36
* generic/tkCanvas.c: Applied patch from [Bug: 4202]; adds a check for NULL tkwin in Tk_CanvasEventuallyRedraw. check-in: 780f6c34 user: ericm tags: trunk
2000-04-12
18:51
* test/winClipboard.test: * win/tkWinInt.h: * win/tkWinClipboard.c (UpdateClipboard): * win/tkWinX.c (GenerateXEvent): added updatingClipboard tsd and TkWinUpdatingClipboard accessor function to allow us to flag ourselves when we are the ones updating the clipboard. This corrected inability to create our own clipboard types within a Tk application. [Bug: 2338 4318] * win/tkWinTest.c (TestclipboardCmd): improved TestclipboardCmd with better error handling and obj'ification
check-in: 6afe91c3 user: hobbs tags: trunk
2000-04-11
18:19
* library/bgerror.tcl: Moved check for withdrawn state after check for tkerror; this was causing problems when tkerror was used. check-in: 9d9aad24 user: ericm tags: trunk
2000-04-10
23:20
ChangeLog commit. check-in: 22965ba3 user: ericm tags: trunk
23:19
* library/bgerror.tcl: Added check for withdrawn state of . and unsetting of transient bit for .bgerrorDialog if . is not viewable; this protects against the application hanging on systems like Windows, where transient windows are withdrawn with their parents. [Bug: 4370]. check-in: e617af49 user: ericm tags: trunk
22:43
* tests/event.test: Added test for [event generate $widget <Alt-z>] [Bug: 4611].

* tests/choosedir.test: Changed "namespace import ::tcltest" to "namespace import -force ::tcltest".

* win/tkWinKey.c: * unix/tkUnixKey.c: * mac/tkMacKeyboard.c: Changed InitKeymapInfo to TkpInitKeymapInfo. [Bug: 4611].

* generic/tkStubInit.c: * generic/tkIntDecls.h: Re-gen'd from tkInt.decls.

* generic/tkInt.decls: Added TkpInitKeymapInfo to list of function decls.

* generic/tkBind.c (HandleEventGenerate): Added code to initialize keymap info if necessary, and to correctly set modifier bits in XEvent structure create to handle [event generate] calls. Previously, the alt/meta bits were not set correctly, so [event generate $widget <Alt-z>] would always fail. [Bug: 4611] check-in: cd4fc378 user: ericm tags: trunk

2000-04-08
06:59
* tests/winDialog.test: removed knownBug constraint from 5.16
check-in: 0c26e099 user: hobbs tags: trunk
06:59
* library/safetk.tcl (disallowTk): made disallowTk work in the simple case.
* library/comdlg.tcl (tkFocusGroup_In): fixed key navigation problems in dialogs under CDE [Bug: 2960]
check-in: d9ae0d4c user: hobbs tags: trunk
06:59
* generic/tkGrid.c (InitMasterData): fixed uninit'd data in GridMaster struct [Bug: 4387]
check-in: c8ff30f0 user: hobbs tags: trunk
06:59
* win/makefile.vc (TKTEST_OBJS): * win/Makefile.in (TKTEST_OBJS): moved tkWinTest.c from normal objs to TKTEST_OBJS where it belonged.
check-in: 8ffd7815 user: hobbs tags: trunk
06:58
* generic/tkGrid.c (InitMasterData): fixed uninit'd data in GridMaster struct [Bug: 4387]
* library/safetk.tcl (disallowTk): made disallowTk work in the simple case.
* library/comdlg.tcl (tkFocusGroup_In): fixed key navigation problems in dialogs under CDE [Bug: 2960]
* tests/winDialog.test: removed knownBug constraint from 5.16
* win/tkWinFont.c (GetScreenFont): corrected adjustment against LC_FACESIZE limitation for NT [Bug: 4931]
* win/makefile.vc (TKTEST_OBJS): * win/Makefile.in (TKTEST_OBJS): moved tkWinTest.c from normal objs to TKTEST_OBJS where it belonged.
check-in: 3ca054fa user: hobbs tags: trunk
2000-04-07
20:57
* win/tkWinFont.c (GetScreenFont): corrected adjustment against LC_FACESIZE limitation for NT. [Bug: 4931]
check-in: 7f447768 user: hobbs tags: trunk
2000-04-04
08:09
* unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir correctly [Bug: 4085]
check-in: 3e43db8b user: hobbs tags: trunk
08:09
* library/clrpick.tcl (tkColorDialog_Config): error now thrown when -initialcolor "" specified. [Bug: 4198]
check-in: cfdf219f user: hobbs tags: trunk
08:09
* generic/tkTest.c: fixed incorrect platform inclusion for TkplatformtestInit (it would never get called).
check-in: 5759f5d0 user: hobbs tags: trunk
08:09
* generic/tkTest.c: fixed incorrect platform inclusion for TkplatformtestInit (it would never get called).
* unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir correctly [Bug: 4085]
* library/clrpick.tcl (tkColorDialog_Config): error now thrown when -initialcolor "" specified. [Bug: 4198]
check-in: 2df14d37 user: hobbs tags: trunk
2000-03-31
09:24
* win/tkWinDialog.c: added unicode-aware open/save file dialogs
* 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]
check-in: 4da507a9 user: hobbs tags: trunk
09:24
* library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs [Bug: 4506]
* library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be called in tkIconList_Select. This causes the entry to be set properly when using the type-in-name-in-listbox bindings.
check-in: 4a69b854 user: hobbs tags: trunk
09:24
* generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd option and removed #ifdef ENTRY_VALIDATE expressions
check-in: a58c27ab user: hobbs tags: trunk
09:23
* doc/DrawFocHlt.3: doc name correction
check-in: 8effb649 user: hobbs tags: trunk
09:23
* doc/DrawFocHlt.3: doc name correction
* generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd option and removed #ifdef ENTRY_VALIDATE expressions
* library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs [Bug: 4506]
* library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be called in tkIconList_Select. This causes the entry to be set properly when using the type-in-name-in-listbox bindings.
* win/tkWinDialog.c: added unicode-aware open/save file dialogs
* 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]
check-in: ec51d66d user: hobbs tags: trunk
2000-03-30
19:44
* generic/tkImgGIF.c: Fixed some ANSI specific bits to avoid compile problems with non-ANSI compilers (ie, replace const with CONST, etc). [Bug: 4223]. check-in: c4f1aa11 user: ericm tags: trunk
19:02
* unix/configure.in: Applied patch from [Bug: 4237]; ensures that srcdir is fully qualified.

* unix/Makefile.in: Applied patch from [Bug: 4237]; if tcltest was not compiled, make test/tktest failed. Now it has a rule to build tcltest if it has not been built. check-in: 382e101a user: ericm tags: trunk

2000-03-29
00:09
* library/tkfbox.tcl: Moved an overlooked tkFDialog* function in ::tk::dialog::file namespace.

* tests/unixWm.test: Added tests for memory leak conditions in tkUnixWm.c.

* tests/canvas.test: Added test for bad configuration options on empty and non-empty canvas.

* generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of CanvasWidgetCmd; this was causing non-empty canvases to improperly handle bad configuration options [Bug: 4456]. check-in: ac1293f7 user: ericm tags: trunk, scriptics-sc-2-0-fixed, scriptics-sc-2-0-b5

2000-03-27
18:02
* unix/tkUnixWm.c: Applied patch from [Bug: 4405]; fixes memory leak in Unix wm command. check-in: e19a4833 user: ericm tags: trunk
2000-03-24
23:13
* tests/xmfbox.test: Updated tests.

* generic/tkWindow.c: * generic/tkInt.h: Updated Tcl_OptionCmd -> Tcl_OptionObjCmd

* generic/tkOption.c: Tcl_Obj'ectified the "option" command. check-in: b8e5743c user: ericm tags: trunk

19:38
* tests/filebox.test: * tests/choosedir.test: Updated tests.

* library/xmfbox.tcl: Updated to stash data array in ::tk::dialog::file namespace instead of in global namespace.

* library/tkfbox.tcl: Extended some functions to support creation of a choosedir dialog, to allow greater code reuse between the two dialogs. Moved tkFDialog* functions into a namespace (::tk::dialog::file). Because these are private Tk functions (and should thus not be used directly by users), this should not impact anybody (the tk_getOpenFile and tk_getSaveFile commands still exist at the global scope).

* library/tk.tcl: * library/tclIndex: Updated function names for tkFDialog* functions and choosedir functions.

* library/choosedir.tcl: New and improved implementation of tk_chooseDirectory dialog. Based on tk_getOpenFile dialog.

* library/listbox.tcl: (tkListboxCancel) Added a check for empty string value for tkPriv(listboxPrev). Without this check, it's possible to get a stack trace under certain conditions. [Bug: 4373]. check-in: 507a9fe0 user: ericm tags: trunk

2000-03-16
03:21
*** empty log message *** check-in: d20a51d3 user: sven tags: trunk, scriptics-sc-2-0-b1, scriptics-sc-2-0-b2
03:20
* win/tkWinDialog.c: Changed the behavior for the tk_chooseDirectory dialog under Windows. Instead of trying to return the currently selected listbox entry (which didn't work in case the user selected the initial directory anyway), we now return the value shown in the entry. This seems to be in accordance with the expected behavior for this dialog. check-in: dc3926ef user: sven tags: trunk
2000-03-14
20:37
* tests/choosedir.test: Marked test 3.1 and 3.2 as bad until the issue with those tests on IRIX can be determined. check-in: f1a502f3 user: ericm tags: trunk
2000-03-10
22:16
* library/menu.tcl: Applied patch from [Bug: 4155]; protects against grabs on non-viewable windows. check-in: d0a2b371 user: ericm tags: trunk
2000-03-08
20:12
* tests/choosedir.test: Modified test 3.1 (-mustexist works) to be more careful about cleaning up its potentially troublesome after events. check-in: 2e735aab user: ericm tags: trunk
03:19
* tests/button.test: * generic/tkButton.c: Added -disabledforeground/-state to labels. check-in: fc902c50 user: ericm tags: trunk
2000-03-07
22:27
* tests/entry.test: * generic/tkEntry.c (EntrySetValue): malloc the value when validating because validation could cause the pointer to become invalid. Also fixed configure to not trigger focus-based validation. Improved use of Tcl_WrongNumArgs. [Bug: 4320]
check-in: 1717d793 user: hobbs tags: trunk
01:02
* library/menu.tcl: Added a check in tkMenuFirstEntry that changes menu behavior to only auto-post an immediate child cascade if we are currently on a menubar menu. This prevents massive auto-cascading in cases where the first entry of the cascade is itself a cascade, and the first entry of that cascade is a cascade, and the first entry of that cascade is a cascade ... [Bug: 676]. check-in: 6cd36f86 user: ericm tags: trunk
00:09
* generic/tkOldConfig.c: Added check for NULL tkwin value in Tk_ConfigureWidget [Bug: 4079]

* generic/tkWindow.c: Added check for NULL tkwin value in Tk_NameToWindow [Bug: 4079] check-in: 39ba45d6 user: ericm tags: trunk

00:02
Unset err at the end because some other tests use it. check-in: 63f27e98 user: ericm tags: trunk
2000-03-04
01:44
fixed gridding problem check-in: 91b2895d user: ericm tags: trunk
2000-03-03
00:14
Added more tests. check-in: 8f6a4431 user: ericm tags: trunk
2000-03-02
23:53
* tests/color.test: * xlib/xcolors.c (XParseColor FindColor): * win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to return "correct" values for color mapping. [Bug: 4282]
check-in: 715adc7d user: hobbs tags: trunk
23:53
* unix/Makefile.in (SCRIPT_INSTALL_DIR): removed extraneous '/' * unix/aclocal.m4: corrected TCL_NEEDS_EXP_FILE to be 1 for AIX
check-in: ab01cfca user: hobbs tags: trunk
23:52
* tests/color.test: * xlib/xcolors.c (XParseColor FindColor): * win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to return "correct" values for color mapping. [Bug: 4282]
check-in: e7f3273f user: hobbs tags: trunk
23:52
* library/focus.tcl: fixed tkFocusOK to protect $w in uplevel with list. [Bug: 4208]
check-in: 954e2030 user: hobbs tags: trunk
23:52
* win/tkWinInt.h: change extern to EXTERN for TkWinChildProc declaration with extra #defs. [Bug: 4240] * tests/color.test: * xlib/xcolors.c (XParseColor FindColor): * win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to return "correct" values for color mapping. [Bug: 4282]
check-in: b59fd61c user: hobbs tags: trunk
23:52
see log check-in: 81fd969b user: hobbs tags: trunk
23:45
fixed var set problem check-in: 11511c7f user: hobbs tags: trunk
21:53
* doc/CrtItemType.3: fixed docs for Tk_CreateItemType to reflect changes made in 8.3.0 (but old style would still work as well). [Bug: 4252] * doc/entry.n: improved docs discussing caveats and gotchas when mixing textvar with widget validation
check-in: 30d40ed9 user: hobbs tags: trunk
21:52
* generic/tkListbox.c (DestroyListbox): fixed crash in DestroyListbox due to null tkwin. [Bug: 4207]
* tests/entry.test: added test suite for entry validation * doc/entry.n: improved docs discussing caveats and gotchas when mixing textvar with widget validation * generic/tkEntry.c (EntryValidateChange): improved handling of validation with relation to -textvariable. Previously, it would turn off whenever the textvar was set. Now it will it will turn off only when the textvar is set and validation returns 0. Added %V (type of validation occuring) to %-subs to help work with trickier validation.
check-in: a54ba26b user: hobbs tags: trunk
21:52
* tests/config.test: extra test to check object cleanup when destroying the widget * tests/entry.test: added test suite for entry validation
check-in: e96237c5 user: hobbs tags: trunk
03:10
*** empty log message *** check-in: f6c1d00a user: ericm tags: trunk
03:02
* tests/clrpick.test: * library/clrpick.tcl: Added code to make color chooser dialog inherit screen setting from parent (bug #2334) check-in: 5a5744d5 user: ericm tags: trunk
2000-02-26
03:11
* win/tkWinWm.c (RaiseWinWhenIdle): Checked for the possibility that the window could be destroyed (can occur with wm deiconify .toplevel; destroy .toplevel).
check-in: e60a421a user: hobbs tags: trunk
00:51
* generic/tkImgGIF.c: Applied "spirit of" the patch in 1605 (the submitted patch was more complicated than necessary and did not extend to writing GIF's, only reading), to allow reading/writing of GIF files on EBCDIC and other non-ASCII based systems. check-in: 4264008b user: ericm tags: trunk
2000-02-14
22:43
* unix/tk.spec: RPM specification for producing a binary Tk RPM for Linux.

* unix/Makefile.in: Added rpm target to generate Tk binary RPM. check-in: 581a0884 user: ericm tags: trunk

22:00
Fixed handling of -mustexist flag for tk_chooseDirectory. check-in: b4a3ebbf user: ericm tags: trunk
2000-02-10
10:17
cleaned up check-in: 3b789cde user: hobbs tags: trunk, core-8-3-0
10:14
Resolve Conflict with Jeffrey's checkin. check-in: af5b411d user: jingham tags: trunk
09:55
updated changes for 8.3.0 check-in: 18a3d561 user: hobbs tags: trunk
09:00
Comment some functions that have moved. check-in: adffb3ca user: jingham tags: trunk
08:59
Fixes for Tk8.3 check-in: 8f55246c user: jingham tags: trunk
08:55
Add support for Appearance Manager 1.2 Floating windows, and the new window classes in unsupported1 check-in: af32fec5 user: jingham tags: trunk
08:53
* xlib/xgc.c: #def'd out XDrawSegments for the Mac, and added some extra include info for the Mac
check-in: d7616cab user: hobbs tags: trunk
08:53
* unix/tkUnixWm.c (Tk_CoordsToWindow): qualified delete of error handler as the goto label is reached from above and below.
* unix/configure.in: * unix/aclocal.m4: cleaned up macros to coincide with tcl.m4, added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
* unix/README: * unix/Makefile.in (dist): removed porting.notes and porting.old from distribution and CVS. The information was very outdated. Now refer to http://dev.scriptics.com/services/support/platforms.html
check-in: a8e1c740 user: hobbs tags: trunk
08:53
Add support for Appearance Manager 1.2 Floating windows, and the new window classes in unsupported1 check-in: 60c069c9 user: jingham tags: trunk
08:53
* tests/scrollbar.test: fixed check of testmetrics command to allow unix tests to run (testmetrics is mac/pc only)
check-in: cb6eaf6d user: hobbs tags: trunk
08:52
* library/listbox.tcl: * library/text.tcl: added support for <4> and <5> for mousewheel style scrolling on Unix for mice that map to these buttons.
check-in: b344260e user: hobbs tags: trunk
08:52
* generic/tkImgGIF.c (FileReadGIF): added cast for trashBuffer
* generic/tkIntXlibDecls.h: * generic/tkInt.decls: declared some Xlib emulation calls for the Mac
* generic/tkFrame.c (TkInstallFrameMenu): added extra panic to inform user of bad call when framePtr is NULL [Bug: 2530]
* generic/tkMenu.c (DestroyMenuInstance): Placed checks around menu name objects before trying to incr the ref. [Bug: 3402]
* generic/tkTest.c: removed USE_OLD_IMAGE def for Mac
check-in: 73e854b5 user: hobbs tags: trunk
08:52
* generic/tkImgGIF.c (FileReadGIF): added cast for trashBuffer
* generic/tkIntXlibDecls.h: * generic/tkInt.decls: declared some Xlib emulation calls for the Mac
* generic/tkFrame.c (TkInstallFrameMenu): added extra panic to inform user of bad call when framePtr is NULL [Bug: 2530]
* generic/tkMenu.c (DestroyMenuInstance): Placed checks around menu name objects before trying to incr the ref. [Bug: 3402]
* generic/tkTest.c: removed USE_OLD_IMAGE def for Mac
* library/listbox.tcl: * library/text.tcl: added support for <4> and <5> for mousewheel style scrolling on Unix for mice that map to these buttons.
* tests/scrollbar.test: fixed check of testmetrics command to allow unix tests to run (testmetrics is mac/pc only)
* unix/tkUnixWm.c (Tk_CoordsToWindow): qualified delete of error handler as the goto label is reached from above and below.
* unix/configure.in: * unix/aclocal.m4: cleaned up macros to coincide with tcl.m4, added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
* unix/README: * unix/Makefile.in (dist): removed porting.notes and porting.old from distribution and CVS. The information was very outdated. Now refer to http://dev.scriptics.com/services/support/platforms.html
* xlib/xgc.c: #def'd out XDrawSegments for the Mac, and added some extra include info for the Mac
check-in: c36d2281 user: hobbs tags: trunk
08:51
Fix up debugging detritus in previous checkin. check-in: b7985ae2 user: jingham tags: trunk
08:49
Stop hiding the buffer window used for off-screen drawing from the window list. This doesn't really buy us much, and crashes the newest Appearance manager. check-in: 02b9cb10 user: jingham tags: trunk
08:48
Fix typo in the file info, add Finder Balloon help just cause you can. check-in: e49ce1e7 user: jingham tags: trunk
08:47
Minor Doco fixes. check-in: ce507af6 user: jingham tags: trunk
08:46
Stubs for the Apearance manager routines for use with the 68K version of MacTk. This allows me not to conditionalize their use in the real code. check-in: ac73ea70 user: jingham tags: trunk
08:45
The res form of the Drag & Drop Tclets icon. check-in: ebfac725 user: jingham tags: trunk