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

Issue 1847843002: Steps towards making the convert library strong-mode compliant. (Closed)

Created:
4 years, 8 months ago by floitsch
Modified:
4 years, 8 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Lasse Reichstein Nielsen
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Steps towards making the convert library strong-mode compliant. This version has a few deprecated methods. In a future release they will be removed. See https://codereview.chromium.org/1827803002 for the final patch (once the deprecated methods have been removed). R=leafp@google.com, lrn@google.com Committed: https://github.com/dart-lang/sdk/commit/4ab1219bf93a33a2a3d4803e053ccd70ce190371 Reverted: https://github.com/dart-lang/sdk/commit/045a3753665268761508c8053e0ee84372d9ef35 Committed: https://github.com/dart-lang/sdk/commit/50bdab3841dafd9b056b1dd013c103ce6a566f60

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address comments. #

Total comments: 4

Patch Set 3 : Rebase after revert #

Total comments: 8

Patch Set 4 : Relax type and fix missed converters. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -57 lines) Patch
M CHANGELOG.md View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/analysis_server/benchmark/integration/input_converter.dart View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/src/channel/channel.dart View 2 chunks +9 lines, -6 lines 0 comments Download
M runtime/lib/convert_patch.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M sdk/lib/convert/ascii.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M sdk/lib/convert/base64.dart View 1 2 3 chunks +5 lines, -10 lines 0 comments Download
M sdk/lib/convert/chunked_conversion.dart View 1 2 3 4 chunks +73 lines, -3 lines 0 comments Download
M sdk/lib/convert/converter.dart View 2 chunks +12 lines, -8 lines 0 comments Download
M sdk/lib/convert/encoding.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/convert/html_escape.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/convert/json.dart View 3 chunks +4 lines, -3 lines 0 comments Download
M sdk/lib/convert/latin1.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/convert/line_splitter.dart View 2 chunks +2 lines, -4 lines 0 comments Download
M sdk/lib/convert/utf.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M sdk/lib/io/data_transformer.dart View 6 chunks +8 lines, -6 lines 0 comments Download
M sdk/lib/io/string_transformer.dart View 1 2 3 4 chunks +6 lines, -4 lines 0 comments Download
M tests/lib/convert/chunked_conversion1_test.dart View 3 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
floitsch
4 years, 8 months ago (2016-03-31 16:49:04 UTC) #3
Lasse Reichstein Nielsen
Seem correct (doesn't exactly look *good*, but LGTM) https://chromiumcodereview.appspot.com/1847843002/diff/1/sdk/lib/convert/chunked_conversion.dart File sdk/lib/convert/chunked_conversion.dart (right): https://chromiumcodereview.appspot.com/1847843002/diff/1/sdk/lib/convert/chunked_conversion.dart#newcode12 sdk/lib/convert/chunked_conversion.dart:12: // ...
4 years, 8 months ago (2016-03-31 20:20:21 UTC) #5
floitsch
Thanks Lasse. https://chromiumcodereview.appspot.com/1847843002/diff/1/sdk/lib/convert/chunked_conversion.dart File sdk/lib/convert/chunked_conversion.dart (right): https://chromiumcodereview.appspot.com/1847843002/diff/1/sdk/lib/convert/chunked_conversion.dart#newcode12 sdk/lib/convert/chunked_conversion.dart:12: // This class may be used as ...
4 years, 8 months ago (2016-04-01 10:06:00 UTC) #6
Leaf
Couple of suggestions for consideration, but LGTM . https://chromiumcodereview.appspot.com/1847843002/diff/20001/sdk/lib/convert/chunked_conversion.dart File sdk/lib/convert/chunked_conversion.dart (right): https://chromiumcodereview.appspot.com/1847843002/diff/20001/sdk/lib/convert/chunked_conversion.dart#newcode23 sdk/lib/convert/chunked_conversion.dart:23: abstract ...
4 years, 8 months ago (2016-04-01 15:58:03 UTC) #7
floitsch
https://chromiumcodereview.appspot.com/1847843002/diff/20001/sdk/lib/convert/chunked_conversion.dart File sdk/lib/convert/chunked_conversion.dart (right): https://chromiumcodereview.appspot.com/1847843002/diff/20001/sdk/lib/convert/chunked_conversion.dart#newcode23 sdk/lib/convert/chunked_conversion.dart:23: abstract class ChunkedConverter<S, T, S2, T2> extends Converter<S, T> ...
4 years, 8 months ago (2016-04-01 16:27:31 UTC) #8
floitsch
Committed patchset #2 (id:20001) manually as 4ab1219bf93a33a2a3d4803e053ccd70ce190371 (presubmit successful).
4 years, 8 months ago (2016-04-11 17:16:11 UTC) #10
floitsch
Had to revert. Please have a look at the code that is making problems. I'm ...
4 years, 8 months ago (2016-04-11 18:37:53 UTC) #12
Leaf
https://codereview.chromium.org/1847843002/diff/40001/sdk/lib/convert/chunked_conversion.dart File sdk/lib/convert/chunked_conversion.dart (right): https://codereview.chromium.org/1847843002/diff/40001/sdk/lib/convert/chunked_conversion.dart#newcode52 sdk/lib/convert/chunked_conversion.dart:52: if (other is ChunkedConverter<T, dynamic, T2, dynamic>) { On ...
4 years, 8 months ago (2016-04-11 19:46:28 UTC) #13
floitsch
https://codereview.chromium.org/1847843002/diff/40001/sdk/lib/convert/chunked_conversion.dart File sdk/lib/convert/chunked_conversion.dart (right): https://codereview.chromium.org/1847843002/diff/40001/sdk/lib/convert/chunked_conversion.dart#newcode52 sdk/lib/convert/chunked_conversion.dart:52: if (other is ChunkedConverter<T, dynamic, T2, dynamic>) { On ...
4 years, 8 months ago (2016-04-12 15:28:57 UTC) #14
floitsch
Relaxed the type and fixed the missed converters. If you want, PTAL. I will commit ...
4 years, 8 months ago (2016-04-12 16:32:05 UTC) #15
Leaf
lgtm https://codereview.chromium.org/1847843002/diff/40001/sdk/lib/convert/chunked_conversion.dart File sdk/lib/convert/chunked_conversion.dart (right): https://codereview.chromium.org/1847843002/diff/40001/sdk/lib/convert/chunked_conversion.dart#newcode52 sdk/lib/convert/chunked_conversion.dart:52: if (other is ChunkedConverter<T, dynamic, T2, dynamic>) { ...
4 years, 8 months ago (2016-04-12 17:44:31 UTC) #16
floitsch
https://codereview.chromium.org/1847843002/diff/40001/sdk/lib/convert/chunked_conversion.dart File sdk/lib/convert/chunked_conversion.dart (right): https://codereview.chromium.org/1847843002/diff/40001/sdk/lib/convert/chunked_conversion.dart#newcode52 sdk/lib/convert/chunked_conversion.dart:52: if (other is ChunkedConverter<T, dynamic, T2, dynamic>) { On ...
4 years, 8 months ago (2016-04-12 17:55:29 UTC) #17
floitsch
4 years, 8 months ago (2016-04-12 18:59:28 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
50bdab3841dafd9b056b1dd013c103ce6a566f60 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698