Miško Hevery
b565301186
fix(compiler): REVERT allow absolute style urls ( #14365 )
...
This reverts commit 6b9aa2ca3d
.
2017-02-10 18:23:58 -06:00
Dzmitry Shylovich
1ece7366c8
fix(forms): getRawValue should correctly work with nested FormGroups/Arrays ( #12964 )
...
Closed #12963
PR Close #12964
2017-02-10 15:04:25 -06:00
Victor Berchet
7ac38aa357
feat(compiler): add support for source map generation ( #14258 )
...
fixes #14125
PR Close #14258
2017-02-10 15:04:15 -06:00
Dzmitry Shylovich
53cf2ec573
fix(platform-browser): should only add styles with native encapsulation in shadow DOM ( #14313 )
...
Closes #7887
PR Close #14313
2017-02-10 15:03:20 -06:00
Dzmitry Shylovich
1cfbefebe3
fix(platform-browser): should not throw for debug attrs containing $ ( #14353 )
...
Closes #9566
PR Close #14353
2017-02-10 15:03:05 -06:00
Dzmitry Shylovich
e5a144d902
fix(compiler): improve error msg for unknown properties on ( #14373 )
...
ng-container/ng-content
Closes #14070
PR Close #14373
2017-02-10 15:03:05 -06:00
Dzmitry Shylovich
2c6dab970b
fix(compiler): improve error message for unknown elements ( #14373 )
2017-02-10 15:03:05 -06:00
Alex Rickabaugh
9e28568a8f
feat(platform-server): Implement PlatformLocation for platformServer() ( #14405 )
...
This gives server-side apps a current URL including hash, but doesn't implement a state stack,
so back-and-forward navigation isn't possible.
PR Close #14405
2017-02-10 15:03:05 -06:00
Alex Eagle
03e855ae8f
build: allow users to specify --strictNullChecks ( #14382 )
...
PR Close #14382
2017-02-10 14:10:03 -06:00
Matias Niemelä
96073e51c3
refactor(animations): introduce @angular/animation module ( #14351 )
...
PR Close : #14351
2017-02-10 14:10:03 -06:00
Tobias Bosch
baa654a234
feat(compiler): integrate compiler with view engine - main integration tests work ( #14284 )
...
Part of #14013
PR Close #14284
2017-02-10 14:10:03 -06:00
Mathou54
dfe29934b6
test(forms): test undefined as argument to forms ( #13720 )
...
PR Close #13720
2017-02-10 14:10:03 -06:00
Bowen Ni
44bb337acc
fix(compiler): disable non-components as an entry component ( #14335 )
...
PR Close #14335
2017-02-09 14:45:49 -08:00
Alex Eagle
b9d293af03
build: first pass of de-duplicating tsconfig.json content ( #14369 )
...
PR Close #14369
2017-02-09 14:32:40 -08:00
Chuck Jazdzewski
4da7925ad5
feat(common): added typed overloaded for `AsyncPipe.transform()` ( #14367 )
...
BREAKING CHANGE: Classes that derive from `AsyncPipe` and override
`transform()` might not compile correctly. Use of `async` pipe in
templates is unaffected.
Mitigation: Update derived classes of `AsyncPipe` that override
`transform()` to include the type parameter overloads.
Related to #12398
PR Close #14367
2017-02-09 14:32:39 -08:00
Dzmitry Shylovich
6b9aa2ca3d
fix(compiler): allow absolute style urls ( #14365 )
...
Closes #4974
PR Close #14365
2017-02-09 14:32:39 -08:00
Bowen Ni
a696f4aade
fix(compiler): improve error messages in aot compiler ( #14333 )
...
Do not print the stack trace when the component is not declared in the module.
PR Close #14333
2017-02-09 14:32:39 -08:00
Victor Berchet
bb4db2d8f3
feat(compiler): add target locale to the translation bundles ( #14290 )
...
PR Close #14290
2017-02-09 14:32:39 -08:00
Miško Hevery
4676df5833
fix(http): REVERT: remove dots from jsonp callback name ( #13219 )
...
This reverts commit 9e5617e41e
.
2017-02-09 15:34:12 -06:00
FrozenPandaz
45cc444154
fix(core): Remove ChangeDetectorRef Paramter from KeyValueDifferFactory and IterableDifferFactory ( #14311 )
...
BREAKING CHANGE:
- `KeyValueDifferFactory` and `IterableDifferFactory` no longer have `ChangeDetectorRef` as
a parameter. It was not used and has been there for historical reasons. If you call
`DifferFactory.create(...)` remove the `ChangeDetectorRef` argument.
2017-02-09 13:33:44 -08:00
Victor Berchet
881dce841f
refactor(compiler): Load the translation bundle only once in the i18n html parser ( #14362 )
...
fixes #14322
2017-02-09 12:08:23 -06:00
Vikram Subramanian
c4817988ca
feat(core): add isStable Observable property to ApplicationRef to indicate when it's stable and unstable ( #14337 )
...
PR Close #14337
2017-02-09 12:07:33 -06:00
Miško Hevery
c871af7b5a
chore(release): cut the 4.0.0-beta.7 release
2017-02-09 09:36:10 -08:00
Miško Hevery
a7688d27f2
refactor(core): change typedef of NodeCheckFn to pass tsickle
2017-02-08 18:05:21 -06:00
Tobias Bosch
24af51a623
fix(core): view engine - fix perf regressions ( #14345 )
...
- Make sure `NodeDef`s don’t fall into dictionary mode.
- Use strategy pattern to add debug information / checks, instead of constantly checking for `isDevMode`.
- introduce a very light weight `RendererV2` interface to not have duplicate
code paths for direct and non direct rendering
The strategy pattern is implemented via the new `Services` object.
Part of #14013
PR Close #14345
2017-02-08 14:42:22 -06:00
Tobias Bosch
f6b5965a63
fix(benchmarks): don’t force gc on the `profile` buttons ( #14345 )
...
This causes v8 to depotimize functions permanently in same cases.
2017-02-08 14:42:01 -06:00
Alex Eagle
ef32e6b0d0
fix: build and test fixes for TS 2.1 ( #13294 )
2017-02-08 11:32:40 -06:00
Alex Eagle
5c431cee02
build: remove post-processing of .d.ts files ( #13294 )
...
Note that the duplication in tsconfig.json files will be fixed in a followup CL now that we have tsconfig inheritance
BREAKING CHANGE: Angular 4 will support only TypeScript 2.1, so we no longer provide backwards compatibility to TS 1.8.
2017-02-08 11:32:34 -06:00
Miško Hevery
c33fda2607
perf: Don’t subclass Error; resulting in smaller binary ( #14160 )
...
Subclassing errors is problematic since Error returns a
new instance. All of the patching which we do than prevent
proper application of source maps.
PR Close #14160
2017-02-07 19:18:26 -06:00
Misko Hevery
3c2842be96
refactor: remove unneeded output_emitter_utils ( #14160 )
2017-02-07 19:17:58 -06:00
Georgios Kalpakas
94312f0980
perf(upgrade): unregister `$doCheck` watcher when destroying upgraded component ( #14303 )
...
PR Close #14303
2017-02-07 16:16:29 -06:00
mgechev
a378aab9aa
docs(compiler): incorrect method reference ( #14314 )
...
PR Close #14314
2017-02-07 12:45:15 -06:00
Georgios Kalpakas
1e3dd3dd9b
fix(upgrade): pass correct values to `ngOnChanges` for interpolation bindings ( #14301 )
...
Previously, the `previousValue` and `currentValue` arguments passed to the
`SimpleChange` constructor were swapped for interpolation bindings.
This commit also refactors the code, so that interpolation bindings and property
bindings share the same implementation, and fixes some broken tests (that hide
failures by allowing the `$exceptionHandler` to swallow thrown exceptions).
PR Close #14301
2017-02-07 12:45:14 -06:00
Gerd Jungbluth
701074cf89
docs(core): fix typo ( #14299 )
...
Replace `than` with `then`.
PR Close #14299
2017-02-07 12:45:14 -06:00
NFM
d0366542fb
docs(router): fix typos ( #14213 )
...
PR Close #14213
2017-02-07 12:45:14 -06:00
Marc Laval
e58d683931
fix(compiler-cli): prevent ng-xi18n from emitting the compilation output ( #14115 )
...
fixes #13567
PR Close #14115
2017-02-07 11:56:23 -06:00
Peter Bacon Darwin
80b66edfa7
docs(zone): fix whitespace around backtick code
...
If there is no leading empty line then the markdown renderers get confused.
2017-02-06 12:08:57 -08:00
Georgios Kalpakas
41db177d0c
test(upgrade): test projection on downgraded components with structural directives ( #14276 )
...
Brings the tests of #14274 to master.
PR Close #14276
2017-02-03 15:08:26 -06:00
Tobias Bosch
14d7844b2b
feat(core): view engine - integrate with `ComponentFactory` ( #14237 )
...
`ComponentFactory`s can now be created from a `ViewDefinitionFactory` via
`RefFactory.createComponentFactory`.
This commit also:
- splits `Services` into `Refs` and `RootData`
- changes `ViewState` into a bitmask
- implements `ViewContainerRef.move`
Part of #14013
PR Close #14237
2017-02-03 15:07:12 -06:00
Chuck Jazdzewski
388afa414e
test(compiler): add integration like tests to compiler unit tests ( #14157 )
...
Closes PR #14157
PR Close #14157
2017-02-03 15:06:51 -06:00
Misko Hevery
1961332f26
chore(release): cut the 4.0.0-beta.6 release
2017-02-02 21:01:27 -08:00
Miško Hevery
69a4bb0bcd
doc: standardize deprecation of `preserveQueryParams` (4.0 only) ( #14236 )
...
PR closes #14236
2017-02-01 16:48:19 -08:00
Miško Hevery
a7479f657a
fix: ngModel should use rxjs/symbol/observable to detect observable ( #14236 )
...
PR closes #14236
2017-02-01 16:47:41 -08:00
Tobias Bosch
a05e50fda3
feat(core): view engine - add missing DI features ( #14225 )
...
Part of #14013
PR Close #14225
2017-02-01 14:16:01 -06:00
Tobias Bosch
ae7f5f37d2
refactor(core): view engine - remove `ViewData.parentDiIndex` ( #14225 )
...
Instead, calculate it on the fly
Part of #14013
2017-02-01 14:15:47 -06:00
Tobias Bosch
45e1e36477
feat(core): view engine - add support for `OnPush` and detached views. ( #14216 )
...
Part of #14013
PR Close #14216
2017-02-01 14:15:47 -06:00
Tobias Bosch
08ff67ea11
feat(core): view engine - add `WrappedValue` support ( #14216 )
...
Part of #14013
2017-02-01 14:15:38 -06:00
Miško Hevery
1bc5368ea0
fix: closure compiler warning ( #14229 )
...
PR Close #14229
2017-02-01 14:11:52 -06:00
Dzmitry Shylovich
093cc04748
fix(common): DatePipe parses input string if it's not a valid date in browser ( #13895 )
...
Closes #12334
Closes #13874
PR Close #13895
2017-02-01 14:01:58 -06:00
Dzmitry Shylovich
9d2c71269b
refactor(common): remove isDate from facade ( #13895 )
2017-02-01 14:01:46 -06:00