summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2019-01-18Merge pull request #25080 from neikeq/mm-cIgnacio Etcheverry
C# Bindings Generator: Fix vararg methods with custom return type
2019-01-18Merge pull request #25079 from neikeq/mm-bIgnacio Etcheverry
C#: Fix trying to build when there's no solution
2019-01-18C# Bindings Generator: Fix vararg methods with custom return typeIgnacio Etcheverry
2019-01-18C#: Fix trying to build when there's no solutionIgnacio Etcheverry
This would cause errors that shouldn't happen unless there was something to build.
2019-01-17C#: Fix crash due to missing gchandle ref null checkIgnacio Etcheverry
2019-01-10Merge pull request #24877 from neikeq/issue-24280Rémi Verschelde
Fix properties being lost when reloading placeholder GDScript instance
2019-01-10Consistency in resource format saver/loader de-registrationRémi Verschelde
Some used 'is_valid()' checks, others not. Validity is already checked in 'unref()', and 'remove_resource_format_*()' has an ERR_FAIL condition on 'is_null()' already (which shouldn't happen since we're only unregistering things that we previously registered. Also add missing GDCLASS statement in ResourceFormatLoaderVideoStreamGDNative, missed in #20552 which was last amended before #19501 was merged.
2019-01-10Fix properties being lost when reloading placeholder GDScript instanceIgnacio Etcheverry
During reloading in `GDScriptLanguage::reload_all_scripts` a placeholder instance that must remain so is replaced with a new placeholder instance. The state is then restored by calling `ScriptInstance::set` for each property. This does not work if the script is missing the properties due to build/parse failing. The fix for such cases is to call `placeholder_set_fallback` instead of `set` on the script instance. I took this chance to move the `build_failed` flag from `PlaceHolderScriptInstance` to `Script`. That improves the code a lot. I also renamed it to `placeholder_fallback_enabled` which is a much better name (`build_failed` could lead to misunderstandings).
2019-01-08Use 'release_debug' for mono export templatesHein-Pieter van Braam
This fixes the previously wrong PR Because we don't actually ship 'debug' templates to users make sure the mono exporter picks the correct 'data' directory for export templates. This fixes #24752
2019-01-07Use 'release_debug' for mono export templatesHein-Pieter van Braam
Because we don't actually ship 'debug' templates to users make sure the mono exporter picks the correct 'data' directory for export templates. This fixes #24752
2019-01-03Merge pull request #24688 from Supatier/add-additional-vscode-nameRémi Verschelde
Add code-oss, vscode-oss, and visual-studio-code-oss to vscode path
2019-01-02Add code-oss, vscode-oss, and visual-studio-code-oss to vscode pathsupatier
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2019-01-01Fix missing/malformed license headersRémi Verschelde
2018-12-30Merge pull request #24545 from akien-mga/osxcross-monoRémi Verschelde
SCons: Allow building Mono module with OSXCross
2018-12-27Fix Godot unable to find VSCode binarySupatier
VSCode's executable name is not uniform and godot only search for "code".
2018-12-23fix capitalization for antiquewhiteKelly Thomas
2018-12-22SCons: Allow building Mono module with OSXCrossRémi Verschelde
Improve the test logic to only assume that we're building for macOS if OSXCROSS_ROOT is defined *and* we requested p=osx. Supersedes #24480.
2018-12-21[Mono] Color - add ColorN(), Colors - add named color propertiesKelly Thomas
2018-12-16Merge pull request #24385 from hpvb/reduce-string-coewRémi Verschelde
Reduce String CoW
2018-12-16Reduce String CoWHein-Pieter van Braam
By introducing an intermediate proxy class for the array subscript operator for String and CharString we can control better when CowData will actually CoW. This should improve performance of String usage for most cases.
2018-12-16Merge pull request #19501 from Zylann/custom_loadersRémi Verschelde
Added basic support for custom resource savers and loaders
2018-12-15Added basic support for custom resource savers and loadersMarc Gilleron
2018-12-08Tweaks after feedbackBen Rog-Wilhelm
2018-12-07Implement CSharpScript::get_script_method_list and related functionality.Ben Rog-Wilhelm
2018-12-01Fix crash due to ~CSharpInstance() being called on freed instanceIgnacio Etcheverry
This would be the case when calling SetScript on an object with a C# script.
2018-11-30Implement CSharpScript::is_valid()Ignacio Etcheverry
2018-11-30Merge pull request #24091 from neikeq/iiIgnacio Etcheverry
C#: Improve tool script support and fix reloading issues
2018-11-30C#: Improve tool script support and fix reloading issuesIgnacio Etcheverry
2018-11-27Allow signal connecting even if script is invalid (only when compiled with ↵Juan Linietsky
tools), fixes #17070
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