summaryrefslogtreecommitdiffstats
path: root/modules/gdscript
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | GDScript: Fix `UNSAFE_CAST` warningDanil Alexeev2023-10-2721-5/+149
| | | | | | | | |
* | | | | | | | | GDScript: Fix highlighting escapes in multiline raw stringsDanil Alexeev2024-04-092-18/+28
| | | | | | | | |
* | | | | | | | | Add tests for signal await with parameterskobewi2024-04-082-0/+29
| | | | | | | | |
* | | | | | | | | Merge pull request #90039 from AThousandShips/load_relative_noteRémi Verschelde2024-04-081-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Doc] Document loading behavior with relative paths
| * | | | | | | | | [Doc] Document loading behavior with relative pathsA Thousand Ships2024-03-301-1/+1
| | |_|_|/ / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #89659 from dalexeev/gds-hl-fix-typesRémi Verschelde2024-04-081-9/+23
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GDScript: Fix `for` expression is highlighted as type
| * | | | | | | | | GDScript: Fix `for` expression is highlighted as typeDanil Alexeev2024-03-181-9/+23
| | |_|_|/ / / / / | |/| | | | | | |
* | | | | | | | | Don't pass `self` when calling a static function from a non-static contextJamie Hill-Daniel2024-04-043-4/+6
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Add 'override' mark to ResourceFormat classppphp2024-03-251-8/+8
| | | | | | | |
* | | | | | | | Merge pull request #89451 from AThousandShips/emit_fixRémi Verschelde2024-03-244-0/+40
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | [Core] Disconnect one-shot signals before calling callbacks
| * | | | | | | | [Core] Disconnect one-shot signals before calling callbacksA Thousand Ships2024-03-204-0/+40
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents infinite recursion with one-shot connections emitting themselves
* / / / / / / / Add editor settings for autocompletion with NodePath and StringNameVolTer2024-03-191-1/+9
|/ / / / / / /
* | | | | | | Merge pull request #89484 from dalexeev/update-gds-docRémi Verschelde2024-03-141-1/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Update `@GDScript` documentation
| * | | | | | | Update `@GDScript` documentationDanil Alexeev2024-03-141-1/+5
| | | | | | | |
* | | | | | | | Merge pull request #89270 from Repiteo/enforce-typename-in-templatesRémi Verschelde2024-03-142-5/+5
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | Enforce template syntax `typename` over `class`
| * | | | | | | Enforce template syntax `typename` over `class`Thaddeus Crews2024-03-072-5/+5
| | | | | | | |
* | | | | | | | Merge pull request #87680 from AThousandShips/the_angry_countRémi Verschelde2024-03-1313-2/+213
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Add methods to get argument count of methods
| * | | | | | | | Add methods to get argument count of methodsA Thousand Ships2024-03-1013-2/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added to: * `Callable`s * `Object`s * `ClassDB` * `Script(Instance)`s
* | | | | | | | | GDScript: Fix `@warning_ignore` annotation issuesDanil Alexeev2024-03-1224-204/+597
|/ / / / / / / /
* | | | | | | | Merge pull request #89284 from mihe/lsp-multiple-messagesRémi Verschelde2024-03-094-13/+25
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow LSP to process multiple messages per poll
| * | | | | | | | Allow LSP to process multiple messages per pollMikael Hermansson2024-03-084-13/+25
| |/ / / / / / /
* / / / / / / / Editor Help: Add syntax highlighting for code blocksDanil Alexeev2024-03-092-11/+25
|/ / / / / / /
* | | | | | | GDScript: Add @export_custom annotationGeorge Marques2024-03-073-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows setting any arbitrary hint, hint string, and usage flags. Useful for more complex hints or potential future hints not available as a dedicated annotation.
* | | | | | | Merge pull request #82952 from AbelToy/gds-export-arrayRémi Verschelde2024-03-0612-64/+455
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Allow `@export`ed Arrays to set property hints for their elements
| * | | | | | | Support Array and PackedArray in @export_*Abel Toy2024-03-0612-64/+455
| | | | | | | |
* | | | | | | | [GDScript] Fix some test file pathsA Thousand Ships2024-03-0414-0/+0
| | | | | | | |
* | | | | | | | Merge pull request #86973 from HolonProduction/tests-batch-1Rémi Verschelde2024-03-0472-6/+665
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests for `get_node` autocompletion
| * | | | | | | | CleanupHolonProduction2024-03-0111-105/+3
| | | | | | | | |
| * | | | | | | | Debugging additionsHolonProduction2024-03-018-13/+87
| | | | | | | | |
| * | | | | | | | Add test for `get_node` autocompletionHolonProduction2024-03-0173-6/+693
| | |_|_|/ / / / | |/| | | | | |
* | | | | | | | Merge pull request #85918 from 20kdc/tnj-static-called-on-instance-fix-confusionRémi Verschelde2024-03-043-15/+31
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | GDScript: Adjust `STATIC_CALLED_ON_INSTANCE` warning to not force native type
| * | | | | | | | GDScript: Adjust STATIC_CALLED_ON_INSTANCE warning to not default to the ↵20kdc2024-03-013-15/+31
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | native type, and to not trigger on self-calls Not defaulting to the native type rationale: Defaulting to the native type is less than useful, as: * There are very few native types that are extensible and have static methods. * Defaulting to the native type does not account for a method being script-defined. While the "real fix" would be to carefully track the source of the method, the get_function_signature method is already complicated enough. This will at least ensure the resulting code should always be valid. Not triggering on self-calls rationale: Found in PR comment https://github.com/godotengine/godot/pull/85918#issuecomment-1935864459 ``` static func example(): pass func example2(): example() # self-call on static function ``` Disabling this warning on self-calls is: * Consistent with other languages * Important for anonymous classes (where the output code is unusable)
* | / / / / / / Add two new COMSTR environment variablesThaddeus Crews2024-03-011-1/+1
| |/ / / / / / |/| | | | | |
* | | | | | | Optimize SceneTree's `change_scene_to_file` autocompletionMicky2024-03-011-2/+16
|/ / / / / /
* | | | | | GDScript: Fix paths in `ResourceFormatLoaderGDScript::load()`Danil Alexeev2024-02-291-2/+2
| | | | | |
* | | | | | Merge pull request #88948 from dalexeev/core-add-callable-createRémi Verschelde2024-02-292-2/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Core: Add `Callable.create` static method for `Variant` callables
| * | | | | | Core: Add `Callable.create` static method for `Variant` callablesDanil Alexeev2024-02-292-2/+11
| | | | | | |
* | | | | | | Merge pull request #88664 from RandomShaper/res_load_modesRémi Verschelde2024-02-291-1/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | Enhance cache modes in resource loading
| * | | | | | Enhance cache modes in resource loadingPedro J. Estébanez2024-02-261-1/+2
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Unify documentation, hoping to clear misconcepctions about about propagation of the cache mode across dependant loads. - Clarify in docs that `CACHE_MODE_REPLACE` now also works on the main resource (from #87008). - Add two recursive modes, counterparts of `CACHE_MODE_REPLACE` and `CACHE_MODE_IGNORE`, since it seems some need them (see #59669, #82830). - Let resources, even loaded with one of the ignore-cache modes, get a path, which is useful for tools.
* | | | | | Merge pull request #82122 from dalexeev/gds-add-export-hidden-annotationRémi Verschelde2024-02-2716-109/+178
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | GDScript: Add `@export_storage` annotation
| * | | | | | GDScript: Add `@export_storage` annotationDanil Alexeev2023-12-1916-109/+178
| | | | | | |
* | | | | | | GDScript: Fix type highlighting after whitespaceDanil Alexeev2024-02-261-6/+8
| |/ / / / / |/| | | | |
* | | | | | GDScript: Canonicalize script path in FQCNDanil Alexeev2024-02-265-17/+15
| |_|/ / / |/| | | |
* | | | | Merge pull request #88733 from ryevdokimov/Remove-word-duplicatesRémi Verschelde2024-02-251-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Remove word duplicates in comments and strings, and fix casing and punctuation
| * | | | | Remove word duplicates in comments and strings, and fix casing and punctuationRobert Yevdokimov2024-02-231-1/+1
| | | | | |
* | | | | | Merge pull request #85501 from /remove-packed-scene-cacheRémi Verschelde2024-02-253-94/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Stop caching packed scenes in GDScript cacheJordyfel2023-11-293-94/+2
| | | | | |
* | | | | | Merge pull request #88020 from emre0altan/match-null-crashes-GDScript-compilerRémi Verschelde2024-02-233-1/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | GDScript: Set `has_type` false if it is `BUILTIN` but `Variant::NIL`
| * | | | | | set has_type false if it is BUILTIN but Variant::NILemre0altan2024-02-113-1/+9
| | |_|_|/ / | |/| | | |
* | | | | | Merge pull request #88452 from AThousandShips/template_testRémi Verschelde2024-02-221-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Fix running tests in template builds