Age | Commit message (Collapse) | Author |
|
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
|
|
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'
|
|
|
|
|
|
Misc Mono Fixes
|
|
|
|
|
|
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
|
|
|
|
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.
|
|
Mono: Fix Array IndexOutOfRangeException not being thrown
|
|
Mono: Android build and shared libraries fixes
|
|
|
|
Fix location of Mono's shared libraries.
Fix build failing if the directory 'platform/android/java/libs/{target}/{abi}' doesn't exist.
|
|
It's the recommended way to set those, and is more portable
(automatically prepends -D for GCC/Clang and /D for MSVC).
We still use CPPFLAGS for some pre-processor flags which are not
defines.
|
|
|
|
|
|
|
|
ResourceFormatLoader and ResourceFormatSaver are meant to be overridden
to add support for different formats in ResourceLoader and ResourceSaver.
Those should be exposed as they can be overridden in plugins.
On the other hand, all predefined subclasses of those two base classes
are only meant to register support for new file and resource types, but
should not and cannot be used directly from script, so they should not
be exposed.
Also unexposed ResourceImporterOGGVorbis (and thus its base class
ResourceImporter) which are editor-only.
|
|
|
|
Remove obsolete mono patch for pthread_mutexattr_setprotocol
|
|
This has already been fixed in Mono both master and 2019-06 (no other branch other than the skipped 2019-04 branch uses pthread_mutexattr_setprotocol).
|
|
|
|
|
|
Fix code completion not working with class_name
|
|
Added move_toward functions for float, Vector2 and Vector3
|
|
Quote char appears to be ignored by ProcessStartInfo on non-Windows operating systems, so it needs to be escaped.
|
|
|
|
Optimize Basis constructor for Axis Angle
|
|
[Mono] Change Atan2 arguments to (y, x)
|
|
|
|
This adds constants to projects build via Godot Mono which allows project to conditionally react to different operating systems and 32/64 Bit architecture. Additionally .NET libraries could support multiple engines like Unity and Godot at the same time when compiled from Godot and reacting to definitions.
|
|
[Mono] Misc Basis and AABB improvements
|
|
Create a blacklist of methods that must not be generated. Includes: "to_string", "_to_string" and "_init".
|
|
|