Commit Graph

4689 Commits

Author SHA1 Message Date
Fredia Huya-Kouadio d86aa32f8c Update the format for the app version code and name
(cherry picked from commit a041f96779)
2023-06-29 16:03:21 +02:00
Riteo 531b22339a Build `JoypadLinux` sandbox detection method only with udev
Fixes an `unused-function` warning when building with `udev=no`.

(cherry picked from commit 51dfdfab96)
2023-06-29 16:03:21 +02:00
Fredia Huya-Kouadio f7ee97d6d7 Update the gradle build tasks to generate play store builds.
Configure the gradle builds to sign and build the release version of the Godot Android Editor

(cherry picked from commit 0d569bea5d)
2023-06-29 16:03:21 +02:00
Hiroki Taira f2738cbd41 Add support for DPAD Center key of Android TV remote controller
(cherry picked from commit 9dc84e3581)
2023-06-29 16:03:21 +02:00
Hugo Locurcio e46b14fd30 Move code to Windows Vulkan context initialization context
This workaround is not needed for rendering drivers other than Vulkan.

(cherry picked from commit 950c5b57e4)
2023-06-16 17:27:11 +02:00
Hugo Locurcio 30f079ecb5 Disable AMD switchable graphics on Windows with Vulkan to fix driver issue
This is a required workaround on setups with AMD integrated graphics
+ NVIDIA dedicated GPU to be able to start the engine with the Forward+
or Forward Mobile rendering methods.

While a AMD driver update can resolve this issue, it still gets reported
regularly and is likely to become a source of support headache for people
distributing projects made with Godot (as this also affects exported projects).

(cherry picked from commit 31a9345189)
2023-06-16 17:27:10 +02:00
Rémi Verschelde 576ca44762
Linux: Don't use udev for joypad hotloading when running in a sandbox
udev doesn't work in sandboxes, notably the new Steam container runtime
as found notably on the Steam Deck, and in Flatpak/Snap packages.

Like SDL does, when we detect such a containerized environment, we fall
back to parsing `/dev/input` directly.
See smcv's comments in #76879 for details.

Fixes #76879.

(cherry picked from commit 788cb74cc6)
2023-05-12 14:14:05 +02:00
Ninni Pipping f93a4287cf
Enable shadow warnings and fix raised errors
(cherry picked from commit 71ee65dc57)
2023-05-12 13:56:48 +02:00
Christopher Foo 28012c40fb
Ensure WindowData minimized/maximized are mutually exclusive
The window manager can break the assumption that
fullscreen/maximized/minimized values are mutually exclusive.

(cherry picked from commit e4d052e284)
2023-05-12 12:14:30 +02:00
Omar Shehata bab96e71d2
Fix double tap & drag on Android
(cherry picked from commit 0c94750642)
2023-05-12 12:14:14 +02:00
bruvzg ebaf3cc9ab
[iOS] Fix loading of GDExtension dylibs auto converted to framework.
(cherry picked from commit ad4d565ee7)
2023-05-12 12:06:59 +02:00
Fredia Huya-Kouadio d327bb7a45 Fix issue with resizing the display on Android when using the compatibility renderer.
(cherry picked from commit b438b4a490)
2023-04-26 14:51:00 +02:00
Eoin O'Neill 5120afc236 Fix crash caused by invalid mix_rate assignment due to bogus
project settings.

We'll default to a sensible value in the case that a user has
somehow managed to modify the configuration file incorrectly.

Closes 69819

(cherry picked from commit 5a08091168)
2023-04-26 14:51:00 +02:00
Roman Vasilyev b711b45870 ios splash screen rotation fix
(cherry picked from commit 8fcca194a1)
2023-04-26 14:50:59 +02:00
Fredia Huya-Kouadio eae3d61d7f Downgrade android gradle plugin to version 7.2.1.
Version 7.3.0 changes the build layout which causes updates to the generated shared libraries to not be picked up.

(cherry picked from commit 4507d3a38c)
2023-04-26 14:32:20 +02:00
bruvzg 46e7f334fb [Windows] Cleanup COM library initialization/uninitialization.
(cherry picked from commit 83dc545ea2)
2023-04-26 14:14:07 +02:00
bruvzg 10547deb3d [Windows TTS] Fix queuing utterances in rapid succession.
(cherry picked from commit a9d326db60)
2023-04-26 14:14:06 +02:00
Jason Knight f3907e2fe0 Fix potential null in android text entry system.
(cherry picked from commit f8699d93f6)
2023-04-24 16:28:29 +02:00
Johan Mattsson 5bcff18c76 macOS export: Fix validation of codesigning certificate password
(cherry picked from commit 76e1d1363b)
2023-04-24 16:28:25 +02:00
Rémi Verschelde effefe9feb Windows TTS: Use HashMap instead of RBMap for ids
And fixup includes in other implementations.

