7072 Commits

Author SHA1 Message Date
artdeell
a9815b2ac9 Feat[launcher]: remove duplicate GLES initializations 2025-01-20 21:31:26 +03:00
Mathias Boulay
5de68224c6
fix(preferences): memory allocation by increments of 8MB (#6511) 2025-01-20 20:32:49 +03:00
Maksim Belov
55e53ea02c
Fix[pojavexec]: fix incorrect JNIEnv usage in some cases (#6510)
* Fix[pojavexec]: remove central JNIEnv variables

These caused some irreliability, as pojavexec isn't guaranteed to be loaded on the same thread as the call to glfwInit

This fixes:
- 1.3-1.5.2 setting their window size to 0,0 (and thus not working correctly)
- Forge for <1.13 not resizing its window

* Fix[egl_bridge]: remove attachEnvs()

* Whoops[input_bridge]: remove unnecessary prints
2025-01-20 12:46:59 +03:00
artdeell
c04e3af70d Fix[locale]: improve some default strings 2025-01-18 21:51:59 +03:00
Mathias Boulay
8b6ec53bd1
fix(side dialog): crash when deflating twice in quick succession (#6502) 2025-01-18 21:49:25 +03:00
artdeell
51bc3cfb0a Merge recent translations (#6501) 2025-01-18 21:15:53 +03:00
Mathias Boulay
315352a979
hotfix(fullscreen handling): Fix animations not refreshing (#6500) 2025-01-18 20:08:03 +03:00
Maksim Belov
a470792ed1
Feat[controls]: implement control layout sanitizer (#6499) 2025-01-18 19:49:38 +03:00
artdeell
6b0ff501cc Chore[build]: next codename gladiolus 2025-01-17 08:36:45 +03:00
artdeell
5d8cf0d2dc Feat[touch_char_input]: directly modify the Editable instead of relying on the internal TextView methods. 2025-01-17 08:28:11 +03:00
artdeell
2a44e8da69 Fix[file_provider]: check for storage before initializing 2025-01-17 08:28:11 +03:00
artdeell
097282507b Fix[fabriclike_install]: ensure array readiness before creating adapter 2025-01-17 08:28:11 +03:00
artdeell
2f34549f65 Fix[storage]: fix previous commit not starting the game 2025-01-17 08:28:11 +03:00
artdeell
9c83fc677b Fix[storage]: better ensure mounted storage
Avoids several crashes caused by Pojav running on devices without always-mounted external storage.
2025-01-17 08:28:11 +03:00
artdeell
b8e5f08719 Fix[exit_hook]: move exit hook into a separate library
Fixes an issue on some devices where namespacing issues caused libbytehook to not be found when pojavexec was loaded by LWJGL.
2025-01-17 08:28:11 +03:00
artdeell
3e42bfd21f Fix[touch_char_input]: use TextWatcher instead of onTextChanged override
Avoids a bug on some devices caused by setText called by the framework early
2025-01-17 08:28:11 +03:00
Maksim Belov
b28fc4a1f4
Feat[renderer]: Add LTW renderer (#6477)
* Feat[launcher]: start introducing the Tinywrapper renderer

* Feat[launcher]: add renderer, add compatibility checks

* Chore[ltw]: update to latest

* Style[code]: code cosmetic changes

* Legal[ltw]: make LTW optional

* Fix[ltw]: fix actions, add forgotten file

* Workflow[ltw]: disallow forks, allow building on error
2025-01-14 00:23:49 +03:00
Mathias-Boulay
ed89b44d3b tweak(ui): make the keyboard shift the input
For some reason, when entering the settings fragment, it would have this behavior.
2025-01-13 10:54:38 +03:00
Mathias-Boulay
3c616b9d90 tweak(ui): inline the delete profile button
Makes the main ui slightly cleaner
2025-01-13 10:54:38 +03:00
Maksim Belov
208b92be83 Style[exec_hooks]: change function name, log lines, add clipboard constants 2025-01-08 16:29:40 +03:00
Maksim Belov
ebe5314f28 Feat[lwjgl]: add vulkan to lwjgl dlopen hook, move hook to new file 2025-01-08 16:29:40 +03:00
Maksim Belov
aadb91dc98 Whoops[exec_hooks]: do not null program unconditionally 2025-01-08 16:29:40 +03:00
Maksim Belov
6d39ab2d49 Fix[ffmpeg_plugin]: replace LD_LIBRARY_PATH/PATH for ffmpeg, switch default exec mode 2025-01-08 16:29:40 +03:00
artdeell
041838725b Fix[ffmpeg_plugin]: better FFmpeg plugin insertion
NOTE: requires a different version of the FFmpeg plugin which I haven't made yet
2025-01-08 16:29:40 +03:00
Mathias-Boulay
a72451c9e7 fix(gesture): Right click not working
Turns out if you were perfectly still, it would fail. For a quick tap, it was fairly easy to create.
2025-01-07 20:21:59 +01:00
Maksim Belov
2e596cd07f
Fix[renderer]: move GL4ES initialization code (#6447) 2025-01-04 02:41:02 +03:00
Jordan
80e0a6aac8
Update GPLAY_PRIVACY_POLICY (#6174)
Update GPLAY_PRIVACY_POLICY to be more clear, and remove the news entry as the news in Pojav no longer exists.
2025-01-03 00:00:03 +03:00
artdeell
dd15d8a469 Style[gestures]: rename method to getGestureDelay 2025-01-02 21:50:40 +03:00
artdeell
93924b429b Fix[gestures]: rename method and improve documentation 2025-01-02 21:50:40 +03:00
movte
a77271df03 Fix the issue where the long-press trigger delay does not refresh properly. 2025-01-02 21:50:40 +03:00
Maksim Belov
5d80d9baec
Feat[downloader]: downloader improvements (#6428)
- Add download size queries through a HEAD request
- Use the file size for progress instead of file count when all file size are available
- Add download speed meter
2024-12-30 20:31:59 +03:00
Mathias-Boulay
99c8ea2bfd cleanup(tools): remove unused code 2024-12-27 12:31:27 +03:00
Mathias-Boulay
9a7fb2ae69 cleanup(tools): remove unused code related to fullscreen 2024-12-27 12:31:27 +03:00
Mathias-Boulay
f2e95b6e65 refactor(seekbars):migrate range values into xml files 2024-12-27 12:31:27 +03:00
Mathias-Boulay
8cc5cca99f Fix(quick-setting): improper placement
This was due to an issue that only happens within older android versions.
2024-12-27 12:31:27 +03:00
Mathias-Boulay
dcbb1e010e refactor(customseekbar): implement seekBarIncrement attribute 2024-12-27 12:31:27 +03:00
Mathias-Boulay
b3df2645e5 Fix,refactor(profiles): prefer nameless profiles
Also refactored the use of a constant across the code
2024-12-27 12:31:27 +03:00
Mathias-Boulay
38e47687fa Tweak(jvm arg): take control of -XX:ActiveProcessorCount
Setting it ourselves guarantee a better experience by default
2024-12-27 12:31:27 +03:00
Mathias-Boulay
4738e1aa59 Tweak(pref-detection): Verify all cores aren't the same frequency 2024-12-27 12:31:27 +03:00
Mathias-Boulay
e0fcb1e67d Qol(settings): use energy saving settings for powerful devices
Less boiling pocket heaters.
May contain a small few refactor
2024-12-27 12:31:27 +03:00
TarikBR
89f0254106
Fix[docs]: Change license to LGPLv3 in readme and fix link (#6389)
Closes #6384
2024-12-16 18:09:44 +03:00
artdeell
011139db38 Feat[folder_provider]: notify the file manager on file changes 2024-12-12 12:32:31 +03:00
Mathias-Boulay
e71be1ed64 Fix(folder provider): display pojav version
This allows the sort to be stable when listing pojav versions in the file app.
2024-12-11 22:23:03 +01:00
Mathias Boulay
f1cb9e60cf
chore(build): update gradle to 8.9 and AGP to 8.7.2 (#6353)
* chore(build): update gradle to 8.9 and AGP to 8.7.2

This may or may not force the generation of all sub projects

* build(actions): update GH Action gradle version

* chore(build): update gradle to 8.11

* fix(build): allow proguard profile to launch

It is still plagued with bugs, but it might stay handy the day we need to push some limits

* Fix: allow CriticalNativeTest in proguard build

* Build: Allow proguard granularity
2024-12-11 19:41:35 +01:00
Mathias Boulay
1af64382eb
QoL update (#6350)
* QoL(notification): click to go back into the current game

* Fix(system bars): fix colors for navigation bars

* Tweak(control editor): make snapping less aggressive

* Fix(system bars): properly remove colors in full screen
2024-12-06 21:04:17 +01:00
Mathias-Boulay
bc7dfeacfd Fix(control-editors): make sure the layout is instantiated before using it 2024-12-03 21:04:09 +01:00
Maksim Belov
fd6bea9b39
Merge pull request #6338 from PojavLauncherTeam/fix/QoL_stuff
QoL update
2024-12-02 13:07:37 +03:00
Mathias-Boulay
fc81b87e7f Fix(controls): non square joystick, set size via text 2024-12-01 23:29:16 +01:00
Mathias-Boulay
c6fe3c3de5 QoL(gesture): decouple gyroscope from long press gesture 2024-11-29 21:17:29 +01:00
Mathias-Boulay
68fa25cafc Fix(hotbar): first touch on 0 index not being taken into account 2024-11-29 21:14:16 +01:00