Naomi Black
cf6ffd5469
docs(fix-docgen): Fix docgen issues with some recent updates to core
2015-08-06 23:17:22 -07:00
Peter Bacon Darwin
d40ff0bb89
chore(doc-gen): render enum doctypes correctly
2015-08-06 23:10:35 -07:00
Peter Bacon Darwin
c4296285f3
chore(doc-gen): render enum doctypes correctly
2015-08-06 23:10:35 -07:00
vsavkin
106a28b8dc
feat(refactor): replaced ObservablePipe and PromisePipe with AsyncPipe
2015-08-07 02:10:32 +00:00
Jeremy Elbourn
bd498977bd
chore(material): clean up old workarounds with new features.
2015-08-06 17:54:34 -07:00
Jeremy Elbourn
7c52bc9768
chore(release): update version & changelog to alpha34
2015-08-06 17:39:27 -07:00
Alex Eagle
643c71740e
chore(build): enable type-checking for TypeScript ES6 emit.
...
This requires delicate handling of type definitions which collide, because
we use TypeScript-provided lib.d.ts for --target=es5 and lib.es6.d.ts for
--target=es6.
We need to include our polyfill typings only in the --target=es5 case,
and the usages have to be consistent with lib.es6.d.ts.
Also starting with this change we now typecheck additional modules,
so this fixes a bunch of wrong typings which were never checked before.
Fixes #3178
2015-08-06 16:57:52 -07:00
Tim Blasi
40a3cd2ab1
style(dart/transform): Do not format generated code by default
...
Formatting code requires time and memory during the build -- do not do
it unless explicitly requested via a parameter to the transformer.
Add an entry to the
[wiki](https://github.com/angular/angular/wiki/Angular-2-Dart-Transformer )
describing the added parameter.
2015-08-06 23:32:01 +00:00
Tim Blasi
3db0ae1dac
refactor(dart/transform): Show friendly messages for transform failures
...
Previously, the error messages coming out of the Dart transformer were
opaque when those errors came from the analyzer (for example, analyzer
parse errors). Log more useful errors when they are caught by the
transform code.
2015-08-06 22:28:10 +00:00
vsavkin
07b9be798c
fix(exception_handler): log errors that are thrown by the compiler
2015-08-06 15:26:24 -07:00
Alex Eagle
b4a062983b
fix(dart): @proxy is a value, not a factory
...
Previously I added parens everywhere to make this @proxy() because our typing indicated
it was a function that returned a decorator, but this breaks dart. Instead, the typing needs
to be changed.
Fixes #3494
2015-08-06 10:02:49 -07:00
Tim Blasi
f11f4e0b45
style(dart): Format with dartfmt v0.2.0
...
Format all pure Dart code with package:dart_style v0.2.0
Command:
```
find -type f -name "*.dart" | xargs dartformat -w
```
2015-08-05 11:04:29 -07:00
Brian Ford
450d3630cc
test(router): add tests for router.d.ts
...
Closes #3282
2015-08-05 00:29:32 +00:00
Marc Laval
166688348a
chore(browsers): fix failing tests in IE11
...
Closes #3388
2015-08-04 22:45:46 +02:00
Pascal Precht
39ad50657e
refactor(di/tests): removes unecessary for-loop
...
Closes #3268
2015-08-04 20:14:04 +00:00
Martin Probst
a62a6ba40a
feat: upgrade ts2dart to 0.7.1.
...
This supports the promise re-export from es6-promise.d.ts.
2015-08-04 19:56:02 +00:00
Martin Probst
0bb78b7ef4
feat: enable the decorators compiler option.
...
This quenches a warning during compilation.
2015-08-04 19:56:02 +00:00
Martin Probst
861be30021
feat: export a proper promise type.
...
Promise used to be typed as any, giving incorrect results. This change
fixes places that were incorrectly typed and re-exports the actual
Promise type from es6-promise.
It also fixes a series of compilation errors discovered/triggered by
this change.
2015-08-04 19:56:02 +00:00
Steve Mao
27aa9187f0
docs(CONTRIBUTING): sync with the change of angular/angular.js#12032
...
Closes #3468
2015-08-04 19:54:31 +00:00
Tim Blasi
c58b0ff787
refactor(change_detect): Share more codegen logic
...
Move more logic in our codegen into a shared util which is called by the
Jit & Prege change detector code.
2015-08-04 18:55:07 +00:00
vsavkin
392de4af67
feat(pipes): replaces iterable and key value diffing pipes with services
...
BREAKING CHANGE:
Directives that previously injected Pipes to get iterableDiff or keyvalueDiff, now should inject IterableDiffers and KeyValueDiffers.
2015-08-04 10:39:55 -07:00
Jeremy Elbourn
c20a5d65d8
fix(compiler): Allow components to use any style of selector. Fixes #1602
2015-08-04 09:34:03 -07:00
Pawel Kozlowski
4422819754
fix(parser): detect empty expression in strings to interpolate
...
Fixes #3412
Closes #3451
2015-08-04 08:44:14 +02:00
Pawel Kozlowski
6eaa09ac20
refactor(injector): remove unused consts
...
Closes #3454
2015-08-04 08:40:27 +02:00
mgechev
c0adae69ac
docs(Router): router config
...
Closes #2853
2015-08-04 02:03:26 +00:00
gdi2290
cfedc77ce1
test(XHRConnection): normalize responseText and response
...
normalize xhr.responseText and xhr.response
- [x] Tests
Closes #2882
2015-08-04 00:39:11 +00:00
gdi2290
96eefdfebc
fix(XHRConnection): use xhr status code
...
closes #2841
- [x] Tests
2015-08-04 00:39:11 +00:00
Matias Niemelä
7bf7ec6d9c
fix(router): ensure navigation via back button works
...
The router will now navigate and respect the current address value
accordingly whenever a popState event is handled.
Closes #2201
2015-08-03 22:24:57 +00:00
Matias Niemelä
60f38eab78
feat(router): add `back()` support to `MockLocationStrategy`
2015-08-03 22:24:57 +00:00
Naomi Black
209aefee57
docs(fix-docgen): Fix docgen issues with some recent updates to core
2015-08-03 14:27:02 -07:00
Ted Sander
be79942ebd
feat(transformers): add more information to factory debug reflection
...
Add the symbol information to debug_reflection_capabilities when asking
for a factory to make finding the type easier in large codebases.
2015-08-03 13:36:13 -07:00
Dima Kuzmich
1beaf81e98
docs(View): correct templateUrl and template definition
...
Fixes #3444
Closes #3447
2015-08-03 14:20:35 +02:00
Marc Laval
12e4c738c9
fix(collection): MapIterator.next() is not supported (Safari)
...
Fixes #3015
Closes #3389
2015-08-03 12:18:21 +02:00
Marc Laval
8822460858
chore(browsers): fix failing tests in Firefox
...
Closes #3386
2015-08-03 12:17:44 +02:00
Pawel Kozlowski
53788ef827
revert "chore(doc-gen): render enum doctypes correctly"
...
This reverts commit b8e82e4db3
as it was breaking build on master.
2015-08-03 11:00:47 +02:00
Peter Bacon Darwin
b8e82e4db3
chore(doc-gen): render enum doctypes correctly
2015-08-02 22:45:20 -07:00
Naomi Black
94690ec5b0
docs(link): Fix the link to an enum for ViewEncapsulation
2015-08-02 22:29:39 -07:00
Misko Hevery
77875a270d
feat: implement web-tracing-framework support
...
This includes implementation and minimal instrumentation
Closes #2610
2015-07-31 23:04:05 +00:00
Alex Eagle
6d272cc5f9
chore(travis): upload artifacts for all branches
...
We want to get the presubmit* branch artifacts for further testing
2015-07-31 15:58:53 -07:00
Jeremy Elbourn
6d280ea31f
feat(md-button): enhance button focus appearance.
2015-07-31 14:12:25 -07:00
Yegor Jbanov
7354206c74
chore(examples): manual encoding of data: urls is no longer necessary
2015-07-31 20:46:53 +00:00
Misko Hevery
39b0286d6b
fix: remove unused imports
2015-07-31 20:40:33 +00:00
Misko Hevery
dad9338c82
docs(type): Export Type so that we can link to it in our docs.
...
Closes #3345
2015-07-31 20:40:33 +00:00
Peter Bacon Darwin
f6da89f74f
chore(doc-gen): export interfaces over vars
...
If a symbol is declared as an interface and a var then we should export
it as an interface rather than a var.
2015-07-31 20:40:33 +00:00
vsavkin
3437d56904
feat(core): made directives shadow native element properties
...
BREAKING CHANGE
Previously, if an element had a property, Angular would update that property even if there was a directive placed on the same element with the same property. Now, the directive would have to explicitly update the native elmement by either using hostProperties or the renderer.
2015-07-31 20:29:57 +00:00
Alex Eagle
3c58878b19
chore(build): Upgrade to TypeScript@1.5.3
...
This change also makes us compliant with 1.6.0-dev compiler,
so we can do some experiments with apps that use 1.6 features
and compile against Angular.
We should probably add a travis build for 1.6 so we stay compatible
with both versions.
2015-07-31 20:01:27 +00:00
Jason Teplitz
c5cb7009ca
feat(WebWorkers): Add WebWorker Todo Example. Add support for more DOM events.
...
Fixed breakage caused by previous DI commit in WebWorker Todo example
2015-07-31 19:48:18 +00:00
vsavkin
adc27398fd
perf(change_detection): do not generate onAllChangesDone when not needed
2015-07-31 19:23:00 +00:00
Tobias Bosch
dd06a871b7
fix(render): allow to configure when templates are serialized to strings
...
Introduces the injectable `TemplateCloner` that can be configured via the new token `MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE_TOKEN`.
Also replaces `document.adoptNode` with `document.importNode` as otherwise
custom elements are not triggered in chrome 43.
Closes #3418
Closes #3433
2015-07-31 12:04:32 -07:00
Tobias Bosch
014b6cb397
Revert "feat(WebWorkers): Add WebWorker Todo Example. Add support for more DOM events."
...
This reverts commit d44827a4c5
.
This broke master due to a race condition in our presubmit queue.
2015-07-31 11:40:15 -07:00