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
Peter Bacon Darwin
0f8efce799
fix(angular1_router): support link generation with custom hashPrefixes
2016-03-22 02:19:09 +00:00
David Reher
69c1405196
fix(angular_1_router): ng-link is generating wrong hrefs
...
At the moment ng-link is generating html5mode URLs for `href`s.
Instead it should check whether or not html5mode is enabled and create
the `href`s accordingly. The renaming in the `getLink` function is
aligning it to `RouterLink`'s `_updateLink`.
Closes #7423
2016-03-22 02:19:09 +00:00
Peter Bacon Darwin
980491b08f
chore(angular1_router): tighten up the build regex replacement
2016-03-22 02:19:09 +00:00
Tim Blasi
72e24663ad
refactor(dart/transform): Migrates tests to use package:test
...
Pt 4 of migrating from package:guinness + package:unittest =>
package:test.
This PR migrates DeferredRewriter & DirectiveMetadataLinker unit tests.
Closes #7703
2016-03-22 02:13:16 +00:00
Igor Minar
363ed5140e
docs(bundles/overview.md): fix typo
...
Closes #7677
2016-03-22 01:53:35 +00:00
Igor Minar
b0f585ab08
build(npm): bump Angular version in our shrinkwrap files
2016-03-22 01:53:35 +00:00
Igor Minar
8b67b07580
fix(package.json): remove es6-promise from the peerDependency list
...
As of zone.js@0.6* we no longer require an es6-promise polyfill. The polyfill is only needed on browsers that don't
have native Promise support.
2016-03-22 01:53:35 +00:00
Brian Ford
5c330ea492
chore(publish): run router publish with additional memory
...
Closes #7408
2016-03-22 00:20:08 +00:00
Brian Ford
06eaaf0ac5
chore(angular1_router): bump version to v0.2.0
2016-03-22 00:20:08 +00:00
Brian Ford
9820271243
chore(script): publish angular 1 router to latest tag in npm
2016-03-22 00:20:08 +00:00
Tim Blasi
b6507e37ef
feat(dart/transform): Use angular2/platform/browser as bootstrap lib
...
Update the Angular 2 transformer to recognize
`package:angular2/platform/browser.dart` as the library which exports
the `bootstrap` function.
Update playground, examples, benchmarks, & tests to import bootstrap from
platform/browser.
Closes #7647
2016-03-21 00:58:17 +00:00
Jeremy Elbourn
c194f6695d
chore: bump version to beta.11 w/ changelog
2016-03-18 14:42:31 -07:00
Rob Wormald
967ae3e1b8
fix(common): remove @internal annotation on SwitchView
...
Closes #7657
2016-03-18 13:16:50 -07:00
Misko Hevery
a5e6eaaebc
chore: upgrade es6-shim to v0.35.0
...
Closes #7653
2016-03-18 13:16:15 -07:00
Misko Hevery
d4e9b55fb6
fix: make sure that Zone does not show up in angular2.d.ts
...
Closes #7655
2016-03-18 19:41:30 +00:00
Misko Hevery
048bd280dd
chore: re-enable all tests (accidental ddescribe checkin)
2016-03-18 19:41:30 +00:00
vsavkin
8326ab3240
feat(i18n): add a simple dart script extracting all i18n messages from a package
...
Closes #7620
2016-03-17 16:45:16 -07:00
vsavkin
a7fe983be2
feat(i18n): create i18n barrel
2016-03-17 16:45:15 -07:00
vsavkin
e1f8e54e34
feat(i18n): implement xmb serializer
2016-03-17 16:45:15 -07:00
vsavkin
2b165944ea
refactor(i18n): move message and id into a separate file
2016-03-17 16:45:15 -07:00
Evan Martin
ea11b3f1f8
docs(changelog): update change log to beta.10
2016-03-17 15:06:28 -07:00
Evan Martin
3bd87147ab
chore(release): bump version to beta.10
2016-03-17 15:06:27 -07: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
vsavkin
095db673c5
feat(i18n): implement a simple version of message extractor
...
Closes #7454
2016-03-14 21:50:00 +00:00
vsavkin
70d18b5b53
feat(compiler): change html parser to preserve comments
2016-03-14 21:50:00 +00:00
vsavkin
f1796d67f4
feat(facade): add .values to StringMapWrapper
2016-03-14 21:50:00 +00:00