(cherry picked from commit 92b9806dcc)
2023-04-24 16:28:24 +02:00
bruvzg ba5335f3fb [Web] Fix keycode/physical keycode mixed up.
(cherry picked from commit 744bf604bf)
2023-04-07 17:44:39 +02:00
Andrés Botero 02d0f090c0 Added guide button to controller db, changed to use secret XInput function.
(cherry picked from commit f249a9ce19)
2023-04-07 17:44:38 +02:00
RedMser f645bbaffb Fix clipboard relying on focused window
(cherry picked from commit 942f8b9858)
2023-04-07 17:44:36 +02:00
bruvzg 50f26811b0
[macOS] Fix infinite loop caused by global menu callbacks which trigger EditorProgress dialog.
(cherry picked from commit 48730e3b77)
2023-03-30 23:20:20 +02:00
Sabrehull 1056996200 [X11] Fix layout bug in `keyboard_get_keycode_from_physical`
(cherry picked from commit d4b7466266)
2023-03-30 19:19:23 +02:00
Fredia Huya-Kouadio dc100cbebb Bump the target SDK version to 33 (Android 13)
(cherry picked from commit 845ca33c76)
2023-03-30 19:14:54 +02:00
lewiji 5f9990e25d Add "filesRoot" path to Android provider paths xml
(cherry picked from commit ac04ff7bec)
2023-03-30 19:13:59 +02:00
Fredia Huya-Kouadio ff15e2384a Configure maven central snapshot versions for the Godot Android library
A snapshot version is a version that has not yet been released which allows us to deploy the same transient version incrementally, without requiring projects to upgrade the artifact version they're consuming. Those projects can use the same version to get an updated snapshot version.

(cherry picked from commit a5fdc95515)
2023-03-30 19:13:18 +02:00
ator-dev 9a3b52dc2d Fix "Download Project Source" for Web Editor
- Correctly pass safe project name and safe datetime to `vformat`

(cherry picked from commit dfb405b702)
2023-03-27 17:45:09 +02:00
bruvzg 989d556f8e [Windows] Remove meta_mem update on keyup/keydown.
(cherry picked from commit e6067a39b5)
2023-03-27 17:38:51 +02:00
Fredia Huya-Kouadio 9ac978190e Fix directory access when the running app has the `All files access` permission
(cherry picked from commit f02e4e4091)
2023-03-27 17:38:00 +02:00
Rémi Verschelde 516323f4ab SCons: Cleanup pulseaudio defines for Linux
No need to define _REENTRANT manually when using the system lib,
it's part of the pkgconfig cflags.
And we were then defining PULSEAUDIO_ENABLED twice.

(cherry picked from commit a35586779e)
2023-03-27 17:20:16 +02:00
Omar Polo 597b83aedf change some sys.exit() to be fatal
- when not all freetype deps are builtin (or provided externally)
- when attempting to build on an unsupported CPU architecture

(cherry picked from commit ac04a0761e)
2023-03-27 17:19:27 +02:00
Ron B. Yeh b54ff430aa Rename mkv_list to mvk_list (MoltenVK path list).
(cherry picked from commit 7e7ac1bb87)
2023-03-27 17:15:28 +02:00
necrashter 865a0b4507 Use the new API for virtual keyboard height detection on Android, bugfix
(cherry picked from commit 61549edef0)
2023-03-27 17:05:13 +02:00
bruvzg 577afedc40 [macOS] Remove unnecessary debug prints.
(cherry picked from commit 42a30c76d9)
2023-03-16 16:35:54 +01:00
Hugo Locurcio 10424abb29 Tweak command syntax in Vulkan renderer failure message
This quotes the executable name so that copying it always works
(even if the path contains spaces).

The command is also indented from the rest of the text and is
no longer single-quoted, as that can prevent the command from
running if the line is copied in its entirety (with the quotes).

(cherry picked from commit ddc9cc3e49)
2023-03-14 13:59:04 +01:00
Chris Weber 006410ae46 increased max touches to 32 for ios
(cherry picked from commit 54bd204377)
2023-03-14 13:59:04 +01:00
bruvzg 0c1abbd79e [Linux/X11] Add some missing keycodes/scancodes.
(cherry picked from commit 5d35c600d5)
2023-03-14 13:59:04 +01:00
clayjohn 08845dc3f0 Propogate errors when creating an OpenGL context fails in X11
(cherry picked from commit e7ea3ef531)
2023-03-14 13:59:03 +01:00
Rindbee 323c3f80c5 Fix broken shortcut key input
(cherry picked from commit 91e460d500)
2023-03-14 13:59:03 +01:00
Rémi Verschelde b1c8a40853 Windows: Workaround missing DWRITE_FONT_WEIGHT value in old MinGW
Fixes #74339.

(cherry picked from commit b7ecb9584a)
2023-03-13 22:06:14 +01:00
bruvzg 4cce358241 [Windows] Update modifier key status during IME input.
(cherry picked from commit ba995c6ea1)
2023-03-13 22:04:08 +01:00
bruvzg ef3f1d426d [Web] Fix some missing keycode mappings.
(cherry picked from commit 0b0587af97)
2023-03-13 22:00:15 +01:00
Rémi Verschelde c6f7675b1f Linux: Don't try to link system embree3 on unsupported archs
(cherry picked from commit afb8693715)
2023-03-13 21:49:15 +01:00
bruvzg 57dc060879 Fix Windows to Windows SSH remote deploy. Fix Windows `execute` exit code.
(cherry picked from commit 94355249c3)
2023-03-13 21:37:41 +01:00
Malcolm Nixon 5180116c07 Fix null-pointer dereference on Android systems when using gl_compatibility renderer.
(cherry picked from commit d186b7438f)
2023-03-13 14:22:45 +01:00
bruvzg d83245f2f9 [TextServer] Add invalid font scaling check, restrict Linux/BSD system fonts lookup to TrueType/CFF only.
(cherry picked from commit 8d501a2dc3)
2023-03-13 14:17:42 +01:00
bruvzg 1d21652f80 [Linux/X11] Check if required xkb functions exist before using it.
(cherry picked from commit 8a675f3824)
2023-03-13 14:08:31 +01:00
Rémi Verschelde 491ded1898
Minor typo and docs URL fixes 2023-02-28 13:38:01 +01:00