1
0
Fork 0
Commit Graph

7368 Commits

Author SHA1 Message Date
Thaddeus Crews 5935a32e32
Core: Cleanup headers in `core/config`
- `MainLoop` now forward-declared in `OS`
2025-10-06 09:20:56 -05:00
Thaddeus Crews d1d28c0bcf
Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
Thaddeus Crews fa1c53bb8e
Merge pull request #111204 from syntaxerror247/suspend-btn
Android Editor: Update suspend button icon in GameMenuBar
2025-10-06 09:06:46 -05:00
Thaddeus Crews 30a0a41982
Merge pull request #111274 from chocola-mint/include-optimization-logger
Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`.
2025-10-06 09:06:32 -05:00
Thaddeus Crews ef5ecd95d7
Merge pull request #111254 from Ivorforce/object-no-rb-rw
Remove `rw_lock.h` and `rb_map.h` includes from `object.h`.
2025-10-06 09:06:29 -05:00
Pāvels Nadtočajevs 91fc0c3756
[Windows] Fix application manifest in exported projects with modified resources. 2025-10-06 11:33:02 +03:00
Pāvels Nadtočajevs 0d056cf294
Fix editor embedded windows partially resizing. 2025-10-06 09:12:20 +03:00
Lukas Tenbrink 9d44b68867 Remove `rw_lock.h` and `rb_map.h` includes from `object.h`. 2025-10-05 23:29:04 +02:00
Stuart Carnie 94c7c2b780 MacOS: Move includes inside #ifdef so OpenGL can be disabled 2025-10-06 06:20:44 +11:00
chocola-mint ead282ff13 Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`. 2025-10-05 17:49:23 +09:00
Lukas Tenbrink 1db0a60dc0 Replace `std::size` usage with `std_size` to avoid `<iterator>` include. 2025-10-05 00:26:11 +02:00
Thaddeus Crews cf3c00056c
Merge pull request #109974 from rsanchezsaez/apple/swiftui-lifecycle
SwiftUI lifecycle for Apple embedded platforms
2025-10-03 12:01:09 -05:00
Thaddeus Crews 554e16fac2
Merge pull request #95853 from bruvzg/win_no_id
[Windows] Simplify ANGLE fallback list and remove ID checks.
2025-10-03 12:01:06 -05:00
Thaddeus Crews 38af23a654
Merge pull request #89409 from aaronfranke/server-folders
Move server files into their subfolders
2025-10-03 12:01:00 -05:00
Anish Mishra 4b519317cd Android Editor: Update suspend button icon in GameMenuBar 2025-10-03 15:59:37 +05:30
bruvzg ab287991cf
[Windows] Simplify ANGLE fallback list and remove ID checks. 2025-10-03 08:07:43 +03:00
Thaddeus Crews 127c2a347e
Merge pull request #110793 from Calinou/editor-macos-export-tweak-messages
Tweak macOS notarization export message in the editor
2025-10-01 17:54:11 -05:00
Aaron Franke 3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews 7288419939
Merge pull request #110936 from bruvzg/mac_ver_check
Change `macos.permission.RECORD_SCREEN` version check from 10.15 to 11.0.
2025-09-30 20:10:46 -05:00
Thaddeus Crews 5240f1c283
Merge pull request #108658 from bruvzg/ed_pl_init
[EditorExportPlatform] Move initialization to a dedicated method.
2025-09-30 18:35:25 -05:00
Thaddeus Crews c6189a83b9
Merge pull request #110691 from Ruw-Van/fix-windows-logfile-encoding
Fix windows logfile encoding
2025-09-30 18:35:19 -05:00
Thaddeus Crews 6b22951162
Merge pull request #107954 from stuartcarnie/unix_domain_socket_support
Add Core UNIX domain socket support
2025-09-30 18:35:08 -05:00
Thaddeus Crews 373ff727f0
Merge pull request #110875 from vmedea/2025-wayland-inhibit-idle
wayland: Inhibit idle in DisplayServerWayland::screen_set_keep_on
2025-09-30 18:35:02 -05:00
Thaddeus Crews 0b2805f400
Merge pull request #110897 from Repiteo/windows/migrate-manifest
Windows: Migrate `godot.manifest` to `platform/windows`, include as dependency
2025-09-30 11:19:18 -05:00
Thaddeus Crews 21fd4faf1b
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Thaddeus Crews ef4863ab97
Merge pull request #109764 from ydeltastar/android-fragment-fix
Android: Ensure proper cleanup of the fragment
2025-09-28 10:07:48 -05:00
Thaddeus Crews f6fc2f4a08
Core: Remove `skip_cr` argument from `String` 2025-09-28 10:07:24 -05:00
Haoyu Qiu 12f8c78231 X11: Fix minimization of maximized windows 2025-09-28 12:19:54 +08:00
Thaddeus Crews 9283328fe7
Merge pull request #109491 from syntaxerror247/window-color
Android: Add method to set root window color at runtime
2025-09-26 13:47:32 -05:00
Thaddeus Crews 3a16864c33
Merge pull request #107075 from m4gr3d/implement_javaclasswrapper_has_method
[Android] `JavaClassWrapper` bug fixes
2025-09-26 13:47:31 -05:00
Pāvels Nadtočajevs 1c59038555
Change `macos.permission.RECORD_SCREEN` version check from 10.15 to 11.0. 2025-09-26 19:25:49 +03:00
ydeltastar 6a3d37ef1c
Android: Ensure proper cleanup of the fragment 2025-09-26 10:18:11 -03:00
Stuart Carnie 7227fdd805 Core: Add UNIX domain socket support
> [!NOTE]
>
> Later versions of Windows has support for `AF_UNIX`, so it could be
> added.
2025-09-26 05:46:19 +10:00
Thaddeus Crews c32c2606f4
Merge pull request #110837 from wheatear-dev/add-gdsoftclass-deeper
Add `GDSOFTCLASS` to deeper inheritors of `Object`
2025-09-25 12:13:56 -05:00
Thaddeus Crews d48f255074
Windows: Migrate `godot.manifest` to `platform/windows`
• Ensure file is included as proper dependency
2025-09-25 09:15:00 -05:00
Nikita a75e6be6fb
Fix HashMap/HashSet in natvis after member renames 2025-09-24 21:51:03 -07:00
Mara Huldra c64ff4b069 wayland: Inhibit idle in DisplayServerWayland::screen_set_keep_on
Without this, the screen does go into idle after a few minutes on a RPi5 with default install (wayland w/ labwc), even
though `screen_keep_on` is set. DBUS is enabled but apparently, the screensaver call is not enough.
2025-09-24 22:17:38 +02:00
Edward Moulsdale e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
Hugo Locurcio 020cdd0f73 Tweak macOS notarization export message in the editor
One message had a typo and was missing `--team-id` for one of the
`xcrun notarytool` commands.
2025-09-24 17:43:43 +02:00
Thaddeus Crews 0ef1c07838
Merge pull request #110491 from bruvzg/emb_j_init_msg
[macOS] Remove old embedded window joystick init code.
2025-09-23 14:51:53 -05:00
Fredia Huya-Kouadio 35fda7f857 Fix JNI local reference table overflow when wrapping Java class with large method counts 2025-09-23 12:23:26 -04:00
Thaddeus Crews cee30225e9
Merge pull request #110566 from lumiscosity/optimize-pngs
Optimize PNG assets
2025-09-22 21:00:52 -05:00
Ricardo Sanchez-Saez 038f5934e7
[Apple embedded] Adopt SwiftUI lifecycle for Apple embedded platforms
- Introduces a SCons builder for Swift files
- Increases the minimum deployment targets to iOS 14.0, and visionOS 26.0.
- Replaces manually UIWindow management by a SwiftUI instantiated app.
2025-09-22 18:20:04 -07:00
lumiscosity 72a9d2128f Replace Android icons with lossless WebP files
See https://developer.android.com/develop/ui/views/graphics/reduce-image-sizes#webp. From a precursory glance the minimum API level for Godot is 24, which should support this.
2025-09-22 20:33:16 +02:00
lumiscosity 91befbbc52 Optimize PNG assets
Losslessly optimizes the PNG assets with oxipng, defluff and DeflOpt.

