Commit Graph

5163 Commits

Author SHA1 Message Date
9fa98ebb17 [iOS one-click] Add support for Xcode 15 devicectl.
(cherry picked from commit 33ce138b9b)
2024-03-11 16:15:08 +01:00
aaf1928940 Improve documentation on Android package unique name
- Document `$genname` behavior.
- Update to match actual validation and Google Play guidelines.

(cherry picked from commit 111908c4ed)
2024-03-11 15:13:16 +01:00
acea2c5424 Add documentation to EditorExportPlatformWeb
(cherry picked from commit 7ffacb5d49)
2024-03-11 15:05:09 +01:00
3797140b7d [Windows] Disable fallback to ANGLE logic when compiled w/o ANGLE support.
(cherry picked from commit 620e194727)
2024-03-11 15:00:44 +01:00
7e80c69d49 [Windows] Always use ANGLE in ARM builds.
(cherry picked from commit b65635ae51)
2024-03-11 15:00:44 +01:00
d771bc6084 [macOS] Fix changing main menu item names.
(cherry picked from commit 112f489449)
2024-03-11 15:00:43 +01:00
4bbca24ec7 os_linuxbsd.cpp: include servers/rendering_server.h
(cherry picked from commit 6307cebf37)
2024-03-11 15:00:41 +01:00
2dd55ce69f Fix gradle build errors when the build path contains non-ASCII characters
(cherry picked from commit f1887a30f3)
2024-03-11 15:00:41 +01:00
52efe85133 Add WASM_BIGINT linker flag to the web build
(cherry picked from commit 3ae524fa9e)
2024-03-11 15:00:41 +01:00
2b704dc15d Web: Bump closure compiler spec to ECMASCRIPT_2021
Fixes #88008.

(cherry picked from commit d29b0d90e0)
2024-03-11 00:11:29 +01:00
adcc505e10 [macOS] Check Vulkan SDK version when looking for MoltenVK libs.
(cherry picked from commit 70e328385c)
2024-03-11 00:11:29 +01:00
91c5d1e245 iOS: Enable Storyboard launch screen by default
LaunchImages are deprecated, and Storyboard is supported on all currently
supported iOS versions, so this should be the default.

LaunchImages support was removed in 4.3 with #86312.
2024-03-09 23:19:34 +01:00
822b2b43a6 Fix 'get_window_safe_area' on Android
(cherry picked from commit d7c6ad2020)
2024-01-25 18:45:02 +01:00
ce42f8b4ec Wrong key mapping for XK_KP_Delete key
Fixes #86156

(cherry picked from commit 95bcf93849)
2024-01-25 18:45:02 +01:00
9609df181d Make screen_get_refresh_rate() respect iOS Low Power Mode
(cherry picked from commit 6a8f6bae4c)
2024-01-25 18:32:35 +01:00
94949f0ee1 [X11] Fix Godot stealing focus on alternative Window Managers
(cherry picked from commit 40d69c25d5)
2024-01-25 18:08:46 +01:00
6e4cbdc144 SCons: Add stack_size and default_pthread_stack_size options to Web target
(cherry picked from commit 6788bc6bc2)
2024-01-25 18:08:45 +01:00
894d629185 Disable automatic permissions request
The feature was added in Godot 4.2, but it goes against recommended best practices for permissions request, as such it's being reverted.
In its place, developers now have to explicitly request the permissions they need to access.

(cherry picked from commit df4f9e8e64)
2024-01-25 17:19:41 +01:00
9822c13909 Update the validation logic for the package name:
- When using the project name, allow underscore (`_`) characters
- Send a warning instead of an error when the project name is modified to fit the package name format

(cherry picked from commit 0325568a9b)
2024-01-24 15:56:50 +01:00
4061f306e2 [macOS] Fix MoltenVK SDK detection after file location changes in 1.3.275.0.
(cherry picked from commit a2c1c01941)
2024-01-18 10:47:26 +01:00
5dd7623ecc Set what were default values for some emscripten linkflags
- Set `-sSTACK_SIZE` to what it was before emscripten 3.1.27.
  It was renamed in 3.1.25 so also set `-sTOTAL_SIZE` for older
  versions for consistency.
- Set `-sDEFAULT_PTHREAD_STACK_SIZE` to what it was before 3.1.30.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 8e5fbd4348)
2023-12-11 20:26:44 +01:00
c219ffe5eb Fix invalid Python escape sequences
(cherry picked from commit 4986d6d317)
2023-12-07 10:27:09 +01:00
455e8f0e33 [macOS] Switch ANGLE backend to ANGLE over OpenGL, switch default compatibility renderer back to native.
(cherry picked from commit d48524a3f4)
2023-12-07 10:27:09 +01:00
65677df124 [iOS] Use mdfind to check if Xcode is installed in one-click deploy code.
(cherry picked from commit 0e2f297806)
2023-12-07 10:27:08 +01:00
24a383e2ec X11: Send IME update notification deferred
(cherry picked from commit bf45d3ae24)
2023-12-07 10:27:08 +01:00
3dfb82f47b Fix IME key event being erased in macOS
Fixes Korean IME behavior which calls insertText and setMarkedText at the same time.

