Commit graph

7568 commits

Author SHA1 Message Date
Thaddeus Crews
abdde1b69d
Core: Remove class_db.h include from ref_counted.h 2026-02-26 18:14:23 -06:00
Thaddeus Crews
f630133a01
Merge pull request #116826 from Repiteo/style/class-db-explicit-include
Style: Add `class_db.h` includes explicitly
2026-02-26 16:18:45 -06:00
Thaddeus Crews
e3837c24fd
Merge pull request #116242 from bruvzg/cgevents
[macOS] Fix confined mouse movement getting out of sync.
2026-02-26 16:18:36 -06:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Thaddeus Crews
a6aa38ff89
Merge pull request #102378 from Repiteo/scons/wasm64
SCons: Enable `wasm64` support on web builds
2026-02-26 08:15:16 -06:00
Rémi Verschelde
f5a290ac46
Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Thaddeus Crews
c5bf809d16
SCons: Enable wasm64 support on web builds 2026-02-25 11:33:21 -06:00
Thaddeus Crews
a048ea0ffe
Merge pull request #116693 from Repiteo/windows-leanest-and-meanest
Windows: Add `windows.h` drop-in wrapper header
2026-02-25 09:27:49 -06:00
Thaddeus Crews
b62cbfdaa8
Merge pull request #115888 from m4gr3d/fix_platform_bom_dependency_insertion
Android: Add support for plugins gradle platform dependencies
2026-02-24 09:29:30 -06:00
Thaddeus Crews
2146b49a49
Windows: Add windows.h drop-in wrapper header
• Defines `WIN32_LEAN_AND_MEAN` and `NOMINMAX`, and various undefs
2026-02-23 17:56:05 -06:00
Thaddeus Crews
2db05b08de
Merge pull request #116548 from m4gr3d/check_for_android_devices_when_runnable_is_set
Android: Only poll for devices when a runnable export preset is configured
2026-02-23 11:58:40 -06:00
Thaddeus Crews
974993eb7a
Merge pull request #116584 from 0ttoman/android_dialog_feature
Android: Remove version check for `FEATURE_NATIVE_DIALOG_FILE` support
2026-02-23 11:58:37 -06:00
Thaddeus Crews
9a19d32fdb
Merge pull request #116541 from Ivorforce/a-variant-shaped-pool
Move variant pools to their own compile unit.
2026-02-21 12:17:01 -06:00
Josef Ott
fc711baa23 FEATURE_NATIVE_DIALOG_FILE always true for android 2026-02-21 17:18:23 +01:00
Lukas Tenbrink
e9465cd380 Move variant pools to their own compile unit. 2026-02-21 13:24:17 +01:00
Fredia Huya-Kouadio
51eb1a3013 Poll for Android devices only when a runnable Android export preset is configured 2026-02-20 10:52:39 -08:00
Thaddeus Crews
8ab854a7ca
Merge pull request #116092 from bruvzg/bundle_id
[macOS] Add build name to bundle ID.
2026-02-20 11:36:06 -06:00
Hugo Locurcio
7d6d11f8d8
Fix EditorSettings error due to android_sdk_path when exporting a project
This editor setting is queried once every 3 seconds, as it is used
to check whether devices have been (dis)connected for one-click deploy.

This method may be called early on depending on initialization order,
which has led to occasional error messages when exporting a project.
The method now returns early if EditorSettings isn't ready yet
(it will be called again soon after anyway).
2026-02-20 01:25:33 +01:00
Thaddeus Crews
afa6d6071b
Merge pull request #114316 from Nintorch/sdl-joypad-ios-visionos
Add support for SDL3 joystick input driver for iOS
2026-02-18 12:04:32 -06:00
Thaddeus Crews
15558cb886
Merge pull request #108111 from Repiteo/core/sanitizer-restructure
Core: Restructure sanitizers
2026-02-18 12:04:30 -06:00
Nintorch
73fcc0d645 Add SDL joystick input for iOS 2026-02-18 20:37:22 +05:00
Rémi Verschelde
ad4b910a10
Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
Thaddeus Crews
fa56f71ddd
Merge pull request #107452 from Ivorforce/bit-math-header
Move binary math functions to `Math` namespace in `math_funcs_binary.h`
2026-02-17 09:28:31 -06:00
Thaddeus Crews
a82e210b5a
Merge pull request #116376 from deralmas/wl/noope
Wayland: Skip resize request when the size is the same
2026-02-17 09:28:23 -06:00
Lukas Tenbrink
0ea5ece984 Move binary math functions to Math namespace in math_funcs_binary header. 2026-02-17 12:24:35 +01:00
Thaddeus Crews
1e12317895
Merge pull request #115646 from Ivorforce/list-explicit-copy
Change `List` copy constructor from implicit to explicit.
2026-02-16 15:02:34 -06:00
Dery Almas
870631211f Wayland: Skip resize request when the size is the same
`DisplayServer::window_set_size` is called lots of times in the code,
with the assumption (I suppose) that it's going to be idempotent.

