280 Commits

Author SHA1 Message Date
Wassim Chegham
ce68b4d839 style: enforce buildifier lint on CI ()
PR Close 
2019-02-26 16:57:41 -08:00
Greg Magolan
75357ecb32 build(bazel): run a number of web tests with karma_web_test in saucelabs in CircleCI ()
PR Close 
2019-02-22 13:07:08 -08:00
Vani
65d839da03 docs(common): update docs for HttpClient methods ()
PR Close 
2019-02-21 20:56:11 -08:00
Matias Niemelä
cfb2d176f8 feat(ivy): convert [ngStyle] and [ngClass] to use ivy styling bindings ()
Prior to this fix, both the `NgStyle` and `NgClass` directives made use
of `Renderer2` and this dependency raised issues for future versions of
Angular that cannot inject it. This patch ensures that there are two
versions of both directives: one for the VE and another for Ivy.

Jira Issue: FW-882

PR Close 
2019-02-20 13:46:15 -08:00
Greg Magolan
67ad8a2632 build: move rxjs type reference to event emitter ()
PR Close 
2019-02-19 16:28:14 -08:00
Greg Magolan
25aae64274 build(bazel): do not build rxjs from source under Bazel ()
PR Close 
2019-02-19 16:28:14 -08:00
Vani
8accc98d28 docs: incorporate review feedback ()
PR Close 
2019-02-14 19:33:14 +00:00
Vani
aa8d0809d3 docs: update HttpInterceptor API docs ()
PR Close 
2019-02-14 19:33:14 +00:00
Paul Gschwendtner
7cbc36fdac build: remove unused rollup.config.js files ()
Since we build and publish the individual packages
using Bazel and `build.sh` has been removed, we can
safely remove the `rollup.config.js` files which are no
longer needed because the `ng_package` bazel rule
automatically handles the rollup settings and globals.

PR Close 
2019-02-14 19:28:08 +00:00
Judy Bogart
644e7a28d8 docs: add di-related api doc ()
PR Close 
2019-02-13 11:57:37 -08:00
Vani
c3fadadaa9 docs: update HttpHeader documentation ()
PR Close 
2019-02-07 16:42:13 -08:00
Paul Gschwendtner
40d64b6b58 build: run offline_compiler_test using bazel ()
PR Close 
2019-01-28 20:07:22 -08:00
Ben Lesh
a95e81978b refactor(ivy): Add newer, smaller NgOnChangesFeature ()
PR Close 
2019-01-23 10:59:34 -08:00
Ben Lesh
5552661fd7 refactor(ivy): revert onChanges change back to a feature ()
- adds fixmeIvy annotation to tests that should remain updated so we can resolve those issues in the subsequent commits

PR Close 
2019-01-23 10:59:33 -08:00
Judy Bogart
589dd479e2 docs: add input docs ()
PR Close 
2019-01-22 12:19:28 -08:00
Judy Bogart
661a98aeda docs: add api doc for ngif ()
PR Close 
2019-01-22 12:19:28 -08:00
Judy Bogart
988243437a docs: add method doc ()
PR Close 
2019-01-22 12:18:02 -08:00
Judy Bogart
3b9553bb17 docs: expand input descriptions ()
PR Close 
2019-01-22 12:18:02 -08:00
Judy Bogart
b6819fe9bb docs: add inpur vars doc ()
PR Close 
2019-01-22 12:18:02 -08:00
Judy Bogart
6c3b57a968 docs: add api doc for ngfor ()
PR Close 
2019-01-22 12:18:02 -08:00
Judy Bogart
37f8263430 docs: correct array to map ()
PR Close 
2019-01-22 12:16:45 -08:00
Judy Bogart
a84a9ba705 docs: add input doc ()
PR Close 
2019-01-22 12:16:45 -08:00
Judy Bogart
d73734dcb7 docs: add api doc for ng_style directive ()
PR Close 
2019-01-22 12:16:45 -08:00
Alex Eagle
38343a2388 build: set a default module_name for ts_library rules ()
PR Close 
2019-01-18 10:16:39 -08:00
Judy Bogart
850b86749c docs: add api doc for switch directives ()
PR Close 
2019-01-15 10:53:03 -08:00
Misko Hevery
6a9a48b0ac test: improve symbol-extractor test by ignoring $1 suffix ()
PR Close 
2019-01-14 09:55:30 -08:00
Ben Lesh
8ebdb437dc fix(ivy): ngOnChanges only runs for binding updates ()
PR Close 
2019-01-11 14:28:35 -08:00
Alan Agius
b61dafaeac refactor: remove redundant error in catch ()
PR Close 
2019-01-04 15:42:19 -08:00
Judy Bogart
c4f7727408 docs: add api doc for viewport scroller ()
PR Close 
2018-12-26 11:47:16 -08:00
Kara Erickson
a20b2f72f2 fix(ivy): process creation mode deeply before running update mode ()
Prior to this commit, we had two different modes for change detection
execution for Ivy, depending on whether you called `bootstrap()` or
`renderComponent()`. In the former case, we would complete creation
mode for all components in the tree before beginning update mode for
any component. In the latter case, we would run creation mode and
update mode together for each component individually.

