Changeset 55180 in vbox
- Timestamp:
- Apr 10, 2015 10:29:54 AM (9 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 13 edited
-
Additions/WINNT/VBoxTray/VBoxDnD.cpp (modified) (10 diffs)
-
Additions/WINNT/VBoxTray/VBoxDnDDropTarget.cpp (modified) (1 diff)
-
Additions/x11/VBoxClient/draganddrop.cpp (modified) (1 diff)
-
Frontends/VBoxManage/VBoxManageControlVM.cpp (modified) (1 diff)
-
Frontends/VBoxManage/VBoxManageInfo.cpp (modified) (2 diffs)
-
Frontends/VirtualBox/src/UIVMInfoDialog.cpp (modified) (1 diff)
-
Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp (modified) (1 diff)
-
Frontends/VirtualBox/src/runtime/UIDnDMIMEData.cpp (modified) (1 diff)
-
Main/src-client/ConsoleImpl.cpp (modified) (3 diffs)
-
Main/src-client/ConsoleImpl2.cpp (modified) (3 diffs)
-
Main/src-client/GuestDnDPrivate.cpp (modified) (2 diffs)
-
Main/src-client/GuestDnDSourceImpl.cpp (modified) (2 diffs)
-
Main/src-client/GuestImpl.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.cpp
r55091 r55180 1 1 /* $Id$ */ 2 2 /** @file 3 * VBoxDnD.cpp - Windows-specific bits of the drag 'ndrop service.3 * VBoxDnD.cpp - Windows-specific bits of the drag and drop service. 4 4 */ 5 5 … … 413 413 hide(); 414 414 415 LogFlowThisFunc(("Starting drag 'ndrop: uAllActions=0x%x, dwOKEffects=0x%x ...\n",415 LogFlowThisFunc(("Starting drag and drop: uAllActions=0x%x, dwOKEffects=0x%x ...\n", 416 416 uAllActions, startupInfo.dwOKEffects)); 417 417 … … 433 433 434 434 default: 435 LogFlowThisFunc(("Drag 'ndrop failed with %Rhrc\n", hr));435 LogFlowThisFunc(("Drag and drop failed with %Rhrc\n", hr)); 436 436 mState = Canceled; 437 437 rc = VERR_GENERAL_FAILURE; /** @todo Find a better status code. */ … … 778 778 */ 779 779 if (!this->lstFormats.size()) 780 LogRel(("DnD: Warning: No supported drag 'ndrop formats on the guest found!\n"));780 LogRel(("DnD: Warning: No supported drag and drop formats on the guest found!\n")); 781 781 782 782 /* … … 874 874 875 875 LogFlowThisFunc(("mMode=%ld, mState=%RU32\n", mMode, mState)); 876 LogRel(("DnD: Drag 'ndrop operation aborted\n"));876 LogRel(("DnD: Drag and drop operation aborted\n")); 877 877 878 878 reset(); … … 881 881 882 882 /* Post ESC to our window to officially abort the 883 * drag 'ndrop operation. */883 * drag and drop operation. */ 884 884 PostMessage(hWnd, WM_KEYDOWN, VK_ESCAPE, 0 /* lParam */); 885 885 … … 1130 1130 1131 1131 /** @todo Add some i18l tr() macros here. */ 1132 RTStrPrintf(szTitle, sizeof(szTitle), "VirtualBox Guest Additions Drag 'nDrop");1133 RTStrPrintf(szMsg, sizeof(szMsg), "Drag 'ndrop to the host either is not supported or disabled. "1134 "Please enable Guest to Host or Bidirectional drag 'ndrop mode "1132 RTStrPrintf(szTitle, sizeof(szTitle), "VirtualBox Guest Additions Drag and Drop"); 1133 RTStrPrintf(szMsg, sizeof(szMsg), "Drag and drop to the host either is not supported or disabled. " 1134 "Please enable Guest to Host or Bidirectional drag and drop mode " 1135 1135 "or re-install the VirtualBox Guest Additions."); 1136 1136 switch (rc) … … 1498 1498 1499 1499 /** 1500 * Initializes drag 'ndrop.1500 * Initializes drag and drop. 1501 1501 * 1502 1502 * @return IPRT status code. … … 1529 1529 if (!fSupportedOS) 1530 1530 { 1531 LogRel(("DnD: Not supported Windows version, disabling drag 'ndrop support\n"));1531 LogRel(("DnD: Not supported Windows version, disabling drag and drop support\n")); 1532 1532 rc = VERR_NOT_SUPPORTED; 1533 1533 } … … 1565 1565 *pfStartThread = true; 1566 1566 1567 LogRel(("DnD: Drag 'ndrop service successfully started\n"));1567 LogRel(("DnD: Drag and drop service successfully started\n")); 1568 1568 return VINF_SUCCESS; 1569 1569 } 1570 1570 1571 LogRel(("DnD: Initializing drag 'ndrop service failed with rc=%Rrc\n", rc));1571 LogRel(("DnD: Initializing drag and drop service failed with rc=%Rrc\n", rc)); 1572 1572 return rc; 1573 1573 } -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDDropTarget.cpp
r51469 r55180 180 180 case ERROR_INVALID_FUNCTION: 181 181 { 182 LogRel(("DnD: Drag 'ndrop format is not supported by VBoxTray\n"));182 LogRel(("DnD: Drag and drop format is not supported by VBoxTray\n")); 183 183 184 184 /* Enumerate supported source formats. This shouldn't happen too often -
trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp
r54859 r55180 2255 2255 int rc = VbglR3DnDConnect(&uClientID); 2256 2256 if (RT_FAILURE(rc)) 2257 LogRel(("DnD: Unable to connect to drag 'ndrop service, rc=%Rrc\n", rc));2257 LogRel(("DnD: Unable to connect to drag and drop service, rc=%Rrc\n", rc)); 2258 2258 /* Not RT_FAILURE: VINF_PERMISSION_DENIED is host service not present. */ 2259 2259 if (rc != VINF_SUCCESS) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp
r54591 r55180 197 197 if (a->argc <= 1 + 1) 198 198 { 199 errorArgument("Missing argument to '%s'. Expected drag 'n'drop mode.", a->argv[1]);199 errorArgument("Missing argument to '%s'. Expected drag and drop mode.", a->argv[1]); 200 200 rc = E_FAIL; 201 201 break; -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r54911 r55180 1618 1618 } 1619 1619 1620 /* Drag 'n'drop */1620 /* Drag and drop */ 1621 1621 { 1622 1622 const char *psz = "Unknown"; … … 1657 1657 RTPrintf("draganddrop=\"%s\"\n", psz); 1658 1658 else 1659 RTPrintf("Drag 'n'drop Mode: %s\n", psz);1659 RTPrintf("Drag and drop Mode: %s\n", psz); 1660 1660 } 1661 1661 -
trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.cpp
r54505 r55180 671 671 strResult += formatValue(tr("VM Uptime"), strUptime, iMaxLength); 672 672 strResult += formatValue(tr("Clipboard Mode"), strClipboardMode, iMaxLength); 673 strResult += formatValue(tr("Drag 'n'Drop Mode"), strDnDMode, iMaxLength);673 strResult += formatValue(tr("Drag and Drop Mode"), strDnDMode, iMaxLength); 674 674 strResult += formatValue(VBoxGlobal::tr("VT-x/AMD-V", "details report"), strVirtualization, iMaxLength); 675 675 strResult += formatValue(VBoxGlobal::tr("Nested Paging", "details report"), strNestedPaging, iMaxLength); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp
r55170 r55180 1507 1507 void retranslateUi() 1508 1508 { 1509 setName(QApplication::translate("UIActionPool", "Drag 'n'Drop"));1509 setName(QApplication::translate("UIActionPool", "Drag and Drop")); 1510 1510 } 1511 1511 }; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDMIMEData.cpp
r52730 r55180 223 223 if (static_cast<QKeyEvent*>(pEvent)->key() == Qt::Key_Escape) 224 224 { 225 LogFlowFunc(("ESC pressed, cancelling drag 'ndrop operation\n"));225 LogFlowFunc(("ESC pressed, cancelling drag and drop operation\n")); 226 226 m_enmState = Canceled; 227 227 } -
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r54994 r55180 5480 5480 HRESULT rc = S_OK; 5481 5481 5482 /* don't trigger the drag 'n'drop mode change if the VM isn't running */5482 /* don't trigger the drag and drop mode change if the VM isn't running */ 5483 5483 SafeVMPtrQuiet ptrVM(this); 5484 5484 if (ptrVM.isOk()) … … 8748 8748 8749 8749 /** 8750 * Changes the drag 'n_drop mode.8751 * 8752 * @param aDnDMode new drag 'n'drop mode.8750 * Changes the drag and drop mode. 8751 * 8752 * @param aDnDMode new drag and drop mode. 8753 8753 */ 8754 8754 int Console::i_changeDnDMode(DnDMode_T aDnDMode) … … 8765 8765 default: 8766 8766 case DnDMode_Disabled: 8767 LogRel(("Changed drag 'ndrop mode to: Off\n"));8767 LogRel(("Changed drag and drop mode to: Off\n")); 8768 8768 parm.u.uint32 = VBOX_DRAG_AND_DROP_MODE_OFF; 8769 8769 break; 8770 8770 case DnDMode_GuestToHost: 8771 LogRel(("Changed drag 'ndrop mode to: Guest to Host\n"));8771 LogRel(("Changed drag and drop mode to: Guest to Host\n")); 8772 8772 parm.u.uint32 = VBOX_DRAG_AND_DROP_MODE_GUEST_TO_HOST; 8773 8773 break; 8774 8774 case DnDMode_HostToGuest: 8775 LogRel(("Changed drag 'ndrop mode to: Host to Guest\n"));8775 LogRel(("Changed drag and drop mode to: Host to Guest\n")); 8776 8776 parm.u.uint32 = VBOX_DRAG_AND_DROP_MODE_HOST_TO_GUEST; 8777 8777 break; 8778 8778 case DnDMode_Bidirectional: 8779 LogRel(("Changed drag 'ndrop mode to: Bidirectional\n"));8779 LogRel(("Changed drag and drop mode to: Bidirectional\n")); 8780 8780 parm.u.uint32 = VBOX_DRAG_AND_DROP_MODE_BIDIRECTIONAL; 8781 8781 break; -
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r55122 r55180 2849 2849 #ifdef VBOX_WITH_DRAG_AND_DROP 2850 2850 /* 2851 * Drag 'nDrop.2851 * Drag and Drop. 2852 2852 */ 2853 2853 { … … 2859 2859 if (RT_FAILURE(rc)) 2860 2860 { 2861 LogRel(("Drag 'ndrop service is not available, rc=%Rrc\n", rc));2861 LogRel(("Drag and drop service is not available, rc=%Rrc\n", rc)); 2862 2862 /* That is not a fatal failure. */ 2863 2863 rc = VINF_SUCCESS; … … 2873 2873 else 2874 2874 { 2875 LogRel(("Drag 'ndrop service loaded\n"));2875 LogRel(("Drag and drop service loaded\n")); 2876 2876 rc = i_changeDnDMode(enmMode); 2877 2877 } -
trunk/src/VBox/Main/src-client/GuestDnDPrivate.cpp
r52978 r55180 225 225 strError += Utf8StrFmt(pGuest->tr("One or more guest files or directories selected for transferring to the host were not" 226 226 "found on the guest anymore. This can be the case if the guest files were moved and/or" 227 "altered while the drag 'ndrop operation was in progress."));227 "altered while the drag and drop operation was in progress.")); 228 228 break; 229 229 … … 235 235 236 236 default: 237 strError += Utf8StrFmt("Drag 'ndrop guest error (%Rrc)", guestRc);237 strError += Utf8StrFmt("Drag and drop guest error (%Rrc)", guestRc); 238 238 break; 239 239 } -
trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp
r51799 r55180 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Console COM Class implementation - Guest drag 'ndrop source.3 * VBox Console COM Class implementation - Guest drag and drop source. 4 4 */ 5 5 … … 261 261 if (RT_FAILURE(rc)) 262 262 return setError(VBOX_E_IPRT_ERROR, 263 tr("Unable to create the temporary drag 'ndrop directory \"%s\" (%Rrc)\n"),263 tr("Unable to create the temporary drag and drop directory \"%s\" (%Rrc)\n"), 264 264 szDropDir, rc); 265 265 -
trunk/src/VBox/Main/src-client/GuestImpl.cpp
r53528 r55180 131 131 } 132 132 133 LogFlowFunc(("Drag 'ndrop initializied with hr=%Rhrc\n", hr));133 LogFlowFunc(("Drag and drop initializied with hr=%Rhrc\n", hr)); 134 134 } 135 135 catch (std::bad_alloc &)
Note:
See TracChangeset
for help on using the changeset viewer.

