Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Remove useless (void *) casts introduced in checkin [81e50c85ed]. The warnings were false flags from a faulty OpenBSD C compiler. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
15218b051c550638fb61dda3e86feb03 |
User & Date: | stwo 2012-08-09 16:38:57 |
Context
2012-08-10
| ||
11:28 | Shift-Control -> Control-Shift, for consisancy everywhere check-in: 43e436d5 user: jan.nijtmans tags: trunk | |
2012-08-09
| ||
16:38 | Remove useless (void *) casts introduced in checkin [81e50c85ed]. The warnings were false flags from a faulty OpenBSD C compiler. check-in: 15218b05 user: stwo tags: trunk | |
10:23 | it's no longer necessary to set _USE_32BIT_TIME_T in Tk check-in: be5939e3 user: jan.nijtmans tags: trunk | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 | 2012-07-31 Donal K. Fellows <[email protected]> * unix/tkUnixKey.c (TkpSetKeycodeAndState, TkpInitKeymapInfo) (TkpGetKeySym): [Bug 3551802]: Convert from XKeycodeToKeysym to XkbKeycodeToKeysym to fix deprecation warning. 2012-07-31 Jan Nijtmans <[email protected]> | > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 2012-08-09 Stuart Cassoff <[email protected]> * generic/tkEvent.c: Remove useless (void *) casts * unix/tkUnixEvent.c: introduced in checkin [81e50c85ed]. * unix/tkUnixKey.c: The warnings were false flags from a * unix/tkUnixRFont.c: faulty OpenBSD C compiler. 2012-07-31 Donal K. Fellows <[email protected]> * unix/tkUnixKey.c (TkpSetKeycodeAndState, TkpInitKeymapInfo) (TkpGetKeySym): [Bug 3551802]: Convert from XKeycodeToKeysym to XkbKeycodeToKeysym to fix deprecation warning. 2012-07-31 Jan Nijtmans <[email protected]> |
︙ | ︙ |
Changes to generic/tkEvent.c.
︙ | ︙ | |||
333 334 335 336 337 338 339 | if (dispPtr->inputStyle & XIMPreeditPosition) { XPoint spot = {0, 0}; preedit_attname = XNPreeditAttributes; preedit_attlist = XVaCreateNestedList(0, XNSpotLocation, &spot, XNFontSet, dispPtr->inputXfs, | | | | | 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 | if (dispPtr->inputStyle & XIMPreeditPosition) { XPoint spot = {0, 0}; preedit_attname = XNPreeditAttributes; preedit_attlist = XVaCreateNestedList(0, XNSpotLocation, &spot, XNFontSet, dispPtr->inputXfs, NULL); } winPtr->inputContext = XCreateIC(dispPtr->inputMethod, XNInputStyle, dispPtr->inputStyle, XNClientWindow, winPtr->window, XNFocusWindow, winPtr->window, preedit_attname, preedit_attlist, NULL); if (preedit_attlist) { XFree(preedit_attlist); } if (winPtr->inputContext == NULL) { /* XCreateIC failed. */ return; } /* * Adjust the window's event mask if the IM requires it. */ XGetICValues(winPtr->inputContext, XNFilterEvents, &im_event_mask, NULL); if ((winPtr->atts.event_mask & im_event_mask) != im_event_mask) { winPtr->atts.event_mask |= im_event_mask; XSelectInput(winPtr->display, winPtr->window, winPtr->atts.event_mask); } } #endif |
︙ | ︙ |
Changes to unix/tkUnixEvent.c.
︙ | ︙ | |||
642 643 644 645 646 647 648 | dispPtr->inputMethod = XOpenIM(dispPtr->display, NULL, NULL, NULL); if (dispPtr->inputMethod == NULL) { return; } if ((XGetIMValues(dispPtr->inputMethod, XNQueryInputStyle, &stylePtr, | | | 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 | dispPtr->inputMethod = XOpenIM(dispPtr->display, NULL, NULL, NULL); if (dispPtr->inputMethod == NULL) { return; } if ((XGetIMValues(dispPtr->inputMethod, XNQueryInputStyle, &stylePtr, NULL) != NULL) || (stylePtr == NULL)) { goto error; } /* * Select the best input style supported by both the IM and Tk. */ for (i = 0; i < stylePtr->count_styles; i++) { |
︙ | ︙ |
Changes to unix/tkUnixKey.c.
︙ | ︙ | |||
60 61 62 63 64 65 66 | && (dispPtr->inputStyle & XIMPreeditPosition) && (winPtr->inputContext != NULL)) { XVaNestedList preedit_attr; XPoint spot; spot.x = dispPtr->caret.x; spot.y = dispPtr->caret.y + dispPtr->caret.height; | | | | 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | && (dispPtr->inputStyle & XIMPreeditPosition) && (winPtr->inputContext != NULL)) { XVaNestedList preedit_attr; XPoint spot; spot.x = dispPtr->caret.x; spot.y = dispPtr->caret.y + dispPtr->caret.height; preedit_attr = XVaCreateNestedList(0, XNSpotLocation, &spot, NULL); XSetICValues(winPtr->inputContext, XNPreeditAttributes, preedit_attr, NULL); XFree(preedit_attr); } #endif } /* *---------------------------------------------------------------------- |
︙ | ︙ |
Changes to unix/tkUnixRFont.c.
︙ | ︙ | |||
119 120 121 122 123 124 125 | * fallback: */ ftFont = XftFontOpen(fontPtr->display, fontPtr->screen, FC_FAMILY, FcTypeString, "sans", FC_SIZE, FcTypeDouble, 12.0, FC_MATRIX, FcTypeMatrix, &mat, | | | 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | * fallback: */ ftFont = XftFontOpen(fontPtr->display, fontPtr->screen, FC_FAMILY, FcTypeString, "sans", FC_SIZE, FcTypeDouble, 12.0, FC_MATRIX, FcTypeMatrix, &mat, NULL); } if (!ftFont) { /* * The previous call should definitely not fail. Impossible to * proceed at this point. */ |
︙ | ︙ |