Commit graph

2598 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
Thaddeus Crews
435e6c3830
CI: Enable Ruff preview options; bump version
• 1.14.7 → 1.15.0
2026-02-05 12:20:10 -06:00
Thaddeus Crews
79eb6694a1
Merge pull request #112381 from Ivorforce/no-right-align
Don't right-align escaped newlines (e.g. for `#define`)
2026-02-05 09:18:36 -06: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
63e7936e18
Revert "Improve performance of CSharpLanguage::reload_assemblies"
This reverts commit f68bf2f545.

This seems to trigger occasional editor crashes.

Fixes #115460.
2026-02-02 14:21:27 +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
Thaddeus Crews
c1f3ff963e
Merge pull request #110923 from HolonProduction/rm-create-script
Remove unused `create_script` method from `ScriptLanguage`
2026-01-28 17:58:15 -06: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
HolonProduction
edabe363f9 Remove unused create_script method from ScriptLanguage 2026-01-02 17:42:22 +01:00
kobewi
9f96d2199d Add EditorDock's own DockSlot enum 2026-01-02 13:16:23 +01:00
Thaddeus Crews
aeef4fff6d
CI: Fix executable perms for various files 2025-12-15 11:23:03 -06: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
48887b3f2e
Merge pull request #99640 from Repiteo/scons/future-annotations-minimal
SCons: Integrate `annotations` where relevant
2025-11-24 10:21:34 -06:00
Thaddeus Crews
11fc998368
SCons: Integrate annotations where relevant
• Expand Ruff linter to catch & upgrade legacy type-hint syntax
2025-11-22 13:22:31 -06:00
Break
ef9738005a Separate Node editor dock 2025-11-22 10:17:03 +08:00
Thaddeus Crews
817bf95756
C#: Ensure mono editor supports Visual Studio 2026 2025-11-20 10:32:08 -06:00
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