Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Unbreak windows problems with commit [961ae24a3f] as well. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
a6f5a3361aaf43787663124832833788 |
User & Date: | andreask 2012-08-30 17:54:43 |
Context
2012-08-30
| ||
19:18 | Update changes for 8.6b3 check-in: dd090c36 user: dgp tags: trunk | |
17:54 | Unbreak windows problems with commit [961ae24a3f] as well. check-in: a6f5a336 user: andreask tags: trunk | |
17:31 | Unbreak AIX, replaced use of C99 comments in commit [961ae24a3f] (2012-08-27) with C89-style. check-in: d39e4518 user: andreask tags: trunk | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 8 9 10 11 | 2012-08-30 Andreas Kupries <[email protected]> * generic/tkCanvWind.c (CanvasPsWindow): Unbreak AIX, replaced use of C99 comments in commit [961ae24a3f] (2012-08-27) with C89-style. 2012-08-28 Jan Nijtmans <[email protected]> * generic/tkMenuDraw.c: [Bug 3562426]: Context menu goes out of edge of screen. 2012-08-27 Donal K. Fellows <[email protected]> | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 2012-08-30 Andreas Kupries <[email protected]> * generic/tkCanvWind.c (CanvasPsWindow): Unbreak AIX, replaced use of C99 comments in commit [961ae24a3f] (2012-08-27) with C89-style. * win/tkWinDialog.c: Unbreak windows problems with commit [961ae24a3f] * win/tkWinMenu.c: as well. * win/tkWinSend.c: 2012-08-28 Jan Nijtmans <[email protected]> * generic/tkMenuDraw.c: [Bug 3562426]: Context menu goes out of edge of screen. 2012-08-27 Donal K. Fellows <[email protected]> |
︙ | ︙ |
Changes to win/tkWinDialog.c.
︙ | ︙ | |||
1600 1601 1602 1603 1604 1605 1606 | GetFullPathName(string, MAX_PATH, chooseDirSharedData->retDir, NULL); if (chooseDirSharedData->mustExist) { /* * User HAS to select a valid directory. */ | | | | 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 | GetFullPathName(string, MAX_PATH, chooseDirSharedData->retDir, NULL); if (chooseDirSharedData->mustExist) { /* * User HAS to select a valid directory. */ wsprintf(selDir, TEXT("Directory '%s' does not exist,\n") TEXT("please select or enter an existing directory."), chooseDirSharedData->retDir); MessageBox(NULL, selDir, NULL, MB_ICONEXCLAMATION|MB_OK); chooseDirSharedData->retDir[0] = '\0'; return 1; } } else { /* |
︙ | ︙ |
Changes to win/tkWinMenu.c.
︙ | ︙ | |||
331 332 333 334 335 336 337 | ThreadSpecificData *tsdPtr = Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); winMenuHdl = CreatePopupMenu(); if (winMenuHdl == NULL) { Tcl_SetObjResult(menuPtr->interp, Tcl_NewStringObj( "No more menus can be allocated.", -1)); | | | 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 | ThreadSpecificData *tsdPtr = Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); winMenuHdl = CreatePopupMenu(); if (winMenuHdl == NULL) { Tcl_SetObjResult(menuPtr->interp, Tcl_NewStringObj( "No more menus can be allocated.", -1)); Tcl_SetErrorCode(menuPtr->interp, "TK", "MENU", "SYSTEM_RESOURCES", NULL); return TCL_ERROR; } /* * We hash all of the HMENU's so that we can get their menu ptrs back when * dispatch messages. */ |
︙ | ︙ |
Changes to win/tkWinSend.c.
|
| | | 1 2 3 4 5 6 7 8 | /* * tkWinSend.c -- * * This file provides functions that implement the "send" command, * allowing commands to be passed from interpreter to interpreter. * * Copyright (c) 1997 by Sun Microsystems, Inc. * Copyright (c) 2003 Pat Thoyts <[email protected]> |
︙ | ︙ | |||
143 144 145 146 147 148 149 | */ if (tsdPtr->initialized == 0) { hr = CoInitialize(0); if (FAILED(hr)) { Tcl_SetObjResult(interp, Tcl_NewStringObj( "failed to initialize the COM library", -1)); | | | 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | */ if (tsdPtr->initialized == 0) { hr = CoInitialize(0); if (FAILED(hr)) { Tcl_SetObjResult(interp, Tcl_NewStringObj( "failed to initialize the COM library", -1)); Tcl_SetErrorCode(interp, "TK", "SEND", "COM", NULL); return ""; } tsdPtr->initialized = 1; TRACE("Initialized COM library for interp 0x%08X\n", (long)interp); } /* |
︙ | ︙ | |||
361 362 363 364 365 366 367 | * We don't support displayPtr. See TIP #150. */ if (displayPtr) { Tcl_SetObjResult(interp, Tcl_NewStringObj( "option not implemented: \"displayof\" is not available" " for this platform.", -1)); | | | 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 | * We don't support displayPtr. See TIP #150. */ if (displayPtr) { Tcl_SetObjResult(interp, Tcl_NewStringObj( "option not implemented: \"displayof\" is not available" " for this platform.", -1)); Tcl_SetErrorCode(interp, "TK", "SEND", "DISPLAYOF_WIN", NULL); result = TCL_ERROR; } /* * Send the arguments to the foreign interp. */ /* FIX ME: we need to check for local interp */ |
︙ | ︙ | |||
435 436 437 438 439 440 441 | hr = pUnkInterp->lpVtbl->QueryInterface(pUnkInterp, &IID_IDispatch, (void **) ppdisp); pUnkInterp->lpVtbl->Release(pUnkInterp); } else { Tcl_SetObjResult(interp, Tcl_ObjPrintf( "no application named \"%s\"", name)); | | | 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 | hr = pUnkInterp->lpVtbl->QueryInterface(pUnkInterp, &IID_IDispatch, (void **) ppdisp); pUnkInterp->lpVtbl->Release(pUnkInterp); } else { Tcl_SetObjResult(interp, Tcl_ObjPrintf( "no application named \"%s\"", name)); Tcl_SetErrorCode(interp, "TK", "LOOKUP", "APPLICATION", NULL); result = TCL_ERROR; } pmk->lpVtbl->Release(pmk); } pBindCtx->lpVtbl->Release(pBindCtx); |
︙ | ︙ |