vsavkin
3b60503d2b
feat(transformers): changes transformers to collect information about providers and resolve identifiers during linking
2016-04-10 19:36:16 -07:00
Chuck Jazdzewski
f371c9066d
build(broccoli): Clean-up TypeScript build
...
The TypeScript parser now only references files that are in broccoli trees.
Closes #7941
2016-04-08 19:30:39 +00:00
Chuck Jazdzewski
85c1927993
build(broccoli): AngularBuilder compiles with TypeScript 1.8+.
...
Beginning with 1.8, if a modules has both a .ts and .d.ts file, the .js
file is not written.
Closes #7947
2016-04-08 19:24:04 +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
c17dc1c057
fix(7837): MetadataCollector takes no parameters for the constructor.
...
MetadataCollector no longer requires a ts.LanguageService parameter
it didn't use.
Closes #7838
2016-04-07 21:38:07 +00:00
vsavkin
8db97b0b7a
fix(forms): support both value and ng-value
2016-04-06 14:37:57 -07: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
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
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
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
Misko Hevery
2f581ffc88
fix(router): RouterOutlet loads component twice in a race condition
...
Closes #7497
Closes #7545
2016-03-16 22:34:54 +00:00
Jeremy Elbourn
d61aaac400
chore(): remove all angular2_material code.
2016-03-16 13:37:37 -07:00
Misko Hevery
310620fd12
chore: upgrade to new Zone.js API v0.6.2
...
BREAKING CHANGE
Removed deprecated API from NgZone
- `NgZone.overrideOnTurnStart`
- `NgZone.overrideOnTurnDone`
- `NgZone.overrideOnEventDone`
- `NgZone.overrideOnErrorHandler`
Rename NgZone API
- `NgZone.onTurnStart` => `NgZone.onUnstable`
- `NgZone.onTurnDone` => `NgZone.onMicrotaskEmpty`
- `NgZone.onEventDone` => `NgZone.onStable`
Closes #7345
2016-03-16 18:05:09 +00:00
Brian Ford
f9fb72fb0e
chore(core): remove @View annotation
...
Closes #7495
2016-03-14 23:26:20 +00:00
Kara Erickson
df1f78e302
feat(i18n): add ngPlural directive
2016-03-10 09:55:21 -08:00
Misko Hevery
14f0e9ada8
chore: fix DDC errors / warnings
...
Closes #7195
2016-03-08 22:17:32 +00:00
Igor Minar
d9e78e4fa8
build(analytics): allow build analytics to take previous exit code as the first argument
2016-03-05 19:54:22 +00:00
Igor Minar
10fedd0dfc
ci(analytics): correctly report CI job errors as errors
2016-03-05 19:54:22 +00:00
Igor Minar
315e73c47c
ci(analytics): report Travis ID without the build number prefix
...
We need to track latency of individual jobs over time, but don't care to know what's the build ID that these jobs are associted with.
2016-03-05 19:54:22 +00:00
Igor Minar
912717ff31
ci(analytics): fix TRAVIS_PULL_REQUEST reporting
...
process.env.TRAVIS_PULL_REQUEST contains a string and not a boolean value, so we need
to compare it to a string literal rather than do boolean arithmetics.
2016-03-05 19:54:22 +00:00
Misko Hevery
6402d61f69
chore: fix up ngClass for types/export missing public API
...
Closes #7202
2016-03-04 08:03:55 +00:00
Julie Ralph
5a59e44765
chore(test): migrate Dart tests to package:test
...
Instead of running with karma and the karma-dart shim, run dart
tests directly using the new package:test runner. This migrates
away from package:unittest.
Fixes a couple tests, mostly associated with depending on absolute
URLs or editing the test providers after an injector had already
been created.
Remove karma-dart and associated files. Change gupfiles to run tests
via `pub run test` instead.
2016-03-04 02:27:44 +00:00
Brian Ford
75343eb340
feat(router): add regex matchers
...
@petebacondarwin deserves credit for most of this commit.
This allows you to specify a regex and serializer function instead
of the path DSL in your route declaration.
```
@RouteConfig([
{ regex: '[a-z]+.[0-9]+',
serializer: (params) => `{params.a}.params.b}`,
component: MyComponent }
])
class Component {}
```
Closes #7325
Closes #7126
2016-03-02 16:08:19 -08:00
Tobias Bosch
f60fa14767
feat(core): drop ChangeDetectionStrategy.OnPushObserve
...
BREAKING CHANGE:
`OnPushObserve` was an experimental
feature for Dart and had
conceptual performance problems,
as setting up observables is slow.
Use `OnPush` instead.
2016-03-01 13:28:10 -08:00