vsavkin
7f297666ca
feat(html_lexer): support special forms used by i18n { exp, plural, =0 {} }
2016-04-18 19:38:11 +00:00
Kara Erickson
d99823e2fd
docs(core): fix some grammar
...
Closes #8055
2016-04-18 19:34:17 +00:00
Kara Erickson
bb9fb21fac
feat(i18n): add custom placeholder names
...
Closes #7799
Closes #8057
2016-04-18 19:14:15 +00:00
Robert Messerle
b64672b23c
fix(dart) reverts `protobuf` to last working version
...
Closes #8125
2016-04-18 18:28:43 +00:00
Robert Messerle
930f58718b
Revert "feat(i18n): add support for custom placeholder names"
...
This reverts commit 2abb414cfb
.
2016-04-14 15:36:40 -07:00
Tobias Bosch
2b34c88b69
refactor(view_compiler): codegen DI and Queries
...
BREAKING CHANGE:
- Renderer:
* renderComponent method is removed form `Renderer`, only present on `RootRenderer`
* Renderer.setDebugInfo is removed. Renderer.createElement / createText / createTemplateAnchor
now take the DebugInfo directly.
- Query semantics:
* Queries don't work with dynamically loaded components.
* e.g. for router-outlet: loaded components can't be queries via @ViewQuery,
but router-outlet emits an event `activate` now that emits the activated component
- Exception classes and the context inside changed (renamed fields)
- DebugElement.attributes is an Object and not a Map in JS any more
- ChangeDetectorGenConfig was renamed into CompilerConfig
- AppViewManager.createEmbeddedViewInContainer / AppViewManager.createHostViewInContainer
are removed, use the methods in ViewContainerRef instead
- Change detection order changed:
* 1. dirty check component inputs
* 2. dirty check content children
* 3. update render nodes
Closes #6301
Closes #6567
2016-04-13 14:43:48 -07:00
Alex Rickabaugh
45f09ba686
docs(changelog): update changelog to beta.15
2016-04-13 14:39:17 -07:00
Alex Rickabaugh
bb62905bef
chore(release): bump version to beta.15
2016-04-13 14:39:17 -07:00
Pascal Precht
7bc9b19418
cleanup(tests): remove unused imports
...
Closes #6784
2016-04-13 13:24:04 -07:00
laco0416
e9f7a00910
docs(metadata): Add more docs of ViewChild and ViewChildren
...
Closes #7174
2016-04-13 13:24:04 -07:00
Jason Teplitz
a5d6b6db8b
fix(WebWorker): Fix textarea value not being sent to the worker
...
Closes #7439
Closes #7828
2016-04-13 13:24:04 -07:00
Chuck Jazdzewski
fc496813e2
fix(7877): StaticReflector returns empty results instead of undefined.
...
Reflector always returns either an empty object or an empty list if no
metadata is recorded for the class. StaticReflector matches this
behavior.
Closes #7986
2016-04-13 13:23:54 -07:00
Kara Erickson
2abb414cfb
feat(i18n): add support for custom placeholder names
...
Closes #7799
Closes #8010
2016-04-13 13:23:42 -07:00
Igor Minar
0e56aaf189
fix: remove typescript references to d.ts files from benchpress and e2e tests
...
using "/// <reference" is incorrect because it makes our code non-portable. The correct solution is to provide
these typings as ambient typings as an additional entry point - which we already do.
Closes #8050
2016-04-13 13:23:27 -07:00
Alex Eagle
3412aba46e
feat(typescript): update to 1.9 nightly.
...
To workaround https://github.com/Microsoft/TypeScript/issues/7573
we must remove the readonly keyword from generated .d.ts files.
This solution will not scale, but will probably buy enough time to require our users move to a 2.0 beta.
Closes #8003
2016-04-13 18:54:58 +00:00
Alex Eagle
347e71af7d
chore(travis): enable the typescript@next build
...
Fixes #7050
2016-04-13 18:54:58 +00:00
Tobias Bosch
d24df799d3
Revert "feat(iterable_differ): support immutable lists"
...
In Dart, ImmutableLists are just a projection of an underlying list.
I.e. if the underlying list changes, the ImmutableList also changes.
So we can't make optimizations based on checking whether a collection
is an ImmutableList.
This reverts commit a10c02cb41
.
Closes #8023
2016-04-13 17:02:48 +00:00
Tobias Bosch
01e6b8c7ed
fix(build): ignore dart warnings `The name … is shown, but not used`
...
See https://github.com/angular/angular/issues/8044
Closes #8045
2016-04-13 09:49:33 -07:00
Alex Rickabaugh
60727c4d2b
revert(format): Revert "chore(format): update to latest formatter"
...
This reverts commit 03627aa84d
.
2016-04-12 09:41:01 -07:00
Alex Eagle
03627aa84d
chore(format): update to latest formatter
...
Closes #7958
2016-04-11 22:15:23 +00:00
vsavkin
83b8f59297
feat(transformers): special case Profiler
2016-04-11 14:32:22 -07:00
Cuel
c6f454f51d
docs: remove duplicate 'directives' from example
...
Closes #7963
2016-04-11 21:29:21 +00:00
Gion Kunz
ccff17599a
feat(ngFor): Support convenience view local in ngFor
...
Closes #8013
2016-04-11 21:27:48 +00:00
Brian Ford
fb2773b8f3
docs(router): fix wording of hashchange explanation
...
Closes #7776
2016-04-11 21:11:11 +00:00
Tim Ruffles
5110121f6e
docs(ViewQuery): fix typo in documentation
...
fix typo that confusingly refers to `@Query` rather than `@ViewQuery`.
Closes #7870
2016-04-11 21:04:08 +00:00
Felix Itzenplitz
27cf897239
chore: upgrade zone.js to v0.6.10
...
Closes #7818
Closes #7721
Closes #7888
2016-04-11 21:03:59 +00:00
gdi2290
5d33a12af4
chore(gulpfile): turn off mangle for prod
...
Closes #7988
2016-04-11 20:50:14 +00:00
Chuck Jazdzewski
08b295603c
fix(7987): Incremental build works with new trees
...
Closes #7989
2016-04-11 20:28:34 +00:00
vsavkin
3b60503d2b
feat(transformers): changes transformers to collect information about providers and resolve identifiers during linking
2016-04-10 19:36:16 -07:00
Federico Caselli
3c2473bac6
Fixed typo in documentation
...
Closes #7943
2016-04-08 23:27:36 +00:00
Chuck Jazdzewski
f9426709ef
chore(build): Fix errors reported using 1.9.
...
Closes #7954
2016-04-08 21:53:50 +00:00
Kara Erickson
e1e44a910e
fix(select): set value individually from ngModel
...
Closes #7975
Closes #7978
2016-04-08 21:08:05 +00:00
Chuck Jazdzewski
f371c9066d
build(broccoli): Clean-up TypeScript build
...
The TypeScript parser now only references files that are in broccoli trees.
Closes #7941
2016-04-08 19:30:39 +00:00
Chuck Jazdzewski
85c1927993
build(broccoli): AngularBuilder compiles with TypeScript 1.8+.
...
Beginning with 1.8, if a modules has both a .ts and .d.ts file, the .js
file is not written.
Closes #7947
2016-04-08 19:24:04 +00:00
Vikram Subramanian
a596b887ff
feat(compiler): Add an implementation for XHR that uses a template cache to load template files.
...
Useful for avoiding doing an actual XHR during testing.
Part of the solution for #4051 (Other part is a Karma plugin that will create the template cache).
Closes #7940
2016-04-08 19:05:05 +00:00
Kara Erickson
6cbf99086e
feat(gestures): allow override of Hammer default configuration
...
Closes #7924
2016-04-08 18:53:58 +00:00
Tim Blasi
26a3390549
refactor(dart/transform): Remove deprecated angular2/bootstrap
...
BREAKING CHANGE
Remove the deprecated angular2/bootstrap.ts &
angular2/bootstrap_static.ts libraries.
Browser entry points should import angular2/platform/browser which
supplies the `bootstrap` function.
Closes #7650
2016-04-08 18:28:35 +00:00
Alex Eagle
9a1959f77a
build(tslint): re-enable linter and fix violations
...
fixes #7798
Closes #7800
2016-04-07 23:11:02 +00:00
Chuck Jazdzewski
226e662cf1
feat(parser): TemplateParser.tryParse() returns both the AST and errors
...
The language service (#7482 ) always needs the AST even if there are errors
in the template.
Closes #7858
2016-04-07 22:00:46 +00:00
Vijay Menon
7a1a1b80ed
Roll forward to 0.1.24
...
Closes #7867
2016-04-07 21:58:48 +00:00
Vijay Menon
529988bc81
Fix DDC errors
2016-04-07 21:58:48 +00:00
Chuck Jazdzewski
c17dc1c057
fix(7837): MetadataCollector takes no parameters for the constructor.
...
MetadataCollector no longer requires a ts.LanguageService parameter
it didn't use.
Closes #7838
2016-04-07 21:38:07 +00:00
Kathy Walrath
09a95a692e
docs(cheatsheet/dart): fix imports
...
Closes #7872
2016-04-07 21:23:14 +00:00
Kevin Merckx
247964af62
fix(upgrade): make upgradeAdapter upgrade angular 1 components correctly
...
With this fix, the $onInit function of an upgraded angular 1 component is called and input bindings (<) are created.
Closes #7951
2016-04-07 20:19:46 +00:00
Victor Berchet
5e2bc5c593
fix(RouterLink): ignore optional parameters when checking for active routes
...
fixes #6459
Closes #7834
2016-04-07 19:41:14 +00:00
Kara Erickson
28e657d857
fix(payload): increase payload size limit temporarily
2016-04-07 11:42:13 -07:00
Jeff Cross
06ad112998
docs(changelog): update change log to beta.14
2016-04-07 10:19:35 -07:00
Jeff Cross
cfa1d17afe
chore(release): bump version to beta.14
2016-04-07 10:09:46 -07:00
Kara Erickson
3ca6df87b8
fix(select): update name from ng-value to ngValue
...
Closes #7939
2016-04-06 22:47:21 +00:00
Tim Blasi
e310bee9e2
feat(dart/transform): Avoid `print` in transformer code.
...
Replace direct uses of `print` in the transformer with explicit uses of
stderr.
Add a few @override annotations for clarification of other `print`
implementations.
Clarify error message on incorrect custom_annotations value.
Closes #7855
2016-04-06 22:31:08 +00:00