1
0
Fork 0
Commit Graph

7391 Commits

Author SHA1 Message Date
Hugo Locurcio 09f9dc157a
Disable shader baker when exporting as dedicated server
Dedicated server exports don't perform any rendering, so there's no point
in including baked shaders. Doing so saves a few MBs in PCK size if the
shader baker was enabled in the export options.
2025-11-04 00:25:08 +01:00
Skyth 4cc5177f6b Create HWND swap chain when window transparency is disabled on D3D12. 2025-11-03 17:36:55 +03:00
Lukas Stark 0a679a0a7f [windows] Added early return for when toggling borderless while fullscreen 2025-11-01 22:55:41 +01:00
Rémi Verschelde 0fdbf050e0
Merge pull request #112279 from bruvzg/l_sse42_err
[Linux] Add SSE4.2 support runtime check.
2025-11-01 19:07:07 +01:00
Pāvels Nadtočajevs 286e578b02
[Linux] Add SSE4.2 support runtime check. 2025-11-01 12:48:10 +02:00
Thaddeus Crews ba3b024765
Merge pull request #110078 from bruvzg/emb_kmap
[macOS] Fix keyboard mapping init in embedded display server.
2025-10-31 09:23:34 -05:00
Thaddeus Crews 5c4f173a85
Merge pull request #110219 from bruvzg/mac_emb_focus_3
[macOS] Make embedded window focus behavior more similar to Windows/X11.
2025-10-31 09:23:26 -05:00
Serhii Snitsaruk b0cb297cde
Fix 64-bit integers being truncated to 32-bit in JNI 2025-10-30 22:57:53 +01:00
kobewi 1c1c3200e4 Misc cleanup in EditorExportPlatform 2025-10-29 22:25:37 +01:00
Haoyu Qiu 48575336e8 X11: Fix minimize/maximize buttons can't be hidden 2025-10-29 19:37:23 +08:00
Thaddeus Crews f7c9306453
Merge pull request #111326 from timothyqiu/win-dpi-scale
Fix editor auto display scale on Windows
2025-10-28 12:19:24 -05:00
Thaddeus Crews 3cd6b3f8c6
Merge pull request #111674 from bruvzg/pck_virt_addr_4
Update embedded PCK virtual address.
2025-10-28 10:15:35 -05:00
Thaddeus Crews af77ae8137
Merge pull request #111874 from deralmas/not-so-fast
Wayland: Set window parent before commit
2025-10-28 10:15:29 -05:00
Riteo Siuga 4df96fc7ab Wayland: Set window parent before commit
Fixes a timing issue where dialogs got configured right before having
their parent set. This gave compositors the time to resize/rearrange the
dialog as if it were a normal window, only to be marked as "floating"
right away. On niri, this manifested as huge dialog windows.

This is achieved with the addition of a `p_parent_id` parameter to
`window_create`, akin to its popup counterpart.

`window_create` now also accepts a single `Size2i` parameter instead of
two integers, in line with the rest of the `WaylandThread` API. The
original idea was to have a very "barebones" API, akin to the `drivers/`
directory, but that didn't pan out.
2025-10-28 04:10:28 +01:00
Thaddeus Crews 685fa3281c
Merge pull request #111580 from timothyqiu/x11-fullscreen
X11: Fix fullscreen exit behavior
2025-10-27 10:01:52 -05:00
Thaddeus Crews 5c9333073a
Merge pull request #111696 from StarryWorm/langtable-include
Fix missing includes in headers
2025-10-27 10:01:51 -05:00
MBCX 1e481b2d14 Removed API 21 references and simplified messages 2025-10-27 10:42:56 -04:00
Haoyu Qiu 9f7ebaea5c Fix editor auto scale on Windows 2025-10-27 19:36:34 +08:00
StarryWorm 796281f62f Add missing includes
Add missing <winnt.h> include in windows/lang_table.h
Add missing typedefs.h and rid.h include in godot_constraint_3d.h
Add missing <type_traits> include in iterable.h
Add missing forward declarations in rendering_shader_library.h
2025-10-26 18:25:17 -04:00
Travis Wrightsman 1e8ead50dc Use pkg-config for recast flags
Now that recastnavigation upstream ships a pkg-config file, Godot can
rely on it for getting the build-time configuration.
2025-10-25 15:52:41 +02:00
Thaddeus Crews cc008b288a
Merge pull request #110829 from m4gr3d/javaclasswrapper_regression_tests
Add Android instrumented tests to the `app` module
2025-10-24 11:23:08 -05:00
Thaddeus Crews 9d2b619f51
Merge pull request #108737 from bruvzg/adb_scrcpy
[Android] Add export option to use "scrcpy" to run project from editor.
2025-10-24 11:23:03 -05:00
Fredia Huya-Kouadio 16bdc8c4f1 Add Android instrumented tests to the `app` module
This builds on the work from @dsnopek in https://github.com/dsnopek/javaclasswrapper-test, by importing the set of JavaClassWrapper tests from that repo within the Godot core repo in order to bootstrap and standardize how we write and run Android instrumented tests.
The approach used here should serve as a base to build upon to expand the set of instrumented tests used to validate the project's stability.

