Age | Commit message (Collapse) | Author |
|
Fix for marking assert lines as safe bug
|
|
|
|
Calling _reduce_node_type from GDScriptParser::_parse_block for assert
was using a current class with a scope that didn't include all
functions. Now calling in GDScriptParser::_check_block_types uses the
right class type. We also now check the assert node message. The assert
line was added to the set_errors associated with assert, since before
the error would be reported on the next line
|
|
Fix: export var type reduce() implemented
|
|
|
|
Fixed the auto-completion bug in gdscript_editor
|
|
Mark assert lines as safe in gdscript
|
|
autocomplete for load() function implemented
|
|
Revert "Allow parameters passed to GDScript functions to be nulled"
|
|
GDScript: Fix type inference for const reference to global class
|
|
Fix unassigned variable warnings for match bindings
|
|
GDScript class name existance check enhanced
|
|
Line marked unsafe when base known and index unkonwn
|
|
Autocompleting with indexing for builtin types added
|
|
Note: Only replaced 2 instances to test, Node.get_children and TileMap.get_used_cells
Note: Will do a mass replace on later PRs of whathever I can find, but probably need
a tool to grep through doc.
Warning: Mono will break, needs to be fixed (and so do TypeScript and NativeScript, need to ask respective maintainers)
|
|
Also added an easier way to load native GLSL shaders.
Extras:
Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload.
Note:
The precommit hooks are broken because they don't seem to support enums from one class being used in another.
Feel free to fix this after merging this PR.
|
|
Subgroups were added in #37678 but not properly handled everywhere
where PROPERTY_USAGE_GROUP is.
|
|
Properly expose classes that we actually want accessible.
|
|
|
|
|
|
Fix: #37768
|
|
|
|
Implement decals
|
|
Also implemented decal atlas, so projectors and other stuff can be added.
Sidenote: Had to make RID hashable, so some unrelated includes changed
in order to include it in hashfuncs.h
|
|
autocomplete for disconnect implemented
|
|
|
|
`:=` fails on some nodes fix: #37357
|
|
Fixes #34697
|
|
Fixes #37529.
|
|
|
|
|
|
Seems like this was overlooked in PR #31142. See also issue #17082.
|
|
doc: Update classref with node renames
|
|
A few extra renames for classes which were missed in last week's PRs.
|
|
Configured for a max line length of 120 characters.
psf/black is very opinionated and purposely doesn't leave much room for
configuration. The output is mostly OK so that should be fine for us,
but some things worth noting:
- Manually wrapped strings will be reflowed, so by using a line length
of 120 for the sake of preserving readability for our long command
calls, it also means that some manually wrapped strings are back on
the same line and should be manually merged again.
- Code generators using string concatenation extensively look awful,
since black puts each operand on a single line. We need to refactor
these generators to use more pythonic string formatting, for which
many options are available (`%`, `format` or f-strings).
- CI checks and a pre-commit hook will be added to ensure that future
buildsystem changes are well-formatted.
|
|
|
|
Fix for loop range bug: #37358
|
|
|
|
This reverts commit f0efc7521e7302e60ebaab31a42fafd3ea2bda68.
Fixes #37312.
|
|
|
|
|
|
Now calling _reduce_node_type with debugging enabled to determine
if assert line is safe. Part of doing this required the assert line
to be stored away. Now the AssertNode line is being correctly set.
Newlines are now marked safe always
|
|
Now that the unused DocDump was removed, the `editor/doc` subfolder is
redundant.
Similarly, there's no reason for Collada to have a subfolder for itself
when glTF or OBJ don't.
|
|
This addresses the issue godotengine/godot#37143
|
|
|
|
For us, it practically only changes the fact that `A<A<int>>` is now
used instead of the C++03 compatible `A<A<int> >`.
Note: clang-format 10+ changed the `Standard` arguments to fully
specified `c++11`, `c++14`, etc. versions, but we can't use `c++17`
now if we want to preserve compatibility with clang-format 8 and 9.
`Cpp11` is still supported as deprecated alias for `Latest`.
|
|
Generates the rpc and rset info for exported GDScript.
|
|
Fixed rset method for gdscript and visual script
|
|
Found via `codespell`
|
|
GDScript duplicate arguments bug fixed
|