Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Issue 10441131: [Chromoting] Handle CR-LF correctly when transferring text items to and from the clipboard on a Win… (Closed)

Created:
8 years, 6 months ago by simonmorris
Modified:
8 years, 6 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, dcheng, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

[Chromoting] Handle CR-LF correctly when transferring text items to and from the clipboard on a Windows host. When reading from the clipboard, CR-LF pairs are replaced by LF. When writing to the clipboard, each LF is replaced by CR-LF. BUG=117473 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140206

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move utility functions. #

Patch Set 3 : Add a static_cast to a unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -2 lines) Patch
M remoting/base/util.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/base/util.cc View 1 1 chunk +38 lines, -0 lines 0 comments Download
M remoting/base/util_unittest.cc View 1 2 1 chunk +69 lines, -0 lines 0 comments Download
M remoting/host/clipboard_win.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
simonmorris
ptal
8 years, 6 months ago (2012-05-31 22:09:23 UTC) #1
dcheng
Drive by... Maybe consider using ReplaceSubstringsAfterOffset from string_util.h?
8 years, 6 months ago (2012-05-31 22:21:03 UTC) #2
Wez
http://codereview.chromium.org/10441131/diff/1/remoting/host/clipboard_util.cc File remoting/host/clipboard_util.cc (right): http://codereview.chromium.org/10441131/diff/1/remoting/host/clipboard_util.cc#newcode9 remoting/host/clipboard_util.cc:9: std::string ClipboardUtil::ReplaceLfByCrLf(const std::string& in) { This and the reverse ...
8 years, 6 months ago (2012-05-31 22:36:41 UTC) #3
simonmorris
On 2012/05/31 22:21:03, dcheng wrote: > Drive by... > Maybe consider using ReplaceSubstringsAfterOffset from string_util.h? ...
8 years, 6 months ago (2012-05-31 23:10:15 UTC) #4
Wez
On 2012/05/31 23:10:15, simonmorris wrote: > On 2012/05/31 22:21:03, dcheng wrote: > > Drive by... ...
8 years, 6 months ago (2012-05-31 23:32:50 UTC) #5
simonmorris
On 2012/05/31 23:32:50, Wez wrote: > On 2012/05/31 23:10:15, simonmorris wrote: > > On 2012/05/31 ...
8 years, 6 months ago (2012-05-31 23:42:31 UTC) #6
Wez
On 2012/05/31 23:42:31, simonmorris wrote: > On 2012/05/31 23:32:50, Wez wrote: > > On 2012/05/31 ...
8 years, 6 months ago (2012-05-31 23:47:32 UTC) #7
simonmorris
On 2012/05/31 23:47:32, Wez wrote: > On 2012/05/31 23:42:31, simonmorris wrote: > > On 2012/05/31 ...
8 years, 6 months ago (2012-06-01 16:27:37 UTC) #8
Wez
lgtm
8 years, 6 months ago (2012-06-01 17:59:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10441131/4002
8 years, 6 months ago (2012-06-01 18:27:04 UTC) #10
commit-bot: I haz the power
Try job failure for 10441131-4002 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-01 18:41:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10441131/11003
8 years, 6 months ago (2012-06-01 20:23:56 UTC) #12
commit-bot: I haz the power
Try job failure for 10441131-11003 (previous was lost) (retry) on win_rel for step "compile" (clobber ...
8 years, 6 months ago (2012-06-01 22:38:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10441131/11003
8 years, 6 months ago (2012-06-01 22:57:20 UTC) #14
commit-bot: I haz the power
Try job failure for 10441131-11003 (retry) on win_rel for step "browser_tests" (clobber build). It's a ...
8 years, 6 months ago (2012-06-02 02:21:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10441131/11003
8 years, 6 months ago (2012-06-02 18:05:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10441131/11003
8 years, 6 months ago (2012-06-02 18:07:12 UTC) #17
commit-bot: I haz the power
8 years, 6 months ago (2012-06-02 22:17:06 UTC) #18
Change committed as 140206

Powered by Google App Engine
This is Rietveld 408576698