Co-authored-by: David Snopek <dsnopek@gmail.com>
2025-10-24 07:46:22 -07:00
Fredia Huya-Kouadio 5277c94fe4 Update the source sets configuration for the `app` and `lib` modules to match the default configuration
Both the `app` and `lib` modules had custom source sets configuration originating from the early days of the project. This updates the configuration to match the default Android Studio configuration which will simplify the addition of unit tests and instrumented tests to the project.

Note that for backcompat reasons, some folders (such as the `res` folder in the `app` module) are left as is.
2025-10-24 07:44:19 -07:00
Thaddeus Crews a4607f4522
Merge pull request #111871 from shiena/fix/camera_android.2
Android: Stabilize camera lifecycle handling
2025-10-23 11:03:58 -05:00
Thaddeus Crews 0caf8057a7
Merge pull request #108412 from wjt/push-qmklovyxnnom
linux/bsd/mac: Use pkill to stop remote instance over SSH
2025-10-23 11:03:57 -05:00
KOGA Mitsuhiro 4483871cd3 Android: Stabilize camera lifecycle handling
- Pause camera feeds during lifecycle transitions to avoid crashes
- Refresh camera metadata after rotation to keep orientation accurate
2025-10-23 01:32:16 +09:00
Thaddeus Crews 3f34e38703
Merge pull request #109596 from atlasapplications/splash-screen-stretch-mode
Add Stretch Modes for Splash Screen
2025-10-21 19:09:33 -05:00
Thaddeus Crews 70f07467be
Merge pull request #110127 from AayushSarikhada/android-back-gesture-fail-fix
Fix Android back gesture failing after keyboard dismissal
2025-10-21 19:09:27 -05:00
Justin Sasso b6b3e1ef9e Add Stretch Modes for Splash Screen
Co-authored-by: Samuel Pedrajas <samuelpedrajaspz@gmail.com>
2025-10-21 18:20:44 -04:00
Thaddeus Crews 58a64124e8
Merge pull request #111135 from m4gr3d/add_emit_signal_overload
[Android] Minor updates to the `GodotPlugin` APIs
2025-10-21 15:10:55 -05:00
Thaddeus Crews 06e7ac969c
Merge pull request #111688 from Alex2782/android_export_webp
Fix custom icon in Android export
2025-10-21 10:27:04 -05:00
Thaddeus Crews e6eb49834d
Merge pull request #111296 from syntaxerror247/speed-control
Android Editor: Add game speed control options in game menu bar
2025-10-21 10:27:02 -05:00
Thaddeus Crews 4eed0841b5
Merge pull request #111795 from bruvzg/x11_kbd_no_lbl
[X11] Fix `keyboard_get_label_from_physical` errors when used on key without label.
2025-10-20 18:09:37 -05:00
Anish Mishra 4501f0f0fe Android Editor: Add game speed control options in game menu bar 2025-10-20 10:23:03 +05:30
Pāvels Nadtočajevs cf21565c77
[X11] Fix `keyboard_get_label_from_physical` errors when used on key without label. 2025-10-18 19:25:55 +03:00
Rémi Verschelde 7864ac8019
Merge pull request #111299 from stuartcarnie/swift_build
Build: Fix container build path for swift
2025-10-18 11:45:54 +02:00
Thaddeus Crews 60710df3b6
Merge pull request #94047 from KoBeWi/resource_printer
Improve `to_string()` and add it to Resource
2025-10-16 12:48:11 -05:00
Thaddeus Crews f3ebee1f79
Merge pull request #111211 from superherointj/enet-warning
System-provided ENet warning
2025-10-16 12:48:07 -05:00
Pāvels Nadtočajevs 21aa53f718
Update embedded PCK virtual address. 2025-10-16 11:35:20 +03:00
Alexander Hartmann ede217754a Fix custom icon in Android export 2025-10-15 20:38:17 +02:00
Pāvels Nadtočajevs a63dd0704f
[macOS] Fix ~500ms hang on transparent OpenGL window creation on macOS 26. 2025-10-15 00:03:55 +03:00
Stuart Carnie ad74ed68c1 Build: Fix container build path for swift 2025-10-15 06:32:31 +11:00
Thaddeus Crews 9cdf3ff3ff
Merge pull request #111639 from timothyqiu/freshy-leaky
X11: Fix memory leak in `screen_get_refresh_rate()`
2025-10-14 10:31:32 -05:00
Thaddeus Crews 920552812e
Merge pull request #111566 from Repiteo/scons/mingw-big-obj
SCons: Enable MinGW big objects universally
2025-10-14 10:31:28 -05:00
Haoyu Qiu 66e5bce653 X11: Fix memory leak in `screen_get_refresh_rate` 2025-10-14 20:30:05 +08:00
Pāvels Nadtočajevs f7263b9517
[Android] Add export option to use "scrcpy" to run project from editor. 2025-10-14 15:12:48 +03:00
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