478 Commits

Author SHA1 Message Date
Rafael Caetano
7be87522a7 Merge branch 'master' of https://github.com/rafaelvcaetano/melonDS-android 2021-08-14 23:15:23 +01:00
Rafael Caetano
4e77d97f24
Add Sponsor button to repository page 2021-08-14 22:23:53 +01:00
Rafael Caetano
71c68b963f Update Hilt version
Also update Kotlin target JVM
2021-08-14 19:12:30 +01:00
Rafael Caetano
446c1c60d9 Migrate to AGP 7 2021-08-14 01:35:56 +01:00
Rafael Caetano
0ce2110223 Load ROM icons asynchronously 2021-08-14 01:08:09 +01:00
Rafael Caetano
426eb33510
Merge pull request #552 from TacoTheDank/master
Use some Compat utilities
2021-08-12 22:33:33 +01:00
TacoTheDank
6dbe871ad3 Use some Compat utilities 2021-08-12 13:53:42 -04:00
Rafael Caetano
3fec170763 Fix "Load GBA ROM" option in RomConfigDialog losing state after selecting GBA ROM file 2021-08-12 01:00:02 +01:00
Rafael Caetano
8e56e91be6 Update Uri to file path conversion
Use file descriptor to obtain a symlink and determine real path using canonicalPath
Fallback to simple filename when conversion fails

This should fix some crashes for some users in which the conversion fails. While this solution is not ideal, it will do for now given that these paths are only used in the UI. These paths may be removed entirely in the future if they continue proving to be problematic
2021-08-11 00:09:27 +01:00
Rafael Caetano
ee889bc0f2 Remove 7z support for Android M devices and below
The commons-compress library (used for 7z files) relies on the Channels API, which is only available starting with API 24 (Android N). As such, given a lack of better alternatives for now, 7z support will be disabled for older APIs.
2021-08-08 22:48:51 +01:00
Rafael Caetano
c3207960e3 Add Play Store link and screenshots to README 2021-08-08 02:02:16 +01:00
Rafael Caetano
379f073b17 CI updates
Include commit hash in nightly builds version name
Only trigger release workflow on tag push
Fix release workflow using incorrect variable
2021-08-05 23:49:39 +01:00
Rafael Caetano
9d8addcd39 Release Beta 1.6.0 beta-1.6.0 2021-08-05 20:36:45 +01:00
Rafael Caetano
9664fd0f04 Fix crash when entering the "Custom BIOS and firmware" screen in release builds 2021-08-05 20:28:50 +01:00
Rafael Caetano
ef261550e8 Minor code cleanup
Remove explicit Observer usage
Use DiffUtil to update ROM list
2021-07-31 00:42:47 +01:00
Rafael Caetano
165b0731e2 Fix CI artifact path 2021-07-29 22:14:34 +01:00
Rafael Caetano
3f4db2b77a Fix CI build command 2021-07-29 00:43:56 +01:00
Rafael Caetano
80cc823e14 Fix CI artifact path 2021-07-29 00:24:06 +01:00
Rafael Caetano
a4c96debee Fix CI keystore path 2021-07-28 23:51:54 +01:00
Rafael Caetano
a6c2335349 Try to fix CI 2021-07-28 23:33:49 +01:00
Rafael Caetano
1ba821651f Initial CI setup 2021-07-28 22:48:36 +01:00
Rafael Caetano
2b4b66fc8c Migrate to Gradle Kotlin DSL 2021-07-26 21:54:37 +01:00
Rafael Caetano
628ce95236 Share renderer screen texture buffer with emulator 2021-07-22 00:40:39 +01:00
Rafael Caetano
625160bc0a Move GitHub update check logic to the gitHub flavor 2021-07-20 19:59:10 +01:00
Rafael Caetano
e95565ea30 Add flavours for GitHub and Play Store versions 2021-07-20 00:51:01 +01:00
Rafael Caetano
a53b18ed65 Migrate locale-depending case conversion methods methods to Kotlin extensions 2021-07-18 18:57:38 +01:00
Rafael Caetano
9a17ebefbf Refactor cache size calculations to use new SizeUnit logic 2021-07-18 18:53:40 +01:00
Rafael Caetano
1c8a7b07d8 Allow ROM cache size to be adjustable 2021-07-18 18:52:40 +01:00
Rafael Caetano
da85de68ae Implement maximum ROM cache size 2021-07-17 02:07:32 +01:00
Rafael Caetano
efd7d2925e Refactor 7z and Zip ROM processors with unified logic 2021-07-15 00:11:12 +01:00
Rafael Caetano
d5c835dc57 Find ROM files with capitalized extensions 2021-07-14 00:23:55 +01:00
Rafael Caetano
e3d10744d4 Add support for 7z files 2021-07-14 00:22:48 +01:00
Rafael Caetano
a5d7a61a99 Apply layout orientation during runtime 2021-07-13 01:03:39 +01:00
Rafael Caetano
257e0d8d60 Apply layout orientation in Layout Editor 2021-07-12 22:53:31 +01:00
Rafael Caetano
a8cad56fd2 Allow custom layouts to have a fixed orientation 2021-07-12 22:42:35 +01:00
Rafael Caetano
8ebdb77f0e Update dependencies 2021-07-10 23:46:16 +01:00
Rafael Caetano
f43d429b9b Minor CheatsImportProgressDialog improvements
Move hardcoded string to resources
Remove explicit Observer declaration
2021-07-10 23:22:23 +01:00
Rafael Caetano
8ce846779c Check for updates on app launch 2021-07-10 23:21:26 +01:00
Rafael Caetano
d8fb8a958d Refactor searchDirectoriesLiveData into hasSearchDirectoriesLiveData to return a boolean with the processed value 2021-06-22 01:01:05 +01:00
Rafael Caetano
c4d95eb533 Fix crash when setting the ROM search directory for the first time through settings 2021-06-21 23:53:26 +01:00
Rafael Caetano
613cca4f49 Add more video filters 2021-06-20 23:24:02 +01:00
Rafael Caetano
a69388f702 Prevent EmulatorActivity recreation when changing DayNight mode 2021-06-18 20:00:19 +01:00
Rafael Caetano
65bedecd16 Use updateLayoutParams extension when updating layout editor component views 2021-06-17 21:05:21 +01:00
Rafael Caetano
44e2ba6f48
Merge pull request #420 from TacoTheDank/stuff
Use FragmentContainerView, a ton of KTX extensions
2021-06-17 21:04:39 +01:00
TacoTheDank
9724111e50 Utilize WindowInsets compat stuff 2021-06-17 14:04:23 -04:00
TacoTheDank
f8f4db8a78 Utilize a bunch more KTX extensions 2021-06-17 14:04:05 -04:00
TacoTheDank
a736a70685 Utilize getSystemService KTX extension 2021-06-15 21:20:48 -04:00
TacoTheDank
4dfbcc35f0 Utilize FragmentContainerView 2021-06-15 21:20:23 -04:00
TacoTheDank
745b2bb1c6 Utilize commit and replace KTX extensions 2021-06-15 21:19:31 -04:00
TacoTheDank
74c1c36c5c Reorganize dependencies 2021-06-15 21:14:54 -04:00