|
big update to observe, template_binding, polymer
The biggest changes are in pkg:observe where we picked up a lot of optimizations to PathObserver/CompoundObserver.
template_binding gets one-time bindings, synchronous expansion, and lightweight "bindable" objects.
The tests are heavily refactored to use Future instead of the hacky observeTest/performMicrotaskCheckpoint pattern (I have been slowly changing the style for new tests, but observe-js made the change for all of them. yay!). Oh and the performMC stuff is gone from pkg:observe now.
There's also a new pkg:polymer feature for observation, which was ported so we are at a consistent baseline. ( http://www.polymer-project.org/polymer.html#observeblock)
R=justinfagnani@google.com, sigmund@google.com
Committed: https://code.google.com/p/dart/source/detail?r=32342
Total comments: 77
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+4572 lines, -3215 lines) |
Patch |
|
M |
pkg/observe/lib/html.dart
|
View
|
1
2
3
4
5
6
|
2 chunks |
+19 lines, -4 lines |
0 comments
|
Download
|
|
M |
pkg/observe/lib/observe.dart
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
|
A |
pkg/observe/lib/src/bindable.dart
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
D |
pkg/observe/lib/src/compound_path_observer.dart
|
View
|
|
1 chunk |
+0 lines, -115 lines |
0 comments
|
Download
|
|
M |
pkg/observe/lib/src/list_diff.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
pkg/observe/lib/src/microtask.dart
|
View
|
|
1 chunk |
+0 lines, -72 lines |
0 comments
|
Download
|
|
M |
pkg/observe/lib/src/observable_list.dart
|
View
|
1
2
3
4
5
6
|
2 chunks |
+26 lines, -1 line |
0 comments
|
Download
|
|
A |
pkg/observe/lib/src/observer_transform.dart
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+83 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/observe/lib/src/path_observer.dart
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+544 lines, -175 lines |
0 comments
|
Download
|
|
M |
pkg/observe/pubspec.yaml
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
pkg/observe/test/list_change_test.dart
|
View
|
|
7 chunks |
+66 lines, -89 lines |
0 comments
|
Download
|
|
M |
pkg/observe/test/observable_list_test.dart
|
View
|
|
5 chunks |
+110 lines, -88 lines |
0 comments
|
Download
|
|
M |
pkg/observe/test/observable_map_test.dart
|
View
|
|
5 chunks |
+107 lines, -86 lines |
0 comments
|
Download
|
|
M |
pkg/observe/test/observe_test.dart
|
View
|
|
10 chunks |
+48 lines, -42 lines |
0 comments
|
Download
|
|
M |
pkg/observe/test/observe_test_utils.dart
|
View
|
|
2 chunks |
+7 lines, -13 lines |
0 comments
|
Download
|
|
M |
pkg/observe/test/path_observer_test.dart
|
View
|
1
2
3
4
5
6
|
4 chunks |
+177 lines, -123 lines |
0 comments
|
Download
|
|
M |
pkg/pkg.status
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
pkg/polymer/lib/polymer.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
pkg/polymer/lib/src/declaration.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
21 chunks |
+103 lines, -31 lines |
0 comments
|
Download
|
|
M |
pkg/polymer/lib/src/instance.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
19 chunks |
+194 lines, -136 lines |
0 comments
|
Download
|
|
M |
pkg/polymer/lib/src/loader.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/polymer/test/attr_mustache_test.dart
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
pkg/polymer/test/custom_event_test.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/polymer/test/nested_binding_test.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
pkg/polymer/test/property_observe_test.dart
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
|
A + |
pkg/polymer/test/property_observe_test.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
pkg/polymer/test/publish_attributes_test.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
pkg/polymer/test/publish_inherited_properties_test.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/polymer_expressions/example/streams/collect_key_press.html
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
pkg/polymer_expressions/lib/eval.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/polymer_expressions/lib/polymer_expressions.dart
|
View
|
1
2
3
4
5
|
2 chunks |
+60 lines, -22 lines |
0 comments
|
Download
|
|
M |
pkg/polymer_expressions/test/bindings_test.dart
|
View
|
1
2
|
3 chunks |
+64 lines, -61 lines |
0 comments
|
Download
|
|
M |
pkg/polymer_expressions/test/globals_test.dart
|
View
|
1
2
|
3 chunks |
+41 lines, -41 lines |
0 comments
|
Download
|
|
M |
pkg/polymer_expressions/test/syntax_test.dart
|
View
|
1
2
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/binding_delegate.dart
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/element.dart
|
View
|
|
1 chunk |
+37 lines, -50 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/input_bindings.dart
|
View
|
|
3 chunks |
+66 lines, -110 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/input_element.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/instance_binding_map.dart
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+44 lines, -42 lines |
0 comments
|
Download
|
|
A |
pkg/template_binding/lib/src/mustache_tokens.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+146 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/node.dart
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+17 lines, -9 lines |
0 comments
|
Download
|
|
D |
pkg/template_binding/lib/src/node_binding.dart
|
View
|
|
1 chunk |
+0 lines, -92 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/select_element.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/template.dart
|
View
|
1
2
|
9 chunks |
+120 lines, -154 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/template_iterator.dart
|
View
|
1
2
3
4
5
6
7
8
|
13 chunks |
+249 lines, -249 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/text.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+14 lines, -9 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/src/text_area_element.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/lib/template_binding.dart
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/pubspec.yaml
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/test/binding_syntax.dart
|
View
|
1
2
|
7 chunks |
+137 lines, -71 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/test/custom_element_bindings_test.dart
|
View
|
1
2
|
6 chunks |
+88 lines, -89 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/test/node_bind_test.dart
|
View
|
1
2
|
10 chunks |
+397 lines, -319 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/test/template_binding_test.dart
|
View
|
1
2
|
45 chunks |
+1363 lines, -845 lines |
0 comments
|
Download
|
|
M |
pkg/template_binding/test/utils.dart
|
View
|
1
2
|
3 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
|
M |
samples/third_party/todomvc/test/utils.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
tools/line_doc_comments.dart
|
View
|
|
3 chunks |
+17 lines, -7 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|