summaryrefslogtreecommitdiffstats
path: root/modules/gdscript
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #75943 from adamscott/fix-missing-script-type-nullptr-checkRémi Verschelde2023-05-221-1/+1
|\ | | | | | | Add missing `script_type` `nullptr` check
| * Add missing `script_type` `nullptr` checkAdam Scott2023-04-111-1/+1
| | | | | | | | Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
* | Docs: Point to @GDScript in GDscript (script impl)Max Hilbrunner2023-05-171-1/+2
| |
* | GDScript: Fix `validate_call_arg()` for unresolved datatypeDanil Alexeev2023-05-151-3/+5
| |
* | GDScript: Fix warning ignoring for member variablesDanil Alexeev2023-05-123-2/+22
| |
* | Rework Navigation Avoidancesmix82023-05-102-0/+11
| | | | | | | | Rework Navigation Avoidance.
* | Merge pull request #76824 from Calinou/doc-export-pck-binary-resource-conversionRémi Verschelde2023-05-091-0/+1
|\ \ | | | | | | | | | Document caveats related to exported project binary resource conversion
| * | Document caveats related to exported project binary resource conversionHugo Locurcio2023-05-081-0/+1
| | |
* | | Merge pull request #76790 from achernik/masterRémi Verschelde2023-05-091-1/+3
|\ \ \ | | | | | | | | | | | | LSP: don't send empty completion command
| * | | LSP: don't send empty completion commandАлександр Черник2023-05-061-1/+3
| |/ /
* | | Merge pull request #76490 from dsnopek/dump-gdscript-docsRémi Verschelde2023-05-091-0/+1
|\ \ \ | |/ / |/| | | | | Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATH
| * | Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATHDavid Snopek2023-05-081-0/+1
| | |
* | | Merge pull request #76664 from Xenoparrot/simple-typosMax Hilbrunner2023-05-061-1/+1
|\ \ \
| * | | Fixed various typos across the docsUltraBIF2023-05-021-1/+1
| | | |
* | | | Merge pull request #72288 from MewPurPur/use-string-repeatClay John2023-05-051-12/+2
|\ \ \ \ | | | | | | | | | | Use `String.repeat()` to optimize several String methods
| * | | | Use String.repeat() in more placesVolTer2023-05-011-12/+2
| | | | |
* | | | | Merge pull request #76650 from Koyper/gdscript_range_docsMax Hilbrunner2023-05-051-2/+2
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Update @GDScript.xml range docs to iterate backwards.Koyper2023-05-011-2/+2
| | |_|/ | |/| |
* | | | Merge pull request #76412 from dalexeev/gds-reorganize-warningsRémi Verschelde2023-04-2822-198/+161
|\ \ \ \ | | | | | | | | | | | | | | | GDScript: Reorganize and unify warnings
| * | | | GDScript: Reorganize and unify warningsDanil Alexeev2023-04-2822-198/+161
| | | | |
* | | | | Merge pull request #75732 from vonagam/fix-duplicate-conditionRémi Verschelde2023-04-281-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | GDScript: Fix unnecessary duplication of pointed out lines
| * | | | | GDScript: Fix unnecessary duplication of pointed out linesDmitrii Maganov2023-04-061-3/+3
| | | | | |
* | | | | | Merge pull request #75014 from vonagam/assert-literal-falseRémi Verschelde2023-04-283-1/+9
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | GDScript: Allow usage of literal false in assert without a warning
| * | | | | GDScript: Allow usage of literal false in assert without a warningDmitrii Maganov2023-03-173-1/+9
| | | | | |
* | | | | | GDScript: Fix template_debug compilation with TOOLS/DEBUG macro mismatchRémi Verschelde2023-04-281-2/+2
| | | | | |
* | | | | | Add support for static variables in GDScriptGeorge Marques2023-04-2735-86/+686
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Which allows editable data associated with a particular class instead of the instance. Scripts with static variables are kept in memory indefinitely unless the `@static_unload` annotation is used or the `static_unload()` method is called on the GDScript. If the custom function `_static_init()` exists it will be called when the class is loaded, after the static variables are set.
* | | | | | Merge pull request #76483 from vnen/gdscript-dont-fail-returning-freed-objectRémi Verschelde2023-04-273-4/+17
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | GDScript: Don't fail when freed object is return
| * | | | | | GDScript: Don't fail when freed object is returnGeorge Marques2023-04-263-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is check is a bit too eager. The user should be able to handle the return value even if it's a freed object.
* | | | | | | Merge pull request #74053 from vnen/gdscript-fix-disassembler-lambda-crashRémi Verschelde2023-04-271-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | GDScript: Fix wrong increment for disassembly of lambda
| * | | | | | | GDScript: Fix wrong increment for disassembly of lambdaGeorge Marques2023-02-271-2/+2
| | | | | | | |
* | | | | | | | Merge pull request #76488 from YuriSizov/docs-validate-code-paramsRémi Verschelde2023-04-271-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Validate code tags in documentation for potential params
| * | | | | | | | Validate code tags in documentation for potential paramsYuri Sizov2023-04-261-1/+1
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a check to make_rst to look for matches between the text inside of the [code][/code] tag and known param identifiers. Fixes most of what was revealed.
* | | | | | | | Merge pull request #76481 from vnen/gdscript-test-gen-default-pathRémi Verschelde2023-04-271-5/+5
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | GDScript: Use default path in test generator if not provided
| * | | | | | | GDScript: Use default path in test generator if not providedGeorge Marques2023-04-261-5/+5
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since it's almost always used with the same path, assume it is running from the Godot source root.
* | | | | | | Merge pull request #72095 from anvilfolk/gd-docsYuri Sizov2023-04-267-251/+342
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Improve GDScript documentation generation & behavior
| * | | | | | Improve and fix GDScript documentation generation & behaviorocean (they/them)2023-04-217-251/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes documentation generation (docgen) from the GDScript compiler to its own file. Adds support for GDScript enums and signal parameters and quite a few other assorted fixes and improvements.
* | | | | | | Merge pull request #75885 from AThousandShips/compound_fixRémi Verschelde2023-04-253-11/+38
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [GDScript] Fix incorrect compound assignment
| * | | | | | | [GDScript] Fix incorrect compound assignmentNinni Pipping2023-04-143-11/+38
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverts in-place compound assignments Added test to ensure correctness
* | | | | | | Merge pull request #76404 from sodaJar/gdrepRémi Verschelde2023-04-251-3/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix wrong file name on function call error
| * | | | | | | Fix wrong file on function call errorsodaJar2023-04-241-3/+4
| | |/ / / / / | |/| | | | |
* | | | | | | Merge pull request #74101 from RandomShaper/fix_gds_obj_tempsRémi Verschelde2023-04-254-52/+73
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix edge cases of object lifetime when signals involved
| * | | | | | | Fix edge cases of object lifetime when signals involvedPedro J. Estébanez2023-04-114-1/+26
| | | | | | | |
| * | | | | | | GDScript: Don't use pool for reference typesGeorge Marques2023-04-111-51/+47
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Since they need to be properly initialized and finalized to adjust the reference counter.
* | | | | | | Merge pull request #76095 from adamscott/fix-rename-lsp-variablesRémi Verschelde2023-04-243-19/+45
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [LSP] Fix GDScript inner method variable rename
| * | | | | | | Fix GDScript LSP variable renameAdam Scott2023-04-223-19/+45
| | |/ / / / / | |/| | | | |
* | | | | | | Merge pull request #75605 from anvilfolk/type-baseRémi Verschelde2023-04-243-3/+8
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | Make GDScript type not found errors more informative.
| * | | | | | Make type not found errors more informative.ocean (they/them)2023-04-023-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR removes a check for whether a datatype is a meta type when generating a datatype's to_string() result. This means that error messages that fail to find the type will now print their class names, which is much more useful when trying to identify errors.
* | | | | | | Merge pull request #76286 from MystMagus/gdscript-mixed-tabs-and-spaces-fixRémi Verschelde2023-04-201-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix for mixed tabs and spaces in gdscript
| * | | | | | | Fix for mixed tabs and spaces in gdscriptMistMage2023-04-201-1/+1
| | | | | | | |
* | | | | | | | GDScript: Add some checks for `@tool` and `@icon`Danil Alexeev2023-04-205-0/+30
|/ / / / / / /