Maintaining code to support these two different execution orders was
unnecessarily complex, so this commit aligns the two bootstrapping
mechanisms to execute in the same order. Now creation mode always
runs for all components before update mode begins.

This change also simplifies our rendering logic so that we use
`LView` flags as the source of truth for rendering mode instead of
`rf` function arguments. This fixed some related bugs (e.g. calling
`ViewRef.detectChanges` synchronously after the view's creation
would create view nodes twice, view queries would execute twice, etc).

PR Close 
2018-12-19 15:10:16 -05:00
Pawel Kozlowski
ea10a3abe5 test(ivy): enable all test for @angular/common ()
PR Close 
2018-12-17 09:32:09 -08:00
Ruslan Dzhabbarov
7dab458884 docs(common): fix documentation for getLocaleCurrencyName ()
PR Close 
2018-12-14 15:27:03 -08:00
Ingo Bürk
b39efdd9d6 fix(common): KeyValuePipe should return empty array for empty objects ()
This lets KeyValuePipe return an empty array (rather than undefined)
when the input is empty.

PR Close 
2018-12-14 15:19:13 -08:00
Christopher Dahm
d0d351cccb docs(common): update currencyPipe default digitsInfo values ()
Change the docs to reflect the actual default values

Fixes 
PR Close 
2018-12-14 10:26:56 -08:00
cooljeffro
7fae9114c8 docs(common): Fix typo in KeyValuePipe docs ()
PR Close 
2018-12-14 10:21:47 -08:00
Alex Eagle
d32939d51a build: restrict visibility of npm_package targets ()
dependencies on these cause very long rebuilds which have to re-package angular.
Such tests belong in the integration/ folder

PR Close 
2018-12-14 10:20:40 -08:00
Igor Minar
4f81a7c590 test(common): run @angular/common/http/testing tests under bazel ()
PR Close 
2018-12-05 20:55:31 -08:00
Misko Hevery
f52600e261 test(ivy): add ability to find already passing tests ()
PR Close 
2018-12-05 09:34:52 -08:00
Christopher Dahm
d84705121a test(common): add PercentPipe round and trim tests ()
Add tests to cover the percent's decimal to be rounded and trimmed.
PR Close 
2018-12-03 08:22:25 -08:00
Christopher Dahm
f3f2ef4a2a docs(common): update PercentPipe default maxFractionDigits value ()
Change the docs to reflect the actual default value

Fixes 
PR Close 
2018-12-03 08:22:25 -08:00
Pawel Kozlowski
3074f0e436 test(ivy): update root causes for @angular/common TestBed failures ()
PR Close 
2018-11-28 11:39:14 -08:00
Misko Hevery
39e426cde3 fix(ivy): TestBed.get(Compiler) throws "Error: Runtime compiler is not loaded" ()
BREAKING CHANGE:

The public API for `DebugNode` was accidentally too broad. This change removes
1. Public constructor. Since `DebugNode` is a way for Angular to communicate information
   on to the developer there is no reason why the developer should ever need to
   Instantiate the `DebugNode`
2. We are also removing `removeChild`, `addChild`, `insertBefore`, and `insertChildAfter`.
   All of these methods are used by Angular to constructor the correct `DebugNode` tree.
   There is no reason why the developer should ever be constructing a `DebugNode` tree
   And these methods should have never been made public.
3. All properties have been change to `readonly` since `DebugNode` is used by Angular
   to communicate to developer and there is no reason why these APIs should be writable.

While technically breaking change we don’t expect anyone to be effected by this change.

PR Close 
2018-11-27 13:42:23 -08:00
Trotyl Yu
1db53da0d3 fix(common): expose request url in network error ()
closes 

PR Close 
2018-11-27 10:16:22 -08:00
Pawel Kozlowski
a43998c089 test(ivy): add JIRA references for root-casuse TestBed failrues ()
PR Close 
2018-11-20 10:43:11 -08:00
Kara Erickson
3ec7c5081d test(ivy): fix paths for http tests to work with ivy ()
PR Close 
2018-11-15 21:18:00 -08:00
Pawel Kozlowski
ce5242462b fix(ivy): implement rootNodes getter on ViewRef ()
PR Close 
2018-11-14 12:28:03 -08:00
Pawel Kozlowski
8a626288a6 test(ivy): run more common tests with ivy on ci ()
With https://github.com/angular/angular/pull/27068 merged we can activate
more ivy tests on CI.

PR Close 
2018-11-14 12:25:35 -08:00
Pawel Kozlowski
7695dbd0bd test(ivy): run common tests with ivy on ci ()
PR Close 
2018-11-13 10:59:55 -08:00
Misko Hevery
7d2a746090 build: remove ivy JIT mode ()
PR Close 
2018-11-02 15:44:05 -07:00
Igor Minar
ee0b857172 build: rename the ivy compile mode 'local' to 'aot' ()
PR Close 
2018-10-23 14:14:49 -07:00