Commit Graph

2627 Commits

Author SHA1 Message Date
Thaddeus Crews d558ace2b8 Merge pull request #118001 from raulsntos/dotnet/sdk-preview
Add MSBuild property to enable Godot.NET preview
2026-04-07 18:21:49 -05:00
Thaddeus Crews 618e55b48b Merge pull request #106765 from Delsin-Yu/dotnet-array-add-range-span
[.Net] Implement `AddRange(ROS)` for `Godot.Collections.Array(<T>)`
2026-04-01 18:10:28 -05:00
Thaddeus Crews 777b5f6018 Merge pull request #114868 from raulsntos/dotnet/sourcegenerators-no-flow
C#: Prevent SourceGenerators from becoming a transitive dependency
2026-03-31 10:46:57 -05:00
Thaddeus Crews a644e7ff38 Merge pull request #114861 from dalexeev/improve-editor-only-class-checking
Improve editor-only class checking
2026-03-30 13:35:14 -05:00
StarryWorm d610492fef Separate ResourceFormat* methods from main classes 2026-03-27 07:16:20 -04:00
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
Raul Santos 1294b21c01 Add MSBuild property to enable Godot.NET preview
- Adds `EnableGodotDotNetPreview` property that allows users to opt-in into the preview packages of the new Godot .NET bindings. These packages are still in prerelease.
- Adds checks to the `Godot.NET.Sdk` to prevent accidentally referencing packages from the wrong bindings (e.g.: GodotSharp in a project that uses the new Godot .NET bindings). This should help users that run into issues when using third-party libraries that are incompatible with the bindings system they are currently using.
2026-03-26 09:57:07 +01:00
Danil Alexeev 32d1f518fa Improve editor-only class checking 2026-03-25 17:07:39 +03:00
Thaddeus Crews 5d206ad314 Merge pull request #117598 from stdmnpkg/net-rv
Allow build mono module on RISC-V
2026-03-19 10:20:02 -05:00
Thaddeus Crews ffec02fee7 Merge pull request #117617 from raulsntos/dotnet/fix-116169
Revert "[.NET] Remove EFS update on reloading assemblies" but with deferred call
2026-03-19 10:20:00 -05:00
Raul Santos 37481d6613 Revert "[.NET] Remove EFS update on reloading assemblies" but with deferred call
It turns out this call was needed after all, it ensures new scripts are included
in the global class list by updating EFS for them. In my previous PR I must've
only tested scripts that have been opened or loaded by the editor at some point
so I didn't encounter the bug.

This reverts the previous PR but with a deferred call to avoid reintroducing
the bug that the PR fixed. Updating EFS here is still too early, so we defer
the call to ensure the type info is available.
2026-03-19 09:17:26 +01:00
DE YU 1f8c856870 [.Net] Implement AddRange(ROS) for Array 2026-03-19 14:45:01 +08:00
Student Main 0fe3883cce Allow build mono module on RISC-V 2026-03-19 06:10:08 +08:00
Thaddeus Crews 456bdea954 Merge pull request #115741 from Joy-less/improve-source-generated-emit-signal-performance
Improve source-generated `EmitSignal{...}` performance in C#
2026-03-18 11:43:34 -05:00
Thaddeus Crews 8d403a7c0c Merge pull request #114509 from Joy-less/fix-bugs-in-C#-StringExtensions
Fix bugs in C# StringExtensions
2026-03-18 11:43:33 -05:00
Joyless e51107503d Fix bugs in C# StringExtensions
Co-Authored-By: Raul Santos <raulsntos@gmail.com>
2026-03-18 00:45:45 +00:00
Lukas Tenbrink 7a73d3f16b Move signal ownership from ClassDB to GDType. 2026-03-17 11:58:10 +01:00
Rémi Verschelde 6d309c858e Remove unused includes in modules with clangd-tidy 2026-03-16 16:40:39 +01:00
Rémi Verschelde 6e07a6c3c9 Merge pull request #117442 from Ivorforce/classdb-dedup-name
De-duplicate name and inherits `StringName` properties from `ClassDB::ClassInfo`, in favour of `GDType`
2026-03-16 12:08:25 +01:00
Lukas Tenbrink 67f63addc1 De-duplicate name and inherits StringName properties from ClassDB::ClassInfo, in favour of GDType. 2026-03-15 16:57:10 +01:00
Rémi Verschelde d9b81615e5 Remove unused includes in platform with clangd-tidy
Handled Linux, Windows, Android, and (partially) Web.
2026-03-14 22:37:05 +01:00
Lukas Tenbrink efcc97ee8a Move enum registration from ClassDB / ClassInfo to GDType.
Create caches across supertypes for faster lookup.
2026-03-13 19:20:30 +01:00
Rémi Verschelde 18edfa5245 Explicitly include scene_tree.h where used
Pre-requisite before removing `scene_tree.h` from `node.h`
which has cascading consequences on most of the codebase.
2026-03-05 10:43:25 +01: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
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
zinefer b8aeaf74dc Bugfix: Replace // with \\ before sending project path to MSBuild
On Windows with network shares, the project path starts with "//" which
MSBuild treats as a command-line switch, causing "Unknown switch"
errors. Replace the first two chars with "\\" to make it a proper UNC
path.
2026-02-08 20:02:17 -07:00
Thaddeus Crews 435e6c3830 CI: Enable Ruff preview options; bump version
• 1.14.7 → 1.15.0
2026-02-05 12:20:10 -06:00
Thaddeus Crews 79eb6694a1 Merge pull request #112381 from Ivorforce/no-right-align
Don't right-align escaped newlines (e.g. for `#define`)
2026-02-05 09:18:36 -06:00
Lukas Tenbrink c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
Rémi Verschelde 63e7936e18 Revert "Improve performance of CSharpLanguage::reload_assemblies"
This reverts commit f68bf2f545.

