Chuck Jazdzewski
f340e1a414
fix(tools): fix error when running test.sh ( #12927 )
2016-11-16 13:35:31 -08:00
Chuck Jazdzewski
481c9b3258
refactor(compiler): allows synchronous retrieving of metadata ( #12908 )
...
Allows non-normalized metadata to be retrieved synchronously.
Related to #7482
2016-11-16 10:22:11 -08:00
Tobias Bosch
8b2dfb2eca
fix(core): support `ngTemplateOutlet` in production mode ( #12921 )
...
Fixes #12911
2016-11-16 10:00:18 -08:00
Peter Bacon Darwin
824ea8406c
docs(upgrade/static): improve API docs with examples
...
Closes #12717
2016-11-16 09:18:17 -08:00
Peter Bacon Darwin
1f96a93f59
chore(public_api): remove Angular 1 types from upgrade/static API
2016-11-16 09:18:10 -08:00
Peter Bacon Darwin
009d545787
chore(examples): add upgrade/static example
2016-11-16 09:18:10 -08:00
Peter Bacon Darwin
53c25210a6
chore(examples): support upgrade/static examples
2016-11-16 09:18:10 -08:00
Victor Savkin
927aa69726
fix(router): add a banner file for the router ( #12919 )
2016-11-16 09:17:19 -08:00
Dzmitry Shylovich
ce89039036
fix(platform_browser): fix disableDebugTools() ( #12918 )
2016-11-16 09:16:40 -08:00
Sammy Jelin
42198cd7d5
fix(ngUpgrade): make AoT ngUpgrade work with the testability API and resumeBootstrap() ( #12910 )
2016-11-16 01:04:56 -08:00
Igor Minar
d6ba092a27
build(build.sh): echo before building examples
2016-11-15 20:59:37 -08:00
Victor Savkin
773b31de8f
fix(router): should not create a route state if navigation is canceled ( #12868 )
...
Closes #12776
2016-11-15 19:00:20 -08:00
Dzmitry Shylovich
f79b320fc4
refactor(forms): remove facade ( #12558 )
2016-11-15 18:48:34 -08:00
vsavkin
6a212fd561
fix(router): removes a peer dependency from router to upgrade
2016-11-15 18:37:08 -08:00
Matias Niemelä
be010a292a
fix(animations): only pass in same typed players as previous players into web-animations ( #12907 )
...
Closes #12907
2016-11-15 17:47:21 -08:00
Dzmitry Shylovich
7c36e7f956
chore(router): remove @angular/upgrade peer dep ( #12896 )
2016-11-15 14:00:11 -08:00
João Dias
13ba2f90b9
refactor(http): remove all facade methods from http module ( #12870 )
2016-11-15 09:19:14 -08:00
Alex Eagle
75277cd94b
fix(tsickle): support ctorParams in function closure ( #12876 )
...
See https://github.com/angular/tsickle/issues/261 for context.
2016-11-15 09:19:00 -08:00
Dzmitry Shylovich
46d150266b
feat(router_link): add skipLocationChange and replaceUrl inputs ( #12850 )
2016-11-14 18:30:13 -08:00
Tobias Bosch
1b5384ee54
feat(core): expose `ViewRef` as `ChangeDetectorRef`
...
closes #12722
This is helpful when manually dirty checking embedded views.
2016-11-14 17:01:41 -08:00
Tobias Bosch
9f7d32a326
feat(core): add `attachView` / `detachView` to ApplicationRef
...
This feature is useful to allow components / embedded views
to be dirty checked if they are not placed in any `ViewContainer`.
Closes #9293
2016-11-14 17:01:35 -08:00
Matias Niemelä
9de76ebfa5
fix(animations): retain styling when transition destinations are changed ( #12208 )
...
Closes #9661
Closes #12208
2016-11-14 16:59:06 -08:00
Dzmitry Shylovich
46023e4792
fix(select): allow for null values in HTML select options bound with ngValue
...
closes #12829
2016-11-14 16:47:14 -08:00
Craig Hutchison
b55aaf094f
fix: allow for null values in HTML select options bound with ngValue
...
This corrects the case of <option [ngValue]="null"> binding a string like "{0: null}" to the model instead of an actual null object.
Closes #10349
2016-11-14 16:47:09 -08:00
Craig Hutchison
d90b622fa4
fix: allow for null values in HTML select options bound with ngValue
...
This corrects the case of <option [ngValue]="null"> binding a string like "{0: null}" to the model instead of an actual null object.
Closes #10349
2016-11-14 16:47:09 -08:00
Victor Berchet
79e2bb9291
refactor(core): remove dead code ( #12871 )
2016-11-14 16:44:25 -08:00
Victor Berchet
efbbefd353
fix(platform-browser): enable AOT
...
closes #12783
2016-11-14 12:57:11 -08:00
vsavkin
c2fae72bc6
feat(router): register router with ngprobe
2016-11-14 12:57:05 -08:00
Victor Berchet
7908679c4b
fix(compiler): assert xliff messages have translations
...
fixes #12815
closes #12604
2016-11-14 12:55:56 -08:00
Victor Berchet
9ed9ff40b3
test(compiler): improve xliff tests
2016-11-14 12:55:48 -08:00
Victor Berchet
2f14415836
fix(compiler): updates hash algo for xmb/xtb files
2016-11-14 12:55:48 -08:00
Victor Berchet
76e4911e8b
fix(core): fix placeholders handling in i18n.
...
Prior to this commit, translations were built in the serializers. This
could not work as a single translation can be used for different source
messages having different placeholder content.
Serializers do not try to replace the placeholders any more.
Placeholders are replaced by the translation bundle and the source
message is given as parameter so that the content of the placeholders is
taken into account.
Also XMB ids are now independent of the expression which is replaced by
a placeholder in the extracted file.
fixes #12512
2016-11-14 12:55:48 -08:00
Victor Berchet
ed5e98d0df
fix(core): misc i18n fixes
2016-11-14 12:55:48 -08:00
Victor Berchet
146af1fed9
refactor(core): simplify i18n serializers code
2016-11-14 12:55:48 -08:00
Victor Berchet
c60ba7a72f
refactor(core): remove ListWrapper from i18n
2016-11-14 12:55:48 -08:00
Victor Berchet
05beffe0d0
test(core): fix a typo in the i18n integration spec
2016-11-14 12:55:48 -08:00
Victor Berchet
08c038ebd9
fix(core): xmb serializer uses decimal messaged IDs
...
fixes #12511
2016-11-14 12:55:48 -08:00
Victor Berchet
582550a90d
feat(core): implements a decimal fingerprint for i18n
2016-11-14 12:55:48 -08:00
Dzmitry Shylovich
1d53a870dd
fix(http): return request url if it cannot be retrieved from response
...
closes #12837
2016-11-14 12:54:43 -08:00
Dzmitry Shylovich
a0c58a6b5c
fix(http): correctly handle response body for 204 status code
...
closes #12830
fixes #12393
2016-11-14 12:36:22 -08:00
Dzmitry Shylovich
d3eff6c483
refactor(xhr_backend): remove facade
2016-11-14 12:36:16 -08:00
Igor Minar
2524d510bc
chore(release): cut the 2.2.0 upgrade-firebooster release
2016-11-14 11:26:03 -08:00
Joao Dias
8f5dd1f11e
chore(lint): enforce no var keyword rule
2016-11-12 16:40:17 -08:00
Joao Dias
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
Ferhat
73593d4bf3
perf(platform-browser): cache plugin resolution in the EventManager
...
closes #12824
2016-11-11 17:19:47 -08:00
Chuck Jazdzewski
a965d11cce
fix(compiler): generate safe access strictNullChecks compatible code ( #12800 )
...
fixes #12795
2016-11-11 17:12:17 -08:00
Victor Savkin
52be848f94
fix(router): incorrect injector is used when instantiating components loaded lazily ( #12817 )
2016-11-11 17:12:00 -08:00
Tobias Bosch
69dfcf7385
docs(forms): add inline docs why `ngModel` runs a 2nd change detection run ( #12821 )
...
Related to #11895
2016-11-11 15:24:11 -08:00
Dzmitry Shylovich
785b7b640e
fix(router): Route.isActive also compares query params ( #12321 )
2016-11-11 13:23:47 -08:00
vsavkin
e5a753e111
fix(router): router should not swallow "unhandled" errors
...
closes #12802
2016-11-11 13:22:19 -08:00