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

Issue 1370073002: Add Base64 codec to dart:convert. (Closed)

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

Description

Add Base64 codec to dart:convert. This is a simple converter that only accepts and produces plain base-64 strings with the default alphabet and no whitespace. R=floitsch@google.com, sgjesse@google.com Committed: https://github.com/dart-lang/sdk/commit/bd4c7a8a07f5fb92bc6370e815adf2b9cbce2ab4

Patch Set 1 #

Total comments: 54

Patch Set 2 : Address comments #

Patch Set 3 : Fix for dart2js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+840 lines, -2 lines) Patch
M pkg/expect/lib/expect.dart View 2 chunks +1 line, -2 lines 0 comments Download
A sdk/lib/convert/base64.dart View 1 2 1 chunk +619 lines, -0 lines 0 comments Download
M sdk/lib/convert/convert.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/convert/convert_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A tests/lib/convert/base64_test.dart View 1 2 1 chunk +217 lines, -0 lines 0 comments Download
M tests/lib/lib.status View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Lasse Reichstein Nielsen
5 years, 2 months ago (2015-09-28 12:54:31 UTC) #2
kevmoo
Why would we not put this in pkg/convert? Is there a strong need to keep ...
5 years, 2 months ago (2015-09-28 15:14:46 UTC) #4
floitsch
LGTM. https://codereview.chromium.org/1370073002/diff/1/sdk/lib/convert/base64.dart File sdk/lib/convert/base64.dart (right): https://codereview.chromium.org/1370073002/diff/1/sdk/lib/convert/base64.dart#newcode58 sdk/lib/convert/base64.dart:58: var encoder = new _Base64Encoder(); Up to you ...
5 years, 2 months ago (2015-09-28 16:08:28 UTC) #5
Søren Gjesse
On 2015/09/28 15:14:46, kevmoo wrote: > Why would we not put this in pkg/convert? > ...
5 years, 2 months ago (2015-09-28 17:09:29 UTC) #6
kevmoo
On 2015/09/28 17:09:29, Søren Gjesse wrote: > On 2015/09/28 15:14:46, kevmoo wrote: > > Why ...
5 years, 2 months ago (2015-09-28 17:16:43 UTC) #7
kevmoo
On 2015/09/28 17:16:43, kevmoo wrote: > On 2015/09/28 17:09:29, Søren Gjesse wrote: > > On ...
5 years, 2 months ago (2015-09-28 17:16:54 UTC) #8
Søren Gjesse
lgtm https://codereview.chromium.org/1370073002/diff/1/sdk/lib/convert/base64.dart File sdk/lib/convert/base64.dart (right): https://codereview.chromium.org/1370073002/diff/1/sdk/lib/convert/base64.dart#newcode25 sdk/lib/convert/base64.dart:25: * The default encoding alphabet. This is not ...
5 years, 2 months ago (2015-09-28 17:18:52 UTC) #9
sra1
DBC https://codereview.chromium.org/1370073002/diff/1/sdk/lib/convert/base64.dart File sdk/lib/convert/base64.dart (right): https://codereview.chromium.org/1370073002/diff/1/sdk/lib/convert/base64.dart#newcode14 sdk/lib/convert/base64.dart:14: * any invalid characters in the input to ...
5 years, 2 months ago (2015-09-28 17:29:42 UTC) #11
Lasse Reichstein Nielsen
https://codereview.chromium.org/1370073002/diff/1/sdk/lib/convert/base64.dart File sdk/lib/convert/base64.dart (right): https://codereview.chromium.org/1370073002/diff/1/sdk/lib/convert/base64.dart#newcode14 sdk/lib/convert/base64.dart:14: * any invalid characters in the input to decoding. ...
5 years, 2 months ago (2015-09-29 10:31:05 UTC) #12
Lasse Reichstein Nielsen
5 years, 2 months ago (2015-09-29 11:50:30 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
bd4c7a8a07f5fb92bc6370e815adf2b9cbce2ab4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698