Commit graph

240 commits

Author SHA1 Message Date
76c45bb914 Bump dependency versions
Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-31 19:09:20 -07:00
c16ed3cbbe Add some keyboard shortcuts 2020-08-23 05:02:36 -07:00
a1e114b162 Bump version for release
Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-22 22:19:13 -07:00
fa11c7d070 Update gitignore files
Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-22 22:18:06 -07:00
56f2efbb18 Fix losing data on screen rotation and weird behavior with loading files
Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-22 22:16:37 -07:00
894fea4193 Add back samsung build flavor
This partially reverts commit 16185243

Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-22 18:39:28 -07:00
baacef8f65 Update icon to use SVG for foreground instead of PNG
Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-18 14:26:08 -07:00
8cf07491cf Re-implement ACRA
This reverts commit 0e70364c6e.

Signed-off-by: William Brawner <me@wbrawner.com>
2020-08-18 14:26:08 -07:00
0ff680d648 Fix issue with data loss upon device rotation 2020-07-09 21:25:43 -07:00
d9afb67d44 Convert (most) Activities to Fragments and use AndroidX navigation component
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-12 22:54:32 -07:00
a88eeb79e4 (Hopefully) fix crash due to accessing viewModel in fragment not attached to activity
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-11 21:00:05 -07:00
02363d9940 fixup! Use purple background for icon and different package suffix for debug builds
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-11 20:55:58 -07:00
367b91ed6d Move toolbar back to top of app
It seems like very few apps have the toolbar at the bottom, so while it may be more ergonomically sound, it's also a bit unintuitive. It's probably wise to not stray too far from the norms. By having the toolbar at the top, I can also hide it when scrolling in various views, allowing even more of the content to be visible on the screen.

Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-11 20:55:33 -07:00
e9dc70eed4 Use purple background for icon and different package suffix for debug builds
This will allow me to keep both the Play Store version and the development version on my device simultaneously and still tell them apart at a glance

Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-11 20:50:17 -07:00
9a0685a165 Implement freedom build flavors
This is a necessary step in separating the proprietary code (like Google Play Billing) from the FLOSS code so that I can eventually get around to publishing the app on fdroid

Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-10 11:46:05 -07:00
c3821fbfc9 fixup! Update dependencies
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-10 10:20:55 -07:00
d538111651 Update dependencies
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-10 10:18:49 -07:00
1cc0063b15 Replace Crashlytics with Sentry
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-10 10:16:53 -07:00
0e70364c6e Revert "Revert "Revert "Replace Crashlytics with ACRA"""
This reverts commit ab45f33e
2020-05-18 17:33:12 -07:00
b068a04dd4 Bump version for release
Signed-off-by: William Brawner <me@wbrawner.com>
2020-05-18 17:01:31 -07:00
2d01c427e1 Fix padding issue on editing view 2020-05-18 16:53:21 -07:00
7bb8b40c8f Mark editor as unimportant for autofill (should prevent related crashes) 2020-05-18 16:53:21 -07:00
ab45f33e38 Revert "Revert "Replace Crashlytics with ACRA""
This reverts commit 452f334d
2020-05-18 16:53:21 -07:00
551e1f1f57 Update dependencies
This includes a migration to Firebase Crashlytics with Google Analytics instead of Fabric Crashlytics which has been deprecated and is on the way out.
2020-04-20 16:13:49 -07:00
f01909eb83 Update dependencies 2020-04-19 21:19:28 -07:00
452f334dd1 Revert "Replace Crashlytics with ACRA"
This reverts commit 5c04dd0e8f.
2020-04-19 08:51:41 -07:00
5c04dd0e8f Replace Crashlytics with ACRA
Signed-off-by: William Brawner <me@wbrawner.com>
2020-04-19 08:51:32 -07:00
c01581dbd2 Update dependencies 2020-04-19 08:51:32 -07:00
Billy Brawner
c1a7efbadf Bump version for release 2020-04-08 07:59:50 -07:00
Billy Brawner
bcb045a70a Fix saving data to override any existing data in a file 2020-04-08 07:59:50 -07:00
Billy Brawner
c42223f796 Simplify loading/saving files to reduce bugs 2020-04-08 07:59:50 -07:00
Billy Brawner
21cd8d1324 Bump version number for release
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2020-04-08 07:59:50 -07:00
Billy Brawner
ecf080388a Update Libraries file 2020-04-08 07:59:50 -07:00
Billy Brawner
d841fd0225 Fix various concurrency issues and simplify some logic throughout the app 2020-04-08 07:59:50 -07:00
Billy Brawner
810a334bb0 Minor updates for release
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2020-04-08 07:59:50 -07:00
Billy Brawner
e08d03ef01 Fix dialog dismissal when returning from settings 2020-04-08 07:59:50 -07:00
Billy Brawner
d0736458b6 Split overflow menu into navigation menu
I also removed Dagger since it wasn't really being used, and fixed the CrashlyticsErrorHandler as I had previously imported the incorrect BuildConfig class.
2020-04-08 07:59:50 -07:00
Billy Brawner
070d580044 Add support page 2020-04-08 07:59:50 -07:00
Billy Brawner
5d61ccc4fb Use MaterialComponents theme 2020-04-08 07:59:50 -07:00
Billy Brawner
209c434f4e Update dependency versions 2020-04-08 07:59:50 -07:00
William 'Billy' Brawner
ef6810bf45 Make jacocoTestReport task not dependent on running UI tests 2020-04-08 07:59:50 -07:00
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
Billy Brawner
1618524308 Remove Samsung and admob dependencies 2020-04-08 07:58:55 -07:00
Billy Brawner
5d3e5a6cc8 Implement Multidex 2020-04-08 07:58:55 -07:00
Billy Brawner
5b997a54bd Use Crashlytics instead of ACRA 2020-04-08 07:58:55 -07:00
Billy Brawner
2336f518db Update version number 2020-04-08 07:58:55 -07:00
Billy Brawner
6ea52d46d2 Use wrap_content ad height 2020-04-08 07:58:55 -07:00
Billy Brawner
96478b7748 WIP: Implement Google Play Billing 2020-04-08 07:58:55 -07:00
Billy Brawner
45f1c54eb1 Ad admob ads 2020-04-08 07:58:55 -07:00
Billy Brawner
e3b6a3bfa5 Allow custom CSS for previews 2020-04-08 07:58:55 -07:00
Billy Brawner
6ca95063b9 Fix concurrency bugs in MarkdownPresenter 2020-04-08 07:58:55 -07:00