Commit graph

972 commits

Author SHA1 Message Date
Aaron Franke
ab90808fee
Fix crash in C# bindings generator with bad enum documentation XML 2025-07-03 20:48:09 -07:00
Justin Sasso
aa0ed1b469 Update Dotnet iOS Export Process
Update iOS export to allow for hybrid globalization introduced in .NET 9 while preserving .NET 8 settings. Also allows for custom ICU or no ICU.
2025-07-01 14:02:28 -04:00
Rémi Verschelde
25525bcfa5
Merge pull request #108053 from raulsntos/dotnet/check-msbuild-panel-for-details
[.NET] Mention MSBuild panel when building fails
2025-06-28 13:03:27 +02:00
Raul Santos
c67f95d80e
[.NET] Mention MSBuild panel when building fails 2025-06-27 20:30:12 +02:00
Raul Santos
70d0ecbb16
[.NET] Avoid exporting to duplicate architectures
Use a `HashSet` to avoid adding duplicate architectures on exporting. It seems we were adding `x86_64` and `arm64` twice to macOS exports because they are also included in the features.
2025-06-25 21:41:29 +02:00
Lukas Tenbrink
e2931a5c19 Make conversions from NodePath to String explicit. 2025-06-11 16:50:27 +02:00
kobewi
13f642d959
Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
aaronp64
6b2674fe18 Reuse and optimize sorting logic for List, SelfList, and HashMap
Added SortList class, and updated List, SelfList, and HashMap sort methods to use it.  Sorting is done with merge sort, with an initial check to optimize for already sorted lists, and sorted lists that were appended to.
2025-06-04 10:18:22 -04:00
Pāvels Nadtočajevs
617e12a6b4
[Windows] Drop support for Windows 7/8/8.1. 2025-05-30 17:30:23 +03:00
Rémi Verschelde
25a3c27c41
Merge pull request #105628 from rsanchezsaez/apple/ios-visionos-4.5
Native visionOS platform support
2025-05-20 23:09:07 +02:00
Ricardo Sanchez-Saez
457299449d
Introduce 'drivers/apple_embedded' abstract platform for code reuse 2025-05-19 15:37:13 -07:00
Thaddeus Crews
d237e31a89
Style: Remove redundant DEBUG_METHODS_ENABLED
• Replaced with functionally identical and far more ubiquitous `DEBUG_ENABLED`
2025-05-15 13:09:41 -05:00
Thaddeus Crews
b7c4f23203
Merge pull request #105819 from hexog/implicit-package-references
Mark referenced packages in SDK as implicitly defined
2025-05-15 10:22:25 -05:00
Aaron Franke
a404b668a1
Change Node set_name to use StringName 2025-05-01 15:15:19 -07:00
Thaddeus Crews
c87f23ce7d
Merge pull request #89324 from KoBeWi/pandora's_can_of_worms
Allow exporting variables of type Variant
2025-04-28 10:01:33 -05:00
Egor Nikulin
976e60ea24
Mark referenced packages in SDK as implicitly defined
Should improve package manager behavior
and fix errors in solutions using CPM.

