1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00
Commit Graph

982 Commits

Author SHA1 Message Date
Thaddeus Crews
fdf32d1b2a Merge pull request #108577 from YYF233333/global_class_list
Simplify `ScriptServer::get_global_class_list`
2025-09-30 11:19:10 -05:00
Thaddeus Crews
491ecff31e Merge pull request #99195 from shitake2333/csharp_translation_parser_support
Add c# translation parser support
2025-09-22 21:01:01 -05:00
molingyu
da8f647fa1 feat: Add c# translation parser support
Use semantic model to analyze the method to be selected

Support translation comment

Make C# multi-line comments also ignore translation

Add  preprocessor symbols support
2025-09-19 13:46:01 +08:00
Yufeng Ying
a50fc5acd8 Change ClassDB::get_class_list and related stuff. 2025-09-16 15:00:33 +08:00
Thaddeus Crews
c2141e0aa5 Bump version to 4.6-dev 2025-09-15 15:50:22 -05:00
Raul Santos
f0c9253bec [.NET] Require net9.0 for Android exports
To ensure Android exports are compatible with the new Play Store
requirement that all `.so` libraries included are aligned to 16k,
we now require C# projects to target `net9.0` which uses the
correct alignment (as opposed to the current one of 4k).

The thirdparty jar library has also been updated to the one from
the 9.0.4 runtime package so it's compatible with non-gradle
builds targeting `net9.0`.

Non-android projects are not affect, the minimum TFM is still
`net8.0`.
2025-09-05 04:14:27 +02:00
Thaddeus Crews
37a48c89f9 Merge pull request #106744 from L2750558108/fix-@-error-in-c#
Fix source generator exceptions appearing when use "@+internal keyword" as type or namespace name in C# script
2025-08-24 11:04:31 -05:00
2750558108
f192430921 Fix source generator exceptions appearing when use "@+internal keyword" as type or namespace name in C# script 2025-08-09 13:25:54 +08:00
Thaddeus Crews
320484a8fb Merge pull request #108262 from aaronfranke/csharp-crash-bad-enum
Fix crash in C# bindings generator with bad enum documentation XML
2025-07-07 10:07:56 -05:00
A Thousand Ships
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
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