Commit graph

26717 commits

Author SHA1 Message Date
Fabio Alessandrelli
c4f6ab85b0 UDPServer and PacketPeerUDP connect_to_host.
UDP sockets can be "connected" to filter packets from a specific source.
In case of a bound socket (e.g. server), a new socket can be created on
the same address/port that will receive all packets that are not
filtered by a more specific socket (e.g. the previously connect socket).

This way, a UDPServer can listen to new packets, and return a new
PacketPeerUDP when receiving one, knowing that is a "new client".
2020-02-16 01:11:30 +01:00
Fabio Alessandrelli
2811f07084 Add peek option to NetSocket recv_from. 2020-02-16 01:11:30 +01:00
Rémi Verschelde
cb68d832f2
Merge pull request #35862 from Calinou/improve-enet-error-messages
Improve error explanations related to NetworkedMultiplayerENet
2020-02-15 22:07:47 +01:00
Rémi Verschelde
c3b49150fe
Merge pull request #36250 from Faless/ws/fix_js_status
Fix EMWSClient::get_connection_status()
2020-02-15 22:07:20 +01:00
Yuri Roubinsky
a1da8560ee Fix shader crash if duplicated struct members created 2020-02-15 22:19:45 +03:00
Fabio Alessandrelli
ebeeb67224 Fix EMWSClient::get_connection_status(), try catch 2020-02-15 17:34:09 +01:00
Hugo Locurcio
5c659dd399
Increase the width of the "Connections to method" dialog
This closes #36245.
2020-02-15 16:36:10 +01:00
Rémi Verschelde
264f20f8c1
Merge pull request #36189 from reduz/object-id-refactor
Changed logic and optimized ObjectID in ObjectDB and Variant, removed…
2020-02-15 15:30:46 +01:00
Juan Linietsky
867d073b98 Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr. 2020-02-15 08:36:04 -03:00
WARIO-MDMA
61d20b1f56 Reduce AudioStreamPlayer's pitch_scale max value 2020-02-15 22:26:08 +11:00
Rémi Verschelde
53cf289f30
Merge pull request #36230 from SkyLucilfer/iconBug
Fix script creation icon not showing at startup bug
2020-02-15 12:10:23 +01:00
Rémi Verschelde
8aad43e0c1
Merge pull request #36231 from Calinou/editorspinslider-add-left-margin
Add a margin to EditorSpinSlider to visually line up the edited number
2020-02-15 12:07:11 +01:00
Rémi Verschelde
7b6251d188
Merge pull request #36235 from YeldhamDev/colorpicker_presets_hide_fix
Fix hiding ColorPicker's presets not fully hiding its controls
2020-02-15 12:04:16 +01:00
Rémi Verschelde
dee8b10133
Merge pull request #36237 from timothyqiu/memleaks
Fixes memory leaks in GdNavigationServer and RasterizerSceneHighEndRD
2020-02-15 11:46:27 +01:00
Haoyu Qiu
d9b5cbdffa Fixes memory leaks in GdNavigationServer and RasterizerSceneHighEndRD 2020-02-15 14:25:32 +08:00
Michael Alexsander
5f5ccfc361 Fix hiding ColorPicker's presets not fully hiding its controls 2020-02-15 02:19:28 -03:00
Hugo Locurcio
cc615fee5f
Add a margin to EditorSpinSlider to visually line up the edited number
This means clicking on an EditorSpinSlider to edit its value will
no longer cause the number to be visually offset while it's
being edited.
2020-02-15 02:38:51 +01:00
SkyJJ
032b0e5899 Fix script icon not showing at startup bug 2020-02-15 00:37:04 +01:00
Dominik 'dreamsComeTrue' Jasiński
ff030afc93 RichTextLabel: proper handling of internal key events
Fixes #36211
2020-02-14 23:15:38 +01:00
Rémi Verschelde
7724b842f6
Merge pull request #36222 from Handola/cameraeffects-fix
Fix bind method set_override_exposure_enabled of CameraEffects
2020-02-14 20:38:22 +01:00
Rémi Verschelde
710d829886
Merge pull request #36044 from dreamsComeTrue/fix-replace-all-shortcut
Added 'Replace in files' functionality to text editors
2020-02-14 20:30:53 +01:00
Rémi Verschelde
ca87791688 i18n: Sync translation template with current source
(cherry picked from commit 3dfedc0b4c)
2020-02-14 20:20:50 +01:00
Rémi Verschelde
991ad66d28 i18n: Sync translations with Weblate
(cherry picked from commit 74738806f3)
2020-02-14 20:20:43 +01:00
Rémi Verschelde
2d23ea1d42
Merge pull request #36219 from dragmz/dragmz/oob_write
Fix OOB write when calling MultiMesh::set_instance_transform
2020-02-14 20:16:44 +01:00
Handola
697b8a891e Fix bind method set_override_exposure_enabled of CameraEffects 2020-02-14 20:05:54 +01:00
Rémi Verschelde
705ad947e9
Merge pull request #36218 from akien-mga/doc-version-branch
doc: Only encode version branch (x.y) in class header
2020-02-14 18:40:24 +01:00
Marcin Zawiejski
2842c6a88c fix oob write when calling MultiMesh::set_instance_transform 2020-02-14 17:48:48 +01:00
Rémi Verschelde
6d3809b25e
Merge pull request #36214 from akien-mga/vulkan-loader-secure_getenv
Vulkan-Loader: Mark secure_getenv as available on Linux
2020-02-14 17:42:45 +01:00
Rémi Verschelde
4a5eab05f5
Merge pull request #36182 from KoBeWi/how_to_text_file
Remove TextFile from public API
2020-02-14 17:41:55 +01:00
Rémi Verschelde
dacfdd8f33 doc: Only encode version branch (x.y) in class header
This avoids a big diff on patch version updates.
2020-02-14 17:38:21 +01:00
Rémi Verschelde
282c8dda98
Merge pull request #36066 from timothyqiu/float-step-range
Fixes range hint for default_float_step
2020-02-14 16:17:31 +01:00
Rémi Verschelde
11ee97cbb2
Merge pull request #36201 from YeldhamDev/import_dock_fixes
Fix multiple issues with the "Import" dock
2020-02-14 15:48:14 +01:00
Tomasz Chabora
591cd3fd84 Remove TextFile from public API 2020-02-14 15:46:16 +01:00
Rémi Verschelde
79a7be6e7d Vulkan-Loader: Mark secure_getenv as available on Linux
It's a GNU extension part of glibc since 2.17, and it was also added
recently to musl libc. It doesn't seem to be available on *BSD (but
also not used there by Vulkan-Loader).

