Tk Source Code

Changes On Branch bug-d6b95ce492
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch rfe-2863003fff Excluding Merge-Ins

This is equivalent to a diff from faa07d44 to 60230550

2018-09-22
19:10
Update to implement TIP518 event name change check-in: 23815eb1 user: oehhar tags: tip518-event-last-child-unmanaged
2016-09-21
12:43
Make it more likely that compiles with VS2012/VS2013 actually work on Windows XP. See: https://tedwvc.wordpress.com/2014/01/01/how-to-target-xp-with-vc2012-or-vc2013-and-continue-to-use-the-windows-8-x-sdk/ check-in: 3d512d1c user: jan.nijtmans tags: core-8-6-branch
08:44
pack: shrink frame when last child is unpacked. Ticket [d6b95ce4] check-in: 64fe74c3 user: oehhar tags: bug-d6b95ce492-alt, tip-454
08:31
Tri-state buttons not working for non-native themes. Bug [3217462] check-in: 71c6b472 user: oehhar tags: bug-3217462
06:32
(Modernized) patch from egavilan to fix [2863003fff] and [d6b95ce492] - tk frame does not shrink to 0 height if last children unpacked. A virtual event is sent when the pack or grid geometry manager leaves a parent without any slaves Leaf check-in: 60230550 user: fvogel tags: bug-d6b95ce492, rfe-2863003fff
2016-09-19
12:05
Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More places where Unicode surrogate handling could be improved. check-in: 158c61aa user: jan.nijtmans tags: rfe-6c0d7aec67
2016-09-13
11:58
merge core-8-6-branch check-in: fa4660a6 user: jan.nijtmans tags: androwish
2016-09-10
09:08
Fixed [eb26817783] - listbox-13.3 fails on Linux check-in: c084d13c user: fvogel tags: trunk
09:07
Fixed [eb26817783] - listbox-13.3 fails on Linux check-in: faa07d44 user: fvogel tags: core-8-6-branch
09:05
Fixed [8c4216dca9] - listbox-4.1 unreliably fails on Debian 8 check-in: dae3fe82 user: fvogel tags: core-8-6-branch
2016-09-03
16:57
Fixed [eb26817783] - listbox-13.3 fails on Linux Closed-Leaf check-in: 9116a428 user: fvogel tags: bug-eb26817783

Changes to generic/tkGrid.c.

1729
1730
1731
1732
1733
1734
1735
1736
1737
1738




1739
1740
1741

1742
1743
1744
1745
1746
1747
1748
1729
1730
1731
1732
1733
1734
1735



1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750







-
-
-
+
+
+
+



+







    int realWidth, realHeight;	/* Actual size layout should take-up. */
    int usedX, usedY;

    masterPtr->flags &= ~REQUESTED_RELAYOUT;

    /*
     * If the master has no slaves anymore, then don't do anything at all:
     * just leave the master's size as-is. Otherwise there is no way to
     * "relinquish" control over the master so another geometry manager can
     * take over.
     * just leave the master's size as-is, but signal the master with the
     * <<GeometryManager>> virtual event.
     * Otherwise there is no way to "relinquish" control over the master
     * so another geometry manager can take over.
     */

    if (masterPtr->slavePtr == NULL) {
        TkSendVirtualEvent(masterPtr->tkwin, "GeometryManager", NULL);
	return;
    }

    if (masterPtr->masterDataPtr == NULL) {
	return;
    }

Changes to generic/tkPack.c.

596
597
598
599
600
601
602
603




604
605
606

607
608
609
610
611
612
613
596
597
598
599
600
601
602

603
604
605
606
607
608
609
610
611
612
613
614
615
616
617







-
+
+
+
+



+







    int borderLeft, borderRight;
    int maxWidth, maxHeight, tmp;

    masterPtr->flags &= ~REQUESTED_REPACK;

    /*
     * If the master has no slaves anymore, then don't do anything at all:
     * just leave the master's size as-is.
     * just leave the master's size as-is, but signal the master with the
     * <<GeometryManager>> virtual event.
     * Otherwise there is no way to "relinquish" control over the master
     * so another geometry manager can take over.
     */

    if (masterPtr->slavePtr == NULL) {
        TkSendVirtualEvent(masterPtr->tkwin, "GeometryManager", NULL);
	return;
    }

    /*
     * Abort any nested call to ArrangePacking for this window, since we'll do
     * everything necessary here, and set up so this call can be aborted if
     * necessary.