vsavkin
bba0248989
fix(core): remove NgZone_ and use NgZone instead
2015-10-08 13:55:26 -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
Brian Ford
ee32b1bc37
feat(router): allow async routes to be defined with "loader"
2015-10-08 12:29:14 -07:00
Tobias Bosch
6d4bd5d901
fix(render): recurse into components/embedded templates not until all elements in a view have been visited
...
Fixes #4551
Closes #4601
2015-10-08 11:43:21 -07:00
Eric Mendes Dantas
21b53c3143
docs(http) remove .toRx() from http calls
...
Closes #4578
2015-10-08 17:41:15 +00:00
Yegor Jbanov
04b3dee667
fix(css): when compiling CSS, leave absolute imports alone
...
Closes #4592
2015-10-08 16:39:32 +00:00
Victor Berchet
6b00b60488
fix(XhrBackend): setRequestHeader takes a string arg
...
Closes #4597
2015-10-08 15:59:10 +00:00
Julie Ralph
af1119063c
chore(ci): update Protractor version, remove custom waits
...
The latest Protractor version supports waiting for Angular2 applications,
so remove custom waiting logic.
Closes #3829
2015-10-07 13:08:58 -07:00
Victor Berchet
aee176115b
refactor(ListWrapper): drop forEach and removeLast
...
Closes #4584
2015-10-07 17:17:31 +00:00
Victor Berchet
4ed642f921
refactor(AppRootUrl): simplify the code
...
Closes #4563
2015-10-07 15:20:32 +00:00
Pawel Kozlowski
a7b2ab771e
docs(NgStyle): update docs, add examples
...
Closes #4519
2015-10-07 13:24:48 +00:00
Victor Berchet
a0277f1b3a
refactor: add missing types for ts2dart
...
Closes #4568
2015-10-07 06:39:14 +00:00
Victor Berchet
aaa215514b
refactor(ListWrapper): get ride of ListWrapper.map
2015-10-07 06:39:14 +00:00
Victor Berchet
b6537ad609
refactor(ListWrapper): get ride of ListWrapper.join
2015-10-07 06:39:14 +00:00
Igor Minar
62e14dc529
build(bundle): fix angular2/test_lib bundle to reexport test_lib rather than test
...
Closes #4556
2015-10-07 04:49:46 +00:00
Igor Minar
15ab6f6ea8
fix(location): improve the 'No base href set' error message
2015-10-06 20:59:02 -07:00
vsavkin
dea6a4593b
cleanup(core): making @View optional
...
Closes #4566
2015-10-07 02:16:42 +00:00
vsavkin
d38689677c
example(core): update hellow world example to use components without @View
2015-10-07 02:16:42 +00:00
vsavkin
bd31b01690
feat(core): add syntax sugar to make @View optional
2015-10-07 02:16:42 +00:00
Alex Eagle
f7aa890ade
chore(docs): rename @private to @internal
...
The latter is understood by TypeScript's --stripInternal option, so this lets us
rely more on the tooling provided by typescript team.
2015-10-06 17:08:41 -07:00
Rob Wormald
4a36fd8203
fix(core): make .toRx() return Subject
...
this was broken in the original great RxNext migration.
fixes #4521
Closes #4540
2015-10-06 23:27:35 +00:00
Tim Blasi
a4869c874b
build(dart): Remove unused Dart benchmarks
2015-10-06 14:11:03 -07:00
Misko Hevery
8e1d2fb325
feat(upgrade): support binding of Ng1 form Ng2
...
Closes #4542
2015-10-06 19:08:56 +00:00
Igor Minar
4ebb1a9096
fix: add test_lib.d.ts to type definitions in generated package.json
2015-10-06 10:12:53 -07:00
Michał Gołębiowski
9679fc94f6
fix(shims): Don't rely on prefixed requestAnimationFrame
...
The `ms` & `moz` prefixes are not needed. `ms` was never available in a public
IE release (IE 10 has an unprefixed version) and Firefox has unprefixed
rAF since v24 - current version is 41. Even more, Firefox versions below 22
don't have cancelAnimationFrame so it's better to not use the prefixed version
at all to avoid surprises.
The `o` prefix is also useless - Opera Presto never had rAF and the
Chromium-based Opera doesn't use the `o` prefix.
Also, switched from `new Date().getTime()` to `Date.now()` as it's supported
everywhere (even in Android 2.3) except IE<9 and it avoids a useless date
object construction.
See http://caniuse.com/#feat=requestanimationframe for more info.
Refs 4f56a01b3b
Closes #4394
2015-10-06 09:38:49 -07:00
Alex Eagle
6093e28b61
fix(typings): repair broken typechecks
...
We had the typechecker disabled by accident, and many problems snuck in
Fixes #4507
Closes #4508
2015-10-06 13:28:17 +00:00
Misko Hevery
09371a3f0b
feat(upgrade): support binding of Ng2 form Ng1
...
Closes #4458
2015-10-05 19:37:31 +00:00
Tobias Bosch
0b3e4fa090
refactor(core): move `ViewEncapsulation` and `ViewType` to the right places
...
Closes #4526
2015-10-05 11:22:21 -07:00
Tobias Bosch
0299d4af00
fix(core): keep styles for `ViewEncapsulation.Native` isolated per component
...
BREAKING CHANGE:
- `Renderer.registerComponent` now takes an additional argument.
Fixes #4513
Closes #4524
2015-10-05 10:34:42 -07:00
Tobias Bosch
a9aef8e5e6
fix(core): set `ViewEncapsulation.Emulated` as the default again
...
Fixes #4494
2015-10-05 10:33:58 -07:00
Tobias Bosch
6fe8b85295
fix(render): keep bindings of components in content and view in the right order
...
Bindings in the component view have to be first, before
bindings of components in the light dom (i.e. have the same
order as used in the `ViewManagerUtils.createView()` method.
Fixes #4522
Closes #4523
2015-10-05 10:10:47 -07:00
Pawel Kozlowski
649d310c31
chore: remove traceur from package.json published to npm
...
Closes #4498
2015-10-05 02:47:49 +00:00
Igor Minar
150cc22532
fix(http): add missing semicolon
2015-10-03 10:05:11 -07:00
Alex Eagle
208f3d4c65
fix(typings): repair broken type-checking for StringMap
...
Note that the previous type of StringMap was overly permissive and didn't catch errors.
Also we have to explicitly type empty objects, which is explained here:
https://github.com/Microsoft/TypeScript/issues/5089
Closes #4487
2015-10-03 01:09:42 +00:00
Alex Eagle
7c4199cd1c
chore(typings): remove StringMap
...
This was a poorly typed attempt to mimic TypeScript's index signatures,
which we can use instead.
This eliminates a very strange type that we were exposing to users, but
not re-exporting through our public API.
Fixes #4483
2015-10-03 01:09:42 +00:00
Rob Wormald
01fb06a377
chore(http): Use Observables in Http
...
- Remove ObservableWrapper/EventEmitter from Http.
- Temporarily use complete Rx build w/ all operators.
2015-10-02 17:20:25 -07:00
vsavkin
c9901c5fe0
feat(core): support properties and events in addition to inputs and outputs to make transition easier
...
Closes #4482
2015-10-02 23:23:15 +00:00
Marc Laval
b44c13bc46
fix(compiler): const is not supported in IE9 and IE10
...
Closes #4465
2015-10-02 21:49:44 +00:00
Tobias Bosch
6ae9686a0d
fix(benchpress): update build step, read and config
...
Closes #4419
2015-10-02 14:42:15 -07:00
Tobias Bosch
4342a1eb7b
refactor(core): move DI bindings of compiler into core/compiler/compiler.ts
...
Closes #4470
2015-10-02 13:39:14 -07:00
Tobias Bosch
13161ae5aa
refactor(core): move APP_ID from render/dom/dom_tokens into application_tokens
2015-10-02 13:38:52 -07:00
Tobias Bosch
6b5d345a2b
refactor(core): adjust imports for move files to the right place
...
- render/xhr_* -> compiler/xhr_*
- render/event_config -> linker/event_config
- render/dom/schema -> compiler/schema
- render/dom/compiler/* -> compiler/*
- render/dom/view/shared_styles_host -> render/dom/shared_styles_host
2015-10-02 13:38:51 -07:00
Tobias Bosch
2450a3c5b0
refactor(core): move files to the right place
...
- render/xhr_* -> compiler/xhr_*
- render/event_config -> linker/event_config
- render/dom/schema -> compiler/schema
- render/dom/compiler/* -> compiler/*
- render/dom/view/shared_styles_host -> render/dom/shared_styles_host
- services/url_resolver -> compiler/url_resolver
- services/app_root_urlo -> compiler/app_root_url
2015-10-02 13:38:51 -07:00
mgechev
34518f0f2d
feat(http): Add support for strings as http method names
...
Closes #4331
2015-10-02 11:33:49 -07:00
Igor Minar
a251df9df4
docs: api docs for Renderer and all the related apis
...
Closes #4459
2015-10-02 17:05:48 +00:00