Age | Commit message (Collapse) | Author |
|
Keep GDScript functions in stack while yielding
|
|
Fix some editor crashes
|
|
Remove unnecessary code and add some error explanations
|
|
|
|
|
|
Replace ` + "/" + ` with `String::file_add()`
|
|
Applied some of FALLTHROUGH macro usage from #30122
|
|
compiler that this is intended.
|
|
The functionality is similar to how `doc_classes` are retrieved per module.
The build system will search for custom icons path defined per module via
`get_icons_path()` method in `config.py` or default icons path.
If such paths don't exist, only the editor's own icons will be built.
Most module icons were moved from editor/icons to respective modules.
|
|
Proofread and improve the whole class reference
|
|
supposed to fix(#26850)
|
|
- Document a few more properties and methods
- Add more information to many classes
- Fix lots of typos and gramar mistakes
- Use [code] tags for parameters consistently
- Use [b] and [i] tags consistently
- Put "Warning:" and "Note:" on their own line to be more visible,
and make them always bold
- Tweak formatting in code examples to be more readable
- Use double quotes consistently
- Add more links to third-party technologies
|
|
Remove redundant code, possible NULL pointers and others
|
|
wrong argument usage count
|
|
|
|
|
|
|
|
akien-mga/nothing-that-surrounds-us-is-object-all-is-subject
GDScript: Improve error on Object to Object invalid argument calls
|
|
Also move module-specific classes to their own module's `doc_classes`
folder.
|
|
ResourceFormatLoader and ResourceFormatSaver are meant to be overridden
to add support for different formats in ResourceLoader and ResourceSaver.
Those should be exposed as they can be overridden in plugins.
On the other hand, all predefined subclasses of those two base classes
are only meant to register support for new file and resource types, but
should not and cannot be used directly from script, so they should not
be exposed.
Also unexposed ResourceImporterOGGVorbis (and thus its base class
ResourceImporter) which are editor-only.
|
|
Fixes #27804.
|
|
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
|
|
|
|
Added move_toward functions for float, Vector2 and Vector3
|
|
Support for binary literals in GDScript
|
|
|
|
Prevent using multiple class_name in a class
|
|
|
|
|
|
add const to methods that return literals
|
|
|
|
Allow overriding how scripted objects are converted to strings
|
|
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
```
|
|
Also show script and line when the instance is gone when resuming from
yield.
|
|
This prevents GDScript functions from leaving the stack too soon when
they are resuming from yield, allowing the ones expecting it to finish
to know the caller.
Helps debugging cases when you use:
`yield(function_which_yields(), "completed")`
since now it shows the call that resumed that function.
|
|
solves #26796
- ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts
- ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings
- IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance
- ADD Documentation about `Object.to_string` and `Object._to_string`
- Changed `Variant::operator String` to use `obj->to_string()`
|
|
Fix typed arrays and dictionaries getting their values shared
|
|
Fixes #27152
Fixes #28591
|
|
|
|
Small fixes to static analyzer bugs
|
|
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
|
|
Add settings for single-quotes on completion
|
|
|