Commit graph

20450 commits

Author SHA1 Message Date
Michael Alexsander Silva Dias b7e644bd26 Make 'break' and 'continue' be marked as safe
(cherry picked from commit a8826ad3b8)
2019-11-08 15:48:19 +01:00
Xenoamor 90abe89662 Fix GridMap list text not expanding when palette is resized
This is to close #31304

(cherry picked from commit 69438149f5)
2019-11-08 15:48:19 +01:00
Max Hunt 9e96e1f1c0 Improve documentation of EditorPlugin.add_tool_submenu_item method
(cherry picked from commit 45767fe5f6)
2019-11-08 15:48:18 +01:00
Bastiaan Olij ea3a42c500 Fix self reference issue in core structures for GDNative plugins
(cherry picked from commit bf9a97c2cb)
2019-11-08 15:48:18 +01:00
Ignacio Etcheverry ef92c9740f Make git no longer ignore solution files inside the mono module
(cherry picked from commit 33c0d47273)
2019-11-08 15:48:18 +01:00
ternvein 82f65f5b92 FIX: Tabs text translation
(cherry picked from commit 118940e7c5)
2019-11-08 15:48:18 +01:00
Michael Alexsander Silva Dias 5d1697b78f Fix 'TabContainer' not updating its tab titles when locale is changed
(cherry picked from commit a242bf464a)
2019-11-08 15:48:18 +01:00
ternvein 605dbffe93 FIX: WindowDialog title translation
(cherry picked from commit efc8314516)
2019-11-08 15:48:18 +01:00
Michael Alexsander Silva Dias f915d69e05 Update WindowDialog title when translation changes
(cherry picked from commit 06a890f7a3)
2019-11-08 15:48:18 +01:00
Rémi Verschelde b70788b4ad PopupMenu: Fix missing text/xl_text when using add_shortcut
Use macros to ensure that `text`, `xl_text` and `id` are always set
using the same logic.

Fixes #25519.

Also fixes up #26914 when `p_id == -1` handling was only added for a
couple methods instead of all of them.

(cherry picked from commit 58dd5d0c78)
2019-11-08 15:48:18 +01:00
Fabio Alessandrelli 53c2e2da50 WebSocketServer now sanitize destination peers.
When relaying messages in multiplayer mode.
Could cause a crash in case a malicious client sends a bogus packet and
for those cases where a peer has just disconnected and a message arrive
from another peer with the disconnected one as destination.

(cherry picked from commit 17be67b8c7)
2019-11-08 15:48:18 +01:00
Tomasz Chabora 37794ea4c3 Clarify usage of action_press
(cherry picked from commit b950867df8)
2019-11-08 15:48:18 +01:00
Rémi Verschelde dbcf3318e1 DirAccessPack: Fix dir_exists and file_exists for res:// paths
Both methods check against containers using relative paths as index,
so the `res://` part needs to be stripped.

Fixes #26009.

(cherry picked from commit ad8746e0de)
2019-11-08 15:48:18 +01:00
Hugo Locurcio 1ef9a47ede Improve the GeometryInstance class documentation
This adds a mention that LOD properties currently have no effect.

(cherry picked from commit b84b46d5df)
2019-11-08 15:48:18 +01:00
fhuya 0d401e11b1 Shut down Godot processes on app exit.
(cherry picked from commit f35b1f3b91)
2019-11-08 15:48:18 +01:00
Fabio Alessandrelli cd0ba31533 Fix WebSocketServer relaying message 2 times.
The WebSocketMultiplayerPeer was relaying the same message two times,
both in _server_relay and _process_multiplayer (which was only supposed
to store the packet, given the server was one of the destination).

_process_multiplayer now only store the packet, and calls _server_relay
which will relay the message to other clients if needed.

(cherry picked from commit d1539db2c6)
2019-11-08 15:48:18 +01:00
Rémi Verschelde 6d0421d2ae Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@ef8542c9f3.

(cherry picked from commit 9ceab52892)
2019-11-08 15:48:18 +01:00
Yuri Roubinski e224c72dd8 Fix hint range step for integer in shaders
(cherry picked from commit 982becfa39)
2019-11-08 15:48:18 +01:00
fjordyo 5cdcf06ec1 Fix the edges of the mesh vertex
(cherry picked from commit 4c28053ead)
2019-11-08 15:48:18 +01:00
qarmin 7823552d9e Fix memory leak in ResourceFormatSaverBinary::save
(cherry picked from commit b244ab4acc)
2019-11-08 15:48:18 +01:00
clayjohn e821477102 throw error when user tries to use Canvas background without sample buffer
(cherry picked from commit e65d2184b9)
2019-11-08 15:48:18 +01:00
clayjohn 99adaef47c Fix skip_vertex_transform bug in GLES2 CPUParticles
(cherry picked from commit 97f66900bb)
2019-11-08 15:48:18 +01:00
Robin Hübner 80752cca50 fix otherwise unitialized variables, found in #31694
(cherry picked from commit 4817595c0e)
2019-11-08 15:48:18 +01:00
Max ee4d1e49ca Fix crash on exit or resume on iOS 13
Fixes #7966.

