summaryrefslogtreecommitdiff
path: root/modules/mono/editor
AgeCommit message (Collapse)Author
2019-02-27Merge pull request #26159 from marxin/fix-Wsuggest-attribute=formatRémi Verschelde
Fix -Wsuggest-attribute=format warnings.
2019-02-27Fix -Wsuggest-attribute=format warnings.marxin
2019-02-27Mono: Some editor usability improvementsIgnacio Etcheverry
- Move "Mono" popup menu from the top right corner to `Projects -> Tools` as a submenu. - Add "Build solution" button to the top right corner. Makes it more visible and quicker to access. - Fix build list in the bottom panel unselect an item when clicking on empty space. Previously it would hide the issues panel but the item would remain selected, making it impossible to display the issues panel again if there was only one item.
2019-02-27Remove problematic VS Code hint path on WindowsIgnacio Etcheverry
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-19C#: Add 'Singleton' property to singleton wrapper classIgnacio Etcheverry
This property returns an instance of the singleton. The purpose of this is to allow using methods from the base class like 'Connect'. Since all Godot singletons inherit Object, the type of the returned instance is Godot.Object.
2019-02-12Merge pull request #25721 from neikeq/wwRémi Verschelde
Use script instance binding for objects constructed from C#
2019-02-11Merge pull request #25803 from neikeq/yyIgnacio Etcheverry
Windows: Default to system MSBuild and add VSCode hint path
2019-02-11Add VSCode hint path for WindowsIgnacio Etcheverry
2019-02-11Default to MSBuild from VS Build Tools instead of Mono'sIgnacio Etcheverry
Don't pass FrameworkPathOverride to MSBuild. It's causing issues with some nuget packages.
2019-02-10Merge pull request #25773 from neikeq/xxIgnacio Etcheverry
Do not initialize Mono if 'res://.mono/' and mscorlib are missing
2019-02-10Fix exporting assemblies from wrong output pathIgnacio Etcheverry
This is the whole reason 'fill_search_dirs' was added for, yet somehow I forgot to pass the config parameter.
2019-02-09Use script instance binding for objects constructed from C#Ignacio Etcheverry
Only possible if the object class is a "native type". If the object class is a user class (that derives a "native type") then a script is needed. Since CSharpLanguage does cleanup of script instance bindings when finished, cases like #25621 will no longer cause problems. Fixed ~Object() trying to free script instance bindings after the language has already been removed, which would result in a NULL dereference.
2019-02-08Mono: Create player script metadata when building manuallyIgnacio Etcheverry
Previously this was only done when building the script for running the game. This was a problem because the user could want to build the project manually with the "Build project" button, to then run the game from the command line or similar.
2019-02-05Mono: Workaround to fix 'flushing' errors when building at editor startupIgnacio Etcheverry
2019-02-03Mono: CleanupIgnacio Etcheverry
2019-01-21Mono: Add assembly reloading to running gamesIgnacio Etcheverry
Add environment variable to specify a custom --debugger-agent for mono.
2019-01-21Fix C# script metadata creation error due to missing directoryIgnacio Etcheverry
2019-01-21Workaround for bug with Mono's MSBuild and BaseIntermediateOutputPathIgnacio Etcheverry
BaseIntermediateOutputPath seems to be empty by default. The workaround is to explicitly set it. Also fixed passing char instead of char[] to String.Split. Why was this even working with Mono?
2019-01-18Merge pull request #25080 from neikeq/mm-cIgnacio Etcheverry
C# Bindings Generator: Fix vararg methods with custom return type
2019-01-18C# Bindings Generator: Fix vararg methods with custom return typeIgnacio Etcheverry
2019-01-18C#: Fix trying to build when there's no solutionIgnacio Etcheverry
This would cause errors that shouldn't happen unless there was something to build.
2019-01-08Use 'release_debug' for mono export templatesHein-Pieter van Braam
This fixes the previously wrong PR Because we don't actually ship 'debug' templates to users make sure the mono exporter picks the correct 'data' directory for export templates. This fixes #24752
2019-01-07Use 'release_debug' for mono export templatesHein-Pieter van Braam
Because we don't actually ship 'debug' templates to users make sure the mono exporter picks the correct 'data' directory for export templates. This fixes #24752
2019-01-03Merge pull request #24688 from Supatier/add-additional-vscode-nameRémi Verschelde
Add code-oss, vscode-oss, and visual-studio-code-oss to vscode path
2019-01-02Add code-oss, vscode-oss, and visual-studio-code-oss to vscode pathsupatier
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2019-01-01Fix missing/malformed license headersRémi Verschelde
2018-12-27Fix Godot unable to find VSCode binarySupatier
VSCode's executable name is not uniform and godot only search for "code".
2018-11-30Merge pull request #24091 from neikeq/iiIgnacio Etcheverry
C#: Improve tool script support and fix reloading issues
2018-11-30C#: Improve tool script support and fix reloading issuesIgnacio Etcheverry
2018-11-24Parse C# generics and type constraints correctlyCarter Anderson
2018-11-08Merge pull request #23505 from zorbathut/zorbathut/updateprojectIgnacio Etcheverry
Add option for automatic project updating.
2018-11-08Fix assertion fail when loading assembly on project exportIgnacio Etcheverry
2018-11-08Improve the C# API projects generationIgnacio Etcheverry
- Now there is only one solution that contains both GodotSharp and GodotSharpEditor project. Previously we had one solution for each project - GodotSharpEditor reference GodotShatp with a 'ProjectReference'. Previously it was a 'Reference' to the assembly - This also simplifies the command line option to generate this solution: 'godot --generate-cs-api <OutputDir>'
2018-11-04Add option for automatic project updating.Ben Rog-Wilhelm
2018-10-28Fix C# parsing the full name of base typesIgnacio Etcheverry
Previously it would fail if the type name included its namespace.
2018-10-25Parse C# script namespace and classIgnacio Etcheverry
- Added a very simple parser that can extract the namespace and class name of a C# script.
2018-10-25Fix msvc warnings in mono moduleIgnacio Etcheverry
- `modules\mono\csharp_script.cpp(576): warning C4099: 'CSharpScriptDepSort': type name first seen using 'class' now seen using 'struct'` - `modules\mono\signal_awaiter_utils.cpp(144): warning C4003: not enough actual parameters for macro 'ERR_FAIL_V'` - `modules\mono\editor\net_solution.cpp(101): warning C4129: '%': unrecognized character escape sequence` - (several) `modules\mono\glue\cs_compressed.gen.h(222): warning C4129: 'E': unrecognized character escape sequence`
2018-10-25Do not generate API project GUIDs randomlyIgnacio Etcheverry
2018-10-25Support globs in csproj includesIgnacio Etcheverry
2018-10-22Fix internal assembly load fromIgnacio Etcheverry
- Also make sure we load API assemblies from 'res://.mono/assemblies/'.
2018-10-19Merge pull request #23128 from neikeq/bbIgnacio Etcheverry
Make sure API assemblies are up to date at startup
2018-10-19Make sure API assemblies are up to date at startupIgnacio Etcheverry
- If there is a solution and C# project at startup, make sure API assemblies are up to date. - Fix prebuilt assemblies only being used when building the game project, and not in other instances.
2018-10-18Fix prefix erasing for the generated C# enum constantsIgnacio Etcheverry
2018-10-17C#: Optimize struct marshallingIgnacio Etcheverry
- We no longer box struct to return them from internal calls. - Use reinterpret_cast if the managed struct layout is the same as the native struct.
2018-10-16C# API: Hide method bind fields from debuggerIgnacio Etcheverry
2018-10-08Check if directory exists before trying to delete itIgnacio Etcheverry
2018-10-07C# bindings generator fixesIgnacio Etcheverry
- Fix unused bool local for MonoBoolean argument. - Append U to API hashes. Fixes warning: 'integer constant is so large that it is unsigned'
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f