https://github.com/NuGet/Home/issues/13529
https://github.com/dotnet/sdk/pull/43151/files#r1746148520
2025-04-27 14:00:55 +04:00
Lukas Tenbrink
91fe434a86 Always use String as StringName backing internally. 2025-04-23 14:57:03 +02:00
LuoZhihao
b0348d0e58 C#: Avoid StringName allocation in GodotObject.Free 2025-04-17 20:10:34 +08:00
Paul Joannon
88191b0b15
Fix extraction of C# default property values when negative 2025-04-13 17:57:20 +02:00
Thaddeus Crews
98c204a8f0
Merge pull request #104828 from van800/rider_fleet
C#: Separate Rider and Fleet options as external editors
2025-04-11 09:51:13 -05:00
Ivan Shakhov
45a07c1ab9 split Rider and Fleet as different external editors for Godot C#
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-04-11 13:21:50 +02:00
A Thousand Ships
889410dcda
Add String::replace_char(s) methods for performance and convenience 2025-04-10 13:08:45 +02:00
kobewi
13741ff913 Add FoldableContainer
Co-authored-by: WhalesState <whalesstate@gmail.com>
2025-04-08 22:27:32 +02:00
Yufeng Ying
7a1a970c25 size() <= 0 and size() < 1. 2025-04-02 19:18:44 +08:00
Yufeng Ying
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Rémi Verschelde
0d3ce48562
Merge pull request #104279 from L2750558108/pr-fix-nested-in-generic-errors
Fix nested GodotObject class in generic class lead to source generator errors in C#
2025-03-28 14:32:44 +01:00
Thaddeus Crews
2161217ed6
Merge pull request #104219 from van800/source_gen_fix
C#: Fix source generator for primary constructor
2025-03-24 10:00:59 -05:00
Thaddeus Crews
1cb3cfaa8e
Style: Convert namespaces to PascalCase 2025-03-23 19:10:24 -05:00
2750558108
6a56ed8926 Fix nested GodotObject class in generic class lead to source generator errors in C# 2025-03-22 20:46:52 +08:00
Ivan Shakhov
724c0021c7 fix https://github.com/godotengine/godot/issues/104135 Generator for C# makes illegal code for a GodotObject with a primary ctor
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2025-03-21 08:34:25 -07:00
Thaddeus Crews
a9065db5ad
Merge pull request #104130 from KoBeWi/are_tools_enabled_when_tools_are_enabled
Remove `TOOLS_ENABLED` checks from `editor/`
2025-03-17 10:52:25 -05:00
Raul Santos
2213545fc5
[.NET] Deprecate compat methods that reference deprecated types 2025-03-14 21:33:33 +01:00
kobewi
7cb2fb189a Remove TOOLS_ENABLED checks from editor/ 2025-03-14 18:13:16 +01:00
Thaddeus Crews
b377562b52
Merge pull request #91660 from AThousandShips/methodinfo_vec
[Core] Use `Vector` for `MethodInfo::arguments`
2025-03-14 10:06:13 -05:00
Aaron Franke
6c9087fb5a
Fix missing Vector4(i) and Projection in C# bindings generator 2025-03-13 19:04:47 -07:00
Aaron Franke
97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
Thaddeus Crews
e1b9048ae4
Merge pull request #103536 from raulsntos/dotnet/shipped-diagnostics
Move entries from `AnalyzerReleases.Unshipped.md` to `AnalyzerReleases.Shipped.md`
2025-03-11 09:34:51 -05:00
A Thousand Ships
d9721954e6
[Core] Use Vector for MethodInfo::arguments 2025-03-10 13:57:53 +01:00
A Thousand Ships
331a43a9d8
Add String::remove_char(s) methods for performance and convenience 2025-03-10 13:19:28 +01:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
Thaddeus Crews
850599c36d
Merge pull request #98153 from Delsin-Yu/dotnet-warn-missing-tool-preprocessor
[Editor] Prevent `TOOLS` .Net DefineConstants being overriden by the user
2025-03-07 15:12:49 -06:00
Thaddeus Crews
3c43508ed7
Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
Thaddeus Crews
0c8f4f3d91
Merge pull request #97908 from atlasapplications/just-linux-bionic
Add `linux-bionic` RID export option
2025-03-07 15:12:32 -06:00
A Thousand Ships
5113022dfe
Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Raul Santos
57d5b664d3
[.NET] Skip re-saving .csproj when TFM is unchanged
Avoids updating the platform-specific `TargetFramework` properties if they already match the minimum required version.
2025-03-06 18:49:08 +01:00
Raul Santos
7dcad4c9ad
Move entries from AnalyzerReleases.Unshipped.md to AnalyzerReleases.Shipped.md 2025-03-04 00:35:42 +01:00
Rémi Verschelde
1c35a31b9e
Bump version to 4.5-dev
Mr. Godot told me to tell you he won't come this evening but surely tomorrow.
2025-03-03 17:27:40 +01:00
Pāvels Nadtočajevs
ddd807ff7d Add (void *) cast directly to GetProcAddress calls. 2025-02-27 12:30:04 +02:00
DE-YU_H14
b2b7c1fd77 Force include TOOLS in Editor to prevent data loss
Update modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.targets

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2025-02-23 05:54:27 +08:00
kobewi
012d47b089 Allow exporting variables of type Variant 2025-02-15 18:00:55 +01:00