Jason Aden
82b067fc40
build: ignore node_modules for tslint
2017-08-01 10:13:44 -07:00
Victor Berchet
9479a106bb
build: enable TSLint on the packages folder
2017-07-31 15:47:57 -07:00
Chuck Jazdzewski
e64b54b67b
fix(compiler): do not consider arguments when determining recursion
...
The static reflectory check for macro function recursion was too
agressive and disallowed calling a function with argument that also
calls the same function. For example, it disallowed nested animation
groups.
Fixes : #17467
2017-07-31 13:42:31 -07:00
Georgios Kalpakas
cc2a4c41f9
build(aio): fix warning about missing `<h1>`
...
Fixes #17549
2017-07-31 13:40:07 -07:00
chumtoadafuq
a11542a375
docs(aio): fixed list format in FormArray section
2017-07-31 11:31:05 -07:00
Chuck Jazdzewski
b6c4af6495
feat(compiler-cli): automatically lower lambda expressions in metadata
2017-07-31 11:30:44 -07:00
Chuck Jazdzewski
67dff7bd5d
feat(tsc-wrapped): allow values to be substituted by collector clients
...
Also reenabled tests that were unintentionally disabled when they were
moved from tools/@angular.
2017-07-31 11:30:44 -07:00
Victor Berchet
381471d338
fix(compiler): fix for element needing implicit parent placed in top-level ng-container
...
fixes #18314
2017-07-31 11:30:19 -07:00
Kara Erickson
ebef5e697a
feat(forms): add options arg to abstract controls
...
FormControls, FormGroups, and FormArrays now optionally accept an options
object as their second argument. Validators and async validators can be
passed in as part of this options object (though they can still be passed
in as the second and third arg as before).
```ts
const c = new FormControl(, {
validators: [Validators.required],
asyncValidators: [myAsyncValidator]
});
```
This commit also adds support for passing arrays of validators and async
validators to FormGroups and FormArrays, which formerly only accepted
individual functions.
```ts
const g = new FormGroup({
one: new FormControl()
}, [myPasswordValidator, myOtherValidator]);
```
This change paves the way for adding more options to AbstractControls,
such as more fine-grained control of validation timing.
2017-07-31 11:29:32 -07:00
Georgios Kalpakas
d71ae278ef
fix(aio): fix links to source for paths with symlinks
...
Fixes #18353
2017-07-28 15:28:59 -07:00
Peter Bacon Darwin
46207538ef
ci: short-circuit npm install for aio builds that use yarn only
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
71eb7437b6
docs(aio): delay ngUpgrade e2e test to avoid flakes
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
b5ffbe342b
build: short-circuit build for AIO tasks
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
0f79223008
docs(aio): fix deprecated protractor API usage
...
`browser.getLocationAbsUrl()` is deprecated.
We should use `browser.getCurrentUrl()` instead.
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
a085223331
ci(aio): test the example e2e files using local build of Angular
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
c383048259
build(aio): ignore generated aot files
...
Assets such as images and data which are generated
by the aot build were not being ignored.
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
b18eb04b46
docs(aio): remove generated styles.css file
...
This file should have been ignored as it is created
during the build of the example
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
c8c2ab012a
build(aio): support overriding the Angular packages in examples with locally built ones
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
ecff8e6c93
build(aio): refactor and test the example-boilerplate tool
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
51f1da1b85
ci: shard the aio example e2e tests
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
a5e18c4cdf
ci(aio): support sharding of example e2e tests
2017-07-28 15:28:28 -07:00
Georgios Kalpakas
cf6284656f
build(aio): upgrade `@angular/material` to 2.0.0-meta.8
2017-07-28 15:26:45 -07:00
Georgios Kalpakas
3182ddaf3e
build(aio): upgrade `@angular/*` to 4.3.1
2017-07-28 15:26:45 -07:00
Antoine Mary
416ed691e5
docs(aio): fix URLSearchParams interface link to MDN
...
Fixes #18367
2017-07-28 15:26:04 -07:00
Georgios Kalpakas
0fb7484d51
refactor(aio): move content-specific images to `content/images/`
...
Fixes #17053
2017-07-28 15:06:49 -07:00
Georgios Kalpakas
6a3454e81e
refactor(aio): rename `unused` directories to `_unused`
2017-07-28 15:06:49 -07:00
Georgios Kalpakas
c3fbe87012
fix(aio): fix link to logo in example
2017-07-28 15:06:49 -07:00
Georgios Kalpakas
24117d7a49
refactor(aio): move unused images to `unused` directories
...
This prevents the ServiceWorker from prefetching unnecessary files.
2017-07-28 15:06:49 -07:00
Miško Hevery
5808153359
docs: add changelog for 5.0.0.-beta.1
2017-07-27 14:59:24 -07:00
Miško Hevery
9030c8a03e
release: cut the 5.0.0-beta.1 release
2017-07-27 14:57:38 -07:00
Miško Hevery
b14fc06fa2
docs: add changelog for 4.3.2
2017-07-27 14:52:35 -07:00
Miško Hevery
a7f2468184
Revert "fix(router): should throw when lazy loaded module doesn't define any routes ( #15001 )"
...
This reverts commit 82923a381d
.
2017-07-27 10:53:01 -07:00
Kara Erickson
fae47d86b3
refactor(forms): move value accessor tests into own spec ( #18356 )
...
PR Close #18356
2017-07-26 17:55:37 -05:00
Abhimanyu Deora
d20ac14fe2
refactor(compiler-cli): allow custom error checking function in ngc ( #18355 )
...
PR Close #18355
2017-07-26 17:55:31 -05:00
Chuck Jazdzewski
cae3e6dca0
ci: give ownership of ngc-wrapped to compiler-cli maintainers ( #18354 )
...
PR Close #18354
2017-07-26 17:55:24 -05:00
Dzmitry Shylovich
086f4aa72c
fix(router): child CanActivate guard should wait for parent to complete ( #18110 )
...
Closes #15670
PR Close #18110
2017-07-26 17:11:22 -05:00
Dzmitry Shylovich
82923a381d
fix(router): should throw when lazy loaded module doesn't define any routes ( #15001 )
...
Closes #14596
PR Close #15001
2017-07-26 17:11:07 -05:00
Gerard Sans
5152abb037
docs(aio): add my details as a contributor ( #18315 )
...
PR Close #18315
2017-07-26 17:11:07 -05:00
Georgios Kalpakas
67f7032321
fix(aio): correctly process markdown link in "Browser Support" ( #18349 )
...
The markdown processor expects an empty line between an opening tag and the
markdown content. (If there is no empty line, the content is interpreted as
plain HTML.)
Previously, the line between the opening `<td>` and the content contained
whitespace, which caused the content to be interpreted as HTML and not markdown.
Fixes #18312
PR Close #18349
2017-07-26 16:07:26 -05:00
Abhimanyu Deora
205abe8140
build: fix broken bazel build ( #18335 )
2017-07-26 09:40:33 -07:00
Jesus Rodriguez
b582e2b311
docs(aio): update examples to 4.3
2017-07-25 15:32:38 -07:00
Gabriel Nicolas Avellaneda
91ab39cc55
docs(aio) - Fixed link to the glossary dash-case term ( #18311 )
...
PR Close #18311
2017-07-25 15:59:28 -05:00
Olivier Combe
38ec05f533
fix(compiler): add equiv & disp attributes to Xliff2 ICU placeholders ( #18283 )
...
Fixes #17344
PR Close #18283
2017-07-25 15:58:53 -05:00
Olivier Combe
b3085e96c2
feat(compiler): add representation of placeholders to xliff & xmb
...
Closes #17345
2017-07-25 15:58:53 -05:00
Vikram Subramanian
4cea2bd612
docs(platform-server): inline PlatformOptions and add doc strings ( #18264 )
...
Fix documentation for the options passed into renderModule and
renderModuleFactory.
PR Close #18264
2017-07-25 15:58:13 -05:00
Abhimanyu Deora
ce47546188
refactor(compiler-cli): add support for browser compiler bundle ( #17979 )
...
PR Close #17979
2017-07-25 15:51:46 -05:00
Miško Hevery
6279e50d78
perf(core): use native addEventListener for faster rendering. ( #18107 )
...
Angular can make many assumptions about its event handlers. As a result
the bookkeeping for native addEventListener is significantly cheaper
than Zone's addEventLister which can't make such assumptions.
This change bypasses the Zone's addEventListener if present and always
uses the native addEventHandler. As a result registering event listeners
is about 3 times faster.
PR Close #18107
2017-07-25 15:35:44 -05:00
Filipe Silva
8bcb268140
ci: use chrome stable ( #18307 )
2017-07-25 11:18:24 -07:00
Alex Eagle
6fc5940959
build: Bazel builds ngfactories for packages/core ( #18289 )
...
PR Close #18289
2017-07-21 18:09:47 -05:00
Alex Eagle
0317c4c478
build: update bazel rules to latest ( #18289 )
2017-07-21 18:09:44 -05:00