| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
for shared builds, with patch from Mike Hopkirk.
|
| |
|
| |
|
|
|
|
|
|
|
| |
5990], from Anselm Lingnau, which correctly sets the value of
useNewImage to 0 when the new image system is not to be used,
instead of leaving it at -1, which causes the check to be
performed more times than is really necessary.
|
|
|
|
| |
label.
|
|
|
|
| |
Brutti. [RFE: 6012].
|
| |
|
| |
|
|
|
|
| |
structure when it is created, to prevent possible core dumps.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/stubs.c (_XInitImageFuncPtrs): Add return value for function.
* win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle):
Remove unused declarations.
* win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused
function declarations.
* win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration.
* win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype.
* win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration.
* win/tkWinWindow.c (StackWindow): Remove unused declaration.
* win/tkWinWm.c (ConfigureEvent): Remove unused declaration.
* win/tkWinX.c (winXMutex): Remove unused declaration.
* xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.
|
|
|
|
|
| |
* generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a
problem with the GIF writing code [Bug: 5823].
|
| |
|
|
|
|
|
|
| |
* doc/colors.n: Added extra .CE/.CS pairs to break up the large
text block, so that the generated Windows help file could
accomodate the manual entry. [Bug: 5862]
|
|
|
|
|
|
|
|
|
|
|
| |
* library/xmfbox.tcl: Adjusted arguments list construction such
that -multiple is not presented as an option for tk_getSaveFile.
* library/tk.tcl: Added test for safe interpreter status before
attempting to load message catalogs (which is impossible in a
standard safe interpreter). This means that SafeTk will not have
localized dialogs, unless a means is found for loading the message
catalog files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/msgs/en.msg: English message catalog.
* library/msgs/es.msg: Spanish message catalog.
* library/msgs/fr.msg: French message catalog.
* unix/Makefile.in:
* unix/configure.in:
* library/tk.tcl:
* library/clrpick.tcl:
* library/choosedir.tcl:
* library/console.tcl:
* library/msgbox.tcl:
* library/tkfbox.tcl:
* library/xmfbox.tcl:
* library/bgerror.tcl: Applied patches from Laurent Duperval to
provide localization of Tk dialogs. [RFE: 2671].
|
|
|
|
|
| |
[Bug: 5275], which corrected a segfault-causing indexing problem
when deleting entries from torn-off menus.
|
|
|
|
|
|
|
|
|
|
|
| |
* library/choosedir.tcl: Tweaked to handle modified tkIconList API's.
* library/tkfbox.tcl: Preliminary implementation of multiple
selection; based on patch from [RFE: 604]. Some of the tkIconList
functions changed to support this and to make the dialog faster.
* library/xmfbox.tcl: Added support for multiple selection, from
patch in [RFE: 4999].
|
|
|
|
|
| |
messages (more than 30 characters wide, or more than 4 lines
long), so that the dialog remains a manageable size. [RFE: 5782]
|
|
|
|
|
|
| |
* win/configure.in:
* win/Makefile.in: Applied patch from [RFE: 5844], to extend
support for mingw compile environment on Windows.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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].
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
* win/Makefile.in: makefile cleanup
|
|
|
|
|
|
| |
* unix/mkLinks:
* doc/GetScroll.3: Added information about Tk_GetScrollInfoObj
[Bug: 1866].
|
|
|
|
| |
* doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889]
|
|
|
|
| |
* doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865].
|