Thaddeus Crews
ed62fb12ab
Merge pull request #112897 from PixelDough/mono-fix-SplitFloats
...
Fix StringExtensions.SplitFloats incorrect float parsing
2025-11-18 14:00:39 -06:00
PixelDough
b5591bf5f6
change AsSpan to use a range from "from" to "end"
...
the current code assumes that float.Parse behaves the same as the
internal C++ code, however without using "end" as part of the span, it
will parse from index 0 to the end of the string, ignoring commas. for
example, this causes it to parse "0,5,0" with divisor "," as [50, 50,
0], as the float.Parse method ignores commas in floats.
if another divisor is used, it throws a System.FormatException due to
containing invalid characters, as it fails to account for the position
of the divisor for the span.
2025-11-18 00:44:51 -06:00
Thaddeus Crews
40cba9094f
Merge pull request #112823 from Ivorforce/tracy-unique-name
...
Fix `GodotProfileZone` with tracy backend failing with shadowed variable name warnings
2025-11-17 19:36:15 -06:00
Lukas Tenbrink
98caaebb72
Fix GodotProfileZone with tracy backend failing with shadowed variable names.
2025-11-15 20:03:14 +01:00
Raul Santos
513e421209
[.NET] Add compat method for DisplayServer.TtsSpeak
2025-11-15 05:55:03 +01:00
Thaddeus Crews
3c871084f9
Merge pull request #109446 from aaronfranke/gltf-handle-image-enum
...
GLTF: Make handle binary image mode enum type-safe
2025-11-11 16:07:52 -06:00
Thaddeus Crews
98014e504e
Merge pull request #108885 from aaronfranke/csharp-public-explicit
...
Use explicit public access modifier in C# code
2025-11-04 19:48:17 -06:00
Aaron Franke
a5424c321e
GLTF: Make handle binary image mode enum type-safe
2025-11-04 10:42:11 -08:00
Haoyu Qiu
ba6b7d2818
Make editor language setting default to Auto
2025-11-03 20:11:52 +08:00
Thaddeus Crews
ae9732139a
Merge pull request #109433 from KoBeWi/hastension
...
Add `has_extension()` method to String
2025-10-31 09:23:30 -05:00
Thaddeus Crews
76239f8384
Merge pull request #111524 from Joy-less/update-source-generator-packages
...
Update Godot.SourceGenerators packages
2025-10-30 13:51:34 -05:00
Thaddeus Crews
8ab907181c
Merge pull request #106299 from Ryan-000/improve-CSharpLanguage-reload_assemblies-performance
...
Improve performance of `CSharpLanguage::reload_assemblies`
2025-10-30 10:46:03 -05:00
samuelll3d
b53af55462
Find solution file by project assembly name
...
Instead of looking for a solution file with the same name as the project and
its assembly, this commit updates the logic to find all .sln and .slnx files in
the specified solution directory. If no matching solution is found, it will fall
back to the old behaviour.
This commit will also consider .. markings to go up one directory level allowing
for Godot projects as part of multi-project solutions.
Co-authored-by: Eric Johnson <eric.johnson@revention.com >
2025-10-30 11:42:45 +01:00
Ryan
f68bf2f545
Improve performance of CSharpLanguage::reload_assemblies
2025-10-30 11:40:12 +01:00
Thaddeus Crews
a0cde1e151
Merge pull request #112129 from DeeJayLSP/asetget
...
`ClassDB`: Use `AHashMap` for `property_setget` and `constant/signal_map`
2025-10-29 13:13:47 -05:00
DeeJayLSP
a149280cea
ClassDB: Use AHashMap for property_setget and constant/signal_map
2025-10-28 16:24:54 -03:00
Thaddeus Crews
00b6e8a9d0
Merge pull request #111570 from PavielKraskouski/fix-static-import-sourcegen
...
[C#] Fix source generation of statically imported members
2025-10-28 10:15:34 -05:00
Joyless
580a225a4a
Update Godot.SourceGenerators packages
...
Fix issues
Update System.Security.Cryptography.Pkcs again
Downgrade Microsoft.CodeAnalysis.CSharp.Workspaces
2025-10-26 23:52:50 +00:00
Paviel Kraskoŭski
bdb4ca906f
Fix source generation of statically imported members
2025-10-26 17:02:40 +03:00
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
Aaron Franke
9993438a9e
Use explicit public access modifier in C# code
2025-09-24 14:32:38 -07: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