1
0
Fork 0
Commit Graph

7344 Commits

Author SHA1 Message Date
Thaddeus Crews d3285f5468
Merge pull request #111185 from WhalesState/vp-disable-xr
More XR disable for Viewport and export.
2025-10-13 19:28:56 -05:00
Thaddeus Crews 10c333a8f1
Merge pull request #111313 from bruvzg/emb_res
Fix editor embedded windows partially resizing.
2025-10-13 12:30:08 -05:00
Thaddeus Crews 43438fec2a
Merge pull request #111529 from wagnerfs/fix-windows-native-filedialog-filters
Fix Windows native FileDialog filters not showing descriptions
2025-10-13 12:30:05 -05:00
Thaddeus Crews d86a428994
SCons: Enable mingw big objects in more contexts 2025-10-13 11:00:03 -05:00
Haoyu Qiu 0f81e8c7fe X11: Fix fullscreen exit behavior 2025-10-13 15:03:13 +08:00
Haoyu Qiu 7680190768 Revert "Fix the sliding window problem in linux occur due to reparenting of the window during the decoration via tracking the parent of the window"
This reverts commit 932afc3bf5.
2025-10-13 15:03:13 +08:00
Rémi Verschelde 4219ce91f2
Merge pull request #110485 from bruvzg/aemb_dtr
Fix iOS/visionOS export plugin crash on exit.
2025-10-13 07:35:19 +02:00
Pāvels Nadtočajevs b1e659c851
[macOS] Make embedded window focus behavior more similar to Windows/X11. 2025-10-13 08:32:18 +03:00
Wagner f835707f7a Fix Windows native FileDialog filters not showing descriptions 2025-10-12 16:22:45 -03:00
Fredia Huya-Kouadio b9c3b1d4c0 Misc improvements to the `GodotPlugin` API
- Add overload method for `GodotPlugin#emitSignal(...)`
- Allow passing `null` values as signal arguments
2025-10-11 23:16:31 -07:00
Dery Almas ab205a78ce Wayland: defer event thread initialization to late initialization
This race condition made me pull my hair. `wl_display_roundtrip` has its
own little event loop, which apparently conflicts hard with the
always-running event loop thread.

I kinda assumed that it would be thread-safe thanks to its internal
`wl_display_prepare_read` call that the docs talk about but that's
clearly not enough.

Luckily this method is called very few times and the only dangerous
instances are in the initialization routine, which first starts the
thread and then does various roundtrips. Libdecor has also some internal
roundtrips of its own which would often fail. Starting the thread after
all initialization fixes the issue.

Tested this by spamming *lots* of `wl_display_roundtrip` in
`WaylandThread::init()` with and without this fix.
2025-10-10 23:25:00 +02:00
Thaddeus Crews 4ea49aecaf
Merge pull request #110990 from timothyqiu/x11-min-max
X11: Fix minimization of maximized windows
2025-10-10 10:26:02 -05:00
Ben Rog-Wilhelm 0a584250ae Fix: Libgodot build on Linux. 2025-10-10 04:31:14 -05:00
Thaddeus Crews 538fd69243
Merge pull request #111425 from stuartcarnie/macos_crash_handler
MacOS: Improve crash handler performance
2025-10-09 11:46:44 -05:00
kobewi e6783dbdd1 Improve to_string() and add it to Resource 2025-10-09 00:54:38 +02:00
Stuart Carnie 33cc3c125d MacOS: Improve crash handler performance
The most significant change is the version calls `atos` with a batch of
addresses, rather than one at a time. Reduces large stack traces down
to about a second or less (after OS caching).
2025-10-09 06:19:21 +11:00
Thaddeus Crews 7c033002b0
Merge pull request #110863 from kisg/libgodot_migeran_core
LibGodot: Core - Build Godot Engine as a Library
2025-10-08 13:56:34 -05:00
superherointj 24f23c5cdb System-provided ENet warning
Warning from documentation: https://github.com/godotengine/godot/tree/master/thirdparty#enet
2025-10-08 08:51:09 -03:00
A Thousand Ships f81f08e5bf
[Windows] Fix MinGW build
`file_access.h` was removed from the include hierarchy and wasn't caught
by CI as it only occurs with MinGW builds
2025-10-07 16:06:04 +02:00
Rémi Verschelde 9052d31c68
Merge pull request #111331 from Repiteo/scons/revert-cppextpath
Revert "SCons: Add `CPPEXTPATH` for external includes"
2025-10-07 13:07:19 +02:00
Rémi Verschelde 9a25d56b1f
Merge pull request #111316 from bruvzg/res_manifest
[Windows] Fix application manifest in exported projects with modified resources.
2025-10-07 13:07:15 +02:00
Rémi Verschelde 546ead2abd
Merge pull request #109795 from bruvzg/mac_reg_policy
[macOS] Always use "Regular" activation policy for GUI, and headless main loop for command line only tools.
2025-10-07 13:06:56 +02:00
Rémi Verschelde a6e44be2dc
Merge pull request #105587 from deralmas/framing-this-moment
Wayland: Emulate frame event for old `wl_seat` versions
2025-10-07 13:06:47 +02:00
Gergely Kis 6c44c80c62 LibGodot: Core - Build Godot Engine as a Library
* Add a new GodotInstance GDCLASS that provides startup and iteration commands to control a Godot instance.
* Adds a libgodot_create_godot_instance entry point that creates a new Godot instance and returns a GodotInstance object.
* Adds a libgodot_destroy_godot_instance entry point that destroys the Godot instance.

Sample Apps: https://github.com/migeran/libgodot_project

Developed by [Migeran](https://migeran.com)

Sponsors & Acknowledgements:

* Initial development sponsored by [Smirk Software](https://www.smirk.gg/)
* Rebasing to Godot 4.3 and further development sponsored by [Xibbon Inc.](https://xibbon.com)
* The GDExtension registration of the host process & build system changes were based
  on @Faolan-Rad's LibGodot PR: https://github.com/godotengine/godot/pull/72883
* Thanks to Ben Rog-Wilhelm (Zorbathut) for creating a smaller, minimal version for easier review.
* Thanks to Ernest Lee (iFire) for his support

Co-Authored-By: Gabor Koncz <gabor.koncz@migeran.com>
Co-Authored-By: Ben Rog-Wilhelm <zorba-github@pavlovian.net>
2025-10-07 02:15:41 +02:00
Thaddeus Crews b17aa3343a
Revert "SCons: Add `CPPEXTPATH` for external includes" 2025-10-06 13:09:22 -05:00
Mounir Tohami 9894256e3a More XR disable for Viewport and export. 2025-10-06 20:15:07 +03:00
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