summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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).
2020-03-24Move DocData and Collada out of their subfoldersRémi Verschelde
Now that the unused DocDump was removed, the `editor/doc` subfolder is redundant. Similarly, there's no reason for Collada to have a subfolder for itself when glTF or OBJ don't.
2020-03-23Merge pull request #37219 from RajatGoswami/missing-include-guardsRémi Verschelde
Adding missing include guards to header files identified by LGTM
2020-03-23Adding missing include guards to header files identified by LGTM.Rajat Goswami
This addresses the issue godotengine/godot#37143
2020-03-22Merge pull request #37210 from van800/fix-36995Rémi Verschelde
Fix warning: Property not found: mono/editor/editor_path_optional
2020-03-21Make file formatting comply with POSIX and Unix standardsAaron Franke
UTF-8, LF, no BOM, and newlines at the end of files
2020-03-21Fix warning: Property not found: mono/editor/editor_path_optional (#36995)Ivan.Shakhov
2020-03-18Merge pull request #37116 from neikeq/issue-12917Rémi Verschelde
Sync csproj when files are changed from the Godot FileSystem dock
2020-03-18Merge pull request #37145 from neikeq/issue-37128Ignacio Roldán Etcheverry
C#: Fix uses of old Configuration names
2020-03-18Merge pull request #37112 from Xrayez/mono-generate-helpRémi Verschelde
Generate command line help text for the `mono` module
2020-03-18Sync csproj when files are changed from the Godot FileSystem dockIgnacio Etcheverry
2020-03-18C#: Fix uses of old Configuration namesIgnacio Etcheverry
2020-03-18Merge pull request #37139 from akien-mga/opus-vorbis-drop-audiostream-codeRémi Verschelde
opus/vorbis: Remove dead code not used since 3.0
2020-03-18Merge pull request #37131 from van800/masterIgnacio Roldán Etcheverry
fix RiderPathLocator - searching for toolbox on Mac
2020-03-18opus/vorbis: Remove dead code not used since 3.0Rémi Verschelde
Since the new audio system in 3.0 we switched the OGG support to stb_vorbis, and the Opus stream support was disabled as incompatible (see #7496). We still build the libraries as they are needed by the theora and webm modules, but we don't need any Godot code apart from `register_types`. Fixes #7496.
2020-03-18fix RiderPathLocator - searching for toolbox on MacIvan.Shakhov
2020-03-18Merge pull request #36756 from aaronfranke/mono-vec2i3iIgnacio Roldán Etcheverry
[Mono] Add Vector2i and Vector3i
2020-03-17[Mono] Marshaling for Vector2i, Vector3i, and Rect2iAaron Franke
2020-03-17[Mono] Add Vector2i, Vector3i, and Rect2iAaron Franke
These have conversion operators between their non-integer equivalents. Vector2i to Vector2 is implicit, while Vector2 to Vector2i is explicit. All conversion code is done in the integer files, so Vector2.cs contains no reference to Vector2i etc.
2020-03-17Mono/C#: Optimize the way we store GC handles for scriptsIgnacio Etcheverry
Don't store GC handles for C# script instances and instance bindings as 'Ref<MonoGCHandle>'; store the raw data instead. Initially this was not possible as we needed to store a Variant, but this had not been the case for a looong time yet the stored type was never updated.
2020-03-17Fix C# bindings after recent breaking changesIgnacio Etcheverry
Implementation for new Variant types Callable, Signal, StringName. Added support for PackedInt64Array and PackedFloat64Array. Add generation of signal members as events, as well as support for user created signals as events. NOTE: As of now, raising such events will not emit the signal. As such, one must use `EmitSignal` instead of raising the event directly. Removed old ThreadLocal fallback class. It's safe to use thread_local now since it's supported on all minimum versions of compilers we support.
2020-03-17Generate command line help text for `mono` moduleAndrii Doroshenko (Xrayez)
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-17Changed default for p_validate_certs to true.simpuid
Fixes #37084
2020-03-14Merge pull request #36865 from van800/sol-conf2Ignacio Roldán Etcheverry
Rename solution configurations (Debug and Release) and put Tools first
2020-03-14C#: Replace uses of old Configuration and update old csprojsIgnacio Etcheverry
2020-03-13Merge pull request #36599 from AndreaCatania/gen_rpc_data_exportRémi Verschelde
Generates the rpc and rset info for exported GDScript.
2020-03-13Merge pull request #36723 from AndreaCatania/fix-rsetRémi Verschelde
Fixed rset method for gdscript and visual script
2020-03-11Fix various typosluz.paz
Found via `codespell`
2020-03-11reorder solution configurations + migrationIvan Shakhov
2020-03-11Fix basis_universal to not include tool main file.Fabio Alessandrelli
Avoid build error due to duplicate `main` symbol definition.
2020-03-11Merge pull request #36905 from Faless/js/restore_and_ciRémi Verschelde
Resurrect HTML5 platform, add it to CI (no rendering yet)
2020-03-10Merge pull request #36704 from ThakeeNathees/gdscript-duplicate-args-fixRémi Verschelde
GDScript duplicate arguments bug fixed
2020-03-10Merge pull request #36767 from ThakeeNathees/class-pass-fixRémi Verschelde
fix: Classes can't have pass
2020-03-10Merge pull request #36859 from ThakeeNathees/logic-error-for-loop-range-parsingRémi Verschelde
Fix: logic error in gdscript_parser.cpp for-loop-range
2020-03-09Merge pull request #36751 from Faless/debugger/threads_and_profilersRémi Verschelde
ScriptDebugger refactor, threading, profilers.
2020-03-09change an exclamation mark to a dotPierre Caye
2020-03-09Merge pull request #36912 from Xrayez/resurrect-module-iconsRémi Verschelde
Fix missing module editor icons
2020-03-08Fix missing module editor iconsAndrii Doroshenko (Xrayez)
Module icons need to be renamed to PascalCase as well for them to be registered in 4.0. See godotengine/godot#36513.