00d3b60 | Tobias Bosch | 02 May 2016, 16:38:46 UTC | fix(compiler): support css stylesheets in offline compiler | 02 May 2016, 22:06:46 UTC |
c386fc8 | Tobias Bosch | 02 May 2016, 16:56:38 UTC | chore: make compiler_cli build again | 02 May 2016, 22:06:46 UTC |
4352717 | Tobias Bosch | 02 May 2016, 16:38:16 UTC | chore: don’t shadow `tsconfig.json` used for editors by build specific tsconfig.json | 02 May 2016, 22:06:46 UTC |
b88384e | Igor Minar | 02 May 2016, 21:10:58 UTC | build: add router-deprecated to the publishing scripts | 02 May 2016, 21:10:58 UTC |
107016e | Misko Hevery | 02 May 2016, 17:36:58 UTC | chore: router move import changes | 02 May 2016, 20:27:03 UTC |
d930ad1 | Miško Hevery | 02 May 2016, 17:11:21 UTC | chore: router move-only | 02 May 2016, 20:27:03 UTC |
072446a | Alex Eagle | 01 May 2016, 18:22:39 UTC | feat(offline compiler): add metadata emit Also add a configuration switch to disable the codegen, so we can still use the metadata emit and tsickle pre-processing in the build pipeline for angular itself. | 02 May 2016, 18:47:59 UTC |
2e1f3f0 | Igor Minar | 02 May 2016, 05:54:19 UTC | build: adding basic e2e testing infrastructure | 02 May 2016, 15:15:10 UTC |
fdd8bd1 | Tobias Bosch | 02 May 2016, 05:47:49 UTC | chore: use `ng2tc` for compiling and running tests on ci | 02 May 2016, 06:40:59 UTC |
7db911f | Tobias Bosch | 02 May 2016, 05:55:25 UTC | chore: update to tsickle 0.1.2 | 02 May 2016, 06:40:59 UTC |
b6fd811 | Tobias Bosch | 02 May 2016, 05:47:25 UTC | feat(core): support the decorator data that tsickle produces | 02 May 2016, 06:40:59 UTC |
3ae856a | Alex Eagle | 02 May 2016, 01:48:38 UTC | build(tsc): Use angular2-template-compiler in place of tsc This lets us down-level Decorators with tsickle and produce .metadata.json files for users to reference when offline-compiling their app. | 02 May 2016, 06:40:59 UTC |
ce5b372 | Misko Hevery | 02 May 2016, 05:53:43 UTC | chore: add lint job to travis | 02 May 2016, 05:59:41 UTC |
3e17c99 | Misko Hevery | 02 May 2016, 05:50:37 UTC | chore: clang-reformat | 02 May 2016, 05:59:41 UTC |
bb89766 | Misko Hevery | 02 May 2016, 05:22:26 UTC | fix: karma timouts for saucelabs | 02 May 2016, 05:27:55 UTC |
cd52318 | Misko Hevery | 02 May 2016, 05:09:58 UTC | fix: parse browser detection lazily | 02 May 2016, 05:27:55 UTC |
2570b72 | Misko Hevery | 02 May 2016, 04:50:23 UTC | fix: textSelection on FireFox | 02 May 2016, 05:27:55 UTC |
6e79de7 | Misko Hevery | 02 May 2016, 03:53:26 UTC | fix: function name shim test | 02 May 2016, 05:27:55 UTC |
c4be30d | Alex Eagle | 02 May 2016, 01:44:48 UTC | Revert "build(tsc): Use angular2-template-compiler in place of tsc" This reverts commit 3d25294f706e0fd6224b20372be1e961959c0af8. | 02 May 2016, 03:51:00 UTC |
57240c8 | Alex Eagle | 02 May 2016, 01:23:16 UTC | build(tsc): Use angular2-template-compiler in place of tsc This gives us tsickle pre-processing of Decorators, and produces .metadata.json files for users to consume in their offline compilation. | 02 May 2016, 03:51:00 UTC |
a66cdb4 | Igor Minar | 29 April 2016, 00:50:03 UTC | repackaging: all the repackaging changes squashed | 02 May 2016, 03:51:00 UTC |
505da6c | Igor Minar | 28 April 2016, 15:02:15 UTC | repackaging: all the file moves | 02 May 2016, 03:51:00 UTC |
4fe0f1f | vsavkin | 02 May 2016, 00:07:10 UTC | feat(router): set router-link-active when RouterLink is active Closes #8376 | 02 May 2016, 01:03:22 UTC |
ec4ca0e | vsavkin | 01 May 2016, 22:47:47 UTC | feat(router): implements support for router-link-active | 02 May 2016, 01:03:22 UTC |
db95fd6 | Alex Eagle | 29 April 2016, 17:35:36 UTC | build(offline compiler): package the compiler-cli for users Closes #8341 | 02 May 2016, 00:38:54 UTC |
ca13f1c | vsavkin | 01 May 2016, 21:33:53 UTC | fix(router): create a route tree when creating the router service Closes #8365 | 01 May 2016, 21:38:25 UTC |
277b1fc | vsavkin | 01 May 2016, 20:45:14 UTC | feat(router): add RouteTree and UrlTree as aliases to Tree<RouteSegment> and Tree<UrlSegment> | 01 May 2016, 21:38:25 UTC |
8836219 | vsavkin | 01 May 2016, 01:08:26 UTC | feat(router): add support for wildcards | 01 May 2016, 21:38:25 UTC |
6f5e3f9 | Alex Eagle | 01 May 2016, 18:38:42 UTC | Update evaluator.spec.ts Fix stray `fit` that skips tools tests Closes #8373 | 01 May 2016, 18:43:32 UTC |
a84c2d7 | Alex Eagle | 29 April 2016, 17:08:56 UTC | fix(typescript): strip abstract keyword from properties in .d.ts Fixes angular2/src/alt_router/metadata/metadata.d.ts Closes #8339 | 01 May 2016, 02:59:15 UTC |
f114d6c | Tobias Bosch | 30 April 2016, 23:13:03 UTC | fix(compiler): fix cross view references and providers with `useValue`. Before, we would create all fields in the generated views with visibility `private`. This does not work if an embedded view references a directive / element in a parent view. In Dart, this was no problem so far as it does not have a `private` modifier. Before, `useValue` in a provider did not work when doing offline compile, as so far the `MetadataResolver` was only used for jit mode. Now, `useValue` supports any kind of value that the static reflector can return. E.g. primitives, arrays, string maps, … Closes #8366 | 01 May 2016, 02:30:33 UTC |
163d80a | Tobias Bosch | 01 May 2016, 01:40:27 UTC | fix(compiler_cli): make sure the generated code gets compiled via tic | 01 May 2016, 02:30:33 UTC |
9e05814 | Tobias Bosch | 30 April 2016, 19:27:37 UTC | chore: move StaticReflector into compiler_cli, part 2 Adjust tests and build to run the unit tests again after the move. Closes #8363 | 30 April 2016, 20:53:54 UTC |
ab56be4 | Tobias Bosch | 30 April 2016, 19:30:00 UTC | chore: move static_reflector into compiler_cli Most of the bugs discovered so far in the offline compiler were related to the StaticReflector. As it was part of angular2 core, it was hard to update. Moving it into the compiler_cli allows to release more often until the compiler_cli gets more stable. Note: Moving the unit test next to the sources is the simplest option for now in terms of build setup. Note: This commit only does the move. The next commit updates the build to run it again. | 30 April 2016, 20:53:54 UTC |
6a0cbb8 | Tobias Bosch | 30 April 2016, 17:52:04 UTC | refactor(core): type `ComponentRef`, `ComponentFactory` and `ComponentFixture` by the component type BREAKING CHANGE: - `ComponetRef`, `ComponentFactory`, `ComponentFixture` now all require a type parameter with the component type. Closes #8361 | 30 April 2016, 19:47:54 UTC |
4e2c683 | Tobias Bosch | 30 April 2016, 18:36:40 UTC | chore: update ts2dart to 0.9.10 | 30 April 2016, 19:47:54 UTC |
62a0809 | vsavkin | 30 April 2016, 18:57:02 UTC | feat(router): listen to location changes Closes #8362 | 30 April 2016, 19:02:14 UTC |
76d6f5f | vsavkin | 30 April 2016, 17:33:14 UTC | fix(router): canDeactivate should not change the url when returns false Closes #8360 | 30 April 2016, 17:50:28 UTC |
0f1b370 | Julie Ralph | 27 April 2016, 03:51:10 UTC | feat(tests): add ROUTER_FAKE_PROVIDERS to angular2/alt_router/router_testing_providers This change adds providers for fake router dependecies. This allows TestComponentBuilder to create components with RouterLink and RouterOutlet directives without the test writer needing to override them. | 30 April 2016, 16:42:15 UTC |
e589f99 | Gautam krishna.R | 25 March 2016, 06:10:24 UTC | chore: align badges in README.md | 30 April 2016, 15:47:49 UTC |
0f774df | Tobias Bosch | 30 April 2016, 00:07:28 UTC | fix(compiler): project using the right directive as component. Closes #8344 | 30 April 2016, 01:30:30 UTC |
351f24e | Tobias Bosch | 29 April 2016, 19:58:45 UTC | fix(core): return the ChangeDetectorRef of the component also for embedded views. | 30 April 2016, 01:30:30 UTC |
aecb60a | Tobias Bosch | 29 April 2016, 19:09:29 UTC | refactor(core): use `Function.bind` for referring to event listeners instead of a closure. | 30 April 2016, 01:30:30 UTC |
4d691b6 | Tobias Bosch | 29 April 2016, 19:04:03 UTC | fix(core): check components if an event handler inside of an embedded view fires. BREAKING CHANGE: - ViewRef.changeDetectorRef was removed as using ChangeDetectorRefs for EmbeddedViewRefs does not make sense. Use ComponentRef.changeDetectorRef or inject ChangeDetectorRef instead. Fixes #8242 | 30 April 2016, 01:30:29 UTC |
11955f9 | Tobias Bosch | 29 April 2016, 17:43:26 UTC | fix(compiler): support empty array and map literals. This was broken after 152a117d5c27e56d1b32d69df2f69d34b94c0760 Fixes #8336 | 30 April 2016, 01:30:29 UTC |
5ff31f0 | vsavkin | 30 April 2016, 01:05:36 UTC | build(router): create alt_router bundle | 30 April 2016, 01:05:36 UTC |
deba804 | vsavkin | 30 April 2016, 01:05:06 UTC | feat(router): add CanDeactivate | 30 April 2016, 01:05:06 UTC |
e5b87e5 | vsavkin | 30 April 2016, 01:04:55 UTC | feat(router): implement relative navigation | 30 April 2016, 01:04:55 UTC |
d097784 | Martin Probst | 30 April 2016, 00:18:05 UTC | chore: adjust public API spec to API changes. | 30 April 2016, 00:34:32 UTC |
15f6b27 | Tobias Bosch | 29 April 2016, 23:27:21 UTC | refactor(compiler): support referenced `OpaqueToken`s correctly in offline compiler. | 29 April 2016, 23:53:51 UTC |
176e559 | Martin Probst | 29 April 2016, 21:34:01 UTC | refactor(compiler): support hash syntax for providers. | 29 April 2016, 23:53:50 UTC |
365be6a | Martin Probst | 29 April 2016, 06:28:13 UTC | chore: clang-format after various changes. | 29 April 2016, 23:53:50 UTC |
713e6d4 | Martin Probst | 29 April 2016, 06:12:52 UTC | chore: adjust router to /*@ts2dart...*/ | 29 April 2016, 23:53:50 UTC |
a8e277b | Misko Hevery | 26 April 2016, 05:25:21 UTC | chore: remove const Provider() in favor of /* @ts2dart_Provider */ {provide:} | 29 April 2016, 23:53:50 UTC |
3aa322a | Misko Hevery | 26 April 2016, 04:58:48 UTC | chore: replace @CONST() with /*@ts2dart_const*/ | 29 April 2016, 23:53:50 UTC |
a02614b | Misko Hevery | 26 April 2016, 04:47:33 UTC | chore: replace CONST_EXPR with /*@ts2dart_const*/ | 29 April 2016, 23:53:49 UTC |
d2527b5 | Misko Hevery | 26 April 2016, 04:31:46 UTC | chore: upgrade to ts2dart@0.9.9 | 29 April 2016, 23:53:49 UTC |
46cd868 | Misko Hevery | 26 April 2016, 04:04:06 UTC | feat(di): support map literals as providers | 29 April 2016, 23:53:49 UTC |
b1a9e44 | Tobias Bosch | 29 April 2016, 16:11:57 UTC | fix(perf): don’t use `try/catch` in production mode The previous code that had `try/catch` statements in methods could not be optimized by Chrome. This change separates `AppView` (no `try/catch`) form `DebugAppView` (always `try/catch`). Our codegen will use `AppView` in production mode and `DebugAppView` in debug mode. Closes #8338 | 29 April 2016, 17:18:57 UTC |
5297c9d | Tobias Bosch | 29 April 2016, 08:34:06 UTC | refactor(core): deprecate `DynamicComponentLoader` and `DebugNode.inject` BREAKING CHANGE: - `DynamicComponentLoader` is deprecated. Use `ComponentResolver` and `ViewContainerRef` directly. - `DebugNode.inject` is deprecated. use `DebugNode.injector.get` instead. | 29 April 2016, 08:37:58 UTC |
ee7cace | Tobias Bosch | 29 April 2016, 08:36:58 UTC | Revert "docs: deprecate `DynamicComponentLoader` and `DebugNode.inject`" This reverts commit a0b5964a63ab3680703adc336aab196444e9a43d. | 29 April 2016, 08:36:58 UTC |
a0b5964 | Tobias Bosch | 29 April 2016, 08:34:06 UTC | docs: deprecate `DynamicComponentLoader` and `DebugNode.inject` | 29 April 2016, 08:34:06 UTC |
cacdead | Tobias Bosch | 28 April 2016, 21:00:31 UTC | feat(core): introduce template context BREAKING CHANGE: - Before, a `EmbeddedViewRef` used to have methods for setting variables. Now, a user has to pass in a context object that represents all variables when an `EmbeddedViewRef` should be created. - `ViewContainerRef.createEmbeddedViewRef` now takes a context object as 2nd argument. - `EmbeddedViewRef.setLocal` and `getLocal` have been removed. Use `EmbeddedViewRef.context` to access the context. - `DebugNode.locals` has been removed. Use the new methods `DebugElement.references` to get the references that are present on this element, or `DebugElement.context` to get the context of the `EmbeddedViewRef` or the component to which the element belongs. Closes #8321 | 29 April 2016, 08:22:13 UTC |
96ae348 | Alex Eagle | 29 April 2016, 04:58:51 UTC | chore(build): fix formatting and tests Closes #8098 | 29 April 2016, 06:59:06 UTC |
78946fe | Alex Eagle | 29 April 2016, 04:57:16 UTC | feat(offline compiler): a replacement for tsc that compiles templates see #7483. | 29 April 2016, 04:57:16 UTC |
33e53c9 | Alex Eagle | 29 April 2016, 04:55:18 UTC | chore(compiler): add dependency on tsickle This tool lets us re-write TypeScript sources before entering the emit pipeline. For example, we lower Decorators to the tree-shakable Annotation form. | 29 April 2016, 04:55:18 UTC |
c493d88 | Alex Eagle | 29 April 2016, 04:54:02 UTC | chore(compiler): refactoring for offline compiler cli - pass a baseUrl for asset resolution from static symbols - fixes in StaticReflector to work with a path-aware host see #7483 | 29 April 2016, 04:54:02 UTC |
8bf6ef6 | Alex Eagle | 28 April 2016, 01:21:04 UTC | fix(metadata): expose Providers in metadata These worked in Dart because they were effectively exported even without the export keyword. Without exporting these symbols, they are not produced in .metadata.json files, which leaves dangling references from the Decorators that use them. | 29 April 2016, 04:31:28 UTC |
ca40ef5 | Alex Eagle | 28 April 2016, 00:54:06 UTC | fix(codegen): event handler has boolean return type | 29 April 2016, 04:31:28 UTC |
7c0d497 | Chuck Jazdzewski | 26 April 2016, 23:00:48 UTC | fix(8223): Preserve Provider expressions Preserves constructor calls in addition to function calls. Introduced a special case for forwardRef() similar to CONST_EXPR. | 29 April 2016, 04:31:28 UTC |
30de2db | vsavkin | 29 April 2016, 01:33:48 UTC | cleanup(router): make analyzer happy Closes #8220 | 29 April 2016, 02:45:57 UTC |
602641d | vsavkin | 29 April 2016, 00:45:12 UTC | feat(router): adds an example app using the new router | 29 April 2016, 02:45:57 UTC |
560cc14 | vsavkin | 28 April 2016, 15:01:27 UTC | feat(router): change location when navigating | 29 April 2016, 02:45:57 UTC |
de56dd5 | vsavkin | 27 April 2016, 22:37:20 UTC | feat(router): add RouterLink | 29 April 2016, 02:45:57 UTC |
fa5bfe4 | vsavkin | 27 April 2016, 22:37:11 UTC | feat(router): add link that support only absolute urls | 29 April 2016, 02:45:57 UTC |
446657b | vsavkin | 27 April 2016, 22:36:11 UTC | feat(router): update recognize to handle matrix parameters | 29 April 2016, 02:45:57 UTC |
79830f1 | vsavkin | 27 April 2016, 22:35:43 UTC | feat(router): add RouterUrlSerializer | 29 April 2016, 02:45:57 UTC |
6e1fed4 | vsavkin | 25 April 2016, 23:57:27 UTC | feat(router): add Router and RouterOutlet to support aux routes | 29 April 2016, 02:45:57 UTC |
d35c109 | vsavkin | 25 April 2016, 23:57:15 UTC | feat(router): update recognize to support aux routes | 29 April 2016, 02:45:57 UTC |
fad3b64 | vsavkin | 25 April 2016, 23:54:51 UTC | feat(router): update url parser to handle aux routes | 29 April 2016, 02:45:57 UTC |
073ec0a | Naomi Black | 29 April 2016, 02:03:54 UTC | chore(CHANGELOG): Fix breaking changes description Adds more info and examples about how ngFor is affected by the change. | 29 April 2016, 02:03:54 UTC |
70b23ae | Alex Eagle | 18 February 2016, 18:53:21 UTC | refactor(compiler): make static reflector work Also adjust `RuntimeMetadataResolver` to be able to use it. Also rename `RuntimeMetadataResolver` into `CompileMetadataResolver`. Closes #8313 | 28 April 2016, 23:06:17 UTC |
769835e | Vikram Subramanian | 26 April 2016, 23:38:54 UTC | feat(testing): Use NgZone in TestComponentBuilder. Instantiating the test component within an NgZone will let us track async tasks in event handlers and change detection. We can also do auto change detection when triggering events through dispatchEvent and not have to do fixture.detectChange() manually in the test. New API: ComponentFixture.autoDetectChanges() - This puts the fixture in auto detect mode that automatically calls detectChanges when the microtask queue is empty (Similar to how change detection is triggered in an actual application). ComponentFixture.isStable() - This returns a boolean whether the fixture is currently stable or has some async tasks that need to be completed. ComponentFixture.whenStable() - This returns a promise that is resolved when the fixture is stable after all async tasks are complete. Closes #8301 | 28 April 2016, 22:37:37 UTC |
ac55e1e | Vikram Subramanian | 28 April 2016, 19:03:13 UTC | fix(build): Resolve Dart analyzer issues with the Dart dev channel Closes #8316 | 28 April 2016, 20:35:56 UTC |
0700c8a | Martin Probst | 28 April 2016, 18:47:32 UTC | docs(changelog): update change log to 2.0.0-beta.17. | 28 April 2016, 18:47:32 UTC |
c79e657 | Martin Probst | 28 April 2016, 18:39:20 UTC | chore(release): bump version to 2.0.0-beta.17. | 28 April 2016, 18:39:20 UTC |
d964888 | Alex Eagle | 26 April 2016, 04:29:06 UTC | fix(metadata): Do not attach module names to metadata. The filename contains the module name as resolved by users, so the top-level module name is uneeded. Module names on references are replaced by capturing the import syntax from the module. This allows readers of the metadata to do the module resolution themselves. Fixes #8225 Fixes #8082 Closes #8256 | 28 April 2016, 01:58:13 UTC |
35cd0de | Vikram Subramanian | 26 April 2016, 20:06:50 UTC | chore(testing): Refactor test methods to have a uniform interface. Remove FunctionWithParamTokens. All test wrappers async, fakeAsync and inject now return just a Function instead of FunctionWithParamTokens. This makes them directly consumable by the test framework. Also the test framework code does not have to handle a union of Function and FunctionWithParamTokens everywhere. The Function returned by the above methods are considered asynchronous by the test framework if they return a Promise, synchronous otherwise. Closes #8257 | 28 April 2016, 01:16:25 UTC |
d2efac1 | Tobias Bosch | 26 April 2016, 02:52:24 UTC | feat(core): separate refs from vars. Introduces `ref-` to give a name to an element or a directive (also works for `<template>` elements), and `let-` to introduce an input variable for a `<template>` element. BREAKING CHANGE: - `#...` now always means `ref-`. - `<template #abc>` now defines a reference to the TemplateRef, instead of an input variable used inside of the template. - `#...` inside of a *ngIf, … directives is deprecated. Use `let …` instead. - `var-...` is deprecated. Replace with `let-...` for `<template>` elements and `ref-` for non `<template>` elements. Closes #7158 Closes #8264 | 28 April 2016, 01:13:40 UTC |
ff2ae7a | Julie Ralph | 25 April 2016, 06:11:30 UTC | fix(testing): allow test component builder to override directives from lists When a component uses a list of directives, such as `ROUTER_DIRECTIVES`, make `TestComponentBuilder#overrideDirective` work properly for members of the list. Closes #7397 Closes #8217 | 28 April 2016, 00:56:45 UTC |
e1058a4 | Hans Larsen | 28 April 2016, 00:41:57 UTC | Revert "feat(compiler): ElementSchema now has explicit DOM schema information" This reverts commit d327ac4b434cff8eb5e510c99f8c503940339e4d. | 28 April 2016, 00:41:57 UTC |
d327ac4 | Misko Hevery | 21 April 2016, 22:11:14 UTC | feat(compiler): ElementSchema now has explicit DOM schema information This makes the schema available for offline compile compiler as well. Closes #8179 | 27 April 2016, 22:57:28 UTC |
1ad2a02 | Pawel Kozlowski | 27 April 2016, 13:30:07 UTC | fix(core): properly evaluate expressions with conditional and boolean operators Fixes #8235 Fixes #8244 Closes #8282 | 27 April 2016, 21:25:50 UTC |
1e8864c | Tobias Bosch | 27 April 2016, 18:22:44 UTC | fix(compiler): Allow templates to access variables that are declared afterwards. Fixes #8261 | 27 April 2016, 18:22:44 UTC |
c209836 | Rado Kirov | 26 April 2016, 23:11:47 UTC | fix(changelog): fix changelog script. One charecter missing from https://github.com/angular/angular/commit/140a878a3d48a62bbef4e3ce68f054791cdce618 | 26 April 2016, 23:12:59 UTC |
7d1b6af | Alex Castillo | 24 April 2016, 17:41:20 UTC | style(global): group multiple imports from same module Closes #7802 Closes #8209 | 26 April 2016, 22:40:30 UTC |
140a878 | Rado Kirov | 26 April 2016, 22:17:46 UTC | chore(changelog): regenerate changelog for beta.16 including refactor - the script explicitly takes input for the starting tag. - the script only prepends changes. | 26 April 2016, 22:33:35 UTC |
b62bccf | Jeff Cross | 13 April 2016, 18:25:45 UTC | build(npm): update rxjs to 5.0.0-beta.6 Closes #6871 Closes #8047 | 26 April 2016, 21:16:37 UTC |
39eb347 | Julie Ralph | 26 April 2016, 17:05:42 UTC | chore(changelog): fix changelog with messages about testing zone deps Closes #8253 | 26 April 2016, 19:01:12 UTC |
969b553 | Rado Kirov | 26 April 2016, 05:08:32 UTC | docs(changelog): update change log to beta.16 | 26 April 2016, 05:08:32 UTC |