a0277f1b3a
refactor: add missing types for ts2dart
...
Closes #4568
2015-10-07 06:39:14 +00:00
aaa215514b
refactor(ListWrapper): get ride of ListWrapper.map
2015-10-07 06:39:14 +00:00
b6537ad609
refactor(ListWrapper): get ride of ListWrapper.join
2015-10-07 06:39:14 +00:00
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
15ab6f6ea8
fix(location): improve the 'No base href set' error message
2015-10-06 20:59:02 -07:00
dea6a4593b
cleanup(core): making @View optional
...
Closes #4566
2015-10-07 02:16:42 +00:00
d38689677c
example(core): update hellow world example to use components without @View
2015-10-07 02:16:42 +00:00
a2e7ae568e
feat(transformers): update transformers to handle components without @View
2015-10-07 02:16:42 +00:00
bd31b01690
feat(core): add syntax sugar to make @View optional
2015-10-07 02:16:42 +00:00
f7b75330e0
chore(test): make e2e tests use the bundles.
...
After this change, only web_worker thread in its e2e test is not using
the bundles.
Closes #4565
2015-10-07 01:17:19 +00:00
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
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
ba6e0e11fa
fix(dart/transform): Sanitize generated library names
...
Sanitize generated library names by removing unsafe characters and
ensuring that Dart keywords do not appear as library segments.
2015-10-06 16:18:58 -07:00
4ac29621f4
refactor(dart/transform): Compose NgDepsModel & NgMeta phases
...
Link `NgDeps` & `NgMeta` data in the same phase to avoid unnecessary asset
creation & reading.
Remove `NgMeta#exports` and instead use `NgDeps#exports` to link `NgMeta` files
in `ng_meta_linker.dart`.
2015-10-06 16:18:58 -07:00
75187d605b
chore: remove unused docs/dgeni tasks and packages
...
This stuff now lives in angular.io repo.
Related to #4477
Closes #4552
2015-10-06 22:54:17 +00:00
5040a8e0df
chore(saucelabs): fallback from Firefox dev to beta
...
Closes #4553
2015-10-06 22:24:59 +00:00
a4869c874b
build(dart): Remove unused Dart benchmarks
2015-10-06 14:11:03 -07:00
b6210be648
chore(changelog): update change log to alpha.39
2015-10-06 13:13:23 -07:00
8e1d2fb325
feat(upgrade): support binding of Ng1 form Ng2
...
Closes #4542
2015-10-06 19:08:56 +00:00
bb4fd2de94
build(gulp): simplify Dart transformer tasks
...
Now that `modules_dart` contains only `transform` code, simplify its
`gulp` rules.
2015-10-06 11:27:49 -07:00
fd5cd84065
chore(zone.js): update to 0.5.8
...
fixes #4531
2015-10-06 11:16:38 -07:00
6117a7037b
chore(build): copy bundles so they can be used with e2e tests
2015-10-06 10:55:08 -07:00
4d9de666c8
chore: remove dead code
2015-10-06 10:12:53 -07:00
4ebb1a9096
fix: add test_lib.d.ts to type definitions in generated package.json
2015-10-06 10:12:53 -07:00
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
076191cf9d
chore(bundles): publish minified router bundle
...
Closes #4503
2015-10-06 15:50:33 +00:00
74c0daab27
chore(build): minify bundles in parallel
2015-10-06 15:50:33 +00:00
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
ae6f549f10
chore(typings): re-enable type-checking on the browser trees
2015-10-06 13:28:17 +00:00
74c852b160
docs(developer.md): update node version in setup instructions
...
Closes #4527
2015-10-05 14:26:28 -07:00
349416ea53
test(dart/transform): e2e test inliner_for_test
...
Add an e2e test for the `inliner_for_test` transformer.
2015-10-05 20:18:15 +00:00
f638834fcf
docs(CHANGELOG): add breaking change for the NgNonBindable directive
...
Closes #4499
Closes #4501
2015-10-05 20:07:42 +00:00
09371a3f0b
feat(upgrade): support binding of Ng2 form Ng1
...
Closes #4458
2015-10-05 19:37:31 +00:00
0b3e4fa090
refactor(core): move ViewEncapsulation
and ViewType
to the right places
...
Closes #4526
2015-10-05 11:22:21 -07:00
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
a9aef8e5e6
fix(core): set ViewEncapsulation.Emulated
as the default again
...
Fixes #4494
2015-10-05 10:33:58 -07:00
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
649d310c31
chore: remove traceur from package.json published to npm
...
Closes #4498
2015-10-05 02:47:49 +00:00
14b194ea21
chore(ci): update sauce connect to 4.3.11
...
From 4.3.8.
Closes #4453
2015-10-05 02:18:47 +00:00
758efba34b
fix(gulp): use the new karma.Server api
...
Closes #4375
2015-10-03 21:33:58 +00:00
e21bf120b9
build(travis): add travis log folding for verbose tasks
2015-10-03 21:33:57 +00:00
9fa57d06da
style(gulp): make code more readable
2015-10-03 21:33:57 +00:00
9fc9704cdd
test(tools): temporarily disable tests that depend on mock-fs
...
mock-fs is currently incompatible with node 4.x, but a fix is in progress
https://github.com/tschaub/mock-fs/issues/59
Since we are currently not actively developing the affected broccoli plugins,
the risk of disabling these tests is low, especially in the light of
improvements we get from node 4.x.
2015-10-03 21:33:57 +00:00
39e9bb64ef
fix(karma): socket.io 1.x transport is now called 'polling' instead of 'xhr-polling'
...
And we really need it only when using sauce, so I'm making the condition more strict.
2015-10-03 21:33:57 +00:00
a649992ccd
fix(karma-dart-evalcache): make the code compatible with karma 0.13.x
2015-10-03 21:33:57 +00:00
2628631aff
fix(tslint): fix d.ts file paths for node_modules dependencies
2015-10-03 21:33:57 +00:00
4b0013c7e7
build(npm): resolve shrinkwrap conflicts after rebase
2015-10-03 21:33:57 +00:00
5ff1eb75d0
build(npm): upgrade gulp-sass to v2.0.4
2015-10-03 21:33:57 +00:00
1b20873433
build(npm): update chokidar and karma* dependencies
...
These dependencies required upgrade in order for us to run on Node v4.x
chokidar 1.0.1 -> 1.1.0
karma 0.12.23 -> 0.13.10
karma-chorome-launcher 0.1.8 -> 0.2.0
karma-cli 0.0.4 -> 0.1.0
karma-dart 0.2.8 -> 0.3.0
karma-sauce-launcher 0.2.11 -> 0.2.14
2015-10-03 21:33:57 +00:00
36562ecaae
build(gulp): bump check-environment node version to 4.1.1 and npm to 2.14.5
2015-10-03 21:33:57 +00:00