Age | Commit message (Collapse) | Author |
|
Align the Variant data member
|
|
This should avoid potential alignment issues when _mem holds real
values and speed up some floating point operations in some cases.
|
|
We need to consume the trailer part and final CRLF after last chunk
as per RFC 7230 section 4.1:
```
chunked-body = *chunk
last-chunk
trailer-part
CRLF
```
We do not return the trailer part, just consume it allowing following
requests to work as expected when using keep alive.
|
|
|
|
|
|
|
|
Fix random generation, to not always retrieve 0 after seed()
|
|
Fix typo for randd and randf
|
|
This removes editor errors saying cycles existed when the thumbnailer was running.
|
|
* And improve documentation according to issue #25938
|
|
Fix keep-alive without header in HTTP client
|
|
|
|
|
|
Make Button shortcuts triggerable by gamepads
|
|
The allocations of commands in CommandQueueMT weren't aligned. This
commit aligns all accesses on 64bit boundaries regardless of target
platform. This ensures that all types are aligned.
Lock-wise the semaphores were maked as usable when the command had ran
but not when the synchronous stub had finished with it. This lead to a
race condition where sometimes the semaphore got reused before it was
waited on. We now mark the semaphore as free only once we're done
waiting on it.
|
|
This closes #25741.
|
|
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer
-Added missing emit_changed whe modifying keys to Animation
-Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references
-Changed AnimationEditor to update the current track when keys are edited
-Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated)
-Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
|
|
Using codespell 1.14.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
Ensure classes match their header filename
|
|
Note: These are still not exposed to GDScript
|
|
Use script instance binding for objects constructed from C#
|
|
Also drop some unused files.
Renamed:
- `core/dvector.h` -> `pool_vector.h`
- `core/io/resource_import.h` -> `resource_importer.h`
- `core/sort.h` -> `sort_array.h`
- `core/string_db.h` -> `string_name.h`
Dropped:
- `core/allocators.h`
- `core/os/shell.h`
- `core/variant_construct_string.cpp`
|
|
Fix many asan and ubsan reported issues
|
|
[Core] Rename Matrix3 file to Basis
|
|
|
|
Closes #25733.
|
|
The code already referred to "Basis", it's just the file name that was different for some reason.
|
|
Only possible if the object class is a "native type". If the object class is a user class (that derives a "native type") then a script is needed.
Since CSharpLanguage does cleanup of script instance bindings when finished, cases like #25621 will no longer cause problems.
Fixed ~Object() trying to free script instance bindings after the language has already been removed, which would result in a NULL dereference.
|
|
Thanks to @Rriik for finding the bug and its cause.
Fixes #25595.
|
|
Avoid CSharpInstance from accessing its state after self destructing (by deleting the Reference owner).
It's now safe to replace the script instance without leaking or crashing.
Also fixed godot_icall_Object_weakref return reference being freed before returning.
|
|
Mono: Fix MonoPosixHelper not being found
|
|
|
|
Let memory stat functions return uint64_t
|
|
Fixes #21601
|
|
|
|
This allows most demos to run without any ubsan or asan errors. There
are still some things in thirdpart/ and some things in AudioServer that
needs a look but this fixes a lot of issues. This should help debug less
obvious issues, hopefully.
This fixes #25217 and fixes #25218
|
|
Also expose Image MAX_WIDTH and MAX_HEIGHT.
Fixes #24455.
|
|
|
|
|
|
|
|
|
|
This reverts commit 6f704c338aa7448a65ced554804ae568063f35eb.
Sorry about this, this was a test and not meant to be pushed to master. :/
|
|
This reverts commit 64e584a97e0505cec592d3c98a2899ba8426f35a.
|
|
|
|
Change EditorFileSystem to not use directory modification times on FAT32, fixes #20946
|
|
|
|
A GDScript call to:
`multiplayer.network_peer.some_prop = true`
seems to transalte to:
```
var temp = multiplayer.network_peer
temp.some_prop = true
multiplayer.network_peer = temp
```
Which caused the MultiplayerAPI to be resetted.
The call to set_network_peer is now ignored if the peer that's beeing
set is the same as the currently set one.
|
|
rpc_sender_id is now correctly initialized to 0 so get_rpc_sender_id()
work reliably even if called before receiving any RPC.
root_node is initialized to NULL (fix crashes when incorrectly using the
MultiplayerAPI).
clear function now resets the packet cache size to free more memory when
not running.
|
|
GLES2: Make Nvidia flicker workaround opt-in
|
|
root, fixes #24412
|