308 Commits

Author SHA1 Message Date
Igor Minar
9993c72335 feat: add support for TypeScript 3.1 ()
PR Close 
2018-09-28 09:34:51 -07:00
Pawel Kozlowski
5f6900ecc0 feat(ivy): add ability to inspect local refs through context discovery ()
PR Close 
2018-09-27 12:00:53 -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
0ed2df2a36 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
b286abeabe feat(ivy): adding support for ngNonBindable attribute 2018-09-27 11:52:07 -07:00
Kara Erickson
15a2b8f622 fix(ivy): wrapper fns arent necessary anymore ()
PR Close 
2018-09-26 00:03:16 -07:00
Kara Erickson
6a62ed2245 fix(ivy): objects like ElementRef should not use a special injection fn ()
PR Close 
2018-09-25 12:51:29 -07:00
Matias Niemelä
0c344715e5 feat(ivy): expose a series of helpful application inspection tools ()
PR Close 
2018-09-25 09:46:12 -07:00
Matias Niemelä
82a14dc107 feat(ivy): provide groundwork for animations in core ()
PR Close 
2018-09-21 14:51:24 -07:00
Kara Erickson
d5f47d6b71 refactor(ivy): special injection tokens should not be cached ()
PR Close 
2018-09-20 18:02:08 -07:00
Adam Plumer
3fb0da2de5 feat(platform-server): update domino to v2.1.0 ()
PR Close 
2018-09-19 16:07:36 -07:00
Greg Magolan
b99d7ed5bf build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ()
PR Close 
2018-09-18 13:05:38 -07:00
Kara Erickson
5653874683 fix(ivy): events should not mark views dirty by default ()
PR Close 
2018-09-17 13:02:39 -07:00
Kara Erickson
aedebaf025 refactor(ivy): remove LNode.tNode ()
PR Close 
2018-09-14 16:16:28 -07:00
Matias Niemelä
10a656fc38 refactor(ivy): ensure hello world doesn't pull in context discovery creation code ()
PR Close 
2018-09-12 13:25:12 -04:00
Alex Rickabaugh
a9099e8f70 fix(ivy): ensure Ivy *Ref classes derive from view engine equivalents ()
Various user code uses 'instanceof' to check whether a particular instance
is a TemplateRef, ElementRef, etc. Ivy needs to work with these checks.

PR Close 
2018-09-11 06:53:22 -07:00
Matias Niemelä
e3633888ed feat(ivy): support animation @triggers in templates ()
PR Close 
2018-09-10 13:59:27 -07:00
Kara Erickson
83a1334876 refactor(ivy): migrate previousOrParentNode to use TNodes ()
PR Close 
2018-09-07 16:06:17 -07:00
Matias Niemelä
62be8c2e2f feat(ivy): allow combined context discovery for components, directives and elements ()
PR Close 
2018-09-07 14:14:56 -07:00
Matias Niemelä
d2dfd48be0 feat(ivy): patch animations into metadata ()
PR Close 
2018-09-07 13:46:06 -07:00
Alex Rickabaugh
a417b2b419 fix(ivy): detect frozen flyweight objects in definitions and unfreeze ()
defineComponent() and friends can return a flyweight EMPTY object for
specific fields when they contain no data. InheritDefinitionFeature
was attempting to write into these flyweight objects, which have been
protected with Object.freeze().

This commit adds detection to InheritDefinitionFeature to identify the
frozen objects.

PR Close 
2018-09-05 09:27:41 -07:00
Pawel Kozlowski
34be51898d fix(ivy): support host bindings on dynamically created components ()
PR Close 
2018-08-31 13:36:53 -07:00
Marc Laval
00f13110be feat(ivy): support injecting Renderer2 ()
PR Close 
2018-08-31 09:42:36 -07:00
Pawel Kozlowski
371df35624 fix(ivy): register to directive outputs on ng-template / ng-container ()
Runtime part of 

