Kara Erickson
910a16a1ff
refactor(ivy): remove directive references from template ( #22986 )
...
PR Close #22986
2018-03-26 22:33:23 -04:00
Victor Berchet
bcaa07b0ac
refactor(compiler): move handling of translations to the ConstantPool ( #22942 )
...
PR Close #22942
2018-03-23 13:12:58 -04:00
Olivier Combe
204ba9d413
feat(compiler): add basic support for in ivy/i18n code generation ( #22654 )
...
PR Close #22654
2018-03-22 19:01:51 -04:00
Miško Hevery
a0a01f1e1e
refactor(ivy): rename class/style to make space for new instruction ( #22719 )
...
Rename:
- `elementClass` (short: `k`) => `elementClassNamed` (short: `kn`)
- `elementStyle` (short: `s`) => `elementStyleNamed` (short: `sn`)
Currently `[class.name]` is `elementClass(0, ‘name’, value)`. We would
like to introduce new binding `[class]` which needs a new instruction
ideally `elementClass(0, value)`. Doing the rename creates space
to create such an instruction in subsequent change.
PR Close #22719
2018-03-14 12:59:52 -07:00
Chuck Jazdzewski
b0b9ca3386
feat(ivy): produce Renderer2 back-patching and factories. ( #22506 )
...
Produces back-patch as described in the #22235 and referenced in #22480 .
This just contains the compiler implementations and the corresponding unit
tests. Connecting the dots as described in #22480 will be in a follow on
change.
PR Close #22506
2018-03-08 22:39:07 -08:00
Chuck Jazdzewski
73c203fda9
feat(ivy): support host attribute and property bindings ( #22334 )
...
PR Close #22334
2018-03-08 10:57:30 -08:00
Chuck Jazdzewski
0451fd93df
feat(ivy): support generating view and content queries ( #22330 )
...
PR Close #22330
2018-03-01 13:06:47 -08:00
Chuck Jazdzewski
49f074f61d
feat(ivy): support array and object literals in binding expressions ( #22336 )
...
PR Close #22336
2018-03-01 13:02:58 -08:00
Chuck Jazdzewski
99909bbf2c
feat(ivy): generate pipe references and definitions ( #22034 )
...
PR Close #22034
2018-02-20 13:58:03 -08:00
Victor Berchet
5a14e2238f
refactor(ivy): split the memory
instruction into store
and load
( #22268 )
...
PR Close #22268
2018-02-18 18:48:41 -08:00
Victor Berchet
5dd2b5135d
refactor(ivy): rename bindX()
functions to interpolationX()
( #22229 )
...
rationale: remove the confusion with `bind()` and `bind0()`
PR Close #22229
2018-02-15 14:20:53 -08:00
Chuck Jazdzewski
f816666ede
fix(ivy): generate lifecycle pattern ( #21865 )
...
Implement the lifecycle pattern defined in #21793
PR Close #21865
2018-02-02 07:50:31 -08:00
Chuck Jazdzewski
3cc1d76ee7
fix(ivy): generate correct interpolations ( #21946 )
...
Ivy compile would generate the an incorrect interpolation if there
were more than 8 interpolations in a text block.
Fixes : #21927
PR Close #21946
2018-02-02 07:49:13 -08:00
Chuck Jazdzewski
06d6c76192
fix(ivy): compiler should emit new refresh pattern ( #21862 )
...
Change compiler to reflect changes made in #21650
PR Close #21862
2018-01-31 10:19:57 -08:00
Chuck Jazdzewski
18174e5564
feat(ivy): support ng-content projection in the ivy compiler ( #21764 )
...
PR Close #21764
2018-01-29 11:35:32 -08:00
Chuck Jazdzewski
5778bb820a
fix(ivy): fix issues found producing "Hello, World" example ( #21790 )
...
PR Close #21790
2018-01-27 10:50:13 -08:00
Chuck Jazdzewski
87754ad5ec
fix(ivy): emit type type
fields ( #21789 )
...
PR Close #21789
2018-01-27 10:49:54 -08:00
Chuck Jazdzewski
bbb8f386f1
feat(ivy): implement template variables ( #21760 )
...
PR Close #21760
2018-01-25 22:19:20 -08:00
Chuck Jazdzewski
8baff1858b
fix(ivy): add names to function expressions ( #21714 )
...
PR Close #21714
2018-01-23 13:33:48 -08:00
Chuck Jazdzewski
c65634215b
feat(ivy): update specification to include template variables ( #21677 )
...
PR Close #21677
2018-01-23 13:32:57 -08:00
Chuck Jazdzewski
86d9612230
feat(ivy): update compiler to specification ( #21657 )
...
PR Close #21657
2018-01-20 09:28:44 -08:00
Chuck Jazdzewski
64d16dee02
feat(compiler): implement "enableIvy" compiler option ( #21427 )
...
The "enableIvy" compiler option is the initial implementation
of the Render3 (or Ivy) code generation. This commit enables
generation generating "Hello, World" (example in the test)
but not much else. It is currenly only useful for internal Ivy
testing as Ivy is in development.
PR Close #21427
2018-01-18 18:22:44 -06:00