summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * tests/wm.test: Remove invalid minsize test. Add updatemdejong2002-06-241-0/+11
| | | | | | | | | | calls to wm transient tests so that idle handlers get run. This is needed to get the tests to pass under Win32. * unix/tkUnixWm.c (WmWaitMapProc): Move the special transient withdrawn check into the if body to make it easier to set a breakpoint on this test inside a debugger. No functional changes. * win/tkWinWm.c (WmWaitVisibilityOrMapProc): Ditto.
* * doc/wm.n: TIP #95 Windows implementation andhobbs2002-06-221-0/+7
| | | | | | | | * mac/tkMacWm.c (Tk_WmCmd): docs with mac and unix stubs. * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): * tests/unixWm.test: * tests/winWm.test: more wm attr tests will be needed.
* see changeloghobbs2002-06-221-0/+15
|
* * doc/text.n: TIP #93 implementation thathobbs2002-06-221-0/+8
| | | | | | | * generic/tkText.c (TextWidgetCmd): enhances the text get and * generic/tkTextIndex.c (TkTextGetIndex): delete methods to accept * tests/text.test: multiple range pairs. This handles the delete case in an atomic, fixed-index fashion.
* * tests/wm.test: Add tests to make sure a withdrawnmdejong2002-06-221-1/+13
| | | | | | | | | | | transient does not get remapped by state changes in the master. * unix/tkUnixWm.c (Tk_WmCmd, WmWaitMapProc): * win/tkWinWm.c (Tk_WmCmd, WmWaitVisibilityOrMapProc): Add a WM_TRANSIENT_WITHDRAWN flag that gets set by the withdraw, deiconify, or state wm subcommands. Check this flag before mapping a transient when processing a MapNotify event. [Tk bug 570764]
* Tk patchlevel bumped to 8.4b1 in preparation for release.dkf2002-06-221-0/+5
|
* * doc/text.n: TIP #104 implementation which generalizes thehobbs2002-06-211-0/+16
| | | | | | | | | | | | | | | * generic/tkText.c: undo/redo stack to not be tied solely to the * generic/tkText.h: text widget. The APIs are still private. * generic/tkUndo.c: This also adds a stack limiting ability and * generic/tkUndo.h: a -maxundo option to the text widget (in * library/text.tcl: addition to the options from TIP #26) should * mac/tkMacDefault.h: users want to limit the undo/redo stack * tests/text.test: (should not be necessary in most cases). * unix/Makefile.in: [Patch #554763] (callewart) * unix/tkUnixDefault.h: * win/Makefile.in: * win/makefile.vc: * win/tkWinDefault.h:
* changelog notes for TIP#94hobbs2002-06-211-0/+9
|
* * Removed unnecessary dependence of tktest executable on the tcltestdgp2002-06-211-0/+7
| | | | | executable on Unix. If there are similar dependencies on other platforms, they can probably be removed as well. [Bug 572134].
* Corrected the test for grid propagate change. [Bug #571433]pspjuth2002-06-201-0/+5
|
* * tests/panedwindow.test:hobbs2002-06-191-0/+6
| | | | | * generic/tkPanedWindow.c: ensure that sash index is lower bounds checked. [Bug #548727]
* * generic/tkClipboard.c (TkClipCleanup): Add codemdejong2002-06-191-0/+7
| | | | | | to set dispPtr->clipWindow to NULL, this was accidently removed by last commit. Fixes a crash while running the tests under win32.
* Add Tk patch id to ChangeLog entry.mdejong2002-06-191-0/+1
|
* * generic/tkBind.c (TkBindDeadWindow):mdejong2002-06-191-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* corrected copy/paste errordgp2002-06-181-1/+1
|
* Added TIP#48 style engine implementationdkf2002-06-181-0/+23
| | | | Frederic Bonnet to supply docs+tests as soon as possible.
* Fix tcltest::makeFile so cursor.test can work properly...dkf2002-06-181-0/+6
|
* * generic/tkImage.c (Tk_ImageObjCmd, DeleteImage): Callmdejong2002-06-181-0/+7
| | | | | | Tcl_Preserve and Tcl_Release for the masterPtr->winPtr window to avoid accessing memory that had already been deallocated in DeleteImage.
* Trims to support the removal of RESOURCE_INCLUDED from rcdavygrvy2002-06-181-0/+11
| | | | | | | | | | 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.
* * unix/Makefile.in (dist): correct installation ofhobbs2002-06-171-0/+3
| | | | wish.exe.manifest to DISTDIR target directory.
* * generic/tkCmds.c (Tk_TkObjCmd):hobbs2002-06-171-0/+14
| | | | | | | | | | * 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.
* * Added catalog for UK English.dgp2002-06-171-0/+5
| | | | Currently includes only Color -> Colour translation.
* Initial implementation of TIP #82: added the -offrelief option todrh2002-06-171-0/+12
| | | | | checkbutton and radiobutton to allow those widgets to have a MS-Office look and feel.
* * generic/tkWindow.c (Tk_DestroyWindow): Set the pathNamemdejong2002-06-151-0/+9
| | | | | | | | 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]
* * generic/tkOption.c (Tk_GetOption): Allocatemdejong2002-06-151-0/+7
| | | | | | memory with ckalloc not malloc. This keeps Tk from erroring out when built with TCL_MEM_DEBUG.
* * generic/tkBind.c (HandleEventGenerate):hobbs2002-06-151-0/+4
| | | | | * generic/tkInt.h: changed warpInProgress boolean from int to a bit in the flags variable (TK_DISPLAY_IN_WARP)
* * generic/tkCmds.c (Tk_TkObjCmd):hobbs2002-06-151-0/+6
| | | | | | | * 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)
* * generic/tkInt.h:hobbs2002-06-151-1/+7
| | | | | | | * 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)
* * generic/tkEvent.c (Tk_HandleEvent):hobbs2002-06-151-5/+22
| | | | | | | | | * 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.
* * generic/tkBind.c (TkXErrorHandler): Declare staticmdejong2002-06-141-0/+5
| | | | function to avoid compiler error with VC++.
* ChangeLog police.mdejong2002-06-141-32/+32
|
* * generic/tkBind.c (ExpandPercents): Cast argument tomdejong2002-06-141-0/+5
| | | | Tk_GetAtomName in order to avoid compiler warning.
* ChangeLog police.mdejong2002-06-141-17/+32
|
* TIP #47 "Modifying Tk to Allow Writing X Window managers"jenglish2002-06-141-0/+17
| | | | | | | | (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.
* * unix/tkAppInit.c: Removed now unneeded and erroneous referenceandreas_kupries2002-06-141-0/+5
| | | | to 'matherr'. See Tcl ChangeLog entry 2002-05-31 Don Porter.
* no messagedavygrvy2002-06-141-0/+6
|
* Changed some _Old and _OLD to more descriptive terms.dkf2002-06-141-0/+5
|
* TIP#98 implementation; improved photo image copy and GIF frame accessdkf2002-06-141-0/+46
|
* * tests/winfo.test: Add basic tests for winfo ismapped.mdejong2002-06-141-0/+4
|
* * tests/unixWm.test:mdejong2002-06-131-0/+6
| | | | | * tests/wm.test: Move wm minsize and wm maxsize usage tests into the cross platform wm tests.
* * tests/cursor.test: corrected error after cursor-2.2.dgp2002-06-131-0/+6
| | | | | * tests/defs.tcl: Added enhancements to Tk's fake version of tcltest required by recent cursor.test changes.
* Refixed cursor handling on Windows, and added tests to enforce it.dkf2002-06-131-0/+9
|
* * changes: Clearly label wm transient changes asmdejong2002-06-131-0/+9
| | | | | | | | 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.
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-06-131-1/+13
| | | | | | | | | | | * 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]
* * win/tkWinCursor.c (TkGetCursorByName): reverted fix fromhobbs2002-06-121-0/+6
| | | | | 2002-06-06 because it broke the ability to use built-in cursors like left_ptr.
* mention Tk patch idmdejong2002-06-121-1/+1
|
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-06-121-0/+14
| | | | | | | | | | | | | * 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.
* * changes: Add note about new transient behavior.mdejong2002-06-121-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* fix for bug report #530212 "Bad Window Path Name in tkMenuFind"jenglish2002-06-111-0/+4
|
* Fixed a win98 issue where the /exclude option for xcopy is unsupported.davygrvy2002-06-101-0/+6
| | | | Reported by Roy Terry <royterry@earthlink.net>.