| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Windows platforms that were overlooked before: tkOpenDocument,
tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: .
Thanks to Vince Darley for prompting another look.
|
| |
|
|
|
|
|
| |
implementing TIP 44. All Tk commands and variables matching
tk[A-Z]* are now in the ::tk namespace.
|
|
|
|
|
| |
an error like this: can't read "data(list)": no such element in array.
The problem is a race condition. This patch should fix the problem.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/entry.tcl:
* library/spinbox.tcl:
* library/text.tcl:
* library/tk.tcl: added private ::tk::GetSelection command to
handle requesting selection. This is to support requesting
UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox,
Entry and Console to use this command.
* tests/select.test:
* generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler):
on Unix, a UTF8_STRING handler will be created when the user
requests a STRING handler (in addition to the STRING handler).
This provides implicit support for the new UTF8_STRING selection
target.
* unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added
support for UTF8_STRING target. [RFE #418653, Patch #433283]
* generic/tkInt.h: added utf8Atom to TkDisplay structure.
|
| |
|
|
|
|
|
|
| |
safe.test.
* library/tk.tcl: moved package require msgcat inside if case to
not be used in safe interps.
|
|
|
|
| |
for Windows C&P to work. [Bug #220929]
|
|
|
|
|
| |
<<PrevWindow>> virtual event as it doesn't seem to work on all HP
systems. [Bug #411669]
|
|
|
|
| |
with spaces using tk_getOpenFile -multiple 1. [Bug #411640]
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* library/text.tcl (tkTextSelectTo): When
the mouse is dragged with the button down,
move the insertion cursor to the current
mouse position.
* tests/event.test: Add a series of tests
for event generation. Add tests for selection,
check the position of the insertion cursor.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* doc/tk.n: updated to reflect default on status of useinputmethods.
* library/tk.tcl: tk useinputmethods is set to 1 by default. This
enables Kanji and dead-char input by default. Intro'd in
1999-12-16 with default off to avoid some problems with older X
servers that would slow down widget creation over time.
|
|
|
|
|
| |
which adds safety for directory names containing spaces or which
are non-lists.
|
|
|
|
|
| |
another application is holding the grab, the "grab" command fails and
the dialog box is inoperative. "catch" the "grab" to prevent this.
|
|
|
|
|
| |
handling of multi-pattern filters (eg, "* *.*"), which was broken
by the getOpenFile performance patches applied earlier.
|
|
|
|
| |
initialized Tk in a safe interpreter.
|
|
|
|
|
| |
<Tab> bindings when the text widget is disabled (ie, it advances
focus to the next widget).
|
| |
|
| |
|
| |
|
|
|
|
| |
label.
|
|
|
|
| |
Brutti. [RFE: 6012].
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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].
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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].
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
previously, anchor and insert marks were placed in unexpected
locations following a double or triple click. Now they are placed
logically. Also tweaked the extension of selection via
shift-double-clicks so that it no longer selects the contiguous
whitespace on the side of the selection opposite the
double-click. [RFE: 4253].
|