Yuri Sizov
773b4d7764
Ensure more export errors are reported to users
...
Also fixes the timing issue when exporting all
presets at the same time, where the error report
would try to appear while the progress dialog
was still visible.
2023-12-06 15:26:07 +01:00
Mikael Klasson
4986d6d317
Fix invalid Python escape sequences
2023-12-06 11:51:41 +09:00
Rémi Verschelde
7233bc6736
Merge pull request #85785 from bruvzg/macos_no_angle
...
[macOS] Switch ANGLE backend to ANGLE over OpenGL, switch default compatibility renderer back to native.
2023-12-05 15:15:48 +01:00
bruvzg
d48524a3f4
[macOS] Switch ANGLE backend to ANGLE over OpenGL, switch default compatibility renderer back to native.
2023-12-05 15:39:40 +02:00
Rémi Verschelde
8a4a6498b0
Merge pull request #85774 from bruvzg/macos_xcode_detect2
...
[iOS] Use mdfind to check if Xcode is installed in one-click deploy code.
2023-12-05 14:15:08 +01:00
Rémi Verschelde
c442136079
Merge pull request #85306 from HolonProduction/ime-async
...
X11: Send IME update notification deferred
2023-12-05 13:57:32 +01:00
bruvzg
0e2f297806
[iOS] Use mdfind to check if Xcode is installed in one-click deploy code.
2023-12-05 09:12:55 +02:00
Rémi Verschelde
7b1a5de284
Merge pull request #85484 from Maran23/windows-popup-menu-mouse-fix
...
Do not consume mouse messages in windows with `no_focus` on Windows OS
2023-12-04 23:15:18 +01:00
Rémi Verschelde
c2d7cfe538
Merge pull request #85458 from HolySkyMin/mac_korean_fix
...
Fix IME key event being erased in macOS
2023-12-04 23:14:54 +01:00
Rémi Verschelde
57aea1307e
Merge pull request #84990 from brno32/macos-templates-fix
...
Fix order of operations for macOS template check
2023-12-04 23:08:23 +01:00
bruvzg
b02cf351f3
[DisplayServer] Use screen "usable rect" instead of full rect to calculate initial window rect.
2023-12-04 07:56:33 +02:00
bruvzg
33ce138b9b
[iOS one-click] Add support for Xcode 15 devicectl.
2023-11-30 20:28:47 +02:00
HolySkyMin
5962e5278c
Fix IME key event being erased in macOS
...
Fixes Korean IME behavior which calls insertText and setMarkedText at the same time.
2023-11-29 18:17:57 +09:00
Marius Hanl
40d7320a17
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.
2023-11-28 19:43:07 +01:00
Fredia Huya-Kouadio
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
Fredia Huya-Kouadio
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
Alex Drozd
8f2b701892
Fix order of operations for macos template check
2023-11-26 23:26:32 +01:00
HolonProduction
bf45d3ae24
X11: Send IME update notification deferred
2023-11-24 13:18:50 +01:00
bruvzg
8e06a1084d
[iOS] Fix GDExtension init callback array reallocation.
2023-11-22 15:15:25 +02:00
Rémi Verschelde
fa259a77cd
Codestyle: Fix some comment issues
2023-11-21 15:26:53 +01:00
Rémi Verschelde
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
bruvzg
eceaaea2fe
[iOS] Check if Xcode is installed in one-click deploy code.
2023-11-21 11:43:29 +02:00
jsjtxietian
a3f44cd67e
Check nullptr in `_nvapi_disable_threaded_optimization` to prevent crash
...
update outdated link
2023-11-20 19:31:14 +08:00
Zach Coleman
6a8f6bae4c
Make screen_get_refresh_rate() respect iOS Low Power Mode
2023-11-17 08:36:52 -05:00
bruvzg
a92511fec3
[iOS] Fix dotnet export.
2023-11-16 15:05:44 +02:00
bruvzg
6b25204575
[macOS] Fix transparent and borderless flags interaction with full-screen mode.
2023-11-14 08:36:32 +02:00
Rémi Verschelde
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
Rémi Verschelde
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
Fredia Huya-Kouadio
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
Rémi Verschelde
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
Rémi Verschelde
ba713c80df
Fix various typos with codespell
...
Using 2.2.7.dev51+geb4a58fe.
2023-11-11 23:01:24 +01:00
Fredia Huya-Kouadio
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
Rémi Verschelde
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
Rémi Verschelde
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
Fredia Huya-Kouadio
0325568a9b
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
2023-11-09 10:28:26 -08:00
bruvzg
173b84127b
[Windows] Add some AMD GPUs to the OpenGL blocklist.
2023-11-09 20:11:04 +02:00
bruvzg
d4d5d68eda
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-09 20:04:40 +02:00
Rémi Verschelde
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
Rémi Verschelde
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
bruvzg
4fda7e14be
[macOS] Fix fullscreen <-> exclusive fullscreen transition.
2023-11-09 08:02:56 +02:00
Yuri Sizov
37ae21966d
Merge pull request #84521 from bruvzg/mac_icon_export
...
[macOS export] Improve icon generation.
2023-11-07 12:54:28 +01:00
Yuri Sizov
4c5c0414c8
Merge pull request #84491 from scgm0/andorid-no-show-splash-image
...
Fix Android disabling splash screen Show Image
2023-11-07 12:54:24 +01:00
scgm0
7771936df5
Fix Andorid disabling splash screen Show Image
2023-11-07 00:22:22 +08:00
bruvzg
03662020a9
[macOS export] Improve icon generation.
2023-11-06 15:04:12 +02:00
bruvzg
f3d4f5a77e
[X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam.
2023-11-06 12:40:44 +02:00
jitspoe
7918e2b6d9
Fix bug where maximized->fullscreen->windowed mode stays maximized.
2023-11-06 02:36:12 -05:00
Patchcoat
f8e10a2610
android keystore username and password are checked on export
2023-11-03 20:24:35 -05:00
Fredia Huya-Kouadio
fcb07ff8dc
Fix Android editor crash issue
...
Fix issue causing the Android editor to crash when pressing back from a running project
2023-11-03 07:37:46 -07:00
Yuri Sizov
64d20e0ebf
Merge pull request #83482 from bruvzg/no_sign
...
[macOS] Remove deprecated altool notarization support, disable rcodesign for C# version.
2023-11-03 12:52:16 +01:00
bruvzg
6bd639f9df
[Windows] Use CCD API to get fractional screen refresh rates.
2023-11-02 13:10:23 +02:00
bruvzg
6557e8aaaa
[macOS] Remove deprecated altool notarization support, add warning for rcodesign used with C# version.
2023-11-02 10:15:41 +02:00
Rémi Verschelde
da0b1eb128
Merge pull request #84316 from m4gr3d/update_android_env_variables
...
Replace the use of the `ANDROID_SDK_ROOT` env variable with `ANDROID_HOME`
2023-11-02 09:12:19 +01:00
Rémi Verschelde
95b8a75aaf
Merge pull request #84288 from bruvzg/angle_detect_2
...
[macOS] Improve ANGLE support detection.
2023-11-02 09:11:55 +01:00
Fredia Huya-Kouadio
a1ca4bab47
Replace the use of the `ANDROID_SDK_ROOT` env variable with `ANDROID_HOME` as the former is deprecated.
...
See https://developer.android.com/tools/variables#android_home for more details
2023-11-01 15:50:10 -07:00
Rémi Verschelde
2277eea262
Merge pull request #84285 from m4gr3d/auto_set_android_sdk_default
...
Automatically pick the Android sdk path using environment variables
2023-11-01 22:32:59 +01:00
Fredia Huya-Kouadio
f86e6115d9
Automatically pick the Android sdk path using environment variables
2023-11-01 07:36:16 -07:00
Rémi Verschelde
63153c9d36
Linux: Remove hardcoded lib path for x86 cross-compilation
...
This breaks the build with our updated i686 Linux SDK which doesn't contain
this path, and may not be needed at all.
This might need further work to be robust, and there's an open PR already
adding -march flags for all supported architectures, but for now we're
playing it safe for 4.2.
2023-11-01 14:14:01 +01:00
bruvzg
4c74c7d11a
[macOS] Improve ANGLE support detection.
...
Try opening EGL display when checking if ANGLE is supported.
2023-11-01 08:34:35 +02:00
Rémi Verschelde
799d30c306
Merge pull request #83753 from bruvzg/mac_angle_fb
...
[macOS] Fallback to native OpenGL renderer if ANGLE initialization failed.
2023-10-31 20:14:42 +01:00
Rémi Verschelde
befc5a9120
Merge pull request #83954 from m4gr3d/update_godot_app_launch_mode
...
Update the `launchMode` for the `GodotApp` activity
2023-10-30 23:18:34 +01:00
BlueCube3310
6ed1731746
Use platform-specific methods for FileAccess reading and writing
2023-10-29 17:34:18 +01:00
Tareq Anuar
ee31f2457f
Fix retrieving command line flags in Android.
2023-10-28 19:43:00 +08:00
thfrwn
a0253e593c
TTS_Linux: Fix size_t template issue on OpenBSD by using int consistently
2023-10-27 12:23:39 -04:00
Setadokalo
1d9ec3caa3
Fix freeze when requesting clipboard image from our own window
2023-10-25 18:32:40 -05:00
Fredia Huya-Kouadio
14428c8d5b
Update the `launchMode` for the `GodotApp` activity to allow other activities to be part of the same task
...
For details, see https://developer.android.com/guide/topics/manifest/activity-element#lmode
2023-10-25 08:27:35 -07:00
Brayden Harlon
085255bd0e
Improved X11 screen_get_refresh_rate performance
2023-10-24 11:25:51 -07:00
Rémi Verschelde
849b4f4793
Merge pull request #83837 from adamscott/revert-to-proxy_to_pthread=no-by-default
...
Revert to `proxy_to_pthread=no` as default
2023-10-24 10:54:41 +02:00
Alexander Hartmann
5137497c18
Fix Android logic for deferred window input events being inverted
...
Notably fixes issues with `is_action_just_*` queries in `_physics_process`
for TouchScreenButton.
Fixes #66318 .
Fixes #82396 .
2023-10-24 10:43:05 +02:00
Adam Scott
230cebb4b7
Revert to `proxy_to_pthread=no` as default
...
Currently, `proxy_to_pthread=yes` option as default breaks WebXR
support.
2023-10-23 08:45:45 -04:00
bruvzg
590c353707
[macOS] Fallback to native OpenGL renderer if ANGLE initialization failed. Remove platform specific renderer config values from docs.
2023-10-21 22:09:35 +03:00
Fabio Alessandrelli
e9df955e39
[Web] Fix closure compiler builds using BIGINT
...
When using proxy_to_pthread we add BIGINT support (to support exchanging
64 bits integers between wasm and JS).
Bigint though, is part of ECMAScript 2020, and the closure compiler was
using ECMAScript 6 instead.
This commit update the CC configuration to use ECMAScript 2020 instead.
2023-10-21 14:02:22 +02:00
bruvzg
e45cc9c72b
Use "version" project setting as macOS/iOS "short_version" fallback.
2023-10-20 19:31:08 +03:00
Rémi Verschelde
2f33c2b20e
Merge pull request #81439 from Setadokalo/clipboard_image
...
Implement `clipboard_get`/`has_image` for X11
2023-10-20 15:06:42 +02:00
Setadokalo
3b5a9e31bb
Implement clipboard_get/has_image for X11
2023-10-20 02:59:10 -05:00
Fredia Huya-Kouadio
56ce2d94c5
Bump the java version to version 17
2023-10-17 15:08:03 -07:00
Rémi Verschelde
e6d488f233
Merge pull request #81196 from georgwacker/add-audiosession-options
...
Add project settings for AVAudioSessionCategory on iOS
2023-10-17 16:12:49 +02:00
Georg Wacker
fcc500ea41
Add project settings for AVAudioSessionCategory on iOS
2023-10-17 12:35:49 +02:00
Rémi Verschelde
18f12d1a1e
Merge pull request #83181 from bruvzg/cb_dlg
...
Add error messages to the native menu and file dialogs callback.
2023-10-16 18:44:03 +02:00
Rémi Verschelde
1ab77f410e
Merge pull request #83433 from mhilbrunner/fix-android-gradle-docs
...
Docs: Fix link to Android Gradle build tutorial
2023-10-16 13:01:47 +02:00
Max Hilbrunner
68a1e0c7d4
Docs: Fix link to Android Gradle build tutorial
2023-10-16 12:27:24 +02:00
Rémi Verschelde
39bc8aafa1
Merge pull request #83173 from m4gr3d/fix_gestures_properties_retrieval_timing
...
Fix the timeframe when the Android gestures properties are retrieved
2023-10-16 10:40:12 +02:00
bruvzg
b52826bf55
Add error messages to the native menu and file dialogs callback.
2023-10-14 18:10:39 +03:00
Kacper Gibas
8eb32f9aad
Fix unused variables warning when `touch` is disabled
2023-10-13 16:04:08 +02:00
Rémi Verschelde
51f81e1c88
Merge pull request #82957 from bruvzg/fs_case_check
...
Add method to check if filesystem is case sensitive.
2023-10-13 12:55:35 +02:00
bruvzg
6371cc3d69
[macOS] Fix crash when using system default menu shortcuts.
2023-10-13 10:12:44 +03:00
Fredia Huya-Kouadio
c1a7222c97
Fix the timeframe when the Android gestures properties are retrieved.
...
Previous logic was retrieving them prior to them being defined in `main.cpp`
2023-10-11 15:41:19 -07:00
Fabio Alessandrelli
bb69f0c090
[Web] Improve emscripten "locateFile" glue.
...
Be more selective on what we rewrite, since in recent emscripten
versions loading dynamic libraries relies on it.
2023-10-11 21:21:34 +02:00
Rémi Verschelde
918f046354
Merge pull request #83114 from Repiteo/fix-dotnet-dev-build-regression
...
C#: Fix MSVC dotnet `dev_mode` regression
2023-10-10 22:52:04 +02:00
Thaddeus Crews
0d7d4c2a23
Fix dotnet dev_mode regression
2023-10-10 12:24:02 -05:00
bruvzg
3620d612ba
[macOS] Use occlusionState instead of isOnActiveSpace to determine when window is drawable.
2023-10-10 12:20:06 +03:00
Rémi Verschelde
1fe7f8a96c
Merge pull request #82893 from m4gr3d/godot_android_lib_improvements
...
Cleanups and improvements to the Godot Android library api
2023-10-10 09:11:53 +02:00
Raul Santos
cea77d0b48
C#: Add checks to Android export
...
- Add .NET 7.0 TFM when the platform is Anroid to the created csproj.
- Prevent exporting to Android when the architecture is not supported.
2023-10-10 00:35:08 +02:00
Rémi Verschelde
4a5801b44a
Merge pull request #82729 from shana/shana/ios-csharp
...
Add C# iOS support
2023-10-09 23:23:11 +02:00
Rémi Verschelde
a28dab7e82
Merge pull request #79711 from adamscott/web-non-blocking-main-thread
...
Add `proxy_to_pthread` option to `platform=web`
2023-10-09 23:22:22 +02:00
Andreia Gaita
ee9a735c26
Add C# iOS support
...
This support is experimental and requires .NET 8
Known issues:
- Requires macOS due to use of lipo and xcodebuild
- arm64 simulator templates are not currently included
in the official packaging
2023-10-09 18:22:56 +02:00
Adam Scott
78c2a08fae
Add `proxy_to_pthread` option to `platform=web`
...
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2023-10-09 11:50:01 -04:00
Rémi Verschelde
a1d7c62df7
Merge pull request #83003 from AThousandShips/null_check_extra
...
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-10-09 15:37:14 +02:00
Rémi Verschelde
7c12111c1c
Merge pull request #82790 from MarioLiebisch/warn-wasm-no-dlink
...
Web: Catch using GDExtensions in a non-dlink build
2023-10-09 15:33:02 +02:00
Rémi Verschelde
5a3befd6c9
Merge pull request #82508 from floatingpointer/master
...
Add XInput device ID for wireless Series 2 Elite controller
2023-10-09 15:32:13 +02:00
bruvzg
97bcd8a631
Add method to check if filesystem is case sensitive.
2023-10-09 11:00:15 +03:00