| Commit message (Collapse) | Author | Files | Lines |
|
We should probably create a specific function for setting the
recv buffer anyway. UDP sockets does not need to bind (listen)
to be able to call recvfrom. This is especially useful for clients
who just call set_send_address and start communicating with a server.
(cherry picked from commit 93368571326e3472522669b76998f58aed78864f)
|
|
The ring buffer for receiving packets was not resized in constructor
(cherry picked from commit 68dc969f8ca242d0c4f927a417557288e4b1b75f)
|
|
(cherry picked from commit e5e4e7b6a9be36bb9bf75da996c348ae2476010c)
|
|
TCP status polling is always performed as non blocking.
Trying to put a packet on a connecting socket will fail immediately.
(cherry picked from commit fa0cb7da0e096e01476eabef37c225404c7f6f26)
|
|
OpenBSD does not support binding on both IPv4 and IPv6 using the same socket
(cherry picked from commit 619e7a2c8ba19d0dc45467e29d9d9aa8b3506ac8)
|
|
- TCP:
- `listen` bind to wildcard "*" -> dual stack socket
- `listen` bind to address -> socket from address type
- `connect` -> resolve using best protocol (UNSPEC), socket from address type
- UDP:
- `listen` bind to wildcard "*" -> dual stack socket
- `listen` bind to address -> socket from address type
- `put_packet`/`put_var` -> resolve using TYPE_ANY (UNSPEC), socket from address type
(to change socket type you must first call `close` it)
(cherry picked from commit 88a56ba783d36d52a1023759e69f026b1ae255b4)
|
|
(cherry picked from commit 2fe4ef66991b483640f59873c22b3af671626ccc)
|
|
(cherry picked from commit b2839343cab66880f647c77da7b2e1826761776a)
|
|
(cherry picked from commit 4198291cd45da7fce278d21cd5ef4a506086d5f8)
|
|
(cherry picked from commit 98a7e2b4e09791705cd9dfd4d13611bc02fe47d4)
|
|
(cherry picked from commit e4b9b37ccf8495be674bc15cf0bf9d76fe94e6be)
|
|
TCP client connections does not need to rely on ipv6 dual stack sockets
(cherry picked from commit 55b4f3686d8f51958132a1a1745cc4e128fd118d)
|
|
|
|
|
|
This reverts commits a9d8da91b72fe8493f9087563056bb4ade4ca2c7
and 4230b22558516473fe2b11f05436fab13269789c.
|
|
Commits or PRs that do not respect the clang-format style that we
enforce will fail the test.
Adding ubuntu-toolchain-r-test as its libstdc++ is necessary to install
libllvm-3.9.
(cherry picked from commit 6aee289b3efea1d4f44fbcaa7d97ce276d17214e)
|
|
Before this change the libfreetype_builtin.a lib would be appended
at the very end of the linking flags, after system libs such as -lX11
or -lkernel32.
(cherry picked from commit 26c6c2b01a7507038f051bcdde9fcb41c7cc4d1f)
|
|
Bug introduced in a9d8da91b72fe8493f9087563056bb4ade4ca2c7.
|
|
When using get_tree().input_event(ev), the engine will JUST send the event down the SceneTree.
However, you won't get any of the benefits of the Input singleton:
- No InputMap actions will be emitted
- The internal input state won't be modified, so methods like `Input.get_mouse_pos()` or `Input.is_joy_button_pressed` won't return the expected output after sending the event.
This is fixed by using `Input.parse_input_event(ev)` instead.
I guess we'll also have to update the docs to reflect that this is the preferred method of sending custom InputEvents.
|
|
On KDE (and possibly others) the "default" cursor theme is actually some system default, not the one you've set in the desktop setting.
This was especially annoying when using a white cursor, as Godot would then reset back to a dark one.
In my case it was also keeping the cursor from changing its shape.
(cherry picked from commit fc84ccc468e14dd8cd317c29424011d76ec85dd5)
|
|
(cherry picked from commit 27c7d253aa1f2125e37344d7829b5b87a4b9a901)
|
|
Use a HBoxContainer instead of hardcoded positions.
(cherry picked from commit 7ec697695f9a12cbc2338725d887e752022e30f4)
|
|
There was a missing '!' sign, but autocompletion shows parent script members too.
(cherry picked from commit edaf77abd614d1260c6827f25045cc0473a08117)
|
|
(cherry picked from commit 55835167a4bf88d67b1c5d80bda606a57b919555)
|
|
According to Issue #8018, a BIND_VMETHOD macro wasn't present in scene/gui/control.cpp, while it was declared to be a virtual method in scene/gui/control.h.
classes.xml was updated to also list this method in Control.
(cherry picked from commit 9589936d6e59fe370297867548f65cb356172120)
|
|
(cherry picked from commit 4d0a75750fdb8d1cd150976cdbd6c3d1c7ab513b)
|
|
(cherry picked from commit 3f78f1f17db3b80279bd9c4a177913ea36aa130d)
|
|
- Avoid connecting the signals to nonexistent methods
- Preserve only persistent connections
(cherry picked from commit d210ac66ef8bbe056c014ba90fd2a12611b51648)
|
|
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6e3e905b94b8764e99491e608122261.
|
|
|
|
(cherry picked from commit 5e13a762ecbdfe6a643977b74c790d479a0636e2)
|
|
|
|
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
(Manual redo of 49c065d29ca07040c3fd810026121164ad86b247)
|
|
Derived from https://github.com/githubbrowser/Pre-commit-hooks
and https://gitlab.cern.ch/GeantV/geant/blob/master/hooks/pre-commit-clang-format
(cherry picked from commit 0e4ee5935a000f5d6de63d3c8ad15e1baf80cd0e)
|