4af4b66d1b
Merge pull request #102765 from Delsin-Yu/csharp-typed-collections-documentation-improvments
...
[C#] Improve Documentation for Typed `Godot.Collections` Wrappers
2025-03-10 21:05:52 -05:00
30bb49ec1f
Merge pull request #102356 from a-johnston/add_missing_cs_vector_methods
...
Add `Min(float)` and octahedron encode/decode to `Vector3.cs`
2025-03-10 10:01:20 -05:00
8d1c1c5867
Merge pull request #92476 from AThousandShips/string_remove_char
...
Add `String::remove_char(s)` methods for performance and convenience
2025-03-10 10:01:04 -05:00
d9721954e6
[Core] Use Vector for MethodInfo::arguments
2025-03-10 13:57:53 +01:00
331a43a9d8
Add String::remove_char(s) methods for performance and convenience
2025-03-10 13:19:28 +01:00
713a1ba554
Style: Standardize Obj-C #import syntax
2025-03-08 09:28:34 -06:00
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
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
3d9b37911d
Merge pull request #103011 from Repiteo/style/svgo-newline
...
Style: Ensure svgs have trailing newlines
2025-03-07 15:12:41 -06:00
3c43508ed7
Merge pull request #102427 from AThousandShips/fix_substr
...
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
0c8f4f3d91
Merge pull request #97908 from atlasapplications/just-linux-bionic
...
Add `linux-bionic` RID export option
2025-03-07 15:12:32 -06:00
c937b6d180
Merge pull request #102419 from Ivorforce/std-size
...
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-03-07 15:12:25 -06:00
d9125ebebe
Merge pull request #101293 from Ivorforce/string-to-pointer-conversion
...
Remove implicit conversions from `String`, `Char16String` and `CharString` to data pointers.
2025-03-07 15:12:12 -06:00
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
f002258454
Merge pull request #103714 from raulsntos/dotnet/skip-resaving-when-tfm-unchanged
...
[.NET] Skip re-saving `.csproj` when TFM is unchanged
2025-03-06 16:36:08 -06:00
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
a414fed4c5
Merge pull request #98034 from raulsntos/dotnet/variant-object-id
...
[.NET] Use `ObjectID` when converting `Variant` to `GodotObject`
2025-03-04 01:00:16 +01:00
7dcad4c9ad
Move entries from AnalyzerReleases.Unshipped.md to AnalyzerReleases.Shipped.md
2025-03-04 00:35:42 +01:00
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
ddd807ff7d
Add (void *) cast directly to GetProcAddress calls.
2025-02-27 12:30:04 +02:00
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
7e5baa0426
Style: Enforce trailing newlines on svgs
2025-02-18 11:02:45 -06:00
012d47b089
Allow exporting variables of type Variant
2025-02-15 18:00:55 +01:00
7a0e659a80
Merge pull request #102836 from raulsntos/dotnet/export-tool-button-no-storage
...
[.NET] Disallow `[ExportToolButton]` on members thay may store the Callable
2025-02-14 22:58:25 +01:00
2550cdc0c4
[.NET] Skip serializing delegates with a disposed target
...
When reloading assemblies, we serialize the managed delegates so we can recreate the callables later. If the delegate's target is a GodotObject that has already been disposed, we can't serialize the delegate.
Before this change, trying to serialize one of these delegates throws an exception and prevents releasing its strong GCHandle, so the assembly can't be unloaded.
With this change, we don't serialize the delegates and release them anyway. This means some delegates may get lost on reloading assemblies, but if their target was already freed it's probably fine.
2025-02-14 03:17:06 +01:00
288e3e3af2
Improve documentation for C# typed collection wrappers
2025-02-14 08:19:58 +08:00
f4094b554d
[.NET] Disallow [ExportToolButton] on members thay may store the Callable
...
Ensures the user doesn't store the Callable so the .NET assembly can be reloaded.
2025-02-14 01:09:59 +01:00
c90fd7f3da
Merge pull request #98066 from TCROC/fix-android-mono-export
...
Fix Android mono export with 2 or more cpu architectures fails
2025-02-10 12:21:32 -06:00
5e2fd7b1d7
fix android mono export causing conflicts
2025-02-10 10:09:52 -05:00
e34f1f504c
Use std::size instead of sizeof(a) / sizeof(a[0]) pattern throughout the codebase.
2025-02-07 14:57:48 +01:00
3be46a69c4
Fix uppercase B and X parsing in the integer literals.
2025-02-05 16:02:06 +02:00
14f7e6ff60
Add Min(float) and octahedron encode/decode to Vector3.cs
2025-02-04 14:21:25 -08:00
acddf31c39
Merge pull request #101489 from RandomShaper/optimize_classnames_enumeration
...
Optimize classnames enumeration
2025-02-04 09:03:59 -06:00
318af42020
Include more attributes in the global class names cache
2025-01-29 09:39:50 +01:00
8a4bc9881f
Add linux-bionic RID Export Option
...
Adds an export option to enable the linux-bionic RID so Android can export with NativeAOT enabled.
2025-01-28 12:54:10 -05:00
5a53ec55ec
[.NET] Add Obsolete attribute to signal trampolines and emitter functions
...
If a signal is deprecated, make sure we also add the `[Obsolete]` attribute to that signal's trampoline and emitter functions.
2025-01-24 02:18:28 +01:00
512abc38b2
Remove implicit conversions from String, Char16String and CharString to data pointers. Make conversions to StrRange implicit to aid transition.
2025-01-17 17:31:58 +01:00
73278bf35d
SCons: Properly NoCache all text files
2025-01-16 16:59:12 -06:00
9d0c41a489
Style: Unify .editorconfig logic
2025-01-12 08:49:01 -06:00
a71a8c6e1e
C#: Expose OKHSL properties of Color
2025-01-09 19:18:56 +08:00
34d8255947
Force build editor with regex module, remove checking code.
...
Fix include.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2025-01-07 19:43:23 +08:00
b77aa473a1
Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization
2025-01-03 10:50:15 +00:00
29bd5c06ef
Merge pull request #100636 from raulsntos/dotnet/emit-signal-fix
...
[.NET] Fix EmitSignal with typed array parameters
2025-01-03 02:01:20 +01:00
05b840a815
C#: Fix RefCounted not disposed correctly in certain case.
2025-01-02 05:05:43 +08:00
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
63960e1ed6
[.NET] Update required .NET SDK version in error messages
...
Also, replaces the download URL with a shorter one since links are not clickable so I thought it'd be more convenient.
2024-12-20 21:57:38 +01:00
975369fceb
[.NET] Fix EmitSignal with typed array parameters
...
Signals with typed arrays were generating EmitSignal methods with untyped array parameters.
2024-12-20 06:51:09 +01:00
8642e970c5
C#: Add option to treat warnings as errors
2024-12-18 10:23:41 -06:00
6cba6299f9
Merge pull request #100195 from raulsntos/dotnet/upgrade-tfm
...
[.NET] Upgrade user project's TargetFramework to `net8.0`
2024-12-18 09:53:10 +01:00
7d30972f7c
Merge pull request #99539 from RandomShaper/fix_dotnet_rl_deadlock
...
Avoid deadlocks in multi-threaded management of the C# script map
2024-12-18 09:53:01 +01:00