(cherry picked from commit 5962e5278c)
2023-12-07 10:27:07 +01:00
a207e53def Fix order of operations for macos template check
(cherry picked from commit 8f2b701892)
2023-12-07 10:27:06 +01:00
cc9bb3bc3f Do not consume (eat) mouse messages with no_focus Window's (Godot PopupMenu)
Window's with the no_focus flag should still process mouse events and not consume them. Otherwise all mouse pressed operations will not work inside Godot's PopupMenu.
This problem is Windows only, all other platforms do process mouse events for PopupMenu's correctly.

(cherry picked from commit 40d7320a17)
2023-12-07 10:27:05 +01:00
7cd604132b Fix an issue causing the running project window to loop-restart when closed with the back button 2023-11-27 23:43:19 -08:00
1e4af5269f Fix issue causing Godot Android apps / games to freeze on close
The issue occurred because during the 'close' event, the logic was trying to terminate the native engine on the UI thread instead of doing on the render thread.
2023-11-27 18:24:36 -08:00
8e06a1084d [iOS] Fix GDExtension init callback array reallocation. 2023-11-22 15:15:25 +02:00
fa259a77cd Codestyle: Fix some comment issues 2023-11-21 15:26:53 +01:00
132554badd Merge pull request #85168 from bruvzg/ios_xc_check
[iOS] Check if Xcode is installed in one-click deploy code.
2023-11-21 15:06:32 +01:00
eceaaea2fe [iOS] Check if Xcode is installed in one-click deploy code. 2023-11-21 11:43:29 +02:00
a3f44cd67e Check nullptr in _nvapi_disable_threaded_optimization to prevent crash
update outdated link
2023-11-20 19:31:14 +08:00
a92511fec3 [iOS] Fix dotnet export. 2023-11-16 15:05:44 +02:00
6b25204575 [macOS] Fix transparent and borderless flags interaction with full-screen mode. 2023-11-14 08:36:32 +02:00
5a5b456fca Merge pull request #84774 from akien-mga/fix-TTR-in-ERR-WARN-prints
Don't use TTR/RTR for ERR/WARN prints
2023-11-12 22:59:38 +01:00
87ba798cba Merge pull request #84779 from m4gr3d/keep_android_build_window_open_on_failure
Preserve the output from the gradle build command
2023-11-12 12:15:54 +01:00
136b7f9c52 Preserve the output from the gradle build command
Updates `EditorNode#execute_and_show_output(...)` to return the output of the executed command.
2023-11-12 12:07:04 +01:00
15b8185c68 Don't use TTR/RTR for ERR/WARN prints
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
ba713c80df Fix various typos with codespell
Using 2.2.7.dev51+geb4a58fe.
2023-11-11 23:01:24 +01:00
dce2686e52 Remove Android specific abis from the export preset feature list
The presence of those abis cause them to be included in the set of `p_features` passed to the `gdextension_export_plugin#_export_file(...)` method, which caused them to be lumped in the `features_wo_arch` set.
When trying to find the gdextension library path, we use a predicate with the following logic:

```
[features_wo_arch, arch_tag](String p_feature) { return features_wo_arch.has(p_feature) || (p_feature == arch_tag); }
```

For a `gdextension` config file like the one below, this causes the first android entry (`android.armeabi-v7a = ...`) to always be returned regardless of archs since it always satisfies the predicate.

```
[configuration]

entry_symbol = "example_library_init"
compatibility_minimum = 4.1

[libraries]
linux.x86_64 = "res://libgdexample.so"

android.armeabi-v7a = "res://libgdexample.android.template_release.armeabi-v7a.so"
android.arm32 = "res://libgdexample.android.template_release.armeabi-v7a.so"
android.x86 = "res://x86/libgdexample.android.template_release.x86.so"
android.x86_32 = "res://x86/libgdexample.android.template_release.x86.so"
android.x86_64 = "res://libgdexample.android.template_release.x86_64.so"
android.arm64-v8a = "res://libgdexample.android.template_release.arm64-v8a.so"
android.arm64 = "res://libgdexample.android.template_release.arm64-v8a.so"
```
2023-11-10 07:32:59 -08:00
dfe2df989d Merge pull request #84493 from bruvzg/gde_ios_static_fix
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-10 10:44:56 +01:00
03d97977b1 Merge pull request #84649 from bruvzg/mac_fs_fs_switch
[macOS] Fix fullscreen <-> exclusive fullscreen transition.
2023-11-09 20:05:09 +01:00
173b84127b [Windows] Add some AMD GPUs to the OpenGL blocklist. 2023-11-09 20:11:04 +02:00
d4d5d68eda [iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks. 2023-11-09 20:04:40 +02:00
aaafc69132 Merge pull request #84513 from bruvzg/x11_fallback_and_spam
[X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam.
2023-11-09 11:46:36 +01:00
0e8781e818 Merge pull request #84504 from jitspoe/master.pr_fullscreen_to_windowed_fix
Fix bug where maximized->fullscreen->windowed mode stays maximized.
2023-11-09 11:46:12 +01:00
4fda7e14be [macOS] Fix fullscreen <-> exclusive fullscreen transition. 2023-11-09 08:02:56 +02:00