summaryrefslogtreecommitdiff
path: root/modules/mono/editor
AgeCommit message (Collapse)Author
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
2018-01-10Change 'Build Project' button style in Mono panelPaul Joannon
Address #15208
2018-01-09Merge pull request #15463 from neikeq/the-stack-frame-madnessRémi Verschelde
Mono: Implement stack info for errors and exceptions
2018-01-09Mono: Fix iteration order of object types when generating bindingsIgnacio Etcheverry
2018-01-09External editor fixesIgnacio Etcheverry
- Fix VS Code opening on the previous line to the desired one. - Fix running MonoDevelop without the line and column parameters. - Fix `ScriptEditor::_goto_script_line` not working with language overriden external editors.
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
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-01-01Mono: Change BindingsGenerator singleton to avoid StringName leaksIgnacio Etcheverry
2018-01-01Mono: Script lifetime fixesIgnacio Etcheverry
- alloc_language_binding: Use strong GC handle as well for references. Fixes #15138 - Set the native instance field of Godot.Object to IntPtr.Zero when it's freed. - Create weak handles without tracking resurrection (that was causing trouble). This means we have to call notification predelete before queueing a native Object for deletion, and use the MonoObject* passed by the finalizer because the weak GC handle target will return NULL at this point.
2017-12-29Mono: Bindings no longer relie on DocData for accessorsIgnacio Etcheverry