| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tk.decls: Added Tk_CreateClientMessageHandler and
Tk_DeleteClientMessageHandler declarations.
* generic/tkEvent.c (Tk_HandleEvent): Added
Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler to
allow adding event handlers that invoke for ClientMessage events.
This is necessary to support unix dnd protocols.
|
| |
|
|
|
|
|
| |
* generic/tkCanvPoly.c (DisplayPolygon): added checks for the
polygon fillGC not being empty to prevent segfault. [Bug: 5783]
|
|
|
|
|
|
|
| |
K. Fellows; no longer dependant on tk_dialog; features a
Windows-esque "Details" button, and a customizable extra function
button that allows the user to (for example) save the stack trace
to a file.
|
|
|
|
|
|
| |
static char arrays with integer initialization, to address EBCIDIC
vs. ASCII encoding issues and to handle compilers that don't deal
with "\xAB" syntax for specifying hex values in strings.
|
|
|
|
| |
option database.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkInt.h: added Tk_SpinboxObjCmd declaration
* generic/tkEntry.c: added 'spinbox' widget - an extension of the
entry widget type.
* generic/tkWindow.c: added 'spinbox' to core Tk commands
* library/spinbox.tcl: (new file) binding and helper procs for spinbox
* library/tk.tcl: added spinbox.tcl to list of files to source
* tests/entry.test: updated changed error messages
* tests/spinbox.test: (new file) test suite for spinbox
|
| |
|
|
|
|
|
| |
table init'n to prevent seg fault when using place on multiple
displays.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
headers [Bug: 5516]
|
| |
|
|
|
|
|
|
|
| |
* doc/canvas.n:
* doc/entry.n:
* doc/listbox.n:
* doc/photo.n: doc fix-ups [Bug: 5396]
|
| |
|
|
|
|
|
|
| |
* tests/bell.test:
* generic/tkCmds.c (Tk_BellObjCmd): added -nice option to
optionally avoid resetting screen saver [Bug: 4279]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes
separator entries on the system menu to be drawn correctly [Bug: 5451].
|
|
|
|
| |
callback to calling restack and focus code immediately.
|
|
|
|
|
|
|
|
| |
* 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].
|
|
|
|
|
|
|
|
| |
* 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".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
in 0-255 range for bitmap ANSI fonts. May be improved to handle
bitmap non-ANSI fonts in the future. [Bug: 2172]
|
|
|
|
| |
to flag check to prevent timing related core dump. [Bug: 5438]
|
|
|
|
| |
would always get called for each OpenClipboard.
|
| |
|
|
|
|
|
|
|
| |
* generic/tk3d.c:
* generic/tkColor.c:
* generic/tkCursor.c: corrected handling of 3DBorder, Cursor and
Color objects on multiple screens. [Bug: 5454]
|
|
|
|
| |
as it would cause a hang for tkwait visibility
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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].
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
* doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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].
|
| |
|
|
|
|
|
|
|
| |
* mac/README:
* unix/README:
* unix/tk.spec:
* win/README: Updating URLs to reference dev.scriptics.com
|
| |
|
| |
|
| |
|