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

Issue 167703010: Write custom URI-parser, to avoid using regexp. (Closed)

Created:
6 years, 10 months ago by Anders Johnsen
Modified:
6 years, 10 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Write custom URI-parser, to avoid using regexp. BUG= R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=32966

Patch Set 1 #

Total comments: 30

Patch Set 2 : Cleanup. #

Patch Set 3 : Cleanup #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -66 lines) Patch
M sdk/lib/core/uri.dart View 1 2 3 4 6 chunks +248 lines, -65 lines 0 comments Download
M tests/corelib/uri_file_test.dart View 1 chunk +1 line, -1 line 0 comments Download
A tests/corelib/uri_parse_test.dart View 1 2 3 4 1 chunk +61 lines, -0 lines 0 comments Download
tests/corelib/uri_test.dart View 1 1 chunk +5 lines, -0 lines 0 comments Download
M tests/standalone/io/http_client_exception_test.dart View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Anders Johnsen
6 years, 10 months ago (2014-02-21 13:59:26 UTC) #1
Søren Gjesse
https://codereview.chromium.org/167703010/diff/1/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/167703010/diff/1/sdk/lib/core/uri.dart#newcode121 sdk/lib/core/uri.dart:121: static Uri parse(String uri) { I think it could ...
6 years, 10 months ago (2014-02-24 09:12:41 UTC) #2
Anders Johnsen
https://codereview.chromium.org/167703010/diff/1/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/167703010/diff/1/sdk/lib/core/uri.dart#newcode121 sdk/lib/core/uri.dart:121: static Uri parse(String uri) { On 2014/02/24 09:12:41, Søren ...
6 years, 10 months ago (2014-02-24 12:44:32 UTC) #3
Lasse Reichstein Nielsen
Looks good, but I'll only trust the algorithm with more tests. https://codereview.chromium.org/167703010/diff/1/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): ...
6 years, 10 months ago (2014-02-24 13:02:27 UTC) #4
Søren Gjesse
LGTM! But please add more tests as Lasse suggested.
6 years, 10 months ago (2014-02-24 13:59:57 UTC) #5
Anders Johnsen
Added test. Landing. https://codereview.chromium.org/167703010/diff/1/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/167703010/diff/1/sdk/lib/core/uri.dart#newcode123 sdk/lib/core/uri.dart:123: // it'll call `new Uri(...)` that ...
6 years, 10 months ago (2014-02-24 14:26:49 UTC) #6
Anders Johnsen
6 years, 10 months ago (2014-02-24 14:36:39 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 manually as r32966 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698