Commit graph

1988 commits

Author SHA1 Message Date
Adam Scott
10c7cb878a
Add new monospace related hint strings
- Add hint string `monospace` for `PROPERTY_HINT_{NONE,PASSWORD,PLACEHOLDER_TEXT}` to set the `LineEdit` font monospaced.
- Add hint string `monospace` for `PROPERTY_HINT_MULTILINE_TEXT` to set the `TextEdit` font monospaced.
- Add hint string `no_wrap` for `PROPERTY_HINT_MULTILINE_TEXT` to make the `TextEdit` not wrap lines automatically.

Also:
- Fix issue with `EditorPropertyMultilineText` not updating font properly.
- Add `EditorPropertyMultilineText` tweak flags.
- Add support with GDScript `@export_multiline`.
2025-12-03 12:57:40 -05:00
Rémi Verschelde
71d4ded745
Merge pull request #113279 from Ivorforce/tracy-gdscript-codeloc
Add support for profiling GDScript with tracy.
2025-12-02 14:16:56 +01:00
Lukas Tenbrink
acefbbbbcd Add support for profiling GDScript with tracy.
This adds macro `GodotProfileZoneGroupedFirstScript`, and uses interning for speedy lookups.

Co-authored-by: Samuel Nicholas <nicholas.samuel@gmail.com>
2025-11-28 16:36:36 +01:00
Rémi Verschelde
b87fcf7e79
Windows: Make Direct3D 12 the default RD driver for new projects
For compatibility reasons, `vulkan` is kept as the technical default for the
setting, but projects created in Godot 4.6 and later will set `d3d12` as the
driver automatically.

Users upgrading to 4.6 are recommended to adopt `d3d12` as a default if it
fits their needs.

Enable `d3d12=yes` by default in SCons so that custom Windows builds include
Direct3D 12 support.
2025-11-27 10:26:25 +01:00
Thaddeus Crews
0892983225
Merge pull request #113013 from bruvzg/hid_hook
Fix EnumDevices stall using IAT hooks.
2025-11-24 10:21:44 -06:00
Pāvels Nadtočajevs
985dfa7cda
Fix EnumDevices stall using IAT hooks.
Co-authored-by: Davi <davicr38@gmail.com>
2025-11-21 11:21:46 +02:00
Pāvels Nadtočajevs
a7358ddd12
Add error message when trying to load project from CWD. 2025-11-20 23:19:09 +02:00
Hilderin
f3233372f1
Fix pressed keys resetted when hiding a window on Windows 2025-11-18 10:23:56 -06:00
Thaddeus Crews
e46c2ea3fa
Merge pull request #112379 from bruvzg/tts64id
Make `utterance_id` 64-bit.
2025-11-14 14:23:17 -06:00
Skyth
69401d6eb1 Fix crash when using ANGLE OpenGL on Windows. 2025-11-13 12:24:11 +03:00
Thaddeus Crews
04bc282ae7
Merge pull request #104851 from Ivorforce/tracy
Add `profiler` option to `SCons` builds, with support for `tracy` and `perfetto`.
2025-11-12 11:24:15 -06:00
Jono Kemball
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
Lukas Tenbrink
c3747884da Add some important profiling hooks. 2025-11-08 00:08:48 +01:00
Lukas Tenbrink
e80194e31f Add profiler option to SCons builds.
Add `tracy` option to `profiler`. If set, a tracy profiling client will be injected into the Godot binary.

# Conflicts:
#	platform/linuxbsd/godot_linuxbsd.cpp
2025-11-08 00:08:45 +01:00
Pāvels Nadtočajevs
281c74550a
Make utterance_id 64-bit. 2025-11-07 10:21:20 +02:00
Pāvels Nadtočajevs
c231c8c41d
Fix "Unexpected NUL character" errors on Wine. 2025-11-07 08:08:12 +02:00
Skyth
613c9fb86f Improve rendering driver fallback on Windows. 2025-11-05 17:49:43 +03:00
Thaddeus Crews
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
Thaddeus Crews
90cab74af9
Merge pull request #110248 from KoBeWi/unexpected_include_hell
Misc cleanup in EditorExportPlatform
2025-11-04 16:32:39 -06: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
kobewi
1c1c3200e4 Misc cleanup in EditorExportPlatform 2025-10-29 22:25:37 +01: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
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
Pāvels Nadtočajevs
21aa53f718
Update embedded PCK virtual address. 2025-10-16 11:35:20 +03: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
Thaddeus Crews
d86a428994
SCons: Enable mingw big objects in more contexts 2025-10-13 11:00:03 -05:00
Wagner
f835707f7a Fix Windows native FileDialog filters not showing descriptions 2025-10-12 16:22:45 -03: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
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
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
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
Pāvels Nadtočajevs
91fc0c3756
[Windows] Fix application manifest in exported projects with modified resources. 2025-10-06 11:33:02 +03: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
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
bruvzg
ab287991cf
[Windows] Simplify ANGLE fallback list and remove ID checks. 2025-10-03 08:07:43 +03:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07: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
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
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
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