Changeset 97733 in vbox for trunk/src/VBox/Additions/common/VBoxGuest
- Timestamp:
- Dec 2, 2022 4:40:56 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibDragAndDrop.cpp
r96407 r97733 99 99 rc = Msg.cParms.GetUInt32(pcParms); AssertRC(rc); 100 100 } 101 102 LogRel(("DnD: Received message %s (%#x) from host\n", DnDHostMsgToStr(*puMsg), *puMsg)); 101 103 102 104 } while (rc == VERR_INTERRUPTED); … … 386 388 return VINF_SUCCESS; 387 389 390 LogRel2(("DnD: Receiving URI data started\n")); 391 388 392 /* 389 393 * Allocate temporary chunk buffer. … … 416 420 do 417 421 { 418 LogFlowFunc(("Wa ting for new message ...\n"));422 LogFlowFunc(("Waiting for new message ...\n")); 419 423 420 424 uint32_t uNextMsg; … … 583 587 default: 584 588 { 585 Log FlowFunc(("Message %RU32 not supported\n", uNextMsg));589 LogRel(("DnD: Warning: Message %s (%#x) from host not supported\n", DnDGuestMsgToStr(uNextMsg), uNextMsg)); 586 590 rc = VERR_NOT_SUPPORTED; 587 591 break; … … 616 620 if (RT_FAILURE(rc)) 617 621 { 622 LogRel(("DnD: Receiving URI data failed with %Rrc\n", rc)); 623 618 624 DnDTransferObjectDestroy(&objCur); 619 625 DnDDroppedFilesRollback(pDroppedFiles); … … 621 627 else 622 628 { 629 LogRel2(("DnD: Receiving URI data finished\n")); 630 623 631 /** @todo Compare the transfer list with the dirs/files we really transferred. */ 624 632 /** @todo Implement checksum verification, if any. */ … … 909 917 RTMemFree(pvData); 910 918 911 LogRel(("DnD: Receiving meta data failed with %Rrc\n", rc));912 913 919 if (rc != VERR_CANCELLED) 914 920 { 921 LogRel(("DnD: Receiving data failed with %Rrc\n", rc)); 922 915 923 int rc2 = VbglR3DnDHGSendProgress(pCtx, DND_PROGRESS_ERROR, 100 /* Percent */, rc); 916 924 if (RT_FAILURE(rc2)) 917 Log FlowFunc(("Unable to send progress error %Rrc to host: %Rrc\n", rc, rc2));925 LogRel(("DnD: Unable to send progress error %Rrc to host: %Rrc\n", rc, rc2)); 918 926 } 919 927 } … … 1178 1186 && (uSessionID != pCtx->uSessionID)) 1179 1187 { 1180 LogFlowFunc(("VM session ID changed to %RU64\n", uSessionID)); 1181 1188 LogRel2(("DnD: VM session ID changed to %RU64\n", uSessionID)); 1182 1189 rc = VbglR3DnDDisconnect(pCtx); 1183 1190 if (RT_SUCCESS(rc)) … … 1188 1195 if (rc == VERR_CANCELLED) /* Host service told us that we have to bail out. */ 1189 1196 { 1197 LogRel2(("DnD: Host service requested termination\n")); 1198 1190 1199 pEvent->enmType = VBGLR3DNDEVENTTYPE_QUIT; 1191 1192 1200 *ppEvent = pEvent; 1193 1201 … … 1312 1320 { 1313 1321 VbglR3DnDEventFree(pEvent); 1314 Log FlowFunc(("Failed with %Rrc\n", rc));1322 LogRel(("DnD: Handling message %s (%#x) failed with %Rrc\n", DnDHostMsgToStr(uMsg), uMsg, rc)); 1315 1323 } 1316 1324 else
Note:
See TracChangeset
for help on using the changeset viewer.