Commit Graph

10479 Commits

Author SHA1 Message Date
Kara Erickson 5794506c64 refactor(ivy): move id to TView ()
PR Close 
2018-06-03 20:46:12 -07:00
Kara Erickson cb65724761 refactor(ivy): combine lifecycleStage with LViewFlags ()
PR Close 
2018-06-02 19:34:16 -07:00
Kara Erickson 44856bfc2f refactor(ivy): move bindingStartIndex to TView ()
PR Close 
2018-06-02 19:33:57 -07:00
Kara Erickson 5db4f1a5ba refactor(ivy): convert TNode.index to number, general cleanup ()
PR Close 
2018-06-02 19:33:27 -07:00
Pawel Kozlowski 0561b66a2b fix(ivy): query nodes from different TemplateRefs inserted into one ViewContainerRef ()
PR Close 
2018-06-02 10:34:52 -07:00
Greg Magolan 5cbcb5680b build(bazel): update bazel integration test to test secondary angular imports such as @angular/common/http ()
PR Close 
2018-06-01 13:40:47 -07:00
Greg Magolan 6948ef125c build(bazel): fix bazel built es5 ngfactory with secondary entry-point angular imports ()
PR Close 
2018-06-01 13:40:47 -07:00
Vikram Subramanian 08f943a1f3 test(platform-server): add a test for 'hidden' property ()
Add a test to verify that the hidden property is reflected properly to the hidden attribute.

PR Close 
2018-06-01 10:04:44 -07:00
Alan Agius f69ac670ee feat(compiler-cli): update `tsickle` to `0.29.x` ()
PR Close 
2018-06-01 08:35:14 -07:00
Vikram Subramanian 60aa943e2d fix(platform-server): avoid dependency cycle when using http interceptor ()
Fixes .

When a HTTP Interceptor injects HttpClient it causes a DI cycle. This fix is to use Injector to lazily inject HTTP_INTERCEPTORS while setting up the HttpHandler on the server so as to break the cycle.

PR Close 
2018-06-01 08:33:45 -07:00
Greg Magolan 68a799e950 build(bazel): re-enable packages/upgrade/test:test_web test with static_files in ts_web_test_suite ()
PR Close 
2018-05-31 16:13:06 -07:00
Victor Berchet 5f178f3a5a fix(ivy): do not eagerly JIT compile modules ()
PR Close 
2018-05-31 16:03:49 -07:00
Victor Berchet 81c13e2f86 refactor(ivy): remove references to Ivy ()
PR Close 
2018-05-31 16:03:49 -07:00
JoostK 2d9111bfb6 fix(ivy): account for multiple changes between change detection runs ()
PR Close 
2018-05-31 14:08:23 -07:00
JoostK a5c47d0045 fix(ivy): determine value of SimpleChange.firstChange per property ()
PR Close 
2018-05-31 14:08:23 -07:00
Kara Erickson 7e3f8f77a9 refactor(ivy): replace LView.child with TView.childIndex lookup ()
PR Close 
2018-05-31 12:10:49 -07:00
Vikram Subramanian 6a663a4073 fix(platform-server): don't reflect innerHTML property to attibute ()
Fixes .

innerHTML is conservatively marked as an attribute for security purpose so that it's sanitized when set. However this same mapping is used by the server renderer to decide whether the `innerHTML` property needs to be reflected to the `innerhtml` attribute. The fix is to just skip the property to attribute reflection for `innerHTML`.

PR Close 
2018-05-31 10:08:28 -07:00
Greg Magolan ec57133b61 build: update to rules_nodejs 0.9.1 and rules_typescript 0.15.0 ()
PR Close 
2018-05-31 10:08:07 -07:00
Alex Eagle 3647cb7f3b build: sync g3 exclude list from copybara to ngbot ()
PR Close 
2018-05-31 10:07:45 -07:00
Kim Maida 49d5de68f6
docs(aio): Add GDE Kim Maida to contributors 2018-05-30 17:33:33 -07:00
Alan Agius 4ab70fb93d style(compiler-cli): fix typo error ()
PR Close 
2018-05-30 17:29:04 -07:00
alberto 5d6074eaff docs: fix typo ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
Johnson Lin b86d4dee4d docs(forms): fix API doc ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
Aditya Bhardwaj 9add50129d docs: fix typo ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
Adam 9d364203a6 refactor(animations): fix typo ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
Vani 4247176b6e docs: fix typo if FAQ section ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
seklyza 3b9c5c849c docs: fix WebStorm name ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
Alec e79b845a45
docs(ivy): fix typo in STATUS.md 2018-05-30 16:48:40 -07:00
Vikram Subramanian b492b9e12b fix(animations): Fix browser detection logic ()
Element type is being polyfilled on the server now and cannot be used to detect browser environment.

PR Close 
2018-05-30 16:39:09 -07:00
JoostK b99ef2b80a refactor(ivy): simplify bind instruction to reuse bindingUpdated logic ()
Added runtime and compiler testcases for interpolated bindings, which verify
that NO_CHANGE is properly handled in `bind`.

