Chuck Jazdzewski
fc496813e2
fix(7877): StaticReflector returns empty results instead of undefined.
...
Reflector always returns either an empty object or an empty list if no
metadata is recorded for the class. StaticReflector matches this
behavior.
Closes #7986
2016-04-13 13:23:54 -07:00
Kara Erickson
2abb414cfb
feat(i18n): add support for custom placeholder names
...
Closes #7799
Closes #8010
2016-04-13 13:23:42 -07:00
Igor Minar
0e56aaf189
fix: remove typescript references to d.ts files from benchpress and e2e tests
...
using "/// <reference" is incorrect because it makes our code non-portable. The correct solution is to provide
these typings as ambient typings as an additional entry point - which we already do.
Closes #8050
2016-04-13 13:23:27 -07:00
Alex Eagle
347e71af7d
chore(travis): enable the typescript@next build
...
Fixes #7050
2016-04-13 18:54:58 +00:00
Tobias Bosch
d24df799d3
Revert "feat(iterable_differ): support immutable lists"
...
In Dart, ImmutableLists are just a projection of an underlying list.
I.e. if the underlying list changes, the ImmutableList also changes.
So we can't make optimizations based on checking whether a collection
is an ImmutableList.
This reverts commit a10c02cb41
.
Closes #8023
2016-04-13 17:02:48 +00:00
Alex Rickabaugh
60727c4d2b
revert(format): Revert "chore(format): update to latest formatter"
...
This reverts commit 03627aa84d
.
2016-04-12 09:41:01 -07:00
Alex Eagle
03627aa84d
chore(format): update to latest formatter
...
Closes #7958
2016-04-11 22:15:23 +00:00
Cuel
c6f454f51d
docs: remove duplicate 'directives' from example
...
Closes #7963
2016-04-11 21:29:21 +00:00
Gion Kunz
ccff17599a
feat(ngFor): Support convenience view local in ngFor
...
Closes #8013
2016-04-11 21:27:48 +00:00
Brian Ford
fb2773b8f3
docs(router): fix wording of hashchange explanation
...
Closes #7776
2016-04-11 21:11:11 +00:00
Tim Ruffles
5110121f6e
docs(ViewQuery): fix typo in documentation
...
fix typo that confusingly refers to `@Query` rather than `@ViewQuery`.
Closes #7870
2016-04-11 21:04:08 +00:00
vsavkin
3b60503d2b
feat(transformers): changes transformers to collect information about providers and resolve identifiers during linking
2016-04-10 19:36:16 -07:00
Federico Caselli
3c2473bac6
Fixed typo in documentation
...
Closes #7943
2016-04-08 23:27:36 +00:00
Chuck Jazdzewski
f9426709ef
chore(build): Fix errors reported using 1.9.
...
Closes #7954
2016-04-08 21:53:50 +00:00
Kara Erickson
e1e44a910e
fix(select): set value individually from ngModel
...
Closes #7975
Closes #7978
2016-04-08 21:08:05 +00:00
Vikram Subramanian
a596b887ff
feat(compiler): Add an implementation for XHR that uses a template cache to load template files.
...
Useful for avoiding doing an actual XHR during testing.
Part of the solution for #4051 (Other part is a Karma plugin that will create the template cache).
Closes #7940
2016-04-08 19:05:05 +00:00
Kara Erickson
6cbf99086e
feat(gestures): allow override of Hammer default configuration
...
Closes #7924
2016-04-08 18:53:58 +00:00
Tim Blasi
26a3390549
refactor(dart/transform): Remove deprecated angular2/bootstrap
...
BREAKING CHANGE
Remove the deprecated angular2/bootstrap.ts &
angular2/bootstrap_static.ts libraries.
Browser entry points should import angular2/platform/browser which
supplies the `bootstrap` function.
Closes #7650
2016-04-08 18:28:35 +00:00
Alex Eagle
9a1959f77a
build(tslint): re-enable linter and fix violations
...
fixes #7798
Closes #7800
2016-04-07 23:11:02 +00:00
Chuck Jazdzewski
226e662cf1
feat(parser): TemplateParser.tryParse() returns both the AST and errors
...
The language service (#7482 ) always needs the AST even if there are errors
in the template.
Closes #7858
2016-04-07 22:00:46 +00:00
Vijay Menon
529988bc81
Fix DDC errors
2016-04-07 21:58:48 +00:00
Kathy Walrath
09a95a692e
docs(cheatsheet/dart): fix imports
...
Closes #7872
2016-04-07 21:23:14 +00:00
Kevin Merckx
247964af62
fix(upgrade): make upgradeAdapter upgrade angular 1 components correctly
...
With this fix, the $onInit function of an upgraded angular 1 component is called and input bindings (<) are created.
Closes #7951
2016-04-07 20:19:46 +00:00
Victor Berchet
5e2bc5c593
fix(RouterLink): ignore optional parameters when checking for active routes
...
fixes #6459
Closes #7834
2016-04-07 19:41:14 +00:00
Kara Erickson
3ca6df87b8
fix(select): update name from ng-value to ngValue
...
Closes #7939
2016-04-06 22:47:21 +00:00
Alexander Bachmann
4902244cce
fix(router): allow forward slashes in query parameters
...
Closes #7824
2016-04-06 22:01:12 +00:00
vsavkin
8db97b0b7a
fix(forms): support both value and ng-value
2016-04-06 14:37:57 -07:00
Andrei Alecu
9be04f8d38
fix(upgrade): leak when angular1 destroys element
...
Fixes #6401
Closes #7935
2016-04-06 19:58:10 +00:00
Kara Erickson
74e2bd7e3e
fix(select): support objects as select values
...
Closes #4843
Closes #7842
2016-04-06 17:05:38 +00:00
vsavkin
52d3980d02
Revert "feat(transformers): changes transformers to collect information about providers and resolve identifiers during linking"
...
This reverts commit 4e9809bcb2
.
2016-04-06 09:26:03 -07:00
vsavkin
4e9809bcb2
feat(transformers): changes transformers to collect information about providers and resolve identifiers during linking
...
Closes #7380
2016-04-04 22:59:43 +00:00
vsavkin
bd8a4215dd
refactor(core): remove @Injectable as only classes that are instantiated via DI need it
2016-04-04 22:59:43 +00:00
vsavkin
d23b973e7a
refactor(forms): extract Validators.required into a variable as transformers cannot resolve statics
2016-04-04 22:59:43 +00:00
Chuck Jazdzewski
0dbf959548
feat(static-reflector): Added StaticReflector
...
Added a static reflector that uses metadta produced during build
or, additionally, directly from typescript, to produce the metadata
used by Angular code generation compiler.
2016-04-01 14:45:43 -07:00
Alex Eagle
90c87fa6ad
fix(codegen): stringify using an opaque ID when toString contains parens.
...
Using toString results in 'function (_arg1, arg2) {' when using closure compiler for 6-to-5.
Closes #7825
2016-03-30 23:43:35 +00:00
Tim Blasi
c9c52fb353
build(pubspec): Clean up pubspec files
...
Add a direct dependency on package:path.
Remove dependency on package:quiver
2016-03-29 14:30:00 -07:00
Victor Berchet
0bcfcde63d
fix(Router): handling of special chars in dynamic segments
...
Closes #7804
2016-03-29 20:24:28 +00:00
Tim Blasi
1c20a62611
feat(dart): Add a dev-mode check for undeclared lifecycle interfaces
...
Add a check in ReflectionCapabilities#interfaces which determines if
the passed-in type implements a Lifecycle Interface but does not declare
that it does so.
See https://goo.gl/b07Kii for details.
Closes #6849
2016-03-29 10:55:06 -07:00
vsavkin
d2ca7d81c8
feat(i18n): reexport I18nHtmlParser through the i18n barrel
2016-03-28 19:54:13 +00:00
vsavkin
756121acc1
feat(i18n): update I18nHtmlParser to accept parsed messages
2016-03-28 19:54:13 +00:00
vsavkin
d7e1175df0
feat(i18n): implement xmb deserialization
2016-03-28 19:54:12 +00:00
vsavkin
66cd84e0d5
refactor(i18n): rename serialize into serializeXmb
2016-03-28 19:54:12 +00:00
Chuck Jazdzewski
506f4ce1e5
feat(compiler): Resolvers now use DI to create reflector
...
Also introduced ReflectorReader when only read-only access to the reflector
is needed.
Closes #7762
2016-03-28 13:52:32 -05:00
Victor Berchet
a0387d2835
doc(Router): improve the example for routerOnActivate
2016-03-28 10:25:03 -07:00
vsavkin
9bdd5951d9
docs(forms): update the docs to reflect the current behavior
...
Closes #6504
2016-03-28 10:22:24 -07:00
Sammy Jelin
430f367c2f
fix(upgrade): make ngUpgrade work with testability API
...
Closes #7603
2016-03-25 17:27:45 +00:00
vsavkin
d272f96e23
feat(i18n): implement an i18n-aware html parser
...
Closes #7738
2016-03-24 20:36:19 +00:00
vsavkin
73a84a7098
refactor(i18n): remove utility functions into a separate file
2016-03-24 20:36:19 +00:00
vsavkin
17c8ec8a5d
feat(html_parser): change HtmlElementAst to store both the start and the end positions
2016-03-24 20:36:19 +00:00
vsavkin
a1880c3576
feat(facade): add ListWrapper.flatten
2016-03-24 20:36:19 +00:00