summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2018-11-24Parse C# generics and type constraints correctlyCarter Anderson
2018-11-20C#: Replace calls to old of old Basis(Vec3,Vec3,Vec3) constructorIgnacio Etcheverry
2018-11-20Remove trailing whitespaceRémi Verschelde
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'` (+ manual revert of some thirdparty code under `platform/android`).
2018-11-20Merge pull request #23833 from neikeq/hhIgnacio Etcheverry
C#: Fix Basis(Vec3,Vec3,Vec3) constructor
2018-11-20C#: Fix Basis(Vec3,Vec3,Vec3) constructorIgnacio Etcheverry
Now it sets axes in order to match GDScript implementation.
2018-11-08Merge pull request #23505 from zorbathut/zorbathut/updateprojectIgnacio Etcheverry
Add option for automatic project updating.
2018-11-08Merge pull request #23595 from neikeq/ffIgnacio Etcheverry
Fix assertion fail when loading assembly on project export
2018-11-08Fix assertion fail when loading assembly on project exportIgnacio Etcheverry
2018-11-08Merge pull request #23583 from neikeq/eeIgnacio Etcheverry
Improve the C# API projects generation
2018-11-08Improve the C# API projects generationIgnacio Etcheverry
- Now there is only one solution that contains both GodotSharp and GodotSharpEditor project. Previously we had one solution for each project - GodotSharpEditor reference GodotShatp with a 'ProjectReference'. Previously it was a 'Reference' to the assembly - This also simplifies the command line option to generate this solution: 'godot --generate-cs-api <OutputDir>'
2018-11-05Fix false error when exporting enum in c#Ryan Schmitt
2018-11-04Add option for automatic project updating.Ben Rog-Wilhelm
2018-10-31Rename "Log*()" functions to "Push*()" in C#Michael Alexsander Silva Dias
2018-10-29Merge pull request #23345 from zorbathut/brogwilhelm/logfunctions/csRémi Verschelde
Add new log functions for C#.
2018-10-28Fix C# parsing the full name of base typesIgnacio Etcheverry
Previously it would fail if the type name included its namespace.
2018-10-25Add new log functions for C#.Ben Rog-Wilhelm
2018-10-25Merge pull request #23162 from neikeq/ccIgnacio Etcheverry
Proper support for namespaces and other enhancement/fixes
2018-10-25Parse C# script namespace and classIgnacio Etcheverry
- Added a very simple parser that can extract the namespace and class name of a C# script.
2018-10-25Fix msvc warnings in mono moduleIgnacio Etcheverry
- `modules\mono\csharp_script.cpp(576): warning C4099: 'CSharpScriptDepSort': type name first seen using 'class' now seen using 'struct'` - `modules\mono\signal_awaiter_utils.cpp(144): warning C4003: not enough actual parameters for macro 'ERR_FAIL_V'` - `modules\mono\editor\net_solution.cpp(101): warning C4129: '%': unrecognized character escape sequence` - (several) `modules\mono\glue\cs_compressed.gen.h(222): warning C4129: 'E': unrecognized character escape sequence`
2018-10-25Do not generate API project GUIDs randomlyIgnacio Etcheverry
2018-10-25Support globs in csproj includesIgnacio Etcheverry
2018-10-25C#: Fix crash when disposing Reference on domain finalizeIgnacio Etcheverry
2018-10-22Fix internal assembly load fromIgnacio Etcheverry
- Also make sure we load API assemblies from 'res://.mono/assemblies/'.
2018-10-21Removed undeclared and unused variable, which caused a compile errorMads Ynddal
2018-10-19Merge pull request #23128 from neikeq/bbIgnacio Etcheverry
Make sure API assemblies are up to date at startup
2018-10-19Make sure API assemblies are up to date at startupIgnacio Etcheverry
- If there is a solution and C# project at startup, make sure API assemblies are up to date. - Fix prebuilt assemblies only being used when building the game project, and not in other instances.
2018-10-18Fix prefix erasing for the generated C# enum constantsIgnacio Etcheverry
2018-10-17C#: Optimize struct marshallingIgnacio Etcheverry
- We no longer box struct to return them from internal calls. - Use reinterpret_cast if the managed struct layout is the same as the native struct.
2018-10-16C# API: Hide method bind fields from debuggerIgnacio Etcheverry
2018-10-08Check if directory exists before trying to delete itIgnacio Etcheverry
2018-10-07Merge pull request #22808 from KellyThomas/vector-oneRémi Verschelde
Add ONE constants to Vector2 and Vector3
2018-10-07Update class documentation xmlKelly Thomas
2018-10-07C# bindings generator fixesIgnacio Etcheverry
- Fix unused bool local for MonoBoolean argument. - Append U to API hashes. Fixes warning: 'integer constant is so large that it is unsigned'
2018-10-07Merge pull request #22752 from aaronfranke/equals-redundantRémi Verschelde
Remove redundant "== true" and "== false" code
2018-10-06Mono: Fix crash on NodePath/RID disposal during Godot shutdownIgnacio Etcheverry
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-10-06Remove redundant "== true" codeAaron Franke
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-05Merge pull request #22769 from neikeq/issue-22765Rémi Verschelde
Fix C# API assembly build errors in generics
2018-10-05Fix C# API assembly build errors in genericsIgnacio Etcheverry
2018-10-05Fix build error for windows mono export templatesIgnacio Etcheverry
2018-10-05Merge pull request #22760 from zochris/loosen-generic-guardRémi Verschelde
Loosen generic guard on some methods
2018-10-05Merge pull request #22688 from neikeq/lotsofgoodiesRémi Verschelde
Mono: Editor and export template dependencies and fixes
2018-10-05loosen generic guard on method for ResourceLoaderzochris
For more details see #22658
2018-10-05loosen generic guard on Node extension methodszochris
For more details see #22658
2018-10-03Mono: Editor and export template dependencies and fixesIgnacio Etcheverry
- Bundle editor dependencies: - 'GodotSharp': Root data directory for the editor - 'Tools': Editor dependencies. Only GodotSharp.dll for now. - 'Api': Prebuilt GodotSharp and GodotSharpEditor API assemblies. - 'Mono': Mono files to bundle with the editor. - 'bin': (Optional, not used for now) Mono bin directory. - 'etc': Mono configuration files. - 'lib': Mono dependency shared libraries. - 'lib/mono/4.5': Framework assemblies. - Added build option to copy the required files from the mono installation to 'GodotSharp/Mono'. Enable with 'copy_mono_root=yes'. Disabled by default. - Export template dependencies: - 'data_AppName'/'data_Godot': - 'Mono': Mono files to bundle with the game. - 'etc': Mono configuration files. - 'lib': Mono dependency shared libraries. - The data directory is generated when compiling and must be bundled with the export templates. In the case of OSX, the data directory must be placed inside the 'osx.zip' export template. - In OSX, alternative location for directories (needed for app bundles) are: - 'data_AppName/Mono/etc' --> '../Resources/GodotSharp/Mono/etc' - 'data_AppName/Mono/lib' --> '../Frameworks/GodotSharp/Mono/lib' - The editor can bundle prebuilt API assemblies. - Generate them with a tools build by running: `--generate-cs-core-api <GodotSharp_OutputDir> --generate-cs-editor-api <GodotSharpEditor_OutputDir> <GodotSharp_OutputDir>/bin/Release/GodotSharp.dll` (This command will be simplified in the future and both projects will be in the same solution) - Build the solutions and copy the output files to '#bin/GodotSharp/Api'. - Fixed API assembly being added twice during the export process.
2018-10-03Merge pull request #22653 from neikeq/mono-mod-fix-gcc-warningsRémi Verschelde
Fix GCC compiler warning in mono module
2018-10-03Fix GCC compiler warning in mono moduleIgnacio Etcheverry
- thread_local.h: 'delegating constructors only available with -std=c++11 or -std=gnu++11' - mono_reg_utils.cpp: 'extra tokens at end of #endif directive' - mono_bottom_panel.cpp: '<fieldB> will be initialized after <fieldA> when initialized here' - bindings_generator.cpp: 'name lookup of 'i' changed (...) matches this 'i' under ISO standard rules (...) matches this 'i' under old rules (...)'
2018-09-27Mono: Fix not creating generic Array or Dictionary where expectedIgnacio Etcheverry
2018-09-26Do not update cache if the C# API assembly is out of syncIgnacio Etcheverry
2018-09-17Fix missing mono internal callIgnacio Etcheverry
- Also fixed uninitalized variable in buildscript