Commit graph

195 commits

Author SHA1 Message Date
Billy Brawner
24bc31ce9b Update dependency versions 2019-11-06 18:10:52 -06:00
Billy Brawner
1e8a2884cc Update gradle wrapper and AGP versions 2019-11-06 18:10:32 -06:00
Billy Brawner
5de4b0480e Merge branch 'viewmodel' into 'master'
Viewmodel

See merge request billybrawner/SimpleMarkdown!4
2019-08-20 13:34:28 +00:00
William 'Billy' Brawner
7962ce643a Make jacocoTestReport task not dependent on running UI tests 2019-08-20 06:27:07 -07:00
William 'Billy' Brawner
d4853b3547 Redo UI tests to cover basic markdown editing flows 2019-08-19 21:52:35 -07:00
William 'Billy' Brawner
fa1dfb9141 Add Save as... and improve preview/edit performance 2019-08-18 20:55:25 -07:00
Billy Brawner
19e678f150 WIP: Migrate to ViewModel architecture
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-08-18 18:56:21 -07:00
Billy Brawner
3baf2f9fc5 Merge branch 'kotlin' into 'master'
Kotlin

See merge request billybrawner/SimpleMarkdown!3
2019-08-17 19:44:32 +00:00
Billy Brawner
24bcad9a86 Fix ReadabilityTest 2019-08-17 14:37:34 -05:00
Billy Brawner
739bb7351e Convert ReadabilityTest to Kotlin 2019-08-17 14:00:21 -05:00
Billy Brawner
dd1251b056 Convert AutosaveTest to Kotlin 2019-08-17 13:52:37 -05:00
Billy Brawner
2d612f826c Convert MainActivityTests to Kotlin 2019-08-17 13:51:37 -05:00
Billy Brawner
01efb42a2d Delete MarkdownViewModel 2019-08-17 13:51:01 -05:00
Billy Brawner
bbc11172c9 Convert AppModule to Kotlin 2019-08-17 13:50:41 -05:00
Billy Brawner
1208037c17 Convert AppComponent to Kotlin 2019-08-17 13:50:22 -05:00
Billy Brawner
cd884cd24b Convert DisableableViewPager to Kotlin 2019-08-17 13:49:53 -05:00
Billy Brawner
4e04f9993d Convert SafeListView to Kotlin 2019-08-17 13:49:31 -05:00
Billy Brawner
cb382bc01c Convert SettingsActivity to Kotlin 2019-08-17 13:48:24 -05:00
Billy Brawner
b87d2fff0e Remove ExampleInstrumentedTest 2019-08-17 13:47:48 -05:00
Billy Brawner
e3e3fbe33f Remove Utils 2019-08-17 13:47:31 -05:00
Billy Brawner
8cc951a759 Remove Constants file 2019-08-17 13:36:21 -05:00
Billy Brawner
59fcc0928c Convert Sentence to Kotlin 2019-08-17 13:31:13 -05:00
Billy Brawner
8ab36bc8d8 Convert Readability to Kotlin 2019-08-17 13:28:00 -05:00
Billy Brawner
1a3d67ef58 Clean up much of the Kotlin usage and remove RxJava 2019-08-17 13:23:26 -05:00
Billy Brawner
2899feb7bc Convert MarkdownApplication to Kotlin 2019-08-17 12:55:25 -05:00
Billy Brawner
6e0c3b9809 Convert MarkdownPreviewView to Kotlin 2019-08-17 12:40:38 -05:00
Billy Brawner
7a08426334 Convert MarkdownEditView to Kotlin 2019-08-17 12:40:14 -05:00
Billy Brawner
2a8d85319e Convert SplashActivity to Kotlin 2019-08-17 12:11:17 -05:00
Billy Brawner
5db48c8521 Fix MarkdownPresenterImpl Kotlin errors 2019-08-15 18:49:06 -05:00
Billy Brawner
17170c184c Convert MarkdownPresenterImpl to Kotlin 2019-08-15 18:44:55 -05:00
Billy Brawner
788ae4bbc8 Clean up MarkdownPresenter Kotlin changes 2019-08-15 18:44:17 -05:00
Billy Brawner
c98bfb5d3e Convert MarkdownPresenter to Kotlin 2019-08-15 18:41:13 -05:00
Billy Brawner
08ece51fa7 fixup! Clean up MarkdownFile Kotlin implementation 2019-08-15 18:40:15 -05:00
Billy Brawner
ea2c75b621 Clean up MarkdownFile Kotlin implementation 2019-08-15 18:39:35 -05:00
Billy Brawner
655acbfc0f Convert MarkdownFile to Kotlin 2019-08-15 18:30:48 -05:00
Billy Brawner
2ee2900371 Merge branch 'keyboard-handling' into 'master'
Keyboard handling

See merge request billybrawner/SimpleMarkdown!2
2019-08-05 04:18:41 +00:00
6755e8a031 Fix failing unit tests
Robolectric supports a maxSdkVersion of 28, so I can't quite upgrade yet
2019-08-04 21:12:11 -07:00
a76eab4b34 Show and hide the keyboard when navigating to and from the EditFragment 2019-08-04 18:49:09 -07:00
b710919935 Fix EditPagerAdapter oddities from autoconversion 2019-08-04 18:49:09 -07:00
2a12a77aa5 Convert EditPagerAdapter to Kotlin 2019-08-04 18:49:09 -07:00
Billy Brawner
703597529a Merge branch 'gitlab-ci' into 'master'
Integrate with GitLab CI

See merge request billybrawner/SimpleMarkdown!1
2019-08-02 03:00:29 +00:00
Billy Brawner
c2e6837fb4 Add basic readability highlighting
Personally, I'm a terrible writer and I've found simple aids really help keep my prose tight.
These changes will highlight sentences that are hard to read, based on the number of syllables they contain.
Here's what happens based on syllable count:
- less than 25 syllables: its easy to read (heuristically speaking), and has no background colour
- between 25 and 35 syllables, it's a bit hard to understand, and has a yellow background colour
- over 35 syllables, its quite hard to read, and has a red background color

This might be well outside the scope of what you had in mind, but I personally find it usefull.
At the moment it's on by default, in a seperate observer.
Maybe you could add add a setting for it
2019-08-02 03:00:29 +00:00
William Brawner
7c11ba178d Downgrade Android Gradle Plugin and Gradle Wrapper to stable versions 2019-07-24 18:33:34 -07:00
Billy Brawner
799a479b92 Bump version for release 2019-05-19 14:40:42 -07:00
Billy Brawner
f91f46a633 Fix theme-related bugs 2019-05-19 10:47:36 -07:00
Billy Brawner
83a931d0f4 Fix autosave 2019-05-19 10:06:10 -07:00
Billy Brawner
be3c71cedc Update README 2019-05-18 14:21:05 -07:00
Billy Brawner
4f36ebf9a0 Fix new file option and clean up unused/unnecessary code 2019-05-18 14:16:31 -07:00
Billy Brawner
8a288e1764 Fix styles on help-style pages 2019-05-18 10:35:25 -07:00
Billy Brawner
60f0f18f54 Fix error reporting and clean up some of the code. Also fixed missing toolbar on settings page 2019-05-18 10:02:26 -07:00