We had checks in _update_window_rect but we still called
`WaylandThread::window_set_size`, which did a lot of stuff. In
particular, this caused issues with HiDPI as it "overrode" the window
size before it had a time to figure out its scale.
2026-02-16 20:10:54 +01:00
Thaddeus Crews
43c9a32b3d
Merge pull request #116354 from bruvzg/macos_url_null
[macOS] Add null check to `get_framework_executable`.
2026-02-16 10:19:36 -06:00
Thaddeus Crews
41f4ca3247
Merge pull request #116236 from deralmas/the-chosen-one
Wayland: Only handle the current output mode
2026-02-16 10:19:35 -06:00
Thaddeus Crews
b769ae2d5f
Merge pull request #116309 from deralmas/wl/sdrawkcab
Wayland: Swap backward and forward mouse buttons
2026-02-16 10:19:30 -06:00
Thaddeus Crews
4106b5cdcc
Merge pull request #116256 from dsnopek/monado-opengl-fix
OpenXR: Fix OpenGL initialization with Monado on X11
2026-02-16 10:19:28 -06:00
Thaddeus Crews
4cccd55af8
Merge pull request #116161 from syntaxerror247/copy-keystore-to-temp
Android Editor: Copy keystore to temp file during export
2026-02-16 10:19:23 -06:00
Thaddeus Crews
2f06af10e6
Merge pull request #106560 from SheepYhangCN/taskbar-progress-state
Add taskbar progress and state support for Windows & macOS
2026-02-16 10:19:21 -06:00
Thaddeus Crews
2762c56829
Merge pull request #112287 from Kiisu-Master/wl_pointer_warp
Add pointer warping on wayland
2026-02-16 10:19:18 -06:00
Pāvels Nadtočajevs
07851f8271
[macOS] Add null check to get_framework_executable. 2026-02-16 16:16:53 +02:00
Kiisu_Master
4dceee5252 Add pointer warping on wayland 2026-02-15 18:16:27 +01:00
Dery Almas
fe0acc1003 Wayland: Swap backward and forward mouse buttons
They were bound in reverse. No idea how I originally chose which was
which.

This patch also orders the switch cases by their underlying codes: left,
right, middle, side, extra.
2026-02-15 09:28:52 +01:00
David Snopek
3f5c5d969f OpenXR: Fix OpenGL initialization with Monado on X11 2026-02-13 11:58:27 -06:00
Thaddeus Crews
3f57dc07cc
Merge pull request #116153 from m4gr3d/add_project_godot_associations
Implement `project.godot` file associations for the Android editor
2026-02-13 07:40:27 -06:00
Pāvels Nadtočajevs
d1698255bc
[macOS] Fix confined mouse movement getting out of sync. 2026-02-13 10:56:46 +02:00
Dery Almas
dc8e7ef2ce Wayland: Only handle the current output mode
Some compositors (e.g. COSMIC) can report *all* supported output modes,
not just the current mode. This is valid, albeit deprecated, so let's
add a check and ignore any non-current output events.
2026-02-13 02:52:40 +01:00
Fredia Huya-Kouadio
0ad63522d7 Quick fix to address https://github.com/godotengine/godot/issues/115924
The fix resets the Android global vulkan context when running in XR mode to allow the XR module to drive the initialization via vulkan hooks.
2026-02-12 14:14:23 -08:00
Thaddeus Crews
2d5b30c476
Merge pull request #115963 from blueskythlikesclouds/reduce-includes-to-rd
Reduce includes to rendering device.
2026-02-12 08:19:16 -06:00
Josh Jones
b8389cc76b Support output to HDR monitors
Co-authored-by: Alvin Wong <alvinhochun@gmail.com>
Co-authored-by: Allen Pestaluky <allenpestaluky@gmail.com>
2026-02-11 22:13:26 -07:00
Pāvels Nadtočajevs
032232a522
[macOS] Add build name to bundle ID of custom builds. 2026-02-11 11:45:49 +02:00
Anish Kumar
6a65e06e69 Android Editor: copy keystore to temp file during export 2026-02-11 13:44:57 +05:30
Fredia Huya-Kouadio
8d14a178e9 Implement project.godot file associations for the Android editor 2026-02-10 14:13:07 -08:00
Skyth
8fbf2f1e14 Reduce includes to rendering device.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2026-02-10 16:58:50 +03:00
Thaddeus Crews
833889aec0
Merge pull request #115710 from syntaxerror247/fix-seek
Fix `FileAccess.seek_end` behavior on Android
2026-02-09 15:07:07 -06:00
SheepYhangCN
851faa08d8 Add taskbar progress and state support for Windows & macOS
Co-Authored-By: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-02-09 19:48:53 +08:00