Commit Graph

245 Commits (master)

Author SHA1 Message Date
Bradlee Speice 3dd0a0ee57 Center bible menu child views 2014-12-28 22:08:28 -05:00
Bradlee Speice e882512a78 Fix title text not showing correctly 2014-12-28 22:06:27 -05:00
Bradlee Speice d21cf4777f Show the drawer hamburger icon 2014-12-28 21:54:31 -05:00
Bradlee Speice 42bbbd00f7 Close the drawer on item select 2014-12-28 21:33:49 -05:00
Bradlee Speice ac43b20fcd Display download overflow menu 2014-12-26 11:29:38 -05:00
Bradlee Speice c7ee841a9c Fix the spinner drop-down button
Requires re-theming the Fragment. I feel like there's got to be a better way, but I have no idea what it would be.
2014-12-26 11:11:25 -05:00
Bradlee Speice d49c5e593c Download activity styling and new theme
Still some issues outstanding, but I need sleep.
2014-12-26 01:26:43 -05:00
Bradlee Speice f889b61b9c Lots of styling cleanup
Download activity last thing before another release
2014-12-25 16:50:59 -05:00
Bradlee Speice f466f9b017 Settings activity styled correctly 2014-12-25 15:06:00 -05:00
Bradlee Speice f26d6f5dc4 Forgot to add the renamed main.xml menu... 2014-12-24 00:16:39 -05:00
Bradlee Speice 578e970c0e Settings now looking (mostly) beautiful. 2014-12-24 00:06:51 -05:00
Bradlee Speice 21730b7db6 Main content now working correctly 2014-12-22 23:22:59 -05:00
Bradlee Speice 21f940d767 Bring in the new navigation menu
API v8-compliant, sized correctly, all that good jazz.
2014-12-22 22:14:16 -05:00
Bradlee Speice 51783afc0b Sometimes you have to destroy first to create
Re-writing most of the UI for Material compliance. This is going to be a significant effort, but the final product is going to look *much* nicer for it.
2014-12-21 23:23:12 -05:00
Bradlee Speice bcebe86926 Only show languages for selected book category
Previously displayed all languages, period. Also includes some testing updates to make sure everything is still covered.
2014-12-15 00:15:42 -05:00
Bradlee Speice 60075184ea Filter out books with null language 2014-12-14 21:20:05 -05:00
Bradlee Speice 651a319edd Finish v1.0 update 2014-12-14 20:45:19 -05:00
Bradlee Speice 6e0e8e44d7 Update to version 1.0 of Android Studio 2014-12-14 17:23:40 -05:00
Bradlee Speice 7380078942 Don't set debuggable. If you really need to modify it, do it locally, don't commit that. 2014-12-05 23:13:07 -05:00
Bradlee Speice e480611f46 Don't let Lint ruin the build 2014-12-05 01:45:21 -05:00
Bradlee Speice d79f898bce Properly rename defaultBookName to Initials 2014-12-01 23:15:40 -05:00
Bradlee Speice fad6e30077 Switch an Esperandro setter/getter 2014-12-01 23:12:16 -05:00
Bradlee Speice ddcaca4416 DownloadActivity can now show the settings 2014-12-01 21:00:54 -05:00
Bradlee Speice 71f88f0755 Version code 4 for preferences 2014-12-01 20:49:06 -05:00
Bradlee Speice c6216afa60 Multiple Bible support and internet usage settings
Fixes #2 completely.
2014-12-01 20:48:32 -05:00
Bradlee Speice 701726aeb1 Build code 3 for font settings 2014-12-01 15:57:55 -05:00
Bradlee Speice f9a831eb5d Settings menu shows the font size 2014-12-01 15:48:19 -05:00
Bradlee Speice bb415d2d3d Slight change to the format of the Divine Name 2014-12-01 11:57:17 -05:00
Bradlee Speice caf2227555 Refactor the tag parsing system
Much cleaner, I like this a whole lot more.
2014-12-01 11:51:13 -05:00
Bradlee Speice 7f221ed863 Update version code to 2 for alpha test 2014-11-30 21:28:01 -05:00
Bradlee Speice d41e0d2f1b Remove the Example Action menu item 2014-11-30 19:57:12 -05:00
Bradlee Speice 341ed248bc Handle the divine name in text
Needs to be stylized later, but this is OK for now.
2014-11-30 09:57:57 -05:00
Bradlee Speice 3d1e34e586 Add some cosmetic tweaks
Text size and color mostly
2014-11-29 22:32:39 -05:00
Bradlee Speice 320159f1bd Add spans for chapter start and verse superscript
Needs serious refactoring, but quickly approaching a minimally viable product. This is awesome.
2014-11-27 23:36:35 -05:00
Bradlee Speice 799d8e2637 Use first {} over filter {} 2014-11-27 21:23:28 -05:00
Bradlee Speice fba4e04fdb Fix the 1st Timothy scrolling issue 2014-11-27 21:20:34 -05:00
Bradlee Speice ee62ddb707 Refactor out some dependencies 2014-11-26 23:27:30 -05:00
Bradlee Speice 66076c759a Switch to the VerseLookup over parser
Allows me to use the LRUCache frontent
2014-11-26 23:22:18 -05:00
Bradlee Speice 96c5c895e9 Seek-to working!
For some reason, things at 1st Timothy onward don't work, but everything up to that point does. I'll call that enough for now.
PLEASE NOTE: This code needs serious refactoring and testing, dependencies are all over the place. Functionally it's OK for now though.
2014-11-26 22:41:55 -05:00
Bradlee Speice 23f992505c Load entire chapters at a time to scroll through
Seems very slow, lots of optimization that needs to be done
2014-11-26 21:55:07 -05:00
Bradlee Speice 989e3e8023 Scrolling through verses works correctly
Binding not working correctly, but shouldn't be hard to fix
2014-11-26 16:50:27 -05:00
Bradlee Speice 54b0290ef2 Slight edits
Scrolling is nice and quick
Animations aren't great, but what I'm trying to do might actually be possible... I can actually remove the JS code.
2014-11-25 23:22:33 -05:00
Bradlee Speice 4e7393653b RecyclerView now loads the text
It's actually surprisingly speedy, I'm impressed. This may just actually work, only thing left to do is implement the infinite scroll, and I'll have something worth testing...
So much easier than maintaining the JS build...
2014-11-25 22:49:30 -05:00
Bradlee Speice d6c5662fa5 RecyclerView initial demonstration 2014-11-25 22:32:16 -05:00
Bradlee Speice 147c6a5248 Add a TODO 2014-11-25 10:41:34 -05:00
Bradlee Speice 212e07b53e Revert back to SDK 20, but use plugin 14.0
Allows Android Studio (needs plugin 14) and Travis (20) to hopefully play nice
2014-11-24 00:32:47 -05:00
Bradlee Speice 8a46cb0037 Revert "Get everything set for API 21"
This reverts commit d94b8b45c7.
2014-11-24 00:09:16 -05:00
Bradlee Speice ae87b46fb7 Revert "Rely on SDK manager plugin instead of Travis"
This reverts commit 7e3fdf6567.
2014-11-24 00:09:11 -05:00
Bradlee Speice 7e3fdf6567 Rely on SDK manager plugin instead of Travis 2014-11-23 23:06:01 -05:00
Bradlee Speice d94b8b45c7 Get everything set for API 21 2014-11-23 22:29:04 -05:00
Bradlee Speice 3ed3d6c08b Merge branch 'master' of http://github.com/MinimalBible/MinimalBible 2014-11-22 22:15:54 -05:00
Bradlee Speice 8d65327853 More boundary refactoring and testing
Only testing branch logic is so nice...
2014-11-22 17:31:53 -05:00
Bradlee Speice 05d2d006e4 Boundary refactor, and add some tests 2014-11-22 17:07:58 -05:00
Bradlee Speice 18d3620da3 Refactor a bit to make testing easier 2014-11-22 16:28:05 -05:00
Bradlee Speice 81ebeb43b3 More slight edits 2014-11-22 00:57:52 -05:00
Bradlee Speice fc38192dba Minor modifications 2014-11-22 00:38:06 -05:00
Bradlee Speice fdd0a81837 Remove the release build folder
It's what should actually be in main
2014-11-22 00:34:55 -05:00
Bradlee Speice 07b9d04933 Add some slight refactoring
Unfortunately it's too hard to add the tests I wanted to
2014-11-22 00:21:38 -05:00
Bradlee Speice 90db3e6a1a Fix the download progress not updating
Integer roundoff errors...
2014-11-20 23:19:06 -05:00
Bradlee Speice 06ae1c0ed6 Also add in the gradle build for flavors to variants 2014-11-20 23:18:36 -05:00
Bradlee Speice f51a2515b0 Switch off build variants to build types
Should be much easier to maintain
2014-11-20 22:57:46 -05:00
Bradlee Speice e9e6d1dacd Migrate tests from androidTest to app-test! 2014-11-20 00:52:42 -05:00
Bradlee Speice cb8ea71f62 Code coverage is working!
Been trying so long to get this running, so happy to have it done.
2014-11-17 16:49:28 -05:00
DjBushido 8d6a3b0d84 Slight refactoring of BibleMenu
Needs a test case, but having issues with the emulator on Windows
2014-11-16 00:28:25 -05:00
Bradlee Speice 6c139eacab Make the VerseContent immutable
Not quite certain this is the way to go, but let's try a functional experiment.
2014-11-13 00:04:20 -05:00
Bradlee Speice 1ee1a41004 Switch get() to [] 2014-11-12 23:43:21 -05:00
Bradlee Speice 187a73cf92 Kotlin migration is done!
There will of course be refactoring and whatnot, but I consider this an accomplishment.
2014-11-12 23:41:05 -05:00
Bradlee Speice 0e7680ca9e Rename the ExpListNavDrawerFragment 2014-11-12 22:21:32 -05:00
Bradlee Speice 18c9df404e Books are now deleted correctly
Still need to handle all the network related errors...
2014-11-12 01:01:34 -05:00
Bradlee Speice 8137c4795a Fix issues the OsisParser regenerating VerseContent
BookManager is still currently unable to delete books
2014-11-12 00:34:31 -05:00
Bradlee Speice cce463cde9 Properly remove a book
Not sure why it needs to be implemented this way...
2014-11-12 00:09:24 -05:00
Bradlee Speice b65b5680f9 Remove the InstalledManager
Largely duplicated work, and makes testing easier!
2014-11-11 23:46:51 -05:00
Bradlee Speice 35b515add7 Small documentation update on Injector 2014-11-11 23:26:01 -05:00
Bradlee Speice 7cfe273cb6 Refactor BookDownloadManager to Kotlin
I don't like that I had to make one static method a class method, but I like how much cleaner everything else is!
2014-11-11 22:55:31 -05:00
Bradlee Speice 86adeb4951 Refactor the DLProgressEvent to Kotlin 2014-11-11 21:53:13 -05:00
Bradlee Speice b778748ee0 Rename FinalDelegate to SafeValDelegate 2014-11-11 13:29:55 -05:00
Bradlee Speice c394fce273 Use a delegate to make OsisParser cleaner 2014-11-11 10:09:47 -05:00
Bradlee Speice c57babd68a Add some tests to the OsisParser
Testing state machines can be difficult if it's not black box...
2014-11-11 00:33:51 -05:00
Bradlee Speice 6a45d872f8 Refactor the Core of LocaleManager, test it 2014-11-10 23:45:21 -05:00
Bradlee Speice 0f0b60c186 Revert "Building against SDK 21"
This reverts commit fbc7e9a681.
2014-11-09 23:55:30 -05:00
Bradlee Speice 6c8f92e742 Revert "Some more build fixes - use Android-Gradle .14"
This reverts commit 51a3dd3eac.
2014-11-09 23:55:23 -05:00
Bradlee Speice 59a924c14a Revert "Set minifyEnabled"
This reverts commit 84bd26ac52.
2014-11-09 23:55:20 -05:00
Bradlee Speice 84bd26ac52 Set minifyEnabled 2014-11-09 23:36:55 -05:00
Bradlee Speice 51a3dd3eac Some more build fixes - use Android-Gradle .14 2014-11-09 22:30:05 -05:00
Bradlee Speice fbc7e9a681 Building against SDK 21 2014-11-09 21:13:07 -05:00
Bradlee Speice d7e9dd34c9 Expose the modulesByLanguage
Can be refactored later, internal implementation uses the "proper" way of accessing things.
2014-11-08 00:34:08 -05:00
Bradlee Speice 1ea27f50b9 Slight refactor, FixedLanguage should be private 2014-11-08 00:29:10 -05:00
Bradlee Speice cc15e9219d Some slight refactoring, test filtering books 2014-11-08 00:22:13 -05:00
Bradlee Speice 24f639a024 Upgrade Kotlin 2014-11-07 23:27:06 -05:00
Bradlee Speice ad1a0eee84 Boundary Value testing working as hoped. 2014-11-07 00:27:17 -05:00
Bradlee Speice c0281cc8c7 Working language selector! 2014-11-07 00:11:05 -05:00
Bradlee Speice 88a40cbfbb Add a language spinner
It doesn't do much yet...
2014-11-06 23:13:45 -05:00
Bradlee Speice 23bd5136b5 Provide access to network state
Also fix the no books installed issue (again)
2014-11-06 20:06:17 -05:00
Bradlee Speice 72f375ff9f Revert "Remove the build flavors"
This reverts commit c38dad605a.
2014-11-06 19:57:13 -05:00
Bradlee Speice c38dad605a Remove the build flavors
This is actually a pretty big accomplishment, should be a blog post shortly.
2014-10-30 00:42:23 -04:00
Bradlee Speice 1eb914819d Refactor main menu to Kotlin
So much less code to write and maintain... love it.
2014-10-24 23:53:39 -04:00
Bradlee Speice 8104ffa862 Test case refactoring, test doUpdate
Boundary Values are awesome - https://www.destroyallsoftware.com/talks/boundaries
2014-10-22 23:32:18 -04:00
Bradlee Speice f4e8ffaebc Some more cleanup and additions
Android is seriously not test-friendly
2014-10-22 23:16:52 -04:00
Bradlee Speice 22fd32b26d RefreshManager going functional! 2014-10-22 22:21:42 -04:00
Bradlee Speice 6d15167100 Upgrade Kotlin 2014-10-22 20:42:39 -04:00