summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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-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
2018-04-09Merge pull request #18040 from Paulb23/color_region_cacheRémi Verschelde
Fixed colour regions and added local colour region cache
2018-04-09Fixed area overlap cleaningAndrea Catania
2018-04-09Merge pull request #17864 from NikodemL/fix_mono_bottom_panel_issue_activatedIgnacio Etcheverry
Fixed mono bottom panel to select the correct file when messages are filtered
2018-04-08Merge pull request #16556 from aragar/masterJuan Linietsky
For-in loop variable added to autocompletion
2018-04-07Merge pull request #17583 from RandomShaper/enhance-uri-utilsJuan Linietsky
Enhance uri utils
2018-04-07Merge pull request #17730 from RandomShaper/radio-buttons-in-menusJuan Linietsky
Radio buttons in menus
2018-04-07Fixed color regions and added local color region cachePaulb23
2018-04-07Correct profiling_frame naming in pluginscriptEmmanuel Leblond
2018-04-06Fix Pluginscript add_global_constant mandatory value checkEmmanuel Leblond
2018-04-06Merge pull request #17899 from AndreaCatania/area_cleaningRémi Verschelde
Fixed physics server area cleaning
2018-04-06Fixed physics server area cleaningAndrea Catania
2018-04-06[NativeScript] replace error macros by simple returnskarroffel
2018-04-05Merge pull request #17980 from karroffel/nativescript-1.1-global-type-tagsThomas Herzog
[NativeScript] added global type tag system
2018-04-05Merge pull request #17806 from Zylann/fix_heightmap_shape_size_checkRémi Verschelde
Make heightmap shape usable in PhysicsServer
2018-04-05[NativeScript] added global type tag systemkarroffel
2018-04-04Renamed GDSyntaxHighlighter to GDScriptSyntaxHighlighterPaulb23
2018-04-04Merge pull request #17965 from karroffel/gdnativelib-config-apiThomas Herzog
[GDNative] some GDNativeLibrary improvements
2018-04-04[GDNative] enable saving GDNativeLibrary as sub resourcekarroffel
2018-04-04[GDNative] easier GDNativeLib handlingkarroffel