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
Brian Ford
fb2773b8f3
docs(router): fix wording of hashchange explanation
...
Closes #7776
2016-04-11 21:11:11 +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
Vijay Menon
529988bc81
Fix DDC errors
2016-04-07 21:58:48 +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
Alexander Bachmann
4902244cce
fix(router): allow forward slashes in query parameters
...
Closes #7824
2016-04-06 22:01:12 +00:00
Victor Berchet
0bcfcde63d
fix(Router): handling of special chars in dynamic segments
...
Closes #7804
2016-03-29 20:24:28 +00:00
Brian Ford
06eaaf0ac5
chore(angular1_router): bump version to v0.2.0
2016-03-22 00:20:08 +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
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
Peter Bacon Darwin
8e3e45097a
fix(router): handle URL that does not match a route
...
Closes #7349
Closes #7203
2016-03-09 20:48:52 -08:00
Peter Bacon Darwin
0d58b137a7
fix(router/instruction): ensure toLinkUrl includes extra params
...
Closes #7367
2016-03-09 16:21:43 -08:00
Misko Hevery
14f0e9ada8
chore: fix DDC errors / warnings
...
Closes #7195
2016-03-08 22:17:32 +00:00
Brandon Roberts
6dce4f49c2
feat(router): Added method to get current instruction
...
This method delegates to the root router to get the current complete instruction.
2016-03-04 02:10:58 -08:00
Vikram Subramanian
9936e347ff
chore(build): Remove circular dependency in Angular 2 ES5 output.
...
Remove couple of circular dependency between modules in Angular 2 ES5 output caused by exception_handler.ts and router_providers.ts.
Fix the build/checkCircularDependency gulp task to call madge properly to detect the circular deps.
Closes #7287
2016-03-03 17:42:33 +00:00
Brian Ford
7d44b8230e
fix(router): support outlets within dynamic components
...
Fixes internal b/27294172
2016-03-03 06:49:29 -08: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
Misko Hevery
b47f80ec76
fix(Router): Query strings are copied for HashLocationStrategy
...
b/27210802 P1
Closes #7298
2016-02-29 18:44:56 +00:00
vsavkin
ebe531bf92
feat(transformers): collect data needed for the template compiler
...
Closes #7299
2016-02-26 17:56:40 +00:00
Alex Eagle
265703b950
fix(typing): Remove re-export of the Promise built-in type.
...
Instead, ts2dart can add the 'dart:async' import whenever
Promise is used.
Fixes #6468
2016-02-12 20:45:41 -08:00
Brandon Roberts
df7885c9f5
fix(router): Added route data to normalized async route
...
Closes #6802
2016-02-09 22:08:45 +00:00
David Reher
6f1ef33e32
fix(router): fix url path for star segment in path recognizer
...
Url path of star segments should equal the original path.
If you register the route `/app/*location` and invoke a url like `/app/foo/bar`
the PathRecognizer should return a url path equal to the invoked url.
Before this patch, everything after `foo` was ignored, which resulted in a
redirect to `/app/foo` which was probably not intended (at least in the angular
1.5 component router).
Closes #6976
2016-02-09 21:45:06 +00:00
Alexander Bachmann
c6036435f0
fix(router): don't prepend / unnecessarily to Location paths
...
Closes #6729
Closes #5502
2016-02-08 16:18:13 -08:00
Brandon Roberts
e21718faa9
docs(router): Updated inconsistencies in router docs
...
Closes #6805
2016-02-08 22:31:04 +00:00
Igor Minar
b86829f492
revert: feat(transformers): collect information about di dependencies and providers
...
This reverts commit 86c40f8474 .
Reason: new issues were discovered during the g3sync. @vsavkin is working on fixing them.
2016-02-08 12:15:03 -08:00
vsavkin
86c40f8474
feat(transformers): collect information about di dependencies and providers
2016-02-05 21:56:33 +00:00
Brian Yarger
995a9e0cf8
fix(router): fix incorrect url param value coercion of 1 to true
...
seriliazeParams is coercing a value of 1 to true, which causes the value to be completey dropped.
Change the test from double equals to triple equals to prevent this from happening.
Closes #5346
Closes #6286
2016-02-03 15:00:24 +00:00
Josh Olson
5c782d6ba8
Typo: Hash_consing wiki link wrong Markdown syntax
2016-02-02 11:53:30 -08:00