Tim Blasi
27ead8c883
feat(dart/transform): Do not declare outputs
...
Experience shows that for large projects, declaring transformer outputs
can cause ~10x slowdown. Remove output declarations to avoid this.
2015-10-21 14:20:03 -07:00
Tim Blasi
1caccc410a
refactor(dart/transform): Simplify logging class
...
Use `TransformLogger` for the transformer rather than `BuildLogger`,
which has additional funtionality (and complexity) that is unused.
2015-10-21 12:52:28 -07:00
Victor Berchet
4639f449cf
feat(Parser): associate pipes right to left
...
closes #4605
BREAKING CHANGE:
Before:
`1 + 1 | pipe:a | pipe:b` was parsed as `(1 + 1) | pipe:(a | pipe:b)`
After:
`1 + 1 | pipe:a | pipe:b` is parsed as `((1 + 1) | pipe:a) | pipe:b`
Closes #4716
2015-10-21 18:43:10 +00:00
Yegor Jbanov
77604b8b18
chore: add test showing CSS calc() failure
2015-10-21 11:02:55 -07:00
Yegor Jbanov
491e1fdd2c
feat: move NgZone to Stream/Observable-based callback API
...
BREAKING CHANGES:
- deprecates these methods in NgZone: overrideOnTurnStart, overrideOnTurnDone, overrideOnEventDone, overrideOnErrorHandler
- introduces new API in NgZone that may shadow other API used by existing applications.
2015-10-20 21:51:19 -07:00
Yegor Jbanov
a7c95ade2e
chore: use interface types in ng_zone/JS
2015-10-20 21:49:36 -07:00
Yegor Jbanov
711dbf4975
fix(compiler): do not match directives to variable names
...
BREAKING CHANGES:
- you can no longer use a #foo or a var-foo to apply directive [foo], although
it didn't work properly anyway.
This commit is fixing breakage caused by the switch to pre-compiler (exact SHA
unknown).
2015-10-20 20:31:55 -07:00
Victor Berchet
91f71d2c3f
refactor(ChangeDetection): fix a typo
...
Closes #4675
2015-10-20 18:19:43 +00:00
Victor Berchet
0a940211d5
feat(change detection): remove support for "if"
...
BREAKING CHANGE: Remove if statement support from actions.
Closes #4616
2015-10-20 18:15:08 +00:00
Tim Blasi
fd0ba37734
refactor(dart): Format Dart code
...
Use the dart formatter to clean up all pure Dart code.
Closes #4832
2015-10-20 17:39:37 +00:00
Tim Blasi
6be95ae88a
fix(dart/transform): Fix issue with deferred in .ng_deps
...
Fix an issue in the linking step which prevents libraries from being
imported as `deferred`.
2015-10-19 13:50:47 -07:00
Misko Hevery
9d0d33f95a
feat(ngUpgrade): simple example
2015-10-19 12:43:28 -07:00
Tim Blasi
cf9d4662c9
refactor(dart/transform): Update protobuf dependencies
...
Update
- libprotoc to 2.6.1
- dart-protoc-plugin to 0.5.0
- pkg/protobuf 0.5.0
Closes #4681
2015-10-19 10:32:17 -07:00
Naomi Black
be3e7db5db
docs(chore): make styles consistent for API doc headings
...
Closes #4816
2015-10-19 14:58:22 +00:00
Igor Minar
2c98a0f771
build(broccoli-typescript): add support for moduleResolution=node
...
Closes #4779
2015-10-18 16:44:30 +00:00
Igor Minar
b09788993d
build(broccoli): make broccoli-typescript consume tsconfig style option
...
Previously it supported a weird mixture of tsconfig and internal options.
2015-10-18 16:44:30 +00:00
kutyel
e4e74ae65c
chore: rename modules/examples to modules/playground
...
The directory contains code authored in a style that makes it transpilable to dart. As such, these are not idiomatic examples of Angular 2 usage.
The main purpose of this directory is to enable experimentation with Angular within the angular/angular repository.
Closes #4342
Closes #4639
2015-10-18 11:48:43 +00:00
Brandon Roberts
c3ab20cc87
docs(router): Updated documentation for router outlet deactivate method
...
Closes #4752
2015-10-16 02:26:12 +00:00
Alex Eagle
05d29a936d
fix(typings): don't expose RootTestComponent_
...
fixes #4776
Closes #4777
2015-10-16 01:37:14 +00:00
Tobias Bosch
fd9b67537d
fix(url_resolver): always replace package: in Dart, even if it came from baseUrl.
...
Closes #4775
2015-10-15 16:57:54 -07:00
yjbanov
5256457144
chore: update v2.0.0-alpha.44 changelog
2015-10-15 16:38:08 -07:00
yjbanov
169cb5f270
chore: bump version to 2.0.0-alpha.44
2015-10-15 16:35:53 -07:00
Rob Wormald
6c7bc09f70
chore(package): update RxJS dependency version
2015-10-15 16:28:49 -07:00
yjbanov
8efb49dd2d
chore: bump version to 2.0.0-alpha.43
2015-10-15 16:23:00 -07:00
Alex Eagle
c066d696e8
chore(package.json): remove typings bundles
...
This was used for , but now that our typings are laid out in the node_module, users should no longer need that.
Also fix the project name in root package.json. There is a risk that someone runs npm publish in this directory, which will create a new version of angular 1, and contain a scary source tree.
So this package.json may as well have a name that doesn't exist on npm, and if we did publish by accident, it would be a package name that matches the contents.
2015-10-15 16:17:17 -07:00
Misko Hevery
d896e4350a
feat(ngUpgrade): add support for upgrade/downgrade of injectables
...
Closes #4766
2015-10-15 20:28:28 +00:00
Misko Hevery
486c1eda8e
docs(ngUpgrade): document public methods
2015-10-15 20:28:28 +00:00
Misko Hevery
053b7a50e1
feat(ngUpgrade): faster ng2->ng1 adapter by only compiling ng1 once
...
The adapter only compiles ng1 template. This means that we need to
reimplement / emulate all of the ng1’s API on the HOST element.
interface IDirective {
compile?: IDirectiveCompileFn; // NOT SUPPORTED
controller?: any; // IMPLEMENTED
controllerAs?: string; // IMPLEMENTED
bindToController?: boolean|Object; // IMPLEMENTED
link?: IDirectiveLinkFn | IDirectivePrePost; // IMPLEMENTED (pre-link only)
name?: string; // N/A
priority?: number; // NOT SUPPORTED
replace?: boolean; // NOT SUPPORTED
require?: any; // IMPLEMENTED
restrict?: string; // WORKING
scope?: any; // IMPLEMENTED
template?: any; // IMPLEMENTED
templateUrl?: any; // IMPLEMENTED
terminal?: boolean; // NOT SUPPORTED
transclude?: any; // IMPLEMENTED
}
2015-10-15 20:28:28 +00:00
Misko Hevery
059e8faae2
refactor(ngUpgrade): renames and docs
...
BREAKING CHANGE:
- Changes the terminology to Adapter and upgrade/downgrade
- Removes the Module from the public API to prevent confusion
2015-10-15 20:28:28 +00:00
Julie Ralph
d7ab5d44a5
fix(testing): let DOM adapter dictate XHR implementation for tests
...
The test injector now uses an XHR implementation based on DOM.getXHR,
which allows the current DOM adapter to dictate which XHR impl should
be used.
To prevent the changes to DOM adapter from introducing undesired new
dependencies into the benchmarks, separate the async facade into
a promise facade which is reexported by facade/async.
See #4539
2015-10-15 12:12:27 -07:00