Commit Graph

7261 Commits

Author SHA1 Message Date
5cb5eb59f9 Fix Chinese characters were not displayed correctly in DBusMessage
On OS with Chinese locale, you might receive the following message
when running an editor using the `--verbose` option:

```
ERROR: Error on D-Bus communication: æªæ	¾å°è¯·æ±ç
                                                         设置
   at: read_setting (platform/linuxbsd/freedesktop_portal_desktop.cpp:144)
```
2025-11-11 08:18:07 +08:00
9eaa7051ec Merge pull request #112534 from Noojuno/fix-windows-minimize-bug
Windows: Fix window_get_size_with_decorations returning an invalid size when restoring from minimize
2025-11-10 17:47:06 -06:00
3497a5dbf5 Windows: Fix window_get_size_with_decorations returning an invalid size when minimizing by storing previous value 2025-11-11 09:22:29 +13:00
2d86b69bf1 Merge pull request #112507 from Benjamin-Dobell/fix/android-assets-pck-loading
Android: Fix loading sparse `.pck` from `assets://`
2025-11-10 08:20:25 -06:00
57311e717a Merge pull request #112556 from m4gr3d/fix_editor_crash_on_exit
[Android editor] Fix editor crash on exit
2025-11-10 08:20:07 -06:00
8c469be225 Fix editor crash on exit 2025-11-08 10:57:19 -08:00
b8a8f8b35a Allow localizing the application name with project translations 2025-11-08 13:06:55 +08:00
ee7722181f Merge pull request #112496 from bruvzg/nullcert
Fix "Unexpected NUL character" errors on Wine.
2025-11-07 10:32:33 -06:00
84365402f8 Android: Fixed assets:// access i.e. fixed .pck from assets:// 2025-11-07 23:42:22 +11:00
c231c8c41d Fix "Unexpected NUL character" errors on Wine. 2025-11-07 08:08:12 +02:00
0cad83f7e7 Merge pull request #112398 from LanzaSchneider/patch-5
Fix compile error with android export plugin
2025-11-06 08:13:14 -06:00
2d7380c3ff Merge pull request #111493 from deralmas/racing-the-thread
Wayland: Defer event thread initialization to late initialization
2025-11-06 08:13:13 -06:00
8d6a76154e Fix compile error with android export plugin 2025-11-06 09:03:41 +08:00
62edbc2ae5 Merge pull request #112437 from mhilbrunner/android-buildtools-bump
Update Android build tools to version 35.0.1
2025-11-05 11:48:04 -06:00
613c9fb86f Improve rendering driver fallback on Windows. 2025-11-05 17:49:43 +03:00
5e07b74bf5 Update Android build tools to version 35.0.1 2025-11-05 14:29:56 +01:00
a6e7084b40 Merge pull request #112383 from bruvzg/mm_enter_spam
[macOS] Fix mouse enter events sent to wrong popup window.
2025-11-04 16:32:56 -06:00
f3c30408d4 Merge pull request #112344 from blueskythlikesclouds/d3d12-transparent-background-fix
Create HWND swap chain when window transparency is disabled on D3D12.
2025-11-04 16:32:48 -06:00
90cab74af9 Merge pull request #110248 from KoBeWi/unexpected_include_hell
Misc cleanup in EditorExportPlatform
2025-11-04 16:32:39 -06:00
38eefbab28 Merge pull request #112297 from UrbanHelix/borderless-border-bug
[Windows] Fix legacy border when toggling borderless while fullscreen
2025-11-04 16:32:37 -06:00
700aa5cee2 Merge pull request #112036 from MBCX/report-supported-api-android
Change API 21 references to API 24
2025-11-04 16:32:35 -06:00
c5e6fde0c7 Merge pull request #112142 from timothyqiu/motif-wm-hints
X11: Fix minimize/maximize buttons can't be hidden
2025-11-04 16:32:24 -06:00
03c544fb2b [macOS] Fix mouse enter events sent to wrong popup window. 2025-11-04 13:03:48 +02:00
4cc5177f6b Create HWND swap chain when window transparency is disabled on D3D12. 2025-11-03 17:36:55 +03:00
0a679a0a7f [windows] Added early return for when toggling borderless while fullscreen 2025-11-01 22:55:41 +01:00
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
286e578b02 [Linux] Add SSE4.2 support runtime check. 2025-11-01 12:48:10 +02:00
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
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
b0cb297cde Fix 64-bit integers being truncated to 32-bit in JNI 2025-10-30 22:57:53 +01:00
1c1c3200e4 Misc cleanup in EditorExportPlatform 2025-10-29 22:25:37 +01:00
48575336e8 X11: Fix minimize/maximize buttons can't be hidden 2025-10-29 19:37:23 +08:00
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
3cd6b3f8c6 Merge pull request #111674 from bruvzg/pck_virt_addr_4
Update embedded PCK virtual address.
2025-10-28 10:15:35 -05:00
af77ae8137 Merge pull request #111874 from deralmas/not-so-fast
Wayland: Set window parent before commit
2025-10-28 10:15:29 -05:00
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
685fa3281c Merge pull request #111580 from timothyqiu/x11-fullscreen
X11: Fix fullscreen exit behavior
2025-10-27 10:01:52 -05:00
5c9333073a Merge pull request #111696 from StarryWorm/langtable-include
Fix missing includes in headers
2025-10-27 10:01:51 -05:00
1e481b2d14 Removed API 21 references and simplified messages 2025-10-27 10:42:56 -04:00
9f7ebaea5c Fix editor auto scale on Windows 2025-10-27 19:36:34 +08:00
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
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
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
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
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
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
a4607f4522 Merge pull request #111871 from shiena/fix/camera_android.2
Android: Stabilize camera lifecycle handling
2025-10-23 11:03:58 -05:00
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
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
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