Age | Commit message (Collapse) | Author |
|
This changes the way the lifespan of items is managed to be consistent.
Bonus: Simplify cases of destroy-then-emplace.
|
|
Fixed text editor drawing if smooth scrolling is disabled.
|
|
Fix input event being dispatched multiple times on Windows
|
|
Fix GDNative wrapper type sizes (RID, Variant, Packed*Array), add size checks.
|
|
Remove HQ2X and the `Image.expand_2x_hq2x()` method
|
|
Fixes #38778
|
|
|
|
As of Godot 3.0, HQ2X is no longer used to upscale the editor theme
and icons on hiDPI displays, which limited its effective uses.
HQ2X was also used to upscale the project theme when the "Use Hidpi"
project setting was enabled, but results were often less than ideal.
The new StyleBoxFlat and SVG support also make HQ2X less important
to have as a core feature.
This decreases binary sizes slightly (-150 KB on most platforms,
-212 KB on WebAssembly release).
This partially addresses #12419.
|
|
Remove get_local_mouse_position() hack in GraphEdit
|
|
[macOS] Fix popup positions on multiple screens.
|
|
Using command + comma on macOS as default shortcut for editor settings
|
|
|
|
|
|
checking static asserts.
|
|
Update r128.h to include latest fixes for mingw-64 32 bit builds.
|
|
|
|
Android: Migrate deprecated support library to AndroidX
|
|
websocket: Fix crash at exit when not running the editor
|
|
EditorDebuggerServer::register_protocol_handler must not be called before
editor initialization. Otherwise, if the editor is never initialized,
the added StringName will not be released until static destructors are
called (instead of being release during editor deinitialization).
|
|
(cherry picked from commit 2173d041af711c111d60d1fc1f45f96f4f8c7271)
|
|
(cherry picked from commit dac8b7b6f4fec0136a3dc95afae0aa8aa8ce9fd9)
|
|
Error macros: Improve style of error messages
|
|
Add more missing icons
|
|
|
|
|
|
Document why the `if (1) {} else ((void)0)` construct is used.
|
|
Hide editor_spin_slider grabber when closing Editor's windows
|
|
Fix: break, continue outside of a loop, match statement handled when parsing
|
|
Silence 'w' may be used uninitialized in image.cpp warning.
|
|
Fix #include <windows.h> for case-senstive cross-compilation.
|
|
Document CanvasItem's texture filtering and repeating modes
|
|
Document the Camera3D's `effects` property
|
|
Silence mulitple may be used uninitialized warnings in RenderingDeviceVulkan::uniform_set_create()
|
|
|
|
Fixes: #38740
|
|
This makes the CanvasItem documentation 100% complete.
|
|
This makes the Camera3D documentation 100% complete.
|
|
RenderingDeviceVulkan::uniform_set_create()
|
|
|
|
Style: Remove new line at block start, enforce line between functions, enforce braces in if and loop blocks
|
|
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
|
|
set parser error when infer type is null
|
|
I couldn't find a tool that enforces it, so I went the manual route:
```
find -name "thirdparty" -prune \
-o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \
-o -name "*.glsl" > files
perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files)
misc/scripts/fix_style.sh -c
```
This adds a newline after all `}` on the first column, unless they
are followed by `#` (typically `#endif`). This leads to having lots
of places with two lines between function/class definitions, but
clang-format then fixes it as we enforce max one line of separation.
This doesn't fix potential occurrences of function definitions which
are indented (e.g. for a helper class defined in a .cpp), but it's
better than nothing. Also can't be made to run easily on CI/hooks so
we'll have to be careful with new code.
Part of #33027.
|
|
Which means that reduz' beloved style which we all became used to
will now be changed automatically to remove the first empty line.
This makes us lean closer to 1TBS (the one true brace style) instead
of hybridating it with some Allman-inspired spacing.
There's still the case of braces around single-statement blocks that
needs to be addressed (but clang-format can't help with that, but
clang-tidy may if we agree about it).
Part of #33027.
|
|
|
|
shadowed var warning in nested block bug fix
|
|
Rename `w` to the more meaningful `data_write`
|
|
Fix C# bindings after lightmapper changes
|
|
C++: Apply some `modernize-*` checks from clang-tidy (nullptr, bool literals, void args)
|
|
Using clang-tidy's `modernize-redundant-void-arg`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-redundant-void-arg.html
|