Skip to content

Commit

Permalink
0.17 prep
Browse files Browse the repository at this point in the history
Changelog, and demote dagger2 stuff to sample
  • Loading branch information
rjrjr committed Apr 28, 2015
1 parent 4298c9c commit 2b89be2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 84 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Change Log
==========

Version 0.17 *(2015-04-27)*
------------------
**API Quake!**

* Mortar is now decoupled from dependency injection in general, and from Dagger in particular.

* Mortar core is now a service provider, meant to back Context#getSystemService, and handles registration of Scoped objects.

* MortarActivityScope is gone, replaced by BundleService and BundleServiceRunner. (Presenter is now built on those services, but basically unchanged.)

* Dagger support has moved to ObjectGraphService. Blueprint moved with it, and is deprecated.

* Main sample application continues to be overly complicated and confusing, working on it.

Version 0.16 *(2014-06-02)*
------------------
* Repairs idempotence of MortarScope#destroyChild
Expand Down
79 changes: 0 additions & 79 deletions dagger2support/pom.xml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package mortar.dagger2support;
package com.example.hellodagger2;

import android.content.Context;
import java.lang.reflect.Method;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@
import android.os.Bundle;
import mortar.MortarScope;
import mortar.bundler.BundleServiceRunner;
import mortar.dagger2support.DaggerService;

import static mortar.MortarScope.buildChild;
import static mortar.MortarScope.findChild;
import static mortar.dagger2support.DaggerService.createComponent;
import static com.example.hellodagger2.DaggerService.createComponent;

public class HelloDagger2Activity extends Activity {
@Override public Object getSystemService(String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import android.widget.LinearLayout;
import android.widget.TextView;
import javax.inject.Inject;
import mortar.dagger2support.DaggerService;

public class MainView extends LinearLayout {
@Inject Main.Presenter presenter;
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
<modules>
<module>mortar</module>
<module>dagger1support</module>
<module>dagger2support</module>
<module>mortar-helloworld</module>
<module>mortar-hellodagger2</module>
<module>mortar-sample</module>
Expand Down

0 comments on commit 2b89be2

Please sign in to comment.