1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-04 17:04:49 +00:00
Commit Graph

2578 Commits

Author SHA1 Message Date
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
Thaddeus Crews
4292f2464c Merge pull request #104113 from aaronfranke/projection-construct
Add missing Projection constructor with 16 `real_t` values
2025-03-14 10:06:07 -05:00
Aaron Franke
ced61da848 Add missing Projection constructor with 16 real_t values 2025-03-14 02:57:19 -07: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
Adam Johnston
e202851e20 C#: Add missing get_data when calling CFStringCreateWithCString in macos_utils 2025-03-12 15:49:54 +01: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
Thaddeus Crews
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
Thaddeus Crews
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
Thaddeus Crews
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
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
713a1ba554 Style: Standardize Obj-C #import syntax 2025-03-08 09:28:34 -06: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
3d9b37911d Merge pull request #103011 from Repiteo/style/svgo-newline
Style: Ensure svgs have trailing newlines
2025-03-07 15:12:41 -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
Thaddeus Crews
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
Thaddeus Crews
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
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
Thaddeus Crews
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
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
Rémi Verschelde
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
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
Thaddeus Crews
7e5baa0426 Style: Enforce trailing newlines on svgs 2025-02-18 11:02:45 -06:00
kobewi
012d47b089 Allow exporting variables of type Variant 2025-02-15 18:00:55 +01:00
Rémi Verschelde
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
Raul Santos
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
DE-YU_H14
288e3e3af2 Improve documentation for C# typed collection wrappers 2025-02-14 08:19:58 +08:00
Raul Santos
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
Thaddeus Crews
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
Travis Lange
5e2fd7b1d7 fix android mono export causing conflicts 2025-02-10 10:09:52 -05:00
Lukas Tenbrink
e34f1f504c Use std::size instead of sizeof(a) / sizeof(a[0]) pattern throughout the codebase. 2025-02-07 14:57:48 +01:00
bruvzg
3be46a69c4 Fix uppercase B and X parsing in the integer literals. 2025-02-05 16:02:06 +02:00
Adam Johnston
14f7e6ff60 Add Min(float) and octahedron encode/decode to Vector3.cs 2025-02-04 14:21:25 -08:00
Thaddeus Crews
acddf31c39 Merge pull request #101489 from RandomShaper/optimize_classnames_enumeration
Optimize classnames enumeration
2025-02-04 09:03:59 -06:00
Pedro J. Estébanez
318af42020 Include more attributes in the global class names cache 2025-01-29 09:39:50 +01:00
Justin Sasso
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
Raul Santos
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
Lukas Tenbrink
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
Thaddeus Crews
73278bf35d SCons: Properly NoCache all text files 2025-01-16 16:59:12 -06:00
Thaddeus Crews
9d0c41a489 Style: Unify .editorconfig logic 2025-01-12 08:49:01 -06:00
LuoZhihao
a71a8c6e1e C#: Expose OKHSL properties of Color 2025-01-09 19:18:56 +08:00
Yufeng Ying
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
Ricardo Subtil
b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00