danielcrisp
b2cf379d1c
fix(enableDebugTools): create AngularTools by merging into context.ng ( #12003 )
...
When using `enableDebugTools` the tools are merged into `context.ng` to prevent `ng.probe` and `ng.coreTokens` from being clobbered.
Fixes #12002
2016-11-02 21:55:49 -07:00
CorvusCorrax
e25baa08b3
fix(router): correctly export concatMap operator in es5 ( #12430 )
2016-11-02 21:55:02 -07:00
Alex Eagle
7103754178
fix(closure): suppress closure compiler suspiciousCode check in codegen ( #12666 )
2016-11-02 21:11:30 -07:00
Tobias Bosch
1a069e8372
refactor(compiler): cleanups
2016-11-02 20:58:48 -07:00
Tobias Bosch
0fc11a43f1
perf(core): use `array.push` / `array.pop` instead of `splice` if possible
2016-11-02 20:58:48 -07:00
Tobias Bosch
0e3d655220
refactor(compiler): remove view factories, use view classes directly
2016-11-02 20:58:48 -07:00
Tobias Bosch
7c5cc9bc41
refactor(compiler): initialize `RenderComponentType` eagerly
...
This moves the usage of `APP_ID` into the `DomRenderer`.
2016-11-02 20:58:48 -07:00
Tobias Bosch
5f1dddc5d0
refactor(compiler): cleanups
2016-11-02 17:06:27 -07:00
Tobias Bosch
20a4f9923f
refactor(compiler): remove `view.parentInjector`
2016-11-02 17:06:27 -07:00
Tobias Bosch
e7c00be19d
refactor(compiler): rename `AppElement` into `ViewContainer`
2016-11-02 17:06:27 -07:00
Tobias Bosch
74ede9aa9b
refactor(core): don’t store view factory in `TemplateRef`
...
Instead, generate `createEmbeddedView`.
2016-11-02 17:06:27 -07:00
Tobias Bosch
d1035da85c
refactor(compiler): don’t use `AppElement`s for creating component views
2016-11-02 17:06:27 -07:00
Tobias Bosch
13533d2a30
refactor(compiler): remove `AppElement.initComponent`
2016-11-02 17:06:27 -07:00
vsavkin
d509ee078b
fix(router): reset URL to the stable state when a navigation gets canceled
...
Closes #10321
2016-11-02 12:25:23 -07:00
vsavkin
8e221b826f
fix(router): routerLink should not prevent default on non-link elements
2016-11-02 12:25:23 -07:00
vsavkin
830a780cb3
fix(router): CanDeactivate receives a wrong component
...
Closes #12592
2016-11-02 12:25:23 -07:00
Tobias Bosch
6fda97287e
fix(compiler): support multiple components in a view container
2016-11-01 14:21:40 -07:00
Tobias Bosch
234c5599f1
refactor(compiler): remove unused constructor query support
2016-11-01 11:29:15 -07:00
Tobias Bosch
f6710fefeb
refactor(compiler): make `view.disposable` array null if empty
2016-11-01 11:29:15 -07:00
Tobias Bosch
bda1909ede
refactor(compiler): remove `view.rootNodes` and `view.projectableNodes`
...
They are replaced by generated visitor functions `view.visitRootNodes` / `view.visitProjectableNodes`.
2016-11-01 11:29:15 -07:00
Tobias Bosch
b3e3cd3add
refactor(compiler): inline `view.contentChildren`
2016-11-01 11:29:14 -07:00
Tobias Bosch
e5fdf4c70a
refactor(compiler): inline view.viewChildren in generated code
2016-11-01 11:29:14 -07:00
Tobias Bosch
97471d74b6
refactor(compiler): remove unused `subscriptions` in view
2016-11-01 11:29:14 -07:00
Austin Miller
1de04b23b1
fix(router): call data observers when the path changes
2016-11-01 11:28:43 -07:00
Tobias Bosch
a178bc6c83
fix(compiler): dedupe NgModule declarations, …
...
This is important so that we don’t generate things multiple times.
2016-10-31 14:43:50 -07:00
Tobias Bosch
642c1db9ef
fix(compiler): Don’t throw on empty property bindings
...
Closes #12583
2016-10-31 14:43:50 -07:00
Joao Dias
579deeb9c5
style(platform-browser): clean up hammer gestures
2016-10-31 14:43:05 -07:00
Zaven Muradyan
e9fd8645ed
fix(core): improve error when multiple components match the same element
...
Closes #7067
2016-10-31 11:28:03 -07:00
Joao Dias
e0ad413a8e
style(tests): clean up testing_public_spec ( #11452 )
2016-10-31 11:26:38 -07:00
Michael George Attard
3045d02b9a
docs(pipes): minor fix and improvements
2016-10-31 12:39:21 +01:00
Joao Dias
e86573bac8
chore(lint): replace gulp check-task with tslint no-jasmine-focus rule
...
fixes #11800
2016-10-28 15:53:15 -07:00
Victor Berchet
7b8dae19af
refactor(facade): cleanup Intl facade
2016-10-28 15:52:52 -07:00
Thomas Shafer
7c16ef942e
feat(core): add the find method to QueryList
2016-10-28 15:34:47 -07:00
Thomas Shafer
a318b57257
refactor(core): removed extraneous interface from QueryList test
2016-10-28 15:34:47 -07:00
vsavkin
fe47e6b783
fix(router): rerun resolvers when url changes
...
Closes #12603
2016-10-28 15:17:00 -07:00
vsavkin
091c390032
fix(router): run navigations serialy
...
Closes #11754
2016-10-28 14:56:08 -07:00
Tobias Bosch
e391cacdf9
fix(compiler): don’t double bind functions
...
This fixes a performance regressions introduced by 178fb79b5c
.
Also makes properties in the directive wrapper private
so that closure compiler can minify them better.
2016-10-28 11:17:12 -07:00
Tobias Bosch
32feb8a532
refactor(compiler): generate host listeners in DirectiveWrappers
...
Part of #11683
2016-10-27 16:09:01 -07:00
Victor Berchet
d520fae70e
refactor(upgrade): spec cleanup
2016-10-27 12:12:55 -07:00
Bruno Trigueiro
fa93fd672e
fix(upgrade): silent bootstrap failures
...
fixes #12062
2016-10-27 12:12:54 -07:00
Alex Eagle
a26dd28bdb
refactor(upgrade): re-export the new static upgrade APIs on new entry
...
Add upgrade-static.umd.js bundles
This allows depending on it without getting a transitive dependency on compiler.
BREAKING CHANGE:
Four newly added APIs in 2.2.0-beta:
downgradeComponent, downgradeInjectable, UpgradeComponent, and UpgradeModule
are no longer exported by @angular/upgrade.
Import these from @angular/upgrade/static instead.
2016-10-26 15:14:22 -07:00
Jan Kuri
7742ec00e7
fix: remove double exports of template_ast
2016-10-26 15:14:00 -07:00
Justin James
2b5c983c13
docs(reset): change semi-colon to colon in code example
...
The first code example for the reset function was invalid as it has a semi-colon instead of a colon for the last property in the json object. Change the semi-colon to a colon.
Closes https://github.com/angular/angular/issues/12531
2016-10-26 14:56:57 -07:00
Victor Berchet
ef153649b3
fix(compiler-cli): fix types
2016-10-26 14:56:27 -07:00
Dzmitry Shylovich
d321b0ebf5
fix(selectors): use Maps instead of objects
2016-10-26 14:55:59 -07:00
Barna Tóth
b4265e0685
fix(xsrf): overwrite already set xsrf header
2016-10-26 14:55:24 -07:00
Tobias Bosch
178fb79b5c
refactor(compiler): move host properties into DirectiveWrapper
...
Part of #11683
2016-10-26 14:32:24 -07:00
Tobias Bosch
5a7a58b1e0
refactor(compiler): make arguments in `InlineArray` optional.
2016-10-26 14:32:24 -07:00
Tobias Bosch
f66ac821a2
refactor(compiler): extract `createCheckBindingStmt` into `compiler_util`
...
Part of #11683
2016-10-26 14:32:24 -07:00
Tobias Bosch
fe299f4dfc
refactor(compiler): minor cleanups
2016-10-26 14:32:24 -07:00