Commit Graph

7587 Commits

Author SHA1 Message Date
A Thousand Ships 68cec996d3 [Linux] Fix addr2line call 2026-03-04 18:53:01 +01:00
Thaddeus Crews 0f0c3f3a18 Merge pull request #115566 from bruvzg/add2line_
[Linux/BSD] Prefer `gimli-rs/addr2line` or `llvm-addr2line` over binutils.
2026-03-04 11:20:47 -06:00
Thaddeus Crews 1cbe90a1e9 Merge pull request #117058 from bruvzg/mac_pre_26
[macOS] Fix building with Xcode versions older than 26.
2026-03-04 11:20:46 -06:00
Thaddeus Crews 371282b28e Merge pull request #92984 from adamscott/reveal-me
Customize the file manager label for each platform
2026-03-04 11:20:31 -06:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde 727b06a79f Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
Pāvels Nadtočajevs ee1a64a4ad [Linux/BSD] Prefer gimli-rs/addr2line or llvm-addr2line over binutils. 2026-03-04 14:17:48 +02:00
Pāvels Nadtočajevs 41c6075002 [macOS] Fix building with Xcode versions older than 26. 2026-03-04 13:13:40 +02:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Rémi Verschelde 8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde a447ac95ec Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Adam Scott f441172719 Customize the file manager for each platform 2026-03-02 09:42:13 -05:00
Pāvels Nadtočajevs 1306221592 Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton. 2026-03-02 13:48:29 +02:00
Rémi Verschelde d3e5ba0d6b Merge pull request #116724 from mihe/embedded-editor-crash-fix
macOS: Add `nullptr` checks of `script_debugger` in `LayerHost::gui_input`
2026-03-02 12:35:42 +01:00
Rémi Verschelde f1ce0e6510 Merge pull request #106814 from stuartcarnie/rendering/hdr-output
Apple: Support output to EDR (HDR) displays
2026-03-02 12:35:22 +01:00
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
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
Stuart Carnie d5504ffc69 feat: Add EDR support to Metal and all Apple platforms 2026-02-27 05:23:56 +11: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
Mikael Hermansson 622efbe23b Add nullptr checks of script_debugger in LayerHost::gui_input 2026-02-24 17:21:23 +01: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