Thaddeus Crews
456bdea954
Merge pull request #115741 from Joy-less/improve-source-generated-emit-signal-performance
...
Improve source-generated `EmitSignal{...}` performance in C#
2026-03-18 11:43:34 -05:00
Lukas Tenbrink
7a73d3f16b
Move signal ownership from ClassDB to GDType.
2026-03-17 11:58:10 +01:00
Rémi Verschelde
6d309c858e
Remove unused includes in modules with clangd-tidy
2026-03-16 16:40:39 +01:00
Rémi Verschelde
d9b81615e5
Remove unused includes in platform with clangd-tidy
...
Handled Linux, Windows, Android, and (partially) Web.
2026-03-14 22:37:05 +01:00
Lukas Tenbrink
efcc97ee8a
Move enum registration from ClassDB / ClassInfo to GDType.
...
Create caches across supertypes for faster lookup.
2026-03-13 19:20:30 +01:00
Rémi Verschelde
18edfa5245
Explicitly include scene_tree.h where used
...
Pre-requisite before removing `scene_tree.h` from `node.h`
which has cascading consequences on most of the codebase.
2026-03-05 10:43:25 +01:00
Rémi Verschelde
eabb9a63d4
Rename callable_method_pointer.h to callable_mp.h and include it explicitly
...
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.
Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
StarryWorm
357fa00a4a
rm class_db.h from resource.h
2026-02-27 19:08:29 -05:00
zinefer
b8aeaf74dc
Bugfix: Replace // with \\ before sending project path to MSBuild
...
On Windows with network shares, the project path starts with "//" which
MSBuild treats as a command-line switch, causing "Unknown switch"
errors. Replace the first two chars with "\\" to make it a proper UNC
path.
2026-02-08 20:02:17 -07:00
Lukas Tenbrink
c5df0cb82b
Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history.
2026-02-04 19:31:28 +01:00
Joyless
027284067c
Improve source-generated EmitSignal{...} performance
2026-02-02 01:04:57 +00:00
Rémi Verschelde
429750f60b
Merge pull request #115093 from Ivorforce/hashmap-explicit-copy
...
Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
2026-01-31 22:50:51 +01:00
Rémi Verschelde
6b441ab6a4
Bump version to 4.7-dev
2026-01-26 17:40:46 +01:00
Lukas Tenbrink
1825e89787
Change copy constructors of HashMap and AHashMap from implicit to explicit.
2026-01-21 13:01:23 +01:00
Raul Santos
46436c1278
Hide signals prefixed by underscore
2026-01-21 02:56:28 +01:00
kobewi
9f96d2199d
Add EditorDock's own DockSlot enum
2026-01-02 13:16:23 +01:00
Michael Alexsander
f187b8b2bf
Enable scroll hints for several parts of the editor
2025-12-09 10:55:26 -03:00
Rémi Verschelde
c3954a01aa
Merge pull request #112874 from AbsoluteMoose/def_val_generator_initializer_fix
...
Prevent C# source generators from fully qualifying members assigned to within an object initializer
2025-12-01 11:48:40 +01:00
AbsoluteMoose
3b4b0c530e
Handle initializer case in FullyQualifiedSyntax
...
- Prevents source generators from fully qualifying names being assigned to within an object initializer
- Adds ResourceTextureWithInitializer test cases to ExportedFields and ExportedProperties
Co-Authored-By: Paul Joannon <437025+paulloz@users.noreply.github.com >
Co-Authored-By: Paviel Kraskoŭski <kraskovskiy94@gmail.com >
2025-11-29 08:54:49 -06:00
kobewi
a07fcf5d05
Change MSBuildPanel to EditorDock
2025-11-25 21:26:50 +01:00
Thaddeus Crews
817bf95756
C#: Ensure mono editor supports Visual Studio 2026
2025-11-20 10:32:08 -06: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
76239f8384
Merge pull request #111524 from Joy-less/update-source-generator-packages
...
Update Godot.SourceGenerators packages
2025-10-30 13:51:34 -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
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
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
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
Joyless
a5ce9c3706
Fix IsStaticallyResolvable
2025-10-11 21:20:01 +01: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
fdf32d1b2a
Merge pull request #108577 from YYF233333/global_class_list
...
Simplify `ScriptServer::get_global_class_list`
2025-09-30 11:19:10 -05:00
Aaron Franke
9993438a9e
Use explicit public access modifier in C# code
2025-09-24 14:32:38 -07: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
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
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
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