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
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
bc8c194665
temporary ignore warnings about unused unimplemented
2015-10-08 13:54:44 -07: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
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
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
e21bf120b9
build(travis): add travis log folding for verbose tasks
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
2628631aff
fix(tslint): fix d.ts file paths for node_modules dependencies
2015-10-03 21:33:57 +00:00
9f688d314f
chore: remove devDependencies from package.json published to npm
...
Closes #4502
2015-10-03 17:09:48 +00:00
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
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
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
9b7378d132
chore(typings): remove traceur-runtime.d.ts
...
fixes #4297
Closes #4415
2015-09-30 00:07:16 +00:00
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
5bf6a3af15
chore(typescript): fixes dart failures and linter
...
Closes #4359
2015-09-25 20:15:55 +00:00
7a53f82516
chore(typescript 1.6 upgrade): fix build.js and docs
2015-09-25 20:15:55 +00:00
2ee32fb02c
chore(typescript 1.6 upgrade): fix build.tools
2015-09-25 20:15:55 +00:00
db6d289d82
chore(upgrade): infrastructure to allow running upgrade module specs
2015-09-23 05:02:43 +00:00
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
be6d92c29a
fix(dist): don't distribute the HTML dart api docs
...
fixes #4115
Closes #4211
2015-09-17 15:49:53 +00:00
16bf335a4a
refactor(async): replace RxJS with RxNext
...
Closes #3110
Closes #4201
2015-09-15 23:44:57 +00:00
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
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
39ce9d3397
feat(animate): adds basic support for CSS animations on enter and leave
...
Closes #3876
2015-09-14 17:37:09 +00:00
63141ab9ab
chore(tools): remove rtts from the repo.
...
Closes #4107
2015-09-10 21:10:36 +00:00
8dd6c4680b
feat(perf): change detection profiler
...
Closes #4000
2015-09-09 01:12:58 +00:00
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
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
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
358908e605
feat(WebWorker): Expose MessageBroker API
...
Closes #3942
2015-09-01 23:53:54 +00:00
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
3468f7cfd5
chore(build): Add WebWorker bundle.
...
Closes #3207
Closes #3881
2015-08-28 20:40:16 +00:00
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
465f7c95b0
chore(cjs): make async tests fail faster
2015-08-27 21:41:47 -07:00
8536df16d9
chore(build): fail experimental Dart build but allow Travis failures
2015-08-27 13:52:47 -07:00
8ed22ce6e7
chore: update all import paths
2015-08-25 15:33:23 -07:00
d2a3b76a71
chore(build): change comment to indicate the temporary fix is permanent.
...
Fixes #3770
Closes #3775
2015-08-24 18:33:18 +00:00
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
85ec34d1d9
feat(build): added a temporary fix to make test.unit.dart work
2015-08-21 14:58:29 -07:00
06487237e5
Revert "Revert "feat(router): add angular 1.x router""
...
This reverts commit 298f1fb6a6
.
2015-08-20 13:19:34 -07:00
298f1fb6a6
Revert "feat(router): add angular 1.x router"
...
This reverts commit fde026a9e4
.
2015-08-20 08:06:14 -07:00
fde026a9e4
feat(router): add angular 1.x router
2015-08-19 20:27:39 +00:00
8a7a783ff2
chore(build): Modifies replace scripts to reflect new changes in systemjs.
2015-08-18 21:45:12 +00:00
e68c978202
chore(npm): Upgrades systemjs to 0.18.3.
2015-08-18 21:45:12 +00:00
83b69e8edc
chore: add repository field to npm package.json files
...
Fixes #2366
Closes #3621
2015-08-14 18:09:52 +00:00
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
b7837389d7
refactor: Remove isDart from public API
...
BREAKING CHANGE:
- `IS_DARTIUM` no longer exported
2015-08-13 21:18:31 +00:00