| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
resilient to font sizes
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
correct visibility of windows that use larger default fonts.
|
|
|
|
| |
when making a window nontransient [Bug #632816 "cannot remove transient"]
|
|
|
|
| |
(4.7): correct test for possible window drift [Bug #701931] (dgp)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* tests/image.test: image command name that would overwrite an
existing command name. Thanks to Michael Schlenker. [Bug 808039].
|
|
|
|
| |
to handle some tricky cases better. [Bug #792387]
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkMain.c (Tk_MainEx): Added recognition of the -encoding
* tests/main.test: command line option by Tk_MainEx()
and thus by wish, and any other program built on Tk_MainEx().
[Patch 800139].
This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs
that embed Tcl and Tk, build on Tk_MainEx(), and make use of
Tk_MainEx's former ability to pass a leading "-encoding" option to
interactive shell operations.
|
|
|
|
| |
* tests/scale.test: Added test for this bug.
|
|
|
|
|
| |
fleur (move) cursor under win.
* tests/cursor.test: Check that documented cursors are available.
|
| |
|
|
|
|
|
| |
* tests/panedwindow.test: shrinks instead of being clipped when
resized below the reqsize. [Bug 748277] (spjuth)
|
|
|
|
| |
to their default value. [Bug #697652]
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* tests/canvPs.test: correct crash when generating postscript for
a single-line polygon (point) with no color. [Bug #734498] (wilm)
|
|
|
|
| |
Can't delete early though as that removes the link with widgets and image names.
|
|
|
|
|
| |
* tests/constraints.tcl: -loadfile to hold definitions
* tests/*.test: common to all test files.
|
|
|
|
| |
commit. Thanks Larry Virden. [Bug 705567]
|
|
|
|
|
|
| |
to run only on Unix. Alternative approach did not match maintainer
habits.
* tests/spinbox.test (spinbox-17.4): Avoid long failure message.
|
|
|
|
|
|
| |
constraint to tests that depend on the
testwrapper command. These tests should
not be run under Windows for example.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that the resizable command keeps scripts from
changing the size of windows since it is
not true. The resizable command only applies
to user sizing via user interaction.
* tests/unixWm.test: Replace broken tests with
the nonPortable constraint with new tests for
maxsize and minsize options. These tests
verify that setting the minsize and maxsize
will resize the window if needed, and that
the wm hints will be updated with the new sizes.
* tests/wm.test: Add an exhaustive set of tests
for the wm maxsize and wm minsize commands.
These tests verify that setting the minsize
and maxsize will resize the window if needed.
These tests have only been run under Win98
and Window Maker under Linux, so further tweaking
may be needed for other systems.
* unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints):
Fixup comments and initialization for the minWidth,
minHeight, maxWidth, maxHeight, width, and height
members of the WmInfo struct. Check to ensure
that a new toplevel window size is not larger
than the maxsize or smaller than the minsize
when updating the geometry at idle time.
Pass new width and height values to the
UpdateSizeHints method so that it can properly
set the window min and max sizes for a window
that cannot be resized by the user. This fixes
a bug where the window resizes back to the original
size when the user clicks on the window border.
* win/tkWinWm.c (UpdateGeometryInfo):
Fixup comments and initialization for the minWidth,
minHeight, maxWidth, maxHeight, width, and height
members of the WmInfo struct. Check to ensure
that a new toplevel window size is not larger
than the maxsize or smaller than the minsize
when updating the geometry at idle time.
[Patch 568861]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check for a NULL masterPtr and slavePtr in the
GridStructureProc code to ensure that a Gridder
created before some error condition is ignored
when it comes to geometry calculations. This
approach closely matches the pack implementation.
Keep track of a -in argument to a grid command
in order to detect the case of an already
gridded widget that wants to change some options.
The previous implementation could make repeated
and unnecessary calls to Tk_ManageGeometry.
Replace use of "parent" with "master" in comments
throughout the file.
* generic/tkPack.c (PackStructureProc): Check for
a NULL masterPtr before other checks so that a
slave created under certain error conditions
is cleaned up properly.
Replace use of "parent" with "master" in comments
throughout the file.
* generic/tkPlace.c (CreateSlave, ConfigureSlave,
SlaveStructureProc):
Don't call Tk_ManageGeometry in CreateSlave since
this was causing incorrect results in some error
cases. Rework the ConfigureSlave method so that
slave setup is done in one place. The call to
Tk_ManageGeometry was added to the one place
where a slave is setup. When a slave is configured
but the master is not changed, simply goto the
scheduleLayout label. Check for a NULL master
in SlaveStructureProc for the sake of readability.
* tests/grid.test:
* tests/pack.test:
* tests/place.test: Add test to check that a
winfo manager call does not return incorrect
results after an error condition is hit.
[Patch 693063]
|
|
|
|
| |
underlying field to prevent a crash on Windows. [Bug #612110]
|
|
|
|
|
| |
* tests/listbox.test: Allow 'selection includes' to respond when
disabled (but only 'includes'). [Bug #632514]
|
|
|
|
|
| |
of disabled check/radiobutton to be more distinctive on unix.
* tests/unixButton.test: [Bug #669595] (hintermayer)
|
|
|
|
|
|
|
| |
* tests/entry.test: return 1 if selection is present even if
* tests/spinbox.test: entry/spinbox is disabled, as selection get
will still return the selection (although selection still ignore
modify requests when entry/spinbox is disabled). [Bug #637828]
|
| |
|
|
|
|
|
| |
* generic/tkPanedWindow.c (ValidSashIndex): corrected to note that
2 panes must exist before any one sash does. [tcllib Bug #689258]
|
|
|
|
| |
size when increasing the size of the panedwindow. [Bug #689099]
|
|
|
|
|
|
|
|
|
|
| |
press state saving code, it was incorrectly converting
normal motion events into button press and motion
events in some cases.
* generic/tkInt.h: Add mouseButtonWindow member
to the TkDisplay structure.
* tests/event.test: Add test case for faulty
button motion logic.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkCanvBmap.c (CreateBitmap): type coords handling to be
* generic/tkCanvImg.c (CreateImage): consistent across types
* generic/tkCanvPoly.c (CreatePolygon): and not pass empty coords
* generic/tkCanvLine.c (CreateLine): to item creation procs.
* generic/tkCanvText.c (CreateText):
* generic/tkCanvWind.c (CreateWinItem):
* generic/tkCanvas.c (CanvasWidgetCmd CANV_CREATE):
* generic/tkRectOval.c (CreateRectOval):
* tests/canvRect.test:
* tests/canvText.test:
* tests/canvas.test:
|
|
|
|
|
| |
Reworked windowObj type.
Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window"
|
|
|
|
|
|
|
|
|
|
|
|
| |
that you're not creating an image named the same as .'s command,
which refixes 220891, even when the name of the command has been
changed with 'rename'. The error message is better too.
* generic/tkFrame.c (TkToplevelWindowForCommand): Added way of
mapping from command names to tkwins-for-toplevels.
* tests/image.test (image-1.10,image-1.11): Updated to match new
error message and added test for the rename case.
* generic/tclInt.decls: Made TkToplevelWindowForCommand exported
privately.
|