Commit graph

286 commits

Author SHA1 Message Date
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
29fb166756 Fix jenkinsfile 2020-04-08 07:58:54 -07:00
527373d3e2 Shorten app name in app drawer 2020-04-08 07:58:54 -07:00
909ea47a19 Fix file loading in ExplorerActivity 2020-04-08 07:58:54 -07:00
087a7728e2 Report uncaught exceptions on background threads 2020-04-08 07:58:54 -07:00
0c58f29cb5 Bump version number 2020-04-08 07:58:54 -07:00
66db5aa79d Fix error reports and allow disabling them 2020-04-08 07:58:54 -07:00
15eb0812c0 Add privacy policy and limit the data sent by ACRA 2020-04-08 07:58:54 -07:00
306e642d43 Revert replacing Firebase with ACRA 2020-04-08 07:58:54 -07:00
decb4d76ff Bump version number 2020-04-08 07:58:54 -07:00
9037167e29 Update Robolectric for API 28 support 2020-04-08 07:58:54 -07:00
002248551b Fix up navigation on MarkdownInfoActivity 2020-04-08 07:58:54 -07:00
987b5c1785 Fix privacy policy opening 2020-04-08 07:58:54 -07:00
54952348f8 Update gradle wrapper and dependencies 2020-04-08 07:58:54 -07:00
945edc03d0 Bump version & add missing file 2020-04-08 07:58:54 -07:00
c9e72dc7b3 Replace ACRA with Firebase Crashlytics 2020-04-08 07:58:54 -07:00
35d077190d Ensure the first file in the ExplorerActivity is always the parent directory 2020-04-08 07:58:54 -07:00
238cd2cdaf Bump version and fix ACRA integration 2020-04-08 07:58:54 -07:00
ddc15413a3 Make directory up navigation easier to understand 2020-04-08 07:58:54 -07:00
315c186db1 Reduce auto-save aggressiveness 2020-04-08 07:58:54 -07:00
2453207d20 Make file directories before saving 2020-04-08 07:58:54 -07:00
4414f3ecc0 Bump version number 2020-04-08 07:58:54 -07:00
a737d23ba7 Report errors to ACRA instead of printing 2020-04-08 07:58:54 -07:00
179e872892 Bump version number 2020-04-08 07:58:54 -07:00
ae125a5311 Implement ACRA reporting 2020-04-08 07:58:53 -07:00
110bc80424 Bump version number 2020-04-08 07:58:53 -07:00
9c034b7db1 Fix crashes related to buggy ListView in Android 2020-04-08 07:58:53 -07:00
e24e04734f Bump version number 2020-04-08 07:58:53 -07:00
32a19e4cde Allow opening any text files
Previously the app was limited to just files with common markdown file extensions in their name, but Nextcloud Notes, for example, saves the markdown files with a .txt extension. In order to be more accommodating, the filename extension restriction has been lifted
2020-04-08 07:58:53 -07:00
ddd36a059a Remove Crashlytics 2020-04-08 07:58:53 -07:00
be771edbd2 Improve scrolling in edit pane 2020-04-08 07:58:53 -07:00
b86f0d248e Add possible fix for NPE in ExplorerActivity 2020-04-08 07:58:53 -07:00
3c3e8701ee Fix splash screen appearance 2020-04-08 07:58:53 -07:00
179930b825 Increment version number 2020-04-08 07:58:53 -07:00
fdef9990d4 Fix broken tests 2020-04-08 07:58:53 -07:00
80ec8e9b17 Add option to set default root directory 2020-04-08 07:58:53 -07:00
d6a03832d6 Added Dex support 2020-04-08 07:58:53 -07:00
d92c4cb762 Add Samsung build flavor 2020-04-08 07:58:53 -07:00
28dc2d4ba7 Add default launch view setting 2020-04-08 07:58:53 -07:00
a09260de11 Fix bug on markdown processing 2020-04-08 07:58:52 -07:00
093a989d01 Add apk files to gitignore 2020-04-08 07:58:52 -07:00
7a26e5ba00 Increment version number for release and fix test 2020-04-08 07:58:52 -07:00
2acd1fd1f0 Fix apache license text in Libraries text 2020-04-08 07:58:52 -07:00
5eab2285c4 Fix file opening 2020-04-08 07:58:52 -07:00
731377a420 Fix scrolling for code blocks and clean up warnings 2020-04-08 07:58:52 -07:00
f82330a92f Add New file creation menu option 2020-04-08 07:58:52 -07:00
6f844994da Remove unused methods 2020-04-08 07:58:52 -07:00
1c256d0491 Use correct activity in AutosaveTest 2020-04-08 07:58:52 -07:00
b9db5907a4 Cleanup unnecessary comments and string 2020-04-08 07:58:52 -07:00
17976d8e61 Remove unused methods 2020-04-08 07:58:52 -07:00
fe63f886fc Remove unnecessary logging statements 2020-04-08 07:58:52 -07:00
03a67fa7e4 Remove unused strings 2020-04-08 07:58:52 -07:00
e8f3ef7140 Add autosave test and fix bugs with saving 2020-04-08 07:58:52 -07:00
db57b56965 Autosave files in onPause 2020-04-08 07:58:52 -07:00
9cb9c36e06 Auto-capitalize sentences in edit pane 2020-04-08 07:58:52 -07:00
f2b97e0f3a Fix set title on file open 2020-04-08 07:58:52 -07:00
be4099a6f4 Add adaptive icon 2020-04-08 07:58:52 -07:00
25c74d4e54 Increment version number and release! 2020-04-08 07:58:52 -07:00
8c2f32dd97 Use built-in file explorer instead of OEM implementation 2020-04-08 07:58:52 -07:00
8de320bd48 Clean up build.gradle 2020-04-08 07:58:52 -07:00
8ae31ee246 Increment version number and update build tools 2020-04-08 07:58:52 -07:00
a42e375798 Fix memory leak in PreviewFragment 2020-04-08 07:58:52 -07:00
cd564ad363 Update gradle and add crashlytics for release builds 2020-04-08 07:58:51 -07:00
03800044cb Fixed NullPointerException on updating preview 2020-04-08 07:58:51 -07:00
6a3179436e Added Retrolambda to acknowledgements and included links to libraries in Readme 2020-04-08 07:58:51 -07:00
6981f8458d Fixed bug with title being underlined after saving 2020-04-08 07:58:51 -07:00
b63cef8c1b Fixed some more NullPointerException errors 2020-04-08 07:58:51 -07:00
b0490105b3 Fixed NullPointerException on setMarkdown call and fixed file name not loading correctly for file:: URIs 2020-04-08 07:58:51 -07:00
f3a6359a4f Cleaned up gradle build file 2020-04-08 07:58:51 -07:00
fb0bf7ab5f Fixed file opening splash screen 2017-08-24 16:12:29 -05:00
1ea93a2cdf Performance improvements and proper link to cheatsheet 2017-08-23 21:22:59 -05:00
c912b32d5c Added some helpful information and licensing stuff 2017-08-23 21:17:50 -05:00
4a60c27d32 Premerge commit 2017-08-23 14:23:18 -05:00
6369d29e1d MVP implementation 2017-08-23 12:24:48 -05:00
e4ba6d39bc Began implementing RxJava 2017-08-11 18:09:11 -05:00
f5a7333e84 Added ViewModel libraries 2017-08-09 19:57:34 -05:00
68b994feb4 Replaced EditText onTextChangedListener with RxJava implementation 2017-08-07 17:54:18 -05:00
fcba8979f6 Added support for .markdown files 2017-08-06 18:18:26 -05:00
28d5fc41aa Modified edit fragment padding and added fenced code plugin for AndDown/HoeDown 2017-08-05 19:45:23 -05:00
66ebc6f675 Applied theme 2017-08-04 20:04:00 -05:00
4064ca5163 Made editable area take up the entire fragment and hid tabs in landscape mode 2017-08-01 15:57:27 -05:00
85b72b757c Switched to AndDown for MarkDown processing for performance 2017-07-29 12:42:13 -05:00
61c6f8233f Added delay to markdown processing for performance improvements 2017-07-29 12:28:57 -05:00
e16a1a12c7 Refactored EditFragment to send context to PreviewFragment instead of raw data 2017-07-29 12:28:35 -05:00
66f61ddc65 Moved EditPagerAdapater to own file and allowed both pages to be displayed on landscape layout (also improved edit fragment padding) 2017-07-29 12:25:30 -05:00
b1fb0dcea0 Added ability to load files 2017-07-27 18:35:23 -05:00
74a6f930a5 Save files to external storage 2017-07-27 18:21:26 -05:00
9a493fb536 Switched to flexmark as markdown processor 2017-07-27 16:29:55 -05:00
90ae21724a Fixed file loading and app icon not showing up in app drawer 2017-07-26 18:24:39 -05:00
7a39fd947c Finished save functionality and started load functionality 2017-07-26 07:02:59 -05:00
31bed24bd8 Initial commit 2017-07-24 23:37:23 -05:00