Commit Graph

6321 Commits

Author SHA1 Message Date
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
Mathias Boulay
5e8842bcc7 Fix[controls]: improper GUI visibility 2023-08-13 08:35:32 +02:00
Mathias Boulay
2b879e886f Perf: remove shadow pass on buttons 2023-08-12 15:30:49 +02:00
Duy Tran Khanh
4a8c1e4bc0 Feat[LWJGL]: update to 3.3.1 (#4326)
* Feat: update to LWJGL 3.3.1
Add nanovg module for OneConfig mod (untested)
Move most of jre_lwjgl3glfw source files to lwjgl3 repo

* Update lwjgl libraries

* Fix: fatal glfw callback cleanup

* Build: update lwjgl.jar (fix dlopen on 32bit)

https://github.com/PojavLauncherTeam/lwjgl3/commit/4c35777

* Feat: add support code for VulkanMod
Copied changes from v3_vulkanmod branch except libraries
Added patch script for VulkanMod

* Fix variable name

* Fix[oshi]: try to update to jna 5.13.0 and oshi 6.3.0

* fix compilation errors

* Fix NumberFormatException: For input string: "1-jre"

* Fix the brackets

* Fix: jna library path

* Fix OpenGL initialization

* Fix broken init of GL renderers

* Fixes[vulkanmod]: fix patcher script, set Vulkan libname

* Fix SHA1 mismatch of replaced libraries

* Build: update lwjgl-opengl.jar: reland fixPojavGLContext

29db8b5cc0

* Include libc++_shared in vulkanmod patcher

* Revert "Include libc++_shared in vulkanmod patcher"

This reverts commit cf3165e89c5de601ad9e7ffe7c6eee2573df7135.

* Fix java version detection for LabyMod4

* Fix lwjgl-openal missing wrapper

---------

Co-authored-by: khanhduytran0 <khanhduytran0@users.noreply.github.com>
2023-08-12 14:38:32 +07:00
Mathias Boulay
78737cf249 Fix[control]: GUI button showing buttons that shouldn't be visible 2023-08-06 17:50:15 +02:00