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
Kara Erickson
20812f446f
docs(changelog): fix formatting
2016-03-30 18:10:41 -07:00
Kara Erickson
27a4d0ce11
docs(changelog): update change log to beta.13
2016-03-30 17:23:38 -07:00
Kara Erickson
9dec4c7485
chore(release): bump version to beta.13
2016-03-30 17:21:51 -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
Kara Erickson
291928feb1
chore(scripts): log out of npm
2016-03-30 16:20:21 -07: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
8430927e6b
feat(i18n): update transformers to read a xmb file when provided and use I18nHtmlParser in this case
...
Closes #7790
2016-03-28 19:54:13 +00: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
Chuck Jazdzewski
111afcdff1
fix(build): MetadataCollector correctly collects property metadata
...
Fixes #7772
Closes #7773
2016-03-25 21:52:06 +00:00
Chuck Jazdzewski
85f3dc2fb5
chore(build): Produce .d.ts files for build tools
...
Closes #7763
2016-03-25 18:23:00 +00: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
vsavkin
91999e016e
feat(facade): add RegExpWrapper.replaceAll to replace all matches using the provided function
2016-03-24 20:36:19 +00:00
Victor Berchet
aa966f5de2
feat(Compiler): Allow overriding the projection selector
...
fixes #6303
BREAKING CHANGE:
For static content projection, elements with *-directives are now matched against the element itself vs the template before.
<p *ngIf="condition" foo></p>
Before:
// Use the implicit template for projection
<ng-content select="template"></ng-content>
After:
// Use the actual element for projection
<ng-content select="p[foo]"></ng-content>
Closes #7742
2016-03-24 20:09:34 +00:00
Jason Kurian
3e593b8221
chore(test.typings): instrument against examples folder
...
chore(typing_spec): delete unused typing_spec files
Closes #7743
2016-03-24 19:25:07 +00:00
Jason Kurian
440aca86a3
chore(examples): fix implied imports in examples for testing built typings
2016-03-24 19:25:07 +00:00
Chuck Jazdzewski
09f4d6f52d
chore(refactor): Refactored metadata collector
...
Renamed MetadataExtractor to MetadataCollector
Reorganized to split src from tests
Closes #7492
2016-03-24 18:52:06 +00:00
Chuck Jazdzewski
3f57fa6e0e
chore(build): Added tests for metadata extractor
...
Adds unit test to metadata extractor classes
Fixes issues found while testing
2016-03-24 18:52:06 +00:00
Chuck Jazdzewski
ae876d1317
feat(build): Persisting decorator metadata
...
This allows determing what the runtime metadata will be for a
class without having to loading and running the corresponding
.js file.
2016-03-24 18:52:06 +00:00
Brian Ford
6de68e2f1f
feat(compiler): assert that Component.style is an array
...
Part of #7481 (effort to improve error messages)
Closes #7559
2016-03-24 15:21:16 +00:00
Brian Ford
49527ab495
fix(ngFor): give more instructive error when binding to non-iterable
...
Before, you'd get an error like:
```
EXCEPTION: Cannot find a differ supporting object ‘[object Object]’ in [users in UsersCmp@2:14]
```
Now, you get:
```
EXCEPTION: Cannot find a differ supporting object ‘[object Object]’ of type 'Object'. Did you mean to bind ngFor to an Array? in [users in UsersCmp@2:14]
```
2016-03-24 15:21:16 +00:00
Jeremy Elbourn
0898bca939
chore: bump version to beta.12 w/ changelog
2016-03-23 15:56:38 -07:00
Misko Hevery
d940387beb
chore: upgrade zone.js to v0.6.6
...
Closes #7730
Closes #7737
2016-03-23 20:48:23 +00:00
Naomi Black
27c45b05cf
Update ISSUE_TEMPLATE.md
2016-03-23 12:53:10 -07:00
Naomi Black
90f09d551f
Update ISSUE_TEMPLATE.md
2016-03-23 12:50:01 -07:00
Yegor Jbanov
3739588e97
chore: build cjs code prior to launching e2e tests
...
Closes #6783
Closes #7725
2016-03-22 22:09:33 +00:00
Yegor Jbanov
0730b753f2
chore(ddc): add e2e test infra + first test
2016-03-22 22:09:33 +00:00
PatrickJS
cad693de0f
refactor(NgZoneImpl): ensure zone spec is available
...
trace could be true (in dev mode) while there is no long stack trace spec
Closes #7702
2016-03-22 18:46:12 +00:00
Misko Hevery
bf911fc992
chore: upgrade zone.js@0.6.5
...
Closes #7700
2016-03-22 08:21:10 -07:00
Peter Bacon Darwin
fb6d791ce9
test(angular1_router): check that link generation works with baseHref
...
Closes #7489
2016-03-22 02:19:09 +00:00