Tests and third party imports are omitted.
2025-09-22 20:33:16 +02:00
Thaddeus Crews d069699940
Merge pull request #110752 from wheatear-dev/expand-110693
Add `GDSOFTCLASS` to six inheritors of `Object`
2025-09-22 13:28:41 -05:00
Thaddeus Crews ce157a446f
Merge pull request #107096 from ArchercatNEO/xdg-toplevel-icon
Wayland: Implement the xdg-toplevel-icon-v1 protocol
2025-09-22 08:50:10 -05:00
Thaddeus Crews 9b7a723aac
Merge pull request #107721 from YYF233333/ps_include
Remove dependency of `variant.h` in `print_string.h`
2025-09-22 08:50:04 -05:00
Thaddeus Crews 94dbc42a56
Merge pull request #62083 from KoBeWi/string_slice'n_dice
Improve usage of `String.split()` vs `get_slice()`
2025-09-22 08:50:01 -05:00
Fredia Huya-Kouadio 0622cee189 Implement `has_java_method(...)` for `JavaClassWrapper` and `JNISingleton` 2025-09-22 00:01:50 -04:00
Edward Moulsdale 12e97610a8 Add GDSOFTCLASS to six inheritors of Object 2025-09-21 16:22:29 +01:00
Thaddeus Crews 326b22124a
Merge pull request #108794 from bruvzg/macos_actool_export
[macOS] Add support for exporting macOS 26 Liquid Glass icons.
2025-09-20 13:41:38 -05:00
Thaddeus Crews 14bdf39806
Merge pull request #107789 from rsanchezsaez/apple/apple-embedded-export-template
Replace iOS/visionOS Xcode templates by new Apple embedded template
2025-09-19 13:07:09 -05:00
kobewi d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Thaddeus Crews 78d1539709
Merge pull request #110452 from limbonaut/prevent-jni-variant-conv-stack-overflow
Prevent JNI Variant conversion stack overflow
2025-09-19 09:17:05 -05:00
Yufeng Ying 05dae23f18 Remove dependency of variant.h in print_string.h
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-09-19 14:57:36 +08:00
Thaddeus Crews f84123d20e
Merge pull request #110611 from m4gr3d/fix_show_keyboard_crash
Fix the bug causing `java.lang.StringIndexOutOfBoundsException` crashes when showing the virtual keyboard
2025-09-18 21:02:33 -05:00
Thaddeus Crews be11bf1d6b
Merge pull request #110540 from akien-mga/linux-system-libturbojpeg
Linux: Allow unbundling libjpeg-turbo to use system package
2025-09-18 21:02:31 -05:00
Ruw b23b0dde9a
Update detect.py
Fix UnicodeEncodeError on cp932 environments by adding errors="replace" to log file open
2025-09-18 19:32:03 +09:00
Mounir Tohami 1b697aff38 X11 input: prevent non-printable keys from producing empty Strings 2025-09-18 06:56:22 +03:00
Thaddeus Crews 4676d73a1a
Merge pull request #110268 from bruvzg/devid_reg
[Windows] Try reading GPU IDs directly from registry.
2025-09-17 11:34:10 -05:00
Thaddeus Crews 2ee5a18917
Merge pull request #110465 from m4gr3d/add_quest3s_supported_device
Add `quest3s` to the list of supported devices
2025-09-17 11:34:08 -05:00
Fredia Huya-Kouadio ff3eee7df6 Fix the bug causing `java.lang.StringIndexOutOfBoundsException` crashes when showing the virtual keyboard 2025-09-16 23:03:18 -07:00
Lukas Tenbrink abe3b481ae Make conversions from `LocalVector` to `Vector` explicit. 2025-09-16 21:41:28 +02:00
Thaddeus Crews 4dec6af2c8
Merge pull request #108613 from Repiteo/scons/fix-defines
SCons: Ensure `CPPDEFINES` is properly utilized
2025-09-16 11:44:45 -05:00
Thaddeus Crews 155c594f02
Merge pull request #109568 from syntaxerror247/export-keystore-check
Android: Only validate keystore relevant to current export mode
2025-09-16 11:44:43 -05:00
Thaddeus Crews 94b5658cd2
Merge pull request #106798 from gelvinp/avoid_xcb_crash
Workaround X11 crash issue
2025-09-16 09:48:55 -05:00
Thaddeus Crews 5316d12588
Merge pull request #109346 from bruvzg/win_drv_chk
[Windows] Try reading GPU driver information directly from registry.
2025-09-16 09:48:52 -05:00
Will Thompson 3d322c3f36 linux/bsd/mac: Use pkill to stop remote instance over SSH
Previously, the PIDs of any running instances of the game on the remote
device were found with `pgrep`, whose output was passed as parameters to
`kill`. The problem with doing this is that passing zero arguments to
`kill` (which happens when no instances of the game are running
remotely) is an error: it shows the command usage, and exits with status
2 indicating a command-line syntax error:

    $ kill
    kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
    $ echo $?
    2

