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

Issue 1309313002: Fix mojo dart:io IPv6 address printing (Closed)

Created:
5 years, 4 months ago by Cutch
Modified:
5 years, 4 months ago
Reviewers:
vtl, jamesr, jamesr1
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M mojo/dart/embedder/io/mojo_patch.dart View 1 1 chunk +8 lines, -3 lines 1 comment Download
M services/dart/dart_apptests/lib/src/io_internet_address_apptests.dart View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Cutch
5 years, 4 months ago (2015-08-24 21:28:10 UTC) #2
jamesr
lgtm
5 years, 4 months ago (2015-08-24 21:28:41 UTC) #4
jamesr
Please write something like "Fixes #384" in the commit message so it associates with the ...
5 years, 4 months ago (2015-08-24 21:29:08 UTC) #5
Cutch
Committed patchset #2 (id:20001) manually as 8920b6de2d0f86438768bd2eeb17bac18519a2d4 (presubmit successful).
5 years, 4 months ago (2015-08-24 21:29:12 UTC) #6
vtl
https://codereview.chromium.org/1309313002/diff/20001/mojo/dart/embedder/io/mojo_patch.dart File mojo/dart/embedder/io/mojo_patch.dart (right): https://codereview.chromium.org/1309313002/diff/20001/mojo/dart/embedder/io/mojo_patch.dart#newcode95 mojo/dart/embedder/io/mojo_patch.dart:95: var first = ''; drive-by: I'm not sure why ...
5 years, 4 months ago (2015-08-24 21:39:12 UTC) #8
Cutch
5 years, 4 months ago (2015-08-24 21:40:27 UTC) #9
Message was sent while issue was closed.
On 2015/08/24 21:39:12, vtl wrote:
>
https://codereview.chromium.org/1309313002/diff/20001/mojo/dart/embedder/io/m...
> File mojo/dart/embedder/io/mojo_patch.dart (right):
> 
>
https://codereview.chromium.org/1309313002/diff/20001/mojo/dart/embedder/io/m...
> mojo/dart/embedder/io/mojo_patch.dart:95: var first = '';
> drive-by: I'm not sure why something like
> 
> var digit = (address[i] * 256 + address[i+1]).toRadixString(16);
> 
> wouldn't have been preferable. (This has the benefit of producing "0" for 0
> instead of "00", etc.)

Sure. There are more optimizations to be made too- 0:0:0:0:0:0:0:1 can be
printed as ::1.

Powered by Google App Engine
This is Rietveld 408576698