Could be made more thorough by doing a test compilation of a file to
check for the existence of the function on the host system, but unless
we run into actual issues, that's likely overkill.
2020-02-14 15:32:04 +01:00
Rémi Verschelde
09e5877ff5
Merge pull request #36212 from akien-mga/remove-battery-power-api
Remove incomplete battery status/power API
2020-02-14 15:01:22 +01:00
Rémi Verschelde
415a901b68
Merge pull request #36194 from dragmz/dragmz/exit_crash_fix
Fix crash when closing project manager
2020-02-14 14:31:54 +01:00
Rémi Verschelde
19d6d3d136
Merge pull request #36191 from drichardson/fix_36190
Disable video driver option in editor
2020-02-14 14:31:34 +01:00
Rémi Verschelde
79d42069a9
Merge pull request #36208 from akien-mga/warnings
Fix various GCC compilation warnings after Vulkan merge
2020-02-14 13:49:20 +01:00
Rémi Verschelde
3dea5fd631 Remove incomplete battery status/power API
It was initially implemented in #5871 for Godot 3.0, but never really
completed or thoroughly tested for most platforms. It then stayed in
limbo and nobody seems really keen to finish it, so it's better to
remove it in 4.0, and re-add eventually (possibly with a different API)
if there's demand and an implementation confirmed working on all
platforms.

Closes #8770.
2020-02-14 13:43:32 +01:00
Yuri Roubinsky
a9c85e79ad
Merge pull request #36209 from Chaosus/vs_fix_cubemaps
Restore cubemaps in visual shaders
2020-02-14 13:54:03 +03:00
Yuri Roubinsky
b798e26e28 Restore cubemaps in visual shaders 2020-02-14 12:51:46 +03:00
Rémi Verschelde
d2537407ef Fix various GCC compilation warnings after Vulkan merge
Part of #36132.
2020-02-14 10:02:31 +01:00
Rémi Verschelde
8bcceee94c
Merge pull request #36203 from timothyqiu/nav-polygon-leak
Fixes memory leak in NavigationPolygon
2020-02-14 07:33:46 +01:00
Rémi Verschelde
6dae536f6c
Merge pull request #36200 from clayjohn/VULKAN-sky-error
Fix error flood with sky background
2020-02-14 07:30:27 +01:00
Rémi Verschelde
ac9ec5336d
Merge pull request #36197 from Calinou/tweak-editor-help-comment-color
Tweak the editor help comment color for better readability
2020-02-14 07:26:35 +01:00
Rémi Verschelde
94bf1a8a9d
Merge pull request #36030 from dreamsComeTrue/fix-replace-text-entered
Allow using Enter key for replacing text in code editors
2020-02-14 07:23:49 +01:00
Rémi Verschelde
664bd919b0
Merge pull request #36193 from dragmz/dragmz/vulkan_desc_fix
Fix Vulkan project description
2020-02-14 07:21:11 +01:00
Haoyu Qiu
72e6369a81 Fixes memory leak in NavigationPolygon 2020-02-14 10:35:09 +08:00
Michael Alexsander
bdd4d28081 Fix multiple issues with the "Import" dock 2020-02-13 23:08:05 -03:00
clayjohn
b878e5bbe8 Fix error flood with sky background 2020-02-13 16:31:21 -08:00