Commit Graph

5154 Commits

Author SHA1 Message Date
52d88457c8 fix(NgRepeat): activate index 2015-01-29 13:29:32 -08:00
db0f0c462b perf(change_detection): use object pools not to create unnecessary garbage 2015-01-28 20:08:58 -08:00
ec935565ca fix(test_lib): support comparing Maps in nested structures 2015-01-28 09:35:35 -08:00
af41fa9ac4 feat(change_detection): modify change detectors to recompute pure functions only when their args change 2015-01-27 16:52:33 -08:00
2793d47c67 feat(change_detection): change proto change detectors to coalesce records 2015-01-27 16:42:55 -08:00
5367749f54 docs(pipeline): fix some inline doc
Closes #463
2015-01-27 16:34:09 -08:00
850cf0fef4 feat(change_detection): implement a change detector generator 2015-01-27 16:18:15 -08:00
737914061f feat(perf): add AngularDart v1 of table scrolling benchmark 2015-01-27 09:53:22 -08:00
a120d7f1c8 docs: follow/side effects/taught typos 2015-01-27 00:13:23 -08:00
814f3d01ef Doc(LightDom): add some inline doc 2015-01-27 08:46:52 +01:00
c797a4fbd5 refactor(LightDom): refactor the code 2015-01-27 08:46:52 +01:00
a02e7b5067 Remove unused fields 2015-01-26 17:32:56 -08:00
9682437aeb fix(tests): make Angular 2 compiler perf test use correct param name 2015-01-26 16:30:33 -08:00
f24b9f2499 fix(perf): use correct param name in compiler benchmark 2015-01-26 16:30:33 -08:00
b3693e6e0f cleanup(ng-if): remove OnChange 2015-01-26 10:05:20 +01:00
ec5cb3eb66 feat(package): introduce a catch-all package angular.
modules/angular has no implementation, but depends on all the pieces
that make angular - core, di, directives, etc. It is the package that
all client apps will depend on.
2015-01-23 10:31:24 -08:00
4df1825dc2 fix(Interpolation): switch to new AST API 2015-01-23 10:12:13 +01:00
be6ce02021 refactor(NgIf): replace createElement() by el() 2015-01-23 09:27:36 +01:00
3b34ef43b1 perf(CD): Special cased interpolation in AST, Parser, and CD 2015-01-22 16:31:58 -08:00
b734d56b83 fix(cd): report all changes on first cd run
- null values would not have been reported for Dart
- undefined values would not have been reported for JS

Closes #454
2015-01-22 16:15:17 -08:00
829c28f3ee docs: initial version of the documentation 2015-01-23 00:03:21 +00:00
d5a12d59ca feat(ng-if): an implementation of ng-if
Closes #317
2015-01-22 15:34:25 -08:00
5c4238cd41 fix(compiler): fixes a bug with top level template directives. 2015-01-22 12:48:08 -08:00
b4338b623c fix(compiler): fix directive registration order
fix #328
2015-01-22 20:54:18 +01:00
fd34a56347 feat(events): adds support for injectable angular event emitters.
Event emitters can be injected into Directives. Event emitters take over
browser events with the same name. Emitted events do not bubble. Event
emitters can be injected even if there is no corresponding callback in
the template.

Use as follows:
@Decorator(...)
class MyDec(@EventEmitter('click') clickEmitter) {
 ...
 fireClick() {
  var eventData = {...};
  this._clickEmitter(eventData);
 }
}
2015-01-22 10:14:03 -08:00
683bb6e5a2 feat(directive): add ng-switch directive 2015-01-22 18:49:10 +01:00
769e9741d3 refactor(OnChange): update message to ease debugging 2015-01-22 18:49:10 +01:00
85a714f022 style(cd): add types 2015-01-22 11:08:10 +01:00
211cb12413 fix(ListWrapper): fix JS ListWrapper.remove() 2015-01-22 09:41:26 +01:00
8612af9c50 fix(views): adds dehydration calls to ng-repeat removed views.
Closes #416
2015-01-21 17:15:57 -08:00
9957c1338e feat(change_detection): reimplement change detection 2015-01-21 14:21:14 -08:00
03c21a8cb2 feat(events): add the $event local variable to the handler context 2015-01-21 10:03:21 +01:00
156f3d99e0 feat(parser): make method calls aware of ContextWithVariableBindings 2015-01-21 09:58:01 +01:00
8a8a4b2ae7 test(ng-repeat): enables nested ng-repeat test.
It was failing previously because we were using nested <li> incorrectly.
2015-01-20 14:19:57 -08:00
1d0de3ea54 style(lang): add missing type annotation js/dart 2015-01-20 14:12:09 -08:00
48125a8448 fix(perf): fix selector benchmark 2015-01-20 13:06:37 -08:00
5c064c19e2 feat(perf): autoscale benchmarks depending on the browser. 2015-01-20 13:06:37 -08:00
7f701da66f fix(events): extract eventHandler to new function scope. 2015-01-16 16:46:01 -08:00
2381c3640b fix(event): check hydration before firing event.
It is unlikely, but it can happen that an event is fired on a dehydrated
view. Extra guard asserts the events fire only on hydrated views.
2015-01-16 13:43:02 -08:00
fb1b1da7b9 feat(directive): notify directive before they get destroyed 2015-01-15 18:16:11 -08:00
ec8e9f5634 feat(emuldated_shadow_dom): implement intermediate content tags 2015-01-15 17:43:45 -08:00
bc8e517ae2 feat(largeTable): add AngularJS 1.x largetable benchmark 2015-01-15 13:38:31 -08:00
dfcce3a789 fix(treeBenchmark): bootstrap only relevant portion to prevent angular from clobbering form 2015-01-15 13:38:31 -08:00
a2b58202a0 feat(benchpress): add getStringParameter method to support text and radio inputs 2015-01-15 13:38:31 -08:00
d02c0accbb refactor(benchmarks): add cloud reporter, add params
- adds console and cloud reporter (via Google BigQuery).
- makes parameters of tests explicit and modifiable.
- removes `detect` and `ignoreGc` mode from benchpress
  as these can result in unstable numbers.
2015-01-15 09:09:05 -08:00
af02f2beb1 fix(e2e): adds events to hello world static.
Extends e2e test to cover events.
2015-01-14 18:00:27 -08:00
bf609f0e56 refactor(tests): exctract createElement into a helper 2015-01-14 09:13:56 -08:00
c5b0baf805 feat(view): adds event binding to view instantiation.
Only native non-bubbling events are supported by the commit.
2015-01-13 21:12:52 -08:00
bccc863567 fix(benchmark): remove duplicate line. 2015-01-13 21:09:28 -08:00
f6ebaf74d3 perf: force GC on profiles 2015-01-13 13:06:17 -08:00