William 'Billy' Brawner
764c3fa72e
Redo UI tests to cover basic markdown editing flows
2020-04-08 07:59:50 -07:00
William 'Billy' Brawner
112b776080
Add Save as... and improve preview/edit performance
2020-04-08 07:59:50 -07:00
Billy Brawner
04954b96f7
WIP: Migrate to ViewModel architecture
...
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2020-04-08 07:59:50 -07:00
Billy Brawner
f03a91c1d3
Fix ReadabilityTest
2020-04-08 07:59:50 -07:00
Billy Brawner
278d78532b
Convert ReadabilityTest to Kotlin
2020-04-08 07:59:50 -07:00
Billy Brawner
fe7da72ce5
Convert AutosaveTest to Kotlin
2020-04-08 07:59:50 -07:00
Billy Brawner
8ce43f74a8
Convert MainActivityTests to Kotlin
2020-04-08 07:59:50 -07:00
Billy Brawner
478034cf22
Delete MarkdownViewModel
2020-04-08 07:59:50 -07:00
Billy Brawner
50b494cef3
Convert AppModule to Kotlin
2020-04-08 07:59:50 -07:00
Billy Brawner
02069d8737
Convert AppComponent to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
927bdb9546
Convert DisableableViewPager to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
860407e5d0
Convert SafeListView to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
75ebd49aa5
Convert SettingsActivity to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
21c39ccc0f
Remove ExampleInstrumentedTest
2020-04-08 07:59:49 -07:00
Billy Brawner
ed2b65583e
Remove Utils
2020-04-08 07:59:49 -07:00
Billy Brawner
2284c20ab3
Remove Constants file
2020-04-08 07:59:49 -07:00
Billy Brawner
3fe3cdec68
Convert Sentence to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
787c044da6
Convert Readability to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
829dc11c12
Clean up much of the Kotlin usage and remove RxJava
2020-04-08 07:59:49 -07:00
Billy Brawner
e00d43f93c
Convert MarkdownApplication to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
0b9eb26b4a
Convert MarkdownPreviewView to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
2f60ed38aa
Convert MarkdownEditView to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
c8547601e6
Convert SplashActivity to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
91a0e729db
Fix MarkdownPresenterImpl Kotlin errors
2020-04-08 07:59:49 -07:00
Billy Brawner
b002881dc3
Convert MarkdownPresenterImpl to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
04e8bb1c03
Clean up MarkdownPresenter Kotlin changes
2020-04-08 07:59:49 -07:00
Billy Brawner
a927851a30
Convert MarkdownPresenter to Kotlin
2020-04-08 07:59:49 -07:00
Billy Brawner
a887a5b06a
fixup! Clean up MarkdownFile Kotlin implementation
2020-04-08 07:59:49 -07:00
Billy Brawner
5595ca7ee3
Clean up MarkdownFile Kotlin implementation
2020-04-08 07:59:49 -07:00
Billy Brawner
efe85b5b80
Convert MarkdownFile to Kotlin
2020-04-08 07:59:49 -07:00
70e93fc0ce
Fix failing unit tests
...
Robolectric supports a maxSdkVersion of 28, so I can't quite upgrade yet
2020-04-08 07:59:49 -07:00
feae3be2ec
Show and hide the keyboard when navigating to and from the EditFragment
2020-04-08 07:59:49 -07:00
09809cada9
Fix EditPagerAdapter oddities from autoconversion
2020-04-08 07:59:49 -07:00
93ae39fdf4
Convert EditPagerAdapter to Kotlin
2020-04-08 07:59:49 -07:00
colugo
a4d9a9b9d7
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
2020-04-08 07:59:36 -07:00
Billy Brawner
6ec3a73311
Bump version for release
2020-04-08 07:58:56 -07:00
Billy Brawner
9f85ab4ac4
Fix theme-related bugs
2020-04-08 07:58:56 -07:00
Billy Brawner
329b36cc95
Fix autosave
2020-04-08 07:58:56 -07:00
Billy Brawner
f16f25ca65
Fix new file option and clean up unused/unnecessary code
2020-04-08 07:58:56 -07:00
Billy Brawner
83ef306b83
Fix styles on help-style pages
2020-04-08 07:58:55 -07:00
Billy Brawner
b5b850c605
Fix error reporting and clean up some of the code. Also fixed missing toolbar on settings page
2020-04-08 07:58:55 -07:00
Billy Brawner
f9fd55b369
Fix dark mode application on devices lower than Q
2020-04-08 07:58:55 -07:00
Billy Brawner
8713c1e5e6
Convert SettingsFragment to Kotlin
2020-04-08 07:58:55 -07:00
Billy Brawner
9b6bc58021
Implement dark mode
2020-04-08 07:58:55 -07:00
Billy Brawner
4fa6cc462d
Use system file browser instead of built-in one
2020-04-08 07:58:55 -07:00
Billy Brawner
f00f894d3a
WIP: Prepare for Q release
2020-04-08 07:58:55 -07:00
Billy Brawner
eb14543ccf
fixup! Migrate some classes to Kotlin
2020-04-08 07:58:55 -07:00
Billy Brawner
7992b80787
Migrate some classes to Kotlin
2020-04-08 07:58:55 -07:00
Billy Brawner
e937c59651
Migrate to AndroidX
2020-04-08 07:58:55 -07:00
Billy Brawner
3a194e14e4
Update dependencies and clean up more files
2020-04-08 07:58:55 -07:00