Rémi Verschelde
fc370b3feb
Fix -Wimplicit-fallthrough warnings from GCC 8
...
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135 .
2019-04-05 15:14:53 +02:00
Rémi Verschelde
e4a96164b6
SCons: add methods.using_clang
to check used compiler
...
Also rename `use_gcc` to `using_gcc` to make it clear that it returns
a config but does not alter it.
2019-04-05 12:51:15 +02:00
Rémi Verschelde
6a33727cb1
Merge pull request #27687 from Zylann/fix_heightmap_shape_min_max
...
Fix wrong heights data used to compute min and max heights
2019-04-05 11:52:22 +02:00
Mariano Javier Suligoy
1ab9b86a21
Merge pull request #27500 from samdze/master
...
Allow TileMap to override set_cell behaviour while using TileMap editor
2019-04-04 23:17:29 -03:00
Mariano Javier Suligoy
60fbbba398
Merge pull request #27201 from siddharth952/issue1
...
Fixed Tileset Editor bug related to polygon size
2019-04-04 23:09:50 -03:00
Mariano Javier Suligoy
a6e9af7222
Merge pull request #27122 from LATRio/fix_texture_region_zoom
...
Fix zooming in TextureRegion
2019-04-04 23:09:25 -03:00
Ignacio Roldán Etcheverry
9cf81271f6
Merge pull request #27688 from ForLoveOfCats/master
...
Mono: Make missing default constructor error more foolproof
2019-04-04 23:22:30 +02:00
ForLoveOfCats
444242a080
Mono: Make missing default constructor error more foolproof
2019-04-04 16:56:02 -04:00
Marc Gilleron
cdcdba704b
Fix wrong heights data used to compute min and max heights
2019-04-04 21:22:18 +01:00
Ignacio Roldán Etcheverry
21da74b514
Merge pull request #27686 from ForLoveOfCats/master
...
Mono: Make GD.Convert take Variant.Type instead of int
2019-04-04 22:17:25 +02:00
ForLoveOfCats
46e79e6fad
Mono: Makes GD.Convert take Variant.Type instead of int
2019-04-04 16:07:48 -04:00
Rémi Verschelde
6d27226134
Merge pull request #27469 from Calinou/text-selection-use-accent-color
...
Use the accent color to highlight selected text
2019-04-04 18:27:54 +02:00
Rémi Verschelde
d9b9c9f98a
Merge pull request #27567 from Calinou/selection-boxes-use-accent-color
...
Use the editor theme's accent color for 2D/3D selections and rotations
2019-04-04 17:45:01 +02:00
Rémi Verschelde
3a7a1cd4c9
Merge pull request #27596 from mo7sener/master
...
Fix: RichTextLabel Crash - meta_hover_ended
2019-04-04 17:27:34 +02:00
Juan Linietsky
a18989602b
Clean up notifications and merge Node and MainLoop ones for clarity, closes #27614
2019-04-04 10:34:41 -03:00
Rémi Verschelde
2ce022af7e
Merge pull request #27671 from akien-mga/scons-opus-arm
...
SCons: Fix OPUS_ARM_OPT flag applied for all android/iphone arches
2019-04-04 12:36:52 +02:00
Rémi Verschelde
c2fb1c9f01
SCons: Fix OPUS_ARM_OPT flag applied for all android/iphone arches
...
The first 'if' always evaluated to true, as it evaluated values which are the default
ones for Android and iOS respectively, so even if one of them was overridden, the other
one would be true.
Fixes #27658 .
2019-04-04 12:01:52 +02:00
Rémi Verschelde
c2c11fc063
Merge pull request #27655 from Faless/mp/err_explain_fix
...
Properly explain RPC/RSET mode failure.
2019-04-03 23:36:33 +02:00
Fabio Alessandrelli
95ad747dea
Properly explain RPC/RSET mode failure.
...
_can_call_mode used to call is_network_master/get_network_master
internally.
This would reset any potential last error set via ERR_EXPLAIN,
preventing it from being displayed correctly.
_can_call_mode now expects the node master ID to be passed instead.
2019-04-03 21:55:42 +02:00
Angeloss
40acc3ecdc
Fix: Keep custom tracks option now keeps animation loop property and value track update mode.
...
(cherry picked from commit 589c5698a0
)
2019-04-03 16:59:34 +02:00
Juan Linietsky
ed3586afa1
Add documentation about nested YSort nodes.
2019-04-03 11:42:42 -03:00
Rémi Verschelde
620dd79e71
Merge pull request #27636 from Jayman2000/contributing-these
...
Minor English fix
2019-04-03 15:13:34 +02:00
Rémi Verschelde
f9b145d27f
Merge pull request #27634 from akien-mga/dist-linux-mime
...
dist: Rename Linux mime type to follow system convention
2019-04-03 15:13:19 +02:00
Rémi Verschelde
ae184a117e
Merge pull request #27633 from akien-mga/scons-py3-fixup
...
SCons: Fix python3 compat for builtin_bullet=no
2019-04-03 15:12:59 +02:00
Jason Yundt
f8a22f0a90
Minor English fix
...
CONTRIBUTING.md would use the phrase "those guidelines" to introduce a
list. In general, the word "these" is used to refer to something that is
being introduced or has recently been introduced, and "those" is used to
refer to something that had been previously introduced.
This change also makes CONTRIBUTING.md consistent with the
documentation. The documentation guidelines at
https://docs.godotengine.org/en/latest/community/contributing/documentation_guidelines.html
use "these" to introduce a list and its singular form, "this", to
introduce items.
2019-04-03 08:49:08 -04:00
Rémi Verschelde
7eabf4c8a3
dist: Rename Linux mime type to follow system convention
...
Mime type definitions are usually named like the mime type they define,
i.e. x-godot-project in our case.
It was introduced with reverse DNS naming as that's what FlatHub favors,
so it will need to be renamed there.
2019-04-03 13:24:28 +02:00
Rémi Verschelde
44f1b390a3
SCons: Fix python3 compat for builtin_bullet=no
2019-04-03 11:25:01 +02:00
Rémi Verschelde
f64336f1a7
Merge pull request #27264 from ViktorEvil/master
...
Enable macOS Mojave "Dark Mode" on the editor title bar
2019-04-03 10:09:20 +02:00
Rémi Verschelde
76cbe7a9ae
Merge pull request #27214 from marcelofg55/midi_note_off
...
Fix MIDI Note Off missing on some devices
2019-04-03 09:17:07 +02:00
Rémi Verschelde
de54ee975d
Merge pull request #27238 from ShyRed/cpu2dmask
...
Add Emission Mask to CPUParticle2D
2019-04-03 09:13:14 +02:00
Ignacio Roldán Etcheverry
f285d554e5
Merge pull request #27618 from neikeq/fix-leak
...
Fix memory leak introduced in bb6814a
2019-04-03 00:25:07 +02:00
Ignacio Etcheverry
0338e55a6e
Fix memory leak introduced in bb6814a
2019-04-02 22:56:17 +02:00
Rémi Verschelde
25c1363a11
Merge pull request #27597 from marxin/fix-Wnon-virtual-dtor-warnings
...
Fix -Wnon-virtual-dtor warnings.
2019-04-02 18:25:02 +02:00
Rémi Verschelde
f5013e3277
Merge pull request #26343 from marxin/warnings-all-add-most-of-Wextra
...
Enable most of -Wextra warnings for warnings=all.
2019-04-02 18:24:06 +02:00
marxin
e7f22ebdcd
Enable warnings=extra on clang and GCC testers.
...
And remove 2 warnings from warnings=extra.
2019-04-02 17:14:47 +02:00
marxin
f9f2413e69
Fix -Wnon-virtual-dtor warnings.
...
Example of the warning:
./core/script_language.h:198:7: warning: 'class ScriptCodeCompletionCache' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
2019-04-02 14:07:29 +02:00
Robear Selwans
84dfb3ff2d
Fixed an issue where changing the default_cursor on the RichTextLabel's meta_hover_ended caused the entire project to crash
2019-04-02 13:59:38 +02:00
Rémi Verschelde
612a109b81
Merge pull request #27228 from Kanabenki/preserve-binds-change-node
...
Preserve extra arguments for connected signals when changing node type
2019-04-02 11:30:45 +02:00
Rémi Verschelde
29a1202d39
Merge pull request #27171 from Chaosus/randfix
...
Properly setup seed in RNG
2019-04-01 17:17:30 +02:00
Rémi Verschelde
18ee888541
Merge pull request #27430 from LeonardMeagher2/csg_get_mesh_data
...
Apply proper offset to CSGMesh brush materials and smooth flags
2019-04-01 17:15:30 +02:00
Rémi Verschelde
9b691718f5
Merge pull request #27557 from Paulb23/deselect_line_edit_clear
...
Fixed not deselecting when clearing lineedit.
2019-04-01 17:01:45 +02:00
Rémi Verschelde
e3bd84fa57
Merge pull request #27485 from Faless/io/encode_decode_safety_pr
...
Safer encode/decode variant.
2019-04-01 17:00:40 +02:00
Rémi Verschelde
e91844e8dc
Merge pull request #27562 from guilhermefelipecgs/fix_27484
...
Fix wrong blend of animation tree
2019-04-01 16:38:55 +02:00
Juan Linietsky
dee98d3b6d
Some improvements to is_equal_approx, restored Quat operator.
2019-04-01 11:11:02 -03:00
Fabio Alessandrelli
393e62b98a
Add object encoding param to serialization methods
...
Network peers get_var/put_var
File get_var/store_var
GDScript/Mono/VisualScript bytes2var/var2bytes
Add MultiplayerAPI.allow_object_decoding member which deprecates PacketPeer.allow_object_decoding.
Break ABI compatibaility (API compatibility for GDNative).
2019-04-01 15:53:19 +02:00
Fabio Alessandrelli
53ab3a1ba9
Multiplayer API now respects allow_object_decoding
...
Add doc about allow_object_decoding in PacketPeer
2019-04-01 15:53:08 +02:00
Rémi Verschelde
ba1a168659
Merge pull request #27505 from clayjohn/depth_bug
...
Keep DEPTH from causing compile error in GLES2
2019-04-01 14:53:18 +02:00
Rémi Verschelde
658aaa5c79
Merge pull request #27317 from aqnuep/depth_texture_fix
...
Fixed handling of depth texture so it's resolved and bound when needed
2019-04-01 13:55:07 +02:00
Samuele Zolfanelli
a6f5cf7de7
Allow TileMap to override set_cell behaviour while using TileMap editor
2019-04-01 13:03:35 +02:00
Rémi Verschelde
39c868171e
doc: Bump version to 3.2
2019-04-01 12:33:56 +02:00