Tk Source Code

Changes On Branch bug-28d0b8fb2f
Login

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

Changes In Branch bug-28d0b8fb2f Excluding Merge-Ins

This is equivalent to a diff from 018d6a36 to 324dc577

2017-08-08
18:59
Fix [28d0b8fb2f]: According to the ICCCM, the property used for X selection conversion must be deleted before requesting the conversion. Patch from 'dpb' check-in: 92675759 user: fvogel tags: core-8-6-branch
2017-08-06
18:46
Fix [28d0b8fb2f]: Delete the property used for X selection conversion before requesting the conversion. Patch from 'dpb' Closed-Leaf check-in: 324dc577 user: fvogel tags: bug-28d0b8fb2f
2017-08-04
13:42
[9eab541213] Fix OSX file dialog handling of -initialdir. Thanks to Christian Gollwitzer. check-in: f3f47819 user: dgp tags: trunk
2017-08-03
16:01
merge 8.6 check-in: 194e485f user: dgp tags: rc1, core-8-6-7-rc
15:59
[9eab541213] Fix OSX file dialog handling of -initialdir. Thanks to Christian Gollwitzer. check-in: 018d6a36 user: dgp tags: core-8-6-branch
2017-08-02
12:00
Fix [b601ce3ab1]: A corrupted image can cause resource exhaustion. Patch from Keith Nash. check-in: afcc283f user: fvogel tags: core-8-6-branch

Changes to unix/tkUnixSelect.c.

161
162
163
164
165
166
167







168
169
170
171
172
173
174
    retr.result = -1;
    retr.idleTime = 0;
    retr.encFlags = TCL_ENCODING_START;
    retr.nextPtr = pendingRetrievals;
    Tcl_DStringInit(&retr.buf);
    pendingRetrievals = &retr;








    /*
     * Initiate the request for the selection. Note: can't use TkCurrentTime
     * for the time. If we do, and this application hasn't received any X
     * events in a long time, the current time will be way in the past and
     * could even predate the time when the selection was made; if this
     * happens, the request will be rejected.
     */







>
>
>
>
>
>
>







161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
    retr.result = -1;
    retr.idleTime = 0;
    retr.encFlags = TCL_ENCODING_START;
    retr.nextPtr = pendingRetrievals;
    Tcl_DStringInit(&retr.buf);
    pendingRetrievals = &retr;

    /*
     * Delete the property to indicate that no parameters are supplied for
     * the conversion request.
     */

    XDeleteProperty(winPtr->display, retr.winPtr->window, retr.property);

    /*
     * Initiate the request for the selection. Note: can't use TkCurrentTime
     * for the time. If we do, and this application hasn't received any X
     * events in a long time, the current time will be way in the past and
     * could even predate the time when the selection was made; if this
     * happens, the request will be rejected.
     */