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

Issue 1393003003: Add a percent-encoding converter. (Closed)

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

Description

Add a percent-encoding converter. This is useful for percent-encoding binary or streaming data. R=lrn@google.com Committed: https://github.com/dart-lang/convert/commit/86b65bdf07ba3bf9bd7973682c503c819579c3f6

Patch Set 1 #

Total comments: 21

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+597 lines, -69 lines) Patch
M CHANGELOG.md View 1 chunk +1 line, -1 line 0 comments Download
M lib/convert.dart View 1 chunk +1 line, -0 lines 0 comments Download
M lib/src/hex/decoder.dart View 1 8 chunks +24 lines, -45 lines 0 comments Download
M lib/src/hex/encoder.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
A lib/src/percent.dart View 1 1 chunk +38 lines, -0 lines 0 comments Download
A lib/src/percent/decoder.dart View 1 1 chunk +244 lines, -0 lines 0 comments Download
A + lib/src/percent/encoder.dart View 1 4 chunks +38 lines, -21 lines 0 comments Download
A lib/src/utils.dart View 1 1 chunk +39 lines, -0 lines 0 comments Download
M pubspec.yaml View 2 chunks +2 lines, -1 line 0 comments Download
A test/percent_test.dart View 1 chunk +208 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
nweiz
I did a pretty naïve implementation of this under the assumption that you'd be better ...
5 years, 2 months ago (2015-10-07 22:23:24 UTC) #2
Lasse Reichstein Nielsen
When is percent-encoding used for large amounts of data? I have only seen it used ...
5 years, 2 months ago (2015-10-08 05:44:32 UTC) #3
Lasse Reichstein Nielsen
LGTM if you think we need this codec. https://codereview.chromium.org/1393003003/diff/1/lib/src/percent.dart File lib/src/percent.dart (right): https://codereview.chromium.org/1393003003/diff/1/lib/src/percent.dart#newcode19 lib/src/percent.dart:19: // ...
5 years, 2 months ago (2015-10-08 10:30:37 UTC) #4
nweiz
Code review changes
5 years, 2 months ago (2015-10-08 20:41:33 UTC) #5
nweiz
> When is percent-encoding used for large amounts of data? I > have only seen ...
5 years, 2 months ago (2015-10-08 20:44:52 UTC) #6
nweiz
Committed patchset #2 (id:20001) manually as 86b65bdf07ba3bf9bd7973682c503c819579c3f6 (presubmit successful).
5 years, 2 months ago (2015-10-08 20:45:07 UTC) #7
Lasse Reichstein Nielsen
https://codereview.chromium.org/1393003003/diff/1/lib/src/percent/decoder.dart File lib/src/percent/decoder.dart (right): https://codereview.chromium.org/1393003003/diff/1/lib/src/percent/decoder.dart#newcode15 lib/src/percent/decoder.dart:15: const percentDecoder = const PercentDecoder._(); Will the dartdoc show ...
5 years, 2 months ago (2015-10-09 09:07:13 UTC) #8
nweiz
https://codereview.chromium.org/1393003003/diff/1/lib/src/percent/decoder.dart File lib/src/percent/decoder.dart (right): https://codereview.chromium.org/1393003003/diff/1/lib/src/percent/decoder.dart#newcode15 lib/src/percent/decoder.dart:15: const percentDecoder = const PercentDecoder._(); On 2015/10/09 09:07:13, Lasse ...
5 years, 2 months ago (2015-10-09 19:52:55 UTC) #9
nweiz
5 years, 2 months ago (2015-10-09 19:52:56 UTC) #10
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698