6312 Commits

Author SHA1 Message Date
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
Mathias Boulay
54e98ec670 Fix[control-editor]: Manual size on free sub-buttons 2023-08-06 11:10:49 +02:00
Mathias Boulay
73608f2749 Fix[controls-editor]: Avoid spanning too high on tablets 2023-08-06 10:50:35 +02:00
Mathias Boulay
4d8f3da330 Tweak[editor]: reduce timings for the editor to appear 2023-08-06 00:13:35 +02:00
Mathias Boulay
462baab5aa Fix[profile]: text accessibility 2023-08-05 23:40:23 +02:00
Mathias Boulay
f9457442bd Fix[UI]: proper size on landscape 2023-08-05 21:08:50 +02:00
Mathias Boulay
57ae06a83c Fix[profile-editor]: Spinner height aligned with the rest, better selected visibility 2023-08-05 18:53:06 +02:00
Mathias Boulay
85f35cc5ee Feat[joystick]: kdefault to disable forward lock, better lock display 2023-08-05 10:08:49 +03:00
Mathias Boulay
3729230c42 Fix[controls]: sub button visibility lifecycle 2023-08-05 10:08:49 +03:00
Mathias Boulay
876c97fe2e Fix[drawer]: sync when hiding the button 2023-08-05 10:08:49 +03:00