PR Close 
2018-05-30 16:38:46 -07:00
Victor Berchet 27d811a7ce
Revert "docs: update docs to use HttpClientModule instead of HttpModule ()"
This reverts commit 3ed7fc6686.
2018-05-30 16:12:49 -07:00
Victor Berchet accda00190 test(platform-server): update the symbol lists ()
PR Close 
2018-05-30 15:51:17 -07:00
Judy Bogart c25e6142d2 docs: remove unfinished observables file ()
PR Close 
2018-05-30 14:44:28 -07:00
Vikram Subramanian b96a3c8def fix(platform-server): avoid clash between server and client style encapsulation attributes ()
Previously the style encapsulation attributes(_nghost-* and _ngcontent-*) created on the server could overlap with the attributes and styles created by the client side app when it botstraps. In case the client is bootstrapping a lazy route, the client side styles are added before the server-side styles are removed. If the components on the client are bootstrapped in a different order than on the server, the styles generated by the client will cause the elements on the server to have the wrong styles.

The fix puts the styles and attributes generated on the server in a completely differemt space so that they are not affected by the client generated styles. The client generated styles will only affect elements bootstrapped on the client.

PR Close 
2018-05-30 14:28:14 -07:00
Victor Berchet c917e5b5bb test(ivy): update TNode counts to reflect changes in ()
After  there is 2 `TNode` in those tests:
- 1 for the host,
- 1 for the text node.

The PR  status was green because it branched off master before  was
merged in.

PR Close 
2018-05-30 14:27:22 -07:00
Martin Probst 2a78d5e6fe refactor(core): clean up dupe'd imports in reflector ()
Closure Compiler in some configurations complains about duplicate
imports. This change replaces the export-with-import with an export of
the imported symbol.

closes 

PR Close 
2018-05-30 11:45:00 -07:00
JoostK 95074ca303 fix(ivy): fix performance counter for textBinding instruction ()
PR Close 
2018-05-30 11:44:22 -07:00
Pawel Kozlowski 1cd9e6c2eb feat(ivy): support queries with views inserted through ViewContainerRef ()
This PR tackles a simple case where ViewRef definition point (<ng-template>) is the
same as the insertion point (ViewContainerRef requested on the said <ng-template>).
For this particular case we can assume that we know a container into which a given
view will be inserted when a view is created. This is not true fall all the possible
cases so follow-up PR will be needed to extend this basic implementation.

PR Close 
2018-05-30 11:43:57 -07:00
Victor Berchet 855d9c00e0 build: replace hard-coded master branch with the variable ()
PR Close 
2018-05-30 11:31:39 -07:00
Alex Eagle 49d97f1ba0 build: update rules_webtesting ()
this includes a fix for spammy browser installs that makes our CI logs hard to read

PR Close 
2018-05-30 11:31:03 -07:00
George Kalpakas 62f751cd87 build: update brotli version in WORKSPACE ()
The updated version includes the fix for google/brotli#671.

PR Close 
2018-05-30 11:30:40 -07:00
Alex Rickabaugh 646b42a113 feat(ivy): JIT renders the TODO app ()
This commit builds out enough of the JIT compiler to render
//packages/core/test/bundling/todo, and allows the tests to run in
JIT mode.

To play with the app, run:

bazel run --define=compile=jit //packages/core/test/bundling/todo:prodserver

PR Close 
2018-05-30 11:25:57 -07:00
Jeremy Elbourn 24e5c5b425 refactor(platform-browser): make HAMMER_LOADER non-nullable ()
PR Close 
2018-05-30 11:25:32 -07:00
Marc Laval 42a7295203 refactor(ivy): remove dynamicViewCount from LContainer ()
PR Close 
2018-05-30 11:24:53 -07:00
Kyle Liu 7c39216083 docs(aio): fix typo for @NgModuledecorator to @NgModule decorator ()
closes 

PR Close 
2018-05-30 11:24:12 -07:00
Aditya Bhardwaj 223882aeb6 docs: fix typo ()
closes 

PR Close 
2018-05-30 11:24:11 -07:00
John Papa aafb46a8fe style(compiler): fix up grammar in error message ()
closes 

PR Close 
2018-05-30 11:24:11 -07:00
Vikram Subramanian c73196eb59 fix(platform-server): provide Domino DOM types globally ()
Fixes , .

This fix lets code access DOM types like Node, HTMLElement in the code. These are invariant across requests and the corresponding classes from Domino can be safely provided during platform initialization.

This is needed for the current sanitizer to work properly on platform-server. Also allows HTML types in injection - Ex. `@inject(DOCUMENT) doc: Document`.

PR Close 
2018-05-30 10:18:29 -07:00
Vikram Subramanian d6595ebd39 feat(platform-server): use EventManagerPlugin on the server ()
Previously event handlers on the server were setup directly. This change makes it so that the event registration on the server go through EventManagerPlugin just like on client. This allows us to add custom event registration handlers on the server which allows us to hook up preboot event handlers cleanly.

PR Close 
2018-05-30 10:17:31 -07:00
Fabian 5b25c07795 docs(bazel): improve error message for ng_package with no metadata ()
PR Close 
2018-05-30 10:04:35 -07:00