Kevin Lam
e6f441ea64
Fix dotnet class lookup returning modified names instead of engine names
2025-10-25 10:04:23 -05:00
Thaddeus Crews
414a4977d8
Merge pull request #108489 from raulsntos/dotnet/fix-bindgen-errors
...
[.NET] Fix various errors in bindings generator
2025-10-20 18:09:47 -05:00
Thaddeus Crews
3f4c15283e
Merge pull request #108487 from raulsntos/dotnet/remove-efs-update
...
[.NET] Remove EFS update on reloading assemblies
2025-10-20 18:09:44 -05:00
Joyless
a5ce9c3706
Fix IsStaticallyResolvable
2025-10-11 21:20:01 +01:00
Thaddeus Crews
e33f89fe27
Merge pull request #111323 from HolonProduction/rm-script
...
Remove `Object::script`
2025-10-10 10:26:09 -05:00
Thaddeus Crews
092b7c6427
Merge pull request #110799 from AR-DEV-1/master
...
Update Godot's .NET version from 6.0 to 8.0
2025-10-09 11:46:51 -05:00
Thaddeus Crews
e20acd3fe3
Merge pull request #111289 from HolonProduction/rm-has-named-classes
...
Move deprecated `has_named_classes` from `ScriptLanguage` to `ScriptLanguageExtension`
2025-10-08 13:56:37 -05:00
HolonProduction
2adecffbc3
Remove Object::script
2025-10-06 16:27:53 +02:00
Lukas Tenbrink
9d44b68867
Remove rw_lock.h and rb_map.h includes from object.h.
2025-10-05 23:29:04 +02:00
HolonProduction
abeb9c654e
Move deprecated has_named_classes from ScriptLanguage to ScriptLanguageExtension
2025-10-05 16:55:06 +02:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
Thaddeus Crews
62933b683e
Merge pull request #105928 from Ivorforce/cowdata-reserve-capacity
...
Core: Add `reserve` function to `Array`, `Vector`, and `String`
2025-09-30 11:19:13 -05:00
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
Lukas Tenbrink
1bf821c1e1
Store current capacity in CowData buffers, and rewrite most of it.
...
Add `reserve` to `CowData`, `Vector` and `Array`.
# Conflicts:
# core/os/memory.h
# core/templates/cowdata.h
2025-09-25 22:00:17 +02:00
Edward Moulsdale
e366471fdc
Add GDSOFTCLASS to deeper inheritors of Object
2025-09-24 19:15:56 +01:00
AR-DEV-1
1036bfd7ad
Update .NET version to 8.0 & lang version to 12
2025-09-23 21:04:05 +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
Thaddeus Crews
d8b057d06d
Merge pull request #108974 from Joy-less/Improve-IsNormalized()
...
Improve `IsNormalized()` in C#
2025-09-22 08:50:06 -05:00
Thaddeus Crews
7738626d25
Merge pull request #107800 from Joy-less/add-ROS-overload-for-Callable.Call
...
Add `ReadOnlySpan<Variant>` overload for `Callable.Call`
2025-09-20 13:41:36 -05:00
Thaddeus Crews
9a76f55518
[C#] Add documentation for Interfaces/Attributes
2025-09-19 11:57:42 -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
Thaddeus Crews
8b4b93a82e
Merge pull request #105950 from Joy-less/Fix-array-span-constructors
...
Fix array span constructors in C#
2025-09-17 11:34:19 -05:00
Thaddeus Crews
38d80598f5
Merge pull request #108121 from Repiteo/core/disabled-class-rework
...
Core: Handle disabled class detection in `ClassDB`
2025-09-17 11:34:16 -05:00
Thaddeus Crews
f73d3db412
Merge pull request #108527 from raulsntos/dotnet/enum-variant-conversion
...
[.NET] Fix enum from/to Variant conversion
2025-09-16 11:44:50 -05: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
555e7ad073
Core: Handle disabled class detection in ClassDB
2025-08-26 09:31:14 -05: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
Talkashie
bc7e68dfd1
Typos
2025-08-19 18:32:59 -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
Raul Santos
dd662f9c6a
[.NET] Fix Quaternion(Vector3, Vector3) constructor when vectors are the same.
2025-08-03 20:26:20 +02:00
Joyless
cbc7dac0d5
Improve IsNormalized()
2025-07-25 17:53:38 +01:00
Raul Santos
8950744921
[.NET] Fix enum from/to Variant conversion
...
- `typeof(T).IsEnum` and `typeof(T).GetEnumUnderlyingType()` are intrinsified in .NET 8+ so we can simplify the code in VariantUtils a bit.
- Consider whether enum `T` is signed in VariantUtils to preserve it.
2025-07-11 20:14:23 +02:00
Raul Santos
1825146ef1
[.NET] Fix various errors in bindings generator
...
- Fix `is_intentionally_ignored` check, the names in the hash map are not fully-qualified.
- Add a special case for `object.ToString`.
- Validate API type before attempting to reference a type member.
2025-07-09 20:20:54 +02:00
Thaddeus Crews
afd16dd4f3
Merge pull request #99798 from preslavnpetrov/master
...
[C#] Fix thread deadlock when using a worker thread to load a script with a generic base class
2025-07-09 11:33:20 -05: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
Raul Santos
7860bc82b2
[.NET] Remove EFS update on reloading assemblies
...
Updating the files at this point is too early, the scripts haven't been updated yet so their type info is empty.
It looks like EFS is updated anyway without doing it explicitly in `LookupScriptsInAssembly`, and it happens after the scripts have updated their info. So this code seems unnecessary.
2025-07-03 21:57:37 +02:00
Thaddeus Crews
fc20bb6b03
Merge pull request #100187 from atlasapplications/dotnet-export-icu
...
Update Dotnet iOS Export Process
2025-07-03 12:21:26 -05:00
Preslav.Laptop
85d2a23a62
Move the script reload function to outside the
...
lock to prevent worker threads from the
ResourceLoader::load method from causing a
deadlock
2025-07-02 19:11:20 +02:00
Thaddeus Crews
f8b2f1bc82
Merge pull request #101006 from zaevi/fix_csharp_refcounted_dispose
...
C#: Fix `RefCounted` not disposed correctly in certain case
2025-07-01 17:58:00 -05: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
Rémi Verschelde
5aefc2eca8
Merge pull request #108041 from bs-mwoerner/cs_get_extension
...
C#: Fix return value of `StringExtensions.GetExtension()`
2025-06-28 13:03:24 +02:00
Raul Santos
c67f95d80e
[.NET] Mention MSBuild panel when building fails
2025-06-27 20:30:12 +02:00
Thaddeus Crews
dc41b31392
Merge pull request #107618 from DanielGSilva/quat-arc
...
Fix `Quaternion(arc_from: Vector3, arc_to: Vector3)` behaves differently in gdscript and c#
2025-06-27 09:39:47 -05:00
Michael Wörner
77208a62a4
Fix String.GetExtension() return value.
...
It previously returned the string itself when it should return an empty string according to the docs/examples and the C++ counterpart String::get_extension().
2025-06-27 12:01:11 +02:00
danielgsilva
ed1e8a1460
Fix mismatch of constructors
2025-06-26 10:35:47 +01:00