| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Use the DLL instead of the EXE, so we can rely on the dotnet CLI handling the architecture.
|
|
|
|
|
|
|
|
| |
Some platforms don't support hostfxr but we can use the coreclr/monosgen library directly to initialize the runtime.
Android exports now use the `android` runtime identifier instead of `linux-bionic`, this removes the restrictions we previously had:
- Adds support for all Android architectures (arm32, arm64, x32, and x64), previously only the 64-bit architectures were supported.
- Loads `System.Security.Cryptography.Native.Android` (the .NET library that binds to the Android OS crypto functions).
|
|
|
|
|
| |
- Use the export platform's `get_os_name` to determine the platform name instead of guessing from the features.
- Use the export platform's `add_message` to add error messages instead of a custom error dialog. Integrates .NET error messages with the export log dialog.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Use `LatestMajor`
Fixes #91638
|
| |
|
|
|
|
| |
This ensures that nuget packages will have both license and copyright fields filled.
|
|
|
|
| |
other platforms.
|
|
|
|
|
|
| |
Fixes: #86591
Co-authored-by: Raul Santos <raulsntos@gmail.com>
|
|
|
| |
Flipped the title and dialog text to how they should be. It seemed that the title was being put in the dialog text, and vice versa.
|
|\
| |
| |
| | |
[.NET] Better `.editorconfig` setup in `modules/mono/`
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
New rules:
- Do not silence CA1805 any more
- Limit where we silence CA1707, CA1711, CA1720
- Enforce severity=warning for IDE0040
- Enforce Allman style braces
- Enforce naming conventions (IDE1006 is still severity=suggestion)
Fixes:
- Fix REFL045, CS1572, CS1573
- Suppress CS0618 when generating `InvokeGodotClassMethod`
- Fix indent when generating GD_constants.cs
- Temporarily silence CS1734 in generated code
- Fix a lot of naming rule violations
Misc.:
- Remove ReSharper comments for RedundantNameQualifier
- Remove suppression attributes for RedundantNameQualifier
- Remove severity=warnings for CA1716, CA1304 (already included in the level of analysis we run)
|
|/
|
|
| |
The content margins for FlatMenuButton and RunBarButton are now handled correctly when the "Draw Extra Borders" user option is enabled
|
|\
| |
| | |
C#: Enforce globalization code quality rules
|
| | |
|
|\ \
| | |
| | |
| | | |
Add hover highlight to main editor buttons
|
| | |
| | |
| | |
| | | |
Updates styling of the editor run bar, plugin, bottom panel, icon buttons, and main menu buttons for accessibility.
|
| | |
| | |
| | |
| | | |
Rider installations
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Report a diagnostic when there are multiple classes that match the script file name in the same script since that will result in a duplicate path key in the bimap and it's not allowed.
- Fix InspectorPlugin to handle empty paths in case the project was built with a previous version of Godot that used empty paths for generic scripts.
- Add tests for the new diagnostic GD0003.
|
| |/
|/|
| |
| | |
Since moving the TFM to .NET Core we need to add some configuration to cross-compile a Windows executable from Linux.
|
|\ \
| |/
|/| |
|
| | |
|
|\ \
| | |
| | |
| | | |
C#: Fix processing exclusions during export
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Create CSharpScript for generic C# types.
- `ScriptPathAttributeGenerator` registers the path for the generic type definition.
- `ScriptManagerBridge` lookup uses the generic type definition that was registered by the generator.
- Constructed generic types use a virtual `csharp://` path so they can be registered in the map and loaded as if there was a different file for each constructed type, even though they all share the same real path.
- This allows getting the base type for a C# type that derives from a generic type.
- Shows base scripts in the _Add Node_ and _Create Resource_ dialogs even when they are generic types.
- `get_global_class_name` implementation was moved to C# and now always returns the base type even if the script is not a global class (this behavior matches GDScript).
- Create `CSharpScript::TypeInfo` struct to hold all the type information about the C# type that corresponds to the `CSharpScript`, and use it as the parameter in `UpdateScriptClassInfo` to avoid adding more parameters.
|
| | |
| | |
| | |
| | |
| | | |
Change what triggers our re-evaluation of the last valid build datetime stored internally.
Move that datetime in `BuildManager`.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
Fixes: #87643
The original condition stopped immediately after checking for 'searchText' in the 'Message' field, resulting in premature termination of subsequent checks. This fix ensures that all relevant conditions are appropriately evaluated before determining the filtering outcome.
Additionally, accompanying changes include improved code readability for better comprehension. This adjustment enhances the maintainability of the error filtering mechanism, contributing to a more robust codebase overall.
|
|\ \
| | |
| | |
| | | |
C#: Remove unused code
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Remove `AotBuilder` that was used for MonoAOT in 3.x.
- Remove `PlaySettings` that was used for IDE support in 3.x.
- Remove `ApiAssembliesInfo` that was used for Project generation in 3.x.
- Remove pieces of the old iOS support from 3.x.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
- `[Obsolete]` tag generated in the middle of documentation comments
- Potential `null` values in generators
- Obsolete call to `GetEditorInterface()`
- We don't want `Godot.Collections.Array` to end with `Collection`
- A few culture specifications and use of `AsSpan` instead of `SubString` in `StringExtensions`
- Disable CA1716 in GodotSharp
|
|\ \
| | |
| | |
| | | |
C#: Upgrade TFM for `net472` and some `netstandard2.0` projects
|
| |/ |
|
|\ \
| | |
| | |
| | | |
Bump the `JetBrains.Rider.PathLocator` PackageReference to 1.0.8
|
| |/ |
|
|/ |
|
| |
|
|
|
|
| |
Also removes some programmer remarks and fixes some docs.
|
|\
| |
| |
| | |
C#: Free dialogs when exiting the editor
|
| | |
|
|\ \
| |/
|/|
| | |
C#: Fallback to the latest SDK
|
| | |
|
|/
|
|
| |
When exporting a game that contains a C# solution, a feature is added so the exported game can check if it should initialize the .NET module. Otherwise, the module initialization is skipped so games without C# won't check for the assemblies and won't show alerts when they're missing.
|
|
|
|
|
| |
- Add .NET 7.0 TFM when the platform is Anroid to the created csproj.
- Prevent exporting to Android when the architecture is not supported.
|
|\
| |
| |
| | |
Add C# iOS support
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This support is experimental and requires .NET 8
Known issues:
- Requires macOS due to use of lipo and xcodebuild
- arm64 simulator templates are not currently included
in the official packaging
|
|/
|
|
|
| |
- Use `EditorInterface` to open C# editor dialogs.
- Ensure C# editor dialogs are open after `EditorProgress` finishes.
|
|
|
|
|
|
|
|
| |
- Redesign panel to look closer to the look of other Godot panels such as Output and Debugger.
- Moved list of problems and output log to separate tabs instead of using a HSplit.
- Added Tree/List layouts to the problems tab.
- Added search box to filter problems tab.
- Added `FileTree` icon, made from `FileList`. Both are used for the button that toggles the Tree/List layouts.
|
|
|
|
|
|
|
|
|
|
|
| |
Implements the {project} placeholder, available when setting an external editor
in the project settings, via Editor > Editor Settings > Text Editor > External
for the c# external editor, under Editor > Editor Settings > Dotnet > Editor,
This allows passing the project folder as a command line argument when using a
custom external editor that isn't one of the available options.
Fixes #81845
|