summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tk.h: added comments ot Tk_FakeWin structurehobbs2000-05-291-21/+21
|
* * generic/tkPlace.c (Tk_PlaceCmd): reworked place master/slavehobbs2000-05-291-13/+25
| | | | | table init'n to prevent seg fault when using place on multiple displays.
* Added initializer for classId variable in Tk_GetOption.ericm2000-05-271-2/+2
|
* Comment fixup.ericm2000-05-271-4/+4
|
* * generic/tkOption.c (Tk_GetOption): Extended Tk_GetOption toericm2000-05-272-28/+153
| | | | | | | | | | | support a new syntax for option names in option tables. If the option name has an embedded ".", it indicates that the name field contains both an option name and an overriding widget class, in the form "class.option". The lookup for the option value will be performed as though the widget class is that specified, rather than the actual widget class. (SetupStacks): Replaced several lines of array element copying with a for loop for conciseness.
* * library/button.tcl: Tweaks for -overrelief handling on Windows.ericm2000-05-252-5/+11
|
* * doc/radiobutton.n: Added documentation for -overrelief option.ericm2000-05-257-31/+109
| | | | | | | | | | | | | | | | | * doc/checkbutton.n: Added documentation for -overrelief option. * doc/label.n: Added documentation for -state option. * generic/tkButton.c: Added -overrelief option for checkbuttons, and radiobuttons. * library/button.tcl (tkButtonDown, macintosh version): Added protection against querying the -repeatdelay option from a widget that doesn't support it (ie, checkbuttons, radiobuttons, etc). Other platforms use a different binding script for checkbuttons and radiobuttons, so they don't have this issue. (tkCheckRadioEnter, windows version): Added code to handle -overrelief for check/radiobuttons on windows.
* see changeshobbs2000-05-231-0/+3
|
* * win/Makefile.in (install-libraries): corrected to install Xhobbs2000-05-231-3/+9
| | | | headers [Bug: 5516]
* see changeshobbs2000-05-231-0/+8
|
* * doc/bind.n:hobbs2000-05-235-42/+43
| | | | | | | * doc/canvas.n: * doc/entry.n: * doc/listbox.n: * doc/photo.n: doc fix-ups [Bug: 5396]
* commited changehobbs2000-05-171-0/+12
|
* * doc/bell.n:hobbs2000-05-173-26/+52
| | | | | | * tests/bell.test: * generic/tkCmds.c (Tk_BellObjCmd): added -nice option to optionally avoid resetting screen saver [Bug: 4279]
* * mac/tkMacDefault.h (DEF_ENTRY_READONLY_BG_COLOR,ericm2000-05-177-51/+93
| | | | | | | | | | | | | | | | | DEF_ENTRY_READONLY_BG_COLOR): * win/tkWinDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): * unix/tkUnixDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): Added default values for entry -readonlybackground option. * generic/tkEntry.c: Added -readonlybackground option, cleaned up excessive use of graphics contexts. * tests/entry.test: Added configuration test for -readonlybackground option. * doc/entry.n: Added documentation for -readonlybackground option.
* * 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].