Age | Commit message (Collapse) | Author |
|
Prevent ALSA audio corruption
|
|
When using the ALSA driver, corruption would occur if `snd_pcm_writei`
was unable to consume the entire sound buffer. This would occur
frequently on the Raspberry Pi 3 which uses the `snd_bcm2835` audio
driver.
This bug resulted from incorrect pointer math on line 187, resulting in
the sample source pointer being advanced by `total * ad->channels` bytes
instead of `total * ad->channels` samples. In my opinion, the best fix
is to change `*src` to type `int16_t`, since that is the sample type in
use.
Fixes #43927.
|
|
Add root_node as property of MultiplayerAPI
|
|
Fixes crash when parse_expression returns nullptr.
|
|
Skip extra newline in .tscn when renaming dependency
|
|
Disable SO_REUSEADDR for UDP.
|
|
GDScript: range function type check bug fixed
|
|
Fix crash due to unreachable code in properties
|
|
It allows binding multiple sockets to the same ADDR:PORT (unlike TCP,
which still requires different ADDR:PORT combinations).
|
|
Fix: #43586
|
|
doc: Mention iOS support for for Input gravity/gyroscope sensors
|
|
It has been implemented for iOS a long time ago already with #7127.
|
|
Unregister GDScriptFunctionState class
|
|
This is not user accessible anymore so it does not need to be show in
documentation.
|
|
GDScript: Improve handling of operators
|
|
Some GDScript fixes
|
|
- Use the new functions in Variant to determine the validity and resulting
type of operators.
- Split the operator function in codegen between binary and unary, since
the unary ones have now a special requirement of having the second
argument to be the NIL type when requesting info.
|
|
It can wait until the analyzer itself is destructed, otherwise other
phases might be using freed parsers.
|
|
Otherwise this may lead to a crash when the dependency is not present.
|
|
Implement Signed Distance Fields for 2D shaders
|
|
|
|
Added extra warning to texture nodes in visual shader + fix warning appearing
|
|
|
|
Add `AspectRatioContainer` class
|
|
(cherry picked from commit 97e7d637e0362a2d676eaa854f0e638ecf49e347)
|
|
Check joint nodes and generate configuration warning messages.
|
|
Implement SAVE_TARGETS mechanism for Linux clipboard
|
|
fixes crash for OPCODE_CAST_TO_NATIVE opcode in gdscript disassemlber
|
|
EricEzaM/PR/project-settings-remove-unused-property-and-method
Removed references to 'registering_order', as it was unused.
|
|
Removed unused property 'pending_resize' from Control
|
|
|
|
|
|
|
|
Docs: Port Code Examples to C# (F, G, H, I, J, K, L)
|
|
Fix prints and printt functions printing as errors
|
|
Includes:
* File
* Geometry2D
* HashingContext
* HTTPClient
* HTTPRequest
* Image
* Input
* int
* ItemList
* JSONParseResult
* KinematicBody2D
* LineEdit
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
|
|
|
|
SCons: Do not define TYPED_METHOD_BIND on Linux/clang
|
|
|
|
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
|
|
It's now only needed for MSVC.
|
|
It was commented for some reason I can't remember.
|
|
A couple of GDScript fixes
|
|
GDScript: Fix mishandling of stack pointers
|
|
It was mistakenly returning the source instead of the result.
|
|
The call of range() in a for loop is optimized to use int or vectors, to
avoid allocating an array, however the type was set as array still. With
the new typed VM this is an issue as the type mismatch the actual value,
resulting in wrong instructions to be selected.
|
|
- Replace the for loop temporaries by locals. They cause conflicts with
the stack when being popped, while locals are properly handled in the
scope.
- Change the interface for the codegen so the for loop list doesn't live
through the whole block if it's a temporary.
- Keep track of the actual amount of local variables in the stack. Using
the size of the map is misleading in cases where multiple locals have
the same name (which is allowed when there's no shadowing).
- Added a few debug checks for temporaries, to avoid them being wrongly
manipulated in the future. They should not live more than a line of
code.
- Rearrange some of compiler code to make sure the temporaries don't
live across blocks.
|
|
Core: Always enable ptrcall, remove PTRCALL_ENABLED define
|
|
ptrcall is now also used to optimize calls in GDScript, on top of the existing
use by the GDNative and Mono modules.
It no longer makes sense to make it optional.
|
|
Co-authored-by: Ugis Brekis <ugis.brekis@productmadness.com>
|