Andrei Tserakhau
5eca6e4e40
bug(datePipe): passing "hh" to the datepipe ( #9774 )
...
closes #9759
2016-07-01 15:34:57 -07:00
choeller
eef9512ce6
fix(forms): async validator-directives process Observables correctly ( #8186 )
...
Closes #/8022
2016-06-26 16:52:50 -06:00
Julie Ralph
1143b0389a
fix(core/testing): move ComponentFixture to core ( #9386 )
...
BREAKING CHANGE:
`ComponentFixture` will be moving out of `@angular/compiler/testing` to `@angular/core/testing` in
this release. For now, it is deprecated from `@angular/compiler/testing`.
2016-06-24 12:41:49 -07:00
Julie Ralph
8a9e9c7bd3
fix(core/testing): clean up the core testing public API ( #9466 )
...
Previously, we were exporting internal mocks and helpers. Move these
to core/testing/testing_internal or remove them if they were
never used.
Remove deprecated items - injectAsync, clearPendingTimers.
BREAKING CHANGE:
Remove the following APIs from `@angular/core/testing`, which have been deprecated or were
never intended to be publicly exported:
```
injectAsync
clearPendingTimers
Log
MockAppliacationHref
MockNgZone
clearPendingTimers
getTypeOf
instantiateType
```
Instead of `injectAsync`, use `async(inject())`.
`clearPendingTimers` is no longer required.
2016-06-23 17:10:22 -07:00
Julie Ralph
3d8eb8cbca
fix(platform-browser/testing): clean up public api for platform-browser/testing ( #9519 )
...
Mostly, removing things that were never intended to be exported publicy.
BREAKING CHANGE:
The following are no longer publicly exported APIs. They were intended as internal
utilities and you should use your own util:
```
browserDetection,
dispatchEvent,
el,
normalizeCSS,
stringifyElement,
expect (and custom matchers for Jasmine)
```
2016-06-23 16:42:25 -07:00
Victor Berchet
fed1672a43
refactor(i18n): I18nPipe uses NgLocalization ( #9313 )
...
and some refactoring
2016-06-23 11:44:05 -07:00
ScottSWu
ae75e3640a
chore(lint): Added license headers to most TypeScript files
...
Relates to #9380
2016-06-23 09:47:54 -07:00
Victor Berchet
e1e5c40ef7
fix(testing): remove the `toThrowErrorWith` matcher (jasmine has `toThrowError`)
...
BREAKING CHANGE:
Before:
expect(...).toThrowErrorWith(msg);
After:
expect(...).toThrowError(msg);
2016-06-23 08:58:52 -07:00
Andrei Tserakhau
2d60ff14ae
bug(datePipe): date format pipe's 2-digit interpretation of minutes and seconds ( #9338 )
...
Closes #9333
2016-06-18 09:03:58 -07:00
Andrei Tserakhau
5c8d3154d7
feat(datePipe): numeric string support
2016-06-17 15:58:06 -07:00
Victor Berchet
40f8a45b95
test(DatePipe): fixes
2016-06-17 15:48:26 -07:00
Victor Berchet
49bf3f5b3a
fix(NumberPipe): fix broken RegExp
...
introduced in 7498050421
(#9308 )
2016-06-17 15:33:25 -07:00
Victor Berchet
721f53f0d6
feat(I18N Expander): do not add extra `<ul>` & `<li>` around ICU messages ( #9283 )
...
fixes #9072
2016-06-17 11:38:24 -07:00
Victor Berchet
5e3ccbcea9
refactor: add types ( #9288 )
2016-06-17 10:57:32 -07:00
Victor Berchet
8a54c1a115
refactor(ViewBuilder): cleanup
2016-06-14 19:11:30 -07:00
Kara
22916bb5d1
feat(forms): add easy way to switch between forms modules ( #9202 )
2016-06-14 18:23:40 -07:00
Kara Erickson
a191e9697c
feat(forms): support setting control name in ngModelOptions
2016-06-13 16:57:10 -07:00
Kara Erickson
5c0cfdee48
fix(forms): separate ngModelGroup from formGroupName
2016-06-13 13:41:39 -07:00
Kara Erickson
61960c51a3
feat(forms): compose validator fns automatically if arrays
2016-06-13 11:41:32 -07:00
Kara Erickson
2b8d12ddf0
chore(forms): rename ngControl to formControlName
2016-06-12 13:17:36 -07:00
Victor Berchet
1f6fd3c8fc
refactor: add types ( #9148 )
2016-06-11 21:23:37 -07:00
Kara Erickson
7d9c1e1225
chore(forms): rename ngFormModel to formGroup
2016-06-10 19:10:17 -07:00
Kara Erickson
d53edfec47
chore(forms): rename ngFormControl to formControl
2016-06-10 17:28:19 -07:00
Kara Erickson
b866f32832
chore(forms): rename Control, ControlGroup, and ControlArray classes
2016-06-10 12:00:18 -07:00
Misko Hevery
9c0031f7a5
fix: broken build due to bad noImplicitAny merge
2016-06-10 10:35:36 -07:00
Shlomi Assaf
164a091c71
feat(NgTemplateOutlet): add context to NgTemplateOutlet
...
Closes #9042
2016-06-10 10:25:44 -07:00
Kara Erickson
4ed6cf7519
feat(forms): allow ngModel to register with parent form
2016-06-10 10:24:01 -07:00
Rob Wormald
e1fcab777c
fix(ngSwitch): use switchCase instead of switchWhen ( #9076 )
2016-06-09 22:52:30 -07:00
Alex Eagle
f39c9c9e75
style(lint): re-format modules/@angular
2016-06-09 17:00:15 -07:00
Victor Berchet
7ce0fc7d47
refactor: add types ( #9116 )
2016-06-09 11:04:15 -07:00
Kara Erickson
e213939f28
chore(forms): fix implicit any
2016-06-08 17:08:59 -07:00
Kara Erickson
4c39eace52
feat(forms): add new forms folder
2016-06-08 16:41:08 -07:00
ScottSWu
86fbd50c3d
refactor(TypeScript): Add noImplicitAny
...
We automatically insert explicit 'any's where needed. These need to be
addressed as in #9100 .
Fixes #4924
2016-06-08 16:20:50 -07:00
Kara Erickson
50acb96130
fix(forms): update value and validity when controls are added
...
Closes #8826
2016-06-08 14:06:20 -07:00
Kara Erickson
515a8e0765
fix(forms): rename old forms folder to forms-deprecated
2016-06-08 11:21:58 -07:00
Victor Berchet
a6ad61d83e
refactor: change provide(...) for {provide: ...}
...
- provide() is deprecated,
- {} syntax is required by the offline compiler
2016-06-03 15:03:49 -07:00
Andrei Tserakhau
324f0147f6
feat(common/datePipe): change date formatter to use correct pattern closes #7008 ( #8154 )
...
- add regular expression to parse date parts
- add date part creator function
- replace tokens in pattern to parsed parts
2016-05-26 12:06:29 -07:00
Anton Moiseev
420e83a396
feat(forms): add the submitted flag to NgForm and NgFormModel directives
...
Closes #2960
Closes #7449
2016-05-26 10:48:13 -07:00
Victor Berchet
352ee53202
Revert "feat(AsyncPipe): allow onError argument"
...
This reverts commit 390046d7b3
.
CI fails for IE on win8.
PR #7990
2016-05-25 17:23:20 -07:00
cexbrayat
83c19a1fbc
fix(pipes): handle undefined value in slice
...
Closes #7152
2016-05-24 20:58:14 -07:00
Kara Erickson
6dc88f5b61
fix(forms): radio buttons with different names should not share state
...
Closes #7051
2016-05-24 20:07:57 -07:00
Kara Erickson
7a2ce7ff21
fix(forms): update accessor value when native select value changes
...
Closes #8710
2016-05-24 20:03:49 -07:00
Victor Berchet
75e6dfb9ab
fix(browser): platform code cleanup
2016-05-23 17:57:28 -07:00
laco0416
abc266fa35
feat(common): DatePipe supports ISO string
...
Closes #7794
2016-05-23 12:30:02 -07:00
gdi2290
390046d7b3
feat(AsyncPipe): allow onError argument
...
Closes #7990
2016-05-19 16:49:28 -07:00
Misko Hevery
3e17c99f4e
chore: clang-reformat
2016-05-01 22:59:41 -07:00
Misko Hevery
2570b72158
fix: textSelection on FireFox
2016-05-01 22:27:55 -07:00
Igor Minar
a66cdb469f
repackaging: all the repackaging changes squashed
2016-05-01 20:51:00 -07:00
Igor Minar
505da6c0a8
repackaging: all the file moves
2016-05-01 20:51:00 -07:00