Tk Source Code

Timeline
Login

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

896 check-ins using file tests/winfo.test version b72a3b9c

2010-02-18
21:36
Fix sh quoting error reported in bash-3.1+ [Bug 1377619] (schafer) Closed-Leaf check-in: 32def19b user: nijtmans tags: core-8-3-1-branch
2003-02-15
01:54
correct HP-UX ia64 --enable-64bit build flags check-in: 9944b13b user: hobbs tags: core-8-3-1-branch
2002-11-22
23:26
* generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped text displays. [Bug #641778]
check-in: bb9b2627 user: hobbs tags: core-8-3-1-branch
2002-10-18
19:49
updated for the 8.3.5 release check-in: bd37197c user: hobbs tags: core-8-3-1-branch, core-8-3-5
19:32
* win/tkWinPort.h (tchar.h): Do not include on Cygwin. (_T): Define for Cygwin. (OPEN_MAX): only define if currently undefined. * win/winMain.c (main): Conditionally define. [Patch #625283] (khan)
* win/configure: Regen. * win/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. (dejong) * 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. [Patch #625283] (dejong)
check-in: d0843606 user: hobbs tags: core-8-3-1-branch
00:48
* tests/imgPhoto.test: * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): fix arg handling for missing -format or -data options. [Bug #624974]
check-in: a8dd4070 user: hobbs tags: core-8-3-1-branch
2002-10-17
23:38
* tests/text.test: properly return the number of * unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732]
check-in: d7b7ea07 user: hobbs tags: core-8-3-1-branch
2002-10-16
01:05
* README: updated to 8.3.5 patchlevel * generic/tk.h: pointed README urls at www.tcl.tk * mac/README: * unix/README: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tk.spec: * win/README: * win/configure: * win/configure.in: * win/tcl.m4:
check-in: cb859e1d user: hobbs tags: core-8-3-1-branch
2002-10-12
00:50
* unix/tkUnixWm.c: (rev. 1.8.1.3) Backported changes for TIP 107 ("Fix the 2-second raise delay") to core-8-3-1-branch [Patch #601518] * tests/unixWm.c (unixWm-51.7): added 200 ms delay after 'raise' and 'lower' commands, since these are now asynchronous. (NB: there may be other regressions, this is the only one I encountered) check-in: 167132dc user: jenglish tags: core-8-3-1-branch
2002-10-10
22:22
* tests/grid.test: * generic/tkGrid.c: The grid size was not updated properly when removing a widget from a grid. [Bug #621241] (forssen)
check-in: 29e9aa6a user: hobbs tags: core-8-3-1-branch
21:02
* 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: e27b87a7 user: hobbs tags: core-8-3-1-branch
07:27
* 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: ec3b7724 user: hobbs tags: core-8-3-1-branch
07:26
* 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: a7efcb8e user: hobbs tags: core-8-3-1-branch
2002-07-25
20:36
* library/tk.tcl (RestoreFocusGrab): handle the case where the FocusGrab info is not set. [Bug #553283]
check-in: b869e591 user: hobbs tags: core-8-3-1-branch
2002-07-24
19:40
* tests/canvas.test: added canvas-14.[1-6] * generic/tkCanvas.c (CanvasWidgetCmd): corrected handling of 'scan' subcommand args. Also removed early return cases to goto done instead where the canvasPtr would be Tcl_Release'd. This may solve other problems with unreleased canvasPtr's. [Bug #581560]
check-in: 27ab72e5 user: hobbs tags: core-8-3-1-branch
2002-07-22
04:08
Set the kNavSupportPackages flag on the tk_getOpenFile dialog so you can choose App packages. check-in: cc070f48 user: wolfsuit tags: macosx-8-4-branch
2002-07-21
20:40
encoding issues, proxy icons check-in: 60df1051 user: vincentdarley tags: macosx-8-4-branch
11:11
encodings, and wm updates check-in: 90b8db63 user: vincentdarley tags: macosx-8-4-branch
2002-07-19
09:28
no console with startup script check-in: e49d2cad user: vincentdarley tags: macosx-8-4-branch
09:22
Jim's patch for encodings check-in: 2b8127b6 user: vincentdarley tags: macosx-8-4-branch
2002-07-18
23:45
encodings, events check-in: 89cc0ef3 user: vincentdarley tags: macosx-8-4-branch
09:35
key event problems - no static check-in: 0c136688 user: vincentdarley tags: macosx-8-4-branch
09:34
menu glyphs check-in: a4fb19e4 user: vincentdarley tags: macosx-8-4-branch
2002-07-16
14:35
encodings, menu glyphs check-in: d052d789 user: vincentdarley tags: macosx-8-4-branch
14:32
button and menubutton encodings check-in: 0658c567 user: vincentdarley tags: macosx-8-4-branch
14:32
menu encodings and menu glyphs check-in: 9a2338b5 user: vincentdarley tags: macosx-8-4-branch
2002-06-28
22:30
Fixed a bug in TkSelGetSelection - the data was never actually retrieved from the clipboard. Thanks to Brian Gottlieb for this one! check-in: 668056ce user: wolfsuit tags: macosx-8-4-branch
2002-06-22
08:52
* library/console.tcl: corrected the defaultPrompt substitution [Bug #553207] and made Tab a default expansion key (like Escape).
check-in: 9b2253cb user: hobbs tags: core-8-3-1-branch
2002-06-21
20:27
* Removed unnecessary dependence of tktest executable on the tcltest executable on Unix. If there are similar dependencies on other platforms, they can probably be removed as well. [Bug 572134].
check-in: 77ec5df6 user: dgp tags: core-8-3-1-branch
2002-06-15
03:02
deleted stray character check-in: 7d13c7db user: dgp tags: core-8-3-1-branch
2002-06-13
21:35
* tests/unixWm.test: * tests/wm.test: Move wm minsize and wm maxsize usage tests into the cross platform wm tests.
check-in: 52e7d297 user: mdejong tags: trunk
15:31
* tests/cursor.test: corrected error after cursor-2.2. * tests/defs.tcl: Added enhancements to Tk's fake version of tcltest required by recent cursor.test changes.
check-in: 2fcc76d8 user: dgp tags: trunk
09:46
Refixed cursor handling on Windows, and added tests to enforce it. check-in: 4cbec300 user: dkf tags: trunk
06:33
* changes: Clearly label wm transient changes as a POTENTIAL INCOMPATIBILITY. * doc/wm.n: Remove "some window managers will" text and explicitly state what behavior a transient window will display. Also mention that it is an error to make a window a transient of itself.
check-in: 15f78072 user: mdejong tags: trunk
06:17
* library/choosedir.tcl (tk::dialog::file::chooseDir): * library/clrpick.tcl (tk::dialog::file::chooseDir): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog): Remove the transient property on dialogs after they have been dismissed to insulate them from further state changes in the master. This keeps a withdrawn dialog from being mapped when the master is deiconified. [Tk patch 568278]
check-in: e3449e31 user: mdejong tags: trunk
2002-06-12
23:39
* win/tkWinCursor.c (TkGetCursorByName): reverted fix from 2002-06-06 because it broke the ability to use built-in cursors like left_ptr.
check-in: 9dee7eed user: hobbs tags: trunk
23:26
mention Tk patch id check-in: 56735136 user: mdejong tags: trunk
23:08
* library/choosedir.tcl (tk::dialog::file::chooseDir): * library/clrpick.tcl (tk::dialog::color): * library/dialog.tcl (tk_dialog): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog_Create): Only make the dialog window a transient if the master is visible. This check already appeared in some of the dialogs. This patch just copies the check into those that were lacking.
check-in: 627fc4df user: mdejong tags: trunk
19:02
* changes: Add note about new transient behavior. * tests/unixWm.test: Check that the WM_TRANSIENT_FOR property for a transient window is being cleared when the master is destroyed. * tests/wm.test: Source defs.tcl instead of using tcltest to match the rest of Tk's test files. Add new tests that ensure that a transient's state mirrors the state of the master. * unix/tkUnixWm.c (WmInfo, TkWmNewWindow, TkWmMapWindow, TkWmDeadWindow, Tk_WmCmd, WmWaitMapProc): Add numTransients member to WmInfo structure. Keep state of master and transient in sync using a callback that tracks MapNotify and UnmapNotify events. When the master is mapped, map the transient. When the master is unmapped or iconified, withdraw the transient. * win/tkWinWm.c (TkWmMapWindow, TkpWmSetState, TkWmDeadWindow, Tk_WmCmd, WmWaitVisibilityOrMapProc): Keep state of master and transient in sync using a callback that tracks MapNotify and UnmapNotify events. Move masterPtr check from TkpWmSetState into TkWmMapWindow to deal with WM_NEVER_MAPPED transients. Cleanup numTransients and the callback in TkWmDeadWindow. Cleanup numTransients and the callback only after deleting a master in wm transient command to avoid deleting the callback when an error is raised. Add support for MapNotify and UnmapNotify events to the master callback.
check-in: b05e1154 user: mdejong tags: trunk
03:37
Added help & toolbar style windows to the unsupported MacWindowStyle command. check-in: 8cbba4f3 user: wolfsuit tags: macosx-8-4-branch
2002-06-11
18:59
fix for bug report #530212 "Bad Window Path Name in tkMenuFind" check-in: ec3df486 user: jenglish tags: trunk
08:25
D'oh! Next time, I should at least check I've got the variable names right. check-in: 490767a8 user: dkf tags: trunk
2002-06-10
22:45
Fixed a win98 issue where the /exclude option for xcopy is unsupported. Reported by Roy Terry <[email protected]>. check-in: 1307a5e4 user: davygrvy tags: trunk
05:38
Merging with TOT as of 06/09/2002. check-in: c4cf2ab6 user: wolfsuit tags: macosx-8-4-branch
05:07
Adding missing files from TOT merge. check-in: 3150ac3a user: wolfsuit tags: macosx-8-4-branch
00:15
Added "magic ampersand" approach for translated strings in standard dialogs. All translations were modified to work with "magic ampersand". Russian translations added. check-in: f34dcf01 user: a_kovalenko tags: trunk
2002-06-09
09:07
* library/bgerror.tcl (tk::dialog::error::bgerror): Don't set the bgerror dialog as a transient of itself since this operation is ill defined.
check-in: 70bae675 user: mdejong tags: trunk
2002-06-06
20:41
Cursor name parsing was quite broken compared with Unix; cursor names are supposed to be first-and-foremost a list... check-in: a146a14f user: dkf tags: trunk
01:09
Make non-default buttons in messagebox have -default normal check-in: a07f013b user: a_kovalenko tags: trunk
2002-06-05
22:11
* unix/tkUnixFont.c (Tk_DrawChars): Don't assume that one char is always one byte, and that required subfont for the last character in any string is the same as for the previous character [Bug #559435] [Patch #559437] check-in: bc358b93 user: a_kovalenko tags: trunk
2002-05-27
22:54
* changes: Document [wm transient .t .t] error. * tests/wm.test: Check that setting a window as a transient of itself raises an error. Check that passing a non-toplevel window to the wm transient command uses the enclosing toplevel. * unix/tkUnixWm.c (Tk_WmCmd): Raise an error if the user tries to make a toplevel a transient of itself. * win/tkWinWm.c (Tk_WmCmd): Raise an error if the user tries to make a toplevel a transient of itself. Test for other error before checking for the transient self error.
check-in: c9b836ac user: mdejong tags: trunk
20:34
* unix/tkUnixWm.c (WmInfo, TkWmCleanup, TkWmNewWindow, TkWmMapWindow, TkWmDeadWindow, Tk_WmCmd): Replace WmInfo's master and masterWindowName members with a masterPtr member. This implementation is much simpler and mirrors the Win32 implementation. This change makes it easy to check the flags of the master window. No user visible changes.
check-in: 13269e5d user: mdejong tags: trunk
19:49
* generic/tkInt.decls: Add unix decl for TkpWmSetState. * generic/tkIntPlatDecls.h: Regen. * generic/tkStubInit.c: Regen. * tests/wm.test: Test state changes between iconic, normal, and withdrawn both before and after initial mapping. * unix/tkUnixWm.c (Tk_WmCmd, TkpWmSetState): Move state change code into TkpWmSetState to more closely match the Win32 implementation. No functional changes.
check-in: 4f8883ed user: mdejong tags: trunk
17:33
* tests/embed.test: Added cross platform embed tests. Check that window passed to -use has the -container option set. * tests/wm.test: Remove useless catch call. Deiconify . just in case, stackorder tests will not pass unless it is in the normal state. Add -container flag to embedded stackorder test. * unix/tkUnixEmbed.c (TkpUseWindow): * win/tkWinEmbed.c (TkpUseWindow): Lookup Tk window based on the id passed in as the value for -use. Generate an error if the Tk window did not have the -container option set.
check-in: 45a2053f user: mdejong tags: trunk
2002-05-26
09:25
When creating a radiobutton with -value "" it was not drawn properly if the -variable was created by the radiobutton. [Bug #548765] check-in: 43f195e2 user: pspjuth tags: trunk
09:09
Negative coordinates were rounded badly causing a 1 pixel displacement. [Bug #556526] check-in: b0bf63ff user: pspjuth tags: trunk
2002-05-24
09:50
* mac/tkMacWm.c (Tk_WmCmd): * tests/unixWm.test: Move wm transient checks over to wm.test so they will be run on all systems. * tests/wm.test: Add tests to check for error when an iconwindow is passed to the wm transient command. * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): Raise an error if one of the windows passed to the wm transient command is an iconwindow for another toplevel.
check-in: 7e89e7df user: mdejong tags: trunk
2002-05-23
19:55
* mac/tkMacWm.c (TkWmStackorderToplevelWrapperMap): * tests/wm.test: Add embedded Window test case for the stackorder command. * unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap): * win/tkWinWm.c (TkWmStackorderToplevelWrapperMap): Ignore embedded windows during wm stackorder command.
check-in: 847f6d25 user: mdejong tags: trunk
2002-05-21
18:27
* unix/configure: Regen. * unix/configure.in: Invoke SC_ENABLE_SHARED before calling SC_CONFIG_CFLAGS so that the SHARED_BUILD variable can be checked inside SC_CONFIG_CFLAGS. * unix/tcl.m4: Update from Tcl.
check-in: 68351a45 user: mdejong tags: trunk
2002-05-20
13:59
* A little namespace cleanup on Daniel Steffen's latest revisions to avoid defining new global commands.
check-in: fb357b06 user: dgp tags: trunk
12:30
* mac/tkMacInit.c: * mac/tkMacTclCode.r: include msgcat package in resources as bgerror depends on it. Restores ability of mac static build to run standalone (except for encoding file issues).
check-in: 239e9534 user: das tags: trunk
12:29
* mac/tkMacInit.c: * mac/tkMacResource.r: include msgcat package in resources as bgerror depends on it. Restores ability of mac static build to run standalone (except for encoding file issues).
check-in: 81be88a9 user: das tags: core-8-3-1-branch
10:21
* mac/tkMacInit.c: * library/console.tcl: * library/tk.tcl: fix tk.tcl not sourcing library files that define bindings at startup on mac. (independent of tk library files being in resources or on auto_path)
check-in: 31190a2d user: das tags: trunk
2002-05-08
05:13
* Cleaned up namespace usage of the bgerror dialog. Completes soft dependence on msgcat. [FR 539309]
check-in: 65a039e3 user: dgp tags: trunk
02:23
no message check-in: 4a955520 user: davygrvy tags: trunk
02:22
Problem with TCLDIR macro not accepting forward slash path seperators resolved. Added the same logic to INSTALLDIR, too. [Bug #553208] check-in: e3c32ab9 user: davygrvy tags: trunk
2002-05-03
07:46
new feature, make dependence on msgcat soft, [539309] check-in: 09d2e17e user: bagnonm tags: trunk
2002-04-29
13:17
new feature, make dependence on msgcat soft, [539309] check-in: 21bd7676 user: bagnonm tags: trunk
2002-04-26
19:32
* unix/configure: * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so that the .sl knows its dependent libs.
check-in: e6310244 user: hobbs tags: trunk
19:31
* unix/configure: * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so that the .sl knows its dependent libs.
check-in: 142b4776 user: hobbs tags: core-8-3-1-branch
16:35
namespacing ::tk message catalogs, bug [546333] check-in: 51b1ef6e user: bagnonm tags: trunk
2002-04-23
14:28
* mac/tkMacTclCode.r: * mac/tkMacResource.r: added check of TCLTK_NO_LIBRARY_TEXT_RESOURCES #define to allow disabling the inclusion of the tk library code in the resource fork of Tk executables and shared libraries. Moved tk library code inclusion to separate file like in tcl. Added 'panedwindow' resource.
check-in: a91520a8 user: das tags: trunk
00:48
* library/button.tcl (ButtonLeave): corrected the 3 implementations of ButtonLeave to check for Priv(relief) existing before trying to use it. [Patch #541849]
check-in: d1bda72e user: hobbs tags: trunk
00:20
* generic/tkTextDisp.c (DisplayLineBackground): * unix/tkUnix3d.c (Tk_3DHorizontalBevel): * unix/tkUnixFont.c (Tk_DrawChars): applied fixes to not overrun the X window 16-bit size limit. [Patch #541999] (bonfield)
check-in: 6e46333e user: hobbs tags: trunk
00:20
corrected runtest target dependencies check-in: 7ebd909a user: hobbs tags: trunk
2002-04-22
12:45
Fix for Bug 223739 to get rid of floating point equality test.

Sorry for delaying this fix for months; I hadn't noticed that it had been reviewed! check-in: e382bf93 user: dkf tags: trunk

2002-04-19
22:16
Fix for [ 539903 ] Doc error for "-message" check-in: b3a3dabf user: jenglish tags: trunk
2002-04-18
22:22
updated dependencies for runtest and backported shell/gdb targets check-in: 2d0af1c2 user: hobbs tags: core-8-3-1-branch
2002-04-16
11:51
fixed translation of yes from si to "s\u00ed" check-in: d0b746e0 user: bagnonm tags: trunk
11:43
Modifed the translation of Yes from "Si" to "S\u00ed" check-in: 4ec0f20a user: bagnonm tags: trunk
11:41
new feature request, 539309 make dependence on msgcat "soft" msgcat procedures as used in tk defined in case the package is not available. check-in: 5dc2a760 user: bagnonm tags: trunk
2002-04-12
10:21
see ChangeLog check-in: 784c41c3 user: hobbs tags: trunk
10:20
* generic/tkWindow.c (TkCloseDisplay): Added to centralize where a display was closed. This handles freeing memory associated with a display and closing it. (DeleteWindowsExitProc): actually close displays. This would also ideally be done in Tk_DestroyWindow when the last window on the display has been closed, but that still has unresolved order of cleanup problems. (Tk_DestroyWindow): added TkFocusFree call.
check-in: 2a25e43a user: hobbs tags: trunk
10:20
* unix/tkUnixEvent.c (TkpCloseDisplay): call TkSendCleanup and TkWmCleanup.
check-in: 70e0be59 user: hobbs tags: trunk
10:19
unix/tkUnixSend.c (TkSendCleanup): free send-related resources check-in: 1a89aadd user: hobbs tags: trunk
10:10
* generic/tkStubInit.c: * generic/tkIntPlatDecls.h: * generic/tkIntDecls.h: * generic/tkInt.decls: added TkFocusFree, TkClipCleanup and TkGCCleanup generic private procs, and TkWmCleanup, TkSendCleanup and TkFreeXId unix private procs.
check-in: 0a02e1b5 user: hobbs tags: trunk
10:06
* generic/tkInt.h: * unix/tkUnixXId.c (TkFreeXId): frees XID resources. Made idCleanupScheduled a Tcl_TimerToken (was int) in TkDisplay structure to allow us to delete the timer scheduled for it.
check-in: e28c2458 user: hobbs tags: trunk
10:03
generic/tkFocus.c (TkFocusFree): frees TkMainInfo data check-in: dc644f1a user: hobbs tags: trunk
10:03
generic/tkClipboard.c (TkClipCleanup): frees TkDisplay data check-in: be926d02 user: hobbs tags: trunk
10:02
* generic/tkGC.c (TkGCCleanup): frees TkDisplay data
check-in: a74f209d user: hobbs tags: trunk
10:01
* unix/tkUnixWm.c (TkWmStackorderToplevel): ensure children structure is freed. (ConfigureEvent, ComputeReparentGeometry): Add extra wm tracing info (TkWmRestackToplevel): initialize changes to 0 to prevent UMR. Use WaitForConfigureNotify on all windows. This part still requires fixing as it is the root of the 2 second raise delay on some window managers (those that use extra wrapper windows of their own).
check-in: c030dfcc user: hobbs tags: trunk
09:21
* unix/tkUnixSelect.c (SelRcvIncrProc): added missing Tcl_Release of interp
check-in: a81f42d8 user: hobbs tags: trunk
09:18
remove eof whitespace check-in: ee96a036 user: hobbs tags: trunk
07:44
* generic/tkGet.c (FreeUidThreadExitProc): free thread-specific resources on thread exit
check-in: 2a680ffe user: hobbs tags: trunk
07:36
see ChangeLog check-in: 306900e6 user: hobbs tags: trunk
07:35
* unix/tkUnixFont.c (FontPkgCleanup): cleanup thread specific font resources on thread exit.
check-in: bfad6912 user: hobbs tags: trunk
07:31
* mac/tkMacXStubs.c (TkpOpenDisplay): memset the initial display structures to 0.
check-in: 7fa86349 user: hobbs tags: trunk
07:29
* generic/tkOption.c (OptionThreadExitProc): freed tsd option stacks on thread exit. (Tk_GetOption): free mem used to get Tk_Uid
check-in: 0dd94284 user: hobbs tags: trunk
07:28
generic/tkMenu.c (ConfigureMenu): freed saved options in all error cases check-in: 41add738 user: hobbs tags: trunk
07:19
* win/tkWinX.c (Tk_SetCaretPos): remove WM_IME_STARTCOMPOSITION and place the IME position within Tk_SetCaretPos. Cache results in Tk_SetCaretPos to reduce unnecessary repositioning. Also call DestroyCaret if we receive WM_KILLFOCUS. (TkpOpenDisplay): ZeroMemory the initial display structures. (TkWinGetUnicodeEncoding): Added so that Windows only needs to cache this value one, and then free it in TkWinXCleanup. (HandleIMEComposition): add support for Win98 and ATOK13 IME. (yamamoto)
check-in: 584decd8 user: hobbs tags: trunk
07:18
* win/tkWinInt.h: declaration for TkWinGetUnicodeEncoding * win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding * win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding * win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static unicodeEncoding.
check-in: ca09d556 user: hobbs tags: trunk
06:51
* generic/tkConsole.c (ConsoleCmd): correct return that should have just set result code.
check-in: cf56e1f2 user: hobbs tags: trunk
06:48
* generic/tkImgPhoto.c: Added PhotoFormatThreadExitProc to clean up on thread exit. (Tk_PhotoPutBlock) slight code updates
check-in: a3ea3bda user: hobbs tags: trunk
06:37
* win/configure: * win/tcl.m4: Enabled COFF as well as CV style debug info with --enable-symbols to allow Dr. Watson users to see function info. More info on debugging levels can be obtained at: http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
check-in: a38bcfe0 user: hobbs tags: trunk
06:37
* generic/tkPanedWindow.c (DestroyPanedWindow, ConfigureSlaves): fix mem leaks in not freeing slave info
check-in: 06ce9ee5 user: hobbs tags: trunk
06:35
* win/configure: * win/tcl.m4: Enabled COFF as well as CV style debug info with --enable-symbols to allow Dr. Watson users to see function info. More info on debugging levels can be obtained at: http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
check-in: 0943b7b5 user: hobbs tags: core-8-3-1-branch
06:34
remove eof whitespace check-in: 46fd7306 user: hobbs tags: core-8-3-1-branch
2002-04-10
19:56
fixed copyright notice check-in: 63e855e6 user: hobbs tags: trunk
19:39
* doc/wm.n: * mac/tkMacWm.c: * tests/wm.test: * unix/tkUnixWm.c: * win/tkWinWm.c: Update wm stackorder usage message to make it clear that either 1 or 3 arguments are required. [Bug 540013]
check-in: 6a63d1d7 user: mdejong tags: trunk
18:05
no message check-in: 460fcd1d user: davygrvy tags: core-8-3-1-branch
18:04
Added a special rule for tkStubImg.c so it always is built with _DSTATIC_BUILD for use in the Stubs library. check-in: dd4ad8bd user: davygrvy tags: core-8-3-1-branch
17:59
no message check-in: ed6f3fcf user: davygrvy tags: core-8-3-1-branch
17:57
Added missing $(TKSTUBLIB) to install-binaries target. check-in: b848e7c7 user: davygrvy tags: core-8-3-1-branch
2002-04-08
22:03
TkpScanWindowId: added (char *) cast to Tcl_GetInt to prevent build warning check-in: 67c2c55d user: hobbs tags: core-8-3-1-branch
09:04
2002-04-08 Daniel Steffen <[email protected]>
* mac/tkMacProjects.sea.hqx: added tkPanedWindow.c to projects * mac/tkMacAppInit.c: fixes to MSL stdin/stdout hookup to the TkConsole when using shared MSL libraries; fix for crashing bug on exit: writing to stdin/sterr when console has already been destroyed. (both fixes need support in MSL, see 'CW Pro6 changes' in tcl/mac/tcltkMacBuildSupport.sea.hqx) * mac/tkMacDialog.c: fixes to Navigation Services Dialog filter. * mac/tkMacDraw.c: add panic for overwide TkImages that would crash Tk on mac otherwise.
check-in: 5243baf1 user: das tags: trunk
09:00
2002-04-08 Daniel Steffen <[email protected]>
* generic/tkInt.h: * mac/tkMacAppInit.c: fixes to MSL stdin/stdout hookup to the TkConsole when using shared MSL libraries; fix for crashing bug on exit: writing to stdin/sterr when console has already been destroyed. (both fixes need support in MSL, see 'CW Pro6 changes' in tcl/mac/tcltkMacBuildSupport.sea.hqx) * mac/tkMacDialog.c: fixes to Navigation Services Dialog filter. * mac/tkMacDraw.c: add panic for overwide TkImages that would crash Tk on mac otherwise.
check-in: db8e7e00 user: das tags: core-8-3-1-branch
2002-04-06
01:02
update to head Closed-Leaf check-in: 316acd40 user: hobbs tags: core-8-4-win-speedup
2002-04-05
08:43
* win/tkWinButton.c (TkpDisplayButton): * generic/tkTextMark.c (TkTextInsertDisplayProc): * generic/tkCanvText.c (DisplayCanvText): * generic/tkEntry.c (DisplayEntry): added Tk_SetCaretPos calls.
check-in: eb1f6c15 user: hobbs tags: trunk
08:41
* win/Makefile.in: changed gdb and shell targets to properly build all binaries before running (otherwise an error often occured).
check-in: 732f078d user: hobbs tags: trunk
08:41
* unix/tkUnixWm.c (CreateWrapper): Removed redundat setting of inputContext to null.
check-in: 8f60243f user: hobbs tags: trunk
08:41
* unix/tkUnixEvent.c: * generic/tkWindow.c: moved OpenIM over to tkUnixEvent.c. Removed setting inputContext to null in Tk_MakeWindowExist as it was redundant.
check-in: 7ef7ea81 user: hobbs tags: trunk
08:41
* generic/tkInt.h: added TK_XIM_SPOT #define (default 1). Added XFontSet attribute to TkDisplay when TK_XIM_SPOT is true. * generic/tkEvent.c (Tk_HandleEvent): made sure inputContexts are not getting created on DestroyNotify events (for dead windows). Added over-the-spot support if TK_XIM_SPOT is defined (default). The is the nicer XIM behavior, but uses a bit more memory.
check-in: e1e658ed user: hobbs tags: trunk
08:40
* win/tkWinX.c: added Tk_SetCaretPos code to position IME windows correctly when WM_IME_STARTCOMPOSITION is received.
check-in: 82d048b4 user: hobbs tags: trunk
08:38
* unix/tkUnixKey.c: added Tk_SetCaretPos and code for setting XIM caret in TkpGetString.
check-in: 43c3adf1 user: hobbs tags: trunk
08:38
* generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: added Tk_SetCaretPos declaration. This command allows users to indicate the cursor position and is used by XIM (Unix) or IME (Windows) to place the caret box correctly. It is also part of correct Accessibility style on Windows to make the magnifier jump to the focus point.
check-in: 77622211 user: hobbs tags: trunk
08:37
added Tk_SetCaretPos stub (does nothing) check-in: a1d26b8a user: hobbs tags: trunk
2002-04-03
19:26
Dopey typo changing from MAC_OSX_TCL to MAC_OSX_TK. check-in: 2bcab34f user: wolfsuit tags: macosx-8-4-branch, macosx-premerge-6-9-02
2002-04-02
20:57
sync with head check-in: 4d8abcfa user: hobbs tags: core-8-4-win-speedup
2002-03-29
04:14
small lint in comments/docs. check-in: dcc45900 user: davygrvy tags: trunk
03:56
no message check-in: 5a1a8ac3 user: davygrvy tags: trunk
03:55
updated to match Tcl check-in: c22ae872 user: davygrvy tags: trunk
03:55
small cruft check-in: 44b9cc58 user: davygrvy tags: trunk
02:26
no message check-in: c09e4490 user: davygrvy tags: trunk
02:25
Changed topic from "Tcl Built-In Commands" to "Tk Built-In Commands" check-in: 5f997bf9 user: davygrvy tags: trunk
01:27
ack! fixed big typo. check-in: cbf3fc84 user: davygrvy tags: trunk
01:18
* win/makefile.vc: Tk helpfile is now installing itself into Tcl's contents file as part of the install target and rebuilding the contents table as desired. [Bug 527941]
check-in: 4a326cb1 user: davygrvy tags: trunk
01:18
no message check-in: a9911c2a user: davygrvy tags: trunk
2002-03-28
23:29
fixed double use of $(ldebug) check-in: 0d5bdb02 user: davygrvy tags: trunk
23:23
* win/.cvsignore (new): * win/lamp.bmp (new): * win/makefile.vc: * win/nmakehlp.c (new): * win/rules.vc: Brought the makefile up-to-date with Tcl's one. This now has support for Win9x issues and the winhelp target now exists. Color scheme can be changed. I'm just imparting a first suggestion using orange :) I'll have to think about the install portion of the helpfile as I'll need to do some tricks to insert tk's contents file into Tcl's using some special winhlp32.exe switches. [Bug 533862 527941]
check-in: 8bb6331b user: davygrvy tags: trunk
23:22
no message check-in: 3fd600e2 user: davygrvy tags: trunk
16:38
* Ran 'autoconf' - forgotten when bump to 8.4a5.
check-in: 29631cf7 user: dgp tags: trunk
2002-03-27
00:14
* unix/tkUnixFont.c: Added inclusion of <arpa/inet.h>. This fixes a GCC/HPUX problem with missing a "htons". See also "tclUnixPort.h" for equivalent code. check-in: 5569e94a user: andreas_kupries tags: trunk
2002-03-26
23:47
* unix/tkUnixFont.c: Added inclusion of <arpa/inet.h>. This fixes a GCC/HPUX problem with missing a "htons". See also "tclUnixPort.h" for equivalent code. check-in: 78e1d67d user: andreas_kupries tags: core-8-3-1-branch
20:13
Changed bitmap_bit_order to LSBFirst in XCreateImage (bug 481255) check-in: c1a533e1 user: chengyemao tags: trunk
02:31
* unix/Makefile.in: added shell and gdb targets, prevent tkIntXlibDecls.h header from being installed by install-libraries. * unix/configure: * unix/configure.in: backported improved AIX build support from 8.4. * unix/tcl.m4: backported 8.4 changes to HP-UX, IRIX64-6.*, SunOS, FreeBSD, AIX and Darwin targets. Updated SC_LOADTCLCONFIG to detect when we build against a Tcl build dir. Compile with -DUSE_TCL_STUBS in the shared case.
check-in: cccffb16 user: hobbs tags: core-8-3-1-branch
2002-03-21
17:51
no message check-in: e7846a4c user: davygrvy tags: trunk
17:48
fix for bug #528441. max optimize seems to cause problems for some folks. check-in: 6542bf33 user: davygrvy tags: trunk
2002-03-20
22:55
* Updates to handle change in type of part2 argument of Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].
check-in: 1b7558e2 user: dgp tags: trunk
02:59
* generic/tkOldConfig.c (Tk_ConfigureValue): prevent leaving interp->result as NULL.
check-in: 0761a174 user: hobbs tags: trunk
02:58
* generic/tkOldConfig.c (Tk_ConfigureValue): prevent leaving interp->result as NULL.
check-in: fabd7d30 user: hobbs tags: core-8-3-1-branch
2002-03-14
10:19
Typo fix check-in: 65213b9b user: dkf tags: trunk
2002-03-07
11:49
Middle button no longer double pastes into text! Also cleaned some code up. check-in: 265e5387 user: dkf tags: trunk
02:08
* win/tkWinX.c: Define _WIN32_IE as 0x0300 before including commctrl.h so that we can access the InitCommonControlsEx API when building Tk with mingw.
check-in: c524eb8b user: mdejong tags: trunk
2002-03-06
18:54
Added win/rc/wish.exe.manifest to the dist target. Noted missing by Ryan Casey. check-in: a5bf10bd user: davygrvy tags: trunk
15:36
Bumped patchlevel; might need changing in the future, but it makes life easier for now. check-in: 74728011 user: dkf tags: trunk
2002-03-05
21:15
adjust 8.4a4 release tag check-in: 87c6b935 user: hobbs tags: trunk, core-8-4-a4
20:34
added --* options docs check-in: c4bdd0d1 user: hobbs tags: trunk
20:33
fixed URL refs check-in: 57735fa4 user: hobbs tags: trunk
19:44
Added win/rules.vc and included the use of eolFix to make sure they have the correct <EOL> for the dist target. eolFix is in tcl's tools/ dir, and $(TOOL_DIR) correctly refers there. check-in: 81df79ec user: davygrvy tags: trunk
2002-03-04
23:34
8.4a4 tagged for release check-in: 4b3778be user: hobbs tags: trunk
23:31
updated to use www.tcl.tk URL check-in: c57468da user: hobbs tags: trunk
07:36
added catch around Triple-1 binding use of sel.last check-in: 0c300c86 user: hobbs tags: trunk
2002-03-02
23:37
nroff macro fix check-in: 535a0254 user: hobbs tags: trunk
04:03
updated changes for 8.4a4 release check-in: f5323b7f user: dgp tags: trunk
2002-03-01
00:04
* library/console.tcl (ConsoleBind): Corrected console <<Paste>> binding on Unix platforms.
check-in: 2187fed2 user: dgp tags: trunk
00:03
* library/console.tcl (tkConsoleBind): Corrected console <<Paste>> binding on Unix platforms.
check-in: f496d55d user: dgp tags: core-8-3-1-branch
2002-02-27
04:36
see ChangeLog check-in: f53bf46b user: hobbs tags: trunk
04:19
Updated changes file to reflect no 8.3.5 release before 8.4a4. Still need to add the changes of the last few days. check-in: b435fff1 user: dgp tags: trunk
01:26
* generic/tkWindow.c (Tk_MainWindow, Tk_GetNumMainWindows): protect against being called before Tcl stubs are init'ed. [Bug #220916] (porter)
check-in: 82f58032 user: hobbs tags: trunk
01:25
updated from Tcl check-in: 715a3c0d user: hobbs tags: trunk
2002-02-26
01:58
* generic/tkText.c (ConfigureText): reenable the blinking cursor on state change where necessary. [Bug #503772]
check-in: 9324c345 user: hobbs tags: core-8-3-1-branch
01:58
* generic/tkText.c (ConfigureText): reenable the blinking cursor on state change where necessary. [Bug #503772]
check-in: 96722a88 user: hobbs tags: trunk
01:16
* tests/listbox.test: * generic/tkListbox.c: corrected error handling when setting to an invalid listvar value. [Bug #503613]
check-in: 9a82d3f0 user: hobbs tags: core-8-3-1-branch
01:07
* tests/listbox.test: * generic/tkListbox.c: corrected error handling when setting to an invalid listvar value. [Bug #503613]
check-in: fdb66fb6 user: hobbs tags: trunk
01:07
* library/scale.tcl: mirror B2 bindings to B3 on Windows to better accomodate two button mice. [Patch #493145]
check-in: b405f649 user: hobbs tags: trunk
01:06
improved proxy sash handling. (boudaillier) check-in: a0cb7320 user: hobbs tags: trunk
2002-02-25
15:26
Improvements to filebox tests (including two fixes due to changed behaviour dating from 2001-12-14) check-in: cfe79a6b user: dkf tags: trunk
2002-02-23
22:52
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl.
check-in: 8603d4e4 user: mdejong tags: trunk
01:36
Added proc comments. Made configuring sash cursor more efficient. Added Cursor timer that restores the default cursor when pointer is no longer over the sash. This is necessary because Leave events won't be seen when moving into a paned child.
check-in: 2d1015fa user: hobbs tags: trunk
2002-02-22
21:07
see ChangeLog check-in: 6dfe5615 user: hobbs tags: trunk
21:07
* library/panedwindow.tcl (ReleaseSash): changed to not pass x and y args at all (they aren't used).
check-in: be4ab9b6 user: hobbs tags: trunk
21:07
* generic/tkPanedWindow.c (PanedWindowWidgetObjCmd): fixed returns that should have been breaks instead. Corrected .pw configure handling for insufficient args. [Patch #521436] (boudaillier)
check-in: 0365cfe1 user: hobbs tags: trunk
21:07
changed panedwindow default relief to flat check-in: 8383ba35 user: hobbs tags: trunk
20:15
noted new files check-in: 5dd7bfc4 user: dgp tags: trunk
14:07
Fixed panedwindow binding bugs and added demos for it too. check-in: 6cb4e627 user: dkf tags: trunk
13:13
Stop GCC from issuing warnings about things that don't matter. check-in: d1201e4f user: dkf tags: trunk
02:41
TIP #41 implementation, panedwindow [Patch #512503] (melski) check-in: 7314a88b user: hobbs tags: trunk
01:58
* generic/tkOption.c (ReadOptionFile): fixed Tcl_Seek casting to remove warnings (we expect no option files with be > 2GB).
check-in: d45de154 user: hobbs tags: trunk
01:34
* unix/configure: regenerated * unix/tcl.m4: updated to sync with Tcl's tcl.m4
check-in: f9578e33 user: hobbs tags: trunk
2002-02-20
02:56
* First draft of updated changes for 8.4a4 release.
check-in: ac867c72 user: dgp tags: trunk
02:54
overlooked change check-in: fbff8c54 user: dgp tags: core-8-3-1-branch
2002-02-19
16:30
Minor fixes as part of TIP#72 (and one just noticed in passing) check-in: c4b19865 user: dkf tags: trunk
14:05
tkImgGIF.c was not following the Tcl C style; fixed... check-in: ec11486c user: dkf tags: trunk
01:13
see ChangeLog check-in: d814e3f1 user: hobbs tags: trunk
01:06
* unix/configure: regen'd * unix/tcl.m4: * unix/configure.in: added macros and calls to SC_TCL_EARLY_FLAGS and SC_TCL_64BIT_FLAGS, part of TIP #72.
check-in: 091079f1 user: hobbs tags: trunk
2002-02-18
06:31
* First draft of updates to changes for 8.3.5.
check-in: b54d19a2 user: dgp tags: core-8-3-1-branch
2002-02-15
22:07
* library/entry.tcl: * library/text.tcl: Adjust <Double-1> and <Triple-1> bindings so that no anchor point is set and the insertion cursor is set to the last character in the selection. [Bug 220943] * tests/event.test: Add test cases for double click and drag as well as triple click and drag in the text and entry widgets.
check-in: df385857 user: mdejong tags: trunk
05:48
* library/entry.tcl: * library/text.tcl: Adjust <Double-1> and <Triple-1> bindings so that no anchor point is set and the insertion cursor is set to the last character in the selection. [Bug 220943] * tests/event.test: Add test cases for double click and drag as well as triple click and drag in the text and entry widgets.
check-in: a938c425 user: mdejong tags: trunk
2002-02-14
12:13
* tests/event.test (_text_ind_to_x_y, _get_selection): Fix incorrect use of results from bbox invocation so that y center point for a give index is calculated correctly. Add new method to return the selection and use it in test cases. Always lappend to the result list to avoid case where initial result includes a space.
check-in: b14fadab user: mdejong tags: trunk
2002-02-08
02:57
* modified some callers of Tcl routines that were restored to return (char *) pointing into Tcl_DStrings.
check-in: f49c1699 user: dgp tags: trunk
2002-02-06
07:02
Fix bug #513222. We were acting on the menu after the post event without checking to see whether the menu event had deleted the menu. check-in: 89fb6206 user: wolfsuit tags: macosx-8-4-branch
2002-02-05
02:25
Merge with current TOT Added support for the wm stackorder command Fixed crash when selecting Menu items in the Application menu that we didn't put there. Added first bits of the use of CG for low-level drawing. The line-drawing works, the rest doesn't yet. You have to set the file static useCGDrawing to 1 and rebuild to activate this code. check-in: 32f71d05 user: wolfsuit tags: macosx-8-4-branch
2002-02-03
22:33
Clean-up bogus for loop in [image inuse] subcommand. [Bug #485803] check-in: bd333aca user: ericm tags: trunk
2002-02-02
00:17
* generic/tkCmds.c (Tk_TkObjCmd): don't use 'bool' as an arg as it conflicts with the C99 spec. [Bug #511956] (ingham)
check-in: 0c21cb89 user: hobbs tags: core-8-3-1-branch
00:16
* generic/tkCmds.c (Tk_TkObjCmd): don't use 'bool' as an arg as it conflicts with the C99 spec. [Bug #511956] (ingham)
check-in: 9785d45f user: hobbs tags: trunk
2002-02-01
23:22
no message check-in: ef182937 user: davygrvy tags: trunk
23:20
* win/makefile.vc: unset macro located in the tktest target caused a failure. [Bug 511652] check-in: 0706b485 user: davygrvy tags: trunk
17:31
* Overlooked COSNTification of XSetCommand
check-in: 15f338ba user: dgp tags: trunk
14:27
Final part of TIP#14 support (photo image transparency access); the C API stuff has been in there for ages for some reason... check-in: 136dfbc3 user: dkf tags: trunk
2002-01-31
21:23
correct punctuation check-in: 76beac20 user: tmh tags: trunk
21:08
Correct and test for logic error when cloning menus. Bug 508988 check-in: 17a5d13e user: uid38226 tags: core-8-3-1-branch
21:05
Correct and test for logic error when cloning menus. Bug 508988 check-in: 3a8577ba user: uid38226 tags: trunk
04:42
* The POTENTIAL INCOMPATIBILITY in the changing interface of Tk_ParseArgv can now be removed by the -DUSE_NON_CONST compiler flag.
check-in: 3d295e79 user: dgp tags: trunk
2002-01-29
20:51
* win/tkWinInit.c (TkpGetAppName): TIP 27 fixup. The code now does not write into the CONST path returned by "argv0" and Tcl_SplitPath anymore. check-in: 6b178549 user: andreas_kupries tags: trunk
08:23
* unix/configure.in: Don't set TCL_LIB_SPEC and TCL_STUB_LIB_SPEC variables since this breaks the AIX build. This was used in the past to support linking with Tcl from the build dir or the install dir, but it is no longer needed.
check-in: 084d6911 user: mdejong tags: trunk
08:04
* unix/Makefile.in: Remove commented out vars. * unix/configure: Regen. * unix/configure.in: Don't subst vars that are already taken care of in SC_LOAD_TCLCONFIG. * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/tcl.m4: Update from Tcl.
check-in: 178a19e3 user: mdejong tags: trunk
2002-01-27
11:10
* generic/tkFileFilter.c: * mac/tkMacInit.c: * mac/tkMacKeyboard.c: * mac/tkMacMenus.c: TIP 27 CONSTification induced changes
check-in: 21fea0ea user: das tags: trunk
2002-01-25
21:15
Add patch number check-in: cbe548ea user: dgp tags: trunk
21:09
* Updated callers of Tcl_SplitList and Tcl_Merge. * Updated callers of Tcl_GetStringResult. Rewrote PrintScrollFractions to ScrollFractions to stop scribbling directly on interp->result. * Updated callers of Tcl_GetVar, Tcl_GetVar2 * Updated callers of Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName.
check-in: 933dcfe8 user: dgp tags: 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
2002-01-19
00:36
* tests/wm.test: Rewrite stackorder tests that deal with toplevels that have the overrideredirect flag set. [Tk bug 492259]
check-in: 9dab9a25 user: mdejong tags: trunk
2002-01-18
13:29
* Overloked Tcl_GetIndexFromObj callers
check-in: 78e88052 user: dgp tags: trunk
03:24
* mac/tkMacDialog.c: * mac/tkMacSend.c: TIP 27 CONSTification broke the mac build in a few places.
check-in: c224cef1 user: das tags: trunk
02:55
* generic/tkListbox.c (ChangeListboxOffset): improved tracking when scrolling on x axis with entry/text. [Bug #225025] (voskuil)
check-in: 591d7475 user: hobbs tags: trunk
2002-01-17
23:34
* An overlooked caller of Tcl_GetIndexFromObj.
check-in: 36a57a9c user: dgp tags: trunk
23:33
* An overlooked caller of Tcl_GetIndexFromObj() and a style fix.
check-in: 0e1cce3b user: dgp tags: trunk
05:13
* Updates to handle change in type of tablePtr argument of Tcl_GetIndexFromObj(Struct) from (char **) to (CONST char **). [TIP 27] [Patch 504705]
check-in: 85e5c7aa user: dgp tags: trunk
03:35
* Updated callers of Tcl_Utf* and Tcl_Regexp* APIs to reflect TIP 27 API changes (see Tcl Patch 471509). [Patch 471513]
check-in: 061e364d user: dgp tags: trunk
02:51
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/tcl.m4: Update from Tcl.
check-in: b5febdbf user: mdejong tags: trunk
2002-01-15
21:29
* Updated callers of CONSTified Tcl interfaces Tcl_EvalFile and TclGetStartupScriptFileName.
check-in: 20e4f9ae user: dgp tags: trunk
20:48
* Updated Tk's console to CONSTified channel driver interface. [Tcl Patch 503565, Tk Patch 503983]
check-in: 17f3016e user: dgp tags: trunk
18:19
* Updated Tk's console to CONSTified channel driver interface. [Tcl Patch 503565, Tk Patch 503983]
check-in: eec89b91 user: dgp tags: trunk
2002-01-11
20:56
Use ${libdir} instead of ${exec_prefix}/lib. [Tcl bug 489370]
* unix/configure: Regen. * unix/configure.in: Define and use libdir. * win/configure: Regen. * win/configure.in: Define libdir.
check-in: 616ed405 user: mdejong tags: trunk
19:58
* unix/Makefile.in: Burn Tcl and Tk build directories into tktest executable to avoid crashes caused by ld loading a previously installed version of the tcl or tk shared libraries. Remove setting of LD_LIBRARY_PATH, LIBPATH, and SHLIB_PATH before running tktest since it should no longer be required.
check-in: b5c7674b user: mdejong tags: trunk
18:41
Enable use of Tcl stubs when building Tk as a shared library. This should fix the build under AIX. [Bugs 220858, 220955, 220921]
* unix/Makefile.in: Add TCL_STUB_LIB_SPEC and TCL_STUB_LIB_FLAG variables. * unix/configure: Regen. * unix/configure.in: Pass TCL_STUB_LIB_SPEC into Makefile and use it when linking the tk shared library. Define USE_TCL_STUBS when building shared. Subst TCL_STUB_LIB_SPEC and TCL_STUB_LIB_FLAG.
check-in: 7695ed9e user: mdejong tags: trunk
2002-01-08
15:40
Fix the following bug: If you select an entry on a cascade menu (on Win32) then the next time the parent menu is posted, the cascade entry appears active. Also, if you traverse to a disabled menu entry using keystrokes and press ENTER on the disabled entry, then that entry appears active the next time the menu is posted. The same patch fixes both problems. check-in: 6069b52d user: drh tags: trunk
2002-01-04
16:39
* generic/tkBind.c (TkBindFree): * generic/tkGrid.c (Tk_GridCmd,ResolveConstraints,CheckSlotData, DestroyGrid): * generic/tkSelect.c (Tk_DeleteSelHandler,TkSelDeadWindow): Replaced Tcl_Free calls with ckfree so that memory debugging is fully supported.
check-in: 8947bc50 user: dgp tags: core-8-3-1-branch
16:35
* generic/tkBind.c (TkBindFree): * generic/tkGrid.c (ResolveConstraints,CheckSlotData,DestroyGrid): * generic/tkSelect.c (Tk_DeleteSelHandler,TkSelDeadWindow): Replaced Tcl_Free calls with ckfree so that memory debugging is fully supported.
check-in: 7eae1120 user: dgp tags: trunk
2001-12-29
00:30
* test/winButton.test: * win/tkWinButton.c: added updated patch #463234 which returns the default sizing behavior (not so native), but enables native L&F with negative sizing (-11 for example).
check-in: 1212ac05 user: hobbs tags: trunk
2001-12-28
23:44
see ChangeLog check-in: 2c7371a0 user: hobbs tags: trunk
23:44
* win/tkWinWm.c (InitWindowClass): corrected init routines to allow unicode in window titles on Windows (for Win2K/XP). (TkWmStackorderToplevel): Corrected casts to enable debug compile
check-in: f3c178ef user: hobbs tags: trunk
23:43
* win/tkWinDialog.c (Tk_MessageBoxObjCmd): use MessageBoxW for proper display of unicode errors. Added patch which uses new OLE based directory chooser. This still has some issues, so is disabled by default. [Patch #468139] (ColorDlgHookProc) Corrected ability to use unicode chars in tk_chooseColor -title.
check-in: d76a213a user: hobbs tags: trunk
23:43
* win/tkWinInt.h: * win/tkWinX.c: added TkWinProcs that represent a function table to switch between unicode and ansi procs on Windows. This is analogous to the TclWinProcs. Using Tcl_WinUtfToTChar, we can easily take advantage of using unicode functions where available without having to switch on the platform id each time.
check-in: 081e2c07 user: hobbs tags: trunk
23:09
win/tkWinInit.c (TkpDisplayWarning): added Tcl_DStringFrees check-in: f3f5aa50 user: hobbs tags: trunk
23:08
* win/configure: regen'ed * win/tcl.m4: added shell32.lib to link libs, as these are necessary for new directory chooser (when enabled).
check-in: 38638893 user: hobbs tags: trunk
23:03
* library/text.tcl (tk::TextButton1): made text receive focus even in disabled state for Windows to show selection and allow mouse-wheel scrolling.
check-in: a854f9f2 user: hobbs tags: trunk
02:14
* win/tkWinInit.c (TkpDisplayWarning): Use MessageBoxW in case the error displayed has unicode chars. [Bug #485986]
check-in: 1d95df52 user: hobbs tags: trunk
01:23
* generic/tkButton.c (ButtonTextVarProc): guard against being called while the *button/label is being deleted. [Bug #490051]
check-in: 47772f0d user: hobbs tags: trunk
2001-12-27
22:45
* mac/mac/tkMacInit.c: * mac/mac/tkMacResource.r: synced up tkInit features to unix/win: use existing tkInit proc if defined. Added spinbox.tcl resource. Used TclGetEnv() instead of Tcl_GetVar2(interp, env) * mac/tkMacApplication.r: * mac/tkMacLibrary.r: minor version resources cleanup
check-in: ea926c5f user: das tags: trunk
22:26
* library/entry.tcl: * library/spinbox.tcl: * library/text.tcl: added extra checks against bug #220269 and made spinbox reuse more of the entry procedure code.
check-in: aa3d08e6 user: hobbs tags: trunk
2001-12-20
21:33
Fix date in entry. check-in: a59e0b43 user: mdejong tags: trunk
21:32
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl.
check-in: e319def0 user: mdejong tags: trunk
2001-12-19
21:37
* unix/configure: Regen. * unix/tcl.m4: Update from Tcl.
check-in: 1742df3b user: mdejong tags: trunk
08:01
* unix/configure: Regen. * unix/configure.in: Move EXP file changes over from Tcl configure script to fix AIX build with gcc. [Bug 220955]
check-in: 48ff9deb user: mdejong tags: trunk
07:45
* unix/Makefile.in: * win/Makefile.in: Use $(MAKE) instead of make in the tcltest rule.
check-in: e2967b87 user: mdejong tags: trunk
01:32
* Corrected test that failed on Solaris/CDE due to text scrolling. [Bug 413735]
check-in: a90684bb user: dgp tags: core-8-3-1-branch
01:12
* Corrected test that failed on Solaris/CDE due to text scrolling. [Bug 413735]
check-in: d3d3727f user: dgp tags: trunk
2001-12-18
23:02
corrected spin(up|down) -> button(up|down) check-in: 4b3b96df user: hobbs tags: trunk
2001-12-14
14:56
Added code to guess the correct default extension from whatever value was selected in the filetypes option menu. Adapted from code by Chris Nelson submitted in Patch #492220. check-in: 4d9d93a6 user: dkf tags: trunk
2001-12-13
01:58
(TkWmStackorderToplevelWrapperMap): added static check-in: c78889e8 user: hobbs tags: trunk
2001-12-07
05:20
Added panic in TkPutImage in case of failure to allocate bitmap check-in: 251ce02c user: chengyemao tags: trunk
04:17
Added panic in ImgPhotoInstanceSetSize in case of failure to get pixmap check-in: ef810a03 user: chengyemao tags: trunk
00:02
Added panic to TkPutImage in case of failure to allocate bitmap check-in: 9337ddfc user: chengyemao tags: trunk
2001-12-05
18:18
* generic/tkText.c: * generic/tkText.h: changed TkTextEditType enums to be prefaced with TK_EDIT_ to prevent name collision.
check-in: 68d79044 user: hobbs tags: trunk
01:30
* mac/tkMacWm.c: mac implementation of wm stackorder
check-in: f7c4f3ce user: das tags: trunk
2001-12-04
03:07
Add TK patch 481148 to implement TIP 74, the wm stackorder command.
* doc/winfo.n: Update documentation for the winfo children command to indicate that top-level windows are not returned in stacking order. * doc/wm.n: Add documentation for wm stackorder. * generic/tkInt.decls (TkWmStackorderToplevel): Add decl for new function. * generic/tkIntDecls.h: Regen. * generic/tkStubInit.c: Regen. * tests/unixWm.test: Add stackorder command to test for wm command usage message. * tests/wm.test: Add new set of tests for generic window manager methods. * unix/tkUnixWm.c (Tk_WmCmd, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add unix implementation of new wm stackorder command. * win/tkWinWm.c (Tk_WmCmd, TkWmStackorderToplevelEnumProc, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add windows implementation of new wm stackorder command.
check-in: 45e73f13 user: mdejong tags: trunk
2001-12-03
10:44
no message check-in: 714305a1 user: davygrvy tags: trunk
10:42
install target changes by request from Ryan Casey <[email protected]>. check-in: 7397078f user: davygrvy tags: trunk
2001-11-30
11:25
More widget demo improvements. check-in: aa14032c user: dkf tags: trunk
2001-11-29
13:04
D'oh! Forgot part of the changelog entry... check-in: a31d3ad2 user: dkf tags: trunk
10:54
Made tk_setPalette guess a reasonable default for the foreground colour. check-in: da540e6c user: dkf tags: trunk
2001-11-28
01:14
no message check-in: e66e467d user: davygrvy tags: trunk
01:13
Fixed CAT32 target. cat.c is located in the Tcl source, not the Tk source. check-in: 3027677c user: davygrvy tags: trunk
2001-11-27
14:08
When a menu is torn off, a new "clone" menu is created which is an exact copy of the original. The copy even includes the tearoff bar, though the tearoff bar is not displayed. But even though it wasn't displayed, the tearoff bar on the tearoff menu could be visited using keyboard traversal. This change makes it so that the (invisible) tearoff bar of tearoff menus is no longer visited on keyboard traversal. check-in: 17c9e695 user: drh tags: trunk
04:36
Change the behavior of menus on windows to be more consistent with native windows menus. Disabled menu entries show their active background color on mouseover and keyboard traversal. check-in: 84a8f463 user: drh tags: trunk
2001-11-25
06:43
* unix/Makefile.in: Add comments to better describe TCL_EXE and when it should be available. Add rule that prints message about running `make genstubs` when tkStubInit.c is out of date. * win/Makefile.in: Add TCL_TOOL_DIR and TCL_EXE variables to better match the Tcl Makefile. Add genstubs rule so tkSTubInit.c can be regenerated.
check-in: c2200707 user: mdejong tags: trunk
02:54
* win/configure: Regen. * win/configure.in: Don't AC_SUBST CFLAGS_DEBUG, CFLAGS_OPTIMIZE, or CFLAGS_WARNING since it is now done in SC_CONFIG_CFLAGS. * win/tcl.m4 (SC_CONFIG_CFLAGS): AC_SUBST DL_LIBS, CFLAGS_DEBUG, CFLAGS_OPTIMIZE, and CFLAGS_WARNING.
check-in: d1c0e4f5 user: mdejong tags: trunk
02:10
Fix up some non-standard ChangeLog entires. check-in: dad01680 user: mdejong tags: trunk
2001-11-23
02:04
** upport to 8.4 of mac code changes for 8.3.3 & various new ** changes for 8.4, some already backported to 8.3.4 (patch #435660)
see ChangeLog for details
check-in: 72721350 user: das tags: trunk
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
22:46
* unix/configure: regend * unix/tcl.m4: added -lc to LIBS on AIX and corrected location of ldAix.
check-in: 7c9a6623 user: hobbs tags: core-8-3-1-branch, core-8-3-4
19:40
* generic/tkConsole.c: * library/console.tcl: * mac/tkMacInit.c: * mac/tkMacResource.r: corrected how mac deals with tcl library files present both in resources and in $tk_library directory.
check-in: ea4836d1 user: das tags: core-8-3-1-branch
17:51
see ChangeLog check-in: 8c2e3cd2 user: hobbs tags: core-8-3-1-branch
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
17:33
* library/console.tcl: fixed a few errors where namespace command names were used that were not back-ported from 8.4.
check-in: 31860063 user: hobbs tags: core-8-3-1-branch
17:33
added tk::GetSelection from 8.4 for console.tcl check-in: 7c9ba479 user: hobbs tags: core-8-3-1-branch
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
23:17
updated changes for 8.3.4, noted tag date in ChangeLog check-in: 710e8632 user: hobbs tags: core-8-3-1-branch
22:22
* unix/configure: regend * unix/tcl.m4 (SC_ENABLE_GCC): enabled better recognition of gcc.
check-in: 51ca6658 user: hobbs tags: core-8-3-1-branch
22:22
removed threaded build warning under X check-in: 2a2beeaa user: hobbs tags: core-8-3-1-branch
20:26
* library/console.tcl (ConsoleOutput): fixed undefined widget argument.
check-in: aee1fb51 user: hobbs tags: trunk
20:26
* library/console.tcl (tkConsoleOutput): fixed undefined widget argument.
check-in: 758c24c2 user: hobbs tags: core-8-3-1-branch
2001-10-17
21:39
updated mac binary archives for 8.3.4 check-in: 8eab547a user: das tags: core-8-3-1-branch
19:29
Backport of some mac specific changes added to 8.4 since 8.3.3 check-in: 980ad95e user: das tags: core-8-3-1-branch
19:15
* unix/tkUnixXId.c (TkpScanWindowId): added specific char* cast to prevent warning. 'string' is not modified in any case.
check-in: 26288f04 user: hobbs tags: core-8-3-1-branch
19:11
* unix/configure: regened * unix/configure.in: added preset CFLAGS check from HEAD to prevent --enable-gcc from adding "-g -O2"
check-in: 02dc14ce user: hobbs tags: core-8-3-1-branch
19:10
regened from dgps changes check-in: ec4ae5a1 user: hobbs tags: core-8-3-1-branch
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
23:39
* library/xmfbox.tcl: fixed filtering in motif file dialog. [Patch #469670] (nelson)
check-in: f5f7d49c user: hobbs tags: core-8-3-1-branch
22:46
* Copied updates from Tcl for 8.3.4 release.
check-in: d6170368 user: dgp tags: core-8-3-1-branch
21:46
* generic/tkWindow.c (OpenIM): Added simple XIM patch to enable basic XIM input on Unix. [Patch #412727] (fabian)
check-in: 84616253 user: hobbs tags: core-8-3-1-branch
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
22:14
had to add ""s now that configure.in is doing the right thing check-in: 3ba37d69 user: hobbs tags: core-8-3-1-branch
21:24
* 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: af27851a user: hobbs tags: core-8-3-1-branch
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-13
01:34
see ChangeLog check-in: cfb93443 user: hobbs tags: core-8-3-1-branch
01:25
* generic/tkBind.c (NameToWindow): * generic/tkCmds.c (Tk_WinfoObjCmd): * generic/tkInt.decls (TkpScanWindowId): * generic/tkIntPlatDecls.h: * generic/tkStubInit.c: * mac/tkMacPort.h (TkpPrintWindowId,TkpScanWindowId): * unix/tkUnixPort.h (TkpPrintWindowId,TkpScanWindowId): * unix/tkUnixXId.c (TkpScanWindowId): * win/tkWinWindow.c (TkpScanWindowId): 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: e1c911ba user: hobbs tags: core-8-3-1-branch
01:24
* tests/textDisp.test (textDisp-4.12): corrected test to work properly on Windows.
check-in: a9ba41b3 user: hobbs tags: core-8-3-1-branch
01:23
* tests/scrollbar.test (scrollbar-6.27): marked knownBug because it is skewed by bad dimensions returned by Windows.
check-in: 3a52ae9a user: hobbs tags: core-8-3-1-branch
01:23
(TkGetServerInfo): added recognition of Win64 check-in: 5bd26711 user: hobbs tags: core-8-3-1-branch
01:23
made XID __int64 type for Win64 check-in: 4516cc27 user: hobbs tags: core-8-3-1-branch
01:22
win/tkWinWm.c (WinSetIcon): closed channels in the error case check-in: 57ad11ad user: hobbs tags: core-8-3-1-branch
01:22
Win64 pointer fixes check-in: caa4d0b7 user: hobbs tags: core-8-3-1-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
10:56
Updates to demos check-in: 0a644156 user: dkf tags: core-8-3-1-branch
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
23:10
* library/console.tcl: added more smarts extracted from tkcon to the default console.
check-in: 00d29d2a user: hobbs tags: core-8-3-1-branch
2001-10-05
01:13
* library/bgerror.tcl: back-ported bgerror dialog from 8.4 (that used Windows-esque "Details" button).
check-in: ef8166d6 user: hobbs tags: core-8-3-1-branch
2001-10-03
22:04
updated patchlevel to 8.3.4. updated READMEs to point to www.tcl-tk.net where applicable. added proper Win64 support to makefiles. check-in: 8743bbe4 user: hobbs tags: core-8-3-1-branch
22:04
updated copyright info check-in: 267e59fa user: hobbs tags: core-8-3-1-branch
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:06
* unix/configure: regen'ed * unix/aclocal.m4: added --enable-64bit support for HP-11 with the 64-bit kernel.
check-in: e941409c user: hobbs tags: core-8-3-1-branch
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-15
04:37
* doc/getOpenFile.n: Removed docs for the -multiple and -message options that are not provided in Tk 8.3. They are only available in Tk 8.4. [Bug 461760]
check-in: c31ae430 user: dgp tags: core-8-3-1-branch
2001-09-14
20:39
* 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: d5f04bf6 user: andreas_kupries tags: core-8-3-1-branch
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
21:48
* win/tkWinDialog.c (ChooseDirectoryHookProc): work-around for MS bug that caused crashing in tk_chooseDirectory on Win95. [Bug #224936] (baker)
check-in: fa81b839 user: hobbs tags: core-8-3-1-branch
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
19:28
* 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)
check-in: 8402e119 user: hobbs tags: core-8-3-1-branch
00:13
* 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: 1183c521 user: hobbs tags: core-8-3-1-branch
00:13
* tests/unixFont.test (unixFont-2.[234]): fixed to be more sensitive on systems that have more installed fonts.
check-in: 443a0be4 user: hobbs tags: core-8-3-1-branch
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
23:59
* 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: 67f65052 user: hobbs tags: core-8-3-1-branch
23:58
see ChangeLog check-in: 680d9eb5 user: hobbs tags: core-8-3-1-branch
23:58
* tests/listbox.test: * generic/tkListbox.c: made use of Tcl_Preserve/Tcl_Release to prevent FMR errors in Display functions.
check-in: 539148ca user: hobbs tags: core-8-3-1-branch
23:58
* generic/tkImgGIF.c (Mgetc): corrected screwy use of ternary operator and possible FMR.
check-in: 3ee5ab06 user: hobbs tags: core-8-3-1-branch
23:57
* 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: 9a7a25bc user: hobbs tags: core-8-3-1-branch
23:57
* generic/tkEntry.c: corrected missing Tcl_Release that caused font not freed complaints when trying valid cleanup calls.
* generic/tkEntry.c (DestroyEntry): used Tcl_EventuallyFree instead of ckfree for entryPtr to prevent FMRs. [Bug #413904]
check-in: 59994f1b user: hobbs tags: core-8-3-1-branch
23:57
* unix/tkUnixScale.c (TkpDisplayScale): corrected FMR when scale was deleted while calling its command.
check-in: 995a3a11 user: hobbs tags: core-8-3-1-branch
16:44
* New file: tests/dialog.test for testing [tk_dialog].
check-in: 08005724 user: dgp tags: core-8-3-1-branch
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:14
added QNX-6 build support. [Bug #219410] (loverso) check-in: 0024bf08 user: hobbs tags: core-8-3-1-branch
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
00:49
2001-08-06 Jeff Hobbs <[email protected]>
* unix/configure: regenerated * unix/aclocal.m4: added GNU (HURD) configuration target. (brinkmann) [Patch: #442974]
check-in: 19bd7848 user: hobbs tags: core-8-3-1-branch
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:32
* 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: 2ab88d24 user: hobbs tags: core-8-3-1-branch
00:31
corrected IRIX-5.* configuration check-in: 1a99e337 user: hobbs tags: core-8-3-1-branch
00:30
Win64 #ifdef pointer fixes check-in: 18e45799 user: hobbs tags: core-8-3-1-branch
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-17
13:33
2001-05-04 Daniel Steffen <[email protected]>
** Mac 8.3.3 binary release
** detailed change log for changes to mac code for 8.3.3 ** (expands on log entries below marked 2001-04-04 Jeff Hobbs)
check-in: e23f2a2f user: das tags: core-8-3-1-branch
13:33
2001-05-04 Daniel Steffen <[email protected]>
** Mac 8.3.3 binary release
check-in: 1b7579f5 user: das tags: core-8-3-1-branch
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-06
01:21
see ChangeLog specifics check-in: 09cc1e49 user: hobbs tags: core-8-3-1-branch, core-8-3-3
01:10
* tests/canvas.test: marked canvas-13.1 knownBug * generic/tkCanvas.c (CanvasEventProc): reverted 2001-04-02 canvas changes back because it lead to cached fonts not being freed. The changes were correct for the bug, but the problem is that the needed Tcl_EventuallyFree will sometimes not get called until the whole app is being destroyed and thus the font panic is invoked.
check-in: 484f4f89 user: hobbs tags: core-8-3-1-branch
00:13
* win/configure: * win/tcl.m4: added -link50compat
check-in: e435597b user: hobbs tags: core-8-3-1-branch
00:13
* win/tkWinX.c (GenerateXEvent): set xkey.numbytes = 0 for MouseWheel event processing.
check-in: 9b1382cd user: hobbs tags: core-8-3-1-branch
2001-04-05
22:09
changed iso10646* to iso10646-1 for accuracy in encoding aliases check-in: 1dc3b74e user: hobbs tags: core-8-3-1-branch
22:02
* 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] Added alias for jisx0201* fonts to jis0201 encoding. [Bug #414033]
check-in: 1fcbde7c user: hobbs tags: core-8-3-1-branch
19:44
* tests/listbox.test: labelled listbox-27.1 knownBug as it isn't really fixed. * generic/tkListbox.c: reverted listbox back to 8.3.2 version because the fixes weren't 100% correct for the problem.
check-in: 5b80efaf user: hobbs tags: core-8-3-1-branch
19:43
* mac/tkMacProjects.sea.hqx: this was accidently swapped with the tcl project files.
check-in: fef44ff4 user: hobbs tags: core-8-3-1-branch
2001-04-04
23:16
updated changes from ChangeLog check-in: 1e57fa34 user: hobbs tags: core-8-3-1-branch
22:38
unix/Makefile.in (dist): mac no longer had *.exp to dist. check-in: 3a0e02b6 user: hobbs tags: core-8-3-1-branch
21:44
* mac/tkMacShLib.exp: removed file
check-in: fe34a9ec user: hobbs tags: core-8-3-1-branch
21:39
* generic/tkInt.decls: removed superfluous declarations. * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkMain.c: include unistd.h for mac. * generic/tkPointer.c: include tkMacInt.h for mac. * generic/tkStubInit.c: * generic/tkStubLib.c: * mac/MW_TkHeader.pch: * mac/MW_TkOldImgHeader.h: * mac/MW_TkTestHeader.pch: * mac/tclets.r: * mac/tkMac.h: * mac/tkMacAppearanceStubs.c: * mac/tkMacApplication.r: * mac/tkMacButton.c: * mac/tkMacDialog.c: support for -filetypes * mac/tkMacFont.c: * mac/tkMacInt.h: * mac/tkMacLibrary.r: * mac/tkMacMDEF.r: * mac/tkMacMenu.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacResource.r: * mac/tkMacScrlbr.c: improved scrollbar code * mac/tkMacWindowMgr.c: added control of floating windows * mac/tkMacWm.c: improved use of precompiled headers, better support for Appearance Manager, change copyrights, resource files, use DLLIMPORT/DLLEXPORT, comment corrections.
check-in: f28b4e2a user: hobbs tags: core-8-3-1-branch
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