summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2019-07-10Merge pull request #30502 from neikeq/chotto-matte-kudasaiIgnacio Roldán Etcheverry
Mono: Fix Api HintPath and update old game projects
2019-07-10Merge pull request #30501 from neikeq/dispose-godotsharpexportIgnacio Roldán Etcheverry
Mono: Fix null dereference in EditorExportPlatformAndroid
2019-07-10Mono: Fix Api HintPath and update old game projectsIgnacio Etcheverry
Fixed Api assembly references with more than one HintPath. Also made the editor update old C# projects use the new Api assembly HintPaths.
2019-07-10Mono: Fix null dereference in EditorExportPlatformAndroidIgnacio Etcheverry
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.
2019-07-10Merge pull request #30486 from neikeq/fix-indexoutofbounds-msbuildfinderIgnacio Roldán Etcheverry
Fix IndexOutOfBounds in FindMsBuildToolsPathOnWindows
2019-07-10Merge pull request #30489 from neikeq/fix-nullexc-on-gengameprojIgnacio Roldán Etcheverry
Mono: Fix null exception in GenerateGameProject
2019-07-10Mono: Fix null exception in GenerateGameProjectIgnacio Etcheverry
Also fix pdb files for GodotTools.*.dll assemblies not being copied to the output directory.
2019-07-10Merge pull request #30485 from neikeq/remove-frameworkpathoverride-from-sconsIgnacio Roldán Etcheverry
SCons no longer passes FrameworkPathOverride to MSBuild
2019-07-10Fix IndexOutOfBounds in FindMsBuildToolsPathOnWindowsIgnacio Etcheverry
2019-07-10SCons no longer passes FrameworkPathOverride to MSBuildIgnacio Etcheverry
2019-07-10Mono: Add missing GodotTools.slnIgnacio Etcheverry
2019-07-09Fix EditorNavigationMeshGenerator registered in Core APIIgnacio Etcheverry
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.
2019-07-09Merge pull request #30463 from neikeq/fix-search-dirsRémi Verschelde
Fix export templates ignoring assemblies in 'res://.mono/assemblies'
2019-07-09Make SCons check for System MSBuild before Mono'sIgnacio Etcheverry
2019-07-09Fix export templates ignoring assemblies in 'res://.mono/assemblies'Ignacio Etcheverry
2019-07-09Merge pull request #30428 from neikeq/gitcheckout-bRémi Verschelde
Misc Mono Fixes
2019-07-08Mono: Fix build errors with tools=noIgnacio Etcheverry
2019-07-08C#: Fix some crashes during assemblies reloadingIgnacio Etcheverry
2019-07-08Fix Godot.Object.ToString() infinite recursionIgnacio Etcheverry
Should not be using Variant to String conversion as that would call ToString() again
2019-07-08Fix --generate-mono-glue bug when directory doesn't existIgnacio Etcheverry
DirAccess::get_full_path(path) only works if the path exists. Implement our own abspath function.
2019-07-08Fix C# bindings detection of abstract classesIgnacio Etcheverry
ClassDB::can_instance was changed recently breaking our code, as the editor is not yet initialized. Check ClassInfo::creation_func directly.
2019-07-08Fix InvalidCastException when loading script metadataIgnacio Etcheverry
Old value wasn't string so we have to keep that in mind
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-07-05Script API methods must return Ref<T> instead of Reference*Ignacio Etcheverry
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!).
2019-07-05Re-write mono module editor code in C#Ignacio Etcheverry
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.
2019-07-03Merge pull request #30293 from neikeq/issue-29734Rémi Verschelde
Mono: Fix Array IndexOutOfRangeException not being thrown
2019-07-03Merge pull request #30292 from neikeq/android_fixesRémi Verschelde
Mono: Android build and shared libraries fixes
2019-07-03Mono: Fix Array IndexOutOfRangeException not being thrownIgnacio Etcheverry
2019-07-03Mono: Android build and shared libraries fixesIgnacio Etcheverry
Fix location of Mono's shared libraries. Fix build failing if the directory 'platform/android/java/libs/{target}/{abi}' doesn't exist.
2019-07-03SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde
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.
2019-07-01Remove unnecessary code and add some error explanationsqarmin
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-06-18Unexpose subclasses of ResourceFormatLoader and -SaverRémi Verschelde
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.
2019-06-15Mono: Fix -Wduplicated-branches warningRémi Verschelde
2019-06-08Merge pull request #29606 from neikeq/remove-unneeded-mono-patchesIgnacio Roldán Etcheverry
Remove obsolete mono patch for pthread_mutexattr_setprotocol
2019-06-08Remove obsolete mono patch for pthread_mutexattr_setprotocolIgnacio Etcheverry
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).
2019-06-04Mono: Fix SCons options added to the wrong environmentIgnacio Etcheverry
2019-06-03Android build and export for the mono moduleIgnacio Etcheverry
2019-06-03Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde
Fix code completion not working with class_name
2019-06-01Merge pull request #27789 from Giacom/move_towardsRémi Verschelde
Added move_toward functions for float, Vector2 and Vector3
2019-05-29Escape quote char for non-Windows OSShyRed
Quote char appears to be ignored by ProcessStartInfo on non-Windows operating systems, so it needs to be escaped.
2019-05-28Added move_toward functions for float, Vector2 and Vector3Giacom
2019-05-27Merge pull request #28957 from aaronfranke/basis-optimizeRémi Verschelde
Optimize Basis constructor for Axis Angle
2019-05-26Merge pull request #29184 from aaronfranke/mono-tan-xy-yxIgnacio Roldán Etcheverry
[Mono] Change Atan2 arguments to (y, x)
2019-05-26[Mono] Change Atan2 arguments to Y XAaron Franke
2019-05-26Add Godot constants to Mono project buildsShyRed
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.
2019-05-26Merge pull request #29021 from aaronfranke/mono-tupleIgnacio Roldán Etcheverry
[Mono] Misc Basis and AABB improvements
2019-05-24C#: Implement ScriptInstance::to_stringIgnacio Etcheverry
Create a blacklist of methods that must not be generated. Includes: "to_string", "_to_string" and "_init".
2019-05-22[Mono] Misc Basis and AABB improvementsAaron Franke