Rémi Verschelde
97631f8aa9
Bump version to 4.0.4-rc
...
Error: Godot not found.
2023-05-19 09:39:54 +02:00
kleonc
a5572ba5a3
C# Truncate instead of round in Vector2/3/4 to Vector2I/3I/4I conversion
...
(cherry picked from commit f53d3382af
)
2023-04-07 17:44:36 +02:00
Rémi Verschelde
4762303f18
Bump version to 4.0.3-rc
2023-04-04 10:50:01 +02:00
Rémi Verschelde
c9ee508089
Bump version to 4.0.2-rc
2023-03-30 21:41:11 +02:00
Redwarx008
493e39860d
C#: Fix Array.AddRange index out of bounds
...
Fix Array.AddRange index out of bounds
(cherry picked from commit eb1fb254a6
)
2023-03-30 19:21:14 +02:00
Ninni Pipping
38595b8470
Fix "hides member" warnings in `csharp_script.cpp`
...
(cherry picked from commit ff5d8c4a42
)
2023-03-27 17:56:20 +02:00
RedworkDE
adc7edd907
C#: Do not print errors about missing references to intentionally ignored members
...
(cherry picked from commit 42cf684837
)
2023-03-27 17:55:32 +02:00
RedworkDE
bb5a6e29ab
C#: Fix building projects for MSBuild before 17.3
...
(cherry picked from commit 6019f497b8
)
2023-03-27 17:01:56 +02:00
Raul Santos
c4618bcc1b
C#: Encode GodotProjectDir as Base64 to prevent issues with special characters
...
(cherry picked from commit f949e94991
)
2023-03-27 17:01:32 +02:00
bruvzg
24c4b5e8ad
[macOS] Re-add support for the _sc_ inside app bundle. Update docs.
...
(cherry picked from commit 174e0837e0
)
2023-03-27 16:34:57 +02:00
RedworkDE
20eeb7c66d
C#: Get singleton instances using the Core name
...
(cherry picked from commit 16a2a164fe
)
2023-03-13 21:56:31 +01:00
Raul Santos
ad6fa1cd25
C#: Ignore explicit interface implementations
...
(cherry picked from commit 0372bd56b6
)
2023-03-13 21:55:11 +01:00
Aleks Rutins
782e1fe84e
Validate that C# class names are valid identifiers
...
(cherry picked from commit ae8752a731
)
2023-03-13 21:52:44 +01:00
Raul Santos
1640b1a150
C#: Always show "Create C# solution" option
...
Prevents ending up with an empty C# menu.
The option to create the C# solution no longer disappears, to avoid confusing users.
If an user tries to use it when a C# solution already exists they are warned that it will override their sln and csproj files.
(cherry picked from commit a1a2fc2255
)
2023-03-13 14:50:57 +01:00
RedworkDE
0112862e70
C#: Fix crash when errors occur before language initialization.
...
(cherry picked from commit c0ebc28136
)
2023-03-13 14:21:06 +01:00
Yuri Sizov
3c2e952889
Prevent crashing on startup if project has scripted theme types
...
Also avoid order of operation conflicts by moving C# binding generation hook to main.cpp
(cherry picked from commit 8402927d3f
)
2023-03-13 14:18:32 +01:00
Rémi Verschelde
284a1b6a6e
Bump version to 4.0.1-rc
2023-03-01 14:09:30 +01:00
voidedWarranties
bd5ab9f9b4
Remove unused `ScriptLanguage` methods
2023-02-26 22:30:56 -08:00
Raul Santos
3730d8e343
C#: Check if a class is a singleton using the Core name
...
Use the name of the class in Core, rather than the C# rename, when checking if a class is registered as a singleton.
2023-02-24 18:02:31 +01:00
RedworkDE
6b050a3502
C#: Fix editor crashing without a message when .NET is not installed
2023-02-23 13:52:45 +01:00
bruvzg
b3c64675cc
[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid conflicts with special character input.
2023-02-20 22:02:47 +02:00
RedworkDE
756a48023f
C#: Fix line position when opening file in VSCode
2023-02-19 12:43:15 +01:00
Rémi Verschelde
2527d4ce9b
Merge pull request #73458 from paulloz/csharp/actually-clean-solution
...
.NET: Clicking "Clean solution" should clean, not build
2023-02-17 00:30:55 +01:00
Rémi Verschelde
5cb32d8476
Merge pull request #73392 from raulsntos/dotnet/vscode-open-solution
...
C#: Open the solution directory when using VSCode
2023-02-16 18:34:34 +01:00
Paul Joannon
5e3d114829
Clicking "Clean solution" should clean, not build
2023-02-16 11:45:33 +01:00
RedworkDE
fce8a05b58
C#: Fix internal source generator on the 7.0.200 SDK
2023-02-16 11:25:47 +01:00
Raul Santos
d57cb460e2
C#: Open the solution directory when using VSCode
...
The solution directory used to be the same as the project
directory (`res://`). We now allow specifying a different
path for the solution and the other external editors already
use that (which seems more convenient for multi-project
scenarios).
2023-02-15 20:13:40 +01:00
Rémi Verschelde
49e8a2fb66
Merge pull request #73026 from SirUppyPancakes/sync-context-send
...
Implement GodotSynchronizationContext.Send
2023-02-12 22:34:18 +01:00
Caleb Kemper
103cb4bee6
Implement GodotSynchronizationContext.Send
2023-02-12 14:12:09 -07:00
Raul Santos
2a1523d751
Build C# csproj instead of the solution
2023-02-10 03:19:30 +01:00
Rémi Verschelde
b53c4dda62
Merge pull request #72849 from RedworkDE/net-export-settings
...
C#: Rename export settings `mono` -> `dotnet` and remove unused AOT settings
2023-02-08 09:32:41 +01:00
RedworkDE
bf47b62203
C#: Rename export settings `mono` -> `dotnet` and remove unused AOT settings
2023-02-07 18:20:23 +01:00
Paul Joannon
c70c82b0fb
Try and match MSBuild and Godot UI languages
2023-02-07 16:48:23 +01:00
Paul Joannon
9bf2a0bcda
Add new settings about MSBuild
...
- toggle creation of binary logs
- manage log verbosity
- toggle logging in console
2023-02-07 16:48:23 +01:00
Paul Joannon
7cf42dbdee
Add button to open the msbuild logs folder
2023-02-07 16:48:23 +01:00
Paul Joannon
e51a20b714
Rename existing editor settings `mono` -> `dotnet`
2023-02-07 16:48:18 +01:00
RedworkDE
fb0adaff9f
C#: Fix AppContext.BaseDirectory
2023-02-04 14:35:11 +01:00
Rémi Verschelde
bbff9fd7a4
Merge pull request #71786 from raulsntos/dotnet/array
...
Sync C# Array with Core
2023-02-04 00:24:06 +01:00
Rémi Verschelde
1ff2204cfe
Merge pull request #72554 from RedworkDE/net-appcontext-basedirectory
...
C#: Set AppContext.BaseDirectory for editor builds
2023-02-03 15:35:29 +01:00
Rémi Verschelde
5a413894fc
Merge pull request #72635 from RedworkDE/net-nodepath-iequatable
...
C#: Implement `IEquatable<>` and equality operators in `NodePath`
2023-02-03 15:35:22 +01:00
RedworkDE
ac96af1cc9
C#: Declare `IEquatable<>` interface for `StringName`
2023-02-03 00:26:18 +01:00
RedworkDE
7403a3a11b
C#: Implement `IEquatable<>` and equality operators in `NodePath`
...
- Implement `IEquatable<>` interface.
- Implement `==` and `!=` operators.
- Override `Equals` and `GetHashCode`.
2023-02-03 00:25:48 +01:00
RedworkDE
b9d1462d2a
C#: Set AppContext.BaseDirectory for editor builds
2023-02-02 15:05:11 +01:00
Rémi Verschelde
c5c6f2db89
Merge pull request #72553 from RedworkDE/net-output-directory
...
C#: Preserve directories in output during export
2023-02-02 13:59:05 +01:00
Rémi Verschelde
0a9e6e478e
Merge pull request #71800 from akien-mga/ci-codespell-action
...
CI: Add official codespell action with PR annotations
2023-02-01 13:25:23 +01:00
Rémi Verschelde
c461d3880f
Merge pull request #72434 from Treer/master
...
Qualify Console's namespace to avoid mixup with plugin's objects
2023-02-01 13:24:47 +01:00
Rémi Verschelde
e52213e2fa
More codespell fixes, do more changes from previous ignore list
2023-02-01 12:11:36 +01:00
RedworkDE
70ebb6378c
C#: Preserve directories in output during export
2023-02-01 00:37:12 +01:00
Treer
086ce855a8
Update modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs
...
Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2023-02-01 07:56:20 +11:00
Raul Santos
7eb8325180
Fix C# examples in documentation
...
- Fix documentation after C# renames.
- Add missing `partial` in C# class declarations.
- Change `delta` parameter type to `double` in C#.
- Ensure parameters match base declaration.
- Use `$` string interpolation in C#.
- Fix invalid or outdated C# code.
- Changed some examples to follow our style guide more closely.
2023-01-31 19:04:07 +01:00