vsavkin
4e9809bcb2
feat(transformers): changes transformers to collect information about providers and resolve identifiers during linking
...
Closes #7380
2016-04-04 22:59:43 +00:00
Chuck Jazdzewski
0dbf959548
feat(static-reflector): Added StaticReflector
...
Added a static reflector that uses metadta produced during build
or, additionally, directly from typescript, to produce the metadata
used by Angular code generation compiler.
2016-04-01 14:45:43 -07:00
Alex Eagle
90c87fa6ad
fix(codegen): stringify using an opaque ID when toString contains parens.
...
Using toString results in 'function (_arg1, arg2) {' when using closure compiler for 6-to-5.
Closes #7825
2016-03-30 23:43:35 +00:00
vsavkin
17c8ec8a5d
feat(html_parser): change HtmlElementAst to store both the start and the end positions
2016-03-24 20:36:19 +00:00
Victor Berchet
aa966f5de2
feat(Compiler): Allow overriding the projection selector
...
fixes #6303
BREAKING CHANGE:
For static content projection, elements with *-directives are now matched against the element itself vs the template before.
<p *ngIf="condition" foo></p>
Before:
// Use the implicit template for projection
<ng-content select="template"></ng-content>
After:
// Use the actual element for projection
<ng-content select="p[foo]"></ng-content>
Closes #7742
2016-03-24 20:09:34 +00:00
Brian Ford
6de68e2f1f
feat(compiler): assert that Component.style is an array
...
Part of #7481 (effort to improve error messages)
Closes #7559
2016-03-24 15:21:16 +00:00
vsavkin
095db673c5
feat(i18n): implement a simple version of message extractor
...
Closes #7454
2016-03-14 21:50:00 +00:00
vsavkin
70d18b5b53
feat(compiler): change html parser to preserve comments
2016-03-14 21:50:00 +00:00
Tobias Bosch
cb38d72ff4
feat(shadow_css): support /deep/ and >>>
...
Fixes #7562
Closes #7563
2016-03-11 22:14:26 +00:00
Matias Niemelä
b72bab49aa
feat(core): introduce a CSS lexer/parser
2016-03-11 13:54:01 -08:00
Alex Eagle
127fbfd5a6
Revert "feat(core): introduce a CSS lexer/parser"
...
This reverts commit 293fa5505b .
The rebased commit broke CI: https://travis-ci.org/angular/angular/jobs/115388814
2016-03-11 11:14:58 -08:00
Matias Niemelä
293fa5505b
feat(core): introduce a CSS lexer/parser
2016-03-11 10:42:29 -08:00
Misko Hevery
14f0e9ada8
chore: fix DDC errors / warnings
...
Closes #7195
2016-03-08 22:17:32 +00:00
PatrickJS
2c7c3e3c69
feat(TAG_DEFINITIONS): include <meta> and <base>
...
needed to parse index.html as a component template
Closes #7455
2016-03-08 01:03:20 +00:00
Vikram Subramanian
b857fd1eeb
Revert "feat(transformers): collect provider information"
...
This reverts commit 81beb1c788 .
Broke Google3.
2016-03-04 13:51:26 -08:00
vsavkin
81beb1c788
feat(transformers): collect provider information
2016-03-04 01:19:25 -08:00
Chuck Jazdzewski
19a08f3a43
feat(compiler): Added spans to HTML parser errors
...
Allows using the HTML parser in contexts errors are reported in a development tool such as an editor.
2016-03-03 22:51:57 +00:00
vsavkin
39b6e0efba
feat(transformers): collect information for CompileDiDependencyMetadata
2016-03-01 13:28:36 -08:00
vsavkin
ebe531bf92
feat(transformers): collect data needed for the template compiler
...
Closes #7299
2016-02-26 17:56:40 +00:00
Victor Berchet
c6afea61f1
fix(DomRenderer): correctly handle namespaced attributes
2016-02-19 19:23:46 -05:00
Alex Eagle
265703b950
fix(typing): Remove re-export of the Promise built-in type.
...
Instead, ts2dart can add the 'dart:async' import whenever
Promise is used.
Fixes #6468
2016-02-12 20:45:41 -08:00
Brian Ford
efb89b83e1
Revert "fix(DomRenderer): correctly handle namespaced attributes"
...
This reverts commit 61cf499b0b .
2016-02-11 13:44:16 -08:00
Brian Ford
3d96c2337f
Revert "feat(svg): Provide support for SVG foreignObject by adding xhtml namespace"
...
This reverts commit eb688f2c8e .
2016-02-11 13:39:02 -08:00
Gion Kunz
eb688f2c8e
feat(svg): Provide support for SVG foreignObject by adding xhtml namespace
...
Closes #6192
2016-02-10 23:23:34 +00:00
Victor Berchet
61cf499b0b
fix(DomRenderer): correctly handle namespaced attributes
...
Closes #6363
2016-02-10 22:34:13 +00:00
vsavkin
231773ea76
fix(compiler): use event names for matching directives
...
Closes #6870
2016-02-09 13:16:08 -08:00
Igor Minar
b86829f492
revert: feat(transformers): collect information about di dependencies and providers
...
This reverts commit 86c40f8474 .
Reason: new issues were discovered during the g3sync. @vsavkin is working on fixing them.
2016-02-08 12:15:03 -08:00
vsavkin
86c40f8474
feat(transformers): collect information about di dependencies and providers
2016-02-05 21:56:33 +00:00
Yegor Jbanov
db87baeb98
fix(ddc): router, compiler, web worker fixes for DDC
...
Also enable DDC checks across all non-web worker playground apps. We are
now down to 2 DDC errors across all of them. The remaining two need to be
fixed in package:analyzer, not in angular.
BREAKING CHANGE:
- there's a chance of breakage as router's Instruction constructor
signature changed.
Closes #6693
2016-01-27 02:30:20 +00:00
Tobias Bosch
0ae77753f3
fix(core): always remove DOM listeners and stream subscriptions
...
This is needed to prevent memory leaks. The DOM
listeners don’t need to be removed for simple examples,
but a big internal app shows memory leaks because of them.
BREAKING CHANGE:
- `Renderer.listen` now has to return a function that
removes the event listener.
2016-01-26 07:37:31 -08:00