Kara Erickson
b58c3527e9
test(ivy): add canonical spec for object literals ( #22045 )
...
PR Close #22045
2018-02-07 12:10:16 -08:00
Miško Hevery
efc67ee5ef
fix(ivy): make pipe invocation locality neutral ( #22030 )
...
PR Close #22030
2018-02-07 12:09:56 -08:00
Chuck Jazdzewski
e442881ead
feat(bazel): allow explicit specification of factories ( #22003 )
...
The `ng_module` rule now has a factories attribute that
allows explicit specification of which files are expected
to generate factories. This allows avoiding generating
empty factory files (such as `.ngfactory.js`) begin
generated which might cause down-stream tools issues if
they have a limit on the number of files that can be
processed in a single bazel action.
PR Close #22003
2018-02-07 12:09:21 -08:00
Emilio
e56de1025a
fix(core): ensure initial value of QueryList length ( #21980 ) ( #21982 )
...
Set initial value of `length` to `0`.
Fixes regression introduced by https://github.com/angular/angular/commit/e54474215629aa6a0e0497fe61bfc896cea532c9#diff-a85dbe0991a7577ea24b49374e9ae90b where the `length` property ceased to have initial value.
Closes #21980
PR Close #21982
2018-02-07 12:08:44 -08:00
Olivier Combe
64ae6d206e
test(common): disable deprecated date pipe tests on chrome mobile ( #21933 )
...
Closes #21907
PR Close #21933
2018-02-07 12:07:31 -08:00
Oussama Ben Brahim
54a14312d1
test(forms): update test name with correct wording ( #21833 )
...
Use the term primitive value instead of standalone
Fixes #21831
PR Close #21833
2018-02-07 12:07:14 -08:00
George Kalpakas
8f6047340e
docs(animations): fix typo (disbled --> disabled) ( #21695 )
...
PR Close #21695
2018-02-07 12:06:45 -08:00
Philip Pham
9744a1c966
fix(forms): set state before emitting a value from ngModelChange ( #21514 )
...
Closes #21513 .
PR Close #21514
2018-02-07 12:05:43 -08:00
Kevin Fahy
0bcfae7cac
fix(forms): prevent event emission on enable/disable when emitEvent is false ( #12366 ) ( #21018 )
...
Previously, the emitEvent flag was only checked when emitting on the current control.
Thus, if the control was part of a hierarchy, events were emitted on the parent and the childrens.
This fixes the issue by properly passing the emitEvent flag to both parent and childrens.
Fixes #12366
PR Close #21018
2018-02-07 12:05:26 -08:00
Phil McCloghry-Laing
140e7c00d1
fix(forms): make Validators.email support optional controls ( #20869 )
...
Bring email validator in line with other validators so that empty values are ignored.
PR Close #20869
2018-02-07 12:05:08 -08:00
harunurhan
941e88ff79
feat(forms): multiple validators for array method ( #20766 )
...
Change array method signature so that array of validator and/or async
validatior functions can be passed.
Fixes #20665
PR Close #20766
2018-02-07 12:04:48 -08:00
Alex Eagle
370ab66c4f
build(ivy): create hello world rollup ( #22004 )
...
This is a customization of the rollup_bundle rule from rules_nodejs
which adds the build-optimizer as a plugin.
Add a functional test with fast round-trip that asserts the minified app
still works.
Publish the min.js artifact on circleCI so we can track its size.
PR Close #22004
2018-02-06 08:25:22 -08:00
Trotyl
2707012181
fix(forms): publish missing types ( #19941 )
...
PR Close #19941
2018-02-06 08:02:15 -08:00
Kara Erickson
4d62be69c5
feat(ivy): memoize array literals in render3 ( #21973 )
...
PR Close #21973
2018-02-06 08:01:52 -08:00
Martin Sikora
e81606c97a
fix(core): fix proper propagation of subscriptions in EventEmitter ( #22016 )
...
Closes #21999
PR Close #22016
2018-02-06 07:56:33 -08:00
JiaLi.Passion
f791e9f081
fix(core): fix #20582 , don't need to wrap zone in location change listener ( #20640 )
...
PR Close #20640
2018-02-05 13:06:22 -08:00
Victor Berchet
0846784b98
fix(ivy): improve bindV perf and memory usage ( #21881 )
...
- Fix the case when first dynamic values are NO_CHANGE
- Do not store the static texts (even indexes) as bindings,
- Do not diff static texts (they do not change),
- Do not stringify static texts,
- Remove superfluous values walking.
PR Close #21881
2018-02-05 13:01:37 -08:00
Victor Berchet
0d10b9002e
refactor(ivy): simplify bind code ( #21881 )
...
PR Close #21881
2018-02-05 13:01:37 -08:00
Victor Berchet
5df626bbe1
refactor(ivy): misc refactoring ( #22001 )
...
PR Close #22001
2018-02-05 12:59:34 -08:00
JiaLi.Passion
3a86940ca5
fix(core): should check Zone existance when scheduleMicroTask ( #20656 )
...
PR Close #20656
2018-02-02 07:53:55 -08:00
Misko Hevery
743d8bc845
feat(ivy): add canonical example of a pipe. ( #21834 )
...
PR Close #21834
2018-02-02 07:51:23 -08:00
Chuck Jazdzewski
f816666ede
fix(ivy): generate lifecycle pattern ( #21865 )
...
Implement the lifecycle pattern defined in #21793
PR Close #21865
2018-02-02 07:50:31 -08:00
Chuck Jazdzewski
3cc1d76ee7
fix(ivy): generate correct interpolations ( #21946 )
...
Ivy compile would generate the an incorrect interpolation if there
were more than 8 interpolations in a text block.
Fixes : #21927
PR Close #21946
2018-02-02 07:49:13 -08:00
Chuck Jazdzewski
65cf1add97
fix(ivy): remove unnecessary parameter of NgOnChangesFeature ( #21879 )
...
PR Close #21879
2018-02-01 08:33:36 -08:00
Alex Rickabaugh
8b14488827
fix(common): don't convert null to a string when flushing a mock request ( #21417 )
...
A bug in TestRequest caused null response bodies to be stringified. This
change causes null to be treated faithfully.
Fixes #20744
PR Close #21417
2018-02-01 08:32:43 -08:00
Chuck Jazdzewski
eb8ddd2983
feat(compiler-cli): reflect static methods added to classes in metadata ( #21926 )
...
PR Close #21926
2018-02-01 08:30:58 -08:00
Pawel Kozlowski
1aa2947f70
feat(ivy): add support for attributes on ng-content nodes ( #21935 )
...
By adding attributes on the <ng-content> element template authors
can decide how content should be re-projected (or, in other words:
which selectors should match re-projected content).
PR Close #21935
2018-02-01 08:30:26 -08:00
Chuck Jazdzewski
06d6c76192
fix(ivy): compiler should emit new refresh pattern ( #21862 )
...
Change compiler to reflect changes made in #21650
PR Close #21862
2018-01-31 10:19:57 -08:00
Kara Erickson
9dca5f2743
refactor(ivy): save check methods separately ( #21795 ) ( #21905 )
...
PR Close #21795
PR Close #21905
2018-01-31 10:19:34 -08:00
Kara Erickson
81306c1f61
feat(ivy): add support for content query ( #21912 )
...
PR Close #21912
2018-01-31 10:19:15 -08:00