summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2018-10-18Fix prefix erasing for the generated C# enum constantsIgnacio Etcheverry
2018-10-17C#: Optimize struct marshallingIgnacio Etcheverry
- We no longer box struct to return them from internal calls. - Use reinterpret_cast if the managed struct layout is the same as the native struct.
2018-10-16C# API: Hide method bind fields from debuggerIgnacio Etcheverry
2018-10-16Merge pull request #23018 from lupoDharkael/parse-bugRémi Verschelde
GDScriptTokenizer: Fix token_names order
2018-10-16Merge pull request #22991 from Paulb23/type_syntax_highlighting_fixesRémi Verschelde
Fix types highlighting outside of function args and var declarations, issues 22029,21638
2018-10-16Merge pull request #22548 from fire/visualscript_whitespaceRémi Verschelde
Visualscript search fixes
2018-10-14GDScriptTokenizer: Fix token_names orderlupoDharkael
2018-10-13Fix types highlighting outside of function args and var declarations, issues ↵Paulb23
22029,21638
2018-10-11Make visualscript search better.K. S. Ernest (iFire) Lee
* There were spaces unequally inside the function definitions. * camelcase_to_underscore() should also work for numbers inside of the camel case. * Removed the builtin concept * Capitalize descriptions from methods too. * Match the visual script functions by removing the empty arguments "( )" * Add some test cases
2018-10-11Fixed the problem with vector3 constructorthe 8th mage
Whenever there's a port change that may change the inputs, the default inputs will be recalculated. Moving the update port loop into its own function. Signed-off-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2018-10-08Merge pull request #22865 from neikeq/issue-22854Ignacio Etcheverry
Check if directory exists before trying to delete it
2018-10-08Check if directory exists before trying to delete itIgnacio Etcheverry
2018-10-08Fix multi-statement macro call not being covered.J08nY
2018-10-07Merge pull request #22808 from KellyThomas/vector-oneRémi Verschelde
Add ONE constants to Vector2 and Vector3
2018-10-07Merge pull request #22771 from guilhermefelipecgs/fix_inspector_previewRémi Verschelde
Fix inspector preview
2018-10-07Update class documentation xmlKelly Thomas
2018-10-07Fix inspector previewGuilherme Felipe
Remove script preview to inspector dock
2018-10-07Fix LWSClient connect_to_host string termination.Fabio Alessandrelli
Coming from strncpy might get you a non-NULL terminated buffer. The solution, if you accept trunction, is to give one less byte to strncpy and manually set the last char in the buffer to '\0'. If the source string is shorter, than the buffer is padded with '\0' automatically.
2018-10-07Merge pull request #22759 from AndreaCatania/pyfixRémi Verschelde
Some physics fixes for 3.1
2018-10-07C# bindings generator fixesIgnacio Etcheverry
- Fix unused bool local for MonoBoolean argument. - Append U to API hashes. Fixes warning: 'integer constant is so large that it is unsigned'
2018-10-07Merge pull request #22752 from aaronfranke/equals-redundantRémi Verschelde
Remove redundant "== true" and "== false" code
2018-10-07Merge pull request #22812 from neikeq/issue-22781Rémi Verschelde
Mono: Fix crash on NodePath/RID disposal during Godot shutdown
2018-10-07Optimitzed area overlap checksAndrea Catania
2018-10-06Mono: Fix crash on NodePath/RID disposal during Godot shutdownIgnacio Etcheverry
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-10-06Remove redundant "== true" codeAaron Franke
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-06Improved code that handles collision shapes, fixes #21945Andrea Catania
2018-10-06Fix compiler warnings in GDScript moduleGeorge Marques
2018-10-06Merge pull request #22796 from ↵Rémi Verschelde
KoderaSoftwareUnlimited/fix-segfault-mouse-move-related Reverts warning fix on release builds that caused segfault in release build
2018-10-06Revert cause of #22794Mariusz Chwalba
2018-10-06Merge pull request #22773 from KellyThomas/docs-linksRémi Verschelde
[Docs] Fix some broken links
2018-10-05Fixes to baker, restored xatlas and fixed bake options.Juan Linietsky
2018-10-06[Docs] Fix some broken linksKelly Thomas
2018-10-05Don't delete FileAccess when it is nullMarc Gilleron
2018-10-05Merge pull request #22769 from neikeq/issue-22765Rémi Verschelde
Fix C# API assembly build errors in generics
2018-10-05Fix C# API assembly build errors in genericsIgnacio Etcheverry
2018-10-05Fix build error for windows mono export templatesIgnacio Etcheverry
2018-10-05Merge pull request #22760 from zochris/loosen-generic-guardRémi Verschelde
Loosen generic guard on some methods
2018-10-05Merge pull request #22688 from neikeq/lotsofgoodiesRémi Verschelde
Mono: Editor and export template dependencies and fixes
2018-10-05loosen generic guard on method for ResourceLoaderzochris
For more details see #22658
2018-10-05Improved trimesh stabilityAndrea Catania
2018-10-05loosen generic guard on Node extension methodszochris
For more details see #22658
2018-10-05Removed wrong equal vertex thresold to GJK solverAndrea Catania
2018-10-05Added correct allowed penetration parameter to cast motion APIAndrea Catania
2018-10-04Fix some cppcheck errorsSimon Wenner
cppcheck: fix broken pre-processor statement cppcheck: fix Uninitialized struct members in canvas editor plugin cppcheck: fix uninitialized struct member: method_api.is_virtual
2018-10-04Fix GCC 8 warnings about potentially unitialized variablesRémi Verschelde
Fixes the following GCC 8 warnings: ``` core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized] core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] ```
2018-10-04Fix some OSX and iOS Clang warningsRémi Verschelde
Fixes the following XCode 9.4.1 warnings: ``` core/os/memory.cpp:175:13: warning: unused variable 's' [-Wunused-variable] drivers/coremidi/core_midi.cpp:68:14: warning: comparison between NULL and non-pointer ('MIDIEndpointRef' (aka 'unsigned int') and NULL) [-Wnull-arithmetic] drivers/gles2/rasterizer_gles2.cpp:77:24: warning: unused function '_gl_debug_print' [-Wunused-function,34] drivers/unix/thread_posix.cpp:106:12: warning: unused variable 'running_thread' [-Wunused-variable,34] modules/gdnative/nativescript/nativescript.h:371:16: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions] platform/iphone/gl_view.mm:56:14: warning: unused variable 'video_previous_volume' [-Wunused-variable,34] platform/iphone/gl_view.mm:251:12: warning: unused function 'get_first_id' [-Wunused-function,34] platform/iphone/main.m:45:15: warning: unused variable 'app' [-Wunused-variable,34] platform/osx/os_osx.mm:79:15: warning: unused function 'convertRectToBacking' [-Wunused-function] ```
2018-10-04Fix warnings about non-static data member initializers in nativescriptRémi Verschelde
Fixes the following GCC/Clang warnings: ``` modules/gdnative/nativescript/nativescript.h:280:37: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:281:37: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:283:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:285:38: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:287:38: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:290:45: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 modules/gdnative/nativescript/nativescript.h:291:44: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 ```
2018-10-03Mono: Editor and export template dependencies and fixesIgnacio Etcheverry
- Bundle editor dependencies: - 'GodotSharp': Root data directory for the editor - 'Tools': Editor dependencies. Only GodotSharp.dll for now. - 'Api': Prebuilt GodotSharp and GodotSharpEditor API assemblies. - 'Mono': Mono files to bundle with the editor. - 'bin': (Optional, not used for now) Mono bin directory. - 'etc': Mono configuration files. - 'lib': Mono dependency shared libraries. - 'lib/mono/4.5': Framework assemblies. - Added build option to copy the required files from the mono installation to 'GodotSharp/Mono'. Enable with 'copy_mono_root=yes'. Disabled by default. - Export template dependencies: - 'data_AppName'/'data_Godot': - 'Mono': Mono files to bundle with the game. - 'etc': Mono configuration files. - 'lib': Mono dependency shared libraries. - The data directory is generated when compiling and must be bundled with the export templates. In the case of OSX, the data directory must be placed inside the 'osx.zip' export template. - In OSX, alternative location for directories (needed for app bundles) are: - 'data_AppName/Mono/etc' --> '../Resources/GodotSharp/Mono/etc' - 'data_AppName/Mono/lib' --> '../Frameworks/GodotSharp/Mono/lib' - The editor can bundle prebuilt API assemblies. - Generate them with a tools build by running: `--generate-cs-core-api <GodotSharp_OutputDir> --generate-cs-editor-api <GodotSharpEditor_OutputDir> <GodotSharp_OutputDir>/bin/Release/GodotSharp.dll` (This command will be simplified in the future and both projects will be in the same solution) - Build the solutions and copy the output files to '#bin/GodotSharp/Api'. - Fixed API assembly being added twice during the export process.
2018-10-03Merge pull request #22681 from akien-mga/fix-warningsRémi Verschelde
Fix warnings on release builds and some MSVC warnings