aboutsummaryrefslogtreecommitdiff
path: root/modules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Enet: Add wait time param to close_connection()mhilbrunner2018-05-072-23/+63
| | | | | | | | Enet: Allow to set client interface/address and port Enet: More error checks Fix comment
* round / ceil methods for c sharp vectorsKelly thomas2018-05-042-0/+15
|
* Merge pull request #18406 from YeldhamDev/script_templates_periodMax Hilbrunner2018-05-042-2/+2
|\ | | | | Changed periods in the script templates
| * Changed periods in the script templates.Michael Alexsander Silva Dias2018-05-022-2/+2
| |
* | Merge pull request #16418 from bojidar-bg/15961-gdscript-array-exportRémi Verschelde2018-05-031-30/+28
|\ \ | | | | | | Allow exporting arrays of resources in GDScript
| * | Allow exporting arrays of resources in GDScriptBojidar Marinov2018-02-051-30/+28
| | | | | | | | | | | | Fixes #15961
* | | Merge pull request #18589 from karroffel/oahashmap-robinhoodJuan Linietsky2018-05-033-4/+4
|\ \ \ | | | | | | | | updated OAHashMap to use robinhood hashing
| * | | updated OAHashMap to use robinhood hashingkarroffel2018-05-033-4/+4
| | | |
* | | | Merge pull request #18514 from neikeq/api-hash-fixesRémi Verschelde2018-05-031-0/+2
|\ \ \ \ | |/ / / |/| | | API hash fixes
| * | | Fix binding some core API methods only in tools buildsIgnacio Etcheverry2018-04-291-0/+2
| | | |
* | | | Merge pull request #18562 from neikeq/issue-18526Ignacio Etcheverry2018-05-021-2/+2
|\ \ \ \ | | | | | | | | | | Fix MSVC check when building with mono
| * | | | Fix MSVC check when building with monoIgnacio Etcheverry2018-05-021-2/+2
| |/ / /
* | | | Merge pull request #18561 from neikeq/fix-find-msbuild-2Ignacio Etcheverry2018-05-021-0/+2
|\ \ \ \ | | | | | | | | | | Fix editor detecting msbuild with a msvc 'tools only' install
| * | | | Fix editor detecting msbuild with a msvc 'tools only' installIgnacio Etcheverry2018-05-021-0/+2
| |/ / /
* | | | Merge pull request #18553 from ↵Rémi Verschelde2018-05-021-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | bzztbomb/fix/stack_underflow_when_debuggin_in_release Fix a crash when trying to run Godot debugger on a release build.
| * | | | Fix a crash when trying to run Godot debugger on a release build.Brian Richardson2018-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | The GDScriptLanguage::enter_function is wrapped in #ifdef DEBUG but the exit_function is not, resulting in a stack underflow error.
* | | | | Merge pull request #18452 from flashyincceo/enum-no-classRémi Verschelde2018-05-021-0/+12
|\ \ \ \ \ | | | | | | | | | | | | Fix enums without class name not opening docs page
| * | | | | Fix enums without class name not opening docs pagePeter Folkins2018-05-011-0/+12
| | | | | |
* | | | | | Merge pull request #18531 from KidRigger/issue5972Rémi Verschelde2018-05-021-0/+7
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Adds keywords to autocomplete predictions.
| * | | | | Adds keywords to autocomplete predictions.Anish2018-05-011-0/+7
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds keywords to the autocomplete prediction in GDScript so they are not replaced by irrelevant predictions. Fixes: #5972
* | | | | Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde2018-05-014-6/+6
|\ \ \ \ \ | | | | | | | | | | | | Fix Coverity reports of uninitialized scalar variable
| * | | | | Fix Coverity reports of uninitialized scalar variableRémi Verschelde2018-04-194-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | | | Merge pull request #18334 from Faless/coverity_netRémi Verschelde2018-05-011-2/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | Various coverity scan fixes, WS FreeBSD fixes
| * | | | | | Various coverity scan fixes for networkingFabio Alessandrelli2018-04-211-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix FreeBSD websocket compilation error
* | | | | | | Merge pull request #18321 from Crazy-P/Fixes-logically-dead-codeRémi Verschelde2018-05-012-8/+3
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | Fixes logically dead code (Coverity)
| * | | | | | Fixes logically dead code (Coverity)Crazy-P2018-04-212-8/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge pull request #18523 from hpvb/fix-clang-ltoMax Hilbrunner2018-04-301-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix lto builds on clang compilers
| * | | | | | Fix lto builds on clang compilersHein-Pieter van Braam2018-04-301-2/+2
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / | | | | Fix msbuild with a msvc 'tools only' installHein-Pieter van Braam2018-04-301-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Mono: BindingsGenerator enum fixesIgnacio Etcheverry2018-04-282-93/+117
| | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | | | Add poly triangulation order check, ensures faces do not flip on different orderJuan Linietsky2018-04-281-27/+33
| | | | |
* | | | | -Changed how operators work, any shape can operate on any otherJuan Linietsky2018-04-283-131/+105
| | | | | | | | | | | | | | | | | | | | -Added some break condition for bad poly data to avoid editor freezes
* | | | | Avoid CSG freeze condition on degeneratesJuan Linietsky2018-04-281-0/+3
| | | | |
* | | | | Do not crash if the polygon is invalidJuan Linietsky2018-04-281-0/+3
| | | | |
* | | | | Reduce false positives in interior detection by adding a small offset to ↵Juan Linietsky2018-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | raycast, fixes #18476
* | | | | CSG Support for Godot!Juan Linietsky2018-04-2710-0/+4643
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | -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!
* | | | Add option to link mono statically on WindowsIgnacio Etcheverry2018-04-251-14/+28
| | | |
* | | | Merge pull request #18399 from neikeq/uIgnacio Etcheverry2018-04-242-17/+24
|\ \ \ \ | | | | | | | | | | Mono fixes
| * | | | Mono: Fix '!t' error messages when generating bindingsIgnacio Etcheverry2018-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | This error wasn't affecting the bindings generation process.
| * | | | Mono: Do not spam script class not found errorIgnacio Etcheverry2018-04-241-10/+9
| | | | | | | | | | | | | | | | | | | | 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.
| * | | | Mono: Fix crash on script load if the scripts domain isn't loadedIgnacio Etcheverry2018-04-241-6/+14
| | | | |
* | | | | Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-223-10/+10
| |/ / / |/| | |
* | | | Merge pull request #18119 from sheepandshepherd/nativescript_property_listRémi Verschelde2018-04-191-4/+3
|\ \ \ \ | |_|/ / |/| | | Fix NativeScript property list order
| * | | Fix NativeScript property listsheepandshepherd2018-04-111-4/+3
| | | |
* | | | Merge pull request #18204 from tagcup/quat_scaleRémi Verschelde2018-04-182-5/+5
|\ \ \ \ | | | | | | | | | | Avoid converting Quat to Euler angles when not necessary.
| * | | | Avoid converting Quat to Euler angles when not necessary.tagcup2018-04-142-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #18142 from AndreaCatania/coverity1Rémi Verschelde2018-04-181-8/+2
|\ \ \ \ \ | | | | | | | | | | | | Removed useless check
| * | | | | Removed useless checkAndrea Catania2018-04-121-8/+2
| | | | | |
* | | | | | #18051: Fix indentation issues introduced during clean upXavier Cho2018-04-176-16/+16
| | | | | |
* | | | | | #18051: Do not use `var` in a for-loop, or where type is not obviousXavier Cho2018-04-177-22/+22
| | | | | |