6325 Commits

Author SHA1 Message Date
artdeell
f1e88e2068 Feat[notifs]: features for remote error reporting, unified notification constants
TODO: also use it for Minecraft downloads
2023-08-26 23:17:22 +03:00
artdeell
2980afdd05 Feat[lib]: replace ASM <5 with ASM 5.0.4 2023-08-26 23:17:22 +03:00
artdeell
91c834117d Feat[modpack]: Set up framework for handling ModpackApi IOExceptions 2023-08-26 23:17:22 +03:00
artdeell
e513156c6f Feat[modpack]: disable the "Install" button when tasks are ongoing 2023-08-26 23:17:22 +03:00
artdeell
d00565ebac Feat[modpack]: move CF API key into a string resource 2023-08-26 23:17:22 +03:00
Mathias Boulay
6ef2b1f7a4 Fix: reload profile list after modpack installation 2023-08-26 23:17:22 +03:00
Mathias Boulay
614933db9c Refactor[profiles]: separate load and write profiles
Effectively reduces the amount of writes
2023-08-26 23:17:22 +03:00
Mathias Boulay
8db75081a8 Cut: redundant zip handling methods 2023-08-26 23:17:22 +03:00
artdeell
d5fc862f0e Feat[agent]: modpack version ID fixer 2023-08-26 23:17:22 +03:00
artdeell
0e5797981b Chore[modloaders]: use the nice clearProgress function instead of hardcoded -1 2023-08-26 23:17:22 +03:00
artdeell
a276813230 Fix[ui]: disable the progressbar and stop loading at the end of the list
Also: move all array copies away from the UI thread
2023-08-26 23:17:22 +03:00
artdeell
d8b1fbf968 Fix[forge]: consult the version list for the full loader version 2023-08-26 23:17:22 +03:00
Mathias Boulay
78d6d09107 Fix[UI]: improper button size 2023-08-26 23:17:22 +03:00
artdeell
be0d98e09a Feat[icon]: automatically resize cached icons to 256x256 and compress as JPEG 2023-08-26 23:17:22 +03:00
artdeell
ecbbbfcc4d Feat[icon]: icon cache cleaner 2023-08-26 23:17:22 +03:00
BuildTools
e0c64219bc Fix[api]: Automatically URL-encode all query params and values
Not doing this coused issues on Android 6 with Modrinth facets
2023-08-26 23:17:22 +03:00
Mathias Boulay
4a4115aeb6 Docs: remove out of date argument 2023-08-26 23:17:22 +03:00
Mathias Boulay
37cdc11ed5 Feat[UI]: custom filter dialog, reduced overlay size 2023-08-26 23:17:22 +03:00
Mathias Boulay
faa0d6b0a6 Docs: explain mesure function purpose 2023-08-26 23:17:22 +03:00
BuildTools
e21be296ec Infinite mod list implementation 2023-08-26 23:17:22 +03:00
Mathias Boulay
04d6900bc4 Feat, wip[UI]: conditionnal visibility, reduced layout shifting, full screen scroll 2023-08-26 23:17:22 +03:00
BuildTools
17cce29c00 Asynchronous CommonApi implementation + modpack source icons 2023-08-26 23:17:22 +03:00
Mathias Boulay
1542ea0204 Feat[modpacks]: Add CommonApi, centraliser of apis 2023-08-26 23:17:22 +03:00
Mathias Boulay
90b10084ce Feat[UI]: moditem states are now pretty 2023-08-26 23:17:22 +03:00
Mathias Boulay
23b02cca4c Refactor[modDetail]: Move mc version auto addition to model constructor 2023-08-26 23:17:22 +03:00
Mathias Boulay
ce5ed86515 Feat[SimpleAdapter]: Allow resetting the content of the adapter 2023-08-26 23:17:22 +03:00
BuildTools
ff72d5a1c0 More resilient mod loader installation for the modpack installer 2023-08-26 23:17:22 +03:00
Mathias Boulay
b1d022cccd Feat,wip[modpack-install]: auto modloader install 2023-08-26 23:17:22 +03:00
BuildTools
f8078ad8bf Modloader download changes
- Moved cache folder creation into DownloadTasks
- Renamed ModLoaderInfo to ModLoader
- Added docs to ModLoader
- Added some utility methods to the ModLoader cleass to make installation implementation
simpler
2023-08-26 23:17:22 +03:00
Mathias Boulay
5c556c1382 Fix[modpack-download]: fallback url 2023-08-26 23:17:22 +03:00
BuildTools
08f16f50cc Changes
- Moved link obtainment into a separate interface
- Adjusted ModDownloader to obtain links while downloading
- Moved getFileName from Tools to FileUtils
- Fixed wrong Forge version number
2023-08-26 23:17:22 +03:00
BuildTools
19a781ad18 CurseForge modpack download (WIP) + more generalization 2023-08-26 23:17:22 +03:00
BuildTools
b430edbc0b Async changes + WIP CurseForge implementation
- Implemented IOException handling and reliable Futures for the ModItemAdapter
- Generified self-referencing Futures into a SelfReferencingFuture class
- Added Work-in-progress CurseForge implementation

