Tobias Bosch
79fc1e3959
fix(compiler): apply element bindings before host bindings ( #14823 )
2017-03-01 12:17:43 -08:00
vikerman
9402df92de
test(platform-server): enable meta tag and title service specs for server ( #14574 )
...
Fix CSS selector syntax to allow single and double quotes. Needed for meta tag service selector to work properly on parse5.
Fixes #14565 .
2017-03-01 11:19:22 -08:00
vikerman
47bdc2b0b7
fix(platform-server): don't setup Testability and TestabilityRegistry on the server ( #14510 )
2017-03-01 11:16:56 -08:00
Victor Berchet
5753de50f0
fix(core): fix isComponentView() and isEmbeddedView() tests ( #14789 )
...
fixes #14778
2017-03-01 08:03:14 -08:00
Victor Berchet
d1182af1a4
refactor: change remaining <template> to <ng-template> ( #14706 )
2017-03-01 08:02:37 -08:00
Martin Probst
968995a4c6
fix(upgrade): fix upgrade component Closure optimization. ( #14801 )
...
$scope and $element are passed to AngularJS, which is not optimized
together with the app. That means properties must be quoted to prevent
renaming.
2017-03-01 06:49:25 -08:00
Tobias Bosch
5ba55b0e04
fix(compiler): fix identifier names of EMPTY_MAP / EMPTY_ARRAY ( #14806 )
2017-02-28 14:16:26 -08:00
Tobias Bosch
126fda2613
perf: delete pre-view-engine core, compiler, platform-browser, etc code ( #14788 )
...
After the introduction of the view engine, we can drop a lot of code that is not used any more.
This should reduce the size of the app bundles because a lot of this code was not being properly tree-shaken by today's tools even though it was dead code.
2017-02-27 23:08:19 -08:00
Tobias Bosch
5caab71f7d
refactor: make identifiers for generated code small to improve dev size
2017-02-27 14:50:41 -08:00
Tobias Bosch
d2e42567a6
fix(core): call lifecycle hooks for siblings in declaration order
2017-02-27 14:50:41 -08:00
Tobias Bosch
14d37fe052
refactor(core): move NodeType and ProviderType into NodeFlags
...
Also removes `ng-reflect` attributes for element properties.
2017-02-27 14:50:41 -08:00
Tobias Bosch
77682a3397
fix(compiler): quote animation in RendererTypeV2 and skip if empty ( #14773 )
2017-02-27 11:23:37 -08:00
Igor Minar
da79ad3cec
build: cut 4.0.0-rc.1
...
rc.0 is not part of the repo history because of a missing fix that was discovered after publishing to npm
2017-02-24 18:03:23 -08:00
Igor Minar
7b02eae0e8
build: manually bump tsc-wrapped version to rc.0
2017-02-24 17:57:55 -08:00
Tobias Bosch
2602b039b4
fix(animations): ignore triggers that are registered multiple times ( #14723 )
2017-02-24 16:28:14 -08:00
Tobias Bosch
9186068df1
fix(animations): always create a new AnimationRenderer
...
E.g. for no view encapsulation, the delegate will always be the same.
Nevertheless, we still need to create a new `AnimationRenderer` per
component.
Attention: This change will conflict with a local mod in G3.
2017-02-24 16:27:45 -08:00
Tobias Bosch
8824e39325
refactor(platform-browser): extract animations providers into separate file
...
This is needed so that we can use them in a local modification in G3.
Attention: This change will conflict with a local mod in G3.
2017-02-24 16:27:45 -08:00
Jason Aden
932a02f1c5
build(language-service): fix tsconfig needed for language-service rollup ( #14717 )
2017-02-24 15:16:23 -08:00
Igor Minar
3c9a46c231
fix(core): fix directive instantiation ( #14715 )
...
this issue was discovered in g3 and the patch was confirmed there.
we should add a test as a followup up change.
2017-02-24 13:03:55 -08:00
Tobias Bosch
436a179552
fix(animations): properly cache renderer and namespace triggers ( #14703 )
...
- Don’t use the animation renderer if a component
used style encapsulation but no animations.
- The `AnimationRenderer` should be cached in the same
lifecycle as its delegate.
- Trigger names need to be namespaced per component type.
2017-02-24 12:10:19 -08:00
Chuck Jazdzewski
5094aef8fd
fix(compiler-cli): fix flat module import on Windows ( #14712 )
2017-02-24 11:52:18 -08:00
Matias Niemelä
93ddd38107
refactor(animations): make modules and bundles into plural Animations ( #14695 )
2017-02-24 09:36:58 -08:00
Matias Niemelä
32c2fd5c9f
refactor(animations): change NoOp -> Noop ( #14690 )
2017-02-24 00:32:19 -08:00
Jason Aden
2da3844673
build(language-service): support deep import bundling of language services ( #14689 )
2017-02-23 22:53:17 -08:00
Victor Berchet
41da5998cd
feat(router): add an option to rerun guards and resolvers when query changes ( #14624 )
...
Closes #14514
Closes #14567
2017-02-23 22:12:30 -08:00
Matias Niemelä
be8510356a
fix(animations): microtasks should not be timeouts ( #14687 )
2017-02-23 21:23:57 -08:00
Victor Berchet
01907bafb0
build(platform-server): update parse5 to v3 ( #14538 )
2017-02-23 21:14:04 -08:00
Marc Laval
39f56fafdd
feat(compiler-cli): add an outFile option to ng-xi18n
...
Fixes #11416
Closes #14508
Closes #14657
2017-02-23 20:39:46 -08:00
Marc Laval
234f05996c
feat(compiler-cli): add a locale option to ng-xi18n
...
Fixes #12303
Closes #14537
2017-02-23 20:39:46 -08:00
Victor Berchet
e99d721612
feat(compiler): Add a enableLegacyTemplate option to support <template>
...
When the `enableLegacyTemplate` is set to `false`, `<template>` tags and the
`template` attribute are no more used to define angular templates but are
treated as regular tag and attribute.
The default value is `true`.
In order to define a template, you have to use the `<ng-template>` tag.
This option applies to your application and all the libraries it uses. That is
you should make sure none of them rely on the legacy way to defined templates
when this option is turned off (`false`).
2017-02-23 20:03:16 -08:00