Rémi Verschelde
a77c862b18
Merge pull request #36400 from reduz/variant-string-name
...
Added StringName as a variant type.
2020-02-21 16:48:29 +01:00
Rémi Verschelde
0447d6fc8e
Merge pull request #36393 from reduz/callable-method-pointer
...
New callable_mp macro, for signals to call method pointers directly.
2020-02-21 14:53:24 +01:00
Juan Linietsky
3c0059650d
Added StringName as a variant type.
...
Also changed all relevant properties defined manually to StringName.
2020-02-21 14:25:29 +01:00
Rémi Verschelde
7ac0973e9a
Merge pull request #36415 from reduz/skeleton-skin-named
...
Add support for named binds in Skin.
2020-02-21 14:12:19 +01:00
Juan Linietsky
04bb6a708a
Created the callable_mp macro, for signals to call method pointers directly.
2020-02-21 13:46:45 +01:00
Juan Linietsky
9a34f39d32
Add support for named binds in Skin.
...
Helps better reutilization of skeletons from Maya exported files.
2020-02-21 09:40:29 -03:00
Rémi Verschelde
a24aafcb92
Merge pull request #36244 from Faless/debugger/big_refactor_squash
...
Huge Debugger/EditorDebugger refactor.
2020-02-21 11:56:40 +01:00
Fabio Alessandrelli
cbc450c0e5
Huge Debugger/EditorDebugger refactor.
2020-02-21 11:12:03 +01:00
Rémi Verschelde
8b058d4b9a
Merge pull request #36413 from akien-mga/travis-homebrew-update
...
Travis: Force updating homebrew on macOS
2020-02-21 09:42:42 +01:00
Rémi Verschelde
1b01896e90
Travis: Force updating homebrew on macOS
...
Temporary workaround for https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296
2020-02-21 09:27:18 +01:00
Rémi Verschelde
851cb42963
Merge pull request #35864 from ofrank123/master
...
Switched the language server from websockets to TCP
2020-02-20 15:29:33 +01:00
Rémi Verschelde
f5bb6d6a7c
Merge pull request #36380 from akien-mga/scons-std-c11-c++14
...
SCons: Explicitly define our C (C11) and C++ (C++14) standards
2020-02-20 14:04:25 +01:00
of9
24b27043fe
Migrating language server from Websockets to raw TCP
2020-02-20 11:21:43 +00:00
Rémi Verschelde
342f127362
SCons: Explicitly define our C (C11) and C++ (C++14) standards
...
On GCC and Clang, we use C11 and C++14 with GNU extensions (`std=gnu11`
and `std=gnu++14`). Those are the defaults for current GCC and Clang,
and also match the feature sets we want to use in Godot.
On MSVC, we require C++14 support explicitly with `/std:c++14`, and
make it strict with the use of `/permissive-` (so features of C++17 or
later can't be used).
Moves the definition before querying environment flags and platform
config so that it can be overridden when necessary.
2020-02-20 11:37:52 +01:00
Rémi Verschelde
bd61281a5f
Merge pull request #36368 from reduz/variant-rework
...
Reworked signal system, added support for Callable and Signal
2020-02-20 11:30:56 +01:00
Juan Linietsky
69c95f4b4c
Reworked signal connection system, added support for Callable and Signal objects and made them default.
2020-02-20 08:24:50 +01:00
Rémi Verschelde
1a4be2cd8f
Merge pull request #36371 from Calinou/doc-improve-panoramasky
...
Improve the PanoramaSky class documentation
2020-02-20 07:56:38 +01:00
Rémi Verschelde
353e2071d0
Merge pull request #36340 from nathanwfranke/fix-signal-errors
...
Fix two signal errors, remove unused break_request signals in profilers
2020-02-20 07:13:54 +01:00
Rémi Verschelde
3afc47bbd6
Merge pull request #36347 from Janglee123/persistence-view-mode-for-new-scene
...
Persisting view mode for new scene
2020-02-20 07:12:12 +01:00
Rémi Verschelde
f8c87c0ac4
Merge pull request #36375 from Xrayez/pimpmaps-typos
...
Fix MIMPAMPS typos in constants throughout the engine
2020-02-20 07:00:25 +01:00
Rémi Verschelde
9f9447ea9f
Merge pull request #36376 from timothyqiu/fix-load-image-crash
...
Fixes crash when loading StreamTexture from file
2020-02-20 06:49:11 +01:00
Haoyu Qiu
a7578459c2
Fixes crash when loading StreamTexture from file
2020-02-20 09:45:00 +08:00
Andrii Doroshenko (Xrayez)
fa766265a7
Fix MIMPAMPS typos in constants throughout the engine
2020-02-20 01:31:43 +02:00
nathanwfranke
a31bc1b0ba
Fix two signal errors
...
Update
2020-02-19 15:22:34 -06:00
Rémi Verschelde
5ace0beeaa
Merge pull request #36367 from IronicallySerious/rem-audio-driver-dummy
...
Remove unused driver/dummy/audio_driver_dummy.h
2020-02-19 21:49:17 +01:00
Hugo Locurcio
72ac757ad5
Improve the PanoramaSky class documentation
...
See https://github.com/godotengine/godot/issues/27835 .
2020-02-19 21:24:28 +01:00
Twarit
04882a481b
Remove unused driver/dummy/audio_driver_dummy.h
2020-02-20 00:59:31 +05:30
janglee
d3c580f0bc
Make orthogonal view mode persistent in new scene
...
Fixes #36339 .
2020-02-19 21:33:43 +05:30
Rémi Verschelde
4581a9373c
Merge pull request #36359 from vnen/variant-reference-fix
...
Fix Ref(Variant) constructor to properly check the object type
2020-02-19 16:51:32 +01:00
Rémi Verschelde
05e610b78c
Merge pull request #36357 from MateoMiccino/rendering_vulkan_vertexdescriptionkey_fix
...
rendering_vulkan: VertexDescriptionKey equal comparator was checking …
2020-02-19 15:54:33 +01:00
Rémi Verschelde
b5729a82e9
Merge pull request #36358 from vnen/gdscript-variant-ref-fix
...
Remove static script reference from GDScript class
2020-02-19 15:41:03 +01:00
George Marques
cb0b5eae8c
Fix Ref(Variant) constructor to properly check the object type
...
Otherwise it was saving any reference as valid, regardless of type.
2020-02-19 10:58:00 -03:00
Mateo Dev .59
ab88d291b2
rendering_vulkan: VertexDescriptionKey equal comparator was checking only the first element of his vector of VertexDescription
2020-02-19 10:01:19 -03:00
Rémi Verschelde
7c5ce0ac7c
Merge pull request #36350 from akien-mga/travis-fix-clang-format-stable
...
Travis: Fix clang-format on non-master branches
2020-02-19 13:29:33 +01:00
Rémi Verschelde
7fce47b64f
Merge pull request #36349 from Faless/net/reuse_addr_again_on_posix
...
Fix set_reuse_address on non-Windows platforms.
2020-02-19 13:26:35 +01:00
George Marques
4d960efafc
GDScript: Remove self static reference and create one on calls
...
This is needed because of the new changes to Variant. The reference
counter is increased by adding it to a Variant, which means no GDScript
will be freed (or will be double freed if manually freed somewhere).
2020-02-19 09:15:16 -03:00
George Marques
d490648168
Revert "ClassDB: Workaround double-free for GDScript"
...
This reverts commit 8312ead0d9
.
2020-02-19 09:14:39 -03:00
Rémi Verschelde
35c1ce2ba6
Merge pull request #36338 from MateoMiccino/master
...
glslang: Remove unused revision.template
2020-02-19 12:52:58 +01:00
Rémi Verschelde
880a8fcb1c
Merge pull request #35784 from Calinou/remove-3d-camera-gizmo-icon
...
Remove the 3D camera gizmo icon
2020-02-19 12:52:27 +01:00
Rémi Verschelde
e479231b21
Travis: Fix clang-format on non-master branches
...
`git diff-tree` used to fail on the `3.2` branch (and other non-master
branches) as Travis doesn't actually check that branch from the remote:
```
fatal: ambiguous argument '3.2': unknown revision or path not in the
working tree.
```
The exit code would still be 0 so we'd miss badly formatted commits
targeting stable branches.
We do it manually to ensure that it's going to work as we want it.
2020-02-19 11:37:26 +01:00
Rémi Verschelde
c40bd6b775
i18n: Sync translations with Weblate
...
(cherry picked from commit 1c9132540f
)
2020-02-19 10:16:45 +01:00
Fabio Alessandrelli
19ef28a614
Fix set_reuse_address on non-Windows platforms.
...
Broken after cae0d8853d
.
2020-02-19 10:15:36 +01:00
Rémi Verschelde
28bb2806f1
doc: Sync classref with current source
2020-02-19 09:55:47 +01:00
Mateo Dev .59
1b432147cb
glslang: Remove unused revision.template
2020-02-19 05:41:47 -03:00
Rémi Verschelde
c72b05e851
Merge pull request #33736 from madmiraal/update-appveyor
...
AppVeyor: Enable warnings as errors.
2020-02-19 08:55:23 +01:00
Marcel Admiraal
106221a733
Update .appveyor.yml.
...
- Set options to be the same as travis builds,
except use warnings=all instead of warnings=extra.
- Fail on warnings as per travis builds.
2020-02-19 07:04:34 +01:00
Rémi Verschelde
b967c910b8
Merge pull request #36327 from akien-mga/fix-warnings-reenable-werror
...
Fix compilation warnings and re-enable werror=yes on Travis
2020-02-18 21:14:28 +01:00
Rémi Verschelde
7d691c1812
Merge pull request #36329 from YeldhamDev/packed_array_icons
...
Convert "Pool*Array" icons into "Packed*Array"
2020-02-18 21:00:31 +01:00
Rémi Verschelde
49fec646cb
Fix compilation warnings and re-enable werror=yes on Travis
...
Fix -Wunused-variable, -Wunused-but-set-variable and -Wswitch warnings
raised by GCC 8 and 9.
Fix -Wunused-function, -Wunused-private-field and
-Wtautological-constant-out-of-range-compare raised by Clang.
Fix MSVC 2019 warning C4804 (unsafe use of type 'bool' in comparison
operation).
GCC -Wcpp warnings/Clang -W#warnings (`#warning`) are no longer raising
errors and will thus not abort compilation with `werror=yes`.
Treat glslang headers are system headers to avoid raising warnings.
Re-enables us to build with `werror=yes` on Linux and macOS, thus
catching warnings that would be introduced by new code.
Fixes #36132 .
2020-02-18 20:51:25 +01:00
Rémi Verschelde
e866b4043c
Merge pull request #36269 from AndreaCatania/nav_old_fuc
...
Added utility functions to the new NavigationServer:
2020-02-18 19:44:05 +01:00