summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/runtime
AgeCommit message (Collapse)Author
2023-01-28GDScript: Avoid calling non-static methods on native classesGeorge Marques
2023-01-27GDScript: Fix test for read-only state of constantsDmitrii Maganov
2023-01-25GDScript: Allow constant expressions in annotationsDanil Alexeev
2023-01-13GDScript: Fix typing of iterator in for loopDmitrii Maganov
2023-01-12Add default virtual `gdscript://` path to `GDScript` instancesAdam Scott
2023-01-12Merge pull request #70987 from vonagam/fix-parameter-conversion-assignGeorge Marques
2023-01-11GDScript: Fix temp values being written without proper clearGeorge Marques
Temporary values in the stack were not being properly cleared when the return value of calls were discarded, which can cause memory issues especially for reference types like PackedByteArray.
2023-01-11Merge pull request #70595 from adamscott/add-gdscript-editorconfigRémi Verschelde
Add GDScript `.editorconfig` rules
2023-01-10GDScript: Fix use of conversion assign for variant valuesGeorge Marques
2023-01-10Add GDScript `.editorconfig` rulesAdam Scott
- Uniformize `.gd` unit test files indentation to tabs (where needed)
2023-01-09Merge pull request #71051 from vonagam/consts-are-deep-startRémi Verschelde
GDScript: Begin making constants deep, not shallow or flat
2023-01-09GDScript: Allow using await on calls to void functionsGeorge Marques
2023-01-09GDScript: Don't use the NIL address to hold return value of functionsGeorge Marques
This prevents that the NIL address is filled with another value, which causes problems for some instructions that read from NIL.
2023-01-08GDScript: Begin making constants deep, not shallow or flatDmitrii Maganov
2023-01-06GDScript: Fix missing conversion for default argument valuesDmitrii Maganov
2023-01-03Merge pull request #70702 from vnen/gdscript-error-on-assign-voidRémi Verschelde
GDScript: Error when assigning return value of void function
2022-12-30GDScript: Error when assigning return value of void functionGeorge Marques
This also makes built-in method calls empty the return value when the method is void, to avoid keeping returning a garbage value in such case.
2022-12-25Fix type adjustment skipped when value is considered both not hard and not ↵cdemirer
variant
2022-12-09Merge pull request #68747 from rune-scape/rune-stringname-unificationRémi Verschelde
GDScript: Unify StringName and String
2022-12-05Unify String and StringNamerune-scape
2022-12-06Fix incomplete shadowing of member properties by parametersDmitrii Maganov
2022-11-02Merge pull request #68125 from ↵Rémi Verschelde
kleonc/range-fix-single-arg-optimized-type-mismatch [GDScript] Fix type mismatch in optimized single arg `range`
2022-11-02GDScript Fix type mismatch in optimized single arg `range`kleonc
2022-11-01Support for checking that Projection is(not) nullRafał Mikrut
2022-10-04Improve dictionary printing to avoid confusion with arraysHugo Locurcio
- Add leading and trailing spaces within dictionaries, as the `{}` characters are hard to distinguish from `[]` on some fonts. This is especially helpful with empty arrays and dictionaries.
2022-06-28Fix set chain bug with jump_if_sharedcdemirer
2022-05-03quote strings inside arrays and dictionariesNathan Franke
2022-04-24GDScript: Allow using self in lambdasGeorge Marques
2022-02-03GDScript: Allow tests to run on release buildsGeorge Marques
- Fix compilation issues by disabling warnings on release builds. This also strips warnings from expected result before the comparison to avoid false mismatches. - Add a `#debug-only` flag to tests. Must be the first line of the test script. Those won't run with release builds. Can be used for test cases that rely on checks only available on debug builds.
2022-01-13GDScript: Fix parsing default parameter values from function callsstrank
2021-10-25Refactored Node3D rotation modesreduz
* Made the Basis euler orders indexed via enum. * Node3D has a new rotation_order property to choose Euler rotation order. * Node3D has also a rotation_mode property to choose between Euler, Quaternion and Basis Exposing these modes as well as the order makes Godot a lot friendlier for animators, which can choose the best way to interpolate rotations. The new *Basis* mode makes the (exposed) transform property obsolete, so it was removed (can still be accessed by code of course).
2021-10-14GDScript: Properly return value with await on non-coroutineGeorge Marques
If the keyword `await` is used without a coroutine, it should still return the value synchronally.
2021-10-14Zero Dictionary and Array variants when changing type with resetGeorge Marques
So they don't reference to the old values anymore and instead refer to a new value.
2021-10-09Enhance and cleanup stringify for Vectormashumafi
2021-10-05Fix LUA-style assignment in Dictionarykobewi
2021-10-04GDScript: Fix member assignment with operationGeorge Marques
It was wrongly updating the assigned value with the result of the operation.
2021-09-29GDScript: Fix assignment with operation for propertiesGeorge Marques
2021-09-21Merge pull request #52718 from Calinou/gdscript-add-integration-tests-2Rémi Verschelde
2021-09-17Allow comparing equality between builtin types and nullGeorge Marques
2021-09-15Add more integration tests to the GDScript test suiteHugo Locurcio
This also fixes a typo in the `bitwise_float_right_operand.gd` test.
2021-05-24Make Callable not crash on call when the object has been freedGeorge Marques
Also add a GDScript test for this case.