summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2019-07-22Mono: Fix editor API assembly not being updatedIgnacio Etcheverry
If both the core and editor API assemblies are missing or out of sync, Godot will only update the former and then abort when trying to load them again because the latter was not updated. Godot will update it correctly the next time it's started, but this should not be needed and it should work the first time. This commit fixes that.
2019-07-20Merge pull request #30710 from neikeq/issue-30526Ignacio Roldán Etcheverry
Fix mono module build errors for release templates
2019-07-20Fix mono module build errors for release templatesIgnacio Etcheverry
2019-07-20Merge pull request #30693 from Chaosus/lerp_angleRémi Verschelde
Added lerp_angle built-in function
2019-07-20Merge pull request #30698 from Anutrix/assimp-pass-by-refRémi Verschelde
Changed large const string values to const string ref in some assimp functions
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Added lerp_angles built-in functionChaosus
Co-authored-by: Xrayez <https://github.com/Xrayez> Co-authored-by: DleanJeans <https://github.com/DleanJeans>
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-20Changed large const string values to string ref in some assimp functionsunknown
2019-07-19Remove added pluginscript resource format loaders and savers on cleanupIvan Hilaire
Properly release added resource loader and save references. Otherwise PluginScript API may cause "ObjectDB Instances still exist!" warnings and segmentation faults on exit.
2019-07-19Merge pull request #23310 from aaronfranke/posmod-intRémi Verschelde
Add integer posmod and rename default arg names
2019-07-19Visualscript: Add types for base type get and set.K. S. Ernest (iFIre) Lee
2019-07-18Add integer posmod and rename default arg namesAaron Franke
"posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator. I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement.
2019-07-18Merge pull request #30648 from NilsIrl/useless_castsRémi Verschelde
Remove useless casts to String
2019-07-17Fix stack underflows when yielding twiceBojidar Marinov
Also, refactor GDScriptFunctionState::_signal_callback, removing some excessive repetition. Fixes #30269.
2019-07-17Fix BMP loader to distinguish between compression typesAndrii Doroshenko (Xrayez)
Some of the values in compression enumeration represent uncompressed formats: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/4e588f70-bd92-4a6f-b77f-35d0feaf7a57 This allows the loader to proceed with uncompressed formats. Note that loading compressed BMP's is still not supported.
2019-07-17Remove useless casts to StringNils ANDRÉ-CHANG
2019-07-17Fix BMP loader incorrectly interpreting color table sizeAndrii Doroshenko (Xrayez)
Color table should exist for images with bit count <= 8. Importing 16-bit BMP images could also likely have a color table but they're not currently supported in Godot.
2019-07-16Merge pull request #30567 from NilsIrl/static_func_inside_classRémi Verschelde
Show static functions inside classes in method list
2019-07-15doc: Sync classref with current sourceRémi Verschelde
2019-07-15Show static functions inside classes in method listNils ANDRÉ-CHANG
2019-07-15Merge pull request #30552 from kawa-yoiko/match-unreachableRémi Verschelde
Fix unreachable code detection in match statements
2019-07-14Merge pull request #30584 from neikeq/yattaIgnacio Roldán Etcheverry
Mono: Better handling of missing/outdated API assemblies
2019-07-14Mono: Better handling of missing/outdated API assembliesIgnacio Etcheverry
Remove the old API assembly invalidation system. It's pretty simple since now the editor has a hard dependency on the API assemblies and SCons takes care of prebuilding them. If we fail to load a project's API assembly because it was either missing or outdated, we just copy the prebuilt assemblies to the project and try again. We also do this when creating the solution and before building, just in case the user removed them from the disk after they were loaded. This way the API assemblies will be always loaded successfully. If they are not, it's a bug. Also fixed: - EditorDef was behaving like GlobalDef in GodotTools. - NullReferenceException because we can't serialize System.WeakReference yet. Use Godot.WeakRef in the mean time.
2019-07-13Fix unreachable code detection in match statementsShiqing
2019-07-11Merge pull request #30129 from fire/xatlas_updateRémi Verschelde
[WIP] Update xatlas to latest upstream commit (1efe581).
2019-07-11Some small fixes to warnings in python scriptsunknown
2019-07-11Mono: Add old TTRs to GodotToolsIgnacio Etcheverry
2019-07-11pcre2: Update to upstream version 10.33Rémi Verschelde
2019-07-10Merge pull request #30502 from neikeq/chotto-matte-kudasaiIgnacio Roldán Etcheverry
Mono: Fix Api HintPath and update old game projects
2019-07-10Merge pull request #30501 from neikeq/dispose-godotsharpexportIgnacio Roldán Etcheverry
Mono: Fix null dereference in EditorExportPlatformAndroid
2019-07-10Mono: Fix Api HintPath and update old game projectsIgnacio Etcheverry
Fixed Api assembly references with more than one HintPath. Also made the editor update old C# projects use the new Api assembly HintPaths.
2019-07-10Mono: Fix null dereference in EditorExportPlatformAndroidIgnacio Etcheverry
We need to dispose the GodotSharpExport export plugin before the editor destroys EditorSettings. Otherwise, if the GC disposes it at a later time, EditorExportPlatformAndroid will be freed after EditorSettings already was, and its device polling thread will try to access the EditorSettings singleton, resulting in null dereferencing.
2019-07-10Merge pull request #30486 from neikeq/fix-indexoutofbounds-msbuildfinderIgnacio Roldán Etcheverry
Fix IndexOutOfBounds in FindMsBuildToolsPathOnWindows
2019-07-10Merge pull request #30455 from qarmin/const_referenceRémi Verschelde
Pass by reference to const
2019-07-10Merge pull request #30489 from neikeq/fix-nullexc-on-gengameprojIgnacio Roldán Etcheverry
Mono: Fix null exception in GenerateGameProject
2019-07-10Mono: Fix null exception in GenerateGameProjectIgnacio Etcheverry
Also fix pdb files for GodotTools.*.dll assemblies not being copied to the output directory.
2019-07-10Merge pull request #30485 from neikeq/remove-frameworkpathoverride-from-sconsIgnacio Roldán Etcheverry
SCons no longer passes FrameworkPathOverride to MSBuild
2019-07-10Fix IndexOutOfBounds in FindMsBuildToolsPathOnWindowsIgnacio Etcheverry
2019-07-10SCons no longer passes FrameworkPathOverride to MSBuildIgnacio Etcheverry
2019-07-10Mono: Add missing GodotTools.slnIgnacio Etcheverry
2019-07-10Use reference to constant in functionsqarmin
2019-07-09Update xatlas to b7d7bb.K. S. Ernest (iFire) Lee
2019-07-09Fix EditorNavigationMeshGenerator registered in Core APIIgnacio Etcheverry
Also added an option to output a json file with all the ClassDB registered classes and its members. This can be used to compare the API of two different builds by a simple diff.
2019-07-09Merge pull request #30463 from neikeq/fix-search-dirsRémi Verschelde
Fix export templates ignoring assemblies in 'res://.mono/assemblies'
2019-07-09Make SCons check for System MSBuild before Mono'sIgnacio Etcheverry
2019-07-09Fix export templates ignoring assemblies in 'res://.mono/assemblies'Ignacio Etcheverry
2019-07-09Merge pull request #30438 from Calinou/use-color-constructorsRémi Verschelde
Use base `Color()` constructors instead of `Color::html()`
2019-07-09Merge pull request #30434 from Faless/ws/wslay_fix_handshake_breakRémi Verschelde
Fix WebSocketClient consuming data during hanshake
2019-07-09Merge pull request #30428 from neikeq/gitcheckout-bRémi Verschelde
Misc Mono Fixes