TODO:
- Handle Exceptions from the modpack install process
- Install the modloader after finishing instance installation
- Finish CurseForge support (current roadblock: lack of documentation)
2023-08-26 23:17:22 +03:00
BuildTools
5fde03dbaa Major changes
- Added a textview for no content/network error messages
- Reimplemented Modrinth modpack installer with parallel installation in mind
- Implemented modloader version ID generation
- Implemented profile icons

TODO:
- Actually figure out how to install the mod loader
- Proper IOException handling in the modpack installer
- Proper IOException handling when loading detailed mod info
- CurseForge
2023-08-26 23:17:22 +03:00
BuildTools
586fef897e Add icons, progressbar and synchronization 2023-08-26 23:17:22 +03:00
Mathias Boulay
6299a9a4e4 Refactor: Make the interface filters easier to extend 2023-08-26 23:17:22 +03:00
Mathias Boulay
1c21646165 Feat,WIP[modpacks]: barebone installer 2023-08-26 23:17:22 +03:00
Mathias Boulay
496f1fd1f0 Add[FileUtils]: zip decompression 2023-08-26 23:17:22 +03:00
artdeell
b282d9caee Fix[input]: floor cursor position before sending to MC
Fixes anticheat false triggers
2023-08-20 16:07:51 +03:00
Mathias Boulay
c2c57ca837 Fix: default profile deletion 2023-08-17 23:24:04 +02:00
Mathias Boulay
ebbbba0680 Workaround[UX]: remove huge page args, as android doesn't like it 2023-08-16 00:14:13 +02:00
Mathias Boulay
f8c309158f Fix[log]: display profile override in java args 2023-08-16 00:13:05 +02:00
Mathias Boulay
919a6a45f3 Fix: Don't declare capabilities, still load functions 2023-08-15 12:31:54 +02:00
Mathias Boulay
26e271f4ab Fix[rendering]: black world on 1.17+ 2023-08-14 23:50:14 +02:00
Mathias Boulay
30cd5d6c4d Fix[UI]: progressbar text is properly padded 2023-08-14 13:13:07 +02:00
Mathias Boulay
0ce8e890de Cut: Remove joke languages
For some reason, android decided to pick those ones on some devices.
2023-08-14 12:39:55 +02:00
Mathias Boulay
e969d59779 Cut: Remove overrides for lwjgl checks
Signed-off-by: Mathias Boulay <mathiasboulay@free.fr>
2023-08-14 11:43:07 +02:00
Mathias Boulay
1fd14e29cf Fix[Tools]: avoid going over 100% resolution 2023-08-13 23:44:15 +02:00
Mathias Boulay
27a317e03b Fix[UI]: sync textview to mouse speed 2023-08-13 23:23:21 +02:00
Duy Tran Khanh
bdb25c196a
Fix: NPE in Tools.getVersionInfo() 2023-08-13 13:53:31 +07:00