Igor Minar
ea6b316932
build(gulp): rename angularBuilder.mock to angularBuilder.uninitialized to prevent confusion with testing mocks
...
Closes #4936
2015-10-27 11:34:39 +00:00
Igor Minar
ef7050892e
build(gulp): don't exit prematurely during cleanup
...
Before this change we would exit while there were cleanup micro tasks scheduled for executions,
this caused tmp files to be left over and consume a lot of space.
Fixes #4441
2015-10-27 11:34:39 +00:00
Marc Laval
94274049d4
chore(saucelabs): update to Safari 9
...
Closes #4927
2015-10-27 11:34:24 +00:00
Brian Ford
2a3e11d32d
fix(router): respect LocationStrategy when constructing hrefs in links
...
Note that this introduces more behavior for LocationStrategy which needs
yet more refactoring to test. See #4935 .
Closes #4333
2015-10-27 10:45:49 +00:00
Brian Ford
280cd33f2e
fix(router): fix error message text
2015-10-27 10:09:15 +00:00
Brian Ford
07cdc2ff44
feat(router): add support for route links with no leading slash
...
Closes #4623
2015-10-27 09:01:16 +00:00
Brian Ford
7af27f9617
chore(test): bump jasmine timeout to 500ms
2015-10-27 09:01:15 +00:00
Pablo Villoslada Puigcerber
9f8043e51e
chore(build): update node version in .nvmrc file
...
The node version was updated in DEVELOPER.md due to #4527 ,
but nvm still uses v0.12 if not specified otherwise.
Update .nvmrc file to v4.2, which is the last node version.
Closes #4894
2015-10-27 04:30:32 +00:00
Pablo Villoslada Puigcerber
391a6fbc2a
docs(developer.md): add PUB_CACHE variable to setup instructions
...
If PUB_CACHE is not set the pub dependencies are downloaded to a default
folder during the build because `gulp build` also runs `pub get`.
Running the tests locally PUB_CACHE is set to a subdirectory of the SDK
when the `env_dart.sh` script is sourced.
Therefore `build/pubbuild.dart` fails as it can't find the dependencies.
Closes #4900
2015-10-27 03:41:50 +00:00
Victor Berchet
3416984cce
refactor(RuntimeMetadataResolver): simplify the code
...
Closes #4874
2015-10-27 01:16:46 +00:00
Victor Berchet
abdd524911
refactor(RuntimeMetadata): Annotation -> Metadata
2015-10-27 01:16:46 +00:00
Victor Berchet
e1e52c098b
refactor(Compiler): misc minor updates
2015-10-27 01:16:46 +00:00
Victor Berchet
dd2598ccd8
refactor: use ListWrapper.find()
2015-10-27 01:16:46 +00:00
Victor Berchet
b90d899408
doc(DynamicComponentLoader): update API doc
2015-10-27 01:16:46 +00:00
Tobias Bosch
d8b3601927
fix(style_url_resolver): include `asset:` urls into precompiled stylesheets.
...
Closes #4926
2015-10-26 17:19:33 -07:00
Tobias Bosch
60bedb43de
fix(debug_element): don’t descend into merged embedded views on `componentChildren`.
...
Closes #4920
2015-10-26 16:39:49 -07:00
vsavkin
c5f490ba43
chore(forms): deprecate the old Query API
...
The old API has been replaced with ContentChildren and ViewChildren.
Closes #4922
2015-10-26 22:47:37 +00:00
Alex Rickabaugh
2e059dc916
feat(router): Make RootRouter disposable to allow cleanup of Location subscription. ROUTER_PROVIDERS now automatically disposes of the RootRouter when the application is disposed.
...
Closes #4915
2015-10-26 21:35:18 +00:00
Alex Rickabaugh
2674eaca51
feat(router): Support unsubscription from Location by returning the subscription.
2015-10-26 21:35:18 +00:00
Alex Rickabaugh
8dd3082ea3
feat(core): PlatformRef and ApplicationRef support registration of disposal functions.
...
These functions will be called whenever the platform or application are being disposed.
2015-10-26 21:35:18 +00:00
Tobias Bosch
b2dc5c2c7e
fix(compiler): create literal property bindings for empty *… directives.
...
Closes #4916
2015-10-26 13:55:34 -07:00
Tobias Bosch
2957b0b32e
fix(ng_class): support sets correctly
...
Previously, NgClass threw in Dart checked mode.
Closes #4910
2015-10-26 13:37:33 -07:00
vsavkin
28db864690
cleanup(forms): add missing tests
2015-10-26 11:50:30 -07:00
Ted Sander
28d88c5b12
feat(validators): Allow errors at both the group/array level or their children
...
Allow ControlGroups and ControlArrays to contain errors from their level, and
errors from their children. [Design Doc](https://docs.google.com/document/d/1EnJ3-_iFpVKFz1ifN1LkXSGQ7h3A72OQGry2g8eo7IA/edit?pli=1#heading=h.j53rt81eegm4 )
BREAKING CHANGE: errors format has changed from validators. Now errors from
a control or an array's children are prefixed with 'controls' while errors
from the object itself are left at the root level.
Example:
Given a Control group as follows:
var group = new ControlGroup({
login: new Control("", required),
password: new Control("", required),
passwordConfirm: new Control("", required)
});
Before:
group.errors
{
login: {required: true},
password: {required: true},
passwordConfirm: {required: true},
}
After:
group.errors
{
controls: {
login: {required: true},
password: {required: true},
passwordConfirm: {required: true},
}
}
2015-10-26 11:48:32 -07:00
Ted Sander
c9fba3fa1f
feat(validators): Add a pending state to AbstractControl
...
Add a pending state to AbstractControl and a function to set that state on
themselves and their parents. This will be used for both individual async
validators and when the imperitive mode is used. [Design Doc](https://docs.google.com/document/d/1EnJ3-_iFpVKFz1ifN1LkXSGQ7h3A72OQGry2g8eo7IA/edit?pli=1#heading=h.j53rt81eegm4 )
2015-10-26 11:48:32 -07:00
Victor Berchet
04b4035ecd
refactor(AppViewListener): prefix listener with on for consistency
...
Closes #3925
2015-10-26 18:28:27 +00:00
vsavkin
608cdc4077
cleanup(forms): clean up NgFormControl
...
Closes #4912
2015-10-26 18:15:58 +00:00
mikael
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
Jeremy Attali
485c85bfe7
fix(core): Fix typo
...
arithemtic should be arithmetic.
Closes #4803
2015-10-26 17:52:42 +00:00
Tobias Bosch
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
Tobias Bosch
56a9b020d4
fix(default_value_accessor): support custom input elements that fire custom change events.
...
Closes #4878
2015-10-26 14:33:47 +00:00
Constantin Gavrilete
de6774cd97
docs(typo): fix invalid TypeScript synatx in example
...
Closes #4870
2015-10-23 21:03:58 +00:00
Jason Teplitz
84d1f93d83
fix(WebWorker): Serialize scroll events
...
closes #4836
Closes #4840
2015-10-23 20:26:29 +00:00
Alberto Santini
785abe5a1d
chore(http): remove double "var http" in http spec
...
Closes #4859
2015-10-22 10:08:35 +00:00
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