summaryrefslogtreecommitdiff
path: root/modules/mono/editor
AgeCommit message (Collapse)Author
2019-10-03Mono: Fix detection of MsBuild from Visual StudioRémi Verschelde
This was a wrong check as an exit code of 0 means success, not failure. It used to be fine as blocking mode always returned -2, but this was changed in #32033 to return the exit code. Fixes #32424.
2019-09-28Mono: Don't compare API hashes on release buildsIgnacio Etcheverry
API hashes cannot be calculated on release builds, as bindings information is lacking. Therefore, we should not be comparing it with the generated glue hash as they will never match.
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin
2019-09-24Improve C# bindings generator errors for default param valuesIgnacio Etcheverry
2019-09-20C#: Make sure cs_glue_version is present when building export templatesIgnacio Etcheverry
2019-09-07Merge pull request #32022 from neikeq/fix-mono-export-windows-backslashIgnacio Roldán Etcheverry
Mono: Fix PCK assembly paths when exporting from Windows
2019-09-07Fix missing method for internal_MonoWindowsInstallRootIgnacio Etcheverry
2019-09-07Mono: Fix PCK assembly paths when exporting from WindowsIgnacio Etcheverry
Assembly paths were written to PCK files with backslash as path separator and PackedData only supports forward slash. This would make exported games unable to find the assemblies.
2019-08-29Merge pull request #31770 from neikeq/supercedes-31008Rémi Verschelde
Fix GodotTools.ProjectEditor HintPaths for referenced packages
2019-08-29Fix GodotTools.ProjectEditor HintPaths for referenced packagesIgnacio Etcheverry
2019-08-27Mono: Fix OSX build due to invalid function callRémi Verschelde
2019-08-26Merge pull request #31652 from Calinou/csharp-alpha-dialog-androidRémi Verschelde
Mention Android support in the C# alpha dialog message
2019-08-25Set C# 7 as LangVersion for GodotTools and Godot API projectsIgnacio Etcheverry
This will make it harder for someone to accidentally commit code that requires a newer version.
2019-08-25Mention Android support in the C# alpha dialog messageHugo Locurcio
2019-08-25default is only supported by 7.1, reverted to support 7.0 out of the box (no ↵lamonte
conflict)
2019-08-22Make sure '.mono/metadata/' exists before creating fileIgnacio Etcheverry
Fixes #31549
2019-08-14Merge pull request #31347 from neikeq/monodevelop-addinRémi Verschelde
C#: Add Ide Connection library and server for the editor
2019-08-09Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'modules/mono'Ignacio Etcheverry
And 'CRASH_*_MSG' as well. Also make error messages puntuation and quotation more consistent.
2019-08-04C#: Add Ide Connection library and server for the editorIgnacio Etcheverry
This will be used for communicating between the Godot editor and external IDEs/editors, for things like opening files, triggering hot-reload and running the game with a debugger attached.
2019-07-26Merge pull request #30842 from neikeq/fix-custom-props-msbuildIgnacio Roldán Etcheverry
Mono: Fix custom defines for Mono's MSBuild; remove xbuild
2019-07-26Mono: Fix custom defines for Mono's MSBuild; remove xbuildIgnacio Etcheverry
Mono's MSBuild and System/VisualStudio's MSBuild expect a different format for surrounding property values with quotes on the command line. xbuild does not seem to support semicolons in property values from the command line: https://xamarin.github.io/bugzilla-archives/16/16465/bug.html It's a good time to just remove xbuild support entirely.
2019-07-25Fix incorrectly updating csproj and not closing build issues fileIgnacio Etcheverry
2019-07-24Mono: Fix regression: external editors not working on WindowsIgnacio Etcheverry
2019-07-14Mono: Better handling of missing/outdated API assembliesIgnacio Etcheverry
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.
2019-07-11Mono: Add old TTRs to GodotToolsIgnacio Etcheverry
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-10Fix IndexOutOfBounds in FindMsBuildToolsPathOnWindowsIgnacio Etcheverry
2019-07-10Mono: Add missing GodotTools.slnIgnacio Etcheverry
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-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-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-06-26Some code changed with Clang-Tidyqarmin
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-06-15Mono: Fix -Wduplicated-branches warningRémi Verschelde
2019-06-03Android build and export for the mono moduleIgnacio Etcheverry
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-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-24C#: Implement ScriptInstance::to_stringIgnacio Etcheverry
Create a blacklist of methods that must not be generated. Includes: "to_string", "_to_string" and "_init".
2019-04-29Merge pull request #28423 from ↵Rémi Verschelde
neikeq/dont-forget-to-think-a-name-for-this-branch C#: Deprecate accessor methods and generate correct int and float types
2019-04-27C#: Generate the correct integer and floating point typesIgnacio Etcheverry