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

Issue 26967004: add @MirrorsUsed to observe/polymer/polymer_exprs pkgs (Closed)

Created:
7 years, 2 months ago by Jennifer Messerly
Modified:
7 years, 2 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

add @MirrorsUsed to observe/polymer/polymer_exprs pkgs Fairly straightforward. @observable and @CustomTag are metaTargets, so no changes needed for types that use those. The only other changes are for data binding to objects with built in change notification. In that case, we add package:observe's @reflectable annotation. Other than that, just a few other things in mirrors that are now locked down appropriately to only reflect on the things they need. R=sigmund@google.com Committed: https://code.google.com/p/dart/source/detail?r=28689

Patch Set 1 #

Patch Set 2 : add MirrorsUsed to observe, polymer pkgs #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : fix typo in comment #

Total comments: 19
Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -141 lines) Patch
M pkg/mdv/test/mdv_test_utils.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M pkg/observe/lib/html.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/observe/lib/observe.dart View 1 2 3 4 chunks +15 lines, -2 lines 3 comments Download
M pkg/observe/lib/src/change_notifier.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/observe/lib/src/compound_binding.dart View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/observe/lib/src/list_path_observer.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A pkg/observe/lib/src/metadata.dart View 1 1 chunk +54 lines, -0 lines 0 comments Download
M pkg/observe/lib/src/observable.dart View 1 2 chunks +0 lines, -21 lines 0 comments Download
M pkg/observe/lib/src/observable_box.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/observe/lib/src/observable_list.dart View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M pkg/observe/lib/src/observable_map.dart View 1 1 chunk +9 lines, -9 lines 0 comments Download
M pkg/observe/lib/src/path_observer.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/observe/lib/transform.dart View 1 5 chunks +25 lines, -15 lines 2 comments Download
M pkg/observe/test/path_observer_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M pkg/observe/test/transform_test.dart View 1 2 chunks +7 lines, -7 lines 0 comments Download
M pkg/polymer/lib/deserialize.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/lib/polymer.dart View 1 2 2 chunks +5 lines, -0 lines 6 comments Download
M pkg/polymer/lib/src/build/script_compactor.dart View 1 2 2 chunks +4 lines, -4 lines 2 comments Download
M pkg/polymer/lib/src/loader.dart View 1 2 2 chunks +1 line, -21 lines 0 comments Download
A pkg/polymer/lib/src/reflected_type.dart View 1 2 1 chunk +31 lines, -0 lines 2 comments Download
M pkg/polymer/test/build/all_phases_test.dart View 1 2 6 chunks +7 lines, -22 lines 0 comments Download
M pkg/polymer/test/build/script_compactor_test.dart View 1 2 2 chunks +2 lines, -10 lines 0 comments Download
M pkg/polymer/test/instance_attrs_test.dart View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/polymer/test/instance_attrs_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer_expressions/lib/eval.dart View 1 2 1 chunk +3 lines, -0 lines 2 comments Download
M pkg/polymer_expressions/lib/polymer_expressions.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/polymer_expressions/lib/src/globals.dart View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M pkg/polymer_expressions/lib/src/mirrors.dart View 1 1 chunk +4 lines, -0 lines 2 comments Download
M pkg/polymer_expressions/test/bindings_test.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/polymer_expressions/test/eval_test.dart View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M pkg/polymer_expressions/test/syntax_test.dart View 1 2 3 chunks +4 lines, -7 lines 0 comments Download
M samples/third_party/todomvc/web/editable_label.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M samples/third_party/todomvc/web/model.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Jennifer Messerly
https://codereview.chromium.org/26967004/diff/5001/pkg/polymer/lib/src/reflected_type.dart File pkg/polymer/lib/src/reflected_type.dart (right): https://codereview.chromium.org/26967004/diff/5001/pkg/polymer/lib/src/reflected_type.dart#newcode10 pkg/polymer/lib/src/reflected_type.dart:10: override: 'polymer.src.reflected_type') moved this to its own file so ...
7 years, 2 months ago (2013-10-15 03:10:35 UTC) #1
Jennifer Messerly
fyi, this fixes https://code.google.com/p/dart/issues/detail?id=12396
7 years, 2 months ago (2013-10-15 03:12:02 UTC) #2
Jennifer Messerly
fyi, code size for TodoMVC (uncompressed/not minified) 3919970 before -> 978551 after. So we're at ...
7 years, 2 months ago (2013-10-15 03:29:53 UTC) #3
Jennifer Messerly
On 2013/10/15 03:29:53, John Messerly wrote: > fyi, code size for TodoMVC (uncompressed/not minified) > ...
7 years, 2 months ago (2013-10-15 03:33:20 UTC) #4
Siggi Cherem (dart-lang)
this is really exciting. I just have some novice comments and a suggestion in several ...
7 years, 2 months ago (2013-10-15 21:52:18 UTC) #5
Jennifer Messerly
https://codereview.chromium.org/26967004/diff/12001/pkg/observe/lib/observe.dart File pkg/observe/lib/observe.dart (right): https://codereview.chromium.org/26967004/diff/12001/pkg/observe/lib/observe.dart#newcode88 pkg/observe/lib/observe.dart:88: override: 'observe') On 2013/10/15 21:52:18, Siggi Cherem (dart-lang) wrote: ...
7 years, 2 months ago (2013-10-15 22:03:29 UTC) #6
Siggi Cherem (dart-lang)
lgtm! https://codereview.chromium.org/26967004/diff/12001/pkg/observe/lib/observe.dart File pkg/observe/lib/observe.dart (right): https://codereview.chromium.org/26967004/diff/12001/pkg/observe/lib/observe.dart#newcode88 pkg/observe/lib/observe.dart:88: override: 'observe') On 2013/10/15 22:03:29, John Messerly wrote: ...
7 years, 2 months ago (2013-10-15 22:06:45 UTC) #7
Jennifer Messerly
7 years, 2 months ago (2013-10-15 22:56:04 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r28689 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698