PR Close 
2018-08-30 21:22:01 -07:00
Pawel Kozlowski
0386c44acc fix(ivy): inject attributes for directives on ng-template / ng-container ()
PR Close 
2018-08-28 14:34:59 -04:00
Matias Niemelä
0024d68add feat(ivy): add support for resolving view data from a DOM node ()
PR Close 
2018-08-27 21:15:29 -04:00
Pawel Kozlowski
8fa099158e fix(ivy): allow queries for ng-container without read option ()
PR Close 
2018-08-24 11:52:50 -04:00
Pawel Kozlowski
b00038c847 fix(ivy): inject ViewContainerRef for directives on ng-container ()
PR Close 
2018-08-24 11:52:50 -04:00
George Kalpakas
18f129f536 build: upgrade Chromium and ChromeDriver to latest versions ()
PR Close 
2018-08-24 11:48:40 -04:00
Matias Niemelä
a37bcc3bfe feat(ivy): bridge component styles into the component renderer ()
PR Close 
2018-08-23 16:51:15 -04:00
Kara Erickson
d5b70e0c66 fix(ivy): create LViewData from blueprint ()
PR Close 
2018-08-22 15:58:42 -04:00
Kara Erickson
831e71ea3c fix(ivy): host bindings should support array/object literals ()
PR Close 
2018-08-21 10:48:42 -07:00
Ben Lesh
f54f3856cb feat(ivy): add query inheritance ()
Adds inheritance handling for the following:

- viewQuery
- contentQueries
- contentQueriesRefresh

PR Close 
2018-08-20 16:36:22 -07:00
Kara Erickson
21a14407f6 refactor(ivy): generate vars in component defs ()
PR Close 
2018-08-20 11:08:10 -07:00
Kara Erickson
f2aa9c6a7f refactor(ivy): use generated consts value to set binding index ()
PR Close 
2018-08-17 14:32:55 -07:00
Kara Erickson
4708cb91ef refactor(ivy): remove reserveSlots instruction ()
PR Close 
2018-08-17 14:32:55 -07:00
Pawel Kozlowski
31f0f5b3c3 feat(ivy): add support for local refs on ng-template ()
PR Close 
2018-08-17 09:58:07 -07:00
Kara Erickson
6482f6f0fe refactor(ivy): separate container into 2 instructions ()
PR Close 
2018-08-16 13:47:14 -07:00
Miško Hevery
9ee6702fa9 refactor(ivy): remove short instruction names as they provide no value ()
PR Close 
2018-08-16 11:04:34 -07:00
Ben Lesh
a0a29fdd27 feat(ivy): Add AOT handling for bare classes with Input and Output decorators ()
PR Close 
2018-08-14 16:36:18 -07:00
Pawel Kozlowski
9117fa199c test(ivy): activate local references canonical spec ()
PR Close 
2018-08-14 12:01:55 -07:00
Pawel Kozlowski
0c4209f4b9 refactor(ivy): harmonize container and element / elementContainer signatures ()
PR Close 
2018-08-14 12:01:23 -07:00
Victor Berchet
85106375ac refactor(ivy): misc cleanup ()
PR Close 
2018-08-14 11:58:47 -07:00
Miško Hevery
2016afdbff fix(ivy): remove ivy dependency on ViewEngine's resolveRendererType2 ()
PR Close 
2018-08-10 13:32:04 -07:00
Kara Erickson
409860a4da fix(ivy): queries should be restored when view changes ()
PR Close 
2018-08-10 09:13:16 -07:00
Kara Erickson
2b128a47b9 refactor(ivy): queries should not rely on LNode ()
PR Close 
2018-08-10 09:13:16 -07:00
Alex Rickabaugh
5be186035f feat(ivy): enable inheritance of factory functions in definitions ()
This commit creates an API for factory functions which allows them
to be inherited from one another. To do so, it differentiates between
the factory function as a wrapper for a constructor and the factory
function in ngInjectableDefs which is determined by a default
provider.

The new form is:

factory: (t?) => new (t || SomeType)(inject(Dep1), inject(Dep2))

The 't' parameter allows for constructor inheritance. A subclass with
no declared constructor inherits its constructor from the superclass.
With the 't' parameter, a subclass can call the superclass' factory
function and use it to create an instance of the subclass.

For @Injectables with configured providers, the factory function is
of the form:

factory: (t?) => t ? constructorInject(t) : provider();

where constructorInject(t) creates an instance of 't' using the
naturally declared constructor of the type, and where provider()
creates an instance of the base type using the special declared
provider on @Injectable.

PR Close 
2018-08-09 09:58:13 -07:00