This seems to trigger occasional editor crashes.

Fixes #115460.
2026-02-02 14:21:27 +01:00
Joyless 027284067c Improve source-generated EmitSignal{...} performance 2026-02-02 01:04:57 +00:00
Rémi Verschelde 429750f60b Merge pull request #115093 from Ivorforce/hashmap-explicit-copy
Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
2026-01-31 22:50:51 +01:00
Thaddeus Crews c1f3ff963e Merge pull request #110923 from HolonProduction/rm-create-script
Remove unused `create_script` method from `ScriptLanguage`
2026-01-28 17:58:15 -06:00
Rémi Verschelde 6b441ab6a4 Bump version to 4.7-dev 2026-01-26 17:40:46 +01:00
Lukas Tenbrink 1825e89787 Change copy constructors of HashMap and AHashMap from implicit to explicit. 2026-01-21 13:01:23 +01:00
Raul Santos 46436c1278 Hide signals prefixed by underscore 2026-01-21 02:56:28 +01:00
Raul Santos 13754bd0d4 C#: Prevent SourceGenerators from becoming a transitive dependency 2026-01-07 16:41:34 +01:00
HolonProduction edabe363f9 Remove unused create_script method from ScriptLanguage 2026-01-02 17:42:22 +01:00
kobewi 9f96d2199d Add EditorDock's own DockSlot enum 2026-01-02 13:16:23 +01:00
Thaddeus Crews aeef4fff6d CI: Fix executable perms for various files 2025-12-15 11:23:03 -06:00
Michael Alexsander f187b8b2bf Enable scroll hints for several parts of the editor 2025-12-09 10:55:26 -03:00
Rémi Verschelde c3954a01aa Merge pull request #112874 from AbsoluteMoose/def_val_generator_initializer_fix
Prevent C# source generators from fully qualifying members assigned to within an object initializer
2025-12-01 11:48:40 +01:00
AbsoluteMoose 3b4b0c530e Handle initializer case in FullyQualifiedSyntax
- Prevents source generators from fully qualifying names being assigned to within an object initializer
- Adds ResourceTextureWithInitializer test cases to ExportedFields and ExportedProperties

Co-Authored-By: Paul Joannon <437025+paulloz@users.noreply.github.com>
Co-Authored-By: Paviel Kraskoŭski <kraskovskiy94@gmail.com>
2025-11-29 08:54:49 -06:00
kobewi a07fcf5d05 Change MSBuildPanel to EditorDock 2025-11-25 21:26:50 +01:00
Thaddeus Crews 48887b3f2e Merge pull request #99640 from Repiteo/scons/future-annotations-minimal
SCons: Integrate `annotations` where relevant
2025-11-24 10:21:34 -06:00
Thaddeus Crews 11fc998368 SCons: Integrate annotations where relevant
• Expand Ruff linter to catch & upgrade legacy type-hint syntax
2025-11-22 13:22:31 -06:00
Break ef9738005a Separate Node editor dock 2025-11-22 10:17:03 +08:00
Thaddeus Crews 817bf95756 C#: Ensure mono editor supports Visual Studio 2026 2025-11-20 10:32:08 -06:00