Age | Commit message (Collapse) | Author |
|
Fixes most current reports on Coverity Scan of uninitialized scalar
variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html
These happen most of the time (in our code) when instanciating structs
without a constructor (or with an incomplete one), and later returning
the instance. This is sometimes intended though, as some parameters are
only used in some situations and should not be double-initialized for
performance reasons (e.g. `constant` in ShaderLanguage::Token).
|
|
- StringName::StringName(const StringName &p_name)
Non-static class member _data is not initialized in this constructor nor in any functions that it calls.
- StringName::_Data()
Non-static class member idx is not initialized in this constructor nor in any functions that it calls.
- String::num_uint64(...)
This less-than-zero comparison of an unsigned value is never true. n % base < 0UL.
- String::hex_to_int(...) and String::hex_to_int64(...)
Execution cannot reach this statement (deadcode)
|
|
|
|
Avoid converting Quat to Euler angles when not necessary.
|
|
Fix crash resulting from bad month check in core_bind.cpp
|
|
Allow actions to provide an analog value
|
|
Also, make it clear that day is 0-based. This might cause very slight differcies in existing games.
Fixes #18221
|
|
|
|
|
|
Also ensure that get_scale doesn't arbitrarlity change the signs of scales, ensuring that the combination of get_rotation and get_scale gives the correct basis.
Added various missing functions and constructors.
Should close #17968.
|
|
Small performance fix to wrapf
|
|
|
|
This reverts commit b76ee30917c63211ac9e94a21bebbddf518d169f.
|
|
Starting from April 2018 Apple no longer accepts apps that do not
support iPhone X. For games this mainly means respecting the safe area,
unobstructed by notch and virtual home button. UI controls must be
placed within the safe area so that users can interact with them.
This commit:
- Adds OS::get_window_safe_area method that returns unobscured area of
the window, where interactive controls should be rendered.
- Reorganizes how launch screens are exported - the previous way was
incorrect and modern iPhones did not pick up the correct screens and
because of that used a non-native resolution to render the game.
- Adds launch screen options for iPhone X.
- Makes launch screens optional in the export template. If not
specified, a white screen will be used.
- Adds App Store icon (1024x1024) export option as it now has to be
bundled with the app instead of being provided in iTunes Connect.
- Fixes crash when launching games in iOS Simulator. It happened because
controllerWasConnected callback came before the engine was
initialized. Now in such case the controllers will be queued up and
registered after initialization is done.
- Fixes issue with the virtual keyboard where for some reason
autocorrection panel would intersect with the keyboard itself and not
allow you to use the top row of the keyboard. This is fixed by
disabling autocorrection altogether.
Closes #17358. Fixes #17428. Fixes #17331.
|
|
|
|
Closes #18043
|
|
Fixes https://github.com/godotengine/godot/issues/18025
|
|
Fix is_point_in_triangle function
|
|
add Image::bumpmap_to_normalmap conversion function
|
|
[RFC] MultiplayerAPI refactor
|
|
enhance mipmaps, non power of 2 textures
|
|
Duplicate Arrays and Dictionaries when instancing scene in editor
|
|
Allows to map an action to all devices.
|
|
This is accomplished by setting a special value (-1) to the device variable
in the InputEvent that's being used to compare with the one received from the OS.
This special value is invalid for a regular input, so it should be safe.
Implements #17942
|
|
Enhance uri utils
|
|
Fixes moving files causes scene corruption
|
|
|
|
Fixes #17875.
|
|
[macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts.
|
|
LWS v2.4.2, mbedTLS v2.8.0, Websocket SSL support
|
|
|
|
|
|
|
|
|
|
There was a percent-prefixed version, which was exposed, and a http-prefixed version which was not (only to GDNative).
This commit keeps the percent-prefixed versions, but with the http-prefixed implementations.
|
|
This commit fixes issue #17585: renaming/moving resources can corrupt
scene files. The corruption was caused by
'ResourceFormatLoaderBinary::rename_dependencies' updating the file
format version field of the affected scene file to the latest version
without actually updating the content of the file to that version,
resulting in a file whose content does not match its file format version
field. The fix preserves the file format version field and the engine
version fields when renaming dependencies.
|
|
|
|
|
|
Add RWLockDummy for NO_THREADS builds
|
|
|
|
When adding a directory path to the inventory of the pack, an empty file name was being added to the file list. That made `Directory.get_ntext()` signal end-of-list too early so that files in a subdirectory were missed.
Fixes #15801.
Helps with #16798.
|
|
GUI elements ui_action usage, improvements
|
|
Fix HTTPClient SNI support when verify is off
|
|
|
|
Added File.get_path and File.get_path_absolute functions
|
|
Fix mismatch between Color.h and Color.from_hsv()
|
|
Mono: Avoid invalid class names.
|
|
Disallow reserved keywords as class names and prefix base class with the Godot
namespace if it's the same as the class name.
Fixes #12483
|
|
|
|
Fix a potential bug hinted by clang
|