Changeset 21651 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jul 16, 2009 1:57:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp
r21227 r21651 71 71 { 72 72 int rc; 73 Log FlowFunc(("u32Format=%d, pv=%p, cb=%d\n", u32Format, pv, cb));73 LogRelFlowFunc(("u32Format=%d, pv=%p, cb=%d\n", u32Format, pv, cb)); 74 74 rc = VbglR3ClipboardWriteData(g_ctx.client, u32Format, pv, cb); 75 Log FlowFunc(("rc=%Rrc\n", rc));75 LogRelFlowFunc(("rc=%Rrc\n", rc)); 76 76 return rc; 77 77 } … … 96 96 97 97 *ppv = 0; 98 Log FlowFunc(("u32Format=%u\n", u32Format));98 LogRelFlowFunc(("u32Format=%u\n", u32Format)); 99 99 if (RT_UNLIKELY(!pv)) 100 100 rc = VERR_NO_MEMORY; … … 129 129 RTMemFree(pv); 130 130 } 131 Log FlowFunc(("returning %Rrc\n", rc));132 if (RT_SUCCESS(rc)) 133 Log Flow((" *pcb=%d\n", *pcb));131 LogRelFlowFunc(("returning %Rrc\n", rc)); 132 if (RT_SUCCESS(rc)) 133 LogRelFlow((" *pcb=%d\n", *pcb)); 134 134 return rc; 135 135 } … … 152 152 { 153 153 int rc; 154 Log FlowFunc(("u32Formats=%d\n", u32Formats));154 LogRelFlowFunc(("u32Formats=%d\n", u32Formats)); 155 155 rc = VbglR3ClipboardReportFormats(g_ctx.client, u32Formats); 156 Log FlowFunc(("rc=%Rrc\n", rc));156 LogRelFlowFunc(("rc=%Rrc\n", rc)); 157 157 } 158 158 … … 186 186 { 187 187 int rc = VINF_SUCCESS; 188 Log FlowFunc(("\n"));188 LogRelFlowFunc(("\n")); 189 189 190 190 /* Sanity */ … … 209 209 if (RT_FAILURE(rc) && g_ctx.pBackend) 210 210 ClipDestructX11(g_ctx.pBackend); 211 Log FlowFunc(("g_ctx.client=%u rc=%Rrc\n", g_ctx.client, rc));211 LogRelFlowFunc(("g_ctx.client=%u rc=%Rrc\n", g_ctx.client, rc)); 212 212 return rc; 213 213 } … … 219 219 { 220 220 int rc; 221 Log FlowFunc(("Starting guest clipboard service\n"));221 LogRelFlowFunc(("Starting guest clipboard service\n")); 222 222 bool fExiting = false; 223 223 … … 237 237 * future requests from guest applications. 238 238 */ 239 Log FlowFunc(("VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS fFormats=%x\n", fFormats));239 LogRelFlowFunc(("VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS fFormats=%x\n", fFormats)); 240 240 ClipAnnounceFormatToX11(g_ctx.pBackend, fFormats); 241 241 break; … … 245 245 { 246 246 /* The host needs data in the specified format. */ 247 Log FlowFunc(("VBOX_SHARED_CLIPBOARD_HOST_MSG_READ_DATA fFormats=%x\n", fFormats));247 LogRelFlowFunc(("VBOX_SHARED_CLIPBOARD_HOST_MSG_READ_DATA fFormats=%x\n", fFormats)); 248 248 CLIPREADCBREQ *pReq; 249 249 pReq = (CLIPREADCBREQ *)RTMemAllocZ(sizeof(*pReq)); … … 265 265 { 266 266 /* The host is terminating. */ 267 Log FlowFunc(("VBOX_SHARED_CLIPBOARD_HOST_MSG_QUIT\n"));267 LogRelFlowFunc(("VBOX_SHARED_CLIPBOARD_HOST_MSG_QUIT\n")); 268 268 if (RT_SUCCESS(ClipStopX11(g_ctx.pBackend))) 269 269 ClipDestructX11(g_ctx.pBackend); … … 273 273 274 274 default: 275 Log (("Unsupported message from host!!!\n"));275 LogRel2(("Unsupported message from host!!!\n")); 276 276 } 277 277 } 278 278 279 Log Flow(("processed host event rc = %d\n", rc));280 } 281 Log FlowFunc(("rc=%d\n", rc));279 LogRelFlow(("processed host event rc = %d\n", rc)); 280 } 281 LogRelFlowFunc(("rc=%d\n", rc)); 282 282 return rc; 283 283 } … … 296 296 rc = vboxClipboardMain(); 297 297 if (RT_FAILURE(rc)) 298 Log Func(("guest clipboard service terminated annormally: return code %Rrc\n", rc));298 LogRelFunc(("guest clipboard service terminated annormally: return code %Rrc\n", rc)); 299 299 return rc; 300 300 }
Note:
See TracChangeset
for help on using the changeset viewer.