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
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
76247b7097
refactor(compiler): use the new compiler everywhere
...
Closes #3605
BREAKING CHANGE:
- we don't mark an element as bound any more if it only contains text bindings
E.g. <div>{{hello}}</div>
This changes the indices when using `DebugElement.componentViewChildren` / `DebugElement.children`.
- `@Directive.compileChildren` was removed,
`ng-non-bindable` is now builtin and not a directive any more
- angular no more adds the `ng-binding` class to elements with bindings
- directives are now ordered as they are listed in the View.directives regarding change detection.
Previously they had an undefined order.
- the `Renderer` interface has new methods `createProtoView` and `registerComponentTemplate`. See `DomRenderer` for default implementations.
- reprojection with `ng-content` is now all or nothing per `ng-content` element
- angular2 transformer can't be used in tests that modify directive metadata.
Use `angular2/src/transform/inliner_for_test` transformer instead.
2015-10-01 18:48:27 -07:00
Alex Eagle
9b7378d132
chore(typings): remove traceur-runtime.d.ts
...
fixes #4297
Closes #4415
2015-09-30 00:07:16 +00:00
Alex Eagle
3dd9919bbd
chore(ts2dart): remove hand-written ts2dart typings
...
Now that we are on TS 1.6, we can use the new node module resolution strategy.
Closes #4372
2015-09-25 23:47:41 +00:00
vsavkin
5bf6a3af15
chore(typescript): fixes dart failures and linter
...
Closes #4359
2015-09-25 20:15:55 +00:00
Alex Eagle
7a53f82516
chore(typescript 1.6 upgrade): fix build.js and docs
2015-09-25 20:15:55 +00:00
Alex Eagle
2ee32fb02c
chore(typescript 1.6 upgrade): fix build.tools
2015-09-25 20:15:55 +00:00
Misko Hevery
db6d289d82
chore(upgrade): infrastructure to allow running upgrade module specs
2015-09-23 05:02:43 +00:00
Marc Laval
e166f6fe95
fix(browser): make Firefox to work with es6-shim
...
es6-shim.js must be loaded first
2015-09-18 09:39:41 +02:00
Alex Eagle
be6d92c29a
fix(dist): don't distribute the HTML dart api docs
...
fixes #4115
Closes #4211
2015-09-17 15:49:53 +00:00
vsavkin
16bf335a4a
refactor(async): replace RxJS with RxNext
...
Closes #3110
Closes #4201
2015-09-15 23:44:57 +00:00
Tim Blasi
cb4ff7491a
chore(dart/transform): Integrate protoc into gulp build
...
This change detects if the user has `protoc` available and, if so, uses
it to generate `.pb.dart` files. If not, pre-built files are used
instead.
2015-09-15 08:39:07 -07:00
Rado Kirov
cac25fe003
chore(build): replace traceur-runtime with es6-shim.
...
This removes traceur as a dependency for the t push -f
angular2 build.
Closes #4148
2015-09-14 21:02:29 +00:00
Robert Messerle
39ce9d3397
feat(animate): adds basic support for CSS animations on enter and leave
...
Closes #3876
2015-09-14 17:37:09 +00:00
Rado Kirov
63141ab9ab
chore(tools): remove rtts from the repo.
...
Closes #4107
2015-09-10 21:10:36 +00:00
yjbanov
8dd6c4680b
feat(perf): change detection profiler
...
Closes #4000
2015-09-09 01:12:58 +00:00
Jeff Cross
f14b212dc9
refactor: export core APIs from angular2/core
...
This change moves many APIs to the angular2/core export.
This change also automatically adds FORM_BINDINGS in
the application root injector.
BREAKING CHANGE:
Many dependencies that were previously exported from specific
APIs are now exported from angular2/core. Affected exports, which
should now be included from angular2/core include:
angular2/forms
angular2/di
angular2/directives
angular2/change_detection
angular2/bootstrap (except for dart users)
angular2/render
angular2/metadata
angular2/debug
angular2/pipes
Closes #3977
2015-09-05 07:01:34 +00:00
Rado Kirov
e9ad100b1f
fix(build): switch to cjs output for es5.
...
System output does not work at the current versions of TS and
system.js. Will revisit after upgrading TS.
Removes unused traceur tooling.
Closes #3974
2015-09-04 23:10:34 +00:00
Ian Riley
b025f94351
chore(build): Remove traceur from build.
...
This removes traceur from the compilation step in broccoli. Broccoli now
transpiles to es5 using the typescript compiler.
2015-09-04 23:10:34 +00:00
Jason Teplitz
358908e605
feat(WebWorker): Expose MessageBroker API
...
Closes #3942
2015-09-01 23:53:54 +00:00
Tim Blasi
0f54ed0306
chore(docgen): Use updated dartdoc tool
...
Use the new `dartdoc` tool, which
[shipped with 1.12](https://groups.google.com/a/dartlang.org/forum/#!topic/announce/Q1JSlVaFFnY )
Update the sdk constraint to 1.12
2015-08-31 19:30:22 +00:00
Jason Teplitz
3468f7cfd5
chore(build): Add WebWorker bundle.
...
Closes #3207
Closes #3881
2015-08-28 20:40:16 +00:00
Misko Hevery
37b042b361
chore: Make enum names consistent with TypeScript convention
...
BREAKING_CHANGE
Ts2Dart issue: https://github.com/angular/ts2dart/issues/270
TypeScript convention: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines
DartConvertion: https://www.dartlang.org/articles/style-guide/
Rename:
- NumberFormatStyle.DECIMAL => NumberFormatStyle.Decimal
- NumberFormatStyle.PERCENT => NumberFormatStyle.Percent
- NumberFormatStyle.CURRENCY => NumberFormatStyle.Currency
- RequestMethods.GET => RequestMethods.Get
- RequestMethods.POST => RequestMethods.Post
- RequestMethods.PUT => RequestMethods.Put
- RequestMethods.DELETE => RequestMethods.Delete
- RequestMethods.HEAD => RequestMethods.Head
- RequestMethods.PATCH => RequestMethods.Patch
- ReadyStates.UNSENT => ReadyStates.Unsent
- ReadyStates.OPEN => ReadyStates.Open
- ReadyStates.HEADERS_RECEIVED => ReadyStates.HeadersReceived
- ReadyStates.LOADING => ReadyStates.Loading
- ReadyStates.DONE => ReadyStates.Done
- ReadyStates.CANCELLED => ReadyStates.Canceled
2015-08-27 22:32:21 -07:00
Misko Hevery
465f7c95b0
chore(cjs): make async tests fail faster
2015-08-27 21:41:47 -07:00
yjbanov
8536df16d9
chore(build): fail experimental Dart build but allow Travis failures
2015-08-27 13:52:47 -07:00
Jeff Cross
8ed22ce6e7
chore: update all import paths
2015-08-25 15:33:23 -07:00
Alex Eagle
d2a3b76a71
chore(build): change comment to indicate the temporary fix is permanent.
...
Fixes #3770
Closes #3775
2015-08-24 18:33:18 +00:00
Pawel Kozlowski
a205807191
chore(build): remove references to e6-module-loader
...
I believe that it is no longer necessery after migration
to a newer version of SystemJS
Closes #3752
2015-08-23 16:06:04 +00:00
vsavkin
85ec34d1d9
feat(build): added a temporary fix to make test.unit.dart work
2015-08-21 14:58:29 -07:00
Brian Ford
06487237e5
Revert "Revert "feat(router): add angular 1.x router""
...
This reverts commit 298f1fb6a6
.
2015-08-20 13:19:34 -07:00
Victor Berchet
298f1fb6a6
Revert "feat(router): add angular 1.x router"
...
This reverts commit fde026a9e4
.
2015-08-20 08:06:14 -07:00
Brian Ford
fde026a9e4
feat(router): add angular 1.x router
2015-08-19 20:27:39 +00:00
Ian Riley
8a7a783ff2
chore(build): Modifies replace scripts to reflect new changes in systemjs.
2015-08-18 21:45:12 +00:00
Ian Riley
e68c978202
chore(npm): Upgrades systemjs to 0.18.3.
2015-08-18 21:45:12 +00:00
Pawel Kozlowski
83b69e8edc
chore: add repository field to npm package.json files
...
Fixes #2366
Closes #3621
2015-08-14 18:09:52 +00:00
Misko Hevery
284dc67076
chore: disable dart for HTTP package
...
BREAKING CHANGE
Stop supporting http module in Dart. This is because Dart has a
well developed http package which should be used by Dart
customers instead.
2015-08-13 21:18:31 +00:00
Misko Hevery
b7837389d7
refactor: Remove isDart from public API
...
BREAKING CHANGE:
- `IS_DARTIUM` no longer exported
2015-08-13 21:18:31 +00:00
Jeff Cross
7b3cca20d2
feat(npm): publish bundles and their typings in npm distribution
...
The same bundles that are published to https://code.angularjs.org
are now included in a "bundles" folder inside the npm distribution.
Closes #3555
2015-08-12 22:05:41 +00:00
vsavkin
5b5d31fa9a
feat(pipe): added the Pipe decorator and the pipe property to View
...
BREAKING CHANGE:
Instead of configuring pipes via a Pipes object, now you can configure them by providing the pipes property to the View decorator.
@Pipe({
name: 'double'
})
class DoublePipe {
transform(value, args) { return value * 2; }
}
@View({
template: '{{ 10 | double}}'
pipes: [DoublePipe]
})
class CustomComponent {}
Closes #3572
2015-08-12 00:38:40 +00:00
Yegor Jbanov
02b7e61ef7
chore: reenable analyzer_plugin tests
...
Closes #3591
2015-08-11 22:53:17 +00:00
Yegor Jbanov
280d8f3148
chore: add dartdoc compliance checks to build
...
Closes #3582
2015-08-11 22:53:08 +00:00
Jeff Cross
5a405011de
refactor(http): move http files to top-level module
...
Closes #2680
Closes #3417
2015-08-11 22:32:17 +00:00
Yegor Jbanov
2374e16104
chore(build): use pub upgrade instead of pub get
...
Closes #3585
2015-08-11 22:32:03 +00:00
Yegor Jbanov
f83289b1a0
chore(build): do not run analyzer_plugin tests
2015-08-11 13:30:42 -07:00
Jason Teplitz
84463cf0bd
Feat(WebWorker): Add WebWorker Image Filter Demo
2015-08-07 11:25:07 -07:00
Alex Eagle
643c71740e
chore(build): enable type-checking for TypeScript ES6 emit.
...
This requires delicate handling of type definitions which collide, because
we use TypeScript-provided lib.d.ts for --target=es5 and lib.es6.d.ts for
--target=es6.
We need to include our polyfill typings only in the --target=es5 case,
and the usages have to be consistent with lib.es6.d.ts.
Also starting with this change we now typecheck additional modules,
so this fixes a bunch of wrong typings which were never checked before.
Fixes #3178
2015-08-06 16:57:52 -07:00
Martin Probst
0bb78b7ef4
feat: enable the decorators compiler option.
...
This quenches a warning during compilation.
2015-08-04 19:56:02 +00:00
Alex Eagle
3c58878b19
chore(build): Upgrade to TypeScript@1.5.3
...
This change also makes us compliant with 1.6.0-dev compiler,
so we can do some experiments with apps that use 1.6 features
and compile against Angular.
We should probably add a travis build for 1.6 so we stay compatible
with both versions.
2015-07-31 20:01:27 +00:00
Jason Teplitz
c5cb7009ca
feat(WebWorkers): Add WebWorker Todo Example. Add support for more DOM events.
...
Fixed breakage caused by previous DI commit in WebWorker Todo example
2015-07-31 19:48:18 +00:00