Victor Berchet
41178367d1
feat(HtmlLexer): better hint on unclosed ICU message errors
...
fixes #10227
2016-07-22 17:27:15 -07:00
Victor Berchet
54f2edbb90
refactor(Lexer): code cleanup
2016-07-22 16:50:54 -07:00
Victor Berchet
b652a7fc9f
chore: remove obsolete files ( #10240 )
2016-07-22 16:18:31 -07:00
Jason Choi
64fc4648b7
fix(testing): correctly import NgMatchers ( #10077 )
...
Some test cases incorrectly rely on the side effect of other test cases
importing `NgMatchers`. This commit fixes this by making `expect` in
`core/testing_internal` properly typed.
2016-07-22 09:20:51 -07:00
Victor Berchet
00aa7a76b6
chore(tests): enable lint, make it green. ( #10224 )
2016-07-21 17:12:00 -07:00
Martin Probst
a441b5b8fe
feat(security): categorize <track src> as a regular URL.
...
After security review, it turns out we were too paranoid about <track src>. Its content is not actually active or dangerous.
Fixes #10089 .
2016-07-21 13:53:35 -07:00
Julie Ralph
b43f95435b
fix(testing): add an explicit doAsyncPrecompilation step ( #10015 )
...
This removes the magic from the `inject` test helper that would inspect
the current zone and would only work with our `async` test helper.
Now, `inject` is always synchronous, and if you are using a module
that requires async precompilation, you're required to call
`doAsyncPrecompilation` in your tests.
This is part of the breaking changes introduced with the swap
to each test having an AppModule.
Closes #9975
Closes #9593
BREAKING CHANGE:
`TestInjector` is now renamed to `TestBed`
Before:
```js
import {TestInjector, getTestInjector} from '@angular/core/testing';
```
After:
```js
import {TestBed, getTestBed} from '@angular/core/testing';
```
2016-07-20 10:51:21 -07:00
Chuck Jazdzewski
961c9d48ae
fix(compiler): Query expression lambdas should have dynamic type
...
Fixes : #9875
2016-07-13 15:41:30 -07:00
Chuck Jazdzewski
9229bbbc80
Revert "fix(compiler): Generates function expressions as returning any ( #9980 )"
...
This reverts commit eb5763c23f .
2016-07-13 15:41:30 -07:00
Alex Eagle
4c762a6be3
chore(lint): enable lint check for duplicate vars
2016-07-13 12:33:39 -07:00
Victor Berchet
42b0c1d8a2
refactor: misc cleanup ( #10046 )
2016-07-13 11:01:32 -07:00
Victor Berchet
0ccb6e0dfc
refactor: code cleanup
2016-07-12 16:57:39 -07:00
Victor Berchet
3050ae155c
feat(ICU): enable ICU extraction even when when in is not used
...
BREAKING CHANGES:
"{" is used a a delimiter for ICU messages then it could not be used in text nodes.
"{" should be escaped as "{{ '{' }}"
Before:
<span>some { valid } text</span>
After:
<span>some { invalid } text<span> <!-- throw parse error -->
<span>some {{ '{' }} valid } text</span>
2016-07-12 16:57:39 -07:00
Victor Berchet
402fd934d0
refactor: code cleanup
2016-07-12 15:26:03 -07:00
Victor Berchet
6c86e8d80a
test(HtmlLexer): Add test for "{" and "{{" escaping
2016-07-12 15:26:03 -07:00
Victor Berchet
60e6f91a53
refactor(HmtlLexer): cleanup
2016-07-12 15:26:03 -07:00
Victor Berchet
e676fded21
refactor(Lexer): add types
...
relates to #9100
2016-07-12 15:26:03 -07:00
Victor Berchet
25e070dd65
fix(HtmlParser): correctly propagate the interpolation config across layers
2016-07-12 15:26:03 -07:00
Matias Niemelä
806a25413c
feat(animations): allow animation integration support into host params
...
Closes #9044
Closes #9933
2016-07-12 14:55:36 -07:00
Matias Niemelä
5af1e891cd
fix(animations): throw errors when duplicate component trigger names are registered
2016-07-12 14:55:31 -07:00
Matias Niemelä
79eda30f0f
refactor(animations): collect parser / lookup errors in the same place
2016-07-12 14:55:27 -07:00
Victor Berchet
6d02d2f107
fix(SyncAsyncResult): fix default async value ( #10013 )
2016-07-12 13:55:06 -07:00
Victor Berchet
27436270fd
fix(Compiler): Catch exceptions in the logging of binding update
...
fixes #9994
2016-07-12 11:21:32 -07:00
Chuck Jazdzewski
eb5763c23f
fix(compiler): Generates function expressions as returning any ( #9980 )
...
Function expressions are used in an expression context so untyped
function expressions should have any as the result type.
Fixes : #9877
2016-07-11 17:19:38 -07:00
Victor Berchet
d1a3e3aff1
fix(DirectiveResolver): throw on duplicate Input & Output names
2016-07-11 16:38:06 -07:00
Victor Berchet
93d0a01d3d
refactor: code cleanup
2016-07-11 16:22:23 -07:00
Julie Ralph
9af2d8b810
fix(testing): remove deprecated testing APIs ( #9923 )
...
See https://github.com/angular/angular/blob/master/CHANGELOG.md for
prior deprecation and how to update.
2016-07-11 16:04:32 -07:00
Chuck Jazdzewski
4ec2a30942
fix(compiler): Fixed ?. operator to short-circut execution ( #9965 )
...
Fixes : #9850
2016-07-11 12:58:56 -07:00
Victor Berchet
57473e72ec
refactor: code cleanup ( #9931 )
2016-07-09 10:12:39 -07:00
Matias Niemelä
c3bdd504d0
fix(animations): ensure all child elements are rendered before running animations
...
Closes #9402
Closes #9775
Closes #9887
2016-07-08 18:18:46 -07:00