Commit Graph

92 Commits

Author SHA1 Message Date
DjBushido
597b8b29cc Add another test case that should be working... 2014-07-01 23:23:49 -04:00
Bradlee Speice
1c15767d10 Prettify the unit testing 2014-06-27 21:35:49 -04:00
Bradlee Speice
b19b740c43 Update to the latest project version 2014-06-27 21:20:53 -04:00
Bradlee Speice
969adad9b0 I have a PoC Unit test. It needs refactoring.
Desperately.
2014-06-24 00:38:43 -04:00
Bradlee Speice
018fe29a75 One last minor tweak to show the book name instead of random text. 2014-06-18 22:58:54 -04:00
Bradlee Speice
f5800388d3 Some basic WebView shenanigans 2014-06-18 22:51:31 -04:00
Bradlee Speice
8c71d4372e Initial switch to WebView 2014-06-18 22:18:46 -04:00
Bradlee Speice
348a6da9a3 Beginning work on the actual Bible viewer! 2014-06-18 22:08:53 -04:00
DjBushido
8e54fdb86d Disable tests for now
Having lots of issues with the jSword API just not being consistent...
2014-06-14 20:38:44 -04:00
Bradlee Speice
d260f98377 Forgot to commit most of the files... 2014-06-14 18:07:18 -04:00
Bradlee Speice
d9f6eaa339 Squashed commit of the following: (enable Rx)
commit 4269988b7c
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Sat Jun 14 16:41:11 2014 -0400

    Backport to Java 6...
    Android Studio automatically folds lambda-style, so it won't get too out of hand.

commit e945ef51a7
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Sat Jun 14 16:25:13 2014 -0400

    Get the unit tests passing again
    Note: I need to write more. Lots more.

commit 04fe4d13b4
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Sat Jun 14 15:13:44 2014 -0400

    Add lots of Lint fixes

commit dda5c79299
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Sat Jun 14 15:04:17 2014 -0400

    Fix books not being removed...

commit 93abe065a2
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Sat Jun 14 14:10:43 2014 -0400

    Fix a NetworkOnMainThreadException

commit ba3c6ebe6c
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Sat Jun 14 14:08:50 2014 -0400

    Some refactoring and Async fixes.

commit 3869cf0b9b
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 23:46:29 2014 -0400

    Synchronization needs fixing, otherwise works.

commit 8d17b6db64
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 23:44:35 2014 -0400

    Silly DownloadManager
    Injects are for classes that need them.

commit 7070c933d1
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 23:41:35 2014 -0400

    Fix the dagger compile errors
    If you have an @Singleton with no @Injects inside it, you need to add an
    @Injects constructor for Dagger to validate.

commit 28dfec81d7
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 23:17:20 2014 -0400

    [broken probably] Refactoring to Rx should be done...
    But having issues with compiling. Checking if Dagger and retrolambda
    play nice.

commit fb0c5fdaaa
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 22:56:52 2014 -0400

    [broken] BookListFragment to Rx

commit 6eb5f66dcc
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 22:49:47 2014 -0400

    [broken] BookItemHolder to Rx

commit e356c8d1fc
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 22:40:46 2014 -0400

    Revert "[broken] Remove the BookDownloadThread again"

    This reverts commit 8f346f17e4.

commit 287b8cb40d
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 22:39:06 2014 -0400

    [broken] Add a note on the InstalledManager

commit 899b054c8b
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 22:37:53 2014 -0400

    [broken] Slight semantic change to RefreshManager

commit 8f346f17e4
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 22:36:12 2014 -0400

    [broken] Remove the BookDownloadThread again

commit 1a7364da86
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 22:35:40 2014 -0400

    [broken] Convert BookDownloadManager to Rx

commit ca1ccd9942
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 22:04:53 2014 -0400

    [broken] Convert RefreshManager to Rx

commit 5770e8dd74
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 19:32:23 2014 -0400

    Add RxAndroid support, remove eventbus

commit 3f5909be08
Author: Bradlee Speice <bspeice.nc@gmail.com>
Date:   Tue Jun 10 19:30:45 2014 -0400

    Add retrolambda support
