Age | Commit message (Collapse) | Author |
|
Hide non-applicable CLI arguments in the server platform
|
|
This refactors some of the CLI parsing code to follow the CLI help's
order, making it easier to toggle using compile-time defines.
|
|
Tweak the default low-processor usage mode to be 144 Hz-friendly
|
|
(cherry picked from commit a31bbb4bd920e28cbb2c737a785e91da5e7a599f)
|
|
On high-refresh rate displays, the old default value (8000) effectively
limited redrawing to 125 FPS, no matter whether V-Sync was enabled
or not. The new value limits redrawing to a value slightly above
144 FPS, decreasing input lag and making the editor feel smoother
when using freelook.
60 Hz displays aren't affected by this change when V-Sync is enabled,
since V-Sync will take care of limiting redrawing to 60 FPS.
|
|
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com>
|
|
|
|
- Allow the user to keep track of the nodes that might leak
- Possible fix for #27103
|
|
[Clean up] Removed unused/unnecessary methods.
|
|
Closes #27489
Fixup of 466a76ac2c7c6634ed1d78fde4ac011e2e70b710
Additionally, update `GDScriptCompiler` test to use Ref and to include `as` expressions.
|
|
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
|
|
Reorder reverse caps characters table for string lower case conversion
|
|
Fixes physic_fps=0 bug that prevented quit.
|
|
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135.
|
|
The binary search algorithm used to lookup character codes in the table
relies that the data must be ordered. This fixes `to_lower()` string
method to convert upper case to lower case properly, so that the
algorithm doesn't terminate prematurely.
Co-authored-by: AndreevAndrei (avandrei) <avandrei@MacBookAAV.local>
|
|
This reverts commit fb37284c027b494ed3ec21124001fcb729f42cc4.
This reverts commit 4db0f51b9aa76cfc7649787fe1970af606ce8dab.
|
|
|
|
Fixes #26789
|
|
Make the Tooltip Position Offset Configurable
|
|
Fix fake null-motion mouse event flood
|
|
This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit.
Fixes #26460.
|
|
Added a condition to check if the loop exited without iteration
being run by checking the return value from idle().
Fixes: #26321
|
|
We need it in setup() already before initializing the renderer,
as it's used to force fallback to GLES2 if GLES3 fails.
Fixes #26806.
|
|
Improve/fix picking
|
|
Synced with gabomdq/SDL_GameControllerDB@4f9962c7b268e32fa9a2a96308cfdf66795e782a.
|
|
Acknowledge mouse button events as position tellers (to make picking more solid; for instance, the touch mouse is raised with a mouse unpressed event that may have a more current position)
Forget mouse position for physics if touch mouse raised (because the position known as last is no longer meaningful)
Remove needless check for mouse over/exit (now there's code to inject an spurious move for cases where camera/objects have moved)
Restrict 2D mouse over/exit to mouse events (including emulated from touch; true touches shouldn't trigger the signals)
Fixes #26460.
|
|
GLES2 is not designed to be a drop-in replacement for the GLES3 backend,
so the fallback mode has to be used knowingly. It *can* make sense for
simple projects which make sure to handle the differences between both
rendering backends, but most users should stick to one supported backend.
By making it opt-in, we can now use this parameter to define whether to
export ETC textures to Android and iOS when using GLES3 + Fallback.
When using GLES3 without Fallback on Android, set the proper min GLES
version in the AndroidManifest.
Also made the option boolean and renamed it for clarity and to avoid
conflict with the previous String option (which would always evaluate as
"true" otherwise).
Fixes #26569.
|
|
|
|
|
|
|
|
|
|
Fixes #25184.
|
|
|
|
This can happen when chaining calls to various string methods when the
string is empty.
|
|
Fixes #25316.
|
|
ProjectSettings: fix category for per pixel transparency settings
|
|
|
|
They had been reserved for future implementation, but we now have the
`match` CF keyword which does the same and more.
According to @reduz `do` was even added by mistake when copying from
the shader language parser, it was never intended to add support for
`do`... `while` loops, as the syntax would be awkward in GDScript,
and the added sugar is not worth it.
Fixes #25787.
|
|
|
|
Renamed:
- `drivers/alsamidi/alsa_midi.h` -> `midi_driver_alsamidi.h`
(same for `coremidi` and `winmidi`)
- `main/timer_sync.h` -> `main_timer_sync.h`
- `servers/visual/visual_server_global.h` -> `visual_server_globals.h`
|
|
Fix many asan and ubsan reported issues
|
|
Also drop empty "image" test, and print proper error when passing wrong
test name.
Fixes #25638.
|
|
The code already referred to "Basis", it's just the file name that was different for some reason.
|
|
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
|
|
|
|
not crash. Fixes #25272
Eventually some sort of main even queue should be implemented to do this properly.
|
|
|
|
Synced with gabomdq/SDL_GameControllerDB@c5af5d58f44e070b1fa127f70f38eeeaaaff12a3.
Closes #25138.
|
|
|
|
Fixes items 10, 16 and 19 from PVS-Studio blog post
in #24014.
|