Commit graph

1010 commits

Author SHA1 Message Date
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
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
Raul Santos
c67f95d80e
[.NET] Mention MSBuild panel when building fails 2025-06-27 20:30:12 +02:00
Raul Santos
70d0ecbb16
[.NET] Avoid exporting to duplicate architectures
Use a `HashSet` to avoid adding duplicate architectures on exporting. It seems we were adding `x86_64` and `arm64` twice to macOS exports because they are also included in the features.
2025-06-25 21:41:29 +02:00
Lukas Tenbrink
e2931a5c19 Make conversions from NodePath to String explicit. 2025-06-11 16:50:27 +02:00
kobewi
13f642d959
Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
aaronp64
6b2674fe18 Reuse and optimize sorting logic for List, SelfList, and HashMap
Added SortList class, and updated List, SelfList, and HashMap sort methods to use it.  Sorting is done with merge sort, with an initial check to optimize for already sorted lists, and sorted lists that were appended to.
2025-06-04 10:18:22 -04:00
Pāvels Nadtočajevs
617e12a6b4
[Windows] Drop support for Windows 7/8/8.1. 2025-05-30 17:30:23 +03:00
Rémi Verschelde
25a3c27c41
Merge pull request #105628 from rsanchezsaez/apple/ios-visionos-4.5
Native visionOS platform support
2025-05-20 23:09:07 +02:00
Ricardo Sanchez-Saez
457299449d
Introduce 'drivers/apple_embedded' abstract platform for code reuse 2025-05-19 15:37:13 -07:00
Thaddeus Crews
d237e31a89
Style: Remove redundant DEBUG_METHODS_ENABLED
• Replaced with functionally identical and far more ubiquitous `DEBUG_ENABLED`
2025-05-15 13:09:41 -05:00