Age | Commit message (Collapse) | Author |
|
This makes the CanvasItem documentation 100% complete.
|
|
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
|
|
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
|
|
Using clang-tidy's `modernize-use-bool-literals`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
|
|
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
|
|
Port member default initialization from constructor to declaration (C++11)
|
|
Using `clang-tidy`'s `modernize-use-default-member-init` check and
manual review of the changes, and some extra manual changes that
`clang-tidy` failed to do.
Also went manually through all of `core` to find occurrences that
`clang-tidy` couldn't handle, especially all initializations done
in a constructor without using initializer lists.
|
|
|
|
|
|
ThakeeNathees/range-crash-with-non-numeric-const-fix
range() with non-numeric const argument crash fix
|
|
regression: var declaration type info parser bug fix
|
|
regression: static func can't access const fix
|
|
Rename the editor action "Revert Scene" to "Reload Saved Scene"
|
|
Support SDL2 half axes and inverted axes mappings.
|
|
|
|
|
|
|
|
|
|
|
|
Make it clear that PhysicsDirectSpaceState is only available from within _physics_process().
|
|
WebSocket profiler for HTML5 platform [4.0]
|
|
ice-blaze/minimap-shifted-selection-by-one-line#38532
Fix minimap selection offset
|
|
|
|
|
|
It is now possible to register protocol handlers (default tcp://) to
support additional debugging communication layers (e.g. websocket).
|
|
This option can be used to workaround various issues with stuff
not reloading properly when changes are made.
The option was renamed to clarify the fact that it actually
reloads the scene saved on the filesystem.
|
|
within _physics_process().
|
|
RevoluPowered/feature/compilation-database-support
Compilation database support - clang, gcc, mingw
|
|
This tool is originally from mongodb.
- Updated CPPSUFFIXES to use scons suffixes
- objective-c files will also be loaded into the compilation database where the compiler / tooling is available to compile the files.
Known limitations:
- This will not work with msvc as your compiler.
|
|
Can be manually set, let's not pollute them further.
Should also be done for WebRTC.
|
|
Silence EQ::Band::c1, c2 and c3 may be used uninitialized warnings.
|
|
Rename SSL certificate bundle setting to clarify the "overriding" aspect
|
|
Fixes memory leak with lightmap part 2
|
|
|
|
Mark `*.tza` files as binary in `.gitattributes` for old Git versions
|
|
This closes https://github.com/godotengine/godot-docs/issues/2531.
|
|
|
|
Adds API changes from the new GPU lightmapper.
|
|
Update the editor icons README to remove outdated information
|
|
Better file naming for AppVeyor artifacts
|
|
This prevents `thirdparty/oidn/weights/rtlightmap_hdr.tza` from always being
considered as modified when using an old Git version (such as the one on
Ubuntu 16.04).
|
|
This closes #38684.
|