summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2019-04-05Merge pull request #27677 from akien-mga/Wimplicit-fallthroughRémi Verschelde
Fix -Wimplicit-fallthrough warnings from GCC 8
2019-04-05Merge pull request #27465 from ↵Rémi Verschelde
neikeq/road-to-lang-agnostic-docs-is-going-to-be-tough EditorHelp: Improve enum ref resolving and add constant ref support
2019-04-05Fix -Wimplicit-fallthrough warnings from GCC 8Rémi Verschelde
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional. Can be replaced by `[[fallthrough]]` if/when we switch to C++17. The warning is now enabled by default for GCC on `extra` warnings level (part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet, but we could enable it manually once we switch to C++11. There's no equivalent feature in MSVC for now. Fixes #26135.
2019-04-04Mono: Make missing default constructor error more foolproofForLoveOfCats
2019-04-04Mono: Makes GD.Convert take Variant.Type instead of intForLoveOfCats
2019-04-02Fix memory leak introduced in bb6814aIgnacio Etcheverry
2019-04-01Merge pull request #27485 from Faless/io/encode_decode_safety_prRémi Verschelde
Safer encode/decode variant.
2019-04-01Add object encoding param to serialization methodsFabio Alessandrelli
Network peers get_var/put_var File get_var/store_var GDScript/Mono/VisualScript bytes2var/var2bytes Add MultiplayerAPI.allow_object_decoding member which deprecates PacketPeer.allow_object_decoding. Break ABI compatibaility (API compatibility for GDNative).
2019-04-01doc: Bump version to 3.2Rémi Verschelde
2019-03-29EditorHelp, makerst: Improve enum ref resolving and constant ref supportIgnacio Etcheverry
Enum reference resolving will now search in the @GlobalScope if no class is specified and the enum cannot be resolved in the current class. Added support for constant references in EditorHelp, e.g.: [constant KEY_ENTER] or [constant Control.FOCUS_CLICK]. It supports enum constants (the enum name must not be included).
2019-03-29C#: Add DynamicGodotObject classIgnacio Etcheverry
Expands to Object.call, Object.set and Object.get for accessing members. This means it can also access members from scripts written in other languages, like GDScript.
2019-03-23Merge pull request #27359 from neikeq/who-reads-docs-anywayIgnacio Roldán Etcheverry
C#: Bindings generator now translates BBCode docs to XML comments
2019-03-23C#: Bindings generator now translates BBCode docs to XML commentsIgnacio Etcheverry
2019-03-20Merge pull request #27270 from shartte/fix-generics-parsingIgnacio Roldán Etcheverry
Fix parsing of generic type declarations in C# source files
2019-03-20Add support for new MSBuild directory naming introduced in VS 2019.Sebastian Hartte
2019-03-20Fix parsing of generic type declarations in C# source files.Sebastian Hartte
2019-03-13Merge pull request #27014 from neikeq/csharp-update-exports-only-in-editorRémi Verschelde
C#: Update exports only in the editor
2019-03-13C#: Update exports only in the editorIgnacio Etcheverry
2019-03-12Mono: Update welcome message with current stateRémi Verschelde
2019-03-10Mono: Some assembly referencing changes and cleanupIgnacio Etcheverry
Apparently we don't need to call mono_debug_close_image ourselves and we can call mono_image_close right away as it's not our duty to keep that reference.
2019-03-09Mono: Fix assemblies path String incorrectly constructed from utf8Ignacio Etcheverry
Also fixed a wrong ifdef that was causing Mono to never be initialized if mscorlib was not found (which was the case with the utf8 assemblies path bug this commit fixes). This condition was meant for exported projects only, not for the editor only.
2019-03-08Merge pull request #26746 from shartte/godot-trace-listenerIgnacio Roldán Etcheverry
Add a custom TraceListener on Startup for Mono
2019-03-08Fix CSharpInstance::set not working with base classesIgnacio Etcheverry
2019-03-07Merge pull request #26773 from neikeq/issue-26628Rémi Verschelde
Mono: Fix crash with exported field of custom Reference derived type
2019-03-07Mono: Fix crash with exported field of custom Reference derived typeIgnacio Etcheverry
2019-03-07Merge pull request #26770 from neikeq/issue-26675Ignacio Etcheverry
Mono: Partially implement some Godot debug api functions
2019-03-07Merge pull request #26761 from Chaosus/fix_mono_wrapIgnacio Etcheverry
Fix division by zero at wrap functions in mono
2019-03-07Mono: Partially implement some Godot debug api functionsIgnacio Etcheverry
Debug breaks sent with debug_break and debug_break_parse should display correctly in the Godot debugger now.
2019-03-07Added a Godot TraceListener, which is automatically installed on startup. ↵Sebastian Hartte
Fixes that Debug/Trace Assertions are simply swallowed by Godot.
2019-03-07Fix division by zero at wrap functions in monoChaosus
2019-03-07Merge pull request #26765 from neikeq/issue-25959Ignacio Etcheverry
Mono: Fix crash when re-using script binding after domain reloading
2019-03-07Mono: Fix crash when re-using script binding after domain reloadingIgnacio Etcheverry
2019-03-07Update scripts exports even when normal script instances are created to ↵Sebastian Hartte
better support tool scripts with exported variables.
2019-03-06Merge pull request #26713 from neikeq/print-msbuild-commandRémi Verschelde
Print MSBuild command if also printing output
2019-03-06Print MSBuild command if also printing outputIgnacio Etcheverry
2019-03-06Merge pull request #26712 from neikeq/issue-26681Ignacio Etcheverry
Mono: Make 'Build' button generate solution if it doesn't exist
2019-03-06Mono: Make 'Build' button generate solution if it doesn't existIgnacio Etcheverry
2019-03-05Merge pull request #26661 from neikeq/issue-17601Ignacio Etcheverry
Mono: Fix array field being assigned MonoArray** instead of MonoArray*
2019-03-05Mono: Fix array field being assigned MonoArray** instead of MonoArray*Ignacio Etcheverry
Fixes #17601
2019-03-04Merge pull request #26591 from neikeq/oiRémi Verschelde
Mono: Add option to print MSBuild output and improve out of sync error
2019-03-04Mono: Add option to print MSBuild output and improve out of sync errorIgnacio Etcheverry
2019-03-02Add mono log profiler supportCarter Anderson
2019-03-01C#: Fix parsing of class full name when the base has genericsIgnacio Etcheverry
Also we no longer ignore base classes with generics, since we don't really care about that.
2019-02-28Mono: Fail on script instance creation if constructor was not foundIgnacio Etcheverry
Previously this would result in NULL dereferencing. Now we fail with an error.
2019-02-28Mono: Make sure the generated RootNamespace is a valid identifierIgnacio Etcheverry
2019-02-28Merge pull request #26411 from neikeq/issue-26195Ignacio Etcheverry
C#: Add Array.Resize(int) method
2019-02-28C#: Add Array.Resize(int) methodIgnacio Etcheverry
2019-02-27Merge pull request #26159 from marxin/fix-Wsuggest-attribute=formatRémi Verschelde
Fix -Wsuggest-attribute=format warnings.
2019-02-27Merge pull request #26134 from marxin/fix-Wsign-compareRémi Verschelde
Fix -Wsign-compare warnings.
2019-02-27Fix -Wsign-compare warnings.marxin
I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.