summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2018-05-03Merge pull request #16418 from bojidar-bg/15961-gdscript-array-exportRémi Verschelde
Allow exporting arrays of resources in GDScript
2018-05-03Merge pull request #18589 from karroffel/oahashmap-robinhoodJuan Linietsky
updated OAHashMap to use robinhood hashing
2018-05-03updated OAHashMap to use robinhood hashingkarroffel
2018-05-03Merge pull request #18514 from neikeq/api-hash-fixesRémi Verschelde
API hash fixes
2018-05-02Merge pull request #18562 from neikeq/issue-18526Ignacio Etcheverry
Fix MSVC check when building with mono
2018-05-02Fix MSVC check when building with monoIgnacio Etcheverry
2018-05-02Merge pull request #18561 from neikeq/fix-find-msbuild-2Ignacio Etcheverry
Fix editor detecting msbuild with a msvc 'tools only' install
2018-05-02Fix editor detecting msbuild with a msvc 'tools only' installIgnacio Etcheverry
2018-05-02Merge pull request #18553 from ↵Rémi Verschelde
bzztbomb/fix/stack_underflow_when_debuggin_in_release Fix a crash when trying to run Godot debugger on a release build.
2018-05-02Merge pull request #18452 from flashyincceo/enum-no-classRémi Verschelde
Fix enums without class name not opening docs page
2018-05-02Merge pull request #18531 from KidRigger/issue5972Rémi Verschelde
Adds keywords to autocomplete predictions.
2018-05-01Fix a crash when trying to run Godot debugger on a release build.Brian Richardson
The GDScriptLanguage::enter_function is wrapped in #ifdef DEBUG but the exit_function is not, resulting in a stack underflow error.
2018-05-01Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde
Fix Coverity reports of uninitialized scalar variable
2018-05-01Fix enums without class name not opening docs pagePeter Folkins
2018-05-01Merge pull request #18334 from Faless/coverity_netRémi Verschelde
Various coverity scan fixes, WS FreeBSD fixes
2018-05-01Merge pull request #18321 from Crazy-P/Fixes-logically-dead-codeRémi Verschelde
Fixes logically dead code (Coverity)
2018-05-01Adds keywords to autocomplete predictions.Anish
Adds keywords to the autocomplete prediction in GDScript so they are not replaced by irrelevant predictions. Fixes: #5972
2018-04-30Merge pull request #18523 from hpvb/fix-clang-ltoMax Hilbrunner
Fix lto builds on clang compilers
2018-04-30Fix lto builds on clang compilersHein-Pieter van Braam
The --no-lto option only works on GCC compilers. This breaks LTO builds on MacOS and iPhone when building the gdnative wrappers. -fno-lto works on both brands of compilers.
2018-04-30Fix msbuild with a msvc 'tools only' installHein-Pieter van Braam
Taken from https://github.com/Microsoft/vswhere/wiki/Find-MSBuild without '-products *' vswhere does not locate msbuild when installing a tools-only (no IDE) version of the microsoft compilers.
2018-04-29Fix binding some core API methods only in tools buildsIgnacio Etcheverry
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-28Add poly triangulation order check, ensures faces do not flip on different orderJuan Linietsky
2018-04-28-Changed how operators work, any shape can operate on any otherJuan Linietsky
-Added some break condition for bad poly data to avoid editor freezes
2018-04-28Avoid CSG freeze condition on degeneratesJuan Linietsky
2018-04-28Do not crash if the polygon is invalidJuan Linietsky
2018-04-28Reduce false positives in interior detection by adding a small offset to ↵Juan Linietsky
raycast, fixes #18476
2018-04-27CSG Support for Godot!Juan Linietsky
-Missing Icons -Missing freezing option (for baking light and faster load) -Missing a way to export from Godot (GLTF2?) -Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs) Happy testing!
2018-04-25Add option to link mono statically on WindowsIgnacio Etcheverry
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-24Mono: Do not spam script class not found errorIgnacio Etcheverry
Print this error only when trying to instantiate the script. This way we prevent errors being printed for source files which are not meant to be used as scripts.
2018-04-24Mono: Fix crash on script load if the scripts domain isn't loadedIgnacio Etcheverry
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-21Fixes logically dead code (Coverity)Crazy-P
Fixes reported logically dead codes by Coverity * image.cpp: Doesn't really need any modification. But to remove the bug report then we have to move the MAX call away from the for loop statement. * rasterizer_gles3.cpp: Removes unnecessary elif condition since it is checked earlier in the function * collada.cpp: If stamement never reached due to macro ERR_CONTINUE does the same. * navigation_mesh.cpp: Variables should always be null - however, also checked for the very same condition in their function call. Leaving this for review (whether the function call is necessary or not) * path_editor_plugin.cpp: If cancel is true, then it should restore the edited value to the original provided. http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle * spatial_editor_gizmos.cpp: the very condition of i >= 3 is predetermined in the if case right before it. Thus case 1 is always '1' and case 2 is always '-1' * grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp * voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp * visual_server.cpp: Same as above in spatial_editor_gizmos.cpp * visual_script_expression.cpp: char '-' is already true in the switch case mechanism. Thus it can never reach to default case. * particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking right before the switch execution. * shader_language.cpp: Invalid index is handled in switch default case. `type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`) Fixes the "always false problem" in TODO comment.
2018-04-21Various coverity scan fixes for networkingFabio Alessandrelli
Fix FreeBSD websocket compilation error
2018-04-19Merge pull request #18119 from sheepandshepherd/nativescript_property_listRémi Verschelde
Fix NativeScript property list order
2018-04-19Fix Coverity reports of uninitialized scalar variableRémi Verschelde
Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-18Merge pull request #18204 from tagcup/quat_scaleRémi Verschelde
Avoid converting Quat to Euler angles when not necessary.
2018-04-18Merge pull request #18142 from AndreaCatania/coverity1Rémi Verschelde
Removed useless check
2018-04-17#18051: Fix indentation issues introduced during clean upXavier Cho
2018-04-17#18051: Do not use `var` in a for-loop, or where type is not obviousXavier Cho
2018-04-17#18051: Use common name for Color type argumentXavier Cho
2018-04-17#18051: Remove redundant verbatim prefixesXavier Cho
2018-04-17#18051: Use default parameter valueXavier Cho
2018-04-17#18051: Use array initializer when applicableXavier Cho
2018-04-17#18051: Remove redundant parenthesisXavier Cho
2018-04-17#18051: Remove unnecessary variable assignmentsXavier Cho
2018-04-17#18051: Use 'var' when applicableXavier Cho
2018-04-17#18051: Remove redundant casts and 'using', 'else', 'this' statementsXavier Cho