Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | [Bug 3541305]: Xfree/Xsync... should not be macros |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core-8-4-branch |
Files: | files | file ages | folders |
SHA1: |
971cdf51705fe78a2bdabe915112d82d |
User & Date: | jan.nijtmans 2012-07-08 04:29:12 |
Context
2012-07-08
| ||
08:17 | [Bug 3532186]: pkgIndex.tcl file complexity that's unwarranted: Test for ::argv variable before trying to use it check-in: 0ba8a8f5 user: jan.nijtmans tags: core-8-4-branch | |
04:32 | [Bug 3541305]: Xfree/Xsync... should not be macros check-in: a48e1765 user: jan.nijtmans tags: core-8-5-branch | |
04:29 | [Bug 3541305]: Xfree/Xsync... should not be macros check-in: 971cdf51 user: jan.nijtmans tags: core-8-4-branch | |
2012-07-05
| ||
09:49 | [Bug 3538401]: Better description of the key difference between [wm geometry] and [winfo geometry] check-in: 95150c8c user: dkf tags: core-8-4-branch | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 | 2012-07-05 Donal K. Fellows <[email protected]> * doc/wm.n (geometry): [Bug 3538401]: Better description of the key difference between [wm geometry] and [winfo geometry]; the former represents the window manager's understanding, not Tk's. 2012-07-04 Donal K. Fellows <[email protected]> | > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 | 2012-07-08 Jan Nijtmans <[email protected]> * generic/tkIntXlibDecls.h: [Bug 3541305]: Xfree/Xsync... should not be macros 2012-07-05 Donal K. Fellows <[email protected]> * doc/wm.n (geometry): [Bug 3538401]: Better description of the key difference between [wm geometry] and [winfo geometry]; the former represents the window manager's understanding, not Tk's. 2012-07-04 Donal K. Fellows <[email protected]> |
︙ | ︙ |
Changes to generic/tkIntXlibDecls.h.
︙ | ︙ | |||
2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 | #undef XUngrabServer #undef XFree #undef XNoOp #undef XSynchronize #undef XSync #undef XVisualIDFromVisual /* * The following stubs implement various calls that don't do anything * under Windows. */ #define XFlush(display) #define XGrabServer(display) #define XUngrabServer(display) /* * The following functions are implemented as macros under Windows. */ #define XFree(data) {if ((data) != NULL) ckfree((char *) (data));} #define XNoOp(display) {display->request++;} #define XSynchronize(display, bool) {display->request++;} #define XSync(display, bool) {display->request++;} #define XVisualIDFromVisual(visual) (visual->visualid) | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | | 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 | #undef XUngrabServer #undef XFree #undef XNoOp #undef XSynchronize #undef XSync #undef XVisualIDFromVisual #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) /* * The following stubs implement various calls that don't do anything * under Windows. In win32 tclsh 8.4 and 8.5 holds: * tkIntStubsPtr->tkBindDeadWindow != NULL * Then the following macros don't do anything. But when running Tcl win32 * version 8.6 or Cygwin (8.4, 8.5 or 8.6) then the functions are available in * the stub table. The real function from the stub table will be called, * even though it might be doing nothing. */ #define XFlush(display) (tkIntStubsPtr->tkBindDeadWindow? 0: tkIntXlibStubsPtr->xFlush(display)) #define XGrabServer(display) (tkIntStubsPtr->tkBindDeadWindow? 0: tkIntXlibStubsPtr->xGrabServer(display)) #define XUngrabServer(display) (tkIntStubsPtr->tkBindDeadWindow? 0: tkIntXlibStubsPtr->xUngrabServer(display)) /* * The following functions are implemented as macros under Windows. */ #define XFree(data) (tkIntStubsPtr->tkBindDeadWindow? ((data)? (ckfree((char *) (data)), 0): 0): tkIntXlibStubsPtr->xFree(data)) #define XNoOp(display) (tkIntStubsPtr->tkBindDeadWindow? 0: tkIntXlibStubsPtr->xNoOp(display)) #define XSynchronize(display, bool) (tkIntStubsPtr->tkBindDeadWindow? 0: tkIntXlibStubsPtr->xSynchronize(display, bool)) #define XSync(display, bool) (tkIntStubsPtr->tkBindDeadWindow? 0: tkIntXlibStubsPtr->xSync(display, bool)) #define XVisualIDFromVisual(visual) (tkIntStubsPtr->tkBindDeadWindow? ((visual)->visualid): tkIntXlibStubsPtr->xVisualIDFromVisual(visual)) #else /* !USE_TK_STUBS */ /* * The following stubs implement various calls that don't do anything * under Windows. */ #define XFlush(display) #define XGrabServer(display) #define XUngrabServer(display) /* * The following functions are implemented as macros under Windows. */ #define XFree(data) {if ((data) != NULL) ckfree((char *) (data));} #define XNoOp(display) {display->request++;} #define XSynchronize(display, bool) {display->request++;} #define XSync(display, bool) {display->request++;} #define XVisualIDFromVisual(visual) (visual->visualid) #endif /* !USE_TK_STUBS */ #endif /* __WIN32__ */ #endif /* _TKINTXLIBDECLS */ |