Commit Graph

315 Commits

Author SHA1 Message Date
Thaddeus Crews de831fbe91 Merge pull request #39708 from Calinou/add-builtin-fullscreen-toggle
Toggle fullscreen mode when pressing Alt + Enter by default
2026-06-19 12:05:59 -05:00
Hugo Locurcio 27ae39eedf Toggle fullscreen mode when pressing Alt + Enter by default
Alt + Enter is a widely followed convention to toggle fullscreen.
This adds support for it both in the editor and projects, as long
as the window is configured to be resizable.

The rationale for providing this feature in all projects is that
many developers don't bother about adding a fullscreen toggle,
especially for smaller/gamejam games. Yet, this convention is
followed by many popular games out there, including AAA games.

The shortcut can be modified or disabled by editing the Input Map
in the Project Settings.
2026-04-15 16:53:55 +02:00
Allen Pestaluky cd5710e415 Change display/window/hdr/request_hdr_output project setting to be a basic setting. 2026-04-09 14:54:29 -04:00
Rémi Verschelde 9b9a533ed2 Merge pull request #117504 from Giganzo/focus-draw-pointer-event
Clarify `show_focus_state_on_pointer_event` description
2026-03-23 22:34:48 +01:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Giganzo f3f7f156b3 Clarify show_focus_state_on_pointer_event description 2026-03-17 10:59:03 +01:00
Silc Lizard (Tokage) Renew 9b91768195 Add node path validation & tweak warning in SkeletonModifier3D 2026-03-13 10:05:57 +09:00
Rémi Verschelde e015e8bde4 Remove unused includes in core with clangd-tidy 2026-03-11 06:41:36 +01:00
Thaddeus Crews 5824614bed Merge pull request #116287 from Nintorch/input-action-remove-settings-changed
Emit `ProjectSettings.settings_changed` signal on `ProjectSettings.clear()` call
2026-03-04 14:32:30 -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 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 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
Pāvels Nadtočajevs 1306221592 Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton. 2026-03-02 13:48:29 +02:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Rémi Verschelde 25bfae8ff9 Remove RenderingServer::map_scaling_option_to_stretch_mode and cleanup boot splash code
Removes RS as a dependency in `project_settings.cpp` (which was a bug,
`core` shouldn't include `servers`). This doesn't have a big impact on
incremental rebuild time by itself.

Also move helper `get_splash_stretched_screen_rect` to RenderingServerTypes.
2026-02-25 20:17:27 +01:00
Lukas Tenbrink a6adb12240 Remove message_queue.h include from object.h. 2026-02-20 00:27:41 +01:00
Nintorch 4bb7383d5a Emit settings_changed signal on input action remove 2026-02-14 18:25:02 +05: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
Lukas Tenbrink 1825e89787 Change copy constructors of HashMap and AHashMap from implicit to explicit. 2026-01-21 13:01:23 +01:00
Skyth 0307895ede Upgrade Agility SDK & DirectX Headers. 2025-12-16 13:41:09 +03:00
Rémi Verschelde daf2871828 Merge pull request #113088 from KoBeWi/juggling_paths
Ensure paths in autoload info
2025-12-04 13:21:43 +01:00
Skyth a8d3ecec13 Refactor descriptor heaps in D3D12 driver. 2025-12-03 11:02:41 +03:00
Pāvels Nadtočajevs 358d799b9a [iOS] Fix use of godot_path. 2025-12-02 16:44:00 +02:00
kobewi dce2518dc1 Ensure paths in autoload info 2025-11-23 23:09:14 +01:00
Pāvels Nadtočajevs 8d10d8e7e6 Allow override.cfg to add autoloads to the front of the list. 2025-11-23 15:10:00 +02:00
Thaddeus Crews b15a13eed3 Merge pull request #112607 from KoBeWi/what_could_have_gone_wrong🤷‍♂️
Add MeshInstance3D upgrade code
2025-11-18 14:00:50 -06:00
Thaddeus Crews 42f06f6d4d Merge pull request #108170 from aaronfranke/test-ps-path-func
Use ProjectSettings path functions instead of hard-coded folder names in tests
2025-11-17 10:56:31 -06:00
kobewi 251746a89c Add MeshInstance3D upgrade code 2025-11-13 13:43:17 +01:00
Thaddeus Crews 6678288490 Merge pull request #111909 from bruvzg/mods_are_bad_they_make_you_mad
Disable some unsafe CLI arguments in template builds by default.
2025-11-12 11:24:12 -06:00
Haoyu Qiu b8a8f8b35a Allow localizing the application name with project translations 2025-11-08 13:06:55 +08:00
Thaddeus Crews 6fd949a6dc Merge pull request #110748 from MauriceButler/project-setting-changed-signal
Add ability to get list of Project Settings changed, similar to Editor Settings functionality
2025-11-07 10:32:39 -06:00
Maurice Butler ffa2651fbc Added ability to get a list of project settings changed. 2025-11-06 20:15:07 +10:00
Pāvels Nadtočajevs 29da94290f Disable some unsafe CLI arguments in template builds by default. 2025-11-03 12:21:42 +02:00
kobewi d27fb9b15a Remove default skeleton path in MeshInstance3D 2025-11-01 01:59:58 +01: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
Aaron Franke 3c5df91a90 Use ProjectSettings functions instead of hard-coded folder name in tests 2025-10-24 20:24:50 -07:00
hannes 89aa5137b8 add gui_drag_threshold for viewports 2025-10-24 19:01:25 +02: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 e870cd911b Merge pull request #110895 from Giganzo/input-focus
Add setting for when to show the focus state for mouse input
2025-10-21 19:09:25 -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
Pāvels Nadtočajevs 21aa53f718 Update embedded PCK virtual address. 2025-10-16 11:35:20 +03:00
Thaddeus Crews 0091d30e3e Merge pull request #108818 from bruvzg/no_cli_over
Add project setting and build option to disable `override.cfg` and related CLI arguments.
2025-10-08 13:56:35 -05:00
Giganzo e384085ca1 Add setting for when to show the focus state for mouse input 2025-10-07 14:26:14 +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
Pāvels Nadtočajevs 1211cd827e Add project setting and build option to disable override.cfg and related CLI arguments. 2025-10-05 21:47:57 +03:00
smix8 19df15f1dc Make navmesh rasterization errors more lenient
Make navmesh rasterization on the navigation regions and map more lenient by starting out with a lower internal cell scale by default and changing the merge error to just warning that can be toggled.
2025-09-25 20:18:18 +02:00
Thaddeus Crews a20ca7bbfe Merge pull request #110459 from YeldhamDev/let_the_poor_ints_slide
Allow to use sliders for integers in `EditorSpinSlider`
2025-09-22 13:28:52 -05:00
Thaddeus Crews be421bcdd4 Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Michael Alexsander f16ff829f0 Allow to use sliders for integers in EditorSpinSlider 2025-09-22 11:23:15 -03:00