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
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
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
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
4a5d53c549
feat: allow using KeyValueChanges as a pipe
2015-02-25 13:24:59 -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
Pawel Kozlowski
908a0aa7dc
test: introduce TemplateResolver mock
...
Closes #768
2015-02-24 10:34:52 -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
Yegor Jbanov
d1f03e509b
fix(benchpress): benchpress fixes and a smoke test for Dart
2015-02-23 10:50:51 -08: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
Pawel Kozlowski
0c4fbfc8e2
feat(di): introduce aliasing
...
Closes #710
Closes #747
2015-02-21 18:43:45 +01:00
vsavkin
0dfd287ec3
fix(change_detection): handle locals when invoking a method
...
Closes #660
2015-02-20 17:55:06 -08:00
vsavkin
7f31036427
fix(change_detection): pass the correct previous value when using pipes
...
Closes #588
2015-02-20 17:53:57 -08:00
vsavkin
987a5fdf56
feat(change_detection): add support for pipes in the template
2015-02-20 17:16:57 -08:00
vsavkin
29f5ee0c29
fix(shadow_dom_emulation): handle the case when the array of element injectors has nulls
2015-02-20 15:52:15 -08:00
vsavkin
58ba700b14
feat(change_detection): change binding syntax to explicitly specify pipes
2015-02-20 10:59:46 -08:00
Victor Berchet
69e02ee76f
feat(ViewSplitter): Change template shorthand syntax from '!' to '*'
...
fixes #717
Closes #727
2015-02-20 10:36:30 -08:00
Tim Blasi
329b2eda66
refactor(dart/transform tests): Use actual directive def'n instead of mock.
...
In the transformer unit tests, we previously used a mock directive annotation. This update
substitutes the actual Angular2 directive annotations.
Closes #706
2015-02-20 09:44:56 -08:00
Victor Berchet
d0ca07afaa
refactor(Compiler): introduce ShimComponent to shim CSS & DOM in emulated mode
...
Closes #715
2015-02-19 13:42:18 -08:00
Victor Berchet
5111f9ae37
feat(ShadowCss): Make the shim also accept a selector for the host
2015-02-19 13:42:18 -08:00
Victor Berchet
d67f0299cd
feat(ShadowCss): port implementation from webcomponent.js
2015-02-19 13:42:18 -08:00
Marc Laval
3496c8ac54
refactor(change_detection): remove circular dependencies
...
Closes #712
2015-02-19 13:42:00 -08:00
Tim Blasi
4d56a1e1af
chore: Fixing review comments on Dart transformers
...
See https://codereview.chromium.org/927373004/
Closes #705
2015-02-18 21:08:42 -08:00
Kevin Moore
fb5b168b19
chore: Remove unused imports and enable checks for unused imports as part of build
2015-02-18 21:06:30 -08:00
Jeremy Elbourn
821f008462
chore(compiler): add integration tests for @Parent and @Ancestor
2015-02-18 17:20:47 -08:00
Jeremy Elbourn
785ec26322
feat(compiler): make directive bindings optional. Fixes #647
2015-02-18 13:56:14 -08:00
Pawel Kozlowski
56f4e84d45
fix: flip attr / property bind in directives annotations
...
Fixes #648
Closes #684
2015-02-18 17:07:53 +01:00
Pawel Kozlowski
709c3ca6b5
refactor: use the ExceptionHandler service
...
Fixes #533
Closes #672
2015-02-18 13:48:28 +01:00
vsavkin
695b4ebbc7
feat(change_detection): add support for pipes
2015-02-17 17:12:58 -08:00
Kevin Moore
fa25965939
chore: Remove unused imports
...
Closes #624
2015-02-17 16:49:08 -08:00
Tim Blasi
6e90cacaf4
feat(dart/transformer:: Initial commit of ctor stubs & annotation register
...
Closes #646
Closes #496
Closes #498
2015-02-17 16:34:19 -08:00
Tobias Bosch
e163eb2a51
fix(test_lib): support deep compare of objects with private/static fields
2015-02-17 16:02:46 -08:00
Pawel Kozlowski
92afad6ebc
feat: support bindings for the 'role' attribute
...
Closes #630
2015-02-14 21:24:40 +01:00
Pawel Kozlowski
1846ce8c68
feat: support binding to aria-* attributes
...
Closes #643
2015-02-14 20:28:08 +01:00
Victor Berchet
e6c8bde808
feat(Compiler): Multiple template per component
...
fixes #596
- TemplateConfig becomes Template
- introduce a TemplateResolver to pick the cmp template,
- @Component and @Template are disociated
2015-02-13 18:07:08 +01:00
Victor Berchet
6d23d00057
refactor(ViewPort): @Template -> @Viewport, ViewPort -> ViewContainer
...
fixes #595
2015-02-13 17:48:27 +01:00
Marc Laval
0499eeb231
refactor(facade): remove dependency to rtts_assert
...
Closes #593
2015-02-13 12:57:10 +01:00
Marc Laval
6d8ccaa8e4
feat(TemplateConfig): support array of arrays in TemplateConfig directives
...
Fixes #592
Closes #600
2015-02-12 11:56:45 +01:00
Victor Berchet
8844671c8d
feat(EventManager): implement the EventManager
2015-02-12 10:46:11 +01:00
vsavkin
91fd5a69bf
test(change_detection): add an integration test verifying that binding propagation config works
2015-02-11 17:54:07 -08:00
Victor Berchet
fc1b791a7a
fix(view): ViewPort light should come from the direct parent
2015-02-11 09:16:53 +01:00
Victor Berchet
b953956a35
refactor(view_spec): Drop SomeComponentWithEmulatedShadowDom
2015-02-11 09:16:53 +01:00