2014-06-14 16:43:21 -04:00
DjBushido
a7e185690e Try once more to fix the NPE on tests. 2014-06-05 21:29:00 -04:00
Bradlee Speice
78997f704f Dynamically create the ObjectGraph, rather than onCreate() 2014-06-05 21:00:15 -04:00
Bradlee Speice
2e8974b745 See if I can't figure out why I'm getting a NPE on the setup method... 2014-06-04 22:18:08 -04:00
Bradlee Speice
5a2eee49d5 Add code to test installing and removing books
The test was successful on the first try. I don't know if I should be scared about that.
2014-06-04 21:53:53 -04:00
Bradlee Speice
1a8b3f2eee Add code to remove books 2014-06-04 21:42:41 -04:00
Bradlee Speice
457ab021c7 Split out the setUp, Travis is giving an NPE 2014-05-31 00:02:47 -04:00
Bradlee Speice
ca4cff2adf Allow the await() to run longer...
Forgot how slow the emulator was, this is a bit ridiculous.
2014-05-30 23:33:50 -04:00
Bradlee Speice
ed219bc8a4 Unit test fixes, works locally.
We'll see if it finally runs on Travis...
2014-05-30 23:23:16 -04:00
DjBushido
b21f3c1fd8 Ignore lint errors on build, I'm working on the fix. 2014-05-30 21:55:33 -04:00
DjBushido
f5128d6753 Remove some extraneous build artifacts
Also trigger the Travis build.
2014-05-30 21:41:31 -04:00
Bradlee Speice
ded7193c49 Lint fixes 2014-05-25 18:11:09 -04:00
Bradlee Speice
1017f9a34d Downloads are now thoroughly done
No bugs that I can see, likely needs some cleanup.
2014-05-25 17:48:39 -04:00
Bradlee Speice
c1dc0da9e3 Some tweaks to progress, add "remove" button
Doesn't remove anything yet though...
2014-05-25 01:00:41 -04:00
Bradlee Speice
7558fc7f20 Progress is working fine for most books
Still seeing some strange issues, need to do some investigation...
2014-05-24 22:34:55 -04:00
Bradlee Speice
6191943d3f Downloading now shows progress!
Nasty bug where you can double register to the bus because it's not actually destroyed, need to fix that.
2014-05-24 22:13:23 -04:00
Bradlee Speice
6afb9b6f28 Can download books!
Progress doesn't show, but I'm about to fix that.
2014-05-24 21:12:20 -04:00
Bradlee Speice
38181c8827 Remove the Otto dependency
I appreciate Green Robot's EventBus' ability to let subscribers choose what thread they subscribe on.
2014-05-24 15:12:40 -04:00
Bradlee Speice
2c494edadc Unit testing now working
Also demo test case for async testing.
2014-05-24 15:11:26 -04:00
Bradlee Speice
bba77bb45a And add an incredibly basic test 2014-05-24 02:13:35 -04:00
Bradlee Speice
2af187e429 Enable android testing 2014-05-24 02:12:57 -04:00
Bradlee Speice
221f01653f Add the Otto dependency 2014-05-24 02:03:44 -04:00
Bradlee Speice
d7a9ad3c82 Extra refactoring and cleanup on BookItemHolder
Also, rules for displaying everything and layouts are fleshed out.
2014-05-20 22:21:59 -04:00
Bradlee Speice
135832859c Add a couple TODOs for cleaning the Adapter 2014-05-19 23:32:27 -04:00
Bradlee Speice
f7f3b56db8 Add bones for registering download progress 2014-05-19 23:20:47 -04:00
Bradlee Speice
d10626efe6 Switch to Esperandro for SharedPreferences 2014-05-19 22:52:00 -04:00
Bradlee Speice
d664f12d08 Path refactoring
Also fixed an issue with View recycling
2014-05-19 22:34:56 -04:00
Bradlee Speice
b04d6c67ae Add in the ProgressWheel!
Also make sure it gets put in the proper package to make sure the author gets credit.
2014-05-17 01:37:44 -04:00
Bradlee Speice
5222b6e3e6 Various cleanups
Move ProgressWheel into the project proper, optimize the DL ListView
And also remove android-iconify. Despite using icons (which is awesome)
it didn't handle button highlight on click well, and the icons seemed a
bit small anyways.
2014-05-17 01:16:36 -04:00
Bradlee Speice
01d5e97d21 Some new libraries to play with
Not all will be used quite yet.
2014-05-17 00:07:52 -04:00
Bradlee Speice
13fc473081 Add a download button to the download list view! 2014-05-12 22:18:37 -04:00
Bradlee Speice
4e01ff666e Big documentation (no functionality) update 2014-05-10 20:20:16 -04:00
Bradlee Speice
8292dc91a1 Update one more TODO 2014-05-10 19:21:42 -04:00
Bradlee Speice
eeb0df3dcf Incredibly minor documentation update 2014-05-10 19:20:25 -04:00
Bradlee Speice
6cd3f712d8 Sort downloadable books 2014-05-10 19:19:23 -04:00
Bradlee Speice
8b499b9215 Ugly hack to get everything working until Dagger issues resolved.
Dagger issue is being tracked here: https://github.com/square/dagger/issues/410
2014-05-10 19:09:21 -04:00
DjBushido
e88c68b1e3 Issues with Dagger and Android Annotations, broken 2014-05-08 23:47:07 -04:00
DjBushido
a046e9fa0a Refactor download prefs, when to d/l over internet 2014-05-08 21:39:29 -04:00
DjBushido
1530364abc Refactoring, and download layout alignment fixes 2014-05-08 20:39:38 -04:00
Bradlee Speice
4da25f0e23 Dagger support now working
Could've saved an hour or two if someone had told me every class needs to inject itself...
2014-05-07 02:06:38 -04:00