04b4035ecd
refactor(AppViewListener): prefix listener with on for consistency
...
Closes #3925
2015-10-26 18:28:27 +00:00
608cdc4077
cleanup(forms): clean up NgFormControl
...
Closes #4912
2015-10-26 18:15:58 +00:00
d29a9a99aa
fix(forms): handle control change in NgFormControl
...
when a new Control instance is bound to the directive, use the new instance, not the old one
2015-10-26 18:15:58 +00:00
485c85bfe7
fix(core): Fix typo
...
arithemtic should be arithmetic.
Closes #4803
2015-10-26 17:52:42 +00:00
3118d5cebb
fix(compiler): support events on a template element that are consumed via a direct expression
...
Closes #4883
2015-10-26 10:45:01 -07:00
56a9b020d4
fix(default_value_accessor): support custom input elements that fire custom change events.
...
Closes #4878
2015-10-26 14:33:47 +00:00
de6774cd97
docs(typo): fix invalid TypeScript synatx in example
...
Closes #4870
2015-10-23 21:03:58 +00:00
84d1f93d83
fix(WebWorker): Serialize scroll events
...
closes #4836
Closes #4840
2015-10-23 20:26:29 +00:00
785abe5a1d
chore(http): remove double "var http" in http spec
...
Closes #4859
2015-10-22 10:08:35 +00:00
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
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
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
77604b8b18
chore: add test showing CSS calc() failure
2015-10-21 11:02:55 -07:00
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
a7c95ade2e
chore: use interface types in ng_zone/JS
2015-10-20 21:49:36 -07:00
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
91f71d2c3f
refactor(ChangeDetection): fix a typo
...
Closes #4675
2015-10-20 18:19:43 +00:00
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
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
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
9d0d33f95a
feat(ngUpgrade): simple example
2015-10-19 12:43:28 -07:00
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
be3e7db5db
docs(chore): make styles consistent for API doc headings
...
Closes #4816
2015-10-19 14:58:22 +00:00
2c98a0f771
build(broccoli-typescript): add support for moduleResolution=node
...
Closes #4779
2015-10-18 16:44:30 +00:00
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
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
c3ab20cc87
docs(router): Updated documentation for router outlet deactivate method
...
Closes #4752
2015-10-16 02:26:12 +00:00
05d29a936d
fix(typings): don't expose RootTestComponent_
...
fixes #4776
Closes #4777
2015-10-16 01:37:14 +00:00
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
5256457144
chore: update v2.0.0-alpha.44 changelog
2.0.0-alpha.44
2015-10-15 16:38:08 -07:00
169cb5f270
chore: bump version to 2.0.0-alpha.44
2015-10-15 16:35:53 -07:00
6c7bc09f70
chore(package): update RxJS dependency version
2015-10-15 16:28:49 -07:00
8efb49dd2d
chore: bump version to 2.0.0-alpha.43
2015-10-15 16:23:00 -07:00
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
d896e4350a
feat(ngUpgrade): add support for upgrade/downgrade of injectables
...
Closes #4766
2015-10-15 20:28:28 +00:00
486c1eda8e
docs(ngUpgrade): document public methods
2015-10-15 20:28:28 +00:00
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
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
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
65c737fc95
feat(forms): add input[type=number] value accessor
...
Closes #4014
Closes #4761
2015-10-15 18:41:17 +00:00
427860a5bd
chore(saucelabs): add Edge
...
Closes #4758
2015-10-15 18:20:41 +00:00
a941fb08f7
fix(style_compiler): don’t resolve absolute urls that start with a /
during compilation
...
Closes #4763
2015-10-15 11:13:52 -07:00
cec8b58373
fix(compiler): explicitly support event bindings also on <template>
elements
...
Although these events don’t fire events themselves, there might be directives on them that fire events.
Closes #4712
2015-10-15 10:08:22 -07:00
b89c5bc581
fix(compiler): attribute case in IE9
...
Closes #4743
2015-10-15 10:18:15 +02:00
7dde18b181
fix(style_compiler): don’t touch urls in stylesheets and keep stylesheets with absolute urls in templates
...
We can’t resolve relative urls (e.g. for images) in the compiler as
these urls are meant to be loaded in the browser
(unless we would inline images as base64…).
Also, keep `<link rel=“stylesheet”>` in templates that
reference absolute urls with e.g. `http://`. This
behavior was already present for `@import` rules
within stylesheets.
Closes #4740
2015-10-15 01:42:48 +00:00
2be9fef86d
chore(travis): reenable lasted Dart dev channel build
...
Closes https://github.com/angular/angular/issues/4467
Closes #4745
2015-10-15 00:19:31 +00:00
a91ae291e4
fix(test) fix Dart annotation for integration_dart_spec.dart
2015-10-15 00:19:31 +00:00
b716d2335b
fix(forms): emit value changes after errors and status are set
...
Closes #4714
2015-10-14 19:36:43 +00:00
6436f96fd1
fix(transformers): show nice error message when an invalid uri is found
...
Closes #4731
2015-10-14 10:20:29 -07:00
efddc9069c
fix(dart/transform): Parse directives agnostic of annotation order
...
Now that we can specify `directives` in either `@View` or `@Component`,
we will try to parse from both.
Previously, we would trash any `directives` parsed in the first
annotation upon encountering the second annotation. This ensures that we
maintain that list of `directives` regardless of annotation ordering.
2015-10-14 10:17:14 -07:00