Commit Graph

141 Commits

Author SHA1 Message Date
vsavkin 733915d99b feat(forms): add support for nested forms 2015-03-02 14:53:03 -08:00
Tobias Bosch 7ddfbf8bea refactor(tests): move files from `angular2/e2e_test` to `angular2/src/test_lib`
The `e2e_test` folder in `angular2` never contained e2e tests but was
used to store utilities for writing e2e/perf tests. A better place for
them is `angular2/src/test_lib`.

Closes #855
2015-03-02 14:38:02 -08:00
vsavkin ba0a1ec459 feat(di): add support for optional dependencies 2015-03-02 14:38:02 -08:00
Victor Berchet 23786aaa92 feat(DomAdapter): add types
Closes #842
2015-03-02 14:38:02 -08:00
Caitlin Potter 749a75812c fix(browser_adapter): work around WebKit bug with importing template elements
Closes #851

Closes #853
2015-03-02 14:38:02 -08:00
Bertrand Laporte 3059104e8d add compilation error test for dart
Closes #812
2015-03-02 14:38:02 -08:00
vsavkin 21f24d19dd feat(change_detection): implement hydration/dehydration 2015-03-02 13:28:39 -08:00
Richard Harrington f30e3e59b5 fix(docs): fix typo in compiler integration_spec.js
Closes #834
2015-02-28 12:00:49 +01:00
Yegor Jbanov cbe7b8c671 chore(refactor): easier to make sense of attr-to-prop map (even if a bit reduntant) 2015-02-27 22:11:08 -08:00
Yegor Jbanov 757eae8ad3 feat(compiler): DOM adapters + html5lib implementation; misc fixes 2015-02-27 16:49:14 -08:00
Alex Eagle ab42664e76 Don't use the for..of syntax in AtScript. 2015-02-27 15:26:53 -08:00
Tim Blasi ccb306cce7 docs(di): Fix typos, add some clarification.
Or maybe expose my lack of understanding, we'll see!
2015-02-27 14:54:16 -08:00
Pawel Kozlowski 7e6f536cf5 fix(compiler): properly bind to properties that don't have matching attr name
Fixes #619
Closes #783
2015-02-27 16:10:16 +01:00
Victor Berchet 8541cfd26d feat(ShadowDomStrategy): implemented EmulatedUnscopedShadowDomStrategy
- The new strategy do not scope component styles but make them global,
- The former EmulatedShadowStrategy has been renamed to
EmulatedScopedShadowDomStrategy. It does scope the styles.
2015-02-26 20:00:23 +01:00
Victor Berchet 9f181f39e9 fix(StyleUrlResolver): add support for media query in import rules 2015-02-26 20:00:23 +01:00
Victor Berchet 4d8d17ce3d fix(StyleInliner): add support for url(url) format 2015-02-26 20:00:23 +01:00
Victor Berchet 06f7481141 feat(RegExp): expose match indexes in Dart 2015-02-26 19:32:49 +01:00
Pawel Kozlowski 8d2720775c chore: re-add dependency on zone.js
Closes #811
2015-02-26 19:20:02 +01:00
vsavkin cf9cb61665 clean(forms): cleanup 2015-02-26 09:35:30 -08:00
vsavkin f27e538e2c feat(forms): add optional controls 2015-02-26 09:31:02 -08:00
vsavkin a73c643322 feat(forms): remove support for declaring forms in html 2015-02-26 09:31:02 -08:00
vsavkin ded83e589b feat(forms): add support for validations 2015-02-26 09:31:01 -08:00
Tobias Bosch 65ebff056a refactor(benchpress): make tests for error cases also work in Dart
Also introduces `PromiseWrapper.catchError`.
Could not use `PromiseWrapper.catch` as a name as Dart would not allow
this method name.
2015-02-26 09:24:40 -08:00
Victor Berchet dd1898c132 fix(compiler): add a missing ; 2015-02-26 15:24:21 +01:00
Victor Berchet 929fc65493 refactor(template loading): add support for base URLs, css rewriting
fixes #654
2015-02-26 09:36:04 +01:00
Victor Berchet 26872f60e6 feat(ComponentUrlMapper): retrieve the base URL for components 2015-02-26 09:04:00 +01:00
Victor Berchet 9250cd6a78 fix(ShimShadowCss): preserve attribute on style elements 2015-02-26 09:04:00 +01:00
Victor Berchet edb797e191 feat(StyleUrlResolver): rewrite url in styles 2015-02-26 09:04:00 +01:00
Victor Berchet ff406e65dc feat(UrlResolver): combine a base URL with an URL 2015-02-26 09:04:00 +01:00
Victor Berchet e0cf1c7ab5 feat(StyleInliner): StyleInliner inlines @import css rules 2015-02-26 09:04:00 +01:00
Victor Berchet e8bec99aa6 feat(test_lib): support not.toBePromise() for Dart 2015-02-26 09:04:00 +01:00
Victor Berchet 41c61e5bc7 refactor(Completer): rename complete() to resolve() 2015-02-26 08:46:32 +01:00
Rado Kirov 6ad2c18277 feat(events): adds support for bubbling native events (^event).
Refactor - move DomEventManager into its own plugin.
2015-02-25 19:08:16 -08:00
Rado Kirov 2f015cc336 fix(view_container): fixes injection on dynamically added views.
Closes #777
2015-02-25 18:05:57 -08:00
vsavkin 6b2650996c fix(parser): parse pipes in template bindings 2015-02-25 14:39:44 -08:00
Pawel Kozlowski 85abfa943d feat: add keyValDiff to default pipes 2015-02-25 13:24:59 -08:00
Pawel Kozlowski 4a5d53c549 feat: allow using KeyValueChanges as a pipe 2015-02-25 13:24:59 -08:00
Bertrand Laporte 33b503720a fix rebase glitch in PR #570
Closes #787
2015-02-25 10:04:48 -08:00
Tim Blasi 50a74b1d91 feat(dart/transform): Generate setter stubs.
Generate calls to Reflector#registerSetters from the information in
provided `Directive#bind` values.

