Igor Minar
78e3a4c97c
test(ivy): root-case //packages/compiler-cli/integrationtest/bazel/injector_def/ivy_build/app/test:test ( #27278 )
...
PR Close #27278
2018-11-27 10:30:58 -08:00
Igor Minar
5d82c73da6
fix(ivy): @NgModule() should not require an metadata object ( #27278 )
...
There is no test in this diff because I'm making an already failing test pass.
PR Close #27278
2018-11-27 10:30:58 -08:00
Igor Minar
1cca27d823
fix(ivy): @Inject should not overwrite an existing ngInjectableDef ( #27278 )
...
There is no test in this diff because I've made a failing test pass.
PR Close #27278
2018-11-27 10:30:58 -08:00
Igor Minar
d35d164ece
test(ivy): add fixme to a failing testbed test ( #27278 )
...
PR Close #27278
2018-11-27 10:30:58 -08:00
Igor Minar
f7ba4b2ff9
fix(ivy): remove obsolete ng_module code for global and jit mode ( #27278 )
...
These paths are no longer needed / used.
I had to disable one jit mode spec because it fails now that we actually run it.
I root caused the jit test failure as missing forwardRef support. See FW-645.
PR Close #27278
2018-11-27 10:30:58 -08:00
Igor Minar
572fd7a79a
build(ivy): remove the remains of ivy-jit mode ( #27278 )
...
This stuff is obsolete and shouldn't be here because we removed the JIT mode on CI.
PR Close #27278
2018-11-27 10:30:58 -08:00
Igor Minar
04f902fca5
ci(ivy): //packages/platform-browser-dynamic/test:test now works in jit ( #27278 )
...
PR Close #27278
2018-11-27 10:30:58 -08:00
Igor Minar
d1227ec800
ci(ivy): packages/core/test/render3 now passes with ivy aot ( #27278 )
...
PR Close #27278
2018-11-27 10:30:58 -08:00
Igor Minar
198797bcf6
build: add aio/tools/examples/shared/node_modules to .bazelignore ( #27278 )
...
PR Close #27278
2018-11-27 10:30:58 -08:00
Kristiyan Kostadinov
4622d0b23a
fix(ivy): detach ViewRef from ApplicationRef on destroy ( #27276 )
...
Currently we store the `_appRef` when a `ViewRef` is attached, however we don't use it for anything. These changes use it to detach the view from the `ApplicationRef` when it is destroyed. These changes also fix that the `ComponentRef` doesn't remove its `ViewRef` on destroy.
PR Close #27276
2018-11-27 10:24:53 -08:00
Pawel Kozlowski
0487fbe236
fix(ivy): throw a descriptive error when trying to insert / move destroyed view ( #27289 )
...
PR Close #27289
2018-11-27 10:23:14 -08:00
Kara Erickson
d0e8020506
fix(ivy): blueprints should be synced whenever they are off ( #27281 )
...
PR Close #27281
2018-11-27 10:22:03 -08:00
Kara Erickson
a7ba05ad82
fix(ivy): fix directive instantiation at slots above 2^12 ( #27280 )
...
PR Close #27280
2018-11-27 10:20:02 -08:00
Olivier Combe
d62da4da12
test(platform-server): add root causes for TestBed tests failures ( #27268 )
...
PR Close #27268
2018-11-27 10:18:51 -08:00
Olivier Combe
b09e03b28d
test(platform-server): don't set document to undefined for ivy tests ( #27268 )
...
PR Close #27268
2018-11-27 10:18:51 -08:00
Olivier Combe
2fce701ced
feat(ivy): enable ng-reflect debug attributes ( #27268 )
...
PR Close #27268
2018-11-27 10:18:51 -08:00
Olivier Combe
32157115da
fix(ivy): register ModuleWithProviders when deduplicating imported modules ( #27268 )
...
PR Close #27268
2018-11-27 10:18:51 -08:00
Marc Laval
c2f30542e7
fix(ivy): should support components without selector ( #27169 )
...
PR Close #27169
2018-11-27 10:17:35 -08:00
JoostK
d767e0b2c0
fix(ivy): consider providers for view/content queries ( #27156 )
...
In ViewEngine it is possible to query for a token that is provided by
a directive that is in scope. See StackBlitz for example:
https://stackblitz.com/edit/ng-viewengine-viewchild-providers
Material uses this pattern with its `MatFormFieldControl` setup, see
https://bit.ly/2zgCUxD for documentation.
PR Close #27156
2018-11-27 10:16:57 -08:00
Trotyl Yu
1db53da0d3
fix(common): expose request url in network error ( #27143 )
...
closes #27029
PR Close #27143
2018-11-27 10:16:22 -08:00
George Kalpakas
f45aedcbf0
build(docs-infra): upgrade npm-run-all to latest version for security ( #27274 )
...
Earlier versions may transitively depend on a malicious version of
`flatmap-stream` (see dominictarr/event-stream#116).
The `aio-builds-setup/` had an older version of `event-stream` (3.3.4),
which did not depend on `flatmap-stream`, but upgraded it anyway.
PR Close #27274
2018-11-26 12:20:48 -08:00
onlyflix
4001bb44d2
fix(docs-infra): don't call setSearch when not clicking in the searchBox and no searchResults ( #26590 )
...
Fix to call locationService.setSearch less often to avoid unnecessary
downloading of favicons
Fixes #26544
PR Close #26590
2018-11-26 09:26:34 -08:00
Brandon Roberts
30f12f2887
docs: add forms terms to glossary ( #27075 )
...
PR Close #27075
2018-11-26 09:26:06 -08:00
Paul Gschwendtner
89b8c88389
build: fix source-map warnings for ts-api-guardian ( #27098 )
...
* Fixes that running `ts-api-guardian` targets always causes source map warnings to appear.
PR Close #27098
2018-11-26 09:25:38 -08:00
Pete Bacon Darwin
330ecfbed0
ci(upgrade): remove fixme-ivy-aot tag ( #27132 )
...
PR Close #27132
2018-11-26 09:25:08 -08:00
Pete Bacon Darwin
bc0fbfc93e
test(upgrade): disable failing ngUpgrade tests when in ivy mode ( #27132 )
...
PR Close #27132
2018-11-26 09:25:08 -08:00
Pete Bacon Darwin
a4462c24fa
fix(upgrade): don't rely upon the runtime to resolve forward refs ( #27132 )
...
The way that `UpgradeAdapter` needs to be setup, you often find that
you must pass a `forwardRef` for an `NgModule.import`. Pre-ivy, this
gets resolved at runtime, but until this is implemented in ivy, we can
workaround it by resolving it in the `UpgradeAdapter` upfront.
This should be backward-compatible since by the time we actually
create the dynamic `NgModule` that has the import, the imported
class should be defined.
PR Close #27132
2018-11-26 09:25:08 -08:00
Pete Bacon Darwin
69c7488927
test(upgrade): add dependency on fixmeIvy() method ( #27132 )
...
PR Close #27132
2018-11-26 09:25:07 -08:00
Pawel Kozlowski
9e5223eaba
test(core): add more root causes for TestBed tests failures ( #27236 )
...
PR Close #27236
2018-11-26 09:24:32 -08:00
Pawel Kozlowski
3c9ad1d231
fix(ivy): inject null for missing attributes ( #27237 )
...
PR Close #27237
2018-11-26 09:23:56 -08:00