Victor Berchet
c99ef4938f
fix(ShadowCss): support @page and @document CSS rules ( #11878 )
...
fixes #11860
2016-10-05 15:33:16 -07:00
Victor Berchet
7395400066
fix(ShadowCss): support quoted attribute values
...
fixes #6085
2016-10-05 15:33:16 -07:00
Victor Berchet
d985cc0253
refactor(ShadowCss): add missing types
2016-10-05 15:33:16 -07:00
Victor Berchet
aca117ac56
fix(ShadowCss): fix :host(tag) and :host-context(tag)
...
fixes #11972
2016-10-05 15:33:16 -07:00
Victor Berchet
975aca95bb
refactor(CssSelector): misc cleanup
2016-10-05 15:33:16 -07:00
Victor Berchet
5cb78566c2
docs(CssSelector): [name*=value] is not supported
...
fixes #6042
2016-10-05 15:33:16 -07:00
Victor Berchet
bd012efcc4
fix(ShadowCss): support [attr="value with space"]
...
fixes #6249
2016-10-05 15:33:16 -07:00
Victor Berchet
2dd399658d
refactor(ShadowCss): cleanup
2016-10-05 15:33:16 -07:00
Victor Berchet
d0dea574cb
test(DirectiveResolver): test that a prop can have both @Input and @HostBinding
2016-10-05 15:33:16 -07:00
Victor Berchet
f7864edd4b
refactor(DirectiveResolver): cleanup
2016-10-05 15:33:16 -07:00
Alex Eagle
b39d3a173e
refactor(facade): Inline isBlank called with object-type argument ( #11992 )
2016-10-05 15:33:16 -07:00
Alex Eagle
830e6352dd
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-10-05 15:33:16 -07:00
Marc Laval
5911c3bd43
fix(compiler): move detection of unsafe properties for binding to ElementSchemaRegistry ( #11378 )
2016-10-05 15:33:16 -07:00
vikerman
51e1994af0
fix(compiler): Do not embed templateUrl in view factories in non-debug mode. ( #11818 )
...
Fixes #11117 .
2016-10-05 15:33:16 -07:00
Victor Berchet
faf5d90bf6
refactor: remove dead code
2016-10-05 15:33:16 -07:00
Victor Berchet
7e5413da89
refactor(facade): remove useless facades
2016-10-05 15:33:16 -07:00
Matias Niemelä
85489a166e
refactor(animations): ensure animation input/outputs are managed within the template parser ( #11782 )
...
Closes #11782
Closes #11601
Related #11707
2016-10-05 15:33:16 -07:00
Victor Berchet
3e780c032e
refactor: misc cleanup
2016-09-23 10:22:05 -07:00
Victor Berchet
af6b219f8e
refactor(TemplateParser): clearer error message for on* binding ( #11802 )
...
fixes #11756
2016-09-23 10:21:15 -07:00
Chuck Jazdzewski
a95d65241c
fix(compiler): Safe property access expressions work in event bindings ( #11724 )
2016-09-23 10:19:24 -07:00
Victor Berchet
fdb22bd185
refactor: misc cleanup ( #11654 )
2016-09-23 10:18:38 -07:00
Victor Berchet
70488ed382
fix(OfflineCompiler): support older TS versions ( #11734 )
2016-09-19 15:36:25 -07:00
Victor Berchet
03aedbe54b
fix(OfflineCompiler): Do not provide I18N values when they're not specified
...
fixes #11643
2016-09-19 10:44:33 -07:00
Victor Berchet
8395aab25d
refactor(OfflineCompiler): cleanup
2016-09-19 10:44:33 -07:00
Brandon
2300c23332
fix(docs): Fixed wording for NgModule schemas ( #11620 )
2016-09-18 16:03:43 -07:00
esagawe
734b8b8c13
fix(compiler): [attribute~=value] selector ( #11696 )
...
Change the seperator regular expression to ignore tildes which are followed by an equal sign.
Closes #9644
2016-09-18 15:58:19 -07:00
Victor Berchet
bd4045b6e7
fix(MetadataResolver): throw Component.moduleId is not a string
...
fixes #11590
2016-09-15 10:57:37 -07:00
Victor Berchet
255099aa61
refactor(MetadataResolver): cleanup
2016-09-15 10:57:37 -07:00
Igor Minar
cb657c4b55
docs: update descriptions in package.jsons
2016-09-14 16:44:39 -07:00
Victor Berchet
b847257b16
refactor(ShadowCss): remove a comment that trigger an issue with webpack ( #11587 )
...
fixes #11584
2016-09-13 21:59:11 -07:00
Tobias Bosch
63e15ffaec
refactor(core): remove …Metadata for all decorators and use the decorator directly.
...
BREAKING CHANGE:
- all `…Metadata` classes have been removed. Use the corresponding decorator
as constructor or for `instanceof` checks instead.
- Example:
* Before: `new ComponentMetadata(…)`
* After: `new Component(…)`
- Note: `new Component(…)` worked before as well.
2016-09-12 22:47:54 -07:00
Tobias Bosch
1b15170c89
refactor(core): simplify decorators
...
Every decorator now is made of the following:
- a function that can be used
as a decorator or as a constructor. This function
also can be used for `instanceof` checks.
- a type for this function (callable and newable)
- a type that describes the shape of the data
that the user needs to pass to the decorator
as well as the instance of the metadata
The docs for decorators live at the followig places
so that IDEs can discover them correctly:
- General description of the decorator is placed on the
`...Decorator` interface on the callable function
definition
- Property descriptions are placed on the interface
that describes the metadata produces by the decorator
2016-09-12 22:47:54 -07:00
Rob Wormald
d296298282
fix(build): prevent package tsconfigs from shadowing main tsconfig ( #11454 )
2016-09-08 15:01:22 -07:00
Victor Berchet
077e0be1e7
fix(CssSelector): fix getMatchingElementTemplate() for void tags
...
fixes #11407
2016-09-08 13:55:41 -07:00
Victor Berchet
a52d076912
refactor(CssSelector): misc
2016-09-08 13:55:41 -07:00
Pawel Kozlowski
436af15d63
refactor: remove parseFloat from facades ( #11446 )
2016-09-08 13:54:10 -07:00
Matias Niemelä
6a2bbffe10
fix(animations): allow group() to be used as entry point for an animation trigger ( #11419 )
...
Closes #11312
Closes #11419
2016-09-08 12:20:07 -07:00
Victor Berchet
78ad9adc1a
fix(ShadowCss): fix perf regression ( #11420 )
...
fixes #11371
2016-09-07 16:48:10 -07:00
PatrickJS
3ff816afa6
style(CompileMetadataResolver): better error message ( #11401 )
2016-09-07 14:09:25 -07:00
Tobias Bosch
ea95c391c1
fix(compiler): error when NgModule.bootstrap contains undefined or null
2016-09-06 11:44:56 -07:00
Victor Berchet
d309f7799c
fix(DomSchema): add missing elements
...
fixes #11219
2016-09-02 15:35:36 -07:00
Victor Berchet
93deff6c33
refactor(DomSchema): improve readability by making the schema more explicit using interface names
2016-09-02 15:35:36 -07:00
Martin Probst
ebc8e808a9
feat(router): register NgModuleFactory objects. ( #11211 )
...
When lazily loading code, users need to be able to get hold of the
NgModuleFactory. For SystemJS environments, the SystemJS registry serves
this purpose. However other environments, such as modules compiled with
Closure compiler, do not expose exports object or a path based registry.
For these environments, `@NgModule` objects can include an identifier, and
the loading code can then pass `loadModule(id).then(() =>
getNgModule(id))` to the router.
2016-09-01 13:46:08 -07:00
Matias Niemelä
c9e5b599e4
fix(animations): ensure parent animations are triggered before children ( #11201 )
2016-09-01 13:24:26 -07:00
Matias Niemelä
562c8263dc
fix(animations): ensure animation callbacks are fired for embedded views
2016-08-31 15:46:23 -07:00
Victor Berchet
ef0f29c372
fix: merge artifact
2016-08-30 21:37:28 -07:00
Victor Berchet
1818056912
fix(TemplateParser): disallow event-property binding even with the NO_ERRORS_SCHEMA
...
closes #11026
2016-08-30 21:32:24 -07:00
Victor Berchet
1df69cb4d2
fix(DomSchemaRegistry): detect invalid elements
2016-08-30 21:32:03 -07:00
Igor Minar
174c016104
fix(bundles): correct RxJS mapping in rollup config for umd/es5 bundles
2016-08-30 21:07:45 -07:00
Miško Hevery
979657989b
fix(packages): use ES modules for primary build ( #11120 )
2016-08-30 18:07:40 -07:00