Tk Source Code

Timeline
Login

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

171 check-ins using file unix/tkUnixDefault.h version 2e8a9466

2002-06-20
21:18
Corrected the test for grid propagate change. [Bug #571433] check-in: 98d6cad7 user: pspjuth tags: trunk
2002-06-19
23:17
* tests/panedwindow.test: * generic/tkPanedWindow.c: ensure that sash index is lower bounds checked. [Bug #548727]
check-in: 6a6b8b23 user: hobbs tags: trunk
20:40
* generic/tkClipboard.c (TkClipCleanup): Add code to set dispPtr->clipWindow to NULL, this was accidently removed by last commit. Fixes a crash while running the tests under win32.
check-in: a76152bb user: mdejong tags: trunk
19:39
Add Tk patch id to ChangeLog entry. check-in: 6c79d250 user: mdejong tags: trunk
19:37
* generic/tkBind.c (TkBindDeadWindow): Handle case where Tk_DestroyWindow is invoked on clipboard and send windows. * generic/tkClipboard.c (TkClipCleanup): Invoke Tk_DestroyWindow to cleanup the dispPtr->clipWindow. Call Tcl_Preserve and Tcl_Release on the window to avoid an invalid memory ref on shutdown. * generic/tkEvent.c (Tk_HandleEvent): Panic if XCreateIC is invoked twice for the same window. This should never happen, the check were just added to make sure it does not since this could lead to crashes in XCloseIM. * generic/tkFocus.c (TkFocusDeadWindow): Handle case where Tk_DestroyWindow is invoked on clipboard and send windows. * generic/tkOption.c (TkOptionDeadWindow): Ditto. * generic/tkWindow.c (TkCloseDisplay): Move deletion of dispPtr->winTable after TkpCloseDisplay call since Tk_DestroyWindow uses it and could be called by TkpCloseDisplay for clipboard/send windows. Also invoke ckfree for the dispPtr instead of doing it in TkpCloseDisplay. (Tk_DestroyWindow): Check for a null winPtr->mainPtr before doing certain cleanup tasks so the we can invoke Tk_DestroyWindow on clipboard and send windows. We need to do this so that XDestroyIC will get invoked for the input contexts of each window. * mac/tkMacXStubs.c (TkpCloseDisplay): Don't free the displayPtr since this is now done in TkCloseDisplay. * unix/tkUnixEvent.c (TkpCloseDisplay, OpenIM): Remove conditional compilation around calls to XCloseIM since I am confident that the crashes related to input contexts has been fixed. Don't free the displayPtr since this is now done in TkCloseDisplay. * unix/tkUnixSend.c (TkSendCleanup): Invoke the Tk_DestroyWindow method to cleanup the special send window. This will call XDestroyIC and thereby avoid a crash in XCloseIM. The send window needs to be Tcl_Preserve and Tcl_Release to avoid an invalid memory ref on shutdown. * win/tkWinX.c (TkpCloseDisplay): Don't free the displayPtr since this is now done in TkCloseDisplay.
check-in: 2b1442c6 user: mdejong tags: trunk
2002-06-18
23:54
corrected copy/paste error check-in: 72bea0e4 user: dgp tags: trunk
23:51
Added TIP#48 style engine implementation Frederic Bonnet to supply docs+tests as soon as possible. check-in: 11b69966 user: dkf tags: trunk
08:24
Fix tcltest::makeFile so cursor.test can work properly... check-in: 6c50fe95 user: dkf tags: trunk
01:00
* generic/tkImage.c (Tk_ImageObjCmd, DeleteImage): Call Tcl_Preserve and Tcl_Release for the masterPtr->winPtr window to avoid accessing memory that had already been deallocated in DeleteImage.
check-in: cf0b24b4 user: mdejong tags: trunk
00:34
Trims to support the removal of RESOURCE_INCLUDED from rc scripts from Tcl's accepted FR #565088.
* generic/tk.h: Changed RESOURCE_INCLUDED to be RC_INVOKED as the RC tool defines this already by default.
* win/rc/tk.rc: * win/rc/wish.rc: removed the #define RESOURCE_INCLUDED lines.
check-in: 0c8b9bb0 user: davygrvy tags: trunk
2002-06-17
20:17
* unix/Makefile.in (dist): correct installation of wish.exe.manifest to DISTDIR target directory.
check-in: 31a24213 user: hobbs tags: trunk
20:17
updated for new SetCaret.3 doc check-in: a42b56d3 user: hobbs tags: trunk
20:09
* generic/tkCmds.c (Tk_TkObjCmd): * generic/tkInt.h (struct TkCaret): * mac/tkMacXStubs.c (Tk_SetCaretPos): * unix/tkUnixKey.c (TkpGetString, Tk_SetCaretPos): * win/tkWinX.c (Tk_SetCaretPos): * tests/tk.test: Added 'tk caret' implementation of TIP#96 * doc/SetCaret.3 (new): which adds a TkCaret structure element to * doc/tk.n: TkDisplay for maintaining state.
check-in: 6be89a7f user: hobbs tags: trunk
19:42
* unix/tkUnixSend.c (TkSendCleanup): special cleanup of inputContext to avoid bug in XCloseIM. (dejong)
check-in: 8b0be245 user: hobbs tags: trunk
17:14
* Added catalog for UK English. Currently includes only Color -> Colour translation.
check-in: 8e98993a user: dgp tags: trunk
10:54
Initial implementation of TIP #82: added the -offrelief option to checkbutton and radiobutton to allow those widgets to have a MS-Office look and feel. check-in: 882e41f5 user: drh tags: trunk
2002-06-15
21:06
* generic/tkWindow.c (Tk_DestroyWindow): Set the pathName component of a window to NULL after its memory has been deallocated to avoid a possible illegal memory access as a result of a call to Tk_PathName() on a Tk_Window structure of a window that has already been destroyed. [Tk bug 521946]
check-in: b0622bc8 user: mdejong tags: trunk
21:02
* generic/tkOption.c (Tk_GetOption): Allocate memory with ckalloc not malloc. This keeps Tk from erroring out when built with TCL_MEM_DEBUG.
check-in: 03e2b01f user: mdejong tags: trunk
04:44
removed stray character check-in: 92af4f1d user: dgp tags: trunk
02:15
* generic/tkBind.c (HandleEventGenerate): * generic/tkInt.h: changed warpInProgress boolean from int to a bit in the flags variable (TK_DISPLAY_IN_WARP)
check-in: 6c6a1f61 user: hobbs tags: trunk
02:15
corrected cast warning check-in: b5a08bfb user: hobbs tags: trunk
02:08
* generic/tkCmds.c (Tk_TkObjCmd): * unix/tkUnixKey.c (TkpGetString): * generic/tkEvent.c (Tk_HandleEvent): * generic/tkInt.h: changed useInputMethods boolean from int to a bit in the flags variable (TK_DISPLAY_USE_IM)
check-in: e07ed1cc user: hobbs tags: trunk
01:54
* generic/tkInt.h: * generic/tkCmds.c (Tk_WmObjCmd): * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): changed wmTracing from being an int to just a bit in the flags variable (TK_DISPLAY_WM_TRACING)
check-in: bdc985bf user: hobbs tags: trunk
01:54
changed TK_USE_XIM_SPOT to TK_DISPLAY_XIM_SPOT for clarity check-in: fb49550f user: hobbs tags: trunk
01:09
* generic/tkEvent.c (Tk_HandleEvent): * unix/tkUnixEvent.c (OpenIM): * unix/tkUnixKey.c (TkpGetString): * generic/tkInt.h: added TK_USE_XIM_SPOT flag bit for TkDisplay and used this to allow a runtime check to see if over-the-spot XIM is possible. If not it will try and fallback to the old-style input context, which handles things like dead keys input.
check-in: f90dbdf6 user: hobbs tags: trunk
00:21
* generic/tk.decls: added TIP #84 implementation that adds a * generic/tkDecls.h: Tk_CollapseMotionEvents API which controls * generic/tkEvent.c: Tk's collapsing of incoming motion events * generic/tkInt.h: on its windows. The default remains to do * generic/tkStubInit.c: collapsing. Added a flags parameter to the * generic/tkWindow.c: internal display structure to support this * doc/QWinEvent.3: and be used in the future for other bits.
check-in: d7c9b34a user: hobbs tags: trunk
00:19
updated from current docs check-in: af827bbe user: hobbs tags: trunk
2002-06-14
23:49
* generic/tkBind.c (TkXErrorHandler): Declare static function to avoid compiler error with VC++.
check-in: 1eb4ae1d user: mdejong tags: trunk
23:29
ChangeLog police. check-in: 8973d74d user: mdejong tags: trunk
23:16
* generic/tkBind.c (ExpandPercents): Cast argument to Tk_GetAtomName in order to avoid compiler warning.
check-in: cc516b13 user: mdejong tags: trunk
23:11
ChangeLog police. check-in: e3ef54b4 user: mdejong tags: trunk
23:10
Reverting to r1.65 -- last change should not have been committed. check-in: cf65916f user: jenglish tags: trunk
22:52
corrected test numbering check-in: 56886018 user: hobbs tags: trunk
22:25
TIP #47 "Modifying Tk to Allow Writing X Window managers" (patch from Neil McKay). * Add CirculateRequest, Create, MapRequest, ResizeRequest, and ConfigureRequest event types; * Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER, TK_WIN_MANAGED, and TK_TOP_HIERARCHY. check-in: ad38fbac user: jenglish tags: trunk
22:01
* unix/tkAppInit.c: Removed now unneeded and erroneous reference to 'matherr'. See Tcl ChangeLog entry 2002-05-31 Don Porter. check-in: fc6c28a7 user: andreas_kupries tags: trunk
14:45
no message check-in: 76d94990 user: davygrvy tags: trunk
14:43
The test for compiler optimizations was in error. Thanks goes to Roy Terry <[email protected]> for his assistence with this. check-in: 63d761c9 user: davygrvy tags: trunk
14:08
regen check-in: fbcab504 user: dkf tags: trunk
14:07
Changed some _Old and _OLD to more descriptive terms. check-in: 9b5f7ecc user: dkf tags: trunk
13:35
TIP#98 implementation; improved photo image copy and GIF frame access check-in: 7084752c user: dkf tags: trunk
07:17
* tests/winfo.test: Add basic tests for winfo ismapped.
check-in: e0d4e3a4 user: mdejong tags: trunk
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
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
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
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
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-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
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
2002-04-08
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
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-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
20:13
Changed bitmap_bit_order to LSBFirst in XCreateImage (bug 481255) check-in: c1a533e1 user: chengyemao tags: trunk
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
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
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: 96722a88 user: hobbs tags: trunk
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