summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-04-10Merge pull request #37395 from ThakeeNathees/collon-equal-parser-bug-fixRémi Verschelde
`:=` fails on some nodes fix: #37357
2020-04-10Merge pull request #37530 from swarnimarun/patch_vs_01Rémi Verschelde
VisualScript support for newly added Variant types
2020-04-10Merge pull request #37629 from lupoDharkael/noise-unrefRémi Verschelde
NoiseTexture: prevent race condition because of Ref::unref()
2020-04-10Merge pull request #37693 from lupoDharkael/remove-hintRémi Verschelde
Remove obsolete enums
2020-04-09Merge pull request #37467 from HaSa1002/fix-vsprojRémi Verschelde
fixed modules not beeing added to vsproj
2020-04-09fixed modules not beeing added to vsprojHaSa1002
2020-04-09Renaming all ARVR nodes to XRBastiaan Olij
2020-04-08Remove obsolete enumslupoDharkael
2020-04-08Merge pull request #37644 from JFonS/gizmos_renameRémi Verschelde
Rename all gizmo classes, using the 4.0 node names.
2020-04-07Rename all gizmo classes, using the 4.0 node names.jfons
2020-04-06NoiseTexture: prevent race condition because of Ref::unref()lupoDharkael
2020-04-06Remove Node.get_position_in_parent()Tomasz Chabora
2020-04-03Fix C# bindings after recent breaking changesIgnacio Etcheverry
2020-04-03VisualScript styling for new Variant TypesSwarnim Arun
2020-04-02Deconstruct VSNodes for new Variant typesSwarnim Arun
2020-04-02Replace more occurrences of NULL with nullptrRémi Verschelde
2020-04-02Replace NULL with nullptrlupoDharkael
2020-04-02Merge pull request #37504 from qarmin/out_of_bound_cursorRémi Verschelde
Fix array out of bounds access caused by uninitialised variables
2020-04-01Fix out of bound array access caused by unassigned variableRafał Mikrut
2020-04-01Merge pull request #37484 from Calinou/csharp-verbatim-string-highlightRémi Verschelde
Remove syntax highlighting for C# verbatim strings due to bugs
2020-04-01Remove syntax highlighting for C# verbatim strings due to bugsHugo Locurcio
This closes #32336.
2020-04-01Merge pull request #37456 from ttencate/fix/gdscript_assert_message_docsRémi Verschelde
Add missing docs for assert message in GDScript
2020-03-31Add missing docs for assert message in GDScriptThomas ten Cate
Seems like this was overlooked in PR #31142. See also issue #17082.
2020-03-31Merge pull request #37153 from neikeq/mono_ios-4.0Rémi Verschelde
[master] Mono/C#: Add iOS support
2020-03-31Fix more -Wmaybe-uninitialized warnings with target=release_debugRémi Verschelde
I have no idea why those don't get triggered in target=debug builds. Fixes #37461.
2020-03-31Mono/C#: Add iOS supportIgnacio Etcheverry
Right now, games only work on devices when exported with FullAOT+Interpreter. There are some issues left that need to addressed for FullAOT alone. Right now, it's giving issues with the Godot.NativeCalls static constructor.
2020-03-31Mono/C#: Fix MinGW build not supporting `.lib` librariesIgnacio Etcheverry
MinGW should support both its own format `.a` and MSVC's format `.lib`, but Mono's module was only using the former. With this change it's now possible to build with MinGW and link the official Mono for Windows which is built with MSVC.
2020-03-30Merge pull request #37436 from akien-mga/doc-node-renamesRémi Verschelde
doc: Update classref with node renames
2020-03-30Fix another batch of -Wmaybe-uninitialized warningsRémi Verschelde
And simplify code in CSGShape.
2020-03-30doc: Update classref with node renamesRémi Verschelde
A few extra renames for classes which were missed in last week's PRs.
2020-03-30SCons: Format buildsystem files with psf/blackRémi Verschelde
Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
2020-03-29`:=` fails on some nodes fix: #37357Thakee Nathees
2020-03-28Merge pull request #37364 from ThakeeNathees/fix-forloop-range-bug-#37358Rémi Verschelde
Fix for loop range bug: #37358
2020-03-28Merge pull request #37362 from reduz/audioserver-memory-cleanupRémi Verschelde
Remove the audio memory allocator, use regular one instead.
2020-03-28Fixed missed occurrences in #37361 renamings.dankan1890
2020-03-27Remove the audio memory allocator, use regular one instead.Juan Linietsky
2020-03-28Fix for loop range bug: #37358Thakee Nathees
2020-03-27Renaming of servers for coherency.Juan Linietsky
VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
2020-03-27Rename more 2D and 3D nodes to follow conventionRémi Verschelde
Rename editor plugins to match the new node names.
2020-03-27Renamed 2D and 3D nodes to make their types explicitJuan Linietsky
Fixes #30736.
2020-03-27Fix some -Wmaybe-uninitialized warningsRémi Verschelde
Namely: ``` modules/basis_universal/register_types.cpp: In function 'Ref<Image> basis_universal_unpacker(const Vector<unsigned char>&)': modules/basis_universal/register_types.cpp:266:15: warning: 'imgfmt' may be used uninitialized in this function [-Wmaybe-uninitialized] 266 | image->create(info.m_width, info.m_height, info.m_total_levels > 1, imgfmt, gpudata); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/basis_universal/register_types.cpp:255:39: warning: 'format' may be used uninitialized in this function [-Wmaybe-uninitialized] 255 | bool ret = tr.transcode_image_level(ptr, size, 0, i, dst + ofs, level.m_total_blocks - i, format); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` ``` servers/visual_server.cpp: In member function 'Error VisualServer::_surface_set_data(Array, uint32_t, uint32_t*, uint32_t, Vector<unsigned char>&, int, Vector<unsigned char>&, int, AABB&, Vector<AABB>&)': servers/visual_server.cpp:636:15: warning: 'iw' may be used uninitialized in this function [-Wmaybe-uninitialized] 636 | copymem(&iw[i * 2], &v, 2); | ^ ``` ``` core/image.cpp: In member function 'Error Image::generate_mipmap_roughness(Image::RoughnessChannel, const Ref<Image>&)': core/image.cpp:1683:11: warning: 'roughness' may be used uninitialized in this function [-Wmaybe-uninitialized] 1683 | float roughness; | ^~~~~~~~~ ```
2020-03-27Fix various -Wmaybe-uninitialized (#37352).Martin Liska
2020-03-26Multiple changes to DisplayServerX11Mateo Kuruk Miccino
- Travis: Change x11 to linuxbsd - SCons: Change x11 plataform to linuxbsd - Plugins: Remove ; to avoid fallthrough warning - DisplayServerX11: Implement set_icon - DisplayServerX11: Fix X11 bug when a window was erased from windows map, all the changes from that erased windows are sending to the main window - DisplayServerX11: Reorder create_window commands - DisplayServerX11: Change every Size2 to Size2i and Rect2 to Rect2i where it belongs + More X11 fixes which have been integrated directly back into reduz's original commits while rebasing the branch.
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-26Refactored input, goes all via windows now.Juan Linietsky
Also renamed Input to InputFilter because all it does is filter events.
2020-03-26Added a Window node, and made it the scene root.Juan Linietsky
Still a lot of work to do.
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
2020-03-26Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky
2020-03-25SCons: Drop support for Python 2Rémi Verschelde
We now require SCons 3.0+ (first version with Python 3 support), and we set min required Python 3 version to 3.5 (3.4 and earlier are EOL).