summaryrefslogtreecommitdiff
path: root/modules/mono/editor
AgeCommit message (Collapse)Author
2019-06-03Android build and export for the mono moduleIgnacio Etcheverry
2019-05-29Escape quote char for non-Windows OSShyRed
Quote char appears to be ignored by ProcessStartInfo on non-Windows operating systems, so it needs to be escaped.
2019-05-26Add Godot constants to Mono project buildsShyRed
This adds constants to projects build via Godot Mono which allows project to conditionally react to different operating systems and 32/64 Bit architecture. Additionally .NET libraries could support multiple engines like Unity and Godot at the same time when compiled from Godot and reacting to definitions.
2019-05-24C#: Implement ScriptInstance::to_stringIgnacio Etcheverry
Create a blacklist of methods that must not be generated. Includes: "to_string", "_to_string" and "_init".
2019-04-29Merge pull request #28423 from ↵Rémi Verschelde
neikeq/dont-forget-to-think-a-name-for-this-branch C#: Deprecate accessor methods and generate correct int and float types
2019-04-27C#: Generate the correct integer and floating point typesIgnacio Etcheverry
2019-04-26Mono: Lazily load scripts metadata fileIgnacio Etcheverry
- Only load the scripts metadata file when it's really needed. This way we avoid false errors, when there is no C# project, about missing scripts metadata file.
2019-04-25C#: Mark generated property accessor methods as ObsoleteIgnacio Etcheverry
- Methods that act as accessors for properties in the same class (like `GetPosition` and `SetPosition` are for `Position`) are now marked as obsolete. They will be made private in the future.
2019-04-25C# bindings generator cleanupIgnacio Etcheverry
- Normal log messages are no longer warnings. - BindingsGenerator is no longer a singleton. - Added a log function.
2019-04-19Use StringBuilder in C# bindings generatorIgnacio Etcheverry
- Also fixed generation of empty summary comments when no comment should have been generated.
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-08Merge pull request #27809 from neikeq/github-plsIgnacio Roldán Etcheverry
Workaround for syntax highlighting issue in GitHub
2019-04-08Workaround for syntax highlighting issue in GitHubIgnacio Etcheverry
2019-04-08Merge pull request #27711 from neikeq/ifdef-clang-tidyRémi Verschelde
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-05Replace a few #if/#elif with #ifdef and "#elif defined"Ignacio Etcheverry
2019-04-05Merge pull request #27677 from akien-mga/Wimplicit-fallthroughRémi Verschelde
Fix -Wimplicit-fallthrough warnings from GCC 8
2019-04-05Merge pull request #27465 from ↵Rémi Verschelde
neikeq/road-to-lang-agnostic-docs-is-going-to-be-tough EditorHelp: Improve enum ref resolving and add constant ref support
2019-04-05Fix -Wimplicit-fallthrough warnings from GCC 8Rémi Verschelde
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional. Can be replaced by `[[fallthrough]]` if/when we switch to C++17. The warning is now enabled by default for GCC on `extra` warnings level (part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet, but we could enable it manually once we switch to C++11. There's no equivalent feature in MSVC for now. Fixes #26135.
2019-03-29EditorHelp, makerst: Improve enum ref resolving and constant ref supportIgnacio Etcheverry
Enum reference resolving will now search in the @GlobalScope if no class is specified and the enum cannot be resolved in the current class. Added support for constant references in EditorHelp, e.g.: [constant KEY_ENTER] or [constant Control.FOCUS_CLICK]. It supports enum constants (the enum name must not be included).
2019-03-29C#: Add DynamicGodotObject classIgnacio Etcheverry
Expands to Object.call, Object.set and Object.get for accessing members. This means it can also access members from scripts written in other languages, like GDScript.
2019-03-23Merge pull request #27359 from neikeq/who-reads-docs-anywayIgnacio Roldán Etcheverry
C#: Bindings generator now translates BBCode docs to XML comments
2019-03-23C#: Bindings generator now translates BBCode docs to XML commentsIgnacio Etcheverry
2019-03-20Fix parsing of generic type declarations in C# source files.Sebastian Hartte
2019-03-12Mono: Update welcome message with current stateRémi Verschelde
2019-03-06Merge pull request #26713 from neikeq/print-msbuild-commandRémi Verschelde
Print MSBuild command if also printing output
2019-03-06Print MSBuild command if also printing outputIgnacio Etcheverry
2019-03-06Merge pull request #26712 from neikeq/issue-26681Ignacio Etcheverry
Mono: Make 'Build' button generate solution if it doesn't exist
2019-03-06Mono: Make 'Build' button generate solution if it doesn't existIgnacio Etcheverry
2019-03-04Mono: Add option to print MSBuild output and improve out of sync errorIgnacio Etcheverry
2019-03-01C#: Fix parsing of class full name when the base has genericsIgnacio Etcheverry
Also we no longer ignore base classes with generics, since we don't really care about that.
2019-02-28Mono: Make sure the generated RootNamespace is a valid identifierIgnacio Etcheverry
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?