Miško Hevery
f8f1168fa6
Revert "feat(ivy): support for i18n & ICU expressions ( #26275 )"
...
This reverts commit a63fd2d0f5
.
2018-11-14 10:23:21 -08:00
Olivier Combe
a63fd2d0f5
feat(ivy): support for i18n & ICU expressions ( #26275 )
...
PR Close #26275
2018-11-13 14:50:30 -08:00
Matias Niemelä
095b6e8113
refactor(ivy): abstract all styling-related compiler logic into a shared class ( #27043 )
...
PR Close #27043
2018-11-12 15:32:48 -08:00
Kara Erickson
1810cdf2c3
fix(ivy): compiler should generate restoreView() for local refs in listeners ( #27034 )
...
PR Close #27034
2018-11-12 12:50:58 -08:00
Kara Erickson
9e26216c40
fix(ivy): compiler should generate bindings to host attrs properly ( #26973 )
...
PR Close #26973
2018-11-07 11:09:31 -08:00
Paul Gschwendtner
8fc4ae51fb
build: use bazel version from node modules ( #26691 )
...
* No longer depends on a custom CircleCI docker image that comes with Bazel pre-installed. Since Bazel is now available through NPM, we should be able to use the version from `@bazel/bazel` in order to enforce a consistent environment on CI and locally.
* This also reduces the amount of packages that need to be published (ngcontainer is removed)
PR Close #26691
2018-10-30 16:19:13 -04:00
Matias Niemelä
95993e1dd5
fix(ivy): ensure pipes indices are referenced in styling bindings ( #26755 )
...
PR Close #26755
2018-10-26 18:40:23 -04:00
Kara Erickson
19fcfc3d00
fix(compiler): generate inputs with aliases properly ( #26774 )
...
PR Close #26774
2018-10-26 17:23:45 -04:00
Matias Niemelä
8171a2ab94
fix(ivy): ensure pipe declarations are populated lazily when a forward ref is detected ( #26765 )
...
PR Close #26765
2018-10-26 15:57:10 -04:00
Marc Laval
b0476f308b
feat(ivy): support providers and viewProviders ( #25803 )
...
PR Close #25803
2018-10-25 12:58:40 -04:00
Matias Niemelä
f6c2db818e
fix(ivy): ensure styling pipes are allocated before used in bindings ( #26593 )
...
PR Close #26593
2018-10-24 18:42:59 -04:00
Igor Minar
ee0b857172
build: rename the ivy compile mode 'local' to 'aot' ( #26686 )
...
PR Close #26686
2018-10-23 14:14:49 -07:00
Igor Minar
4237c34c78
test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags ( #26471 )
...
We are close enough to blacklist a few test targets, rather than whitelist targets to run...
Because bazel rules can be composed of other rules that don't inherit tags automatically,
I had to explicitly mark all of our ts_library and ng_module targes with "ivy-local" and
"ivy-jit" tags so that we can create a query that excludes all fixme- tagged targets even
if those targets are composed of other targets that don't inherit this tag.
This is the updated overview of ivy related bazel tags:
- ivy-only: target that builds or runs only under ivy
- fixme-ivy-jit: target that doesn't yet build or run under ivy with --compile=jit
- fixme-ivy-local: target that doesn't yet build or run under ivy with --compile=local
- no-ivy-jit: target that is not intended to build or run under ivy with --compile=jit
- no-ivy-local: target that is not intended to build or run under ivy with --compile=local
PR Close #26471
2018-10-23 08:57:42 -07:00
Greg Magolan
1f3331f5e6
build(bazel): use fine-grained npm deps ( #26111 ) ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Andrew Kushnir
8a3fd58cad
feat(ivy): i18n compiler support for i18nStart and i18nEnd instructions ( #26442 )
...
PR Close #26442
2018-10-17 11:03:52 -07:00
Andrew Kushnir
8024857d4c
feat(ivy): i18n compiler support for element attributes ( #26442 )
...
PR Close #26442
2018-10-17 11:03:52 -07:00
Matias Niemelä
9e5d440a0b
refactor(ivy): handle animation metadata normalization in the compiler ( #26481 )
...
PR Close #26481
2018-10-16 20:31:04 -07:00
Pawel Kozlowski
45732e5b91
fix(ivy): fix reference to pipeBind instruction with 2 args ( #26451 )
...
PR Close #26451
2018-10-15 10:14:25 -07:00
Pawel Kozlowski
4b494f23f5
fix(ivy): fix generated code for style bindings with units ( #26397 )
...
PR Close #26397
2018-10-11 14:11:15 -07:00
Andrew Kushnir
39f42bad1c
feat(ivy): i18n compiler support for element attributes ( #26280 )
...
PR Close #26280
2018-10-11 13:00:19 -07:00
Andrew Kushnir
d5e9405d4f
fix(ivy): local refs in View and Content Queries should be pulled out into consts in generated code ( #26240 )
...
PR Close #26240
2018-10-09 17:20:36 -07:00
Kara Erickson
7ea5161d4d
refactor(ivy): merge directives into LViewData ( #26316 )
...
PR Close #26316
2018-10-09 16:46:00 -07:00
Alex Rickabaugh
456f23f76a
fix(ivy): reflect animations field directly into the output definition ( #26322 )
...
The 'animations' field of @Component metadata should be copied directly
into the ngComponentDef for that component and should not pass through
static resolution.
Previously the animations array was statically resolved and then the
values were translated back when generating ngComponentDef.
PR Close #26322
2018-10-09 16:45:31 -07:00
Andrew Kushnir
aaaa34021c
fix(ivy): sanitize tag name while generating listener function name ( #26237 )
...
PR Close #26237
2018-10-03 15:29:49 -07:00
Andrew Kushnir
cb59d87489
feat(ivy): compiler support to generate QUERY_READ_FROM_NODE calls ( #26171 )
...
PR Close #26171
2018-10-03 12:28:23 -07:00
Matias Niemelä
c51331689f
refactor(ivy): rename stylingProp => styleProp ( #26149 )
...
PR Close #26149
2018-10-01 09:35:22 -07:00
Matias Niemelä
7cf5807100
fix(ivy): ensure [style] and [class] bindings are placed in the same instruction ( #26126 )
...
PR Close #26126
2018-09-27 15:32:40 -07:00
Misko Hevery
632b19d5c2
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Andrew Kushnir
add1198b88
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Andrew Kushnir
bc1f2d6411
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Andrew Kushnir
d7326d81ba
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Andrew Kushnir
c683f74225
feat(ivy): fixed typo in test case description
2018-09-27 11:52:07 -07:00
Andrew Kushnir
b286abeabe
feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Kara Erickson
6a62ed2245
fix(ivy): objects like ElementRef should not use a special injection fn ( #26064 )
...
PR Close #26064
2018-09-25 12:51:29 -07:00
Greg Magolan
b99d7ed5bf
build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ( #25920 )
...
PR Close #25920
2018-09-18 13:05:38 -07:00
cexbrayat
21009b06a1
fix(ivy): use proper sanitizer names ( #25817 )
...
Fixes #25816
PR Close #25817
2018-09-11 16:22:38 -07:00
Matias Niemelä
e3633888ed
feat(ivy): support animation @triggers in templates ( #25849 )
...
PR Close #25849
2018-09-10 13:59:27 -07:00
Matias Niemelä
d2dfd48be0
feat(ivy): patch animations into metadata ( #25828 )
...
PR Close #25828
2018-09-07 13:46:06 -07:00
Pawel Kozlowski
6def18a95e
fix(ivy): support directive outputs on ng-template ( #25717 )
...
Compiler part of #25698
Fixes #25697
PR Close #25717
2018-08-31 13:37:16 -07:00
Kara Erickson
b424b3187e
fix(compiler): add hostVars and support pure functions in host bindings ( #25626 )
...
PR Close #25626
2018-08-31 09:42:58 -07:00
Pawel Kozlowski
6a0f78fabf
fix(ivy): match directives on bindings and element outputs ( #25614 )
...
Closes #23560
PR Close #25614
2018-08-27 18:17:25 -04:00
Matias Niemelä
a37bcc3bfe
feat(ivy): bridge component styles into the component renderer ( #25255 )
...
PR Close #25255
2018-08-23 16:51:15 -04:00
Kara Erickson
27e2039630
fix(compiler): update compiler to generate new slot allocations ( #25607 )
...
PR Close #25607
2018-08-22 21:08:39 -04:00
Marc Laval
6176974832
test(compiler-cli): fix failing test after bad merge ( #25599 )
...
PR Close #25599
2018-08-21 11:30:42 -07:00
Pawel Kozlowski
11e2d9da1a
feat(ivy): add support to template local refs in the compiler ( #25576 )
...
Fixes #23316
PR Close #25576
2018-08-20 16:24:56 -07:00
Kara Erickson
21a14407f6
refactor(ivy): generate vars in component defs ( #25562 )
...
PR Close #25562
2018-08-20 11:08:10 -07:00
Kara Erickson
f2aa9c6a7f
refactor(ivy): use generated consts value to set binding index ( #25533 )
...
PR Close #25533
2018-08-17 14:32:55 -07:00
Kara Erickson
6482f6f0fe
refactor(ivy): separate container into 2 instructions ( #25509 )
...
PR Close #25509
2018-08-16 13:47:14 -07:00
Miško Hevery
9ee6702fa9
refactor(ivy): remove short instruction names as they provide no value ( #25493 )
...
PR Close #25493
2018-08-16 11:04:34 -07:00
Ben Lesh
a0a29fdd27
feat(ivy): Add AOT handling for bare classes with Input and Output decorators ( #25367 )
...
PR Close #25367
2018-08-14 16:36:18 -07:00