Brian Ford
440fd11c72
feat(facade): add fromISODate method
2015-10-13 12:06:22 -07:00
Julie Ralph
f529236bfc
refactor(test): rename test_lib to testing
...
Old test_lib is now testing_internal
test_lib_public is now testing
2015-10-13 10:36:49 -07:00
Pawel Kozlowski
5a504e6b78
chore(bundles): use proper bundle arithmetic for all http bundles
...
Closes #4699
2015-10-13 15:28:33 +00:00
Julie Ralph
a1fa2e472f
feat(test): Add an external version of the test library
...
Adds test adapters for TypeScript and JavaScript only, exported
as part of the test_lib module. These work with the Jasmine test
framework, and allow use of the test injector within test blocks
via the `inject` function.
See #4572 , #4177 , #4035 , #2783
This includes the TestComponentBuilder. It allows using the
test injector with Jasmine bindings, and waits for returned
promises before completing async test blocks.
2015-10-12 23:14:03 -07:00
Sam Rawlins
eb2c15786e
refactor: Update multiple ctors warning with a space and grammar
...
Add a space before the word "using" and make spelling of
constructor/ctor consistent
Closes #3923
2015-10-13 02:35:43 +00:00
Alex Eagle
947bf11cb6
chore(docs): copy [Decorator]Metadata docs to the [Decorator]
...
This allows editors to show the docs when users navigate to definition.
See #4668
Closes #4683
2015-10-13 00:30:24 +00:00
vsavkin
1aeafd31bd
feat(di): change the params of Provider and provide to start with "use"
...
Closes #4684
2015-10-12 21:09:09 +00:00
Pawel Kozlowski
f443ecbfa6
refactor(router): use compiler's public API in imports
...
Closes #4662
2015-10-12 20:14:22 +00:00
Pawel Kozlowski
8667b760f4
refactor(router): use DI imports from public API
...
This allows us to create smaller CJS bundles for router,
where the bundle doesn't duplicate code from angular2 core.
2015-10-12 20:14:22 +00:00
Igor Minar
6abed8d996
fix(test_lib): don't mock out XHR via MockXHR by default in tests
...
This is useful for the compiler tests, but otherwise it's not useful.
Additionally if an application has external templates (as is common) then
we should actually fetch these templates in tests.
Fixes #4539
Closes #4682
2015-10-12 17:45:19 +00:00
Tobias Bosch
eacc8e3803
fix(compiler): merge `class` and `style` attributes from the element with the host attributes
...
Closes #4583
Closes #4680
2015-10-12 15:35:49 +00:00
Igor Minar
da1272f368
build(analytics): add basic build-analytics to the project
...
This is pretty experimental, but the goal is to track the performance
of our build over time so that we can more easily track perf regressions.
Currently it's integrated only with gulp tasks, but I'd like to expand it
to tracking travis jobs, protractor/benchpress test runs, npm installs, etc.
No PII is being collected. And the data is collected via a Google Analytics
property owned by the Angular team account.
Closes #4672
2015-10-12 03:50:00 +00:00
Marc Laval
0def28e594
fix(compiler): shadow CSS @import test in some browsers
...
Closes #4629
2015-10-12 00:28:07 +02:00
Alex Eagle
b96784756c
chore(docs): remove @View decorator from examples in docs
...
Closes #4666
2015-10-11 22:02:38 +00:00
vsavkin
62005dd127
docs(core): fix links in core docs
2015-10-11 14:42:36 -07:00
vsavkin
52ebb8f0dd
docs(di): fix links di docs
2015-10-11 14:42:15 -07:00
Victor Berchet
35878c559f
doc(LifecycleHooks): change Property for Input
...
Closes #4652
2015-10-11 16:44:28 +00:00
Pawel Kozlowski
0c1f9dab54
refactor(http): use shared code from public 'angular2/angular2' namespace
...
Closes #4648
2015-10-11 11:38:19 +00:00
vsavkin
1eb0162cde
feat(di): rename Binding into Provider
...
Closes #4416
Closes #4654
2015-10-11 05:13:31 +00:00
vsavkin
7c6130c2c5
feat(core): desugar [()] to [prop] and (prop-change)
...
BREAKING CHANGE
Before
```
<cmp [(prop)]="field"> was desugared to <cmp [prop]="field" (prop)="field=$event">
```
After
```
<cmp [(prop)]="field"> is desugared to <cmp [prop]="field" (prop-change)="field=$event">
```
Closes #4658
2015-10-11 02:58:13 +00:00
Pawel Kozlowski
df09389df8
docs(NgClass): update docs, add example
...
Closes #4520
2015-10-10 11:42:25 +00:00
Alex Rickabaugh
90191ce261
refactor(router): use ApplicationRef to provide the first bootstrapped component as ROUTER_PRIMARY_COMPONENT automatically.
...
This removes the routerBindings function as it is no longer necessary. ROUTER_BINDINGS will automatically pick the first bootstrapped component to satisfy ROUTER_PRIMARY_COMPONENT.
BREAKING CHANGE:
Before: bootstrap(MyComponent, [routerBindings(myComponent)]);
After: bootstrap(MyComponent, [ROUTER_BINDINGS]);
Closes #4643
2015-10-10 05:19:55 +00:00
Misko Hevery
19c1bd7375
feat(ngUpgrade): transclude content from ng2->ng1
...
Closes #4640
2015-10-09 21:41:56 -07:00
Misko Hevery
84c3124292
chore(ngUpgrade): cleanup TS errors
2015-10-09 21:25:48 -07:00
Misko Hevery
cd90e6ed8f
feat(ngUpgrade): support for content project from ng1->ng2
2015-10-09 21:25:45 -07:00
Alex Eagle
867c08ac84
chore(typings): mark underscore methods @internal.
...
This allows TypeScript to produce an API surface which matches the Dart semantics.
I found these with:
gulp build.js.dev && find dist/js/dev/es5/angular2/src -name "*.d.ts" -exec grep -H -n '^ *_' {} \;
Closes #4638
2015-10-10 02:18:33 +00:00
Alex Eagle
95f984615b
Produce .d.ts files from our typescript compilation.
...
Deliver them into our npm module output so users can consume them directly.
Fixes #3082
2015-10-10 02:18:33 +00:00
Victor Berchet
393b0526b4
refactor(NgZone): improve types
...
Closes #4642
2015-10-09 23:54:31 +00:00
Tobias Bosch
6207b1af88
feat(ngFor): support a custom template
...
Part of #1989
Closes #4637
2015-10-09 21:52:59 +00:00
Victor Berchet
a8c34ae290
refactor(MapWrapper): drop delete(), get(), forEach() and size
...
Closes #4618
2015-10-09 20:07:43 +00:00
Alex Eagle
aab0c57aee
fix(typings): add more missing typings.
...
This is the same bug pattern I reported in https://github.com/Microsoft/TypeScript/issues/5187
Closes #4636
2015-10-09 19:00:42 +00:00
Alex Eagle
c178ad476e
fix(typings): fix typings which were previously unchecked
...
Closes #4625
2015-10-09 16:23:30 +00:00
Alex Eagle
597f79e0c7
fix(typings): missing types in ListWrapper typings
2015-10-09 16:23:30 +00:00
Shahar Talmi
31f48ae943
refactor(ngOutlet): using some typescript features
...
Closes #4386
2015-10-09 03:40:42 +00:00
Shahar Talmi
1272affe5c
refactor(ngOutlet): move to typescript
2015-10-09 03:40:42 +00:00
Shahar Talmi
431ac33c26
refactor($router): removed some redundant code
2015-10-09 03:40:42 +00:00
Pascal Precht
cd2050b6e0
docs(router): route alias has to be written in PascalCase
...
Closes #4547
2015-10-09 03:25:51 +00:00
Brandon Roberts
075011f2fe
fix(docs): Updated docs for default router location strategy
...
Closes #4517
2015-10-09 02:57:10 +00:00
Naomi Black
35a61b449a
chore(changelog): update change log to alpha-40
2015-10-08 18:46:46 -07:00
Naomi Black
984b6fc487
chore(package): update package version for alpha-40
2015-10-08 18:43:20 -07:00
vsavkin
1100c9b1e3
fix(web-workers): fix bindings
2015-10-08 16:42:34 -07:00
vsavkin
f3ab527688
resolve rebase conflicts
2015-10-08 13:59:09 -07:00
vsavkin
bba0248989
fix(core): remove NgZone_ and use NgZone instead
2015-10-08 13:55:26 -07:00
vsavkin
bc8c194665
temporary ignore warnings about unused unimplemented
2015-10-08 13:54:44 -07:00
vsavkin
14fa00791e
fix(analyzer): fix dart analyzer errors
2015-10-08 13:54:44 -07:00
vsavkin
d60c7a9118
fix(tests): fixes public api spec
2015-10-08 13:54:44 -07:00
vsavkin
d63f3c123e
fix benchmarks
2015-10-08 13:54:44 -07:00
vsavkin
8b725c77fd
fix(tests): fix tests
2015-10-08 13:54:44 -07:00
Alex Eagle
5458036de7
fix(typings): update test.typings for abstract superclasses
2015-10-08 13:54:43 -07:00
Alex Eagle
6075509f26
chore(typing): extract abstract superclasses to replace @private constructors
2015-10-08 13:54:43 -07:00