summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2018-08-04Merge pull request #20600 from exts/new_generic_methodsIgnacio Etcheverry
Mono: Added generic methods for PackedScene & ResourceLoader
2018-08-03Added generic method for ResourceLoader: Load<T>()exts
2018-08-01Merge pull request #20644 from NickToony/masterIgnacio Etcheverry
Fixed Windows mono compile
2018-07-31fixed: windows mono compile (#20598)Nick Hope
tidy: formatting.
2018-07-31Merge pull request #20639 from neikeq/issue-20531-and-cleanupIgnacio Etcheverry
Mono: Fix property set_value and cleanup
2018-07-31Mono: Fix property set_value and cleanupIgnacio Etcheverry
2018-07-29Fix Mono compilation on Windows/MingHein-Pieter van Braam
(cherry picked from commit 83140541dc91c29a288d7dd71044780b50b2cc4b)
2018-07-27Running builder (content generator) functions in subprocesses on WindowsViktor Ferenczi
- Refactored all builder (make_*) functions into separate Python modules along to the build tree - Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere - Introduced stub to use the builders module as a stand alone script and invoke a selected function There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp) on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky builds. Running all such content generators in a new subprocess instead of directly inside the build script works around the issue. Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle. Suggested workaround did not fully work either. Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of running a cross-compilation on Windows they would still be used, but likely it will not happen in practice. What counts is that the build itself is running on which platform, not the target platform. Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
2018-07-27Add missing methods to Node class in the mono gluePaul Joannon
* GetNodeOrNull<T> * GetChild<T> * GetChildOrNull<T> * GetOwner<T> * GetOwnerOrNull<T> * GetParent<T> * GetParentOrNull<T>
2018-07-26Merge pull request #18282 from aaronfranke/better-mathfRémi Verschelde
[Core] [Mono] Fix Color missing int export methods, added 64-bit
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-25[Mono] Fix Color incorrect ordering of int export methods, added 64-bitAaron Franke
[Mono] Fix Color incorrect ordering of int export methods, added 64-bit long export methods.
2018-07-25Fix continuous attempt to reload domain with API assemblies out of syncIgnacio Etcheverry
2018-07-25Mono: Fix domain reload never triggeringIgnacio Etcheverry
2018-07-25Fix '!valid' error spam on C# script instance createIgnacio Etcheverry
2018-07-25Mono: Fix null dereferencesIgnacio Etcheverry
2018-07-25Merge pull request #20298 from PJB3005/18-07-20-mono-partial-api-extIgnacio Etcheverry
Makes Mono binding classes partial & adds GetNode<T>.
2018-07-23Merge pull request #15880 from neikeq/better-collectionsIgnacio Etcheverry
Mono: Add Dictionary and Array classes
2018-07-22Mono: Default to not shipping C# scripts contentRémi Verschelde
Fixes #20053.
2018-07-22Merge pull request #20337 from aaronfranke/mono-pascal-gdIgnacio Etcheverry
[Mono] Improvements to GD.cs: PascalCasing and real_t
2018-07-22Merge pull request #20229 from aaronfranke/mono-warning-textRémi Verschelde
[Mono] Update about/warning text
2018-07-21[Mono] Improvements to GD.cs: PascalCasing and real_tAaron Franke
[Mono] Improvements to GD.cs: PascalCasing and real_t
2018-07-21[Mono] Update about/warning textAaron Franke
I've removed the section about being unable to export games using C# - as you are now able to do this, as long as the export templates are installed. Also, I've made a few minor grammar tweaks.
2018-07-20Add editor highlight for type-safe linesGeorge Marques
The line number is hightlighted to indicate that the line contains only type-safe code.
2018-07-20Makes Mono bindings partial & adds GetNode<T>.Pieter-Jan Briers
2018-07-20Add Array and Dictionary wrapper classes to C#Ignacio Etcheverry
2018-07-19Fix bug with Basis.Transposed()oisincar
Fix bug where Basis.Transposed() incorrectly updated local basis, and returned an unmodified copy. This also fixes Transform.Inverse().
2018-07-18Merge pull request #20253 from neikeq/nobranchnameideasfeelsbadmanIgnacio Etcheverry
Make C# bindings generator ignore disabled classes
2018-07-18Make C# bindings generator ignore disabled classesIgnacio Etcheverry
2018-07-18Style: Format code with clang-format 6.0.1Rémi Verschelde
2018-07-10Added path for Mono installed through HomebrewMads Ynddal
On macOS, it is common to install packages like Mono through the third-party package-manager Homebrew. This commit simply adds an additional path to where Homebrew installs the Mono framework.
2018-07-05Merge pull request #19231 from aaronfranke/mono-fposmod-to-modIgnacio Etcheverry
[Mono] Rename Fposmod to PosMod, fix output
2018-07-04Merge pull request #19872 from exts/export_signalsIgnacio Etcheverry
Mono: Fixes annotated signal loading in exported binaries
2018-07-04Merge pull request #19756 from NathanWarden/mono_lerp_fixesIgnacio Etcheverry
[C#] Lerp now consistent with Godot API. InverseLerp fixed.
2018-07-04Mono: Fix build script not decoding process utf-8 outputIgnacio Etcheverry
2018-07-03Mono: Fixes annotated signal loading in exported binaries=
2018-07-04Merge pull request #16987 from neikeq/pending-exceptionsIgnacio Etcheverry
Mono: Pending exceptions and cleanup
2018-07-04Mono: Pending exceptions and cleanupIgnacio Etcheverry
2018-07-04Changes to default C# script template (#19940)Kelly Thomas
2018-07-03Merge pull request #19251 from YeldhamDev/script_templates_changesMax Hilbrunner
Small changes to the comments in the script templates
2018-06-30convert unicode mono root path to ascii stringKelly Thomas
2018-06-27[Mono] Rename Fposmod to PosModAaron Franke
[Mono] Rename Fposmod to PosMod
2018-06-24Lerp now consistent with Godot API. InverseLerp fixed.Nathan Warden
2018-06-22Merge pull request #19016 from neikeq/wIgnacio Etcheverry
Mono: Module build improvements
2018-06-22Mono: Module build improvementsIgnacio Etcheverry
- Add (Csc/Vbc/Fsc)ToolExe environment variables when running Mono's MSBuild. - Fix directory for the 'mono_assemblies_output_dir' argument being created with the '#' top level directory token as part of its name. - Allow to build with 'mono_static=yes' on Unix without specifying a mono prefix. The build script will try to find the mono prefix using the output from pkg-config.
2018-06-11Small changes to the comments in the script templates.Michael Alexsander Silva Dias
2018-06-06allow undefined GODOT_DEBUG_MSBUILD environment variableKelly Thomas
2018-06-05Merge pull request #19387 from neikeq/yIgnacio Etcheverry
Mono fixes and improvements
2018-06-05Mono: Add 'View log' button to open the MSBuild log of a buildIgnacio Etcheverry
2018-06-05Mono: Fix passing wrong logger assembly path to MSBuildIgnacio Etcheverry
- Add option to print MSBuild's stdout and stderr instead of redirecting it. This can be enabled by setting the environment variable: Godot_DEBUG_MSBUILD=1