summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2019-12-17Mono/C#: Fix project export and fix FindLast/GetFile regressionIgnacio Etcheverry
d09193b08ae8fdb082bee6ffd3828eb19fd45ce6 introduced a regression in StringExtensions.FindLast. StringExtensions.GetFile was also affected as it relies on FindLast. This in turn broke the project exporter as it uses GetFile. The cause of the regression is that now FindLast is calling LastIndexOf with 'startIndex: 0'. This should be 'startIndex: str.Length - 1' instead. Also fixed another regression in the project exporter: de7c2ad21b4cc2d889a5aeda64ead962036d2aa4 moved 'GodotTools/GodotSharpExport.cs' to 'GodotTools/Export/ExportPlugin.cs' and in doing so accidently reverted the changes from commit e439581198de92e63661c4fe71108cb59cc2d999.
2019-12-16Merge pull request #34382 from van800/profilerRémi Verschelde
Allow attaching any external profiler, including JetBrains dotTrace
2019-12-16Allow attaching any external profiler, including JetBrains dotTraceIvan Shakhov
2019-12-16Mono: Enable threads suspend workaround on WindowsRémi Verschelde
This appears to be necessary for current official builds cross-compiled with MinGW from Linux, using Mono 6.6.0.160. Follow-up to #31784, see #29812 for details.
2019-12-13Merge pull request #34334 from neikeq/issue-33503Rémi Verschelde
Mono/C#: Fix class parser bug with 'where T : struct'
2019-12-13Mono/C#: Fix class parser incorrectly handling nested namespacesIgnacio Etcheverry
It would incorrectly error thinking the nested namespace is being declared inside a struct/class. This was because of an incorrect nesting level being used for classes and structs.
2019-12-13Mono/C#: Fix class parser bug with 'where T : struct'Ignacio Etcheverry
The struct decl parsing was outdated. Make both struct decl and class declparsing share the same code.
2019-12-13doc: Sync classref with current sourceRémi Verschelde
Also apply clang-format.
2019-12-13Merge pull request #34295 from aaronfranke/potato-knishesRémi Verschelde
[Mono] Fix string Find methods having reversed case sensitivity
2019-12-12Fix string Find methods having reversed case sensitivityAaron Franke
2019-12-11Mono formattingAaron Franke
No space for casting, add spaces inside braces, 4 space indentation, remove trailing indentation, remove BOM.
2019-12-11Merge pull request #34181 from van800/riderRémi Verschelde
Support Rider as external editor for Godot mono version
2019-12-11Support Rider as External EditorIvan Shakhov
2019-12-06Fix missing null checks in Mono Binding of GDJonas
The print methods of mono binding was missing null checks for the params
2019-12-05Merge pull request #34018 from ↵Ignacio Roldán Etcheverry
dsge/show-template-directory-path-in-error-message Make sure to include the path in the "Data template directory not found" error message
2019-12-04Mono/C#: Several android fixesIgnacio Etcheverry
- Added correct config file for android dllmaps. - Fix __Internal DllImports with a dlopen fallback. - Add missing P/Invoke functions and internal calls expected by the monodroid BCL and our custom version of the 'Android.Runtime.AndroidEnvironment' class (this last one can be found in the godot-mono-builds repo). - Make sure to set 'btls' instead of 'legacy' as the default TLS provider on Android.
2019-12-04C#: Add Duplicate method to the Array and Dictionary bindingsIgnacio Etcheverry
2019-11-30Make sure to include the path in the "Data template directory not found" ↵dsge
error message
2019-11-29Merge pull request #33982 from neikeq/issue-29349Rémi Verschelde
Mono/C#: Add option to export assemblies outside of PCK
2019-11-29Mono/C#: Fix crash on exported games that don't use C#Ignacio Etcheverry
2019-11-29Mono/C#: Add option to export assemblies outside of PCKIgnacio Etcheverry
When using this options, assemblies will be saved in the Assemblies folder of the data directory: 'data_AppName/Assemblies/'.
2019-11-23Merge pull request #33828 from neikeq/貴様Rémi Verschelde
Mono/C#: Prevent SCons from building API solutions in parallel
2019-11-22Mono/C#: Prevent SCons from building API solutions in parallelIgnacio Etcheverry
2019-11-22Style: Add missing copyright headersRémi Verschelde
2019-11-21Merge pull request #33791 from neikeq/issue-33761Ignacio Roldán Etcheverry
C#: Fix PathWhich on Windows when name already has extension
2019-11-21C#: Fix PathWhich on Windows when name already has extensionIgnacio Etcheverry
Also make the Posix version of PathWhich check if the file has executable access.
2019-11-20Merge pull request #33763 from neikeq/issue-33725Rémi Verschelde
Fix C# export error dialog showing up when it should not
2019-11-20Fix C# export error dialog showing up when it should notIgnacio Etcheverry
2019-11-19Mono/C#: Bundle libmono-btls-shared.dll on Windows if it existsIgnacio Etcheverry
2019-11-18C#: Throw NullReferenceException for null NodePath/RID paramsIgnacio Etcheverry
2019-11-15Make C# internal calls return structs as ref parametersIgnacio Etcheverry
The Mono IL interpreter's WebAssembly to native trampolines don't support passing structs by value, so we need to do it this way. Also now we pass and return long, ulong, float and double as ref parameters as well. This is due to missing trampolines for float and long types. This is likely a temporary workaround that will be reverted in the future. The correct solution would be to patch 'mono/mini/m2n-gen.cs' when building the Mono runtime for WASM in order to generate the trampolines we need.
2019-11-15Mono/C#: Initial exporter support for AOT compilationIgnacio Etcheverry
2019-11-13Mono/C#: WebAssembly supportIgnacio Etcheverry
2019-11-12Merge pull request #33249 from JoshLee0915/MonoHeadlessServerIgnacio Roldán Etcheverry
Added missing server platform checks to template dir and shared lib copy in mono_configure.py
2019-11-07Merge pull request #32477 from aaronfranke/equal-approx-separateRémi Verschelde
Make is_equal_approx separate and make == exact again
2019-10-29[Mono] Alphabetize MathfAaron Franke
2019-10-23Merge pull request #32670 from aaronfranke/mono-planeRémi Verschelde
[Mono] Change Plane intersect methods to return nullable Vector3
2019-10-21Added the server platform checks to template dir and shared lib copyJoshLee0915
2019-10-14Expose is_equal_approx and restore == to be exact againAaron Franke
This commit changes behavior for GDScript and C#. Also did some organizing of the order to logically group related methods, mostly for Rect2 and AABB.
2019-10-14Make is_equal_approx separate for structuresAaron Franke
This commit adds exposed behavior for C#
2019-10-12C#: Fix regression from #32732 caused a crash on domain reloadIgnacio Etcheverry
2019-10-11Mono: Fix template build after #32732Rémi Verschelde
2019-10-11C#: Fix detection of outdated release Godot API assembliesIgnacio Etcheverry
2019-10-08[Mono] Change Plane intersect methods to return nullable Vector3Aaron Franke
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-28Merge pull request #32401 from neikeq/Kisaama!Ignacio Roldán Etcheverry
Mono: Don't compare API hashes on release builds
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-26Merge pull request #32353 from neikeq/yameroRémi Verschelde
Mono: Improve API assembly load error message on exported games
2019-09-26Merge pull request #32352 from neikeq/issue-32237Rémi Verschelde
Mono: Don't use project settings for debugger agent on exported games
2019-09-25Mono: Improve API assembly load error message on exported gamesIgnacio Etcheverry