As far as I can tell, all systems that have a `pgrep` command also have
a `pkill` command which accepts (a superset of) the same parameters as
`pgrep` and kills the matched processes instead of listing them on
STDOUT.

In the case where no processes match, `pkill` exits with status 1; but
does so silently.

Invoke `pkill` rather than `pgrep` + `kill`.
2025-09-16 11:25:48 +01:00
Rémi Verschelde 6d8aa8582f
Linux: Allow unbundling libjpeg-turbo to use system package 2025-09-15 23:52:48 +02:00
Serhii Snitsaruk 476b901247
Prevent JNI Variant conversion stack overflow 2025-09-14 12:51:59 +02:00
Pāvels Nadtočajevs 77dd83efbf
[macOS] Remove old embedded window joystick init code. 2025-09-13 17:56:16 +03:00
Pāvels Nadtočajevs 906aff5331
Fix iOS/visionOS export plugin crash on exit. 2025-09-13 11:22:40 +03:00
Clay John bfa330dd5d
Merge pull request #110463 from kojurohan42/build-id-append-for-crashlytics
added build id link flag for firebase crashlytics support for android
2025-09-12 16:17:09 -04:00
Fredia Huya-Kouadio 35c87ae0ca Add `quest3s` to the list of supported devices 2025-09-12 11:38:02 -07:00
kojurohan42 b1ed9ffca7 added build id link flag for firebase crashlytics support 2025-09-12 23:31:16 +05:45
Lukas Tenbrink 4c0026b053 Update links to the contributing section of the docs to the appropriate new sections. 2025-09-12 01:04:14 +02:00
Anish Mishra 775dfc5114 Fix status bar visibility issue after keyboard hides on Android 2025-09-11 07:08:32 +05:30
Thaddeus Crews 7ac73a6142
Merge pull request #110294 from bruvzg/wl_no_gl
Fix Wayland build with OpenGL disabled.
2025-09-08 13:57:27 -05:00
Clay John e98d6083d0
Merge pull request #110033 from SK83RJOSH/pdb-base-name-fix
Fix `WindowUtils::copy_and_rename_pdb` regression
2025-09-08 08:22:44 -07:00
Pāvels Nadtočajevs 76433b0ede
Fix Wayland build with OpenGL disabled. 2025-09-06 18:37:49 +03:00
Thaddeus Crews 4ed8c45abd
Merge pull request #110263 from raulsntos/dotnet/android-net9.0
[.NET] Require `net9.0` for Android exports
2025-09-05 08:37:22 -05:00
bruvzg 252329ce40
[Windows] Try reading GPU IDs directly from registry. 2025-09-05 11:09:31 +03:00
Raul Santos f0c9253bec
[.NET] Require `net9.0` for Android exports
To ensure Android exports are compatible with the new Play Store
requirement that all `.so` libraries included are aligned to 16k,
we now require C# projects to target `net9.0` which uses the
correct alignment (as opposed to the current one of 4k).

The thirdparty jar library has also been updated to the one from
the 9.0.4 runtime package so it's compatible with non-gradle
builds targeting `net9.0`.

