| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
from GetOpenFileName in the static build, hanging some tests.
The tests were fixed to timeout (noop cause unknown).
* tests/scale.test: correct 17.1 WRT bug 4833
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tkWinInt.h:
* win/tkWinClipboard.c (UpdateClipboard):
* win/tkWinX.c (GenerateXEvent): added updatingClipboard tsd and
TkWinUpdatingClipboard accessor function to allow us to flag
ourselves when we are the ones updating the clipboard. This
corrected inability to create our own clipboard types within a Tk
application. [Bug: 2338 4318]
* win/tkWinTest.c (TestclipboardCmd): improved TestclipboardCmd
with better error handling and obj'ification
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<Alt-z>] [Bug: 4611].
* tests/choosedir.test: Changed "namespace import ::tcltest" to
"namespace import -force ::tcltest".
* win/tkWinKey.c:
* unix/tkUnixKey.c:
* mac/tkMacKeyboard.c: Changed InitKeymapInfo to
TkpInitKeymapInfo. [Bug: 4611].
* generic/tkStubInit.c:
* generic/tkIntDecls.h: Re-gen'd from tkInt.decls.
* generic/tkInt.decls: Added TkpInitKeymapInfo to list of function
decls.
* generic/tkBind.c (HandleEventGenerate): Added code to initialize
keymap info if necessary, and to correctly set modifier bits in
XEvent structure create to handle [event generate] calls.
Previously, the alt/meta bits were not set correctly, so [event
generate $widget <Alt-z>] would always fail. [Bug: 4611]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
::tk::dialog::file namespace.
* tests/unixWm.test: Added tests for memory leak conditions in
tkUnixWm.c.
* tests/canvas.test: Added test for bad configuration options on
empty and non-empty canvas.
* generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of
CanvasWidgetCmd; this was causing non-empty canvases to improperly
handle bad configuration options [Bug: 4456].
|
|
|
|
|
|
|
| |
* generic/tkWindow.c:
* generic/tkInt.h: Updated Tcl_OptionCmd -> Tcl_OptionObjCmd
* generic/tkOption.c: Tcl_Obj'ectified the "option" command.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/choosedir.test: Updated tests.
* library/xmfbox.tcl: Updated to stash data array in
::tk::dialog::file namespace instead of in global namespace.
* library/tkfbox.tcl: Extended some functions to support creation
of a choosedir dialog, to allow greater code reuse between the two
dialogs. Moved tkFDialog* functions into a namespace
(::tk::dialog::file). Because these are private Tk functions (and
should thus not be used directly by users), this should not impact
anybody (the tk_getOpenFile and tk_getSaveFile commands still
exist at the global scope).
* library/tk.tcl:
* library/tclIndex: Updated function names for tkFDialog*
functions and choosedir functions.
* library/choosedir.tcl: New and improved implementation of
tk_chooseDirectory dialog. Based on tk_getOpenFile dialog.
* library/listbox.tcl: (tkListboxCancel) Added a check for empty
string value for tkPriv(listboxPrev). Without this check, it's
possible to get a stack trace under certain conditions. [Bug: 4373].
|
|
|
|
| |
issue with those tests on IRIX can be determined.
|
|
|
|
|
| |
more careful about cleaning up its potentially troublesome after
events.
|
|
|
|
| |
* generic/tkButton.c: Added -disabledforeground/-state to labels.
|
|
|
|
|
|
|
| |
* generic/tkEntry.c (EntrySetValue): malloc the value when
validating because validation could cause the pointer to become
invalid. Also fixed configure to not trigger focus-based
validation. Improved use of Tcl_WrongNumArgs. [Bug: 4320]
|
| |
|
| |
|
|
|
|
|
|
| |
* xlib/xcolors.c (XParseColor FindColor):
* win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to
return "correct" values for color mapping. [Bug: 4282]
|
| |
|
|
|
|
|
| |
destroying the widget
* tests/entry.test: added test suite for entry validation
|
|
|
|
|
| |
* library/clrpick.tcl: Added code to make color chooser dialog
inherit screen setting from parent (bug #2334)
|
|
|
|
|
|
| |
submitted patch was more complicated than necessary and did not
extend to writing GIF's, only reading), to allow reading/writing
of GIF files on EBCDIC and other non-ASCII based systems.
|
| |
|
|
|
|
| |
allow unix tests to run (testmetrics is mac/pc only)
|
|
|
|
|
|
|
| |
* generic/tkFont.c (Tk_ComputeTextLayout): Was erroneously setting
the width of newline-only text display chunks to some arbitrary
huge number, instead of 0; this was interfering with things like
the canvas find enclosed feature. (bug #2525).
|
|
|
|
|
|
|
| |
* generic/tkText.c (DumpLine/DumpSegment): Changed DumpSegment to
take a TkTextIndex instead of two integer offsets, so that it
could use TkTextPrintIndex to format the offsets into an index,
which makes it UTF smart (bug #2582).
|
| |
|
|
|
|
|
| |
* generic/tkText.c: Fixed bug relating to regexp searching for
empty lines; previously, the starting line was ignored. (bug #1643).
|
|
|
|
|
| |
* generic/tkText.c: fixed missing " in error case and missing
'dump' in subcommand listing [Bug: 4036]
|
|
|
|
|
|
|
|
|
|
|
|
| |
widget case (bug #1386).
* generic/tkGrid.c: Fixed interpretation of consecutive ^
characters in grid command. Previously, ^ ^ was interpreted as
meaning that there must be a 2-column widget above to extend,
neglecting the case where there was actually 2 1-column widgets
above. Now, ^ ^ is interpreted as a possible width; the gridder
will consume as many ^'s as there are columns in the widget, and
leave the rest for the extension of other widgets. (bug #1386).
|
|
|
|
| |
to -elide in search options.
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/unixWm.test:
* mac/tkMacWm.c:
* unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]
* win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077],
fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338]
and fixed mapping of transient window [Bug: 572]
Also, for all wm's, extended 'wm state' command to allow setting
of the state, and added official support of 'zoomed' state on Win.
|
| |
|
|
|
|
|
|
| |
* generic/tkScale.c:
* generic/tkScale.h: fixed possible core when freeing options
(cursor) associated with scale widget [Bug: 3897]
|
| |
|
|
|
|
| |
forcing users to manually place toplevels.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/canvImg.test:
* tests/canvPsArc.tcl:
* tests/canvPsImg.tcl: (new file)
* tests/canvRect.test:
* tests/canvText.test:
* tests/canvas.test:
* tests/defs.tcl:
* tests/entry.test:
* tests/event.test:
* tests/font.test:
* tests/frame.test:
* tests/imgPhoto.test:
* tests/safe.test:
* tests/scale.test:
* tests/scrollbar.test:
* tests/select.test:
* tests/text.test:
* tests/textDisp.test:
* tests/textTag.test:
* tests/unixFont.test:
* tests/unixWm.test:
* tests/visual_bb.test:
* tests/winClipboard.test: tests for the dash patch changes
|
|
|
|
| |
we know have GIF write capability)
|
| |
|
|
|
|
|
|
|
| |
update when items are removed from the listvar variable.
* generic/tkListbox.c: Added a check the updates the topIndex when
items are removed from the listvar variable.
|
| |
|
|
|
|
|
|
|
|
| |
* doc/listbox.n: Added documentation for -listvar option and for
itemconfigure and itemcget commands.
* generic/tkListbox.c: Added support for itemconfigure/itemcget
listbox subcommands (addresses rfe #936)
|
|
|
|
| |
* generic/tkListbox.c: Improved error messages for bad -listvar's.
|
|
|
|
|
| |
* generic/tkListbox.c: Added handlers for bad -listvar's (ie, bad
lists)
|
|
|
|
|
| |
* generic/tkListbox.c: Changed some old static buffers to base
size on TCL_DOUBLLE_SPACE instead of (completely) hardcoding the size.
|
|
|
|
|
|
| |
odd extra case that wasn't covered before.
* generic/tkListbox.c: Tests exposed some bugs, now fixed.
|
|
|
|
|
|
|
|
| |
error messages. No -listvar specific tests yet.
* win/tkWinDefault.h:
* unix/tkUnixDefault.h:
* mac/tkMacDefault.h: Added default value for -listvar option.
|
| |
|
|
|
|
|
| |
place a window manually. The Tk test suite can now run on twm with no user
intervention.
|
|
|
|
|
| |
headers #def'd with USE_OLD_IMAGE. Upgrades image stuff to
Tcl_Obj API, adds alpha channel (images are now 32 bpp)
|
|
|
|
| |
being used).
|
| |
|