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

Issue 13863012: Refactor List.setRange function. (Closed)

Created:
7 years, 8 months ago by floitsch
Modified:
7 years, 8 months ago
CC:
reviews_dartlang.org, blois, srdjan, Jennifer Messerly
Visibility:
Public.

Description

Refactor List.setRange function. Committed: https://code.google.com/p/dart/source/detail?r=21452

Patch Set 1 #

Patch Set 2 : Rebuild dom. #

Patch Set 3 : Rebase #

Total comments: 5

Patch Set 4 : Changed signature to take iterables and skipCount. #

Patch Set 5 : Rebuild dom. #

Patch Set 6 : Status file updates. #

Patch Set 7 : Handle optional arguments in secure_socket.dart #

Total comments: 10

Patch Set 8 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -242 lines) Patch
M editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/process_patch.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/array.dart View 1 2 3 2 chunks +23 lines, -7 lines 0 comments Download
M runtime/lib/function_patch.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/growable_array.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/lib/typeddata.dart View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/tests/vm/dart/byte_array_optimized_test.dart View 20 chunks +20 lines, -20 lines 0 comments Download
M runtime/tests/vm/dart/byte_array_test.dart View 21 chunks +21 lines, -21 lines 0 comments Download
M samples/swarm/swarm_ui_lib/observable/observable.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_collection_dev/iterable.dart View 1 2 3 4 5 6 7 1 chunk +24 lines, -8 lines 0 comments Download
M sdk/lib/_collection_dev/list.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/lib/js_array.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/collection/list.dart View 1 2 3 4 5 6 7 4 chunks +25 lines, -13 lines 0 comments Download
M sdk/lib/collection/queue.dart View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M sdk/lib/core/list.dart View 1 2 3 1 chunk +12 lines, -8 lines 0 comments Download
M sdk/lib/html/dart2js/html_dart2js.dart View 35 chunks +39 lines, -38 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 35 chunks +39 lines, -38 lines 0 comments Download
M sdk/lib/html/html_common/filtered_element_list.dart View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/io/buffer_list.dart View 1 chunk +4 lines, -8 lines 0 comments Download
M sdk/lib/io/file_impl.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/io/mime_multipart_parser.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/io/secure_socket.dart View 1 2 3 4 5 6 2 chunks +8 lines, -4 lines 0 comments Download
M sdk/lib/io/websocket_impl.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/svg/dart2js/svg_dart2js.dart View 1 2 3 4 5 6 7 6 chunks +6 lines, -6 lines 0 comments Download
M sdk/lib/svg/dartium/svg_dartium.dart View 1 2 3 4 5 6 7 6 chunks +6 lines, -6 lines 0 comments Download
M sdk/lib/utf/utf8.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/web_sql/dart2js/web_sql_dart2js.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/web_sql/dartium/web_sql_dartium.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M tests/co19/co19-dart2dart.status View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download
M tests/corelib/list_set_range_test.dart View 1 2 3 4 chunks +18 lines, -12 lines 0 comments Download
M tests/language/list_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/standalone/float_array_test.dart View 4 chunks +4 lines, -4 lines 0 comments Download
M tests/standalone/io/echo_server_stream_test.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/raw_secure_server_socket_test.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M tests/standalone/io/raw_socket_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/standalone/io/secure_server_socket_test.dart View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M tests/standalone/io/web_socket_protocol_processor_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/typed_data_test.dart View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M tools/dom/src/WrappedList.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Node.darttemplate View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M tools/dom/templates/immutable_list_mixin.darttemplate View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M utils/tests/string_encoding/benchmark_runner.dart View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
floitsch
7 years, 8 months ago (2013-04-10 23:24:30 UTC) #1
floitsch
Note: I'm still missing a bug for native setRange functions (typed lists) that probably don't ...
7 years, 8 months ago (2013-04-10 23:27:49 UTC) #2
Lasse Reichstein Nielsen
I've looked through the uses of setRange in this CL, and I think changing to ...
7 years, 8 months ago (2013-04-11 06:11:55 UTC) #3
Sean Eagan
https://chromiumcodereview.appspot.com/13863012/diff/6001/sdk/lib/core/list.dart File sdk/lib/core/list.dart (left): https://chromiumcodereview.appspot.com/13863012/diff/6001/sdk/lib/core/list.dart#oldcode253 sdk/lib/core/list.dart:253: I think there is a lot to be learned ...
7 years, 8 months ago (2013-04-11 14:22:07 UTC) #4
Lasse Reichstein Nielsen
https://chromiumcodereview.appspot.com/13863012/diff/6001/sdk/lib/core/list.dart File sdk/lib/core/list.dart (left): https://chromiumcodereview.appspot.com/13863012/diff/6001/sdk/lib/core/list.dart#oldcode253 sdk/lib/core/list.dart:253: I generally agree with Sean. If the is not ...
7 years, 8 months ago (2013-04-11 14:33:51 UTC) #5
floitsch
On 2013/04/11 14:33:51, Lasse Reichstein Nielsen wrote: > https://chromiumcodereview.appspot.com/13863012/diff/6001/sdk/lib/core/list.dart > File sdk/lib/core/list.dart (left): > > ...
7 years, 8 months ago (2013-04-11 15:54:06 UTC) #6
Sean Eagan
On 2013/04/11 15:54:06, floitsch wrote: > Having a default argument so that you don't have ...
7 years, 8 months ago (2013-04-11 20:07:19 UTC) #7
floitsch
PTAL. I'm pretty happy with the signatures now.
7 years, 8 months ago (2013-04-12 20:57:02 UTC) #8
floitsch
adding Soeren for the change to secure_socket.dart. https://codereview.chromium.org/13863012/diff/6001/sdk/lib/io/secure_socket.dart File sdk/lib/io/secure_socket.dart (right): https://codereview.chromium.org/13863012/diff/6001/sdk/lib/io/secure_socket.dart#newcode465 sdk/lib/io/secure_socket.dart:465: int write(List<int> ...
7 years, 8 months ago (2013-04-12 23:35:42 UTC) #9
Søren Gjesse
lgtm for secure_socket.dart
7 years, 8 months ago (2013-04-15 07:05:17 UTC) #10
floitsch
Reassigning to Anders for review.
7 years, 8 months ago (2013-04-15 09:17:58 UTC) #11
Anders Johnsen
LGTM file issue filed. https://chromiumcodereview.appspot.com/13863012/diff/21001/sdk/lib/core/list.dart File sdk/lib/core/list.dart (right): https://chromiumcodereview.appspot.com/13863012/diff/21001/sdk/lib/core/list.dart#newcode266 sdk/lib/core/list.dart:266: * Copies the elements of ...
7 years, 8 months ago (2013-04-15 09:24:04 UTC) #12
Lasse Reichstein Nielsen
Still don't like signature! https://codereview.chromium.org/13863012/diff/21001/sdk/lib/core/list.dart File sdk/lib/core/list.dart (right): https://codereview.chromium.org/13863012/diff/21001/sdk/lib/core/list.dart#newcode276 sdk/lib/core/list.dart:276: * skipping [skipCount] elements. It ...
7 years, 8 months ago (2013-04-15 10:16:10 UTC) #13
floitsch
https://codereview.chromium.org/13863012/diff/21001/sdk/lib/core/list.dart File sdk/lib/core/list.dart (right): https://codereview.chromium.org/13863012/diff/21001/sdk/lib/core/list.dart#newcode266 sdk/lib/core/list.dart:266: * Copies the elements of [iterable], skipping the [skipCount] ...
7 years, 8 months ago (2013-04-15 13:45:34 UTC) #14
floitsch
7 years, 8 months ago (2013-04-15 13:53:14 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 manually as r21452 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698