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-5-branch |
Files: | files | file ages | folders |
SHA1: |
a48e1765e88de034974879f41bdb2ac4 |
User & Date: | jan.nijtmans 2012-07-08 04:32:16 |
Context
2012-07-08
| ||
08:19 | [Bug 3532186]: pkgIndex.tcl file complexity that's unwarranted: Test for ::argv variable before trying to use it check-in: d5b82649 user: jan.nijtmans tags: core-8-5-branch | |
04:34 | merge-mark check-in: 3d6fce19 user: jan.nijtmans tags: trunk | |
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:51 | [Bug 3538401]: Better description of the key difference between [wm geometry] and [winfo geometry] check-in: 02112de3 user: dkf tags: core-8-5-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.
︙ | ︙ | |||
2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 | #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) | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | | 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 | #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 */ |