This is only an initial attempt - it covers only the most basic values
of `bind`.

Closes #780
2015-02-25 09:54:13 -08:00
Bertrand Laporte 94e203b9df feat(DirectiveParser): throw errors when expected directives are not present
closes #527
Closes #570
2015-02-24 20:57:21 -08:00
Tobias Bosch cde8ffd6d9 feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
Yegor Jbanov cfe71def7e chore(packaging): 0.0.0-alpha.9; pubspec cleanup 2015-02-24 11:42:05 -08:00
Pawel Kozlowski 908a0aa7dc test: introduce TemplateResolver mock
Closes #768
2015-02-24 10:34:52 -08:00
Sekib Omazic 4d35dd4d45 docs(02_directives.md): Change the description of bind property
Also add attribute open to the html

Closes #767
2015-02-24 10:34:26 -08:00
Tim Blasi 3b6aaf9054 feat(dart/transform) Remove import of dart:mirrors
+ Precede the call to `new ReflectionCapabilities()` with our generated
code which populates the reflection map statically.
+ Add the import of our generated code.
+ Once we are generating all necessary code, we will remove the
import of reflection_capabilities.dart and the instantiation of
`ReflectionCapabilities`, cutting the dependency on dart:mirrors.

Closes #761
2015-02-23 18:36:29 -08:00
Kevin Moore fad25c2b10 chore: Adding return types to Dart facades
Closes #758
2015-02-23 14:26:55 -08:00
Yegor Jbanov d1f03e509b fix(benchpress): benchpress fixes and a smoke test for Dart 2015-02-23 10:50:51 -08:00
Tobias Bosch f54f4e89e0 fix(facade): `ListWrapper.sort()` should not return the list
This is the semantics of the regular `Array.sort` in JS,
so the wrapper should imitate this.
2015-02-23 10:36:16 -08:00
Pawel Kozlowski d8103aeca6 docs(di): fix code examples
Closes #750
2015-02-21 22:14:26 +00:00
Tim Blasi fb49946160 feat(dart/transform) Allow ctor stubs to be tree shaken
Change the method used to discover Directive annotated classes to ensure
that the Dart code can be tree shaken.

Closes #497

Closes $\x23736
2015-02-21 18:20:05 +00:00