summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-08-30Merge pull request #41613 from neikeq/possiblyRémi Verschelde
Fix clang-tidy warnings due to semicolon after mono module macros
2020-08-30Merge pull request #41611 from neikeq/issue-41444Rémi Verschelde
C#: Fix crash on export when incorrectly freeing MonoAssemblyName
2020-08-30Fix clang-tidy warnings due to semicolon after mono module macrosIgnacio Etcheverry
This also enforces them to end with a semicolon.
2020-08-30C#: Fix InvalidCastException on exportIgnacio Etcheverry
2020-08-30C#: Fix crash on export when incorrectly freeing MonoAssemblyNameIgnacio Etcheverry
2020-08-29Mono: Improve MSBuildFinder logic on WindowsThaina Yu
Support detecting both 32-bit and 64-bit installations of `vswhere.exe`.
2020-08-28Cross-reference GDScript built-in rounding methods to ease discoveryHugo Locurcio
This closes #19315.
2020-08-28Merge pull request #41547 from vnen/gdscript-2-fixesRémi Verschelde
Some more GDScript fixes
2020-08-26GDScript: Fix crash when parsing propertiesGeorge Marques
2020-08-26GDScript: Show error when there's an inheritance cycleGeorge Marques
2020-08-26GDScript: Add recursion depth limit for completionGeorge Marques
To avoid crashes when there's a dependency loop.
2020-08-26GDScript: Fix crash when completing code with signalsGeorge Marques
2020-08-26GDScript: Fix issues when deriving from other scriptsGeorge Marques
2020-08-25Merge pull request #40443 from SkyLucilfer/PluralsSupportRémi Verschelde
Added plurals and context support to Translation
2020-08-25Fix regression in FBX import caused by Skeleton3DLyuma
A change in commit f7fdc87 changed the Skeleton3D "pose" property from PROPERTY_USAGE_EDITOR to PROPERTY_USAGE_NOEDITOR. This should have had no effect, however it turns out assimp was assigning to the pose property. This change adjusts the FBX import to only get_bone_rest/set_bone_rest, not set_bone_pose.
2020-08-24GDScript: Don't fail to load constants if they're not a literalGeorge Marques
It's still okay as long as it's a constant value. This should already been validated by the analyzer.
2020-08-24C#: Fix 'Parameter toolsPath cannot be null' errorIgnacio Etcheverry
2020-08-23GDScript: Properly resolve external inner classes from preloadGeorge Marques
This gets the correct parser and class node when resolving from a full GDScript reference.
2020-08-23GDScript: Use pointer instead of references in cacheGeorge Marques
They are not supposed to be kept alive and this is cleaner and less error-prone than unreferencing the elements.
2020-08-23Merge pull request #41238 from MarianoGnu/gdscript-export-resourceGeorge Marques
Fix GdScript Analyzier not detecting Resource subclass correctly
2020-08-21Merge pull request #41410 from neikeq/no-bom-on-csproj-creationRémi Verschelde
C#: Save newly created csproj files without BOM
2020-08-21Merge pull request #41409 from neikeq/fix-null-in-msbuild-loggerRémi Verschelde
C#: Fix null exception in our MSBuild logger
2020-08-21C#: Save newly created csproj files without BOMIgnacio Etcheverry
2020-08-21C#: Fix null exception in our MSBuild loggerIgnacio Etcheverry
2020-08-21Mono/C#: Fix editor using wrong project assembly path in rare casesIgnacio Etcheverry
We were removing invalid path characters from the name in C++ code, but the C# editor code wasn't.
2020-08-19Merge pull request #41381 from vnen/gdscript-2-fixesRémi Verschelde
A few more GDScript fixes
2020-08-19GDScript: Make subscript access be properly type checkedGeorge Marques
2020-08-19GDScript: Show error when function return type is missingGeorge Marques
2020-08-19GDScript: Fix signal parameters not respecting commasGeorge Marques
2020-08-19GDScript: Check duplicate keys in dictionaries and enumsGeorge Marques
2020-08-19GDScript: Allow preload() to be used with constant expressionsGeorge Marques
2020-08-19GDScript: Allow keywords to be used in $ notationGeorge Marques
2020-08-19Update GDScriptTranslationParserPlugin to use GDSriptParser instead of RegEx.SkyJJ
2020-08-19Update POT generation to handle context and pluralsSkyJJ
2020-08-19Merge pull request #41362 from neikeq/fix-play-issues-after-ide-play-requestRémi Verschelde
C#: Fix editor unable to play game after IDE PlayRequest
2020-08-19C#: Fix editor unable to play game after IDE PlayRequestIgnacio Etcheverry
The editor wasn't clearing the debugger agent settings properly after a processing a play request from an IDE. This caused consequent play attempts to fail if not launched from the IDE, as the game would still attempt and fail to connect to the debugger. The concrete cause: Forgetting to clear the `GODOT_MONO_DEBUGGER_AGENT` environment variable.
2020-08-18Merge pull request #41352 from Calinou/bmp-loader-error-explanationsRémi Verschelde
Add more error explanations in the BMP image loader
2020-08-18GDScript: Allow enum values to be set to constant expressionsGeorge Marques
Also allow them to access previous values wihout referencing the enum.
2020-08-18GDScript: Allow supertype objects to be assigned to a subtype variableGeorge Marques
It allows `get_node()` to be used with typed variables This is marked as unsafe to warn the user.
2020-08-18Add more error explanations in the BMP image loaderHugo Locurcio
This closes #32166 and closes #30629.
2020-08-18GDScript: Allow implicit type conversion when constructing variantsGeorge Marques
Incidentally fix error message when no valid constructor is found which was missing an end parenthesis.
2020-08-18GDScript: Add script to cache on reloadGeorge Marques
This ensures that scripts created without a resource loader are properly included in the cache (such as builtin scripts) and are not tried to be loaded from the disk.
2020-08-17GDScript: Allow empty files to be valid scriptsGeorge Marques
2020-08-17GDScript: Fix crash when superclass file is non-existentGeorge Marques
Incidentally, allow EOF to be an end of statement.
2020-08-17GDScript: Fix LSP getting wrong union value on unnamed enumsGeorge Marques
2020-08-17GDScript: Fix editor crash when writing @tool annotationGeorge Marques
2020-08-17GDSript: Prevent crash when completing unary operatorsGeorge Marques
2020-08-17GDScript: Allow "match" to be used as an identifierGeorge Marques
This is needed to call the String.match() function.
2020-08-17GDScript: Fix wrong argument check for formatting operatorGeorge Marques
2020-08-16Port ClassDB tests to use doctestAndrii Doroshenko (Xrayez)
Extracted the most minimal core initialization functionality from `setup()` and `setup2()` so that `ClassDB` could be tested properly (input, audio, rendering, physics etc, are excluded). Display and rendering servers/singletons are not initialized at all. Due to the fact that most subsystems are disabled, fixed various crashes in the process (in order): - `AcceptDialog` OK/cancel swap behavior (used `DisplayServer` while `register_scene_types()`); - `make_default_theme` which depends on `RenderingServer`; - `XRServer` singleton access while calling `register_modules_types()`; - hidden bug in a way joypads are cleaned up (MacOS and Linux only). Removed manual `ClassDB` init/cleanup calls from `test_validate_testing.h`. ClassDB tests: Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>