summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tk.decls: added TIP #84 implementation that adds ahobbs2002-06-157-14/+97
| | | | | | | | | * 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.
* updated from current docshobbs2002-06-151-83/+90
|
* * generic/tkBind.c (TkXErrorHandler): Declare staticmdejong2002-06-142-1/+8
| | | | function to avoid compiler error with VC++.
* ChangeLog police.mdejong2002-06-141-32/+32
|
* * generic/tkBind.c (ExpandPercents): Cast argument tomdejong2002-06-142-2/+7
| | | | Tk_GetAtomName in order to avoid compiler warning.
* ChangeLog police.mdejong2002-06-141-17/+32
|
* Reverting to r1.65 -- last change should not have been committed.jenglish2002-06-141-10/+3
|
* corrected test numberinghobbs2002-06-141-4/+4
|
* TIP #47 "Modifying Tk to Allow Writing X Window managers"jenglish2002-06-1425-141/+459
| | | | | | | | (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-142-9/+6
| | | | to 'matherr'. See Tcl ChangeLog entry 2002-05-31 Don Porter.
* no messagedavygrvy2002-06-141-0/+6
|
* The test for compiler optimizations was in error. Thanks goes to Roy Terrydavygrvy2002-06-141-2/+2
| | | | <royterry@earthlink.net> for his assistence with this.
* regendkf2002-06-142-14/+14
|
* Changed some _Old and _OLD to more descriptive terms.dkf2002-06-145-17/+23
|
* TIP#98 implementation; improved photo image copy and GIF frame accessdkf2002-06-1416-224/+675
|
* * tests/winfo.test: Add basic tests for winfo ismapped.mdejong2002-06-142-1/+27
|
* * tests/unixWm.test:mdejong2002-06-133-46/+68
| | | | | * 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-133-4/+14
| | | | | * 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-133-54/+100
|
* * changes: Clearly label wm transient changes asmdejong2002-06-133-7/+18
| | | | | | | | 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-136-6/+53
| | | | | | | | | | | * 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-122-42/+35
| | | | | 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-127-12/+64
| | | | | | | | | | | | | * 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-126-44/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-112-5/+7
|
* D'oh! Next time, I should at least check I've got the variable names right.dkf2002-06-111-3/+3
|
* Fixed a win98 issue where the /exclude option for xcopy is unsupported.davygrvy2002-06-102-4/+13
| | | | Reported by Roy Terry <royterry@earthlink.net>.
* Added "magic ampersand" approach for translated strings in standard dialogs.a_kovalenko2002-06-1015-306/+480
| | | | | All translations were modified to work with "magic ampersand". Russian translations added.
* * library/bgerror.tcl (tk::dialog::error::bgerror):mdejong2002-06-092-5/+8
| | | | | Don't set the bgerror dialog as a transient of itself since this operation is ill defined.
* Cursor name parsing was quite broken compared with Unix; cursor names aredkf2002-06-062-29/+49
| | | | supposed to be first-and-foremost a list...
* Make non-default buttons in messagebox have -default normala_kovalenko2002-06-062-1/+11
|
* * unix/tkUnixFont.c (Tk_DrawChars): Don't assume thata_kovalenko2002-06-052-11/+25
| | | | | | | 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]
* * changes: Document [wm transient .t .t] error.mdejong2002-05-275-31/+93
| | | | | | | | | | | | | | * 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.
* * unix/tkUnixWm.c (WmInfo, TkWmCleanup, TkWmNewWindow,mdejong2002-05-272-41/+33
| | | | | | | | | 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.
* * generic/tkInt.decls: Add unix decl for TkpWmSetState.mdejong2002-05-276-68/+253
| | | | | | | | | | | * 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.
* * tests/embed.test: Added cross platform embed tests.mdejong2002-05-275-5/+95
| | | | | | | | | | | | | | 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.
* When creating a radiobutton with -value "" it was not drawn properlypspjuth2002-05-262-1/+18
| | | | if the -variable was created by the radiobutton. [Bug #548765]
* Negative coordinates were rounded badly causing a 1 pixelpspjuth2002-05-262-3/+9
| | | | displacement. [Bug #556526]
* * mac/tkMacWm.c (Tk_WmCmd):mdejong2002-05-246-11/+117
| | | | | | | | | | | * 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.
* * mac/tkMacWm.c (TkWmStackorderToplevelWrapperMap):mdejong2002-05-235-12/+27
| | | | | | | | * 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.
* * unix/configure: Regen.mdejong2002-05-214-219/+252
| | | | | | | * 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.
* * A little namespace cleanup on Daniel Steffen'sdgp2002-05-202-16/+26
| | | | latest revisions to avoid defining new global commands.
* * mac/tkMacInit.c:das2002-05-203-1/+9
| | | | | | * 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).
* * mac/tkMacInit.c:das2002-05-204-22/+33
| | | | | | | * 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)
* * Cleaned up namespace usage of the bgerrordgp2002-05-083-60/+68
| | | | dialog. Completes soft dependence on msgcat. [FR 539309]
* no messagedavygrvy2002-05-081-0/+6
|
* Problem with TCLDIR macro not accepting forward slash path seperatorsdavygrvy2002-05-081-36/+45
| | | | resolved. Added the same logic to INSTALLDIR, too. [Bug #553208]
* new feature, make dependence on msgcat soft, [539309]bagnonm2002-05-031-14/+16
|
* new feature, make dependence on msgcat soft, [539309]bagnonm2002-04-298-145/+143
|