Tobias Bosch
4b54c0e23f
refactor(core): enable new animations dsl
...
Also deletes old tests that are not needed any
more with the new view engine.
2017-02-23 13:59:16 -08:00
Miško Hevery
738d93caf7
refactor: rewrite private export using the ɵ prefix
2017-02-21 20:48:55 -08:00
Tobias Bosch
58ba4f0409
fix(compiler): make view engine work with Aot
2017-02-21 09:12:21 -08:00
Victor Berchet
d6a58f9f70
feat(core): make new Inject() optional for deps specified as InjectionToken ( #14486 )
...
fixes #10625
2017-02-20 16:20:45 -08:00
Chuck Jazdzewski
724ca373e7
build: produce metadata bundles for @angular modules ( #14509 )
...
Closes #14509
2017-02-16 08:15:30 -08:00
Tobias Bosch
4e7752a12a
feat(compiler): integrate compiler with view engine ( #14487 )
...
Aspects: di, query, content projection
Included refactoring:
- use a number as query id
- use a bloom filter for aggregating matched queries of nested elements
- separate static vs dynamic queries
Part of #14013
2017-02-15 08:36:49 -08:00
Chuck Jazdzewski
8b81bb1eb6
feat(compiler): generate shallow imports compiler generated references ( #14388 )
2017-02-14 13:33:06 -08:00
Tobias Bosch
e4e9dbe33d
feat(compiler): integrate compiler with view engine - change detection tests work ( #14412 )
...
Included refactoring:
- make ViewData.parentIndex point to component provider index
- split NodeType.Provider into Provider / Directive / Pipe
- make purePipe take the real pipe as argument to detect changes
- order change detection:
1) directive props
2) renderer props
Part of #14013
PR Close #14412
2017-02-13 17:02:00 -06:00
Miško Hevery
b565301186
fix(compiler): REVERT allow absolute style urls ( #14365 )
...
This reverts commit 6b9aa2ca3d .
2017-02-10 18:23:58 -06:00
Victor Berchet
7ac38aa357
feat(compiler): add support for source map generation ( #14258 )
...
fixes #14125
PR Close #14258
2017-02-10 15:04:15 -06:00
Dzmitry Shylovich
e5a144d902
fix(compiler): improve error msg for unknown properties on ( #14373 )
...
ng-container/ng-content
Closes #14070
PR Close #14373
2017-02-10 15:03:05 -06:00
Dzmitry Shylovich
2c6dab970b
fix(compiler): improve error message for unknown elements ( #14373 )
2017-02-10 15:03:05 -06:00
Tobias Bosch
baa654a234
feat(compiler): integrate compiler with view engine - main integration tests work ( #14284 )
...
Part of #14013
PR Close #14284
2017-02-10 14:10:03 -06:00
Bowen Ni
44bb337acc
fix(compiler): disable non-components as an entry component ( #14335 )
...
PR Close #14335
2017-02-09 14:45:49 -08:00
Dzmitry Shylovich
6b9aa2ca3d
fix(compiler): allow absolute style urls ( #14365 )
...
Closes #4974
PR Close #14365
2017-02-09 14:32:39 -08:00
Victor Berchet
bb4db2d8f3
feat(compiler): add target locale to the translation bundles ( #14290 )
...
PR Close #14290
2017-02-09 14:32:39 -08:00
Victor Berchet
881dce841f
refactor(compiler): Load the translation bundle only once in the i18n html parser ( #14362 )
...
fixes #14322
2017-02-09 12:08:23 -06:00
Miško Hevery
c33fda2607
perf: Don’t subclass Error; resulting in smaller binary ( #14160 )
...
Subclassing errors is problematic since Error returns a
new instance. All of the patching which we do than prevent
proper application of source maps.
PR Close #14160
2017-02-07 19:18:26 -06:00
Misko Hevery
3c2842be96
refactor: remove unneeded output_emitter_utils ( #14160 )
2017-02-07 19:17:58 -06:00
Chuck Jazdzewski
388afa414e
test(compiler): add integration like tests to compiler unit tests ( #14157 )
...
Closes PR #14157
PR Close #14157
2017-02-03 15:06:51 -06:00
Chuck Jazdzewski
69e14b500b
feat(compiler): generate type parameters for generic type references ( #14104 )
2017-02-01 09:29:51 -06:00
Alex Eagle
b4214d60a6
fix(compiler): allow expressions or functions in extends ( #14158 )
...
Fixes #14154
PR Close #14158
2017-01-31 18:35:10 -06:00
Victor Berchet
5921c872b6
fix(compiler): only lex messages that are needed by angular ( #14208 )
...
To avoid the lexer erroring on syntax not supported by Angular.
PR Close #14208
2017-01-31 16:21:55 -06:00
Victor Berchet
827c3fe199
fix(compiler): fix missing translations handling ( #14113 )
...
PR Close #14113
2017-01-27 12:12:06 -06:00
Gion Kunz
8775ab9495
feat(compiler): allow missing translations ( #14113 )
...
closes #13861
2017-01-27 12:10:59 -06:00
Victor Berchet
f7fba74c58
feat(compiler): do not parse xtb messages not needed by angular ( #14111 )
...
fixes #14046
PR Close #14111
2017-01-27 11:52:57 -06:00
Bowen Ni
665dde2e5c
refactor(compiler): improve error messages in aot compiler ( #14017 )
...
Previously aot compiler prints stack traces when it fails to resolve.
New behavior: aot compiler outputs the error message.
Example: https://gist.github.com/bowenni/a7fe81d916e8cd4a06b0e133436f40fb
PR Close #14017
2017-01-27 11:49:38 -06:00
Victor Berchet
05b2b49711
fix(compiler): allow empty translations for attributes ( #14085 )
...
fixes #13897
2017-01-25 17:43:19 -08:00
Victor Berchet
1c24271daf
refactor(compiler): [i18n] integrate review feedback
2017-01-24 14:47:04 -08:00
Victor Berchet
c3e5ddbe20
refactor(compiler): [i18n] move dedup and placeholder mapping to the MessageBundle
...
It makes implementing a `Serializer` simpler as implementations do not have to
care any more about message dedup and placeholder mapping.
2017-01-24 14:47:04 -08:00