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

Issue 15333006: Rewrite double.parse. (Closed)

Created:
7 years, 7 months ago by floitsch
Modified:
7 years, 7 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fix typo, fix test, and rebase. #

Total comments: 12

Patch Set 3 : Address comments. #

Patch Set 4 : Add parenthesis. #

Total comments: 8

Patch Set 5 : Add test for external strings. #

Patch Set 6 : Address comments. #

Total comments: 22

Patch Set 7 : Address comments #

Patch Set 8 : Fix test. #

Patch Set 9 : Updload #

Patch Set 10 : Upload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -186 lines) Patch
M runtime/lib/double.cc View 1 2 3 4 1 chunk +14 lines, -80 lines 0 comments Download
M runtime/lib/double_patch.dart View 1 2 3 4 1 chunk +35 lines, -5 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 3 4 5 6 1 chunk +58 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/lib/js_helper.dart View 1 2 3 4 5 6 1 chunk +9 lines, -5 lines 0 comments Download
M sdk/lib/core/double.dart View 1 2 3 4 5 6 1 chunk +23 lines, -7 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M tests/co19/co19-runtime.status View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/js_parser_test.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M tests/corelib/string_trim2_test.dart View 1 2 3 4 5 6 7 2 chunks +6 lines, -5 lines 0 comments Download
M tests/lib/math/math_parse_double_test.dart View 1 2 3 4 5 6 7 8 2 chunks +129 lines, -81 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
floitsch
7 years, 7 months ago (2013-05-17 21:33:49 UTC) #1
floitsch
Fixed typo, test and rebased (wrt String.trim CL).
7 years, 7 months ago (2013-05-17 22:13:07 UTC) #2
srdjan
https://codereview.chromium.org/15333006/diff/1/runtime/lib/double.cc File runtime/lib/double.cc (right): https://codereview.chromium.org/15333006/diff/1/runtime/lib/double.cc#newcode206 runtime/lib/double.cc:206: if (!value.IsOneByteString() || len == 0) { Please add ...
7 years, 7 months ago (2013-05-17 23:19:06 UTC) #3
srdjan
https://codereview.chromium.org/15333006/diff/3001/runtime/lib/integers_patch.dart File runtime/lib/integers_patch.dart (right): https://codereview.chromium.org/15333006/diff/3001/runtime/lib/integers_patch.dart#newcode16 runtime/lib/integers_patch.dart:16: if (!str._isWhitespace(str.codeUnitAt(ix))) break; Synchronize with Siva's upcoming change that ...
7 years, 7 months ago (2013-05-17 23:40:28 UTC) #4
Ivan Posva
DBC -ip https://codereview.chromium.org/15333006/diff/3001/runtime/lib/double.cc File runtime/lib/double.cc (right): https://codereview.chromium.org/15333006/diff/3001/runtime/lib/double.cc#newcode206 runtime/lib/double.cc:206: if (!value.IsOneByteString() || len == 0) { ...
7 years, 7 months ago (2013-05-18 00:45:43 UTC) #5
floitsch
https://codereview.chromium.org/15333006/diff/1/runtime/lib/double.cc File runtime/lib/double.cc (right): https://codereview.chromium.org/15333006/diff/1/runtime/lib/double.cc#newcode206 runtime/lib/double.cc:206: if (!value.IsOneByteString() || len == 0) { On 2013/05/17 ...
7 years, 7 months ago (2013-05-20 13:15:29 UTC) #6
Ivan Posva
-ip https://codereview.chromium.org/15333006/diff/3001/runtime/lib/double.cc File runtime/lib/double.cc (right): https://codereview.chromium.org/15333006/diff/3001/runtime/lib/double.cc#newcode206 runtime/lib/double.cc:206: if (!value.IsOneByteString() || len == 0) { On ...
7 years, 7 months ago (2013-05-20 16:00:23 UTC) #7
srdjan
https://codereview.chromium.org/15333006/diff/3001/runtime/lib/integers_patch.dart File runtime/lib/integers_patch.dart (right): https://codereview.chromium.org/15333006/diff/3001/runtime/lib/integers_patch.dart#newcode16 runtime/lib/integers_patch.dart:16: if (!str._isWhitespace(str.codeUnitAt(ix))) break; On 2013/05/20 13:15:29, floitsch wrote: > ...
7 years, 7 months ago (2013-05-20 17:08:58 UTC) #8
Lasse Reichstein Nielsen
Not convinced that format changes are a good idea. https://codereview.chromium.org/15333006/diff/17001/runtime/lib/integers_patch.dart File runtime/lib/integers_patch.dart (right): https://codereview.chromium.org/15333006/diff/17001/runtime/lib/integers_patch.dart#newcode16 runtime/lib/integers_patch.dart:16: ...
7 years, 7 months ago (2013-05-21 06:12:09 UTC) #9
Lasse Reichstein Nielsen
https://codereview.chromium.org/15333006/diff/1/runtime/lib/double_patch.dart File runtime/lib/double_patch.dart (right): https://codereview.chromium.org/15333006/diff/1/runtime/lib/double_patch.dart#newcode49 runtime/lib/double_patch.dart:49: return _handleParseError(str, handleError); _handleParseError is only used once, so ...
7 years, 7 months ago (2013-05-21 06:15:06 UTC) #10
floitsch
https://codereview.chromium.org/15333006/diff/3001/runtime/lib/double.cc File runtime/lib/double.cc (right): https://codereview.chromium.org/15333006/diff/3001/runtime/lib/double.cc#newcode206 runtime/lib/double.cc:206: if (!value.IsOneByteString() || len == 0) { On 2013/05/20 ...
7 years, 7 months ago (2013-05-21 14:39:31 UTC) #11
srdjan
lgtm
7 years, 7 months ago (2013-05-21 16:36:36 UTC) #12
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/15333006/diff/30001/sdk/lib/core/double.dart File sdk/lib/core/double.dart (right): https://codereview.chromium.org/15333006/diff/30001/sdk/lib/core/double.dart#newcode136 sdk/lib/core/double.dart:136: * Accepts an optional sign followed by either ...
7 years, 7 months ago (2013-05-22 08:47:26 UTC) #13
floitsch
https://codereview.chromium.org/15333006/diff/30001/sdk/lib/core/double.dart File sdk/lib/core/double.dart (right): https://codereview.chromium.org/15333006/diff/30001/sdk/lib/core/double.dart#newcode136 sdk/lib/core/double.dart:136: * Accepts an optional sign followed by either "Infinity", ...
7 years, 7 months ago (2013-05-23 02:30:03 UTC) #14
floitsch
Committed patchset #7 manually as r23062 (presubmit successful).
7 years, 7 months ago (2013-05-23 12:00:56 UTC) #15
floitsch
Fixed test. resubmitting.
7 years, 7 months ago (2013-05-23 13:08:18 UTC) #16
floitsch
Committed patchset #8 manually as r23066 (presubmit successful).
7 years, 7 months ago (2013-05-23 13:09:15 UTC) #17
floitsch
7 years, 7 months ago (2013-05-23 14:30:29 UTC) #18
Message was sent while issue was closed.
Committed patchset #10 manually as r23071 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698