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

Issue 19883003: Add chunked conversion to converters. (Closed)

Created:
7 years, 5 months ago by floitsch
Modified:
5 years, 10 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org, Lasse Reichstein Nielsen
Visibility:
Public.

Description

Add chunked conversion to converters. R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=25466

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Don't use typed data because of IE9. #

Patch Set 4 : Improve some typse. #

Total comments: 22

Patch Set 5 : Remove addNonChunked. #

Patch Set 6 : Address comments. #

Total comments: 12

Patch Set 7 : Remove ChunkedConversionInterface. #

Patch Set 8 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1866 lines, -206 lines) Patch
A sdk/lib/convert/byte_conversion.dart View 1 2 3 4 5 6 7 1 chunk +118 lines, -0 lines 0 comments Download
A sdk/lib/convert/chunked_conversion.dart View 1 2 3 4 5 6 1 chunk +48 lines, -0 lines 0 comments Download
M sdk/lib/convert/convert.dart View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/convert/convert_sources.gypi View 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/convert/converter.dart View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M sdk/lib/convert/encoding.dart View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/convert/json.dart View 1 2 3 4 5 6 5 chunks +88 lines, -5 lines 0 comments Download
A sdk/lib/convert/string_conversion.dart View 1 2 3 4 5 6 7 1 chunk +341 lines, -0 lines 0 comments Download
M sdk/lib/convert/utf.dart View 1 2 3 4 5 6 11 chunks +132 lines, -19 lines 0 comments Download
A tests/lib/convert/chunked_conversion1_test.dart View 1 2 3 4 5 6 1 chunk +254 lines, -0 lines 0 comments Download
A tests/lib/convert/chunked_conversion_json_decode1_test.dart View 1 2 3 4 5 6 1 chunk +161 lines, -0 lines 0 comments Download
A tests/lib/convert/chunked_conversion_json_encode1_test.dart View 1 2 3 4 5 6 1 chunk +78 lines, -0 lines 0 comments Download
A + tests/lib/convert/chunked_conversion_utf82_test.dart View 1 2 3 4 5 3 chunks +46 lines, -25 lines 0 comments Download
A tests/lib/convert/chunked_conversion_utf83_test.dart View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
A tests/lib/convert/chunked_conversion_utf84_test.dart View 1 2 3 4 5 6 1 chunk +40 lines, -0 lines 0 comments Download
A tests/lib/convert/chunked_conversion_utf85_test.dart View 1 2 3 4 5 6 1 chunk +99 lines, -0 lines 0 comments Download
A + tests/lib/convert/chunked_conversion_utf86_test.dart View 1 2 chunks +17 lines, -22 lines 0 comments Download
A + tests/lib/convert/chunked_conversion_utf87_test.dart View 1 5 6 2 chunks +37 lines, -17 lines 0 comments Download
A tests/lib/convert/chunked_conversion_utf88_test.dart View 1 5 6 1 chunk +249 lines, -0 lines 0 comments Download
A tests/lib/convert/chunked_conversion_utf8_test.dart View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
A + tests/lib/convert/unicode_tests.dart View 1 2 3 4 5 4 chunks +11 lines, -17 lines 0 comments Download
M tests/lib/convert/utf8_encode_test.dart View 1 2 3 4 5 1 chunk +2 lines, -65 lines 0 comments Download
M tests/lib/convert/utf8_test.dart View 1 2 3 4 5 1 chunk +6 lines, -36 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
floitsch
7 years, 5 months ago (2013-07-23 15:05:52 UTC) #1
floitsch
Had to remove the uses of typed data since they don't work in IE9.
7 years, 5 months ago (2013-07-23 16:11:59 UTC) #2
floitsch
Improved some types.
7 years, 5 months ago (2013-07-23 16:46:18 UTC) #3
Søren Gjesse
LGTM I like the overall concept seen from the user side. It seems to be ...
7 years, 5 months ago (2013-07-24 09:26:41 UTC) #4
floitsch
Removed addNonChunked. Will now address comments.
7 years, 5 months ago (2013-07-24 17:59:37 UTC) #5
floitsch
PTAL. I removed addNonChunked and generally simplified a little bit (I hope). https://codereview.chromium.org/19883003/diff/9001/sdk/lib/convert/byte_conversion.dart File sdk/lib/convert/byte_conversion.dart ...
7 years, 5 months ago (2013-07-24 18:31:15 UTC) #6
Søren Gjesse
lgtm https://codereview.chromium.org/19883003/diff/25001/sdk/lib/convert/byte_conversion.dart File sdk/lib/convert/byte_conversion.dart (right): https://codereview.chromium.org/19883003/diff/25001/sdk/lib/convert/byte_conversion.dart#newcode48 sdk/lib/convert/byte_conversion.dart:48: * Adds the substring defined by [start] and ...
7 years, 5 months ago (2013-07-25 08:06:59 UTC) #7
floitsch
PTAL. Removed ChunkedConversionInterface. I think we are getting close. https://codereview.chromium.org/19883003/diff/25001/sdk/lib/convert/byte_conversion.dart File sdk/lib/convert/byte_conversion.dart (right): https://codereview.chromium.org/19883003/diff/25001/sdk/lib/convert/byte_conversion.dart#newcode48 sdk/lib/convert/byte_conversion.dart:48: ...
7 years, 5 months ago (2013-07-25 12:57:24 UTC) #8
Søren Gjesse
LGTM!
7 years, 5 months ago (2013-07-25 13:21:04 UTC) #9
floitsch
7 years, 5 months ago (2013-07-25 13:27:19 UTC) #10
Message was sent while issue was closed.
Committed patchset #8 manually as r25466 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698