(cherry picked from commit 29bde8cd74)
2019-11-08 15:48:18 +01:00
clayjohn b7c3fd0711 Fix shadow mapping with RGBA textures on html
(cherry picked from commit 6ec7686a0c)
2019-11-08 15:48:18 +01:00
Hugo Locurcio 1f772917d2 makerst: Separate signals/enums/properties/methods with a line
(cherry picked from commit c2e5ef4cec)
2019-11-08 15:48:17 +01:00
volzhs e168f04bc3 Fix validating editor bold font
(cherry picked from commit aa5e34d018)
2019-11-08 14:03:58 +01:00
Ignacio Etcheverry aa8386c593 Mono: Force preemptive thread suspend mode as a temporary workaround
(cherry picked from commit 5a6070dde3)
2019-11-08 14:01:49 +01:00
Rémi Verschelde 02c4c7a693 Android one-click deploy: Don't clear by default
This makes iteration faster as you don't need to monitor your phone
to allow the installation each time.

Fixes #32183.

(cherry picked from commit 9d96f04138)
2019-11-08 14:01:08 +01:00
Harley Laue 6befb0836e Allow building cvtt with system squish
It looks like the SCsub for cvtt was copied from squish and it left
the `if env['build_squish']:` line intact. This means that using
`scons builtin_squish=no modules/cvtt` would fail and overal builds
would also fail because they'd fail to find `ConvectionKernels.h`

(cherry picked from commit 0fbd00f656)
2019-11-08 14:00:39 +01:00
Rémi Verschelde 5f314c54ff Prevent crash when we can't write to editor cache or config path
This can happen if users somehow got wrong user permissions assigned to
their Godot cache, config or data paths (e.g. `~/.config/godot`).

The error messages should give them a hint as to what the issue may be.

Fixes #33199.

There may be other situations that still lead to a crash, we need to
review all uses of `FileAccess::open` with `FileAccess::WRITE` mode to
ensure that proper pointer validation is done.

(cherry picked from commit 565f7183aa)
2019-11-08 13:13:55 +01:00
sheepandshepherd e46f2be4d7 Document GDNativeLibrary
(cherry picked from commit 04dbcd7f5a)
2019-11-08 13:09:55 +01:00
Rémi Verschelde 5967c6347d Travis: Make scons cache branch-specific
(cherry picked from commit a99b7a5f88)
2019-11-08 13:08:24 +01:00
Kanabenki 7ef78e87c1 Fix casting to uint64_t when returning unix system time
(cherry picked from commit add91724e6)
2019-11-08 13:06:53 +01:00
Hugo Locurcio 0c0c911ae8 Display version information in the editor at all times
This closes #27811.

(cherry picked from commit dee9e9dc62)
2019-11-08 12:57:50 +01:00
Rémi Verschelde 5cdd17194e
Merge pull request #33373 from ktksgit/fix_crash_in_pluginscript
Fix crash in PluginScript destructor
2019-11-06 15:32:35 +01:00
ktksgit eedf4b27a1 Fix crash in PluginScript destructor 2019-11-05 23:30:42 +01:00
Joshlee0915 d51bce47de Added server platform to mono config script 2019-10-30 21:04:18 -06:00
Rémi Verschelde 34d4c2ed81
Merge pull request #33063 from yeonghoey/mingw-secure-api-31
Specify MINGW_HAS_SECURE_API=1
2019-10-25 21:59:42 +02:00
bruvzg 8033270852 Fix non-HiDPI mode on HiDPI displays on macOS Catalina.
(cherry picked from commit 509afcea92)
2019-10-25 16:28:38 +02:00
Yeongho Kim d2fbe4db07 Specify MINGW_HAS_SECURE_API=1 2019-10-25 21:33:26 +09:00
Rémi Verschelde 4b6e405f1d
Merge pull request #32938 from Calinou/add-missing-autokey-icon-3.1
Add the missing autokeying icon (3.1)
2019-10-21 13:55:17 +02:00
Hugo Locurcio 22147bb9dc
Add the missing autokeying icon
This icon was added in the `master` branch (and then improved) a
while ago.

This adds the latest version of the icon to the `3.1` branch.
2019-10-20 14:31:45 +02:00
Rémi Verschelde 5fddee909c Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@creikey, @IronicallySerious, @LikeLakers2, @minraws, @NilsIrl,
@profan, @raphael10241024

New Platinum sponsor, added to splash screen:
Heroic Labs

Merged some duplicates via .mailmap to allow better tracking of
commit counts with `git shortlog -s -n -e --no-merges`.

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 664d7e7336)
2019-10-07 11:26:52 +02:00
Rémi Verschelde 8f3fea2058
Merge pull request #32397 from akien-mga/3.1
Assorted cherry-picks from the master branch for Godot 3.1.2
2019-09-28 07:37:25 +02:00
clayjohn 5acb21dd7b check if skeleton texture is already allocated before reallocating
(cherry picked from commit 99de3906ba)
2019-09-27 12:54:54 +02:00
clayjohn 61ef8e98ba toggle CPUParticles2D visibility when redrawing
(cherry picked from commit cb4d145c22)
2019-09-27 12:53:53 +02:00
clayjohn 3689ac6c6b fix CPU particles bug with local_coords and transform
(cherry picked from commit 52696e98b4)
2019-09-27 12:49:40 +02:00
Colin Redman abf19bdab2 Fix ParallaxBackground breaking when moving it out the scene tree
(cherry picked from commit 359d7f178c)
2019-09-26 14:49:37 +02:00
Anish c70a3671b0 Fixes VideostreamGDNative crash on audio_channel=0.
Added an if case to check if the mix_callback exists before running any
of the audio code.

Fixes: #28644
(cherry picked from commit f0757f31a4)
2019-09-26 14:48:53 +02:00