Jeff Cross
662a585fc2
docs(http): add docs and examples for ResponseOptions
2015-09-23 00:16:53 +00:00
Jeff Cross
ae3713ef95
docs(http): add docs and examples for BaseRequestOptions
2015-09-23 00:16:53 +00:00
Jeff Cross
707e6f7671
docs(http): improve docs and add example for RequestOptions
2015-09-23 00:16:53 +00:00
Misko Hevery
af2cd4d6f3
fix(api): align dart/js APIs
2015-09-22 23:11:40 +00:00
Alex Eagle
577ee3744a
fix(bug): reflect Dart interfaces from superclass as well
...
fixes #4221
Closes #4222
2015-09-22 22:31:07 +00:00
vsavkin
fd3eae9623
docs(di): add missing docs
...
Closes #4302
2015-09-22 21:38:33 +00:00
vsavkin
29b56ceb40
cleanup(di): make DependencyProvider private
2015-09-22 21:38:33 +00:00
Tobias Bosch
cc0c30484f
refactor(compiler): cleanup and preparation for integration
...
- Rename `DirectiveMetadata` into `CompileDirectiveMetadata`, merge
with `NormalizedDirectiveMetadata` and remove `ChangeDetectionMetadata`
- Store change detector factories not as array but
directly at the `CompiledTemplate` or the embedded template
to make instantiation easier later on
- Already analyze variable values and map them
to `Directive.exportAs`
- Keep the directive sort order as specified in the
`@View()` annotation
- Allow to clear the runtime cache in `StyleCompiler`
and `TemplateCompiler`
- Ignore `script` elements to match the semantics of the
current compiler
- Make all components dynamically loadable and remove
the previously introduced property `@Component#dynamicLoadable`
for now until we find a better option to configure this
- Don’t allow to specify bindings in `@View#directives` and `@View#pipes` as this was never supported by the transformer (see below for the breaking change)
BREAKING CHANGE:
- don't support DI bindings in `@View#directives` and `@View@pipes` any more in preparation of integrating the new compiler. Use `@Directive#bindings` to reexport directives under a different token instead.
Part of #3605
Closes #4314
2015-09-22 12:50:03 -07:00
mgechev
f600d88209
docs: fix typo
...
Closes #4306
2015-09-22 13:32:43 +00:00
mgechev
662ff47627
docs: fix typos
...
Closes #4308
2015-09-22 12:15:49 +00:00
Jeff Cross
da6def3772
docs(http): add documentation for Request
...
Closes #4238
2015-09-21 22:20:58 +00:00
Jeff Cross
c868f40bef
docs(http): improve docs for Headers
2015-09-21 22:20:58 +00:00
vsavkin
b0effe8e27
docs(di): add docs to Injector
...
Closes #4254
2015-09-21 21:55:04 +00:00
vsavkin
794e3870c5
docs(di): make TypeLiteral private
...
Closes #4290
2015-09-21 20:44:49 +00:00
vsavkin
95c8eef97a
docs(di): add docs to OpaqueToken
2015-09-21 20:44:49 +00:00
vsavkin
b8c4d3e7fb
docs(di): add docs to Key
2015-09-21 20:44:49 +00:00
Brian Ford
6e0ca7f39a
fix(router): use StringWrapper.startsWith
2015-09-21 12:13:07 -07:00
Brian Ford
43f97a951c
refactor(router): move assertComponentExists into facade
...
This is to make way for a refactor to the ng 1.x router directives,
which will use strings rather than controller functions in route configs.
2015-09-21 11:17:19 -07:00
vsavkin
c2a60f1624
feat(core): add support for @ContentChild and @ViewChild
...
Closes #4251
2015-09-20 01:45:09 +00:00
vsavkin
2e9de0b169
feat(core): add sugar to use ContentChildren and ViewChildren as prop decorators
...
Closes #4237
2015-09-20 00:43:04 +00:00
vsavkin
5dbe292615
feat(core): add support for ContentChildren and ViewChildren
2015-09-20 00:43:04 +00:00
Rado Kirov
5809a02624
docs(query): edit and extend query and view query docs.
2015-09-18 18:27:42 -07:00
Brian Yarger
3525d8a394
fix(http): throw if url is not string or Request
...
Closes #4245
Closes #4257
2015-09-18 23:33:17 +00:00
Marc Laval
390aacd442
fix(facade): workaround for lack of Symbol.iterator in es6-shim
...
Closes #4219
Fixes #4216
2015-09-18 09:46:13 +02:00
Pascal Precht
5a3ce87915
chore(http): remove unused properties from Request
...
This removes properties mentioned in #3339
Closes #3339
Closes #3823
2015-09-17 17:16:47 -07:00
Alex Rickabaugh
b9ea394c85
docs(core): Add plnkr example for *ng-if.
2015-09-17 15:28:11 -07:00
Alex Rickabaugh
06f8330cfa
fix(core): Document the new bootstrap APIs. Also rename rootBindings() to platformBindings() to be more clear about what it is.
...
Closes #4218
2015-09-17 20:58:38 +00:00
Tobias Bosch
f490565b09
refactor(compiler): cleanup method and property names
...
Closes #4236
2015-09-17 20:41:37 +00:00
vsavkin
d05df30a94
docs(di): add docs to forwardRef
2015-09-17 13:13:40 -07:00
vsavkin
e1c0b1abcb
docs(di): add docs to DI exceptions
2015-09-17 13:13:30 -07:00
vsavkin
b2e9da4905
docs(di): add docs for Binding
2015-09-17 13:12:50 -07:00
Victor Mejia
9179afb2a1
docs(compiler/element_injector): fix typo
...
Closes #4210
2015-09-17 13:35:21 +00:00
Craig Doremus
adb3813e85
docs(shared/service_message_broker): fix typo
...
Typo fix on line 32 suggested by PatrickJS
Closes #4226
2015-09-17 12:59:48 +00:00
Naomi Black
563fffd9b0
docs(chore): fix bad links in the API docs
2015-09-16 23:28:16 -07:00
Tobias Bosch
457b689bf0
feat(compiler): add TemplateCompiler
...
TemplateCompiler is the entry point to the new compiler
Related to #3605
Closes #4220
2015-09-17 04:24:15 +00:00
vsavkin
eaa20f661a
fix(exceptions): NoAnnotationError message is not displayed
...
Closes #4215
Closes #4223
2015-09-17 00:58:55 +00:00
Yegor Jbanov
241632aaa1
feat(code size): make assertionsEnabled() statically computable by dart2js
...
Our existing implementation prevented dart2js from statically deducing the
return value. This fix does not yet result in better tree-shaking due to the
following dart2js bugs:
https://github.com/dart-lang/sdk/issues/24354
https://github.com/dart-lang/sdk/issues/24355
Closes #4198
2015-09-16 19:01:48 +00:00
Jeff Cross
06f0d6c046
docs(pipe_transform): make example headers consistent
2015-09-16 11:44:37 -07:00
Jeff Cross
d276370ba1
docs(core): add docs for PipeOnDestroy interface
2015-09-16 11:44:36 -07:00
Jeff Cross
d9776b4112
docs(core): add docs for PipeTransform interface
2015-09-16 11:44:36 -07:00
Igor Minar
53412a71e5
docs(NgZone): add public api docs
2015-09-16 11:42:30 -07:00
Harry Terkelsen
70586b668c
fix(debug): make debug tools take ComponentRef
...
The debug tools used to take ApplicationRefs, which are the old return
type of bootstrap. Now bootstrap returns ComponentRef, so the debug
tools should be updated.
Closes #4203
2015-09-16 18:00:28 +00:00
Igor Minar
8f985dd558
docs(pipe_transform): remove extra backticks
2015-09-16 10:01:37 -07:00
J. Andrew Brassington
045cb90a46
docs(core/facade/collection): Correct typo
...
Add correct spelling of the word "statically"
Closes #4193
2015-09-16 12:14:24 +00:00
Victor Berchet
d6cda15879
refactor(form): misc minor refactoring
...
Closes #3951
2015-09-16 10:34:26 +00:00
Pawel Kozlowski
73351ac00f
fix(NgClass): ignore empty and blank class names
...
Fixes #4033
Closes #4173
2015-09-16 07:56:48 +00:00
vsavkin
16bf335a4a
refactor(async): replace RxJS with RxNext
...
Closes #3110
Closes #4201
2015-09-15 23:44:57 +00:00
Jeff Cross
7b3161a229
fix(pipes): add triple ticks around async_pipe code sample
...
Closes #4110
2015-09-15 15:50:44 -07:00
Pawel Kozlowski
045cc8269f
fix(compiler): remove attributes when expression in [attr.foo]='exp' evaluates to null
...
Fixes #4150
Closes #4163
2015-09-15 19:59:12 +00:00
vsavkin
9f999dd8e4
cleanup(pipes): clean up imports
2015-09-15 11:47:09 -07:00
Lenny
d890c4f827
refactor(pipes): remove LimitTo pipe in favor of slice pipe
2015-09-15 11:42:31 -07:00
Lenny
c2043ec681
feat(pipes): add slice pipe that supports start and end indexes
2015-09-15 11:42:30 -07:00
Lenny
0808eeaa0c
feat(StringWrapper): add support for JS slice method to string
2015-09-15 11:42:30 -07:00
Lenny
bced3aaa17
fix(ListWrapper): make list slice in dart return empty list if start and end are inverted like JS
2015-09-15 11:42:30 -07:00
Misko Hevery
105db02e07
fix(api): remove DomRenderer from public API
...
Closes #4187
2015-09-15 18:12:05 +00:00
Misko Hevery
61b6a475a6
fix(api): remove RecordViewTuple / cleanup NgFor
2015-09-15 18:12:05 +00:00
Misko Hevery
6db9f9013d
fix(api): remove UNDEFINED
2015-09-15 18:12:05 +00:00
Misko Hevery
5b6d576f93
chore: add test to prevent accidental changes to public API
2015-09-15 18:12:05 +00:00
David Fuka
255ed69392
docs(router): Typo
...
Closes #4152
2015-09-15 18:07:00 +00:00
Pawel Kozlowski
5f15363dab
feat(CORE_DIRECTIVES): add NgStyle to CORE_DIRECTIVES
...
Fixes #4096
Closes #4161
2015-09-15 17:55:13 +00:00
Ted Sander
a15b679494
feat(ng_for): Add Even and Odd variables to ng_for
...
Add even and odd local variables to ng_for to allow developers to style table rows differently and other features.
Closes #4181
2015-09-15 17:45:32 +00:00
Jennifer Bland
db098650ee
docs: correct typo
2015-09-15 10:19:49 -07:00
Marc Laval
f7b6ff0520
chore(build): improve reliability of the saucelabs job
...
Closes #4091
Closes #4047
2015-09-15 18:34:13 +02:00
Marc Laval
df7f59b3a8
fix(test): do not set ng.probe when ng is null or undefined
2015-09-15 18:33:33 +02:00
Marc Laval
abc4ef31e2
fix(test): AngularProfiler should check before using modern APIs
2015-09-15 18:33:32 +02:00
Marc Laval
3a7b50f244
fix(shims): function.name to return empty string when no name
2015-09-15 18:33:28 +02:00
Brian Ford
5298eb0709
feat(router): enforce convention of CamelCase names in route aliases
...
Closes #4083
2015-09-14 22:46:02 -07:00
Alex Rickabaugh
97d1844bfc
feat(core): Add a long-form syntax for Angular bootstrapping.
...
This change adds a syntax for bootstrapping Angular on a page that allows more fine-grained control of the hierarchy created. platform() creates a platform injector (of which there can only be one). From the platform, .application() creates an Angular application including a Zone and all specified application bindings (e.g. for the DOM, HTTP, Compiler, Renderer, etc). At the application level, .bootstrap() will bootstrap the given component into that application.
Closes #3852
2015-09-14 23:37:39 +00:00
Alex Rickabaugh
193792c27f
refactor(router): Switch from using APP_COMPONENT binding to a manual ROUTER_PRIMARY_COMPONENT binding.
...
With the coming bootstrapping changes, a single application (and thus Router) can have multiple root components. One of these needs to be identified as the "primary" component from which the Router will load its configuration. This is now done by providing a ROUTER_PRIMARY_COMPONENT binding to the primary component type.
2015-09-14 23:37:39 +00:00
Alex Rickabaugh
4f57990d45
feat(core): Support multiple ChangeDetectors in a single LifeCycle.
...
This allows a single LifeCycle to be shared among multiple root components, since each root component has its own ChangeDetector configured.
2015-09-14 23:37:39 +00:00
Yegor Jbanov
9dc1d6ae81
fix(code size): do not rely on Uri in BrowserDomAdapter
...
Closes #4182
2015-09-14 22:51:53 +00:00
Brian Ford
d2458866c1
refactor(router): remove unused Pipeline
2015-09-14 21:21:57 +00:00
Rado Kirov
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
Brian Ford
309944931f
fix(router): recognize child components with empty segments
...
Previosly, recognition ended when a parent captured all the parsed URL segments.
This caused routes that delegated from a parent to a child with an empty segment
to never be recognized.
Closes #4178
2015-09-14 20:22:40 +00:00
Misko Hevery
63e785902f
feat(change_detection): allow triggering CD form ChangeDetectorRef
...
Closes #4144
2015-09-14 18:07:31 +00:00
Misko Hevery
83715f06d1
chore(docs): typo
2015-09-14 18:07:31 +00:00
Misko Hevery
b42b9fc42d
refactor(hooks): change to intrefaces
2015-09-14 18:07:31 +00:00
Robert Messerle
39ce9d3397
feat(animate): adds basic support for CSS animations on enter and leave
...
Closes #3876
2015-09-14 17:37:09 +00:00
Gerd Jungbluth
effbb54f3d
docs(metadata): fix some minor typos
...
Closes #4157
2015-09-13 13:36:35 +00:00
Gerd Jungbluth
d1dbc973c4
docs(DirectiveMetadata): fix some minor typos
2015-09-13 13:36:35 +00:00
Kevin Huang
feddefdc84
docs(DirectiveMetadata): fix typo
...
Closes #4153
2015-09-12 13:28:29 +00:00
Jason Teplitz
787d1f955f
fix(Typings): Remove public exports added in 1926335b85
...
Closes #4147
2015-09-11 19:16:57 -07:00
Tobias Bosch
0246b2a2cb
feat(compiler): support creating template commands
...
Closes #4142
2015-09-12 01:16:06 +00:00
Tobias Bosch
71cbb49672
refactor(compiler): allow to serialize and deserialize `DirectiveMetadata`
2015-09-12 01:16:06 +00:00
Brian Ford
d9036c6cf3
feat(router): introduce new navigate method
...
Previously, `router.navigate` took a string representing the URL.
Now, it accepts an array that mirrors the link DSL.
Closes #4040
BREAKING CHANGE
The old method has been renamed to `router.navigateByUrl`.
Either change your navigation calls to use the DSL (preferred) or
call `router.navigateByUrl` instead.
Closes #4074
2015-09-11 17:20:13 -07:00
Brian Ford
acc2722cb8
refactor(router): rename navigate and navigateInstruction methods
2015-09-11 17:17:45 -07:00
Brian Ford
5e49d7e624
fix(router): load route config from async instructions
...
Previously, async routes generated from links would not load the configs of
their resolved components, which led to broken links in the children of the
async instruction's component.
This commit fixes the bookkeeping in the Router to correctly load the configs.
Fixes internal b/23791558
Closes #4146
2015-09-11 16:23:40 -07:00
Tamas Csaba
e34a29dafe
docs(http): fix http documentation
...
Closes #3931
2015-09-11 15:37:40 -07:00
PatrickJS
b91a966d05
docs: RenderProtoViewMergeMapping typo
...
Closes #4042
2015-09-11 15:37:26 -07:00
Nick Mann
958863d038
docs: correct typo 'specifity' to 'specificity'
...
Closes #4082
2015-09-11 15:37:21 -07:00
Henry Wong
fd14460148
docs: fixed misspelling of the word 'explicitly'
...
Closes #4108
2015-09-11 15:37:13 -07:00
Olivier Combe
7ccef08715
docs(core): fixed typo in RenderCompiler comments
...
Just a small typo fix :)
Closes #4046
2015-09-11 15:25:34 -07:00
Will Ngo
646b9200a2
docs(web_workers): fix typo
...
Closes #4070
2015-09-11 15:25:33 -07:00
Lukas Ruebbelke
6449c3c1c6
docs(CompilePipeline): correct compiliation to compilation
...
Closes #4072
2015-09-11 15:25:33 -07:00
Artur Meyster
1fba78b12a
docs(web_workers/shared/message_bus.ts): correct typo
...
Closes #4076
2015-09-11 15:25:32 -07:00
William Johnson
80a04b4323
docs(message_bus.ts):Change initilialized to initialized
...
Closes #4077
2015-09-11 15:25:32 -07:00
Timur Meyster
41c7c57c65
docs(web_workers/worker/renderer.ts): correct typo
...
Closes #4078
2015-09-11 15:25:32 -07:00
brianpchsu
f7fb5097b9
docs(proto_view_merger.ts):Change seprate to separate
...
Closes #4079
2015-09-11 15:25:32 -07:00
Wenqian Guo
20fbbcc72d
docs(web_workers/ui/di_bindings): Correct typo
...
Closes #4081
2015-09-11 15:25:32 -07:00
Richard Kho
f94a2d86fb
docs(web_workers/shared/message_bus.ts): correct typo 'messsage' to 'message'
...
Corrects the typo 'messsage' to 'message' on line 35.
Closes #4085
2015-09-11 15:25:31 -07:00