summaryrefslogtreecommitdiff
path: root/modules/mono/editor
AgeCommit message (Collapse)Author
2018-09-17Fix missing mono internal callIgnacio Etcheverry
- Also fixed uninitalized variable in buildscript
2018-09-17Mono: Fix opening code editors in OSX and cleanupIgnacio Etcheverry
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-12C#: Fix cs_files glue mismatch bugIgnacio Etcheverry
2018-09-12Fix/workaround for issue #21667Ignacio Etcheverry
When a Reference managed instance is garbage collected and its finalizer is called, it could happen that the native instance is referenced once again before the finalizer can unreference and memdelete it. The workaround is to create a new managed instance when this happens (at least for now).
2018-09-12Add some mono root hint dirs for OSXIgnacio Etcheverry
Fixes #13355
2018-09-12Cleanup of c# api files and bindings generatorIgnacio Etcheverry
- We no longer generate RID and NodePath C# classes. Both will be maintained manually. - We no longer generate C# declarations and runtime registration of internal calls for the following classes: RID, NodePath, String, GD, SignalAwaiter and Godot.Object (partial base). - We no longer auto-generate the base members of Godot.Object. They will be maintained manually as a partial class. This makes it easier to maintain these C# classes and their internal calls, as well as the bindings generator which no longer generates C# classes that don't derive from Godot Object, and it no longer generates the Godot.Object base members (which where unreadable in the bindings generator code). - Added missing 'RID(Object from)' constructor to the RID C# class. - Replaced MONO_GLUE_DISABLED constant macro with MONO_GLUE_ENABLED. - Add sources in module/mono/glue even if glue is disabled, but surround glue files with ifdef MONO_GLUE_ENABLED.
2018-08-27C# generated classes ignore warning CS1591 and cleanupIgnacio Etcheverry
2018-08-25Added Collections namespace to Array & Dictionaryexts
2018-08-24Add print_verbose to print to stdout only in verbose modeRémi Verschelde
Equivalent of the cumbersome: if (OS::get_singleton()->is_stdout_verbose()) print_line(msg);
2018-08-17Mono: Improve C# core files (glue/cs_files) buildsystemIgnacio Etcheverry
- Search C# files recursively in 'glue/cs_files'. - Determine a version for the C# core files automatically. The latest modified time will do for now.
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-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-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-20Makes Mono bindings partial & adds GetNode<T>.Pieter-Jan Briers
2018-07-20Add Array and Dictionary wrapper classes to C#Ignacio Etcheverry
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-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-04Mono: Pending exceptions and cleanupIgnacio Etcheverry
2018-06-06allow undefined GODOT_DEBUG_MSBUILD environment variableKelly Thomas
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
2018-05-17fixes build error on Linux after its introduction in #18949Michele Valente
The function expects now a return value. Returning NULL seems to work in this case.
2018-05-17Mono: Project building fixesIgnacio Etcheverry
- Set (Csc/Vbc/Fsc)ToolExe environment variables to point to the batch files in Mono's bin directory when building with Mono's MSBuild. - Set Mono's MSBuild as the default build tool on Windows. - Generate projects with portable DebugType instead of full.
2018-04-28Mono: BindingsGenerator enum fixesIgnacio Etcheverry
- Make enums have an unique signature name of int. This means that when generating internal methods, there is no difference between different enums types nor between enums and int. This way enums can re-use internal methods. - Make type resolver fallback to int if a type is not found and it's an enum.
2018-04-24Merge pull request #18399 from neikeq/uIgnacio Etcheverry
Mono fixes
2018-04-24Mono: Fix '!t' error messages when generating bindingsIgnacio Etcheverry
This error wasn't affecting the bindings generation process.
2018-04-09Merge pull request #17864 from NikodemL/fix_mono_bottom_panel_issue_activatedIgnacio Etcheverry
Fixed mono bottom panel to select the correct file when messages are filtered
2018-03-30Fixed _issue_activated to take the correct issue id from the listNikodem Lokatelj
2018-03-27Move GodotSharp and MonoBuildTab member variables to initializer listWilson E. Alvarez
2018-03-04[mono] write classes with no constructor as abstractPaul Joannon
2018-02-25Mono: Better versioning and gracefully unloading of Godot API assembliesIgnacio Etcheverry
2018-02-24Merge pull request #16986 from neikeq/issue-16983Ignacio Etcheverry
Mono: Fix bindings for parameters in vararg methods
2018-02-24Mono: Fix bindings for parameters in vararg methodsIgnacio Etcheverry
2018-02-22Mono: Add project export pluginIgnacio Etcheverry
2018-02-21Update warning about C# supportRémi Verschelde
2018-02-18Merge pull request #16746 from PJB3005/18-02-16-fix-nodepath-pascalcaseIgnacio Etcheverry
Makes NodePath and RID follow PascalCase in C#.
2018-02-18Merge pull request #16747 from PJB3005/18-02-16-nodepath-tostringIgnacio Etcheverry
Give C# NodePath a ToString().
2018-02-17Mono: Fix build status iconsIgnacio Etcheverry
2018-02-16Makes NodePath and RID follow PascalCase in C#.Pieter-Jan Briers
Fixes #15685
2018-02-16Give C# NodePath a ToString().Pieter-Jan Briers
It already had an implicit cast operator to string, but this doesn't get used in say string formatting. So now something like $"path: {GetPath()}" works.
2018-02-14Merge pull request #15574 from paulloz/mono-build-project-buttonRémi Verschelde
Change 'Build Project' button style in Mono panel
2018-02-01Fix inconsistencies and typos in argument namesPaolo Perkovic
2018-01-27Mono: Fix method_bind fields being generated as instance membersIgnacio Etcheverry
2018-01-25Mono: Fix NodePath and RID bindingsIgnacio Etcheverry
2018-01-22Mono: Display opt-out warning in editor about WIP statusRémi Verschelde
This ensures that all users of the Mono flavour of Godot 3.0 are aware of its current shortcomings (no export, crashes and usability issues). The dialog is shown each time the editor is started, until the checkbox is disabled (i.e. until users will have actually read it). Fixes #15956.
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-12Mono: Fix starting MonoDevelop process from the wrong appdomainIgnacio Etcheverry