summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* * unix/configure:hobbs2002-04-263-4/+10
| | | | | * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so that the .sl knows its dependent libs.
* namespacing ::tk message catalogs, bug [546333]bagnonm2002-04-269-579/+594
|
* * mac/tkMacTclCode.r:das2002-04-233-40/+83
| | | | | | | | | * 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.
* * library/button.tcl (ButtonLeave): corrected the 3hobbs2002-04-232-10/+15
| | | | | implementations of ButtonLeave to check for Priv(relief) existing before trying to use it. [Patch #541849]
* * generic/tkTextDisp.c (DisplayLineBackground):hobbs2002-04-234-39/+72
| | | | | | * 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)
* corrected runtest target dependencieshobbs2002-04-231-3/+3
|
* Fix for Bug 223739 to get rid of floating point equality test.dkf2002-04-222-5/+29
| | | | Sorry for delaying this fix for months; I hadn't noticed that it had been reviewed!
* Fix for [ 539903 ] Doc error for "-message"jenglish2002-04-191-2/+2
|
* fixed translation of yes from si to "s\u00ed"bagnonm2002-04-161-1/+1
|
* Modifed the translation of Yes from "Si" to "S\u00ed"bagnonm2002-04-161-1/+1
|
* new feature request, 539309 make dependence on msgcat "soft"bagnonm2002-04-161-3/+30
| | | | | msgcat procedures as used in tk defined in case the package is not available.
* see ChangeLoghobbs2002-04-121-0/+45
|
* * generic/tkWindow.c (TkCloseDisplay): Added to centralize where ahobbs2002-04-121-107/+100
| | | | | | | | | | 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.
* * unix/tkUnixEvent.c (TkpCloseDisplay): call TkSendCleanup andhobbs2002-04-121-26/+25
| | | | TkWmCleanup.
* unix/tkUnixSend.c (TkSendCleanup): free send-related resourceshobbs2002-04-121-1/+34
|
* * generic/tkStubInit.c:hobbs2002-04-124-4/+76
| | | | | | | | * 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.
* * generic/tkInt.h:hobbs2002-04-122-10/+54
| | | | | | * 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.
* generic/tkFocus.c (TkFocusFree): frees TkMainInfo datahobbs2002-04-121-1/+37
|
* generic/tkClipboard.c (TkClipCleanup): frees TkDisplay datahobbs2002-04-121-1/+39
|
* * generic/tkGC.c (TkGCCleanup): frees TkDisplay datahobbs2002-04-121-2/+58
|
* * unix/tkUnixWm.c (TkWmStackorderToplevel): ensure childrenhobbs2002-04-121-50/+96
| | | | | | | | | | 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).
* * unix/tkUnixSelect.c (SelRcvIncrProc): added missing Tcl_Releasehobbs2002-04-121-1/+2
| | | | of interp
* remove eof whitespacehobbs2002-04-121-14/+1
|
* * generic/tkGet.c (FreeUidThreadExitProc): free thread-specifichobbs2002-04-121-1/+30
| | | | resources on thread exit
* see ChangeLoghobbs2002-04-121-0/+46
|
* * unix/tkUnixFont.c (FontPkgCleanup): cleanup thread specific fonthobbs2002-04-121-1/+41
| | | | resources on thread exit.
* * mac/tkMacXStubs.c (TkpOpenDisplay): memset the initial displayhobbs2002-04-121-1/+3
| | | | structures to 0.
* * generic/tkOption.c (OptionThreadExitProc): freed tsd optionhobbs2002-04-121-1/+38
| | | | | stacks on thread exit. (Tk_GetOption): free mem used to get Tk_Uid