Age | Commit message (Collapse) | Author |
|
This commit is a huge refactor of the websocket module.
The module is really old, and some design choices had to be
re-evaluated.
The WebSocketClient and WebSocketServer classes are now gone, and
WebSocketPeer can act as either client or server.
The WebSocketMultiplayerPeer class is no longer abstract, and implements
the Multiplayer API on top of the lower level WebSocketPeer.
WebSocketPeer is now a "raw" peer, like StreamPeerTCP and StreamPeerTLS,
so it emits no signal, and just needs polling to update its internal
state.
To use it as a client, simply call WebSocketPeer.coonect_to_url, then
frequently poll the peer until STATE_OPEN is reached and then you can
write or read from it, or STATE_CLOSED and then you can check the
disconnect code and reason).
To implement a server instead, a TCPServer must be created, and the
accepted connections needs to be provided to
WebSocketPeer.accept_stream (which will perform the HTTP handshake).
A full example of a WebSocketServer using TLS will be provided in the
demo repository.
|
|
Fetch video adapter driver name and version from OS
|
|
Fix some bugs about search in code editor
|
|
Add Spritesheet support to RichTextLabel BBCode
|
|
groud/expose_resource_format_loader_recognize_path
Exposes ResourceFormatLoader.recognize_path to scripting
|
|
BBCode: [img region=0,0,16,16]res://icon.svg[/img]
|
|
|
|
|
|
Cleanup unused defines in platform code
|
|
Add editor setting for AcceptDialog OK/Cancel buttons positioning
|
|
1. Fix #61713;
2. Fix the bug when there are consecutive matches, forward searching will skip the adjacent item;
3. Fix the bug that enable the selection-only option will affect the operations in search mode.
|
|
Fix newlines not honored in Windows console
|
|
|
|
This is relevant when building with `windows_subsystem=console`.
|
|
Add a project setting to make the root viewport transparent
|
|
touilleMan/gdextension-implement-get_documentation
Implement ScriptExtension::get_documentation
|
|
Use `JSON::stringify` where possible
|
|
Vulkan Clustered: Fix culling of negatively-scaled objects
|
|
Fix node name casing issues
|
|
Strip unnecessary break on switches returning early in Variant
|
|
Show warning when scaling Light3D nodes
|
|
Remove incorrect `px` suffixes
|
|
Add `is_finite` method for checking built-in types
|
|
Polish rendering driver refactor further
|
|
|
|
|
|
Co-authored-by: ryburnj <jordanryburn@gmail.com>
|
|
Tweaks comments around the touched-up parts. Also tweaks spacing
Also adds some spacing in all cases of Variant::`reference()`. This is a special for consistency, because it ends up making the cases more readable.
|
|
|
|
|
|
SCons: Cleanup GCC warnings configuration
|
|
Fallback to ResourceLoader if can't find UID
|
|
[Windows] Fix GCC MinGW warnings.
|
|
Remove default shortcut for Preview Canvas Scale
|
|
touilleMan/no-variant-destructor-for-struct-builtins
Remove Transform2/3D,AABB,Basis from Variant destructors given they are POD structs
|
|
[Web] Fix `Object` type in GodotJSWrapper.
|
|
|
|
Replace all TODO uses of `#warning` by proper TODO comments, and will open
matching bug reports to keep track of them.
We don't have a great track record fixing TODOs, but I'd wager we're even
worse for fixing these "TODO #warning" so we should prohibit this usage.
|
|
- Outright disable spammy warnings due to past or present GCC bugs:
* `-Wno-strict-overflow` for GCC 7.
* `-Wno-type-limits` for GCC before 11 (regressed in 9/10, might work in
earlier releases but at this stage we don't care).
* `-Wno-return-type` for GCC 12/13 (regression, still not fixed).
- Enable extra warnings conditionally when broken on earlier GCC:
* `-Wnoexcept` was removed due to an upstream regression in GCC 9, could
be re-enabled (but commented out for now as we actually have `-Wnoexcept`
warnings to fix.
* `-Wlogical-op` was broken on our variadic templates before GCC 11, now
seems fine.
|
|
|
|
Fix Variant types displayed as `Nil` in extension_api.json
|
|
|
|
Fix animation change callbacks
|
|
Fix unset `ObjectID` with validated `get_object()` call
|
|
Expose TreeItem::set_button_color
|
|
TokageItLab/add-signal-animation_selected-APEditer
Add `animation_selected` signal to AnimationPlayerEditor to subscribe changed animation
|
|
Fix inserting tabs in TextEdit
|
|
Cleanup a bunch of debug messages in OpenXR
|
|
Defer clearing of ResourceUID cache
|
|
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
|