| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | |
| | |
| | |
| | | |
supposed to fix(#26850)
|
|\ \ \
| | | |
| | | | |
Remove redundant code, possible NULL pointers and others
|
| |/ / |
|
|/ /
| |
| |
| | |
wrong argument usage count
|
|\ \
| | |
| | | |
Small fixes to unrechable code, possibly overflows, using NULL pointers
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix error macro calls not ending with semicolon
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Properly catch certain errors in Dictionary and Array declarations
|
| |/ /
| | |
| | |
| | | |
Fixes #29406
|
|\ \ \
| |/ /
|/| | |
Fix code completion not working with class_name
|
| | | |
|
|\ \ \
| | | |
| | | | |
Prevent using multiple class_name in a class
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Using codespell 1.15.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Small fixes to static analyzer bugs
|
| | | | |
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
Check subclasses too when checking for name clashes
|
| | | |
| | | |
| | | |
| | | | |
Fixes #27460
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
danielspaniol/25955-wrong-unreachable-warning-after-returning-from-matchs-wildcard-pattern
Fix: Wrong unreachable warning after returning from match's wildcard pattern #25955
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Before the parser only checked if the catch-all branch has a return in
order to determine if the entire match block has a return.
This code block was assumed to always return.
match value:
"test":
print("test")
_:
return
Now as soon as one of the branches has no return, the entire match block
is marked to not have a return.
|
| | |
| | |
| | |
| | | |
Fixes #26789
|
| | |
| | |
| | |
| | | |
Fix #19704, fix #26001
|
| | | |
|
|\ \ \
| | | |
| | | | |
Forbid implicit type conversion in GDScript
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Since types are not present in release builds, this could cause issues
where a variable does not have the exact defined type.
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Add a parse mode for GDScript which doesn't load dependencies
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- This mode avoids loading any other resource.
- Search for class_name now uses this mode, to avoid loading in the scan
thread.
- Implement get_dependencies() for GDScript loader, now exporting
dependencies only should include the preloaded resources.
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | | |
Also, initialize elements of PoolArrays when resizing them in the editor.
Fixes #26066.
|
|\ \ \
| | | |
| | | | |
Fix support for optional parameters in setters
|
| | | | |
|
| | | | |
|
| |/ /
|/| |
| | |
| | | |
Fixes #25316.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Using codespell 1.14.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|\ \ \
| | | |
| | | | |
Fix many asan and ubsan reported issues
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | | | |
| | | | | |
Fixed Null appearing inside export variables with type hints and no default value
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
value
The default value of the type is now used to initialise it.
export(int) A
Will now have A be 0 istead of Null even though it still showed as 0 before in the inspector, fixes #25357
|
|\ \ \ \
| |/ / /
|/| | | |
Fix script class icons looking for paths at runtime
|