summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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-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-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-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
2018-04-17Remove duplicated declaration of RoundToInt() from MathfXavier Cho
2018-04-15Remove incorrect & potentially confusing references to EulerWill Vincent
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion. e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
2018-04-14Avoid converting Quat to Euler angles when not necessary.tagcup
Also ensure that get_scale doesn't arbitrarlity change the signs of scales, ensuring that the combination of get_rotation and get_scale gives the correct basis. Added various missing functions and constructors. Should close #17968.
2018-04-13Merge pull request #18154 from mhilbrunner/issue-12512Fabio Alessandrelli
Add DNS resolution in NetworkedMultiplayerEnet::create_client()
2018-04-13Add DNS resolution in NetworkedMultiplayerEnet::create_client()mhilbrunner
2018-04-13Merge pull request #18038 from Chaosus/mathfIgnacio Etcheverry
[Mono] Improvements for Mathf
2018-04-13[Mono] Improve MathfChaosus
2018-04-12Revert "Unify http- and percent- encode/decode"Pedro J. Estébanez
This reverts commit b76ee30917c63211ac9e94a21bebbddf518d169f.
2018-04-12Implement get_peer_[address|port] in ENet/WSServerFabio Alessandrelli
Also implement get_connected_host and get_connected_port in WebSocketPeer (not supported in HTML5 due to browser limitation). Add shorthand disconnect_peer(id) for get_peer(id)->close() like in ENet to WebSocketServer.
2018-04-12Removed useless checkAndrea Catania
2018-04-12Fixed wrong function callAndrea Catania
2018-04-12Rigidbody wake up when hitten by a kinematic bodyAndrea Catania
2018-04-11Fix NativeScript property listsheepandshepherd
2018-04-10Merge pull request #18070 from mhilbrunner/godot-net-kickFabio Alessandrelli
NetworkedMultiplayerEnet: Add disconnecting/kicking peers
2018-04-10NetworkedMultiplayerEnet: Add disconnecting/kicking peersmhilbrunner
2018-04-10doc: Sync classref with current sourceRémi Verschelde
2018-04-09Merge pull request #18081 from AndreaCatania/arcleRémi Verschelde
Corrected area overlap cleaning