Age | Commit message (Collapse) | Author |
|
Mono: Better handling of missing/outdated API assemblies
|
|
Remove the old API assembly invalidation system. It's pretty simple since now the editor has a hard dependency on the API assemblies and SCons takes care of prebuilding them.
If we fail to load a project's API assembly because it was either missing or outdated, we just copy the prebuilt assemblies to the project and try again. We also do this when creating the solution and before building, just in case the user removed them from the disk after they were loaded.
This way the API assemblies will be always loaded successfully. If they are not, it's a bug.
Also fixed:
- EditorDef was behaving like GlobalDef in GodotTools.
- NullReferenceException because we can't serialize System.WeakReference yet. Use Godot.WeakRef in the mean time.
|
|
[WIP] Update xatlas to latest upstream commit (1efe581).
|
|
|
|
|
|
|
|
Mono: Fix Api HintPath and update old game projects
|
|
Mono: Fix null dereference in EditorExportPlatformAndroid
|
|
Fixed Api assembly references with more than one HintPath.
Also made the editor update old C# projects use the new Api assembly HintPaths.
|
|
We need to dispose the GodotSharpExport export plugin before the editor destroys EditorSettings. Otherwise, if the GC disposes it at a later time, EditorExportPlatformAndroid will be freed after EditorSettings already was, and its device polling thread will try to access the EditorSettings singleton, resulting in null dereferencing.
|
|
Fix IndexOutOfBounds in FindMsBuildToolsPathOnWindows
|
|
Pass by reference to const
|
|
Mono: Fix null exception in GenerateGameProject
|
|
Also fix pdb files for GodotTools.*.dll assemblies not being copied to the output directory.
|
|
SCons no longer passes FrameworkPathOverride to MSBuild
|
|
|
|
|
|
|
|
|
|
|
|
Also added an option to output a json file with all the ClassDB registered classes and its members. This can be used to compare the API of two different builds by a simple diff.
|
|
Fix export templates ignoring assemblies in 'res://.mono/assemblies'
|
|
|
|
|
|
Use base `Color()` constructors instead of `Color::html()`
|
|
Fix WebSocketClient consuming data during hanshake
|
|
Misc Mono Fixes
|
|
This results in slightly smaller binaries (-17 KB for an editor binary)
as no strings need to be allocated.
|
|
Was missing a break of the while loop on connection.
This potentially caused early data frames to be trashed.
|
|
|
|
|
|
Should not be using Variant to String conversion as that would call ToString() again
|
|
DirAccess::get_full_path(path) only works if the path exists. Implement our own abspath function.
|
|
ClassDB::can_instance was changed recently breaking our code, as the editor is not yet initialized. Check ClassInfo::creation_func directly.
|
|
Old value wasn't string so we have to keep that in mind
|
|
(Re-)Implement subprotocols in websocket server.
|
|
Fixes minor issues found by static analyzer
|
|
|
|
|
|
See also https://github.com/godotengine/godot-docs/pull/2595
|
|
Fix parsing of enums allowing for juxtaposed identifiers
|
|
For clarity, assign-to-release idiom for PoolVector::Read/Write
replaced with a function call.
Existing uses replaced (or removed if already handled by scope)
|
|
Fixes #28727
|
|
Improve the CSG shape gizmo drawing
|
|
Re-write mono module editor code in C#
|
|
Enhance game export
|
|
ptrcall assumes methods that return a Reference type do so with Ref<T>. Returning Reference* from a method exposed to the scripting API completely breaks ptrcalls to this method (it can be quite hard to debug!).
|
|
Make the build system automatically build the C# Api assemblies to be shipped with the editor.
Make the editor, editor player and debug export templates use Api assemblies built with debug symbols.
Always run MSBuild to build the editor tools and Api assemblies when building Godot.
Several bugs fixed related to assembly hot reloading and restoring state.
Fix StringExtensions internal calls not being registered correctly, resulting in MissingMethodException.
|
|
The gizmo colors now depend on the operation. Subtraction will
result in an inverted gizmo color, whereas intersection is now displayed
as white.
A solid translucent overlay is now drawn over a selected node
to make it easier to distinguish.
|
|
Use wslay as a WebSocket library
|