Non-android projects are not affect, the minimum TFM is still
`net8.0`.
2025-09-05 04:14:27 +02:00
Fredia Huya-Kouadio d255ec2fe1 Fix the issue preventing installing C# binaries on Android devices with api <= 29 2025-09-04 11:49:22 -07:00
Josh Wood 41150710ec Fix `WindowUtils::copy_and_rename_pdb` path shortening regression 2025-09-04 11:56:06 +02:00
Aayush Sarikhada 849107cfc8 Fix Android back gesture failing after keyboard dismissal (#109806)
Reason of bug: This happened because the text input field was still receiving the first back gesture event instead of letting it reach the main app.
2025-08-31 01:07:35 +05:30
Pāvels Nadtočajevs b9bafbd2ca
[macOS] Process joypad input directly in the embedded process. 2025-08-29 13:40:56 +03:00
Pāvels Nadtočajevs 9214cd879a
[macOS] Fix keyboard mapping init in embedded display server. 2025-08-29 10:28:37 +03:00
Thaddeus Crews 4ebf67c12d
Merge pull request #109818 from syntaxerror247/safe-area-regression
Fix safe area regression on older Android versions
2025-08-27 13:39:44 -05:00
Anish Mishra 3bc1fa0c37 Fix safe area regression on older Android versions 2025-08-27 21:14:48 +05:30
bruvzg 01d7abb9d0 [Windows] Save and restore window rect when switching to/from maximized+borderless mode. 2025-08-27 11:12:04 +03:00
Ricardo Sanchez-Saez 6d9983e958
[apple embedded] Replace individual iOS/visionOS Xcode templates by Apple embedded template 2025-08-25 12:42:34 -07:00
Thaddeus Crews 17fb6e3bd0
Merge pull request #109790 from adamscott/tentative-fix-for-109144
[Web] Fix `AudioStreamPlayer.get_playback_position()` returning incorrect values for samples
2025-08-25 09:54:18 -05:00
Thaddeus Crews 6db7f65110
Merge pull request #109819 from Nintorch/fix-get-connected-joypads
Fix DirectInput controllers on game startup
2025-08-25 09:54:17 -05:00
clayjohn 70d9c2eb22 Revert "[Web] Disregard touch events in pointer callbacks"
This reverts commit e7e5c2b832.
2025-08-24 11:11:53 -07:00
Thaddeus Crews 88547a19e8
Merge pull request #109857 from bruvzg/dbus_init
[Linux/BSD] Initialize DBus only once.
2025-08-22 14:00:49 -05:00
Thaddeus Crews 1d204f1fc7
Merge pull request #109724 from bruvzg/mac_emb_app_focus
[macOS] Forward application focus events to the embedded process.
2025-08-22 12:35:35 -05:00
ArchercatNEO 188b47a29b Wayland: Implement the xdg-toplevel-icon-v1 protocol
Closes #87747
Requires a compositor which supports xdg-toplevel-icon-v1.
As of this commit only KWin supports this protocol.
2025-08-22 09:45:28 +01:00
Pāvels Nadtočajevs 0edb6bd4a0
[Linux/BSD] Initialize DBus only once. 2025-08-22 09:26:11 +03:00
Thaddeus Crews b432e108d5
Merge pull request #109791 from Talkashie/master
Typo cleanup pass
2025-08-21 18:39:37 -05:00
Thaddeus Crews d86369a865
Merge pull request #109723 from bruvzg/macos_rm
[macOS] Remove FEATURE_MOUSE from embedded display server.
2025-08-21 06:24:26 -05:00
Nintorch dd2e1b104b Fix DirectInput controllers on game startup
Now SDL and DirectInput don't complain when a game starts with a DirectInput controller already connected. Fixes "JoypadSDL::process_events: Error opening gamepad at index 1: IDirectInputDevice8::SetCooperativeLevel() DirectX error 0x80070006"
2025-08-21 13:21:48 +05:00
Pāvels Nadtočajevs 6e76a9467f
[macOS] Always use "Regular" activation policy for GUI, and headless main loop for command line only tools. 2025-08-20 10:07:33 +03:00
Talkashie bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Adam Scott 21dd72bc21
[Web] Fix `AudioStreamPlayer.get_playback_position()` returning incorrect values for samples 2025-08-19 19:30:49 -04:00
Thaddeus Crews 28bd72a7e1
Merge pull request #109758 from Repiteo/scons/dlltool-fix
SCons: Fix `dlltool` on Windows MinGW builds
2025-08-19 10:29:47 -05:00
Thaddeus Crews d9a77a42ee
SCons: Fix `dlltool` on Windows MinGW builds
- Expand `env.Run` function to accept optional command string, because we can't just call `env.Action` for some reason
2025-08-18 18:49:50 -05:00
Pāvels Nadtočajevs 98bef37f55
Use org.a11y.Status/ScreenReaderEnabled on Linux. 2025-08-18 17:36:49 +03:00
Pāvels Nadtočajevs ba097ffd49
[macOS] Remove FEATURE_MOUSE from embedded display server. 2025-08-18 14:22:16 +03:00
Pāvels Nadtočajevs 7858030975
[macOS] Forward application focus events to the embedded process. 2025-08-18 13:01:05 +03:00
Pāvels Nadtočajevs 274f88c5b8
[Windows] Fix color picker on old versions of Windows 10. 2025-08-18 09:23:31 +03:00
Thaddeus Crews a02ff4402e
Merge pull request #109577 from AdriaandeJongh/clarify-build-version
[Docs] Mention 'build version' in iOS, macOS, and visionOS export docs
2025-08-14 09:28:00 -05:00
Anish Mishra 1763b43dca
Android: Fix build command in standard AAB export 2025-08-14 17:13:21 +05:30
Thaddeus Crews 90ba13bd0b
Merge pull request #109528 from syntaxerror247/drive-selection-issue
Fix drive selection issue on Android
2025-08-13 18:42:13 -05:00
Adriaan de Jongh a8bcf40c40 mention 'build version' in iOS, macOS, and visionOS export docs 2025-08-13 23:22:31 +02:00
Anish Mishra 097ccbc5cd Android: Only validate keystore relevant to current export mode
- Debug builds skip release keystore validation.
- Release builds skip debug keystore validation.
2025-08-13 13:35:50 +05:30
Thaddeus Crews 29ff6c3469
Merge pull request #107681 from m4gr3d/revert_remove_compress_native_lib_option
Revert the removal of the `gradle_build/compress_native_libraries` export option
2025-08-12 11:46:33 -05:00
Fredia Huya-Kouadio 74eba7a770 Revert the removal of the `gradle_build/compress_native_libraries` export option 2025-08-11 19:01:11 -07:00
Anish Mishra 0ad232423d Android: Add method to set root window color at runtime 2025-08-11 22:25:53 +05:30
Anish Mishra 5bcf9a5a57 Fix drive selection issue on Android 2025-08-11 21:47:00 +05:30
Pāvels Nadtočajevs 3b813d08b5
[macOS] Fix `warp_mouse` in game mode. 2025-08-10 11:38:25 +03:00
h1v9 b787b0dbb5
Thread Syncronization for FileAccessHandler and DirectoryAccessHandler
- Switching to ReentrantLock
- Thread locking for DirectoryAccessHandler (dependencies)

Newline @ EOF

Forgot import

Revert

Better locking

Forgot return

Restore last empty line
2025-08-07 13:08:53 -05:00
Thaddeus Crews b7f5ddd256
Merge pull request #109300 from bruvzg/win_ndrag_rel
[Windows] Release mouse buttons after native window drag/resize operation.
2025-08-06 12:01:18 -05:00
Pāvels Nadtočajevs 9f8626ccaa
[Windows] Try reading GPU driver information directly from registry. 2025-08-06 08:01:05 +03:00
Pāvels Nadtočajevs 33c92af2b5
[Windows] Release mouse buttons after native window drag/resize operation. 2025-08-04 15:14:27 +03:00
Pāvels Nadtočajevs 7c81d43b10
[Windows] Additionally use `cpuid` instruction to detect SSE4.2 support. 2025-08-03 22:13:59 +03:00
Thaddeus Crews ca515cf650
Merge pull request #108373 from Nintorch/fix-sowrap-enabled
Fix the usage of udev and dbus with SDL joystick input driver
2025-08-03 10:51:17 -05:00
Thaddeus Crews 4b23f09e2f
Merge pull request #109267 from syntaxerror247/misc
Android: Misc changes
2025-08-03 10:51:15 -05:00
Thaddeus Crews a6e6d133ab
Merge pull request #109227 from limbonaut/harden-jni-find-class
Harden jni_find_class() and its setup/cleanup
2025-08-03 10:51:09 -05:00
Thaddeus Crews a0c7127829
Merge pull request #109162 from bruvzg/android_tts
Fix Android TTS on-demand init.
2025-08-03 10:51:08 -05:00
Thaddeus Crews 321f2391d9
Merge pull request #108384 from adamscott/fix-sample-deletion
[Web] Fix sample playback deletion and `AudioStreamPolyphonic` issue
2025-08-03 10:50:49 -05:00
Anish Mishra ae678b4085 Android: Misc changes 2025-08-03 13:09:10 +05:30
Serhii Snitsaruk 4749ce1637
Harden jni_find_class() and its setup/cleanup 2025-08-02 09:52:08 +02:00
Serhii Snitsaruk fa36abeacc
Fix FindClass() failing to find Dictionary on Android leading to crash 2025-08-01 17:46:58 +02:00
Pāvels Nadtočajevs 4915d61362
Fix Android TTS on-demand init. 2025-07-31 17:11:12 +03:00
Nintorch 0e19ad507e Fix the usage of libudev and dbus with SDL
Previously, libudev was ignored if SOWRAP_ENABLED was defined (it is defined by default) because otherwise it would crash CI builds due to a missing header, and dbus was always linked dynamically. This commit should fix this issue and make libudev usable again
2025-07-31 15:05:06 +05:00
Thaddeus Crews ec8e6aeb82
Merge pull request #108557 from syntaxerror247/Fix-system-bar-regression
Android: Fix system bar regression
2025-07-30 09:03:37 -05:00
Stuart Carnie c62ad8dc65 MacOS: Fix embedded screen_get_scale API 2025-07-30 06:06:15 +10:00
Anish Mishra 0506299c21 Android: Add option to change background color and fix system bar regression 2025-07-29 09:27:16 +05:30
Pāvels Nadtočajevs 838cb0eefc
[macOS] Add support for exporting macOS 26 Liquid Glass icons. 2025-07-28 14:35:48 +03:00
Thaddeus Crews 8b2739ee55
Merge pull request #108956 from m4gr3d/misc_xr_editor_updates
Update the OpenXR Vendors plugin for the XR editor to the latest stable version
2025-07-27 10:28:35 -05:00
Adam Scott 09a9024658
[macOS] Add Tahoe 26.0 to version alias 2025-07-25 14:25:52 -04:00
Fredia Huya-Kouadio 291b89686d Update the OpenXR Vendors plugin for the XR editor to the latest stable version 2025-07-24 18:32:26 -07:00
Thaddeus Crews fc9bd38293
Merge pull request #108874 from adamscott/runtime-free
[Web] Fix inappropriate `memfree()` use
2025-07-24 14:23:43 -05:00
Thaddeus Crews e0603aeda3
Merge pull request #108796 from syntaxerror247/get-clipboard-crash
Android: Run clipboard tasks on UI thread
2025-07-23 13:27:12 -05:00
Thaddeus Crews 9471a4ace7
Merge pull request #108659 from jdavasligil/x11-unicode-keysym-fix
Add keypad codes to the keysym unicode map.
2025-07-23 13:27:09 -05:00
Thaddeus Crews cc4e6dd612
Merge pull request #107460 from adamscott/fix-emscripten-webxr
[Web] Fix Emscripten for WebXR and update minimum version
2025-07-23 13:27:01 -05:00
Adam Scott 793258919b
[Web] Fix Emscripten for WebXR and update minimum version 2025-07-22 14:02:44 -04:00
Adam Scott acc989f711
[Web] Fix inappropriate `memfree()` use 2025-07-22 13:28:58 -04:00
Thaddeus Crews 3843a30b53
Merge pull request #108825 from bruvzg/fix_run_opt_icons
Fix editor one-click icons not showing.
2025-07-22 11:20:10 -05:00
Thaddeus Crews 8d04657ec8
Merge pull request #108692 from m4gr3d/fix_debugger_immediate_disconnect
Fix debugger immediate disconnect
2025-07-22 11:20:08 -05:00
Thaddeus Crews 04524f4748
Merge pull request #108747 from adamscott/fix-web-mousewheel-scrolling
[Web] Fix Web MouseWheel scrolling
2025-07-22 11:20:05 -05:00
Anish Mishra 67b45299c7 Android: Run clipboard tasks on UI thread
Fixes crashes on older Android versions (API level <= 27) by ensuring
that all clipboard operations are executed on the UI thread.
2025-07-22 20:58:22 +05:30
Fredia Huya-Kouadio d47e3fd3bf Misc XR editor updates:
- Bump the OpenXR Vendors plugin version to `4.1.0-stable`
- Include `quest2` in the supported devices manifest config
2025-07-21 11:17:48 -07:00
Adam Scott 6e5994eca8
[Web] Fix Web MouseWheel scrolling 2025-07-21 11:10:42 -04:00
Pāvels Nadtočajevs e407f55fbf
Fix editor one-click icons not showing. 2025-07-21 12:18:44 +03:00
Fredia Huya-Kouadio f713a20c94 Fix debugger immediate disconnect
Address https://github.com/godotengine/godot/issues/108518
2025-07-18 15:12:37 -07:00
jdavasligil 93cd0a136f Add keypad codes to the keysym unicode map #74578 2025-07-18 14:30:28 -07:00
Thaddeus Crews 71a9948157
Merge pull request #108287 from syntaxerror247/fix-virtual-keyboard-height
Fix immersive mode and virtual keyboard height issue on Android
2025-07-18 11:05:19 -05:00
Thaddeus Crews d6f031b805
Merge pull request #108729 from m4gr3d/setup_mavencentral_debug_upload
Add a debug version for Godot's maven central artifact
2025-07-18 11:05:16 -05:00
Adam Scott 8420468647
[Web] Disable GDScript LSP 2025-07-18 11:14:58 -04:00
Fredia Huya-Kouadio 2509b2f457 Add a debug version for Godot's maven central artifact 2025-07-17 17:17:40 -07:00
Thaddeus Crews 4b8e025023
Merge pull request #108696 from bruvzg/maco_full_headless
[macOS] Do not use NSApplication main loop for headless mode.
2025-07-17 10:34:49 -05:00
Thaddeus Crews 24ad16c2fc
Merge pull request #108472 from bruvzg/win_proj_ver
[Windows export] Use project version as fallback.
2025-07-17 10:34:49 -05:00
Thaddeus Crews ca374f91a2
Merge pull request #108624 from bruvzg/mac_emb
[macOS] Fix mouse enter/exit event and custom cursor shape in embedded game mode.
2025-07-17 10:34:47 -05:00
Pāvels Nadtočajevs 8b045ca8fe
[macOS] Do not use NSApplication main loop for headless mode. 2025-07-17 08:42:55 +03:00
Anish Mishra d8d3c86d71 Fix Immersive mode and keyboard height issues on Android 2025-07-16 23:31:47 +05:30
Thaddeus Crews 64c58c225a
Merge pull request #107473 from m4gr3d/address_transparency_feedback
Address remaining feedback on Android background transparency
2025-07-16 11:27:54 -05:00
Pāvels Nadtočajevs f20e5152ad
[EditorExportPlatform] Move initialization to a dedicated method. 2025-07-16 08:55:23 +03:00
Thaddeus Crews 16dde54635
Merge pull request #108637 from bruvzg/lto_fix_sse42
[Windows] Fix SSE4.2 detection with LTO build.
2025-07-15 16:58:37 -05:00
Pāvels Nadtočajevs 6ec518dfc4
[Windows] Fix SSE4.2 detection with LTO build. 2025-07-15 17:23:35 +03:00
kobewi d591bcc09c Remove unnecessary cpp files 2025-07-15 15:19:23 +02:00
Thaddeus Crews af4e96b1b3
Merge pull request #108604 from deralmas/fitting-shenanigans
Wayland: Workaround tooltip issues
2025-07-15 08:04:27 -05:00
Pāvels Nadtočajevs 090e0347f0
[macOS] Fix mouse enter/exit event and custom cursor shape in embedded game mode. 2025-07-15 10:19:59 +03:00
Thaddeus Crews 61956f2e06
SCons: Ensure `CPPDEFINES` is properly utilized 2025-07-14 13:07:53 -05:00
Dery Almas 98537b2e0c Wayland: Fix error condition in window_get_current_screen
Leftover from when the Wayland backend was single-window only.
2025-07-14 15:56:43 +02:00
Pāvels Nadtočajevs e363601226
[Windows] Add SSE4.2 support runtime check. 2025-07-13 12:58:29 +03:00
Thaddeus Crews fb26c2603b
Merge pull request #108329 from m4gr3d/fix_android_eof_detection
Android: Fix the EOF detection logic
2025-07-10 11:39:25 -05:00
Thaddeus Crews 6c2f057fb4
Merge pull request #108455 from bruvzg/win_exp_symbols
[Windows export] Move debug symbol sections on export.
2025-07-10 11:39:22 -05:00
Pāvels Nadtočajevs 2dcdbd3416
[Windows export] Move debug symbol sections on export. 2025-07-10 18:06:30 +03:00
Adam Scott 1328921e04
[Web] Fix sample playback deletion and `AudioStreamPolyphonic` issue 2025-07-10 08:46:34 -04:00
Pāvels Nadtočajevs 4a08cdcff0
[Windows export] Use project version as fallback. 2025-07-10 12:54:37 +03:00
Anish Mishra 836b762e23 Fix Android splash theme regression 2025-07-09 23:33:21 +05:30
Thaddeus Crews 75bcb643c2
Merge pull request #108172 from adamscott/move-threads-options
Move Web export threads options out of variant mk2
2025-07-09 11:33:14 -05:00
Fredia Huya-Kouadio 3a36726feb Update the maven publishing configuration following the deprecation of the OSSHR service
https://central.sonatype.org/news/20250326_ossrh_sunset/
2025-07-07 15:57:04 -07:00
Fredia Huya-Kouadio 3ade4b4b63 Address remaining feedback on https://github.com/godotengine/godot/pull/106709
Address https://github.com/godotengine/godot/pull/106709#discussion_r2114489487
2025-07-07 12:11:21 -07:00
Fredia Huya-Kouadio 2cfe31f9a1 Fix the EOF detection logic on Android
The current logic was causing loading to omit the last character because the EOF flag was triggered too early.
2025-07-06 01:09:33 -07:00
Fredia Huya-Kouadio c376348b16 Fix the build logic to generate the native debug symbols 2025-07-05 10:38:22 -07:00
A Thousand Ships f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Thaddeus Crews eb2625cf57
Merge pull request #108243 from m4gr3d/fix_android_plugin_init
Android: Fix Android plugins regression
2025-07-04 10:09:06 -05:00
Fredia Huya-Kouadio bbf22a39c1 Assign the `primaryHost` prior to initializing the registered Android plugins.
Address a regression introduced in https://github.com/godotengine/godot/pull/102866.
The proper behavior for Android plugins is to use `getContext` instead of `getActivity`, but since not all plugins follow this pattern, this fix provides backward compat to avoid breaking the plugins that don't.
2025-07-03 09:43:24 -07:00
Anish Mishra 4f695e1713 Android: Don't exclude display cutout in immersive mode 2025-07-03 08:07:08 +05:30
Thaddeus Crews 4c42faa202
Merge pull request #108082 from timothyqiu/x-query-tree
X11: Fix memory leak when using window embedding
2025-07-01 17:57:58 -05:00
Adam Scott d0042851f8
Move Web export threads options out of variant mk2 2025-07-01 15:42:58 -04:00
Anish Mishra 1338e29bf5 Android: Fix `DisplayServer.get_display_safe_area()` issues 2025-06-29 13:11:03 +05:30
Haoyu Qiu 9051b546c6 X11: Fix memory leak when using window embedding 2025-06-28 22:50:51 +08:00
Thaddeus Crews 72ab203c79
Merge pull request #108019 from limbonaut/fix-jni-generic-array-conversion
Add missing JNI variant conversion for generic Array
2025-06-27 09:39:56 -05:00
Thaddeus Crews 1632c98226
Merge pull request #108043 from syntaxerror247/native-file-dialog
Document that `native file dialog` is only available on Android 10+ devices.
2025-06-27 09:39:51 -05:00
Anish Mishra c82f7feb53 Document that `native file dialog` is only available on Android 10+ devices. 2025-06-27 17:07:50 +05:30
Serhii Snitsaruk 1bea370df7
Add JNI variant conversion for generic Array 2025-06-26 19:16:52 +02:00
Adam Scott c56d131876
[Web] Poll controllers only if at least one is detected
Keeps the spirit of #105601
2025-06-26 08:33:25 -04:00
Adam Scott 722accc5c8
Revert "Web: Avoid unnecessary gamepad polling when no gamepads are connected"
This reverts commit 3e7e09f915.
2025-06-26 08:07:29 -04:00
Pāvels Nadtočajevs 42733a2a5c
Implement sparse bundle PCK support. 2025-06-26 00:47:25 +02:00
Rémi Verschelde 30456ba095
Merge pull request #107948 from adamscott/reintroduce-sample-position-worklet-pooling
[Web] Fix Webkit leak caused by the position reporting audio worklets
2025-06-25 11:47:11 +02:00
Pāvels Nadtočajevs 71dd7b5712
Fix SDL threading on macOS/Linux.
And fixup pkg-config check for SDL on Linux.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-06-25 10:36:39 +02:00
Nintorch 0b3496fb4f
Add support for SDL3 joystick input driver
Made possible by EIREXE, xsellier and the SDL team.

This commit includes statically linked SDL3 for Windows, Linux and macOS.
The vendored copy of SDL3 was setup to only build the required subsystems
for gamepad/joystick support, with some patches to be able to make it as
minimal as possible and reduce the impact on binary size and code size.

Co-authored-by: Álex Román Núñez <eirexe123@gmail.com>
Co-authored-by: Xavier Sellier <xsellier@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-06-25 01:28:50 +02:00
Adam Scott b58c6c829b
[Web] Fix Webkit leak caused by the position reporting audio worklets
Co-authored-by: PizzaLovers007 <trex@parkvue.com>
2025-06-24 14:49:02 -04:00
Thaddeus Crews f7d33b490d
Merge pull request #107837 from Airyzz/airyzz/web-pen-pressure
[Web] Disregard touch events in pointer callbacks
2025-06-24 09:58:44 -05:00
Thaddeus Crews 892e61857b
Merge pull request #107926 from bruvzg/move_more_ds
[macOS] Move keyboard layout related code to base display server.
2025-06-24 09:58:38 -05:00
Airyzz e7e5c2b832 [Web] Disregard touch events in pointer callbacks
Update library_godot_input.js

fix style
2025-06-24 18:17:50 +09:30
Pāvels Nadtočajevs 350b1936ee
[macOS] Move keyboard layout related code to base display server. 2025-06-24 10:45:19 +03:00
Adam Johnston a3f8a067a9 cleanup closed embedded processes on macos 2025-06-23 02:00:37 -07:00
Rémi Verschelde 260190c057
Merge pull request #107742 from m4gr3d/address_api_35_ui_issues
Android: Address API 35 UI behavior changes
2025-06-22 11:59:12 +02:00
Riteo Siuga b60b68055f Wayland: Fix division by zero when scale is less than 1
The `Vector2i` division operator casts doubles down to `int32_t`. It
would thus truncate the fractional scale factor to 0 if less than 1,
resulting in a FPE on x86_64.
2025-06-21 03:09:51 +02:00
Fredia Huya-Kouadio 2f4c3d411c Address API 35 UI behavior changes
- Fix issue on foldable where the embedded window would obscure the main window when launching
- Fix edge-to-edge support for non-immersive apps / games
- Add edge-to-edge export option to allow non-immersive apps / games to extend edge to edge
2025-06-20 13:29:38 -07:00
Thaddeus Crews f7c6f0057c
Merge pull request #103972 from m4gr3d/xr_editor_hybrid_support
Add support for running hybrid apps from the XR editor
2025-06-20 08:38:55 -05:00
Thaddeus Crews 7b4f98c9f7
Merge pull request #107112 from AThousandShips/fix_web_build
[Web] Fix build failure on Windows
2025-06-18 18:14:03 -05:00
Thaddeus Crews d69ca31768
Merge pull request #107574 from stuartcarnie/apple_embedded_fixes
Apple: Improve Apple embedded export and debugging
2025-06-18 18:13:47 -05:00
Thaddeus Crews 856d7108e0
Merge pull request #106414 from Riteo/unexpected-frame
Wayland: Fix stuck pointer buttons on window leave
2025-06-18 18:13:45 -05:00
Stuart Carnie 939f29f6d5 Apple: Improve reliability of Apple Embedded build and deployment 2025-06-19 06:33:08 +10:00
A Thousand Ships b616e857aa
[Web] Fix build failure on Windows 2025-06-17 11:05:45 +02:00
Rémi Verschelde 9e1e2fdbd5
Merge pull request #107550 from AdrienUfferte/fix-spelling
Fix spelling in comments
2025-06-16 01:52:48 +02:00
Fredia Huya-Kouadio 09f5be761c Add support for running hybrid apps from the XR editor 2025-06-15 07:05:12 -07:00
Adrien Ufferte a11a64fbf4 Comments spelling fixes 2025-06-15 01:36:10 +02:00
Anish Mishra dcab8a721e Revert "Add support for exporting to Google Play Instant"
This reverts commit 12ad9ed4e0.

Shortly after the feature was merged, we received news that Google will shut down Instant Apps in December 2025. Since this feature is being discontinued soon, there’s no value in keeping it for just a few months.
2025-06-14 15:51:08 +05:30
Rémi Verschelde 4dae2f893a
Merge pull request #102866 from m4gr3d/implement_godot_service
Add support for using an Android Service to host the Godot engine
2025-06-14 00:00:00 +02:00
Rémi Verschelde d9cda33090
Merge pull request #107415 from adamscott/add-emscripten-version-to-log-header
[Web] Add Web-build specific stdout header
2025-06-13 18:37:37 +02:00
Pāvels Nadtočajevs dfb11f8cea
[macOS] Add `--path` argument when instance is created by project started from editor. 2025-06-13 10:22:31 +03:00
Fredia Huya-Kouadio dc589e239c Add support for using an Android Service to host the Godot engine
- Provide a `GodotService` Android service implementation which can be used to host an instance of the Godot engine
- Provide a `RemoteGodotFragment` Android fragment implementation which provides the view and logic to wrap connection to a `GodotService` instance
2025-06-12 16:37:38 -07:00
Rémi Verschelde 22702244f8
Merge pull request #105414 from KoBeWi/disable_uid_here
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
Rémi Verschelde ae33da972b
Merge pull request #106709 from m4gr3d/fix_transparency_flags
Fix transparency background issue on Android
2025-06-12 23:32:44 +02:00
Rémi Verschelde 4adef85151
Merge pull request #106447 from kojurohan42/instant-build
Add support for exporting to Google Play Instant via Google Play Instant Export Option
2025-06-12 23:32:38 +02:00
Rémi Verschelde 6845898461
Merge pull request #107385 from Alex2782/fix_vibrate_android
Fix `Input.vibrate_handheld` on Android.
2025-06-12 22:48:54 +02:00
Rémi Verschelde 1a64b6b5b6
Merge pull request #106913 from Ivorforce/string-resize-uninitialized
Rename `String::resize` to `resize_uninitialized`
2025-06-12 22:48:45 +02:00
Rémi Verschelde e0072e9169
Merge pull request #105800 from adamscott/add-emscripten-include-path
[Web] Include emscripten headers by default
2025-06-12 22:48:40 +02:00
Adam Scott f411c5b2f1
[Web] Add Web-build specific stdout header 2025-06-12 13:00:36 -04:00
Alexander Hartmann a1e12dca3f Fix `Input.vibrate_handheld` on Android. 2025-06-12 12:38:18 +02:00
Stuart Carnie 962d788c14 MacOS: Initialize member field 2025-06-12 14:57:36 +10:00
Lukas Tenbrink b13a0e1834 Rename `String::resize` to `resize_uninitialized`, to better communicate to callers that new characters must be initialized. 2025-06-11 18:13:02 +02:00
Rémi Verschelde 042ad3a62f
Merge pull request #107038 from bruvzg/emb_scr
Add support for taking embedded window screenshots.
2025-06-11 12:10:12 +02:00
Thaddeus Crews fda6faeebf
Merge pull request #107356 from ArchercatNEO/wayland-protocols-scsub
Wayland: Simplify including protocols
2025-06-10 19:22:42 -05:00
Pāvels Nadtočajevs 66fec3c3d7
Remove TTS debug print. 2025-06-10 18:27:27 +03:00
Rémi Verschelde cc9761c3f0
Merge pull request #107188 from berarma/moviewriter-add-theora
Add Ogg Theora support to MovieWriter
2025-06-10 16:22:57 +02:00
Bernat Arlandis a16b04fe07 Add Ogg Theora support to MovieWriter
Movie Maker mode can now record files in `.ogv` format, which can be
directly viewed in Godot's VideoStreamPlayer node along with most
video players. This is a lossy format with inter-frame compression,
unlike AVI + MJPEG which only performs intra-frame compression.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Leo de Penning <leo.depenning@illuminoo.com>
2025-06-10 15:52:24 +02:00
Rémi Verschelde 6e5bcd2f41
Merge pull request #107207 from syntaxerror247/filePicker-save
Android: Fix save issue when using native file dialog
2025-06-10 12:30:21 +02:00
Rémi Verschelde 823f4f8b58
Merge pull request #107135 from bruvzg/emb_clipboard
[macOS] Fix clipboard and TTS not working in embedded game mode.
2025-06-10 12:30:16 +02:00
ArchercatNEO 367cabf692 Wayland: Simplify including protocols 2025-06-10 08:39:20 +01:00
Thaddeus Crews 8ecc6da249
Merge pull request #100899 from dalexeev/core-unify-display-of-error-type-prefixes
Core: Unify display of error type prefixes
2025-06-09 17:08:41 -05:00
Thaddeus Crews b3bd9dce0f
Merge pull request #107328 from adamscott/android-use-os-path-join
Fix Android build files joining paths without join
2025-06-09 17:08:40 -05:00