summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * doc/SetOptions.3: Added information about TK_OPTION_NULL_OK withericm2000-05-1717-157/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add theericm2000-05-162-2/+20
| | | | | MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes separator entries on the system menu to be drawn correctly [Bug: 5451].
* * win/tkWinWm.c (Tk_WmCmd): changed wm deiconify from using idlehobbs2000-05-161-46/+6
| | | | callback to calling restack and focus code immediately.
* * doc/image.n: Added documentation for [image inuse] command.ericm2000-05-154-24/+82
| | | | | | | | * 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].
* * doc/clipboard.n: Added documentation for "clipboard get".ericm2000-05-144-28/+135
| | | | | | | | * 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".
* * library/entry.tcl: Adjusted Button-1 binding to set focus to theericm2000-05-148-39/+194
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* * unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry):ericm2000-05-1315-269/+961
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* see changeshobbs2000-05-131-0/+12
|
* * win/tkWinFont.c (LoadFontRanges): improved support for all charshobbs2000-05-131-1/+12
| | | | | in 0-255 range for bitmap ANSI fonts. May be improved to handle bitmap non-ANSI fonts in the future. [Bug: 2172]
* * win/tkWinWm.c (RaiseWinWhenIdle): added TK_DONT_DESTROY_WINDOWhobbs2000-05-131-2/+3
| | | | to flag check to prevent timing related core dump. [Bug: 5438]
* * win/tkWinTest.c (TestclipboardObjCmd): ensured CloseClipboardhobbs2000-05-111-2/+4
| | | | would always get called for each OpenClipboard.
* see changeshobbs2000-05-111-0/+11
|
* * tests/menu.test:hobbs2000-05-114-73/+94
| | | | | | | * generic/tk3d.c: * generic/tkColor.c: * generic/tkCursor.c: corrected handling of 3DBorder, Cursor and Color objects on multiple screens. [Bug: 5454]
* * tests/focus.test (focusSetupAlt): removed wm withdraw from prochobbs2000-05-111-2/+1
| | | | as it would cause a hang for tkwait visibility
* Added link relief support.ericm2000-05-111-1/+15
|
* * doc/button.n: Added documentation for link relief.ericm2000-05-1012-22/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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].
* * library/focus.tcl: fixed calling of takeFocus proc [Bug: 5372]hobbs2000-05-092-4/+8
|
* * README:hobbs2000-05-0312-50/+66
| | | | | | | | | | | | | * 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
* * unix/Makefile.in: added tk.spec to dist targethobbs2000-05-031-2/+2
|
* * doc/Tk_Init.3: Added Tk_SafeInit information [Bug: 1884].ericm2000-04-285-10/+58
| | | | * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].
* * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].ericm2000-04-278-18/+1887
| | | | | | | | | | | | | | * 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].
* Regen'd with new mkLinks.tclericm2000-04-261-680/+357
|
* * README:core_8_3_1hobbs2000-04-266-22/+25
| | | | | | | * mac/README: * unix/README: * unix/tk.spec: * win/README: Updating URLs to reference dev.scriptics.com
* updated for 8.3.1 releasehobbs2000-04-262-1/+61
|
* extra careful quotinghobbs2000-04-251-2/+2
|
* winhelp target improvementshobbs2000-04-251-1/+2
|
* macro fixhobbs2000-04-251-2/+2
|
* * unix/Makefile.in:hobbs2000-04-253-111/+124
| | | | * win/Makefile.in: makefile cleanup
* * generic/tkMain.c: Fixed function header comment for Tk_MainEx.ericm2000-04-254-7/+32
| | | | | | * unix/mkLinks: * doc/GetScroll.3: Added information about Tk_GetScrollInfoObj [Bug: 1866].
* * unix/mkLinks:ericm2000-04-253-0/+76
| | | | * doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889]
* * unix/mkLinks:ericm2000-04-253-6/+28
| | | | * doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865].
* * unix/mkLinks:ericm2000-04-252-0/+29
| | | | * doc/GetHINSTANCE.3: Man page for Tk_GetHINSTANCE [Bug: 1862].
* * generic/tkImage.c (Tk_PostscriptImage): added check to createhobbs2000-04-257-25/+582
| | | | | | | | | | | 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
* * generic/tkConfig.c (DoObjConfig): removed direct setting ofhobbs2000-04-251-2/+4
| | | | interp->result.
* * mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel inhobbs2000-04-251-2/+2
| | | | | colormapwindows case (bug found by Reasoning, Inc's automated code testing).
* * unix/mkLinks:ericm2000-04-243-0/+39
| | | | * doc/GetHWND.3: Man page for Tk_GetHWND [Bug: 1863].
* * unix/mkLinks:ericm2000-04-242-0/+34
| | | | * doc/HWNDToWindow.3: Man page for Tk_HWNDToWindow [Bug: 1869].
* * unix/mkLinks:ericm2000-04-243-12/+94
| | | | * doc/AddOption.3: Man page for Tk_AddOption [Bug: 1854]
* 2000-04-22 Jim Ingham <jingham@cygnus.com> * mac/tkMacDialog.c ↵jingham2000-04-234-26/+74
| | | | (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.
* see changeshobbs2000-04-211-0/+11
|
* * win/aclocal.m4: made SC_PROG_TCLSH search specifically forhobbs2000-04-212-10/+16
| | | | | | tclsh*.exe type files to find an executable. * win/Makefile.in: fixed up cleanup, winhelp, cat32 targets
* * library/console.tcl: made console use systemfixed font on Winhobbs2000-04-211-4/+9
|
* * generic/tkEntry.c: removed unnecessary ENTRY_VALIDATE #definehobbs2000-04-211-59/+57
|
* * library/choosedir.tcl (::tk::dialog::file::chooseDir::Config):hobbs2000-04-194-306/+303
| | | | | | | | | * 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
* * doc/WinViewable.3:ericm2000-04-198-96/+21
| | | | | | | | | | | | | * 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).
* * generic/tkRectOval.c (ConfigureRectOval): Added checks for validericm2000-04-192-3/+18
| | | | | | 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].
* * README:hobbs2000-04-198-195/+48
| | | | | | | | | | | | | * 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).
* * win/tkWinPointer.c: Changed Mod2Mask in TkWinGetModifierState toericm2000-04-195-41/+69
| | | | | | | | | | | | | | | | 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].
* * win/tk.rc:redman2000-04-184-4/+11
| | | | | | * win/wish.rc: * win/wish.ico: Modified copyright dates in Windows resource files. Updated the icon for wish.exe.
* * win/tkWinDialog.c: Added checks for visibility of parent windowericm2000-04-1812-61/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.