Rémi Verschelde
2cad0055fa
Merge pull request #60806 from pfertyk/issue-60466-nan-in-windows-size
2022-06-15 14:55:01 +02:00
Paweł Fertyk
b3f822eaae
Fix set_window_size
crash when using NaN
...
Fixes #60466 .
2022-06-15 13:43:41 +02:00
Rémi Verschelde
0d2be435ea
Merge pull request #61989 from Faless/js/3.x_threads_gdnative_export
2022-06-13 12:08:48 +02:00
Fabio Alessandrelli
65dc01bd8e
[HTML5] Add GDNative+Threads build.
2022-06-13 11:46:08 +02:00
bruvzg
e75e1f3231
[macOS, 3.x] Fix unresponsive redraw during live resizing.
2022-06-10 14:11:12 +03:00
Fredia Huya-Kouadio
5946b4bdc6
Migrate the Godot Editor java source file to Kotlin.
...
(cherry picked from commit 6b9a81900e
)
2022-06-10 10:25:37 +02:00
bruvzg
f5fa1ca944
Add readable export errors. Add RTL image vertical alignment support.
2022-06-08 17:56:28 +03:00
Fredia Huya-Kouadio
05fc140ee6
Misc editor tweaks and polishes:
...
- Using a bucketized approach to select the editor scale in order to avoid too high values
- Add default app dimensions: used on Android devices with free floating app windows to set the default app frame
- Add ability to launch the Game window in an adjacent frame when in multi window mode
(cherry picked from commit 6f7ec7f723
)
2022-06-08 10:11:28 +02:00
Marcel Admiraal
9f0dba8b65
Ensure Android Java and Kotlin compile to the same version
2022-06-01 16:24:12 +01:00
Marcel Admiraal
caaaef68b4
Only use Android fullscreen theme for splash screen
...
(cherry picked from commit d0cb299f04
)
2022-06-01 00:29:46 +02:00
Marcel Admiraal
7a782edeaa
Cleanup Android C++ code
2022-05-31 17:11:44 +01:00
Rémi Verschelde
f880904c7a
HTML5: Run npm audit fix
...
And re-add `node_modules` to `.gitignore` which I mistakenly removed
with an earlier cleanup.
(cherry picked from commit 6aa7449d60
)
2022-05-25 14:59:03 +02:00
Rémi Verschelde
9d1d386bd0
HTML5: Enable mbedTLS module for Crypto object
...
Increases the size of the wasm by around 3% (~300-350 KiB).
This enables using the Crypto object for hashing, signing and encryption,
and therefore reduces the gap between the features of the HTML5 platform
and other platforms.
Closes https://github.com/godotengine/godot-proposals/issues/3574 .
(cherry picked from commit 3ff6d794c0
)
2022-05-25 14:52:57 +02:00
Rémi Verschelde
2b2a1b4c71
Android: Change export plugin poll to 300 ms
...
This removes the reliance on the not-so-fully-implemented Power API,
which throws an error in the HTML5 editor.
This was already changed to 200 ms in the master branch, and here I
picked 300 ms to be consistent with the iOS export plugin. All these
thread sleeps need to be re-assessed together to be made more
consistent (and possibly configurable - and most importantly battery
preserving by default).
2022-05-25 12:16:24 +02:00
Marcel Admiraal
b66b153b8c
Remove duplicate Android sensor listener registrations
...
(cherry picked from commit cf0f967e6d
)
2022-05-24 00:06:20 +02:00
Rémi Verschelde
e0ddaf7137
Merge pull request #61332 from m4gr3d/fix_restart_logic_3x
2022-05-23 22:25:44 +02:00
Fredia Huya-Kouadio
b162e7ac39
Fix the logic to restart the Godot application
2022-05-23 13:15:25 -07:00
bruvzg
c8978f58af
[Windows, 3.x] Remove cached icon earlier, to prevent double free crash on exit.
2022-05-23 10:33:42 +03:00
ElCosmoXD
432e752028
Fixed the missing DLL's issue
2022-05-21 17:43:25 -04:00
Rémi Verschelde
7a70b4878b
Merge pull request #61021 from timothyqiu/wait-busy-3.x
2022-05-19 15:41:47 +02:00
Haoyu Qiu
b657d0c76c
Add dedicated macros for property name extraction
...
* Replace case-by-case extraction with PNAME & GNAME
* Fix group handling when group hint begins with property name
* Exclude properties that are PROPERTY_USAGE_NOEDITOR
2022-05-19 11:31:35 +08:00
Hugo Locurcio
0df7aa1e2c
Increase compiler optimization when using target=release
on iOS/Android
...
(cherry picked from commit 78b4ec2d4d
)
2022-05-16 17:52:07 +02:00
Haoyu Qiu
ddb7774099
Try to convert OS::execute() output to Unicode on Windows
...
(cherry picked from commit a71e808112
)
2022-05-16 16:47:16 +02:00
bruvzg
2d3f5855c6
[Windows] Save and re-apply window icon when changing window style.
...
(cherry picked from commit b268c4b4bc
)
2022-05-16 16:42:25 +02:00
Timo Schwarzer
8b55b80056
Fix vibration duration on iOS
...
Fixes #61063
2022-05-16 10:33:41 +02:00
Haoyu Qiu
4c70c5b0cd
Swap the meaning of CURSOR_WAIT and CURSOR_BUSY
2022-05-14 10:24:25 +08:00
Andy Maloney
7c6564ef7e
[3.x] Fix sign comparison error in platform/osx/os_osx.mm
2022-05-07 20:56:48 -04:00
Marcel Admiraal
89c758a4de
Read and store joypad events in a separate thread on x11 platform
2022-05-05 16:15:33 +02:00
Rémi Verschelde
4dfc44ecc3
Merge pull request #60788 from akien-mga/3.x-cherrypicks
2022-05-05 15:54:33 +02:00
mdavisprog
53fb0440d3
Add OS::is_process_running function.
...
Adds the is_process_running function to the native OS class and exposes it to script.
This is implemented on Windows and Unix platforms. A stub is provided for other platforms that do not support this function.
Documentation is updated to reflect new API function.
(cherry picked from commit f3c1232c59
)
2022-05-05 15:02:46 +02:00
Fabio Alessandrelli
cc12c69ea1
[JS] Add flag to disable weak symbols in ZSTD.
...
Weak symbols are currently broken in upstream emscripten.
(cherry picked from commit 070bd87aaa
)
2022-05-05 14:07:56 +02:00
Fabio Alessandrelli
89c8a8d1dc
Added missing signature.
...
(cherry picked from commit a4c3e915be
)
2022-05-05 14:07:56 +02:00
Paulo Feodrippe
c46bbdee53
Fix simulatenous touches for different touch types
...
(cherry picked from commit a6f06d57dc
)
2022-05-05 13:49:50 +02:00
Marcel Admiraal
fe60de2c6a
Check for null when retrieving clip data item text on Android
...
(cherry picked from commit 5924e2b90e
)
2022-05-05 13:44:00 +02:00
Rémi Verschelde
3b8818e5c4
Crash handler: Use print_error
to include backtrace in logs
2022-05-05 12:13:04 +02:00
bruvzg
0be7de6e11
[3.x] Fix export plugins after embedded PCK loading changes.
2022-05-04 12:56:00 +03:00
Rémi Verschelde
917a749964
Merge pull request #60639 from m4gr3d/support_hand_tracking_v2_3x
2022-05-02 09:51:35 +02:00
Rémi Verschelde
d8e702b010
Merge pull request #60552 from madmiraal/implement-3466-3.x
...
[3.x] Add a method for obtaining display cutouts on Android
2022-05-02 07:58:05 +02:00
bruvzg
bea7c9be5d
[3.x] Improve embedded PCK loading and exporting.
2022-04-28 11:11:48 +03:00
Fredy Huya-Kouadio
32ace78a3e
Update Meta hand tracking version
...
https://developer.oculus.com/blog/presence-platforms-hand-tracking-api-gets-an-upgrade/
2022-04-27 21:14:49 -07:00
Rémi Verschelde
d021cef134
Linux: Use pkg-config for alsa, libudev and GL too
...
It's not needed on most distros as those are found in standard lib
and include paths, but on NixOS they're all in non-standard prefixes,
so we need to rely on information provided by pkg-config.
Fixes #59913 .
Co-authored-by: David Lewis <davidalewis00@gmail.com>
(cherry picked from commit 07ad066420
)
2022-04-27 12:34:58 +02:00
Marcel Admiraal
9a4d4ec2d5
Remove superfluous null check
...
(cherry picked from commit 988432b8bb
)
2022-04-27 12:25:58 +02:00
Marcel Admiraal
76b5c31433
Replace index iterators with for each loops.
...
(cherry picked from commit 334ebd7eb7
)
2022-04-27 12:25:47 +02:00
Marcel Admiraal
23b649b673
Remove superfluous check for minimum Android SDK.
...
(cherry picked from commit 2f225bf2c5
)
2022-04-27 12:25:34 +02:00
Timo Schwarzer
8fb9c96df9
Vibrate using iOS haptics engine on supported devices (3.x)
2022-04-27 09:46:42 +02:00
Marcel Admiraal
ec2270b88f
Add a method for obtaining display cutouts on Android
2022-04-26 13:52:33 +02:00
Haoyu Qiu
95d861694a
Fix several OS_X11 memory leaks
2022-04-26 08:39:55 +08:00
Rémi Verschelde
ba21c76b46
Merge pull request #60442 from madmiraal/remove-superfluous-inputmanager-3.x
2022-04-25 15:42:06 +02:00
Fredy Huya-Kouadio
7a88d5bf28
Fix the issue causing the screen to be black after resuming when in low processor mode.
...
This is done by forcing a redraw and buffers swap when resuming the app.
2022-04-25 00:20:44 -07:00
Marcel Admiraal
b5402818d7
Remove superfluous Android InputManager interface and implementation
2022-04-22 19:10:01 +02:00