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

Issue 12282038: Remove deprecated string features. (Closed)

Created:
7 years, 10 months ago by Lasse Reichstein Nielsen
Modified:
7 years, 10 months ago
Reviewers:
floitsch, srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove deprecated string features. Make String.codeUnits return a List. Committed: https://code.google.com/p/dart/source/detail?r=18960

Patch Set 1 #

Total comments: 11

Patch Set 2 : Address comments #

Total comments: 4

Patch Set 3 : Merge to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+669 lines, -749 lines) Patch
M editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java View 3 chunks +5 lines, -5 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/fixnum/lib/src/int32.dart View 2 chunks +8 lines, -8 lines 0 comments Download
M pkg/fixnum/lib/src/int64.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/http/lib/src/multipart_request.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/http/lib/src/utils.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/http/test/client_test.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/http/test/mock_client_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/intl/lib/number_format.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/serialization/test/polyfill_identity_map_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/serialization/test/serialization_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/webdriver/lib/src/base64decoder.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/webdriver/lib/webdriver.dart View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M pkg/yaml/lib/composer.dart View 2 chunks +4 lines, -11 lines 0 comments Download
M pkg/yaml/lib/model.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/yaml/lib/parser.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M runtime/bin/process_patch.dart View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/lib/integers_patch.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/lib/string.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/lib/string_base.dart View 9 chunks +15 lines, -33 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intrinsifier.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/snapshot_test.dart View 3 chunks +9 lines, -9 lines 0 comments Download
M samples/chat/chat_server_lib.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M samples/logo/logo.dart View 1 chunk +1 line, -17 lines 0 comments Download
M samples/swarm/Decoder.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/swarm/swarm_ui_lib/layout/GridLayoutParser.dart View 3 chunks +15 lines, -15 lines 0 comments Download
M samples/swarm/swarm_ui_lib/layout/GridTracks.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M samples/third_party/dromaeo/common/BenchUtil.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_collection_dev/iterable.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/_collection_dev/list.dart View 1 1 chunk +13 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/minify_namer.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/lib/js_helper.dart View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/lib/js_string.dart View 3 chunks +1 line, -15 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/lib/string_helper.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/scanner/byte_strings.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/dartdoc/lib/src/json_serializer.dart View 1 chunk +21 lines, -21 lines 0 comments Download
M sdk/lib/collection/collections.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/core/string.dart View 1 9 chunks +12 lines, -61 lines 0 comments Download
M sdk/lib/html/dart2js/html_dart2js.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/io/base64.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/io/http_headers.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/io/http_parser.dart View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M sdk/lib/io/http_utils.dart View 7 chunks +7 lines, -7 lines 0 comments Download
M sdk/lib/io/mime_multipart_parser.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M sdk/lib/io/string_transformer.dart View 1 2 5 chunks +6 lines, -6 lines 0 comments Download
M sdk/lib/io/websocket_impl.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/json/json_base.dart View 1 2 13 chunks +27 lines, -27 lines 0 comments Download
M sdk/lib/uri/encode_decode.dart View 3 chunks +4 lines, -5 lines 0 comments Download
M sdk/lib/utf/utf16.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/utf/utf_core.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/utf/utf_stream.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/co19/co19-dart2dart.status View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M tests/compiler/dart2js_extra/bailout_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js_extra/string_escape_test.dart View 6 chunks +6 lines, -6 lines 0 comments Download
M tests/corelib/collection_to_string_test.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M tests/corelib/core_runtime_types_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/corelib/is_operator_basic_types_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/corelib/json_test.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tests/corelib/string_base_vm_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
D tests/corelib/string_character_test.dart View 1 chunk +0 lines, -30 lines 0 comments Download
M tests/corelib/string_codeunits_test.dart View 1 1 chunk +6 lines, -3 lines 0 comments Download
A tests/corelib/string_fromcharcode_test.dart View 1 chunk +30 lines, -0 lines 0 comments Download
M tests/corelib/string_test.dart View 4 chunks +5 lines, -19 lines 0 comments Download
M tests/corelib/strings_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/html/url_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/char_escape_test.dart View 21 chunks +92 lines, -92 lines 0 comments Download
M tests/language/instance_inline_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/language/interceptor_test.dart View 1 chunk +17 lines, -17 lines 0 comments Download
M tests/language/invocation_mirror_invoke_on2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/optimized_constant_array_string_access_test.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M tests/language/optimized_string_charcodeat_test.dart View 2 chunks +21 lines, -21 lines 0 comments Download
M tests/language/static_inline_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/language/string_escapes_test.dart View 1 chunk +20 lines, -20 lines 0 comments Download
M tests/language/string_test.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/lib/crypto/base64_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/standalone/crypto/base64_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M tests/standalone/io/file_input_stream_test.dart View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M tests/standalone/io/file_system_links_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/file_test.dart View 1 2 5 chunks +8 lines, -8 lines 0 comments Download
M tests/standalone/io/http_client_connect_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/http_parser_test.dart View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M tests/standalone/io/http_read_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/http_server_early_client_close_test.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/standalone/io/mime_multipart_parser_test.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/standalone/io/process_run_output_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/process_stderr_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/process_stdout_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/raw_secure_socket_pause_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/raw_secure_socket_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/secure_client_raw_server_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/secure_client_server_test.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tests/standalone/io/secure_multiple_client_server_test.dart View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M tests/standalone/io/secure_server_client_certificate_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/secure_session_resume_test.dart View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M tests/standalone/io/secure_socket_bad_certificate_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/secure_socket_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/socket_close_test.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/standalone/io/string_decoder_test.dart View 1 2 3 chunks +10 lines, -10 lines 0 comments Download
M tests/standalone/io/string_transformer_test.dart View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M tests/utils/utf_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/dom/src/KeyboardEventController.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M utils/css/parser.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/css/tokenizer.dart View 6 chunks +7 lines, -7 lines 0 comments Download
M utils/css/tokenizer_base.dart View 8 chunks +8 lines, -8 lines 0 comments Download
M utils/css/tokenkind.dart View 4 chunks +38 lines, -38 lines 0 comments Download
M utils/peg/pegparser.dart View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M utils/pub/hosted_source.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M utils/pub/io.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M utils/pub/log.dart View 2 chunks +7 lines, -7 lines 0 comments Download
M utils/pub/utils.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/template/codegen.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/template/tokenizer.dart View 4 chunks +5 lines, -5 lines 0 comments Download
M utils/template/tokenizer_base.dart View 8 chunks +9 lines, -9 lines 0 comments Download
M utils/template/tokenkind.dart View 2 chunks +25 lines, -25 lines 0 comments Download
M utils/testrunner/layout_test_controller.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/tests/peg/peg_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M utils/tests/pub/test_pub.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M utils/tests/string_encoding/benchmark_runner.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M utils/tests/string_encoding/dunit.dart View 1 3 chunks +7 lines, -7 lines 0 comments Download
M utils/tests/string_encoding/unicode_test.dart View 1 3 chunks +3 lines, -3 lines 0 comments Download
M utils/tests/string_encoding/utf16_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/tests/string_encoding/utf32_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/tests/string_encoding/utf8_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Lasse Reichstein Nielsen
Srdjan, please check the VM changes.
7 years, 10 months ago (2013-02-19 13:14:22 UTC) #1
floitsch
LGTM. https://codereview.chromium.org/12282038/diff/1/sdk/lib/core/string.dart File sdk/lib/core/string.dart (right): https://codereview.chromium.org/12282038/diff/1/sdk/lib/core/string.dart#newcode462 sdk/lib/core/string.dart:462: class CodeUnits extends UnmodifiableListBase<int> { I would prefer ...
7 years, 10 months ago (2013-02-19 14:03:05 UTC) #2
srdjan
https://codereview.chromium.org/12282038/diff/1137/runtime/lib/string_base.dart File runtime/lib/string_base.dart (right): https://codereview.chromium.org/12282038/diff/1137/runtime/lib/string_base.dart#newcode418 runtime/lib/string_base.dart:418: List<int> get codeUnits => new CodeUnits(this); How does this ...
7 years, 10 months ago (2013-02-19 17:28:44 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/12282038/diff/1/sdk/lib/core/string.dart File sdk/lib/core/string.dart (right): https://codereview.chromium.org/12282038/diff/1/sdk/lib/core/string.dart#newcode462 sdk/lib/core/string.dart:462: class CodeUnits extends UnmodifiableListBase<int> { Moved to _collection-dev. https://codereview.chromium.org/12282038/diff/1/tests/co19/co19-dart2dart.status ...
7 years, 10 months ago (2013-02-20 06:38:23 UTC) #4
srdjan
LGTM for VM changes after testing that no performance regressions occur.
7 years, 10 months ago (2013-02-20 16:53:50 UTC) #5
Lasse Reichstein Nielsen
7 years, 10 months ago (2013-02-25 10:49:22 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r18960 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698