summaryrefslogtreecommitdiff
path: root/modules/mono/mono_gd
AgeCommit message (Collapse)Author
2018-08-10Revert "added get_creation_time function for gdscript"Juan Linietsky
2018-08-10Merge pull request #18914 from notwarp/masterJuan Linietsky
added get_creation_time function for gdscript
2018-07-31Mono: Fix property set_value and cleanupIgnacio Etcheverry
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-25Mono: Fix null dereferencesIgnacio Etcheverry
2018-07-20Add Array and Dictionary wrapper classes to C#Ignacio Etcheverry
2018-07-18Style: Format code with clang-format 6.0.1Rémi Verschelde
2018-07-04Mono: Pending exceptions and cleanupIgnacio Etcheverry
2018-06-05Mono: Null checks when marshaling from MonoArray* and managed DictionaryIgnacio Etcheverry
2018-05-29New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli
2018-05-29Revert "RPCMode refactor, more sync modes"Max Hilbrunner
2018-05-29Merge pull request #19021 from Faless/rpc_sync_fixMax Hilbrunner
RPCMode refactor, more sync modes
2018-05-27Mono: Fix MonoImage filename being set to an invalid pathIgnacio Etcheverry
2018-05-26New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli
2018-05-20Reduce allocations when converting mono arrays to pool arraysCarter Anderson
2018-05-16added get_creation_time function for gdscriptDaniele Giuliani
2018-03-24Fix mono basis GetEuler bug and marshalling/unmarshallingCarter Anderson
2018-03-18Merge pull request #17619 from neikeq/mono-runtime-main-argsIgnacio Etcheverry
Mono: Runtime main args and assembly search fixes
2018-03-18Mono: Runtime main args and assembly search fixesIgnacio Etcheverry
- Setup runtime main args during initialization. This must be done manually by embedders who do not call mono_runtime_run_main. Fixes NullReferenceException in System.Environment. - Continue to search the assembly in the rest of the search locations if loading it from one of them failed.
2018-03-02[mono] add the 'Facades' subfolder to the searched directories in _preload_hookPaul Joannon
2018-02-27Merge pull request #17075 from paulloz/fix-build-mono-debug-notoolsRémi Verschelde
[mono] fix build error when compiling with mono, tools=no, target=debug
2018-02-27Merge pull request #15641 from ↵Rémi Verschelde
neikeq/mono-is-picky-regarding-corlib-so-we-must-make-sure-to-ship-the-right-version-otherwise-something-bad-may-happen Mono: Buildsystem improvements
2018-02-27fix build error when compiling with mono, tools=no, target=releasePaul Joannon
change TTR to RTR in `print_unhandled_exception`
2018-02-26Merge pull request #17046 from NathanWarden/fixed_mono_marshallingRémi Verschelde
[Mono] The marshalling *in* of Transform was also incorrect.
2018-02-26The marshalling in was also incorrect.Nathan Warden
2018-02-25Mono: Better versioning and gracefully unloading of Godot API assembliesIgnacio Etcheverry
2018-02-24[mono] get stacktraces for all inner exceptionsPaul Joannon
2018-02-22Mono: Add project export pluginIgnacio Etcheverry
2018-02-21[mono] fix signals parameter retrievalPaul Joannon
2018-02-20[Mono] Fixed "expression did not evaluate to a constant" compiler error for ↵Nathan Warden
visual studio.
2018-02-18Merge pull request #16326 from NathanWarden/fix_basis_monoIgnacio Etcheverry
[Mono] Basis values now marshalled in the correct order.
2018-02-18Merge pull request #16749 from PJB3005/18-02-16-project-manager-mono-debug-fixIgnacio Etcheverry
Makes project manager never initialize mono debug.
2018-02-17implement signal related methods in csharp_script so signals can be used ↵Paul Joannon
with emit
2018-02-17add a [Signal] attribute to CSharpScriptsPaul Joannon
2018-02-16Makes project manager never initialize mono debug.Pieter-Jan Briers
The heuristic whether we're in the project manager inside GDMono didn't work if the project manager was launched by not having any path to run. This is fixed now by making a Main::is_project_manager().
2018-02-02[Mono] Basis values now marshalled in the correct order.Nathan Warden
2018-02-01Fix inconsistencies and typos in argument namesPaolo Perkovic
2018-01-31Mono: Allow loading `mscorlib` from resources.bruvzg
2018-01-26Mono: Don't defer call to dispose queue objects when finalizing domainIgnacio Etcheverry
It's going to be called anyway after `mono_domain_finalize`. This also prevents crashes, since the MessageQueue singleton could already be freed at this point (see: #15702).
2018-01-23SignalAwaiter::_signal_callback was calling the thunk with a wrong pointerPaul Joannon
2018-01-22RID cached class was wrong (mono)Paul Joannon
2018-01-21fix GDMonoProperty::set_valuePaul Joannon
was calling getter and not setter should close #15387
2018-01-18remove an unneeded marshalling functionPaul Joannon
`Variant mono_object_to_variant(MonoObject*, const ManagedType&)`
2018-01-12Mono: Buildsystem improvementsIgnacio Etcheverry
- Bundle with mscorlib.dll to avoid compatibilities issues - Add build option 'mono_assemblies_output_dir' to specify the output directory where the assemblies will be copied to. '#bin' by default.
2018-01-12Mono: Some StackTrace to StackInfo[] fixesIgnacio Etcheverry
- Sometimes `StackFrame.GetMethod()` returns null (e.g.: latest frame of a `MissingMethodException`). Still not sure what to do with that frame (maybe skip it), but at least it no longer fails. - Skip `CSharpLanguage::debug_get_current_stack_info()` if an error is printed from `GDMonoUtils::update_corlib_cache()`. - Fix crash when calling `GDMonoUtils::print_unhandled_exception(exc)` if there is no ScriptDebugger attached.
2018-01-09Mono: Some fixes for #15463Ignacio Etcheverry
2018-01-09Mono: Implement stack info for errors and exceptionsIgnacio Etcheverry
2018-01-06Fix build of GDMonoFieldRémi Verschelde
Closes #15385.
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-04Mono: Add properties support in scriptsIgnacio Etcheverry